From 4dc912a6ff1e4aceb30991c80c7069001f95be13 Mon Sep 17 00:00:00 2001 From: Hamza HRAMCHI <hamza.hramchi@xelians.fr> Date: Fri, 23 Sep 2022 15:21:57 +0200 Subject: [PATCH] FIX #22121 TIME 0:05 build prod --- dist/11-es5.332e3f904cfe292230a6.js | 2 +- dist/12-es5.e39446dcc3d662e92672.js | 2 +- dist/13-es5.58ab704021a2bd88957e.js | 2 +- dist/14-es5.c5a3e4844eb573035de7.js | 2 +- dist/15-es5.77187abb430405c7a85a.js | 2 +- dist/16-es5.cd45371a461ed9725af6.js | 2 +- dist/17-es5.df6176a66215379e4b1e.js | 2 +- dist/18-es5.1d8ae3036065fbac91df.js | 2 +- dist/19-es5.e1d04b6af34048af351d.js | 2 +- dist/20-es5.b6167f0914b3fb959c79.js | 2 +- dist/21-es5.61f2102bd9d05feb9f71.js | 2 +- dist/22-es5.9afbcb6774d03dd56b84.js | 2 +- dist/23-es5.62cfbff2e1ff73c415a8.js | 2 +- dist/24-es5.1bc04ec949731661cad0.js | 2 +- dist/25-es5.a7996aff995c413acf63.js | 2 +- dist/26-es5.64889bc57c6f4a460208.js | 2 +- dist/27-es5.20e1bf7135ea963f9f99.js | 2 +- dist/28-es5.d3c063ed37a8388fa3f6.js | 2 +- dist/29-es5.c6cb535d4d6be9389420.js | 2 +- dist/30-es5.1716e3b3d40bafa71e38.js | 2 +- dist/31-es5.4e9f1029b9009b788957.js | 2 +- dist/32-es5.06358381ce0fead57c84.js | 2 +- dist/33-es5.9e1a58600a79fa927829.js | 2 +- dist/34-es5.d002c17ffb737589a397.js | 2 +- dist/35-es5.cbcf9a80d5fb887a75b5.js | 2 +- dist/36-es5.d2bc1bc06d85ab372b1b.js | 2 +- dist/37-es5.73e351138077f07d7e0c.js | 2 +- dist/38-es5.c78a6c922382898c5899.js | 2 +- dist/39-es5.dc08f6801a6d1f63a18b.js | 2 +- dist/40-es5.d8cece08f3402dbea33a.js | 2 +- dist/41-es5.21b595e6c71ff10f82ee.js | 2 +- dist/42-es5.7f45eb53ea728f344e69.js | 2 +- dist/43-es5.0179f7c6d090fd5f2b09.js | 2 +- dist/44-es5.d3a61173c32b1640f5f9.js | 2 +- dist/45-es5.7f7f21b2a7aa1ed13a8a.js | 2 +- dist/46-es5.fd882252879c51fbd4e6.js | 2 +- dist/47-es5.654d2446600ad02ea40d.js | 2 +- dist/48-es5.029240886d394fa43ac7.js | 2 +- dist/49-es5.17970e7ad4b1fc3c06d5.js | 2 +- dist/50-es5.c1df5328a39123e79980.js | 2 +- dist/51-es5.6a3c110a26fa847c7a54.js | 2 +- dist/52-es5.895ed4761cfe8dddf66e.js | 2 +- dist/53-es5.8a06a5eb6266e9f53d9f.js | 2 +- dist/54-es5.698634a5087da9e5e5e2.js | 2 +- dist/58-es5.8db67cb1837a5fe115dd.js | 2 +- dist/common-es5.5b923303648c6e8e3557.js | 2 +- dist/index.html | 4 ++-- dist/main-es2015.1f7bc32be92a0ed27143.js | 1 - dist/main-es2015.f77be352cb838ac57804.js | 1 + dist/main-es5.1f7bc32be92a0ed27143.js | 1 - dist/main-es5.f77be352cb838ac57804.js | 1 + dist/polyfills-es5.016de5c7b74a5782d968.js | 2 +- dist/styles.8b6195db994dd1043497.css | 5 ----- dist/styles.eefa2d3796f044367e70.css | 5 +++++ 54 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 dist/main-es2015.1f7bc32be92a0ed27143.js create mode 100644 dist/main-es2015.f77be352cb838ac57804.js delete mode 100644 dist/main-es5.1f7bc32be92a0ed27143.js create mode 100644 dist/main-es5.f77be352cb838ac57804.js delete mode 100644 dist/styles.8b6195db994dd1043497.css create mode 100644 dist/styles.eefa2d3796f044367e70.css diff --git a/dist/11-es5.332e3f904cfe292230a6.js b/dist/11-es5.332e3f904cfe292230a6.js index 4bf67a413f..116770a937 100644 --- a/dist/11-es5.332e3f904cfe292230a6.js +++ b/dist/11-es5.332e3f904cfe292230a6.js @@ -1 +1 @@ -!function(){function e(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function t(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var a=t.apply(n,r);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"3Iwd":function(e,n,r){"use strict";r.r(n),r.d(n,"startInputShims",function(){return f});var o=r("1vRN"),i=new WeakMap,a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;i.has(e)!==n&&(n?c(e,t,r):s(e,t))},u=function(e){return e===e.getRootNode().activeElement},c=function(e,t,n){var r=t.parentNode,o=t.cloneNode(!1);o.classList.add("cloned-input"),o.tabIndex=-1,r.appendChild(o),i.set(e,o);var a="rtl"===e.ownerDocument.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform="translate3d(".concat(a,"px,").concat(n,"px,0) scale(0)")},s=function(e,t){var n=i.get(e);n&&(i.delete(e),n.remove()),e.style.pointerEvents="",t.style.transform=""},l="input, textarea, [no-blur], [contenteditable]",d=function(e,t){if("INPUT"===e.tagName&&!(e.parentElement&&"ION-INPUT"===e.parentElement.tagName||e.parentElement&&e.parentElement.parentElement&&"ION-SEARCHBAR"===e.parentElement.parentElement.tagName)){var n=e.closest("ion-content");if(null!==n){var r=n.$ionPaddingTimer;r&&clearTimeout(r),t>0?n.style.setProperty("--keyboard-offset",t+"px"):n.$ionPaddingTimer=setTimeout(function(){n.style.setProperty("--keyboard-offset","0px")},120)}}},f=function(e){var n=document,r=e.getNumber("keyboardHeight",290),i=e.getBoolean("scrollAssist",!0),c=e.getBoolean("hideCaretOnScroll",!0),s=e.getBoolean("inputBlurring",!0),f=e.getBoolean("scrollPadding",!0),v=Array.from(n.querySelectorAll("ion-input, ion-textarea")),p=new WeakMap,m=new WeakMap,h=function(){var e=t(regeneratorRuntime.mark(function e(n){var s,l,d,f,v,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(e){return Object(o.c)(n,e)});case 2:s=n.shadowRoot||n,l=s.querySelector("input")||s.querySelector("textarea"),d=n.closest("ion-content"),f=d?null:n.closest("ion-footer"),l&&(d&&c&&!p.has(n)&&(v=function(e,t,n){if(!n||!t)return function(){};var r=function(n){u(t)&&a(e,t,n)},i=function(){return a(e,t,!1)},c=function(){return r(!0)},s=function(){return r(!1)};return Object(o.a)(n,"ionScrollStart",c),Object(o.a)(n,"ionScrollEnd",s),t.addEventListener("blur",i),function(){Object(o.b)(n,"ionScrollStart",c),Object(o.b)(n,"ionScrollEnd",s),t.addEventListener("ionBlur",i)}}(n,l,d),p.set(n,v)),(d||f)&&i&&!m.has(n)&&(h=function(e,n,r,i,c){var s,l=function(e){s=Object(o.p)(e)},d=function(l){if(s){var d,f=Object(o.p)(l);(function(e,t,n){if(t&&n){var r=t.x-n.x,o=t.y-n.y;return r*r+o*o>36}return!1})(0,s,f)||u(n)||(l.stopPropagation(),(d=t(regeneratorRuntime.mark(function e(n,r,i,u,c){var s,l,d,f,v;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i||u){e.next=2;break}return e.abrupt("return");case 2:if(s=function(e,t,n){return function(e,t,n,r){var o=e.top,i=e.bottom,a=t.top,u=a+15,c=.75*Math.min(t.bottom,r-n)-i,s=u-o,l=Math.round(c<0?-c:s>0?-s:0),d=Math.min(l,o-a),f=Math.abs(d);return{scrollAmount:d,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(o-u)}}((e.closest("ion-item,[ion-item]")||e).getBoundingClientRect(),t.getBoundingClientRect(),n,e.ownerDocument.defaultView.innerHeight)}(n,i||u,c),!(i&&Math.abs(s.scrollAmount)<4)){e.next=7;break}r.focus(),e.next=16;break;case 7:if(a(n,r,!0,s.inputSafeY),r.focus(),Object(o.q)(function(){return n.click()}),"undefined"==typeof window){e.next=16;break}if(d=function(){var e=t(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==l&&clearTimeout(l),window.removeEventListener("ionKeyboardDidShow",f),window.removeEventListener("ionKeyboardDidShow",d),e.t0=i,!e.t0){e.next=7;break}return e.next=7,i.scrollByPoint(0,s.scrollAmount,s.scrollDuration);case 7:a(n,r,!1,s.inputSafeY),r.focus();case 9:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),f=function e(){window.removeEventListener("ionKeyboardDidShow",e),window.addEventListener("ionKeyboardDidShow",d)},!i){e.next=15;break}return e.next=12,i.getScrollElement();case 12:if(v=e.sent,!(s.scrollAmount>v.scrollHeight-v.clientHeight-v.scrollTop)){e.next=15;break}return e.abrupt("return",("password"===r.type?(s.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",f)):window.addEventListener("ionKeyboardDidShow",d),void(l=setTimeout(d,1e3))));case 15:d();case 16:case"end":return e.stop()}},e)})),function(e,t,n,r,o){return d.apply(this,arguments)})(e,n,r,i,c))}};return e.addEventListener("touchstart",l,!0),e.addEventListener("touchend",d,!0),function(){e.removeEventListener("touchstart",l,!0),e.removeEventListener("touchend",d,!0)}}(n,l,d,f,r),m.set(n,h)));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();s&&function(){var e=!0,t=!1,n=document;Object(o.a)(n,"ionScrollStart",function(){t=!0}),n.addEventListener("focusin",function(){e=!0},!0),n.addEventListener("touchend",function(r){if(t)t=!1;else{var o=n.activeElement;if(o&&!o.matches(l)){var i=r.target;i!==o&&(i.matches(l)||i.closest(l)||(e=!1,setTimeout(function(){e||o.blur()},50)))}}},!1)}(),f&&function(e){var t=document;t.addEventListener("focusin",function(t){d(t.target,e)}),t.addEventListener("focusout",function(e){d(e.target,0)})}(r);for(var w=0,b=v;w<b.length;w++){var g=b[w];h(g)}n.addEventListener("ionInputDidLoad",function(e){h(e.detail)}),n.addEventListener("ionInputDidUnload",function(e){!function(e){if(c){var t=p.get(e);t&&t(),p.delete(e)}if(i){var n=m.get(e);n&&n(),m.delete(e)}}(e.detail)})}}}])}(); \ No newline at end of file +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(j){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=E(a,n);if(c){if(c===f)continue;return c}}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 u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=s;var f={};function d(){}function h(){}function p(){}var v={};u(v,i,function(){return this});var y=Object.getPrototypeOf,m=y&&y(y(k([])));m&&m!==n&&r.call(m,i)&&(v=m);var g=p.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){function n(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(f).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e(function(e,o){n(t,r,e,o)})}return o=o?o.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return h.prototype=p,u(g,"constructor",p),u(p,"constructor",h),h.displayName=u(p,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},w(b.prototype),u(b.prototype,a,function(){return this}),e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w(g),u(g,c,"Generator"),u(g,i,function(){return this}),u(g,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,S.prototype={constructor:S,reset:function(t){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(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function e(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var a=t.apply(n,r);function c(t){e(a,o,i,c,u,"next",t)}function u(t){e(a,o,i,c,u,"throw",t)}c(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"3Iwd":function(e,r,o){"use strict";o.r(r),o.d(r,"startInputShims",function(){return h});var i=o("1vRN"),a=new WeakMap,c=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;a.has(t)!==n&&(n?s(t,e,r):l(t,e))},u=function(t){return t===t.getRootNode().activeElement},s=function(t,e,n){var r=e.parentNode,o=e.cloneNode(!1);o.classList.add("cloned-input"),o.tabIndex=-1,r.appendChild(o),a.set(t,o);var i="rtl"===t.ownerDocument.dir?9999:-9999;t.style.pointerEvents="none",e.style.transform="translate3d(".concat(i,"px,").concat(n,"px,0) scale(0)")},l=function(t,e){var n=a.get(t);n&&(a.delete(t),n.remove()),t.style.pointerEvents="",e.style.transform=""},f="input, textarea, [no-blur], [contenteditable]",d=function(t,e){if("INPUT"===t.tagName&&!(t.parentElement&&"ION-INPUT"===t.parentElement.tagName||t.parentElement&&t.parentElement.parentElement&&"ION-SEARCHBAR"===t.parentElement.parentElement.tagName)){var n=t.closest("ion-content");if(null!==n){var r=n.$ionPaddingTimer;r&&clearTimeout(r),e>0?n.style.setProperty("--keyboard-offset",e+"px"):n.$ionPaddingTimer=setTimeout(function(){n.style.setProperty("--keyboard-offset","0px")},120)}}},h=function(e){var r=document,o=e.getNumber("keyboardHeight",290),a=e.getBoolean("scrollAssist",!0),s=e.getBoolean("hideCaretOnScroll",!0),l=e.getBoolean("inputBlurring",!0),h=e.getBoolean("scrollPadding",!0),p=Array.from(r.querySelectorAll("ion-input, ion-textarea")),v=new WeakMap,y=new WeakMap,m=function(){var e=n(t().mark(function e(r){var l,f,d,h,p,m;return t().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(t){return Object(i.c)(r,t)});case 2:l=r.shadowRoot||r,f=l.querySelector("input")||l.querySelector("textarea"),d=r.closest("ion-content"),h=d?null:r.closest("ion-footer"),f&&(d&&s&&!v.has(r)&&(p=function(t,e,n){if(!n||!e)return function(){};var r=function(n){u(e)&&c(t,e,n)},o=function(){return c(t,e,!1)},a=function(){return r(!0)},s=function(){return r(!1)};return Object(i.a)(n,"ionScrollStart",a),Object(i.a)(n,"ionScrollEnd",s),e.addEventListener("blur",o),function(){Object(i.b)(n,"ionScrollStart",a),Object(i.b)(n,"ionScrollEnd",s),e.addEventListener("ionBlur",o)}}(r,f,d),v.set(r,p)),(d||h)&&a&&!y.has(r)&&(m=function(e,r,o,a,s){var l,f=function(t){l=Object(i.p)(t)},d=function(f){if(l){var d,h=Object(i.p)(f);(function(t,e,n){if(e&&n){var r=e.x-n.x,o=e.y-n.y;return r*r+o*o>36}return!1})(0,l,h)||u(r)||(f.stopPropagation(),(d=n(t().mark(function e(r,o,a,u,s){var l,f,d,h,p;return t().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a||u){e.next=2;break}return e.abrupt("return");case 2:if(l=function(t,e,n){return function(t,e,n,r){var o=t.top,i=t.bottom,a=e.top,c=a+15,u=.75*Math.min(e.bottom,r-n)-i,s=c-o,l=Math.round(u<0?-u:s>0?-s:0),f=Math.min(l,o-a),d=Math.abs(f);return{scrollAmount:f,scrollDuration:Math.min(400,Math.max(150,d/.3)),scrollPadding:n,inputSafeY:4-(o-c)}}((t.closest("ion-item,[ion-item]")||t).getBoundingClientRect(),e.getBoundingClientRect(),n,t.ownerDocument.defaultView.innerHeight)}(r,a||u,s),!(a&&Math.abs(l.scrollAmount)<4)){e.next=7;break}o.focus(),e.next=16;break;case 7:if(c(r,o,!0,l.inputSafeY),o.focus(),Object(i.q)(function(){return r.click()}),"undefined"==typeof window){e.next=16;break}if(d=function(){var e=n(t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==f&&clearTimeout(f),window.removeEventListener("ionKeyboardDidShow",h),window.removeEventListener("ionKeyboardDidShow",d),t.t0=a,!t.t0){t.next=7;break}return t.next=7,a.scrollByPoint(0,l.scrollAmount,l.scrollDuration);case 7:c(r,o,!1,l.inputSafeY),o.focus();case 9:case"end":return t.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),h=function t(){window.removeEventListener("ionKeyboardDidShow",t),window.addEventListener("ionKeyboardDidShow",d)},!a){e.next=15;break}return e.next=12,a.getScrollElement();case 12:if(p=e.sent,!(l.scrollAmount>p.scrollHeight-p.clientHeight-p.scrollTop)){e.next=15;break}return e.abrupt("return",("password"===o.type?(l.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",h)):window.addEventListener("ionKeyboardDidShow",d),void(f=setTimeout(d,1e3))));case 15:d();case 16:case"end":return e.stop()}},e)})),function(t,e,n,r,o){return d.apply(this,arguments)})(e,r,o,a,s))}};return e.addEventListener("touchstart",f,!0),e.addEventListener("touchend",d,!0),function(){e.removeEventListener("touchstart",f,!0),e.removeEventListener("touchend",d,!0)}}(r,f,d,h,o),y.set(r,m)));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();l&&function(){var t=!0,e=!1,n=document;Object(i.a)(n,"ionScrollStart",function(){e=!0}),n.addEventListener("focusin",function(){t=!0},!0),n.addEventListener("touchend",function(r){if(e)e=!1;else{var o=n.activeElement;if(o&&!o.matches(f)){var i=r.target;i!==o&&(i.matches(f)||i.closest(f)||(t=!1,setTimeout(function(){t||o.blur()},50)))}}},!1)}(),h&&function(t){var e=document;e.addEventListener("focusin",function(e){d(e.target,t)}),e.addEventListener("focusout",function(t){d(t.target,0)})}(o);for(var g=0,w=p;g<w.length;g++){var b=w[g];m(b)}r.addEventListener("ionInputDidLoad",function(t){m(t.detail)}),r.addEventListener("ionInputDidUnload",function(t){!function(t){if(s){var e=v.get(t);e&&e(),v.delete(t)}if(a){var n=y.get(t);n&&n(),y.delete(t)}}(t.detail)})}}}])}(); \ No newline at end of file diff --git a/dist/12-es5.e39446dcc3d662e92672.js b/dist/12-es5.e39446dcc3d662e92672.js index ca6d4cc978..73684cf5e1 100644 --- a/dist/12-es5.e39446dcc3d662e92672.js +++ b/dist/12-es5.e39446dcc3d662e92672.js @@ -1 +1 @@ -!function(){function t(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function e(t,e,o,n,i,a,r){try{var c=t[a](r),s=c.value}catch(d){return void o(d)}c.done?e(s):Promise.resolve(s).then(n,i)}function o(t){return function(){var o=this,n=arguments;return new Promise(function(i,a){var r=t.apply(o,n);function c(t){e(r,i,a,c,s,"next",t)}function s(t){e(r,i,a,c,s,"throw",t)}c(void 0)})}}function n(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{dUtr:function(e,i,a){"use strict";a.r(i),a.d(i,"ion_action_sheet",function(){return m});var r=a("wEJo"),c=a("E/Mt"),s=a("JbSX"),d=a("7OTs"),l=a("74mu"),u=a("meiF");a("qULd"),a("iWo5"),a("y08P"),a("B4Jq"),a("1vRN");var b=function(t){var e=Object(u.a)(),o=Object(u.a)(),n=Object(u.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])},h=function(t){var e=Object(u.a)(),o=Object(u.a)(),n=Object(u.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])},g=function(t){var e=Object(u.a)(),o=Object(u.a)(),n=Object(u.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])},p=function(t){var e=Object(u.a)(),o=Object(u.a)(),n=Object(u.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])},m=function(){function e(t){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(r.o)(this,t),this.didPresent=Object(r.g)(this,"ionActionSheetDidPresent",7),this.willPresent=Object(r.g)(this,"ionActionSheetWillPresent",7),this.willDismiss=Object(r.g)(this,"ionActionSheetWillDismiss",7),this.didDismiss=Object(r.g)(this,"ionActionSheetDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){o.dismiss(void 0,d.a)},this.dispatchCancelHandler=function(t){var e=t.detail.role;if(Object(d.j)(e)){var n=o.getButtons().find(function(t){return"cancel"===t.role});o.callButtonHandler(n)}}}var i,a,u,m,v;return i=e,(a=[{key:"present",value:function(){return Object(d.e)(this,"actionSheetEnter",b,g)}},{key:"connectedCallback",value:function(){Object(d.f)(this.el)}},{key:"dismiss",value:function(t,e){return Object(d.g)(this,t,e,"actionSheetLeave",h,p)}},{key:"onDidDismiss",value:function(){return Object(d.h)(this.el,"ionActionSheetDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(d.h)(this.el,"ionActionSheetWillDismiss")}},{key:"buttonClick",value:(v=o(regeneratorRuntime.mark(function t(e){var o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.role,!Object(d.j)(o)){t.next=5;break}t.t0=this.dismiss(void 0,o),t.next=13;break;case 5:return t.next=7,this.callButtonHandler(e);case 7:if(!t.sent){t.next=11;break}t.t1=this.dismiss(void 0,e.role),t.next=12;break;case 11:t.t1=Promise.resolve();case 12:t.t0=t.t1;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}},t,this)})),function(t){return v.apply(this,arguments)})},{key:"callButtonHandler",value:(m=o(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!e,t.t0){t.next=7;break}return t.t1=!1,t.next=5,Object(d.n)(e.handler);case 5:t.t2=t.sent,t.t0=t.t1!==t.t2;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},t)})),function(t){return m.apply(this,arguments)})},{key:"getButtons",value:function(){return this.buttons.map(function(t){return"string"==typeof t?{text:t}:t})}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentDidLoad",value:function(){var t=this,e=this.groupEl,o=this.wrapperEl;!this.gesture&&"md"!==Object(c.b)(this)&&o&&e&&Object(r.h)(function(){e.scrollHeight>e.clientHeight||(t.gesture=Object(s.a)(o,function(t){return t.classList.contains("action-sheet-button")}),t.gesture.enable(!0))})}},{key:"render",value:function(){var e=this,o=Object(c.b)(this),n=this.getButtons(),i=n.find(function(t){return"cancel"===t.role}),a=n.filter(function(t){return"cancel"!==t.role});return Object(r.j)(r.c,{role:"dialog","aria-modal":"true",tabindex:"-1",style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign(Object.assign(t({},o,!0),Object(l.b)(this.cssClass)),{"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},Object(r.j)("ion-backdrop",{tappable:this.backdropDismiss}),Object(r.j)("div",{tabindex:"0"}),Object(r.j)("div",{class:"action-sheet-wrapper ion-overlay-wrapper",role:"dialog",ref:function(t){return e.wrapperEl=t}},Object(r.j)("div",{class:"action-sheet-container"},Object(r.j)("div",{class:"action-sheet-group",ref:function(t){return e.groupEl=t}},void 0!==this.header&&Object(r.j)("div",{class:"action-sheet-title"},this.header,this.subHeader&&Object(r.j)("div",{class:"action-sheet-sub-title"},this.subHeader)),a.map(function(t){return Object(r.j)("button",{type:"button",class:f(t),onClick:function(){return e.buttonClick(t)}},Object(r.j)("span",{class:"action-sheet-button-inner"},t.icon&&Object(r.j)("ion-icon",{icon:t.icon,lazy:!1,class:"action-sheet-icon"}),t.text),"md"===o&&Object(r.j)("ion-ripple-effect",null))})),i&&Object(r.j)("div",{class:"action-sheet-group action-sheet-group-cancel"},Object(r.j)("button",{type:"button",class:f(i),onClick:function(){return e.buttonClick(i)}},Object(r.j)("span",{class:"action-sheet-button-inner"},i.icon&&Object(r.j)("ion-icon",{icon:i.icon,lazy:!1,class:"action-sheet-icon"}),i.text),"md"===o&&Object(r.j)("ion-ripple-effect",null))))),Object(r.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(r.k)(this)}}])&&n(i.prototype,a),u&&n(i,u),e}(),f=function(e){return Object.assign(t({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0},"action-sheet-"+e.role,void 0!==e.role),Object(l.b)(e.cssClass))};m.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:15px;padding-bottom:0;font-size:12px}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.1em;font-size:28px;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.1em;margin-inline-end:0.1em}}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:0}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{padding-bottom:4px;margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}}}])}(); \ No newline at end of file +!function(){function t(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},o=Object.prototype,n=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(S){s=function(t,e,o){return t[e]=o}}function l(t,e,o,n){var i=e&&e.prototype instanceof h?e:h,r=Object.create(i.prototype),a=new O(n||[]);return r._invoke=function(t,e,o){var n="suspendedStart";return function(i,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw r;return L()}for(o.method=i,o.arg=r;;){var a=o.delegate;if(a){var c=x(a,o);if(c){if(c===d)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===n)throw n="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n="executing";var s=u(t,e,o);if("normal"===s.type){if(n=o.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(n="completed",o.method="throw",o.arg=s.arg)}}}(t,o,a),r}function u(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(S){return{type:"throw",arg:S}}}t.wrap=l;var d={};function h(){}function p(){}function b(){}var g={};s(g,r,function(){return this});var f=Object.getPrototypeOf,m=f&&f(f(E([])));m&&m!==o&&n.call(m,r)&&(g=m);var v=b.prototype=h.prototype=Object.create(g);function k(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function y(t,e){function o(i,r,a,c){var s=u(t[i],t,r);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then(function(t){o("next",t,a,c)},function(t){o("throw",t,a,c)}):e.resolve(d).then(function(t){l.value=t,a(l)},function(t){return o("throw",t,a,c)})}c(s.arg)}var i;this._invoke=function(t,n){function r(){return new e(function(e,i){o(t,n,e,i)})}return i=i?i.then(r,r):r()}}function x(t,e){var o=t.iterator[e.method];if(void 0===o){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=u(o,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=b,s(v,"constructor",b),s(b,"constructor",p),p.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},k(y.prototype),s(y.prototype,a,function(){return this}),t.AsyncIterator=y,t.async=function(e,o,n,i,r){void 0===r&&(r=Promise);var a=new y(l(e,o,n,i),r);return t.isGeneratorFunction(o)?a:a.next().then(function(t){return t.done?t.value:a.next()})},k(v),s(v,c,"Generator"),s(v,r,function(){return this}),s(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var o in t)e.push(o);return e.reverse(),function o(){for(;e.length;){var n=e.pop();if(n in t)return o.value=n,o.done=!1,o}return o.done=!0,o}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(o,n){return a.type="throw",a.arg=t,e.next=o,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],a=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var c=n.call(r,"catchLoc"),s=n.call(r,"finallyLoc");if(c&&s){if(this.prev<r.catchLoc)return o(r.catchLoc,!0);if(this.prev<r.finallyLoc)return o(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return o(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return o(r.finallyLoc)}}}},abrupt:function(t,e){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),j(o),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var n=o.completion;if("throw"===n.type){var i=n.arg;j(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,o){return this.delegate={iterator:E(t),resultName:e,nextLoc:o},"next"===this.method&&(this.arg=void 0),d}},t}function o(t,e,o,n,i,r,a){try{var c=t[r](a),s=c.value}catch(l){return void o(l)}c.done?e(s):Promise.resolve(s).then(n,i)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function c(t){o(a,i,r,c,s,"next",t)}function s(t){o(a,i,r,c,s,"throw",t)}c(void 0)})}}function i(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{dUtr:function(o,r,a){"use strict";a.r(r),a.d(r,"ion_action_sheet",function(){return m});var c=a("wEJo"),s=a("E/Mt"),l=a("JbSX"),u=a("7OTs"),d=a("74mu"),h=a("meiF");a("qULd"),a("iWo5"),a("y08P"),a("B4Jq"),a("1vRN");var p=function(t){var e=Object(h.a)(),o=Object(h.a)(),n=Object(h.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])},b=function(t){var e=Object(h.a)(),o=Object(h.a)(),n=Object(h.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])},g=function(t){var e=Object(h.a)(),o=Object(h.a)(),n=Object(h.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([o,n])},f=function(t){var e=Object(h.a)(),o=Object(h.a)(),n=Object(h.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([o,n])},m=function(){function o(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),Object(c.o)(this,t),this.didPresent=Object(c.g)(this,"ionActionSheetDidPresent",7),this.willPresent=Object(c.g)(this,"ionActionSheetWillPresent",7),this.willDismiss=Object(c.g)(this,"ionActionSheetWillDismiss",7),this.didDismiss=Object(c.g)(this,"ionActionSheetDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){e.dismiss(void 0,u.a)},this.dispatchCancelHandler=function(t){var o=t.detail.role;if(Object(u.j)(o)){var n=e.getButtons().find(function(t){return"cancel"===t.role});e.callButtonHandler(n)}}}var r,a,h,m,k;return r=o,(a=[{key:"present",value:function(){return Object(u.e)(this,"actionSheetEnter",p,g)}},{key:"connectedCallback",value:function(){Object(u.f)(this.el)}},{key:"dismiss",value:function(t,e){return Object(u.g)(this,t,e,"actionSheetLeave",b,f)}},{key:"onDidDismiss",value:function(){return Object(u.h)(this.el,"ionActionSheetDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(u.h)(this.el,"ionActionSheetWillDismiss")}},{key:"buttonClick",value:(k=n(e().mark(function t(o){var n;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=o.role,!Object(u.j)(n)){t.next=5;break}t.t0=this.dismiss(void 0,n),t.next=13;break;case 5:return t.next=7,this.callButtonHandler(o);case 7:if(!t.sent){t.next=11;break}t.t1=this.dismiss(void 0,o.role),t.next=12;break;case 11:t.t1=Promise.resolve();case 12:t.t0=t.t1;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}},t,this)})),function(t){return k.apply(this,arguments)})},{key:"callButtonHandler",value:(m=n(e().mark(function t(o){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!o,t.t0){t.next=7;break}return t.t1=!1,t.next=5,Object(u.n)(o.handler);case 5:t.t2=t.sent,t.t0=t.t1!==t.t2;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},t)})),function(t){return m.apply(this,arguments)})},{key:"getButtons",value:function(){return this.buttons.map(function(t){return"string"==typeof t?{text:t}:t})}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentDidLoad",value:function(){var t=this,e=this.groupEl,o=this.wrapperEl;!this.gesture&&"md"!==Object(s.b)(this)&&o&&e&&Object(c.h)(function(){e.scrollHeight>e.clientHeight||(t.gesture=Object(l.a)(o,function(t){return t.classList.contains("action-sheet-button")}),t.gesture.enable(!0))})}},{key:"render",value:function(){var e=this,o=Object(s.b)(this),n=this.getButtons(),i=n.find(function(t){return"cancel"===t.role}),r=n.filter(function(t){return"cancel"!==t.role});return Object(c.j)(c.c,{role:"dialog","aria-modal":"true",tabindex:"-1",style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign(Object.assign(t({},o,!0),Object(d.b)(this.cssClass)),{"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},Object(c.j)("ion-backdrop",{tappable:this.backdropDismiss}),Object(c.j)("div",{tabindex:"0"}),Object(c.j)("div",{class:"action-sheet-wrapper ion-overlay-wrapper",role:"dialog",ref:function(t){return e.wrapperEl=t}},Object(c.j)("div",{class:"action-sheet-container"},Object(c.j)("div",{class:"action-sheet-group",ref:function(t){return e.groupEl=t}},void 0!==this.header&&Object(c.j)("div",{class:"action-sheet-title"},this.header,this.subHeader&&Object(c.j)("div",{class:"action-sheet-sub-title"},this.subHeader)),r.map(function(t){return Object(c.j)("button",{type:"button",class:v(t),onClick:function(){return e.buttonClick(t)}},Object(c.j)("span",{class:"action-sheet-button-inner"},t.icon&&Object(c.j)("ion-icon",{icon:t.icon,lazy:!1,class:"action-sheet-icon"}),t.text),"md"===o&&Object(c.j)("ion-ripple-effect",null))})),i&&Object(c.j)("div",{class:"action-sheet-group action-sheet-group-cancel"},Object(c.j)("button",{type:"button",class:v(i),onClick:function(){return e.buttonClick(i)}},Object(c.j)("span",{class:"action-sheet-button-inner"},i.icon&&Object(c.j)("ion-icon",{icon:i.icon,lazy:!1,class:"action-sheet-icon"}),i.text),"md"===o&&Object(c.j)("ion-ripple-effect",null))))),Object(c.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(c.k)(this)}}])&&i(r.prototype,a),h&&i(r,h),Object.defineProperty(r,"prototype",{writable:!1}),o}(),v=function(e){return Object.assign(t({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0},"action-sheet-"+e.role,void 0!==e.role),Object(d.b)(e.cssClass))};m.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:15px;padding-bottom:0;font-size:12px}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.1em;font-size:28px;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.1em;margin-inline-end:0.1em}}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:0}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{padding-bottom:4px;margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}}}])}(); \ No newline at end of file diff --git a/dist/13-es5.58ab704021a2bd88957e.js b/dist/13-es5.58ab704021a2bd88957e.js index 246b8f77ef..287a787634 100644 --- a/dist/13-es5.58ab704021a2bd88957e.js +++ b/dist/13-es5.58ab704021a2bd88957e.js @@ -1 +1 @@ -!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}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,l=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return l=t.done,t},e:function(t){s=!0,a=t},f:function(){try{l||null==i.return||i.return()}finally{if(s)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{Q8AI:function(r,o,n){"use strict";n.r(o),n.d(o,"ion_alert",function(){return f});var a=n("wEJo"),l=n("E/Mt"),s=n("JbSX"),d=n("7OTs"),c=n("39oe"),p=n("74mu"),b=n("meiF");n("qULd"),n("iWo5"),n("y08P"),n("B4Jq"),n("1vRN");var u=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,i])},g=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,i])},h=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,i])},m=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,i])},f=function(){function r(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Object(a.o)(this,t),this.didPresent=Object(a.g)(this,"ionAlertDidPresent",7),this.willPresent=Object(a.g)(this,"ionAlertWillPresent",7),this.willDismiss=Object(a.g)(this,"ionAlertWillDismiss",7),this.didDismiss=Object(a.g)(this,"ionAlertDidDismiss",7),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){e.dismiss(void 0,d.a)},this.dispatchCancelHandler=function(t){var r=t.detail.role;if(Object(d.j)(r)){var i=e.processedButtons.find(function(t){return"cancel"===t.role});e.callButtonHandler(i)}}}var o,n,b;return o=r,b=[{key:"watchers",get:function(){return{buttons:["buttonsChanged"],inputs:["inputsChanged"]}}}],(n=[{key:"onKeydown",value:function(t){if(new Set(this.processedInputs.map(function(t){return t.type})).has("radio")&&(!t.target||this.el.contains(t.target))&&!t.target.classList.contains("alert-button")){var e,r=this.el.querySelectorAll(".alert-radio"),i=Array.from(r).filter(function(t){return!t.disabled}),o=i.findIndex(function(e){return e.id===t.target.id});if(["ArrowDown","ArrowRight"].includes(t.code)&&(e=o===i.length-1?i[0]:i[o+1]),["ArrowUp","ArrowLeft"].includes(t.code)&&(e=0===o?i[i.length-1]:i[o-1]),e&&i.includes(e)){var n=this.processedInputs.find(function(t){return t.id===(null==e?void 0:e.id)});n&&(this.rbClick(n),e.focus())}}}},{key:"buttonsChanged",value:function(){this.processedButtons=this.buttons.map(function(t){return"string"==typeof t?{text:t,role:"cancel"===t.toLowerCase()?"cancel":void 0}:t})}},{key:"inputsChanged",value:function(){var t=this,e=this.inputs,r=e.find(function(t){return!t.disabled}),i=e.find(function(t){return t.checked&&!t.disabled})||r,o=new Set(e.map(function(t){return t.type}));o.has("checkbox")&&o.has("radio")&&console.warn("Alert cannot mix input types: ".concat(Array.from(o.values()).join("/"),". Please see alert docs for more info.")),this.inputType=o.values().next().value,this.processedInputs=e.map(function(e,r){return{type:e.type||"text",name:e.name||""+r,placeholder:e.placeholder||"",value:e.value,label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:e.id||"alert-input-".concat(t.overlayIndex,"-").concat(r),handler:e.handler,min:e.min,max:e.max,cssClass:e.cssClass||"",attributes:e.attributes||{},tabindex:"radio"===e.type&&e!==i?-1:0}})}},{key:"connectedCallback",value:function(){Object(d.f)(this.el)}},{key:"componentWillLoad",value:function(){this.inputsChanged(),this.buttonsChanged()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentDidLoad",value:function(){!this.gesture&&"md"!==Object(l.b)(this)&&this.wrapperEl&&(this.gesture=Object(s.a)(this.wrapperEl,function(t){return t.classList.contains("alert-button")}),this.gesture.enable(!0))}},{key:"present",value:function(){return Object(d.e)(this,"alertEnter",u,h)}},{key:"dismiss",value:function(t,e){return Object(d.g)(this,t,e,"alertLeave",g,m)}},{key:"onDidDismiss",value:function(){return Object(d.h)(this.el,"ionAlertDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(d.h)(this.el,"ionAlertWillDismiss")}},{key:"rbClick",value:function(t){var r,i=e(this.processedInputs);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.checked=o===t,o.tabindex=o===t?0:-1}}catch(n){i.e(n)}finally{i.f()}this.activeId=t.id,Object(d.n)(t.handler,t),Object(a.l)(this)}},{key:"cbClick",value:function(t){t.checked=!t.checked,Object(d.n)(t.handler,t),Object(a.l)(this)}},{key:"buttonClick",value:function(t){var e=t.role,r=this.getValues();if(Object(d.j)(e))return this.dismiss({values:r},e);var i=this.callButtonHandler(t,r);return!1!==i?this.dismiss(Object.assign({values:r},i),t.role):Promise.resolve(!1)}},{key:"callButtonHandler",value:function(t,e){if(t&&t.handler){var r=Object(d.n)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}}},{key:"getValues",value:function(){if(0!==this.processedInputs.length){if("radio"===this.inputType){var t=this.processedInputs.find(function(t){return!!t.checked});return t?t.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(function(t){return t.checked}).map(function(t){return t.value});var e={};return this.processedInputs.forEach(function(t){e[t.name]=t.value||""}),e}}},{key:"renderAlertInputs",value:function(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}},{key:"renderCheckbox",value:function(){var t=this,e=this.processedInputs,r=Object(l.b)(this);return 0===e.length?null:Object(a.j)("div",{class:"alert-checkbox-group"},e.map(function(e){return Object(a.j)("button",{type:"button",onClick:function(){return t.cbClick(e)},"aria-checked":""+e.checked,id:e.id,disabled:e.disabled,tabIndex:e.tabindex,role:"checkbox",class:Object.assign(Object.assign({},Object(p.b)(e.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":e.disabled||!1})},Object(a.j)("div",{class:"alert-button-inner"},Object(a.j)("div",{class:"alert-checkbox-icon"},Object(a.j)("div",{class:"alert-checkbox-inner"})),Object(a.j)("div",{class:"alert-checkbox-label"},e.label)),"md"===r&&Object(a.j)("ion-ripple-effect",null))}))}},{key:"renderRadio",value:function(){var t=this,e=this.processedInputs;return 0===e.length?null:Object(a.j)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},e.map(function(e){return Object(a.j)("button",{type:"button",onClick:function(){return t.rbClick(e)},"aria-checked":""+e.checked,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},Object(p.b)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},Object(a.j)("div",{class:"alert-button-inner"},Object(a.j)("div",{class:"alert-radio-icon"},Object(a.j)("div",{class:"alert-radio-inner"})),Object(a.j)("div",{class:"alert-radio-label"},e.label)))}))}},{key:"renderInput",value:function(){var t=this.processedInputs;return 0===t.length?null:Object(a.j)("div",{class:"alert-input-group"},t.map(function(t){var e,r,i,o;return"textarea"===t.type?Object(a.j)("div",{class:"alert-input-wrapper"},Object(a.j)("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled,class:x(t),onInput:function(e){var r;t.value=e.target.value,(null===(r=t.attributes)||void 0===r?void 0:r.onInput)&&t.attributes.onInput(e)}}))):Object(a.j)("div",{class:"alert-input-wrapper"},Object(a.j)("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(o=null===(i=t.attributes)||void 0===i?void 0:i.disabled)&&void 0!==o?o:t.disabled,class:x(t),onInput:function(e){var r;t.value=e.target.value,(null===(r=t.attributes)||void 0===r?void 0:r.onInput)&&t.attributes.onInput(e)}})))}))}},{key:"renderAlertButtons",value:function(){var t=this,e=this.processedButtons,r=Object(l.b)(this),i={"alert-button-group":!0,"alert-button-group-vertical":e.length>2};return Object(a.j)("div",{class:i},e.map(function(e){return Object(a.j)("button",{type:"button",class:v(e),tabIndex:0,onClick:function(){return t.buttonClick(e)}},Object(a.j)("span",{class:"alert-button-inner"},e.text),"md"===r&&Object(a.j)("ion-ripple-effect",null))}))}},{key:"render",value:function(){var e,r=this,i=this.overlayIndex,o=this.header,n=this.subHeader,s=Object(l.b)(this),d="alert-".concat(i,"-hdr"),b="alert-".concat(i,"-sub-hdr"),u="alert-".concat(i,"-msg");return Object(a.j)(a.c,{role:"dialog","aria-modal":"true",tabindex:"-1",style:{zIndex:""+(2e4+i)},class:Object.assign(Object.assign({},Object(p.b)(this.cssClass)),(e={},t(e,s,!0),t(e,"alert-translucent",this.translucent),e)),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},Object(a.j)("ion-backdrop",{tappable:this.backdropDismiss}),Object(a.j)("div",{tabindex:"0"}),Object(a.j)("div",{class:"alert-wrapper ion-overlay-wrapper",ref:function(t){return r.wrapperEl=t}},Object(a.j)("div",{class:"alert-head"},o&&Object(a.j)("h2",{id:d,class:"alert-title"},o),n&&Object(a.j)("h2",{id:b,class:"alert-sub-title"},n)),Object(a.j)("div",{id:u,class:"alert-message",innerHTML:Object(c.a)(this.message)}),this.renderAlertInputs(),this.renderAlertButtons()),Object(a.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(a.k)(this)}}])&&i(o.prototype,n),b&&i(o,b),r}(),x=function(t){var e,r,i;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},Object(p.b)(t.cssClass)),Object(p.b)(t.attributes?null===(i=t.attributes.class)||void 0===i?void 0:i.toString():""))},v=function(e){return Object.assign(t({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0},"alert-button-role-"+e.role,void 0!==e.role),Object(p.b)(e.cssClass))};f.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:7px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;padding-left:6px;padding-right:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-input.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px;top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}.alert-checkbox-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;margin-left:16px;margin-right:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-icon.sc-ion-alert-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px}}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px;top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}.alert-button-group.sc-ion-alert-ios{margin-right:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-ios{margin-right:unset;-webkit-margin-end:-0.55px;margin-inline-end:-0.55px}}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{padding-left:23px;padding-right:23px;padding-top:20px;padding-bottom:15px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px}}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:24px;padding-right:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.alert-message.sc-ion-alert-md{max-height:240px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:240px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{padding-left:52px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-radio-icon.sc-ion-alert-md{left:26px;top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}.alert-radio-inner.sc-ion-alert-md{left:3px;top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{padding-left:53px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-checkbox-icon.sc-ion-alert-md{left:26px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px;top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}.alert-button-group.sc-ion-alert-md{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.alert-button.sc-ion-alert-md{border-radius:2px;margin-left:0;margin-right:8px;margin-top:0;margin-bottom:0;padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}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,l=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return l=t.done,t},e:function(t){s=!0,a=t},f:function(){try{l||null==i.return||i.return()}finally{if(s)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{Q8AI:function(r,o,n){"use strict";n.r(o),n.d(o,"ion_alert",function(){return f});var a=n("wEJo"),l=n("E/Mt"),s=n("JbSX"),d=n("7OTs"),c=n("39oe"),p=n("74mu"),b=n("meiF");n("qULd"),n("iWo5"),n("y08P"),n("B4Jq"),n("1vRN");var u=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,i])},g=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,i])},h=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,i])},m=function(t){var e=Object(b.a)(),r=Object(b.a)(),i=Object(b.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,i])},f=function(){function r(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Object(a.o)(this,t),this.didPresent=Object(a.g)(this,"ionAlertDidPresent",7),this.willPresent=Object(a.g)(this,"ionAlertWillPresent",7),this.willDismiss=Object(a.g)(this,"ionAlertWillDismiss",7),this.didDismiss=Object(a.g)(this,"ionAlertDidDismiss",7),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){e.dismiss(void 0,d.a)},this.dispatchCancelHandler=function(t){var r=t.detail.role;if(Object(d.j)(r)){var i=e.processedButtons.find(function(t){return"cancel"===t.role});e.callButtonHandler(i)}}}var o,n,b;return o=r,b=[{key:"watchers",get:function(){return{buttons:["buttonsChanged"],inputs:["inputsChanged"]}}}],(n=[{key:"onKeydown",value:function(t){if(new Set(this.processedInputs.map(function(t){return t.type})).has("radio")&&(!t.target||this.el.contains(t.target))&&!t.target.classList.contains("alert-button")){var e,r=this.el.querySelectorAll(".alert-radio"),i=Array.from(r).filter(function(t){return!t.disabled}),o=i.findIndex(function(e){return e.id===t.target.id});if(["ArrowDown","ArrowRight"].includes(t.code)&&(e=o===i.length-1?i[0]:i[o+1]),["ArrowUp","ArrowLeft"].includes(t.code)&&(e=0===o?i[i.length-1]:i[o-1]),e&&i.includes(e)){var n=this.processedInputs.find(function(t){return t.id===(null==e?void 0:e.id)});n&&(this.rbClick(n),e.focus())}}}},{key:"buttonsChanged",value:function(){this.processedButtons=this.buttons.map(function(t){return"string"==typeof t?{text:t,role:"cancel"===t.toLowerCase()?"cancel":void 0}:t})}},{key:"inputsChanged",value:function(){var t=this,e=this.inputs,r=e.find(function(t){return!t.disabled}),i=e.find(function(t){return t.checked&&!t.disabled})||r,o=new Set(e.map(function(t){return t.type}));o.has("checkbox")&&o.has("radio")&&console.warn("Alert cannot mix input types: ".concat(Array.from(o.values()).join("/"),". Please see alert docs for more info.")),this.inputType=o.values().next().value,this.processedInputs=e.map(function(e,r){return{type:e.type||"text",name:e.name||""+r,placeholder:e.placeholder||"",value:e.value,label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:e.id||"alert-input-".concat(t.overlayIndex,"-").concat(r),handler:e.handler,min:e.min,max:e.max,cssClass:e.cssClass||"",attributes:e.attributes||{},tabindex:"radio"===e.type&&e!==i?-1:0}})}},{key:"connectedCallback",value:function(){Object(d.f)(this.el)}},{key:"componentWillLoad",value:function(){this.inputsChanged(),this.buttonsChanged()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentDidLoad",value:function(){!this.gesture&&"md"!==Object(l.b)(this)&&this.wrapperEl&&(this.gesture=Object(s.a)(this.wrapperEl,function(t){return t.classList.contains("alert-button")}),this.gesture.enable(!0))}},{key:"present",value:function(){return Object(d.e)(this,"alertEnter",u,h)}},{key:"dismiss",value:function(t,e){return Object(d.g)(this,t,e,"alertLeave",g,m)}},{key:"onDidDismiss",value:function(){return Object(d.h)(this.el,"ionAlertDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(d.h)(this.el,"ionAlertWillDismiss")}},{key:"rbClick",value:function(t){var r,i=e(this.processedInputs);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.checked=o===t,o.tabindex=o===t?0:-1}}catch(n){i.e(n)}finally{i.f()}this.activeId=t.id,Object(d.n)(t.handler,t),Object(a.l)(this)}},{key:"cbClick",value:function(t){t.checked=!t.checked,Object(d.n)(t.handler,t),Object(a.l)(this)}},{key:"buttonClick",value:function(t){var e=t.role,r=this.getValues();if(Object(d.j)(e))return this.dismiss({values:r},e);var i=this.callButtonHandler(t,r);return!1!==i?this.dismiss(Object.assign({values:r},i),t.role):Promise.resolve(!1)}},{key:"callButtonHandler",value:function(t,e){if(t&&t.handler){var r=Object(d.n)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}}},{key:"getValues",value:function(){if(0!==this.processedInputs.length){if("radio"===this.inputType){var t=this.processedInputs.find(function(t){return!!t.checked});return t?t.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(function(t){return t.checked}).map(function(t){return t.value});var e={};return this.processedInputs.forEach(function(t){e[t.name]=t.value||""}),e}}},{key:"renderAlertInputs",value:function(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}},{key:"renderCheckbox",value:function(){var t=this,e=this.processedInputs,r=Object(l.b)(this);return 0===e.length?null:Object(a.j)("div",{class:"alert-checkbox-group"},e.map(function(e){return Object(a.j)("button",{type:"button",onClick:function(){return t.cbClick(e)},"aria-checked":""+e.checked,id:e.id,disabled:e.disabled,tabIndex:e.tabindex,role:"checkbox",class:Object.assign(Object.assign({},Object(p.b)(e.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":e.disabled||!1})},Object(a.j)("div",{class:"alert-button-inner"},Object(a.j)("div",{class:"alert-checkbox-icon"},Object(a.j)("div",{class:"alert-checkbox-inner"})),Object(a.j)("div",{class:"alert-checkbox-label"},e.label)),"md"===r&&Object(a.j)("ion-ripple-effect",null))}))}},{key:"renderRadio",value:function(){var t=this,e=this.processedInputs;return 0===e.length?null:Object(a.j)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},e.map(function(e){return Object(a.j)("button",{type:"button",onClick:function(){return t.rbClick(e)},"aria-checked":""+e.checked,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},Object(p.b)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},Object(a.j)("div",{class:"alert-button-inner"},Object(a.j)("div",{class:"alert-radio-icon"},Object(a.j)("div",{class:"alert-radio-inner"})),Object(a.j)("div",{class:"alert-radio-label"},e.label)))}))}},{key:"renderInput",value:function(){var t=this.processedInputs;return 0===t.length?null:Object(a.j)("div",{class:"alert-input-group"},t.map(function(t){var e,r,i,o;return"textarea"===t.type?Object(a.j)("div",{class:"alert-input-wrapper"},Object(a.j)("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled,class:x(t),onInput:function(e){var r;t.value=e.target.value,(null===(r=t.attributes)||void 0===r?void 0:r.onInput)&&t.attributes.onInput(e)}}))):Object(a.j)("div",{class:"alert-input-wrapper"},Object(a.j)("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(o=null===(i=t.attributes)||void 0===i?void 0:i.disabled)&&void 0!==o?o:t.disabled,class:x(t),onInput:function(e){var r;t.value=e.target.value,(null===(r=t.attributes)||void 0===r?void 0:r.onInput)&&t.attributes.onInput(e)}})))}))}},{key:"renderAlertButtons",value:function(){var t=this,e=this.processedButtons,r=Object(l.b)(this),i={"alert-button-group":!0,"alert-button-group-vertical":e.length>2};return Object(a.j)("div",{class:i},e.map(function(e){return Object(a.j)("button",{type:"button",class:v(e),tabIndex:0,onClick:function(){return t.buttonClick(e)}},Object(a.j)("span",{class:"alert-button-inner"},e.text),"md"===r&&Object(a.j)("ion-ripple-effect",null))}))}},{key:"render",value:function(){var e,r=this,i=this.overlayIndex,o=this.header,n=this.subHeader,s=Object(l.b)(this),d="alert-".concat(i,"-hdr"),b="alert-".concat(i,"-sub-hdr"),u="alert-".concat(i,"-msg");return Object(a.j)(a.c,{role:"dialog","aria-modal":"true",tabindex:"-1",style:{zIndex:""+(2e4+i)},class:Object.assign(Object.assign({},Object(p.b)(this.cssClass)),(e={},t(e,s,!0),t(e,"alert-translucent",this.translucent),e)),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},Object(a.j)("ion-backdrop",{tappable:this.backdropDismiss}),Object(a.j)("div",{tabindex:"0"}),Object(a.j)("div",{class:"alert-wrapper ion-overlay-wrapper",ref:function(t){return r.wrapperEl=t}},Object(a.j)("div",{class:"alert-head"},o&&Object(a.j)("h2",{id:d,class:"alert-title"},o),n&&Object(a.j)("h2",{id:b,class:"alert-sub-title"},n)),Object(a.j)("div",{id:u,class:"alert-message",innerHTML:Object(c.a)(this.message)}),this.renderAlertInputs(),this.renderAlertButtons()),Object(a.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(a.k)(this)}}])&&i(o.prototype,n),b&&i(o,b),Object.defineProperty(o,"prototype",{writable:!1}),r}(),x=function(t){var e,r,i;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},Object(p.b)(t.cssClass)),Object(p.b)(t.attributes?null===(i=t.attributes.class)||void 0===i?void 0:i.toString():""))},v=function(e){return Object.assign(t({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0},"alert-button-role-"+e.role,void 0!==e.role),Object(p.b)(e.cssClass))};f.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:7px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;padding-left:6px;padding-right:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-input.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px;top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}.alert-checkbox-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;margin-left:16px;margin-right:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-icon.sc-ion-alert-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px}}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px;top:4px;position:absolute;width:5px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}.alert-button-group.sc-ion-alert-ios{margin-right:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-ios{margin-right:unset;-webkit-margin-end:-0.55px;margin-inline-end:-0.55px}}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{padding-left:23px;padding-right:23px;padding-top:20px;padding-bottom:15px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px}}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:24px;padding-right:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.alert-message.sc-ion-alert-md{max-height:240px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:240px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{padding-left:52px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-radio-icon.sc-ion-alert-md{left:26px;top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}.alert-radio-inner.sc-ion-alert-md{left:3px;top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{padding-left:53px;padding-right:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-checkbox-icon.sc-ion-alert-md{left:26px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px;top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}.alert-button-group.sc-ion-alert-md{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.alert-button.sc-ion-alert-md{border-radius:2px;margin-left:0;margin-right:8px;margin-top:0;margin-bottom:0;padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}"}}}])}(); \ No newline at end of file diff --git a/dist/14-es5.c5a3e4844eb573035de7.js b/dist/14-es5.c5a3e4844eb573035de7.js index dc2ebe8080..2d6fee2e43 100644 --- a/dist/14-es5.c5a3e4844eb573035de7.js +++ b/dist/14-es5.c5a3e4844eb573035de7.js @@ -1 +1 @@ -!function(){function t(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function o(t,o,e,n,r,i,a){try{var s=t[i](a),l=s.value}catch(c){return void e(c)}s.done?o(l):Promise.resolve(l).then(n,r)}function e(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,l,"next",t)}function l(t){o(a,r,i,s,l,"throw",t)}s(void 0)})}}function n(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function r(t,o){for(var e=0;e<o.length;e++){var n=o[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,o,e){return o&&r(t.prototype,o),e&&r(t,e),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{hgI1:function(o,r,a){"use strict";a.r(r),a.d(r,"ion_app",function(){return g}),a.d(r,"ion_buttons",function(){return m}),a.d(r,"ion_content",function(){return v}),a.d(r,"ion_footer",function(){return w}),a.d(r,"ion_header",function(){return S}),a.d(r,"ion_router_outlet",function(){return z}),a.d(r,"ion_title",function(){return E}),a.d(r,"ion_toolbar",function(){return R});var s=a("wEJo"),l=a("E/Mt"),c=a("74mu"),d=a("1vRN"),u=a("bC4P"),b=a("acej"),p=a("k4ps"),g=function(){function o(t){n(this,o),Object(s.o)(this,t)}return i(o,[{key:"componentDidLoad",value:function(){f(e(regeneratorRuntime.mark(function t(){var o,e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object(l.a)(window,"hybrid"),l.c.getBoolean("_testing")||a.e(59).then(a.bind(null,"cg4z")).then(function(t){return t.startTapClick(l.c)}),l.c.getBoolean("statusTap",o)&&a.e(57).then(a.bind(null,"PaPO")).then(function(t){return t.startStatusTap()}),l.c.getBoolean("inputShims",h())&&a.e(11).then(a.bind(null,"3Iwd")).then(function(t){return t.startInputShims(l.c)}),t.next=4,Promise.resolve().then(a.bind(null,"B4Jq"));case 4:e=t.sent,l.c.getBoolean("hardwareBackButton",o)?e.startHardwareBackButton():e.blockHardwareBackButton(),"undefined"!=typeof window&&a.e(55).then(a.bind(null,"nGaW")).then(function(t){return t.startKeyboardAssist(window)}),a.e(10).then(a.bind(null,"Tsnu")).then(function(t){return t.startFocusVisible()});case 6:case"end":return t.stop()}},t)})))}},{key:"render",value:function(){var o,e=Object(l.b)(this);return Object(s.j)(s.c,{class:(o={},t(o,e,!0),t(o,"ion-page",!0),t(o,"force-statusbar-padding",l.c.getBoolean("_forceStatusbarPadding")),o)})}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}(),h=function(){return Object(l.a)(window,"ios")&&Object(l.a)(window,"mobile")},f=function(t){"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};g.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";var m=function(){function o(t){n(this,o),Object(s.o)(this,t),this.collapse=!1}return i(o,[{key:"render",value:function(){var o,e=Object(l.b)(this);return Object(s.j)(s.c,{class:(o={},t(o,e,!0),t(o,"buttons-collapse",this.collapse),o)})}}]),o}();m.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-start:5px;--padding-end:5px;margin-left:2px;margin-right:2px;height:32px;font-size:17px;font-weight:400}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};var v=function(){function o(t){n(this,o),Object(s.o)(this,t),this.ionScrollStart=Object(s.g)(this,"ionScrollStart",7),this.ionScroll=Object(s.g)(this,"ionScroll",7),this.ionScrollEnd=Object(s.g)(this,"ionScrollEnd",7),this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.fullscreen=!1,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}var r;return i(o,[{key:"disconnectedCallback",value:function(){this.onScrollEnd()}},{key:"onAppLoad",value:function(){this.resize()}},{key:"onClick",value:function(t){this.isScrolling&&(t.preventDefault(),t.stopPropagation())}},{key:"shouldForceOverscroll",value:function(){var t=this.forceOverscroll,o=Object(l.b)(this);return void 0===t?"ios"===o&&Object(l.a)("ios"):t}},{key:"resize",value:function(){var t=this;this.fullscreen?Object(s.h)(function(){return t.readDimensions()}):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,Object(s.l)(this))}},{key:"readDimensions",value:function(){var t=k(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,Object(s.l)(this))}},{key:"onScroll",value:function(t){var o=this,e=Date.now(),n=!this.isScrolling;this.lastScroll=e,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,Object(s.h)(function(e){o.queued=!1,o.detail.event=t,x(o.detail,o.scrollEl,e,n),o.ionScroll.emit(o.detail)}))}},{key:"getScrollElement",value:function(){return Promise.resolve(this.scrollEl)}},{key:"scrollToTop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.scrollToPoint(void 0,0,t)}},{key:"scrollToBottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.scrollToPoint(void 0,this.scrollEl.scrollHeight-this.scrollEl.clientHeight,t)}},{key:"scrollByPoint",value:function(t,o,e){return this.scrollToPoint(t+this.scrollEl.scrollLeft,o+this.scrollEl.scrollTop,e)}},{key:"scrollToPoint",value:(r=e(regeneratorRuntime.mark(function t(o,e){var n,r,i,a,s,l,c,d,u,b,p=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=p.length>2&&void 0!==p[2]?p[2]:0,r=this.scrollEl,!(n<32)){t.next=4;break}return t.abrupt("return",(null!=e&&(r.scrollTop=e),void(null!=o&&(r.scrollLeft=o))));case 4:return a=0,s=new Promise(function(t){return i=t}),l=r.scrollTop,c=r.scrollLeft,d=null!=e?e-l:0,u=null!=o?o-c:0,b=function t(o){var e=Math.min(1,(o-a)/n)-1,s=Math.pow(e,3)+1;0!==d&&(r.scrollTop=Math.floor(s*d+l)),0!==u&&(r.scrollLeft=Math.floor(s*u+c)),s<1?requestAnimationFrame(t):i()},t.abrupt("return",(requestAnimationFrame(function(t){a=t,b(t)}),s));case 7:case"end":return t.stop()}},t,this)})),function(t,o){return r.apply(this,arguments)})},{key:"onScrollStart",value:function(){var t=this;this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(function(){t.lastScroll<Date.now()-120&&t.onScrollEnd()},100)}},{key:"onScrollEnd",value:function(){clearInterval(this.watchDog),this.watchDog=null,this.isScrolling&&(this.isScrolling=!1,this.ionScrollEnd.emit({isScrolling:!1}))}},{key:"render",value:function(){var o,e=this,n=this.scrollX,r=this.scrollY,i=Object(l.b)(this),a=this.shouldForceOverscroll(),d="ios"===i&&l.c.getBoolean("experimentalTransitionShadow",!0);return this.resize(),Object(s.j)(s.c,{class:Object(c.a)(this.color,(o={},t(o,i,!0),t(o,"content-sizing",Object(c.c)("ion-popover",this.el)),t(o,"overscroll",a),o)),style:{"--offset-top":this.cTop+"px","--offset-bottom":this.cBottom+"px"}},Object(s.j)("div",{id:"background-content",part:"background"}),Object(s.j)("main",{class:{"inner-scroll":!0,"scroll-x":n,"scroll-y":r,overscroll:(n||r)&&a},ref:function(t){return e.scrollEl=t},onScroll:this.scrollEvents?function(t){return e.onScroll(t)}:void 0,part:"scroll"},Object(s.j)("slot",null)),d?Object(s.j)("div",{class:"transition-effect"},Object(s.j)("div",{class:"transition-cover"}),Object(s.j)("div",{class:"transition-shadow"})):null,Object(s.j)("slot",{name:"fixed"}))}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}(),k=function(t){return t.closest("ion-tabs")||t.closest("ion-app,ion-page,.ion-page,page-inner")||function(t){return t.parentElement?t.parentElement:t.parentNode&&t.parentNode.host?t.parentNode.host:null}(t)},x=function(t,o,e,n){var r=t.currentX,i=t.currentY,a=o.scrollLeft,s=o.scrollTop,l=e-t.currentTime;if(n&&(t.startTime=e,t.startX=a,t.startY=s,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=a,t.currentY=t.scrollTop=s,t.deltaX=a-t.startX,t.deltaY=s-t.startY,l>0&&l<100){var c=(s-i)/l;t.velocityX=(a-r)/l*.7+.3*t.velocityX,t.velocityY=.7*c+.3*t.velocityY}};v.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{-ms-touch-action:pan-y;touch-action:pan-y;overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{-ms-touch-action:pan-x;touch-action:pan-x;overflow-x:var(--overflow);overscroll-behavior-x:contain}.scroll-x.scroll-y{-ms-touch-action:auto;touch-action:auto}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){contain:none}:host(.content-sizing) .inner-scroll{position:relative}.transition-effect{display:none;position:absolute;left:-100%;width:100%;height:100vh;opacity:0;pointer-events:none}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;right:0;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}::slotted([slot=fixed]){position:absolute}';var w=function(){function o(t){n(this,o),Object(s.o)(this,t),this.translucent=!1}return i(o,[{key:"render",value:function(){var o,e=Object(l.b)(this),n=this.translucent;return Object(s.j)(s.c,{role:"contentinfo",class:(o={},t(o,e,!0),t(o,"footer-"+e,!0),t(o,"footer-translucent",n),t(o,"footer-translucent-"+e,n),o)},"ios"===e&&n&&Object(s.j)("div",{class:"footer-background"}),Object(s.j)("slot",null))}}]),o}();w.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}",md:'ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md::before{left:0;top:-2px;bottom:auto;background-position:left 0 top 0;position:absolute;width:100%;height:2px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==");background-repeat:repeat-x;content:""}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{left:unset;right:unset;right:0}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{background-position:right 0 top 0}.footer-md.ion-no-border::before{display:none}'};var y=function(t){var o=document.querySelector(t+".ion-cloned-element");if(null!==o)return o;var e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},A=function(t){if(t){var o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(function(t){var o=t.querySelector("ion-title");return{el:t,background:t.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:o,innerTitleEl:o?o.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(t.querySelectorAll("ion-buttons"))||[]}})||[]}}},j=function(t,o){void 0===o?t.background.style.removeProperty("--opacity"):t.background.style.setProperty("--opacity",o.toString())},O=function(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o?t.el.classList.remove("header-collapse-condense-inactive"):t.el.classList.add("header-collapse-condense-inactive")},S=function(){function o(t){n(this,o),Object(s.o)(this,t),this.collapsibleHeaderInitialized=!1,this.translucent=!1}var r,a,c,u;return i(o,[{key:"componentDidLoad",value:(u=e(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkCollapsibleHeader();case 2:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"componentDidUpdate",value:(c=e(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkCollapsibleHeader();case 2:case"end":return t.stop()}},t,this)})),function(){return c.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.destroyCollapsibleHeader()}},{key:"checkCollapsibleHeader",value:(a=e(regeneratorRuntime.mark(function t(){var o,e,n,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o="condense"===this.collapse,(e=!(!o||"ios"!==Object(l.b)(this))&&o)||!this.collapsibleHeaderInitialized){t.next=5;break}this.destroyCollapsibleHeader(),t.next=10;break;case 5:if(!e||this.collapsibleHeaderInitialized){t.next=10;break}return n=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),r=n?n.querySelector("ion-content"):null,Object(s.f)(function(){y("ion-title").size="large",y("ion-back-button")}),t.next=10,this.setupCollapsibleHeader(r,n);case 10:case"end":return t.stop()}},t,this)})),function(){return a.apply(this,arguments)})},{key:"destroyCollapsibleHeader",value:function(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}},{key:"setupCollapsibleHeader",value:(r=e(regeneratorRuntime.mark(function t(o,e){var n,r,i,a=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o&&e){t.next=2;break}return t.abrupt("return",void console.error("ion-header requires a content to collapse, make sure there is an ion-content."));case 2:if("undefined"!=typeof IntersectionObserver){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,o.getScrollElement();case 6:if(this.scrollEl=t.sent,n=e.querySelectorAll("ion-header"),this.collapsibleMainHeader=Array.from(n).find(function(t){return"condense"!==t.collapse}),this.collapsibleMainHeader){t.next=10;break}return t.abrupt("return");case 10:r=A(this.collapsibleMainHeader),i=A(this.el),r&&i&&(O(r,!1),r.toolbars.forEach(function(t){j(t,0)}),this.intersectionObserver=new IntersectionObserver(function(t){!function(t,o,e,n){Object(s.f)(function(){var r=n.scrollTop;!function(t,o,e){if(t[0].isIntersecting){var n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;o.toolbars.forEach(function(t){j(t,1===n?void 0:n)})}}(t,o,r);var i=t[0],a=i.intersectionRect,s=a.width*a.height,l=0===s&&0==i.rootBounds.width*i.rootBounds.height,c=Math.abs(a.left-i.boundingClientRect.left),d=Math.abs(a.right-i.boundingClientRect.right);l||s>0&&(c>=5||d>=5)||(i.isIntersecting?(O(o,!1),O(e)):(0===a.x&&0===a.y||0!==a.width&&0!==a.height)&&r>0&&(O(o),O(e,!1),j(o.toolbars[0])))})}(t,r,i,a.scrollEl)},{root:o,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el),this.contentScrollCallback=function(){!function(t,o,e){Object(s.h)(function(){var n=t.scrollTop,r=Object(d.j)(1,1+-n/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&Object(s.f)(function(){!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var n=t.ionTitleEl,r=t.innerTitleEl;n&&"large"===n.size&&(r.style.transition=e?"all 0.2s ease-in-out":"",r.style.transform="scale3d(".concat(o,", ").concat(o,", 1)"))})}(o.toolbars,r)})})}(a.scrollEl,i,o)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),Object(s.f)(function(){void 0!==a.collapsibleMainHeader&&a.collapsibleMainHeader.classList.add("header-collapse-main")}),this.collapsibleHeaderInitialized=!0);case 12:case"end":return t.stop()}},t,this)})),function(t,o){return r.apply(this,arguments)})},{key:"render",value:function(){var o,e=this.translucent,n=Object(l.b)(this),r=this.collapse||"none";return Object(s.j)(s.c,{role:"banner",class:(o={},t(o,n,!0),t(o,"header-"+n,!0),t(o,"header-translucent",this.translucent),t(o,"header-collapse-"+r,!0),t(o,"header-translucent-"+n,this.translucent),o)},"ios"===n&&e&&Object(s.j)("div",{class:"header-background"}),Object(s.j)("slot",null))}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}();S.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}",md:'ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}'};var z=function(){function t(o){n(this,t),Object(s.o)(this,o),this.ionNavWillLoad=Object(s.g)(this,"ionNavWillLoad",7),this.ionNavWillChange=Object(s.g)(this,"ionNavWillChange",3),this.ionNavDidChange=Object(s.g)(this,"ionNavDidChange",3),this.animationEnabled=!0,this.mode=Object(l.b)(this),this.animated=!0}var o,r,c,d,g,h,f;return i(t,[{key:"swipeHandlerChanged",value:function(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}},{key:"connectedCallback",value:(f=e(regeneratorRuntime.mark(function t(){var o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.e(2).then(a.bind(null,"IYAk"));case 2:this.gesture=t.sent.createSwipeBackGesture(this.el,function(){return!!o.swipeHandler&&o.swipeHandler.canStart()&&o.animationEnabled},function(){return o.swipeHandler&&o.swipeHandler.onStart()},function(t){return o.ani&&o.ani.progressStep(t)},function(t,e,n){if(o.ani){o.animationEnabled=!1,o.ani.onFinish(function(){o.animationEnabled=!0,o.swipeHandler&&o.swipeHandler.onEnd(t)},{oneTimeCallback:!0});var r=t?-.001:.001;t?r+=Object(u.a)([0,0],[.32,.72],[0,1],[1,1],e)[0]:(o.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),r+=Object(u.a)([0,0],[1,0],[.68,.28],[1,1],e)[0]),o.ani.progressEnd(t?1:0,r,n)}}),this.swipeHandlerChanged();case 4:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"componentWillLoad",value:function(){this.ionNavWillLoad.emit()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"commit",value:(h=e(regeneratorRuntime.mark(function t(o,e,n){var r,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.lock();case 2:return r=t.sent,i=!1,t.prev=4,t.next=7,this.transition(o,e,n);case 7:i=t.sent,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(4),console.error(t.t0);case 13:return t.abrupt("return",(r(),i));case 14:case"end":return t.stop()}},t,this,[[4,10]])})),function(t,o,e){return h.apply(this,arguments)})},{key:"setRouteId",value:(g=e(regeneratorRuntime.mark(function t(o,e,n,r){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.setRoot(o,e,{duration:"root"===n?0:void 0,direction:"back"===n?"back":"forward",animationBuilder:r});case 2:return t.t0=t.sent,t.t1=this.activeEl,t.abrupt("return",{changed:t.t0,element:t.t1});case 5:case"end":return t.stop()}},t,this)})),function(t,o,e,n){return g.apply(this,arguments)})},{key:"getRouteId",value:(d=e(regeneratorRuntime.mark(function t(){var o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=this.activeEl,t.abrupt("return",o?{id:o.tagName,element:o}:void 0);case 2:case"end":return t.stop()}},t,this)})),function(){return d.apply(this,arguments)})},{key:"setRoot",value:(c=e(regeneratorRuntime.mark(function t(o,e,n){var r,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activeComponent!==o){t.next=2;break}return t.abrupt("return",!1);case 2:return r=this.activeEl,t.next=5,Object(b.a)(this.delegate,this.el,o,["ion-page","ion-page-invisible"],e);case 5:return i=t.sent,this.activeComponent=o,this.activeEl=i,t.next=10,this.commit(i,r,n);case 10:return t.next=12,Object(b.b)(this.delegate,r);case 12:return t.abrupt("return",!0);case 13:case"end":return t.stop()}},t,this)})),function(t,o,e){return c.apply(this,arguments)})},{key:"transition",value:(r=e(regeneratorRuntime.mark(function t(o,e){var n,r,i,a,s,c=this,d=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=d.length>2&&void 0!==d[2]?d[2]:{},e!==o){t.next=3;break}return t.abrupt("return",!1);case 3:return this.ionNavWillChange.emit(),r=this.el,i=this.mode,a=this.animated&&l.c.getBoolean("animated",!0),s=this.animation||n.animationBuilder||l.c.get("navAnimation"),t.next=7,Object(p.j)(Object.assign(Object.assign({mode:i,animated:a,enteringEl:o,leavingEl:e,baseEl:r,progressCallback:n.progressAnimation?function(t){return c.ani=t}:void 0},n),{animationBuilder:s}));case 7:return this.ionNavDidChange.emit(),t.abrupt("return",!0);case 9:case"end":return t.stop()}},t,this)})),function(t,o){return r.apply(this,arguments)})},{key:"lock",value:(o=e(regeneratorRuntime.mark(function t(){var o,e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.waitPromise,this.waitPromise=new Promise(function(t){return e=t}),t.t0=void 0!==o,!t.t0){t.next=6;break}return t.next=6,o;case 6:return t.abrupt("return",e);case 7:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){return Object(s.j)("slot",null)}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{swipeHandler:["swipeHandlerChanged"]}}}]),t}();z.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";var E=function(){function o(t){n(this,o),Object(s.o)(this,t),this.ionStyle=Object(s.g)(this,"ionStyle",7)}return i(o,[{key:"sizeChanged",value:function(){this.emitStyle()}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){var o=this.getSize();this.ionStyle.emit(t({},"title-"+o,!0))}},{key:"getSize",value:function(){return void 0!==this.size?this.size:"default"}},{key:"render",value:function(){var o,e=Object(l.b)(this),n=this.getSize();return Object(s.j)(s.c,{class:Object(c.a)(this.color,(o={},t(o,e,!0),t(o,"title-"+n,!0),o))},Object(s.j)("div",{class:"toolbar-title"},Object(s.j)("slot",null)))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{size:["sizeChanged"]}}}]),o}();E.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{left:0;top:0;padding-left:90px;padding-right:90px;padding-top:0;padding-bottom:0;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:17px;font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-small){padding-left:9px;padding-right:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:13px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-small){padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}:host(.title-large){padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;-webkit-transform-origin:left center;transform-origin:left center;bottom:0;-ms-flex-align:end;align-items:flex-end;min-width:100%;padding-bottom:6px;font-size:34px;font-weight:700;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-large){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host-context([dir=rtl]):host(.title-large),:host-context([dir=rtl]).title-large{-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:0.0125em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host(.title-small){width:100%;height:100%;font-size:15px;font-weight:normal}"};var R=function(){function o(t){n(this,o),Object(s.o)(this,t),this.childrenStyles=new Map}return i(o,[{key:"componentWillLoad",value:function(){var t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(function(t){return"start"===t.slot});o&&o.classList.add("buttons-first-slot");var e=t.reverse(),n=e.find(function(t){return"end"===t.slot})||e.find(function(t){return"primary"===t.slot})||e.find(function(t){return"secondary"===t.slot});n&&n.classList.add("buttons-last-slot")}},{key:"childrenStyle",value:function(t){t.stopPropagation();var o=t.target.tagName,e=t.detail,n={},r=this.childrenStyles.get(o)||{},i=!1;Object.keys(e).forEach(function(t){var o="toolbar-"+t,a=e[t];a!==r[o]&&(i=!0),a&&(n[o]=!0)}),i&&(this.childrenStyles.set(o,n),Object(s.l)(this))}},{key:"render",value:function(){var o,e=Object(l.b)(this),n={};return this.childrenStyles.forEach(function(t){Object.assign(n,t)}),Object(s.j)(s.c,{class:Object.assign(Object.assign({},n),Object(c.a)(this.color,(o={},t(o,e,!0),t(o,"in-toolbar",Object(c.c)("ion-toolbar",this.el)),o)))},Object(s.j)("div",{class:"toolbar-background"}),Object(s.j)("div",{class:"toolbar-container"},Object(s.j)("slot",{name:"start"}),Object(s.j)("slot",{name:"secondary"}),Object(s.j)("div",{class:"toolbar-content"},Object(s.j)("slot",null)),Object(s.j)("slot",{name:"primary"}),Object(s.j)("slot",{name:"end"})))}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}();R.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:var(--opacity);z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:var(--opacity);z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(ion-segment){min-height:var(--min-height)}::slotted(.buttons-first-slot){margin-left:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-first-slot){margin-left:unset;-webkit-margin-start:4px;margin-inline-start:4px}}::slotted(.buttons-last-slot){margin-right:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-last-slot){margin-right:unset;-webkit-margin-end:4px;margin-inline-end:4px}}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}}}])}(); \ No newline at end of file +!function(){function t(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(t,o,e){return Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{l({},"")}catch(S){l=function(t,o,e){return t[o]=e}}function c(t,o,e,n){var r=o&&o.prototype instanceof p?o:p,i=Object.create(r.prototype),a=new j(n||[]);return i._invoke=function(t,o,e){var n="suspendedStart";return function(r,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw i;return E()}for(e.method=r,e.arg=i;;){var a=e.delegate;if(a){var s=y(a,e);if(s){if(s===u)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var l=d(t,o,e);if("normal"===l.type){if(n=e.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(n="completed",e.method="throw",e.arg=l.arg)}}}(t,e,a),i}function d(t,o,e){try{return{type:"normal",arg:t.call(o,e)}}catch(S){return{type:"throw",arg:S}}}t.wrap=c;var u={};function p(){}function b(){}function h(){}var g={};l(g,i,function(){return this});var f=Object.getPrototypeOf,m=f&&f(f(O([])));m&&m!==e&&n.call(m,i)&&(g=m);var v=h.prototype=p.prototype=Object.create(g);function k(t){["next","throw","return"].forEach(function(o){l(t,o,function(t){return this._invoke(o,t)})})}function x(t,o){function e(r,i,a,s){var l=d(t[r],t,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?o.resolve(u.__await).then(function(t){e("next",t,a,s)},function(t){e("throw",t,a,s)}):o.resolve(u).then(function(t){c.value=t,a(c)},function(t){return e("throw",t,a,s)})}s(l.arg)}var r;this._invoke=function(t,n){function i(){return new o(function(o,r){e(t,n,o,r)})}return r=r?r.then(i,i):i()}}function y(t,o){var e=t.iterator[o.method];if(void 0===e){if(o.delegate=null,"throw"===o.method){if(t.iterator.return&&(o.method="return",o.arg=void 0,y(t,o),"throw"===o.method))return u;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=d(e,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,u;var r=n.arg;return r?r.done?(o[t.resultName]=r.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=void 0),o.delegate=null,u):r:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,u)}function w(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function A(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function O(t){if(t){var o=t[i];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function o(){for(;++e<t.length;)if(n.call(t,e))return o.value=t[e],o.done=!1,o;return o.value=void 0,o.done=!0,o};return r.next=r}}return{next:E}}function E(){return{value:void 0,done:!0}}return b.prototype=h,l(v,"constructor",h),l(h,"constructor",b),b.displayName=l(h,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===b||"GeneratorFunction"===(o.displayName||o.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,l(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},k(x.prototype),l(x.prototype,a,function(){return this}),t.AsyncIterator=x,t.async=function(o,e,n,r,i){void 0===i&&(i=Promise);var a=new x(c(o,e,n,r),i);return t.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},k(v),l(v,s,"Generator"),l(v,i,function(){return this}),l(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var o=[];for(var e in t)o.push(e);return o.reverse(),function e(){for(;o.length;){var n=o.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=O,j.prototype={constructor:j,reset:function(t){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(A),!t)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function e(e,n){return a.type="throw",a.arg=t,o.next=e,n&&(o.method="next",o.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,o){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=o&&o<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=o,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),u},finish:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var e=this.tryEntries[o];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),u}},catch:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var e=this.tryEntries[o];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;A(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,e){return this.delegate={iterator:O(t),resultName:o,nextLoc:e},"next"===this.method&&(this.arg=void 0),u}},t}function e(t,o,e,n,r,i,a){try{var s=t[i](a),l=s.value}catch(c){return void e(c)}s.done?o(l):Promise.resolve(l).then(n,r)}function n(t){return function(){var o=this,n=arguments;return new Promise(function(r,i){var a=t.apply(o,n);function s(t){e(a,r,i,s,l,"next",t)}function l(t){e(a,r,i,s,l,"throw",t)}s(void 0)})}}function r(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function i(t,o){for(var e=0;e<o.length;e++){var n=o[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,o,e){return o&&i(t.prototype,o),e&&i(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{hgI1:function(e,i,s){"use strict";s.r(i),s.d(i,"ion_app",function(){return g}),s.d(i,"ion_buttons",function(){return v}),s.d(i,"ion_content",function(){return k}),s.d(i,"ion_footer",function(){return w}),s.d(i,"ion_header",function(){return S}),s.d(i,"ion_router_outlet",function(){return z}),s.d(i,"ion_title",function(){return L}),s.d(i,"ion_toolbar",function(){return C});var l=s("wEJo"),c=s("E/Mt"),d=s("74mu"),u=s("1vRN"),p=s("bC4P"),b=s("acej"),h=s("k4ps"),g=function(){function e(t){r(this,e),Object(l.o)(this,t)}return a(e,[{key:"componentDidLoad",value:function(){m(n(o().mark(function t(){var e,n;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=Object(c.a)(window,"hybrid"),c.c.getBoolean("_testing")||s.e(59).then(s.bind(null,"cg4z")).then(function(t){return t.startTapClick(c.c)}),c.c.getBoolean("statusTap",e)&&s.e(57).then(s.bind(null,"PaPO")).then(function(t){return t.startStatusTap()}),c.c.getBoolean("inputShims",f())&&s.e(11).then(s.bind(null,"3Iwd")).then(function(t){return t.startInputShims(c.c)}),t.next=4,Promise.resolve().then(s.bind(null,"B4Jq"));case 4:n=t.sent,c.c.getBoolean("hardwareBackButton",e)?n.startHardwareBackButton():n.blockHardwareBackButton(),"undefined"!=typeof window&&s.e(55).then(s.bind(null,"nGaW")).then(function(t){return t.startKeyboardAssist(window)}),s.e(10).then(s.bind(null,"Tsnu")).then(function(t){return t.startFocusVisible()});case 6:case"end":return t.stop()}},t)})))}},{key:"render",value:function(){var o,e=Object(c.b)(this);return Object(l.j)(l.c,{class:(o={},t(o,e,!0),t(o,"ion-page",!0),t(o,"force-statusbar-padding",c.c.getBoolean("_forceStatusbarPadding")),o)})}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}(),f=function(){return Object(c.a)(window,"ios")&&Object(c.a)(window,"mobile")},m=function(t){"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};g.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";var v=function(){function o(t){r(this,o),Object(l.o)(this,t),this.collapse=!1}return a(o,[{key:"render",value:function(){var o,e=Object(c.b)(this);return Object(l.j)(l.c,{class:(o={},t(o,e,!0),t(o,"buttons-collapse",this.collapse),o)})}}]),o}();v.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-start:5px;--padding-end:5px;margin-left:2px;margin-right:2px;height:32px;font-size:17px;font-weight:400}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};var k=function(){function e(t){r(this,e),Object(l.o)(this,t),this.ionScrollStart=Object(l.g)(this,"ionScrollStart",7),this.ionScroll=Object(l.g)(this,"ionScroll",7),this.ionScrollEnd=Object(l.g)(this,"ionScrollEnd",7),this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.fullscreen=!1,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}var i;return a(e,[{key:"disconnectedCallback",value:function(){this.onScrollEnd()}},{key:"onAppLoad",value:function(){this.resize()}},{key:"onClick",value:function(t){this.isScrolling&&(t.preventDefault(),t.stopPropagation())}},{key:"shouldForceOverscroll",value:function(){var t=this.forceOverscroll,o=Object(c.b)(this);return void 0===t?"ios"===o&&Object(c.a)("ios"):t}},{key:"resize",value:function(){var t=this;this.fullscreen?Object(l.h)(function(){return t.readDimensions()}):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,Object(l.l)(this))}},{key:"readDimensions",value:function(){var t=x(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,Object(l.l)(this))}},{key:"onScroll",value:function(t){var o=this,e=Date.now(),n=!this.isScrolling;this.lastScroll=e,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,Object(l.h)(function(e){o.queued=!1,o.detail.event=t,y(o.detail,o.scrollEl,e,n),o.ionScroll.emit(o.detail)}))}},{key:"getScrollElement",value:function(){return Promise.resolve(this.scrollEl)}},{key:"scrollToTop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.scrollToPoint(void 0,0,t)}},{key:"scrollToBottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.scrollToPoint(void 0,this.scrollEl.scrollHeight-this.scrollEl.clientHeight,t)}},{key:"scrollByPoint",value:function(t,o,e){return this.scrollToPoint(t+this.scrollEl.scrollLeft,o+this.scrollEl.scrollTop,e)}},{key:"scrollToPoint",value:(i=n(o().mark(function t(e,n){var r,i,a,s,l,c,d,u,p,b,h=arguments;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=h.length>2&&void 0!==h[2]?h[2]:0,i=this.scrollEl,!(r<32)){t.next=4;break}return t.abrupt("return",(null!=n&&(i.scrollTop=n),void(null!=e&&(i.scrollLeft=e))));case 4:return s=0,l=new Promise(function(t){return a=t}),c=i.scrollTop,d=i.scrollLeft,u=null!=n?n-c:0,p=null!=e?e-d:0,b=function t(o){var e=Math.min(1,(o-s)/r)-1,n=Math.pow(e,3)+1;0!==u&&(i.scrollTop=Math.floor(n*u+c)),0!==p&&(i.scrollLeft=Math.floor(n*p+d)),n<1?requestAnimationFrame(t):a()},t.abrupt("return",(requestAnimationFrame(function(t){s=t,b(t)}),l));case 7:case"end":return t.stop()}},t,this)})),function(t,o){return i.apply(this,arguments)})},{key:"onScrollStart",value:function(){var t=this;this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(function(){t.lastScroll<Date.now()-120&&t.onScrollEnd()},100)}},{key:"onScrollEnd",value:function(){clearInterval(this.watchDog),this.watchDog=null,this.isScrolling&&(this.isScrolling=!1,this.ionScrollEnd.emit({isScrolling:!1}))}},{key:"render",value:function(){var o,e=this,n=this.scrollX,r=this.scrollY,i=Object(c.b)(this),a=this.shouldForceOverscroll(),s="ios"===i&&c.c.getBoolean("experimentalTransitionShadow",!0);return this.resize(),Object(l.j)(l.c,{class:Object(d.a)(this.color,(o={},t(o,i,!0),t(o,"content-sizing",Object(d.c)("ion-popover",this.el)),t(o,"overscroll",a),o)),style:{"--offset-top":this.cTop+"px","--offset-bottom":this.cBottom+"px"}},Object(l.j)("div",{id:"background-content",part:"background"}),Object(l.j)("main",{class:{"inner-scroll":!0,"scroll-x":n,"scroll-y":r,overscroll:(n||r)&&a},ref:function(t){return e.scrollEl=t},onScroll:this.scrollEvents?function(t){return e.onScroll(t)}:void 0,part:"scroll"},Object(l.j)("slot",null)),s?Object(l.j)("div",{class:"transition-effect"},Object(l.j)("div",{class:"transition-cover"}),Object(l.j)("div",{class:"transition-shadow"})):null,Object(l.j)("slot",{name:"fixed"}))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}(),x=function(t){return t.closest("ion-tabs")||t.closest("ion-app,ion-page,.ion-page,page-inner")||function(t){return t.parentElement?t.parentElement:t.parentNode&&t.parentNode.host?t.parentNode.host:null}(t)},y=function(t,o,e,n){var r=t.currentX,i=t.currentY,a=o.scrollLeft,s=o.scrollTop,l=e-t.currentTime;if(n&&(t.startTime=e,t.startX=a,t.startY=s,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=a,t.currentY=t.scrollTop=s,t.deltaX=a-t.startX,t.deltaY=s-t.startY,l>0&&l<100){var c=(s-i)/l;t.velocityX=(a-r)/l*.7+.3*t.velocityX,t.velocityY=.7*c+.3*t.velocityY}};k.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{-ms-touch-action:pan-y;touch-action:pan-y;overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{-ms-touch-action:pan-x;touch-action:pan-x;overflow-x:var(--overflow);overscroll-behavior-x:contain}.scroll-x.scroll-y{-ms-touch-action:auto;touch-action:auto}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){contain:none}:host(.content-sizing) .inner-scroll{position:relative}.transition-effect{display:none;position:absolute;left:-100%;width:100%;height:100vh;opacity:0;pointer-events:none}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;right:0;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}::slotted([slot=fixed]){position:absolute}';var w=function(){function o(t){r(this,o),Object(l.o)(this,t),this.translucent=!1}return a(o,[{key:"render",value:function(){var o,e=Object(c.b)(this),n=this.translucent;return Object(l.j)(l.c,{role:"contentinfo",class:(o={},t(o,e,!0),t(o,"footer-"+e,!0),t(o,"footer-translucent",n),t(o,"footer-translucent-"+e,n),o)},"ios"===e&&n&&Object(l.j)("div",{class:"footer-background"}),Object(l.j)("slot",null))}}]),o}();w.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}",md:'ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md::before{left:0;top:-2px;bottom:auto;background-position:left 0 top 0;position:absolute;width:100%;height:2px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==");background-repeat:repeat-x;content:""}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{left:unset;right:unset;right:0}[dir=rtl] .footer-md::before,:host-context([dir=rtl]) .footer-md::before{background-position:right 0 top 0}.footer-md.ion-no-border::before{display:none}'};var A=function(t){var o=document.querySelector(t+".ion-cloned-element");if(null!==o)return o;var e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},j=function(t){if(t){var o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(function(t){var o=t.querySelector("ion-title");return{el:t,background:t.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:o,innerTitleEl:o?o.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(t.querySelectorAll("ion-buttons"))||[]}})||[]}}},O=function(t,o){void 0===o?t.background.style.removeProperty("--opacity"):t.background.style.setProperty("--opacity",o.toString())},E=function(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o?t.el.classList.remove("header-collapse-condense-inactive"):t.el.classList.add("header-collapse-condense-inactive")},S=function(){function e(t){r(this,e),Object(l.o)(this,t),this.collapsibleHeaderInitialized=!1,this.translucent=!1}var i,s,d,p;return a(e,[{key:"componentDidLoad",value:(p=n(o().mark(function t(){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkCollapsibleHeader();case 2:case"end":return t.stop()}},t,this)})),function(){return p.apply(this,arguments)})},{key:"componentDidUpdate",value:(d=n(o().mark(function t(){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkCollapsibleHeader();case 2:case"end":return t.stop()}},t,this)})),function(){return d.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.destroyCollapsibleHeader()}},{key:"checkCollapsibleHeader",value:(s=n(o().mark(function t(){var e,n,r,i;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e="condense"===this.collapse,(n=!(!e||"ios"!==Object(c.b)(this))&&e)||!this.collapsibleHeaderInitialized){t.next=5;break}this.destroyCollapsibleHeader(),t.next=10;break;case 5:if(!n||this.collapsibleHeaderInitialized){t.next=10;break}return r=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),i=r?r.querySelector("ion-content"):null,Object(l.f)(function(){A("ion-title").size="large",A("ion-back-button")}),t.next=10,this.setupCollapsibleHeader(i,r);case 10:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"destroyCollapsibleHeader",value:function(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}},{key:"setupCollapsibleHeader",value:(i=n(o().mark(function t(e,n){var r,i,a,s=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e&&n){t.next=2;break}return t.abrupt("return",void console.error("ion-header requires a content to collapse, make sure there is an ion-content."));case 2:if("undefined"!=typeof IntersectionObserver){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,e.getScrollElement();case 6:if(this.scrollEl=t.sent,r=n.querySelectorAll("ion-header"),this.collapsibleMainHeader=Array.from(r).find(function(t){return"condense"!==t.collapse}),this.collapsibleMainHeader){t.next=10;break}return t.abrupt("return");case 10:i=j(this.collapsibleMainHeader),a=j(this.el),i&&a&&(E(i,!1),i.toolbars.forEach(function(t){O(t,0)}),this.intersectionObserver=new IntersectionObserver(function(t){!function(t,o,e,n){Object(l.f)(function(){var r=n.scrollTop;!function(t,o,e){if(t[0].isIntersecting){var n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;o.toolbars.forEach(function(t){O(t,1===n?void 0:n)})}}(t,o,r);var i=t[0],a=i.intersectionRect,s=a.width*a.height,l=0===s&&0==i.rootBounds.width*i.rootBounds.height,c=Math.abs(a.left-i.boundingClientRect.left),d=Math.abs(a.right-i.boundingClientRect.right);l||s>0&&(c>=5||d>=5)||(i.isIntersecting?(E(o,!1),E(e)):(0===a.x&&0===a.y||0!==a.width&&0!==a.height)&&r>0&&(E(o),E(e,!1),O(o.toolbars[0])))})}(t,i,a,s.scrollEl)},{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(a.toolbars[a.toolbars.length-1].el),this.contentScrollCallback=function(){!function(t,o,e){Object(l.h)(function(){var n=t.scrollTop,r=Object(u.j)(1,1+-n/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&Object(l.f)(function(){!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var n=t.ionTitleEl,r=t.innerTitleEl;n&&"large"===n.size&&(r.style.transition=e?"all 0.2s ease-in-out":"",r.style.transform="scale3d(".concat(o,", ").concat(o,", 1)"))})}(o.toolbars,r)})})}(s.scrollEl,a,e)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),Object(l.f)(function(){void 0!==s.collapsibleMainHeader&&s.collapsibleMainHeader.classList.add("header-collapse-main")}),this.collapsibleHeaderInitialized=!0);case 12:case"end":return t.stop()}},t,this)})),function(t,o){return i.apply(this,arguments)})},{key:"render",value:function(){var o,e=this.translucent,n=Object(c.b)(this),r=this.collapse||"none";return Object(l.j)(l.c,{role:"banner",class:(o={},t(o,n,!0),t(o,"header-"+n,!0),t(o,"header-translucent",this.translucent),t(o,"header-collapse-"+r,!0),t(o,"header-translucent-"+n,this.translucent),o)},"ios"===n&&e&&Object(l.j)("div",{class:"header-background"}),Object(l.j)("slot",null))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}();S.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}",md:'ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}'};var z=function(){function t(o){r(this,t),Object(l.o)(this,o),this.ionNavWillLoad=Object(l.g)(this,"ionNavWillLoad",7),this.ionNavWillChange=Object(l.g)(this,"ionNavWillChange",3),this.ionNavDidChange=Object(l.g)(this,"ionNavDidChange",3),this.animationEnabled=!0,this.mode=Object(c.b)(this),this.animated=!0}var e,i,d,u,g,f,m;return a(t,[{key:"swipeHandlerChanged",value:function(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}},{key:"connectedCallback",value:(m=n(o().mark(function t(){var e=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.e(2).then(s.bind(null,"IYAk"));case 2:this.gesture=t.sent.createSwipeBackGesture(this.el,function(){return!!e.swipeHandler&&e.swipeHandler.canStart()&&e.animationEnabled},function(){return e.swipeHandler&&e.swipeHandler.onStart()},function(t){return e.ani&&e.ani.progressStep(t)},function(t,o,n){if(e.ani){e.animationEnabled=!1,e.ani.onFinish(function(){e.animationEnabled=!0,e.swipeHandler&&e.swipeHandler.onEnd(t)},{oneTimeCallback:!0});var r=t?-.001:.001;t?r+=Object(p.a)([0,0],[.32,.72],[0,1],[1,1],o)[0]:(e.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),r+=Object(p.a)([0,0],[1,0],[.68,.28],[1,1],o)[0]),e.ani.progressEnd(t?1:0,r,n)}}),this.swipeHandlerChanged();case 4:case"end":return t.stop()}},t,this)})),function(){return m.apply(this,arguments)})},{key:"componentWillLoad",value:function(){this.ionNavWillLoad.emit()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"commit",value:(f=n(o().mark(function t(e,n,r){var i,a;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.lock();case 2:return i=t.sent,a=!1,t.prev=4,t.next=7,this.transition(e,n,r);case 7:a=t.sent,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(4),console.error(t.t0);case 13:return t.abrupt("return",(i(),a));case 14:case"end":return t.stop()}},t,this,[[4,10]])})),function(t,o,e){return f.apply(this,arguments)})},{key:"setRouteId",value:(g=n(o().mark(function t(e,n,r,i){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.setRoot(e,n,{duration:"root"===r?0:void 0,direction:"back"===r?"back":"forward",animationBuilder:i});case 2:return t.t0=t.sent,t.t1=this.activeEl,t.abrupt("return",{changed:t.t0,element:t.t1});case 5:case"end":return t.stop()}},t,this)})),function(t,o,e,n){return g.apply(this,arguments)})},{key:"getRouteId",value:(u=n(o().mark(function t(){var e;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.activeEl,t.abrupt("return",e?{id:e.tagName,element:e}:void 0);case 2:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"setRoot",value:(d=n(o().mark(function t(e,n,r){var i,a;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activeComponent!==e){t.next=2;break}return t.abrupt("return",!1);case 2:return i=this.activeEl,t.next=5,Object(b.a)(this.delegate,this.el,e,["ion-page","ion-page-invisible"],n);case 5:return a=t.sent,this.activeComponent=e,this.activeEl=a,t.next=10,this.commit(a,i,r);case 10:return t.next=12,Object(b.b)(this.delegate,i);case 12:return t.abrupt("return",!0);case 13:case"end":return t.stop()}},t,this)})),function(t,o,e){return d.apply(this,arguments)})},{key:"transition",value:(i=n(o().mark(function t(e,n){var r,i,a,s,l,d=this,u=arguments;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:{},n!==e){t.next=3;break}return t.abrupt("return",!1);case 3:return this.ionNavWillChange.emit(),i=this.el,a=this.mode,s=this.animated&&c.c.getBoolean("animated",!0),l=this.animation||r.animationBuilder||c.c.get("navAnimation"),t.next=7,Object(h.j)(Object.assign(Object.assign({mode:a,animated:s,enteringEl:e,leavingEl:n,baseEl:i,progressCallback:r.progressAnimation?function(t){return d.ani=t}:void 0},r),{animationBuilder:l}));case 7:return this.ionNavDidChange.emit(),t.abrupt("return",!0);case 9:case"end":return t.stop()}},t,this)})),function(t,o){return i.apply(this,arguments)})},{key:"lock",value:(e=n(o().mark(function t(){var e,n;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.waitPromise,this.waitPromise=new Promise(function(t){return n=t}),t.t0=void 0!==e,!t.t0){t.next=6;break}return t.next=6,e;case 6:return t.abrupt("return",n);case 7:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"render",value:function(){return Object(l.j)("slot",null)}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{swipeHandler:["swipeHandlerChanged"]}}}]),t}();z.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";var L=function(){function o(t){r(this,o),Object(l.o)(this,t),this.ionStyle=Object(l.g)(this,"ionStyle",7)}return a(o,[{key:"sizeChanged",value:function(){this.emitStyle()}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){var o=this.getSize();this.ionStyle.emit(t({},"title-"+o,!0))}},{key:"getSize",value:function(){return void 0!==this.size?this.size:"default"}},{key:"render",value:function(){var o,e=Object(c.b)(this),n=this.getSize();return Object(l.j)(l.c,{class:Object(d.a)(this.color,(o={},t(o,e,!0),t(o,"title-"+n,!0),o))},Object(l.j)("div",{class:"toolbar-title"},Object(l.j)("slot",null)))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{size:["sizeChanged"]}}}]),o}();L.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{left:0;top:0;padding-left:90px;padding-right:90px;padding-top:0;padding-bottom:0;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:17px;font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-small){padding-left:9px;padding-right:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:13px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-small){padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}:host(.title-large){padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;-webkit-transform-origin:left center;transform-origin:left center;bottom:0;-ms-flex-align:end;align-items:flex-end;min-width:100%;padding-bottom:6px;font-size:34px;font-weight:700;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-large){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host-context([dir=rtl]):host(.title-large),:host-context([dir=rtl]).title-large{-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:0.0125em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host(.title-small){width:100%;height:100%;font-size:15px;font-weight:normal}"};var C=function(){function o(t){r(this,o),Object(l.o)(this,t),this.childrenStyles=new Map}return a(o,[{key:"componentWillLoad",value:function(){var t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(function(t){return"start"===t.slot});o&&o.classList.add("buttons-first-slot");var e=t.reverse(),n=e.find(function(t){return"end"===t.slot})||e.find(function(t){return"primary"===t.slot})||e.find(function(t){return"secondary"===t.slot});n&&n.classList.add("buttons-last-slot")}},{key:"childrenStyle",value:function(t){t.stopPropagation();var o=t.target.tagName,e=t.detail,n={},r=this.childrenStyles.get(o)||{},i=!1;Object.keys(e).forEach(function(t){var o="toolbar-"+t,a=e[t];a!==r[o]&&(i=!0),a&&(n[o]=!0)}),i&&(this.childrenStyles.set(o,n),Object(l.l)(this))}},{key:"render",value:function(){var o,e=Object(c.b)(this),n={};return this.childrenStyles.forEach(function(t){Object.assign(n,t)}),Object(l.j)(l.c,{class:Object.assign(Object.assign({},n),Object(d.a)(this.color,(o={},t(o,e,!0),t(o,"in-toolbar",Object(d.c)("ion-toolbar",this.el)),o)))},Object(l.j)("div",{class:"toolbar-background"}),Object(l.j)("div",{class:"toolbar-container"},Object(l.j)("slot",{name:"start"}),Object(l.j)("slot",{name:"secondary"}),Object(l.j)("div",{class:"toolbar-content"},Object(l.j)("slot",null)),Object(l.j)("slot",{name:"primary"}),Object(l.j)("slot",{name:"end"})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),o}();C.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:var(--opacity);z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:var(--opacity);z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(ion-segment){min-height:var(--min-height)}::slotted(.buttons-first-slot){margin-left:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-first-slot){margin-left:unset;-webkit-margin-start:4px;margin-inline-start:4px}}::slotted(.buttons-last-slot){margin-right:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-last-slot){margin-right:unset;-webkit-margin-end:4px;margin-inline-end:4px}}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}}}])}(); \ No newline at end of file diff --git a/dist/15-es5.77187abb430405c7a85a.js b/dist/15-es5.77187abb430405c7a85a.js index 01033c49d4..434b975f57 100644 --- a/dist/15-es5.77187abb430405c7a85a.js +++ b/dist/15-es5.77187abb430405c7a85a.js @@ -1 +1 @@ -!function(){function t(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function i(t,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&i(t.prototype,n),o&&i(t,o),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{CfoV:function(i,o,r){"use strict";r.r(o),r.d(o,"ion_avatar",function(){return s}),r.d(o,"ion_badge",function(){return p}),r.d(o,"ion_thumbnail",function(){return c});var a=r("wEJo"),e=r("E/Mt"),d=r("74mu"),s=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){return Object(a.j)(a.c,{class:Object(e.b)(this)},Object(a.j)("slot",null))}}]),i}();s.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};var p=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){var t,i,n,o=Object(e.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,(t={},i=o,n=!0,i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t))},Object(a.j)("slot",null))}}]),i}();p.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};var c=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){return Object(a.j)(a.c,{class:Object(e.b)(this)},Object(a.j)("slot",null))}}]),i}();c.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"}}])}(); \ No newline at end of file +!function(){function t(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function i(t,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{CfoV:function(i,o,r){"use strict";r.r(o),r.d(o,"ion_avatar",function(){return s}),r.d(o,"ion_badge",function(){return p}),r.d(o,"ion_thumbnail",function(){return c});var a=r("wEJo"),e=r("E/Mt"),d=r("74mu"),s=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){return Object(a.j)(a.c,{class:Object(e.b)(this)},Object(a.j)("slot",null))}}]),i}();s.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};var p=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){var t,i,n,o=Object(e.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,(t={},i=o,n=!0,i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t))},Object(a.j)("slot",null))}}]),i}();p.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};var c=function(){function i(n){t(this,i),Object(a.o)(this,n)}return n(i,[{key:"render",value:function(){return Object(a.j)(a.c,{class:Object(e.b)(this)},Object(a.j)("slot",null))}}]),i}();c.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"}}])}(); \ No newline at end of file diff --git a/dist/16-es5.cd45371a461ed9725af6.js b/dist/16-es5.cd45371a461ed9725af6.js index 0433449eab..e07e8fec67 100644 --- a/dist/16-es5.cd45371a461ed9725af6.js +++ b/dist/16-es5.cd45371a461ed9725af6.js @@ -1 +1 @@ -!function(){function t(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function n(t,n,i,o,r,e,a){try{var d=t[e](a),s=d.value}catch(c){return void i(c)}d.done?n(s):Promise.resolve(s).then(o,r)}function i(t,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{Nt02:function(o,r,e){"use strict";e.r(r),e.d(r,"ion_back_button",function(){return c});var a=e("wEJo"),d=e("E/Mt"),s=e("74mu"),c=function(){function o(t){var i=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,o),Object(a.o)(this,t),this.disabled=!1,this.type="button",this.onClick=function(){var t,o=(t=regeneratorRuntime.mark(function t(n){var o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=i.el.closest("ion-nav"),n.preventDefault(),t.t0=o,!t.t0){t.next=7;break}return t.next=6,o.canGoBack();case 6:t.t0=t.sent;case 7:if(!t.t0){t.next=11;break}t.t1=o.pop({animationBuilder:i.routerAnimation,skipIfBusy:!0}),t.next=12;break;case 11:t.t1=Object(s.d)(i.defaultHref,n,"back",i.routerAnimation);case 12:return t.abrupt("return",t.t1);case 13:case"end":return t.stop()}},t)}),function(){var i=this,o=arguments;return new Promise(function(r,e){var a=t.apply(i,o);function d(t){n(a,r,e,d,s,"next",t)}function s(t){n(a,r,e,d,s,"throw",t)}d(void 0)})});return function(t){return o.apply(this,arguments)}}()}var r,e,c;return r=o,(e=[{key:"componentWillLoad",value:function(){void 0===this.defaultHref&&(this.defaultHref=d.c.get("backButtonDefaultHref"))}},{key:"backButtonIcon",get:function(){var t=this.icon;return null!=t?t:"ios"===Object(d.b)(this)?d.c.get("backButtonIcon","chevron-back"):d.c.get("backButtonIcon","arrow-back-sharp")}},{key:"backButtonText",get:function(){var t="ios"===Object(d.b)(this)?"Back":null;return null!=this.text?this.text:d.c.get("backButtonText",t)}},{key:"hasIconOnly",get:function(){return this.backButtonIcon&&!this.backButtonText}},{key:"rippleType",get:function(){return this.hasIconOnly?"unbounded":"bounded"}},{key:"render",value:function(){var n,i=this.color,o=this.defaultHref,r=this.disabled,e=this.type,c=this.hasIconOnly,g=this.backButtonIcon,l=this.backButtonText,p=void 0!==o,u=Object(d.b)(this);return Object(a.j)(a.c,{onClick:this.onClick,class:Object(s.a)(i,(n={},t(n,u,!0),t(n,"button",!0),t(n,"back-button-disabled",r),t(n,"back-button-has-icon-only",c),t(n,"in-toolbar",Object(s.c)("ion-toolbar",this.el)),t(n,"in-toolbar-color",Object(s.c)("ion-toolbar[color]",this.el)),t(n,"ion-activatable",!0),t(n,"ion-focusable",!0),t(n,"show-back-button",p),n))},Object(a.j)("button",{type:e,disabled:r,class:"button-native",part:"native","aria-label":l||"back"},Object(a.j)("span",{class:"button-inner"},g&&Object(a.j)("ion-icon",{part:"icon",icon:g,"aria-hidden":"true",lazy:!1}),l&&Object(a.j)("span",{part:"text","aria-hidden":"true",class:"button-text"},l)),"md"===u&&Object(a.j)("ion-ripple-effect",{type:this.rippleType})))}},{key:"el",get:function(){return Object(a.k)(this)}}])&&i(r.prototype,e),c&&i(r,c),o}();c.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-text{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}}}])}(); \ No newline at end of file +!function(){function t(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{s({},"")}catch(z){s=function(t,n,r){return t[n]=r}}function d(t,n,r,e){var o=n&&n.prototype instanceof p?n:p,i=Object.create(o.prototype),a=new O(e||[]);return i._invoke=function(t,n,r){var e="suspendedStart";return function(o,i){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=k(a,r);if(c){if(c===u)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===e)throw e="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e="executing";var s=l(t,n,r);if("normal"===s.type){if(e=r.done?"completed":"suspendedYield",s.arg===u)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(e="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function l(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(z){return{type:"throw",arg:z}}}t.wrap=d;var u={};function p(){}function g(){}function h(){}var f={};s(f,i,function(){return this});var v=Object.getPrototypeOf,b=v&&v(v(L([])));b&&b!==r&&e.call(b,i)&&(f=b);var m=h.prototype=p.prototype=Object.create(f);function y(t){["next","throw","return"].forEach(function(n){s(t,n,function(t){return this._invoke(n,t)})})}function w(t,n){function r(o,i,a,c){var s=l(t[o],t,i);if("throw"!==s.type){var d=s.arg,u=d.value;return u&&"object"==typeof u&&e.call(u,"__await")?n.resolve(u.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):n.resolve(u).then(function(t){d.value=t,a(d)},function(t){return r("throw",t,a,c)})}c(s.arg)}var o;this._invoke=function(t,e){function i(){return new n(function(n,o){r(t,e,n,o)})}return o=o?o.then(i,i):i()}}function k(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,k(t,n),"throw"===n.method))return u;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var e=l(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,u;var o=e.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,u):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,u)}function x(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function j(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function L(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return g.prototype=h,s(m,"constructor",h),s(h,"constructor",g),g.displayName=s(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,s(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(w.prototype),s(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(n,r,e,o,i){void 0===i&&(i=Promise);var a=new w(d(n,r,e,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},y(m),s(m,c,"Generator"),s(m,i,function(){return this}),s(m,"toString",function(){return"[object Generator]"}),t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},t.values=L,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,e){return a.type="throw",a.arg=t,n.next=r,e&&(n.method="next",n.arg=void 0),!!e}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),s=e.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),u},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),u}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var o=e.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function r(t,n,r,e,o,i,a){try{var c=t[i](a),s=c.value}catch(d){return void r(d)}c.done?n(s):Promise.resolve(s).then(e,o)}function e(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{Nt02:function(o,i,a){"use strict";a.r(i),a.d(i,"ion_back_button",function(){return l});var c=a("wEJo"),s=a("E/Mt"),d=a("74mu"),l=function(){function o(t){var e=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,o),Object(c.o)(this,t),this.disabled=!1,this.type="button",this.onClick=function(){var t,o=(t=n().mark(function t(r){var o;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.el.closest("ion-nav"),r.preventDefault(),t.t0=o,!t.t0){t.next=7;break}return t.next=6,o.canGoBack();case 6:t.t0=t.sent;case 7:if(!t.t0){t.next=11;break}t.t1=o.pop({animationBuilder:e.routerAnimation,skipIfBusy:!0}),t.next=12;break;case 11:t.t1=Object(d.d)(e.defaultHref,r,"back",e.routerAnimation);case 12:return t.abrupt("return",t.t1);case 13:case"end":return t.stop()}},t)}),function(){var n=this,e=arguments;return new Promise(function(o,i){var a=t.apply(n,e);function c(t){r(a,o,i,c,s,"next",t)}function s(t){r(a,o,i,c,s,"throw",t)}c(void 0)})});return function(t){return o.apply(this,arguments)}}()}var i,a,l;return i=o,(a=[{key:"componentWillLoad",value:function(){void 0===this.defaultHref&&(this.defaultHref=s.c.get("backButtonDefaultHref"))}},{key:"backButtonIcon",get:function(){var t=this.icon;return null!=t?t:"ios"===Object(s.b)(this)?s.c.get("backButtonIcon","chevron-back"):s.c.get("backButtonIcon","arrow-back-sharp")}},{key:"backButtonText",get:function(){var t="ios"===Object(s.b)(this)?"Back":null;return null!=this.text?this.text:s.c.get("backButtonText",t)}},{key:"hasIconOnly",get:function(){return this.backButtonIcon&&!this.backButtonText}},{key:"rippleType",get:function(){return this.hasIconOnly?"unbounded":"bounded"}},{key:"render",value:function(){var n,r=this.color,e=this.defaultHref,o=this.disabled,i=this.type,a=this.hasIconOnly,l=this.backButtonIcon,u=this.backButtonText,p=void 0!==e,g=Object(s.b)(this);return Object(c.j)(c.c,{onClick:this.onClick,class:Object(d.a)(r,(n={},t(n,g,!0),t(n,"button",!0),t(n,"back-button-disabled",o),t(n,"back-button-has-icon-only",a),t(n,"in-toolbar",Object(d.c)("ion-toolbar",this.el)),t(n,"in-toolbar-color",Object(d.c)("ion-toolbar[color]",this.el)),t(n,"ion-activatable",!0),t(n,"ion-focusable",!0),t(n,"show-back-button",p),n))},Object(c.j)("button",{type:i,disabled:o,class:"button-native",part:"native","aria-label":u||"back"},Object(c.j)("span",{class:"button-inner"},l&&Object(c.j)("ion-icon",{part:"icon",icon:l,"aria-hidden":"true",lazy:!1}),u&&Object(c.j)("span",{part:"text","aria-hidden":"true",class:"button-text"},u)),"md"===g&&Object(c.j)("ion-ripple-effect",{type:this.rippleType})))}},{key:"el",get:function(){return Object(c.k)(this)}}])&&e(i.prototype,a),l&&e(i,l),Object.defineProperty(i,"prototype",{writable:!1}),o}();l.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-text{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}}}])}(); \ No newline at end of file diff --git a/dist/17-es5.df6176a66215379e4b1e.js b/dist/17-es5.df6176a66215379e4b1e.js index f9ff9d5113..903e4a1995 100644 --- a/dist/17-es5.df6176a66215379e4b1e.js +++ b/dist/17-es5.df6176a66215379e4b1e.js @@ -1 +1 @@ -!function(){function t(t,o,a){return o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function o(t,o){for(var a=0;a<o.length;a++){var n=o[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{Q2Bp:function(a,n,e){"use strict";e.r(n),e.d(n,"ion_backdrop",function(){return s});var r=e("wEJo"),i=e("E/Mt"),c=e("y08P"),s=function(){function a(t){!function(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,a),Object(r.o)(this,t),this.ionBackdropTap=Object(r.g)(this,"ionBackdropTap",7),this.blocker=c.a.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}var n,e,s;return n=a,(e=[{key:"connectedCallback",value:function(){this.stopPropagation&&this.blocker.block()}},{key:"disconnectedCallback",value:function(){this.blocker.unblock()}},{key:"onMouseDown",value:function(t){this.emitTap(t)}},{key:"emitTap",value:function(t){this.stopPropagation&&(t.preventDefault(),t.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}},{key:"render",value:function(){var o,a=Object(i.b)(this);return Object(r.j)(r.c,{tabindex:"-1","aria-hidden":"true",class:(o={},t(o,a,!0),t(o,"backdrop-hide",!this.visible),t(o,"backdrop-no-tappable",!this.tappable),o)})}}])&&o(n.prototype,e),s&&o(n,s),a}();s.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}])}(); \ No newline at end of file +!function(){function t(t,o,a){return o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function o(t,o){for(var a=0;a<o.length;a++){var n=o[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{Q2Bp:function(a,n,e){"use strict";e.r(n),e.d(n,"ion_backdrop",function(){return s});var r=e("wEJo"),i=e("E/Mt"),c=e("y08P"),s=function(){function a(t){!function(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,a),Object(r.o)(this,t),this.ionBackdropTap=Object(r.g)(this,"ionBackdropTap",7),this.blocker=c.a.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}var n,e,s;return n=a,(e=[{key:"connectedCallback",value:function(){this.stopPropagation&&this.blocker.block()}},{key:"disconnectedCallback",value:function(){this.blocker.unblock()}},{key:"onMouseDown",value:function(t){this.emitTap(t)}},{key:"emitTap",value:function(t){this.stopPropagation&&(t.preventDefault(),t.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}},{key:"render",value:function(){var o,a=Object(i.b)(this);return Object(r.j)(r.c,{tabindex:"-1","aria-hidden":"true",class:(o={},t(o,a,!0),t(o,"backdrop-hide",!this.visible),t(o,"backdrop-no-tappable",!this.tappable),o)})}}])&&o(n.prototype,e),s&&o(n,s),Object.defineProperty(n,"prototype",{writable:!1}),a}();s.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}])}(); \ No newline at end of file diff --git a/dist/18-es5.1d8ae3036065fbac91df.js b/dist/18-es5.1d8ae3036065fbac91df.js index d5efb9258c..40f4337ee7 100644 --- a/dist/18-es5.1d8ae3036065fbac91df.js +++ b/dist/18-es5.1d8ae3036065fbac91df.js @@ -1 +1 @@ -!function(){function o(o,t,n){return t in o?Object.defineProperty(o,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[t]=n,o}function t(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function n(o,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,i.key,i)}}function i(o,t,i){return t&&n(o.prototype,t),i&&n(o,i),o}(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"0Pbj":function(n,r,e){"use strict";e.r(r),e.d(r,"ion_button",function(){return v}),e.d(r,"ion_icon",function(){return w});var a,s=e("wEJo"),c=e("E/Mt"),l=e("1vRN"),d=e("74mu"),b=function(o,t,n,i,r){return n="ios"===(n&&p(n))?"ios":"md",i&&"ios"===n?o=p(i):r&&"md"===n?o=p(r):(o||!t||h(t)||(o=t),g(o)&&(o=p(o))),g(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null},u=function(o){return g(o)&&(o=o.trim(),h(o))?o:null},h=function(o){return o.length>0&&/(\/|\.)/.test(o)},g=function(o){return"string"==typeof o},p=function(o){return o.toLowerCase()},v=function(){function n(o){var i=this;t(this,n),Object(s.o)(this,o),this.ionFocus=Object(s.g)(this,"ionFocus",7),this.ionBlur=Object(s.g)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.inheritedAttributes={},this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=function(o){if("button"===i.type)Object(d.d)(i.href,o,i.routerDirection,i.routerAnimation);else if(Object(l.k)(i.el)){var t=i.el.closest("form");if(t){o.preventDefault();var n=document.createElement("button");n.type=i.type,n.style.display="none",t.appendChild(n),n.click(),n.remove()}}},this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}return i(n,[{key:"componentWillLoad",value:function(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=Object(l.i)(this.el,["aria-label"])}},{key:"hasIconOnly",get:function(){return!!this.el.querySelector('[slot="icon-only"]')}},{key:"rippleType",get:function(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}},{key:"render",value:function(){var t,n=Object(c.b)(this),i=this.buttonType,r=this.type,e=this.disabled,a=this.rel,l=this.target,b=this.size,u=this.href,h=this.color,g=this.expand,p=this.hasIconOnly,v=this.shape,f=this.strong,m=this.inheritedAttributes,k=void 0===b&&this.inItem?"small":b,w=void 0===u?"button":"a",y="button"===w?{type:r}:{download:this.download,href:u,rel:a,target:l},x=this.fill;return void 0===x&&(x=this.inToolbar||this.inListHeader?"clear":"solid"),Object(s.j)(s.c,{onClick:this.handleClick,"aria-disabled":e?"true":null,class:Object(d.a)(h,(t={},o(t,n,!0),o(t,i,!0),o(t,"".concat(i,"-").concat(g),void 0!==g),o(t,"".concat(i,"-").concat(k),void 0!==k),o(t,"".concat(i,"-").concat(v),void 0!==v),o(t,"".concat(i,"-").concat(x),!0),o(t,i+"-strong",f),o(t,"in-toolbar",Object(d.c)("ion-toolbar",this.el)),o(t,"in-toolbar-color",Object(d.c)("ion-toolbar[color]",this.el)),o(t,"button-has-icon-only",p),o(t,"button-disabled",e),o(t,"ion-activatable",!0),o(t,"ion-focusable",!0),t))},Object(s.j)(w,Object.assign({},y,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},m),Object(s.j)("span",{class:"button-inner"},Object(s.j)("slot",{name:"icon-only"}),Object(s.j)("slot",{name:"start"}),Object(s.j)("slot",null),Object(s.j)("slot",{name:"end"})),"md"===n&&Object(s.j)("ion-ripple-effect",{type:this.rippleType})))}},{key:"el",get:function(){return Object(s.k)(this)}}]),n}();v.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast);opacity:0.24}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base);opacity:0.12}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast);opacity:0.08}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base);opacity:0.04}}'};var f=function o(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var n=0;n<t.attributes.length;n++){var i=t.attributes[n].value;if(g(i)&&0===i.toLowerCase().indexOf("on"))return!1}for(var r=0;r<t.childNodes.length;r++)if(!o(t.childNodes[r]))return!1}return!0},m=new Map,k=new Map,w=function(){function n(o){t(this,n),Object(s.o)(this,o),this.iconName=null,this.isVisible=!1,this.mode=y(),this.lazy=!1,this.sanitize=!0}return i(n,[{key:"connectedCallback",value:function(){var o=this;this.waitUntilVisible(this.el,"50px",function(){o.isVisible=!0,o.loadIcon()})}},{key:"disconnectedCallback",value:function(){this.io&&(this.io.disconnect(),this.io=void 0)}},{key:"waitUntilVisible",value:function(o,t,n){var i=this;if(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver){var r=this.io=new window.IntersectionObserver(function(o){o[0].isIntersecting&&(r.disconnect(),i.io=void 0,n())},{rootMargin:t});r.observe(o)}else n()}},{key:"loadIcon",value:function(){var o=this;if(this.isVisible){var t=function(o){var t,n=u(o.src);if(n)return n;if(n=b(o.name,o.icon,o.mode,o.ios,o.md))return t=n,function(){if("undefined"==typeof window)return new Map;if(!a){var o=window;o.Ionicons=o.Ionicons||{},a=o.Ionicons.map=o.Ionicons.map||new Map}return a}().get(t)||Object(s.m)("svg/".concat(t,".svg"));if(o.icon){if(n=u(o.icon))return n;if(n=u(o.icon[o.mode]))return n}return null}(this);t&&(m.has(t)?this.svgContent=m.get(t):function(o,t){var n=k.get(o);if(!n){if("undefined"==typeof fetch||"undefined"==typeof document)return m.set(o,""),Promise.resolve();n=fetch(o).then(function(n){if(n.ok)return n.text().then(function(n){n&&!1!==t&&(n=function(o){var t=document.createElement("div");t.innerHTML=o;for(var n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);var i=t.firstElementChild;if(i&&"svg"===i.nodeName.toLowerCase()){var r=i.getAttribute("class")||"";if(i.setAttribute("class",(r+" s-ion-icon").trim()),f(i))return t.innerHTML}return""}(n)),m.set(o,n||"")});m.set(o,"")}),k.set(o,n)}return n}(t,this.sanitize).then(function(){return o.svgContent=m.get(t)}))}var n=this.iconName=b(this.name,this.icon,this.mode,this.ios,this.md);this.ariaLabel||"true"===this.ariaHidden||n&&(this.ariaLabel=n.replace(/\-/g," "))}},{key:"render",value:function(){var t,n=this.iconName,i=this.mode||"md",r=this.flipRtl||n&&(n.indexOf("arrow")>-1||n.indexOf("chevron")>-1)&&!1!==this.flipRtl;return Object(s.j)(s.c,{role:"img",class:Object.assign(Object.assign(o({},i,!0),x(this.color)),(t={},o(t,"icon-"+this.size,!!this.size),o(t,"flip-rtl",!!r&&"rtl"===this.el.ownerDocument.dir),t))},this.svgContent?Object(s.j)("div",{class:"icon-inner",innerHTML:this.svgContent}):Object(s.j)("div",{class:"icon-inner"}))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"assetsDirs",get:function(){return["svg"]}},{key:"watchers",get:function(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}}]),n}(),y=function(){return"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md"},x=function(t){return t?o({"ion-color":!0},"ion-color-"+t,!0):null};w.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}])}(); \ No newline at end of file +!function(){function o(o,t,n){return t in o?Object.defineProperty(o,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[t]=n,o}function t(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function n(o,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,i.key,i)}}function i(o,t,i){return t&&n(o.prototype,t),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"0Pbj":function(n,r,e){"use strict";e.r(r),e.d(r,"ion_button",function(){return v}),e.d(r,"ion_icon",function(){return w});var a,s=e("wEJo"),c=e("E/Mt"),l=e("1vRN"),d=e("74mu"),b=function(o,t,n,i,r){return n="ios"===(n&&p(n))?"ios":"md",i&&"ios"===n?o=p(i):r&&"md"===n?o=p(r):(o||!t||h(t)||(o=t),g(o)&&(o=p(o))),g(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null},u=function(o){return g(o)&&(o=o.trim(),h(o))?o:null},h=function(o){return o.length>0&&/(\/|\.)/.test(o)},g=function(o){return"string"==typeof o},p=function(o){return o.toLowerCase()},v=function(){function n(o){var i=this;t(this,n),Object(s.o)(this,o),this.ionFocus=Object(s.g)(this,"ionFocus",7),this.ionBlur=Object(s.g)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.inheritedAttributes={},this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=function(o){if("button"===i.type)Object(d.d)(i.href,o,i.routerDirection,i.routerAnimation);else if(Object(l.k)(i.el)){var t=i.el.closest("form");if(t){o.preventDefault();var n=document.createElement("button");n.type=i.type,n.style.display="none",t.appendChild(n),n.click(),n.remove()}}},this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}return i(n,[{key:"componentWillLoad",value:function(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=Object(l.i)(this.el,["aria-label"])}},{key:"hasIconOnly",get:function(){return!!this.el.querySelector('[slot="icon-only"]')}},{key:"rippleType",get:function(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}},{key:"render",value:function(){var t,n=Object(c.b)(this),i=this.buttonType,r=this.type,e=this.disabled,a=this.rel,l=this.target,b=this.size,u=this.href,h=this.color,g=this.expand,p=this.hasIconOnly,v=this.shape,f=this.strong,m=this.inheritedAttributes,k=void 0===b&&this.inItem?"small":b,w=void 0===u?"button":"a",y="button"===w?{type:r}:{download:this.download,href:u,rel:a,target:l},x=this.fill;return void 0===x&&(x=this.inToolbar||this.inListHeader?"clear":"solid"),Object(s.j)(s.c,{onClick:this.handleClick,"aria-disabled":e?"true":null,class:Object(d.a)(h,(t={},o(t,n,!0),o(t,i,!0),o(t,"".concat(i,"-").concat(g),void 0!==g),o(t,"".concat(i,"-").concat(k),void 0!==k),o(t,"".concat(i,"-").concat(v),void 0!==v),o(t,"".concat(i,"-").concat(x),!0),o(t,i+"-strong",f),o(t,"in-toolbar",Object(d.c)("ion-toolbar",this.el)),o(t,"in-toolbar-color",Object(d.c)("ion-toolbar[color]",this.el)),o(t,"button-has-icon-only",p),o(t,"button-disabled",e),o(t,"ion-activatable",!0),o(t,"ion-focusable",!0),t))},Object(s.j)(w,Object.assign({},y,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},m),Object(s.j)("span",{class:"button-inner"},Object(s.j)("slot",{name:"icon-only"}),Object(s.j)("slot",{name:"start"}),Object(s.j)("slot",null),Object(s.j)("slot",{name:"end"})),"md"===n&&Object(s.j)("ion-ripple-effect",{type:this.rippleType})))}},{key:"el",get:function(){return Object(s.k)(this)}}]),n}();v.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast);opacity:0.24}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base);opacity:0.12}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast);opacity:0.08}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base);opacity:0.04}}'};var f=function o(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var n=0;n<t.attributes.length;n++){var i=t.attributes[n].value;if(g(i)&&0===i.toLowerCase().indexOf("on"))return!1}for(var r=0;r<t.childNodes.length;r++)if(!o(t.childNodes[r]))return!1}return!0},m=new Map,k=new Map,w=function(){function n(o){t(this,n),Object(s.o)(this,o),this.iconName=null,this.isVisible=!1,this.mode=y(),this.lazy=!1,this.sanitize=!0}return i(n,[{key:"connectedCallback",value:function(){var o=this;this.waitUntilVisible(this.el,"50px",function(){o.isVisible=!0,o.loadIcon()})}},{key:"disconnectedCallback",value:function(){this.io&&(this.io.disconnect(),this.io=void 0)}},{key:"waitUntilVisible",value:function(o,t,n){var i=this;if(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver){var r=this.io=new window.IntersectionObserver(function(o){o[0].isIntersecting&&(r.disconnect(),i.io=void 0,n())},{rootMargin:t});r.observe(o)}else n()}},{key:"loadIcon",value:function(){var o=this;if(this.isVisible){var t=function(o){var t,n=u(o.src);if(n)return n;if(n=b(o.name,o.icon,o.mode,o.ios,o.md))return t=n,function(){if("undefined"==typeof window)return new Map;if(!a){var o=window;o.Ionicons=o.Ionicons||{},a=o.Ionicons.map=o.Ionicons.map||new Map}return a}().get(t)||Object(s.m)("svg/".concat(t,".svg"));if(o.icon){if(n=u(o.icon))return n;if(n=u(o.icon[o.mode]))return n}return null}(this);t&&(m.has(t)?this.svgContent=m.get(t):function(o,t){var n=k.get(o);if(!n){if("undefined"==typeof fetch||"undefined"==typeof document)return m.set(o,""),Promise.resolve();n=fetch(o).then(function(n){if(n.ok)return n.text().then(function(n){n&&!1!==t&&(n=function(o){var t=document.createElement("div");t.innerHTML=o;for(var n=t.childNodes.length-1;n>=0;n--)"svg"!==t.childNodes[n].nodeName.toLowerCase()&&t.removeChild(t.childNodes[n]);var i=t.firstElementChild;if(i&&"svg"===i.nodeName.toLowerCase()){var r=i.getAttribute("class")||"";if(i.setAttribute("class",(r+" s-ion-icon").trim()),f(i))return t.innerHTML}return""}(n)),m.set(o,n||"")});m.set(o,"")}),k.set(o,n)}return n}(t,this.sanitize).then(function(){return o.svgContent=m.get(t)}))}var n=this.iconName=b(this.name,this.icon,this.mode,this.ios,this.md);this.ariaLabel||"true"===this.ariaHidden||n&&(this.ariaLabel=n.replace(/\-/g," "))}},{key:"render",value:function(){var t,n=this.iconName,i=this.mode||"md",r=this.flipRtl||n&&(n.indexOf("arrow")>-1||n.indexOf("chevron")>-1)&&!1!==this.flipRtl;return Object(s.j)(s.c,{role:"img",class:Object.assign(Object.assign(o({},i,!0),x(this.color)),(t={},o(t,"icon-"+this.size,!!this.size),o(t,"flip-rtl",!!r&&"rtl"===this.el.ownerDocument.dir),t))},this.svgContent?Object(s.j)("div",{class:"icon-inner",innerHTML:this.svgContent}):Object(s.j)("div",{class:"icon-inner"}))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"assetsDirs",get:function(){return["svg"]}},{key:"watchers",get:function(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}}]),n}(),y=function(){return"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md"},x=function(t){return t?o({"ion-color":!0},"ion-color-"+t,!0):null};w.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}])}(); \ No newline at end of file diff --git a/dist/19-es5.e1d04b6af34048af351d.js b/dist/19-es5.e1d04b6af34048af351d.js index 196ba1ae99..4130647a66 100644 --- a/dist/19-es5.e1d04b6af34048af351d.js +++ b/dist/19-es5.e1d04b6af34048af351d.js @@ -1 +1 @@ -!function(){function t(t,i,r){return i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r,t}function i(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function r(t,i){for(var r=0;r<i.length;r++){var n=i[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,i,n){return i&&r(t.prototype,i),n&&r(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{ydQj:function(r,o,e){"use strict";e.r(o),e.d(o,"ion_card",function(){return c}),e.d(o,"ion_card_content",function(){return l}),e.d(o,"ion_card_header",function(){return p}),e.d(o,"ion_card_subtitle",function(){return g}),e.d(o,"ion_card_title",function(){return b});var a=e("wEJo"),s=e("E/Mt"),d=e("74mu"),c=function(){function r(t){i(this,r),Object(a.o)(this,t),this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}return n(r,[{key:"isClickable",value:function(){return void 0!==this.href||this.button}},{key:"renderCard",value:function(t){var i=this.isClickable();if(!i)return[Object(a.j)("slot",null)];var r=this.href,n=this.routerAnimation,o=this.routerDirection,e=i?void 0===r?"button":"a":"div",s="button"===e?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return Object(a.j)(e,Object.assign({},s,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return Object(d.d)(r,t,o,n)}}),Object(a.j)("slot",null),i&&"md"===t&&Object(a.j)("ion-ripple-effect",null))}},{key:"render",value:function(){var i,r=Object(s.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,(i={},t(i,r,!0),t(i,"card-disabled",this.disabled),t(i,"ion-activatable",this.isClickable()),i))},this.renderCard(r))}}]),r}();c.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}"};var l=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i,r=Object(s.b)(this);return Object(a.j)(a.c,{class:(i={},t(i,r,!0),t(i,"card-content-"+r,!0),i)})}}]),r}();l.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};var p=function(){function r(t){i(this,r),Object(a.o)(this,t),this.translucent=!1}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,t({"card-header-translucent":this.translucent,"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();p.style={ios:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};var g=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{role:"heading","aria-level":"3",class:Object(d.a)(this.color,t({"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();g.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"};var b=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{role:"heading","aria-level":"2",class:Object(d.a)(this.color,t({"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();b.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}"}}}])}(); \ No newline at end of file +!function(){function t(t,i,r){return i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r,t}function i(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function r(t,i){for(var r=0;r<i.length;r++){var n=i[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,i,n){return i&&r(t.prototype,i),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{ydQj:function(r,o,e){"use strict";e.r(o),e.d(o,"ion_card",function(){return c}),e.d(o,"ion_card_content",function(){return l}),e.d(o,"ion_card_header",function(){return p}),e.d(o,"ion_card_subtitle",function(){return g}),e.d(o,"ion_card_title",function(){return b});var a=e("wEJo"),s=e("E/Mt"),d=e("74mu"),c=function(){function r(t){i(this,r),Object(a.o)(this,t),this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}return n(r,[{key:"isClickable",value:function(){return void 0!==this.href||this.button}},{key:"renderCard",value:function(t){var i=this.isClickable();if(!i)return[Object(a.j)("slot",null)];var r=this.href,n=this.routerAnimation,o=this.routerDirection,e=i?void 0===r?"button":"a":"div",s="button"===e?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return Object(a.j)(e,Object.assign({},s,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return Object(d.d)(r,t,o,n)}}),Object(a.j)("slot",null),i&&"md"===t&&Object(a.j)("ion-ripple-effect",null))}},{key:"render",value:function(){var i,r=Object(s.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,(i={},t(i,r,!0),t(i,"card-disabled",this.disabled),t(i,"ion-activatable",this.isClickable()),i))},this.renderCard(r))}}]),r}();c.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}"};var l=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i,r=Object(s.b)(this);return Object(a.j)(a.c,{class:(i={},t(i,r,!0),t(i,"card-content-"+r,!0),i)})}}]),r}();l.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};var p=function(){function r(t){i(this,r),Object(a.o)(this,t),this.translucent=!1}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{class:Object(d.a)(this.color,t({"card-header-translucent":this.translucent,"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();p.style={ios:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};var g=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{role:"heading","aria-level":"3",class:Object(d.a)(this.color,t({"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();g.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"};var b=function(){function r(t){i(this,r),Object(a.o)(this,t)}return n(r,[{key:"render",value:function(){var i=Object(s.b)(this);return Object(a.j)(a.c,{role:"heading","aria-level":"2",class:Object(d.a)(this.color,t({"ion-inherit-color":!0},i,!0))},Object(a.j)("slot",null))}}]),r}();b.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}"}}}])}(); \ No newline at end of file diff --git a/dist/20-es5.b6167f0914b3fb959c79.js b/dist/20-es5.b6167f0914b3fb959c79.js index 007e52feec..ab3df524b0 100644 --- a/dist/20-es5.b6167f0914b3fb959c79.js +++ b/dist/20-es5.b6167f0914b3fb959c79.js @@ -1 +1 @@ -!function(){function e(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function t(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"4fMi":function(o,i,r){"use strict";r.r(i),r.d(i,"ion_checkbox",function(){return l});var n=r("wEJo"),a=r("E/Mt"),c=r("1vRN"),s=r("74mu"),l=function(){function o(e){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Object(n.o)(this,e),this.ionChange=Object(n.g)(this,"ionChange",7),this.ionFocus=Object(n.g)(this,"ionFocus",7),this.ionBlur=Object(n.g)(this,"ionBlur",7),this.ionStyle=Object(n.g)(this,"ionStyle",7),this.inputId="ion-cb-"+h++,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.onClick=function(e){e.preventDefault(),t.setFocus(),t.checked=!t.checked,t.indeterminate=!1},this.onFocus=function(){t.ionFocus.emit()},this.onBlur=function(){t.ionBlur.emit()}}var i,r,l;return i=o,l=[{key:"watchers",get:function(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}}],(r=[{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"checkedChanged",value:function(e){this.ionChange.emit({checked:e,value:this.value}),this.emitStyle()}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"checkbox-checked":this.checked,"interactive-disabled":this.disabled})}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"render",value:function(){var t,o=this,i=this.color,r=this.checked,l=this.disabled,h=this.el,b=this.indeterminate,d=this.inputId,k=this.name,p=this.value,m=Object(a.b)(this),u=Object(c.d)(h,d),g=u.label,f=u.labelId,x=u.labelText;Object(c.e)(!0,h,k,r?p:"",l);var v=b?Object(n.j)("path",{d:"M6 12L18 12",part:"mark"}):Object(n.j)("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===m&&(v=b?Object(n.j)("path",{d:"M2 12H22",part:"mark"}):Object(n.j)("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),Object(n.j)(n.c,{onClick:this.onClick,"aria-labelledby":g?f:null,"aria-checked":""+r,"aria-hidden":l?"true":null,role:"checkbox",class:Object(s.a)(i,(t={},e(t,m,!0),e(t,"in-item",Object(s.c)("ion-item",h)),e(t,"checkbox-checked",r),e(t,"checkbox-disabled",l),e(t,"checkbox-indeterminate",b),e(t,"interactive",!0),t))},Object(n.j)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},v),Object(n.j)("label",{htmlFor:d},x),Object(n.j)("input",{type:"checkbox","aria-checked":""+r,disabled:l,id:d,onFocus:function(){return o.onFocus()},onBlur:function(){return o.onBlur()},ref:function(e){return o.focusEl=e}}))}},{key:"el",get:function(){return Object(n.k)(this)}}])&&t(i.prototype,r),l&&t(i,l),o}(),h=0;l.style={ios:":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}",md:":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}"}}}])}(); \ No newline at end of file +!function(){function e(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function t(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"4fMi":function(o,i,r){"use strict";r.r(i),r.d(i,"ion_checkbox",function(){return l});var n=r("wEJo"),a=r("E/Mt"),c=r("1vRN"),s=r("74mu"),l=function(){function o(e){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),Object(n.o)(this,e),this.ionChange=Object(n.g)(this,"ionChange",7),this.ionFocus=Object(n.g)(this,"ionFocus",7),this.ionBlur=Object(n.g)(this,"ionBlur",7),this.ionStyle=Object(n.g)(this,"ionStyle",7),this.inputId="ion-cb-"+h++,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.onClick=function(e){e.preventDefault(),t.setFocus(),t.checked=!t.checked,t.indeterminate=!1},this.onFocus=function(){t.ionFocus.emit()},this.onBlur=function(){t.ionBlur.emit()}}var i,r,l;return i=o,l=[{key:"watchers",get:function(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}}],(r=[{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"checkedChanged",value:function(e){this.ionChange.emit({checked:e,value:this.value}),this.emitStyle()}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"checkbox-checked":this.checked,"interactive-disabled":this.disabled})}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"render",value:function(){var t,o=this,i=this.color,r=this.checked,l=this.disabled,h=this.el,b=this.indeterminate,d=this.inputId,k=this.name,p=this.value,m=Object(a.b)(this),u=Object(c.d)(h,d),g=u.label,f=u.labelId,x=u.labelText;Object(c.e)(!0,h,k,r?p:"",l);var v=b?Object(n.j)("path",{d:"M6 12L18 12",part:"mark"}):Object(n.j)("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===m&&(v=b?Object(n.j)("path",{d:"M2 12H22",part:"mark"}):Object(n.j)("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),Object(n.j)(n.c,{onClick:this.onClick,"aria-labelledby":g?f:null,"aria-checked":""+r,"aria-hidden":l?"true":null,role:"checkbox",class:Object(s.a)(i,(t={},e(t,m,!0),e(t,"in-item",Object(s.c)("ion-item",h)),e(t,"checkbox-checked",r),e(t,"checkbox-disabled",l),e(t,"checkbox-indeterminate",b),e(t,"interactive",!0),t))},Object(n.j)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},v),Object(n.j)("label",{htmlFor:d},x),Object(n.j)("input",{type:"checkbox","aria-checked":""+r,disabled:l,id:d,onFocus:function(){return o.onFocus()},onBlur:function(){return o.onBlur()},ref:function(e){return o.focusEl=e}}))}},{key:"el",get:function(){return Object(n.k)(this)}}])&&t(i.prototype,r),l&&t(i,l),Object.defineProperty(i,"prototype",{writable:!1}),o}(),h=0;l.style={ios:":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}",md:":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}"}}}])}(); \ No newline at end of file diff --git a/dist/21-es5.61f2102bd9d05feb9f71.js b/dist/21-es5.61f2102bd9d05feb9f71.js index 3ec91603d8..4bbb0cec2b 100644 --- a/dist/21-es5.61f2102bd9d05feb9f71.js +++ b/dist/21-es5.61f2102bd9d05feb9f71.js @@ -1 +1 @@ -!function(){function i(i,t,r){return t in i?Object.defineProperty(i,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[t]=r,i}function t(i,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{czK9:function(r,n,o){"use strict";o.r(n),o.d(n,"ion_chip",function(){return s});var a=o("wEJo"),e=o("E/Mt"),g=o("74mu"),s=function(){function r(i){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),Object(a.o)(this,i),this.outline=!1,this.disabled=!1}var n,o,s;return n=r,(o=[{key:"render",value:function(){var t,r=Object(e.b)(this);return Object(a.j)(a.c,{"aria-disabled":this.disabled?"true":null,class:Object(g.a)(this.color,(t={},i(t,r,!0),i(t,"chip-outline",this.outline),i(t,"chip-disabled",this.disabled),i(t,"ion-activatable",!0),t))},Object(a.j)("slot",null),"md"===r&&Object(a.j)("ion-ripple-effect",null))}}])&&t(n.prototype,o),s&&t(n,s),r}();s.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"}}}])}(); \ No newline at end of file +!function(){function i(i,t,r){return t in i?Object.defineProperty(i,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[t]=r,i}function t(i,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{czK9:function(r,n,o){"use strict";o.r(n),o.d(n,"ion_chip",function(){return s});var a=o("wEJo"),e=o("E/Mt"),g=o("74mu"),s=function(){function r(i){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),Object(a.o)(this,i),this.outline=!1,this.disabled=!1}var n,o,s;return n=r,(o=[{key:"render",value:function(){var t,r=Object(e.b)(this);return Object(a.j)(a.c,{"aria-disabled":this.disabled?"true":null,class:Object(g.a)(this.color,(t={},i(t,r,!0),i(t,"chip-outline",this.outline),i(t,"chip-disabled",this.disabled),i(t,"ion-activatable",!0),t))},Object(a.j)("slot",null),"md"===r&&Object(a.j)("ion-ripple-effect",null))}}])&&t(n.prototype,o),s&&t(n,s),Object.defineProperty(n,"prototype",{writable:!1}),r}();s.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"}}}])}(); \ No newline at end of file diff --git a/dist/22-es5.9afbcb6774d03dd56b84.js b/dist/22-es5.9afbcb6774d03dd56b84.js index b66fdee639..326c2ee660 100644 --- a/dist/22-es5.9afbcb6774d03dd56b84.js +++ b/dist/22-es5.9afbcb6774d03dd56b84.js @@ -1 +1 @@ -!function(){function i(i,n,d){return n in i?Object.defineProperty(i,n,{value:d,enumerable:!0,configurable:!0,writable:!0}):i[n]=d,i}function n(i,n){var a="undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"];if(!a){if(Array.isArray(i)||(a=function(i,n){if(!i)return;if("string"==typeof i)return d(i,n);var a=Object.prototype.toString.call(i).slice(8,-1);"Object"===a&&i.constructor&&(a=i.constructor.name);if("Map"===a||"Set"===a)return Array.from(i);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return d(i,n)}(i))||n&&i&&"number"==typeof i.length){a&&(i=a);var r=0,g=function(){};return{s:g,n:function(){return r>=i.length?{done:!0}:{done:!1,value:i[r++]}},e:function(i){throw i},f:g}}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 t,o=!0,p=!1;return{s:function(){a=a.call(i)},n:function(){var i=a.next();return o=i.done,i},e:function(i){p=!0,t=i},f:function(){try{o||null==a.return||a.return()}finally{if(p)throw t}}}}function d(i,n){(null==n||n>i.length)&&(n=i.length);for(var d=0,a=new Array(n);d<n;d++)a[d]=i[d];return a}function a(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function r(i,n){for(var d=0;d<n.length;d++){var a=n[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}function g(i,n,d){return n&&r(i.prototype,n),d&&r(i,d),i}(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"/CAe":function(d,r,t){"use strict";t.r(r),t.d(r,"ion_col",function(){return c}),t.d(r,"ion_grid",function(){return v}),t.d(r,"ion_row",function(){return x});var o=t("wEJo"),p=t("E/Mt"),e={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},l=function(i){return void 0===i||""===i||!!window.matchMedia&&window.matchMedia(e[i]).matches},s=window,u=!!(s.CSS&&s.CSS.supports&&s.CSS.supports("--a: 0")),m=["","xs","sm","md","lg","xl"],c=function(){function d(i){a(this,d),Object(o.o)(this,i)}return g(d,[{key:"onResize",value:function(){Object(o.l)(this)}},{key:"getColumns",value:function(i){var d,a,r=n(m);try{for(r.s();!(a=r.n()).done;){var g=a.value,t=l(g),o=this[i+g.charAt(0).toUpperCase()+g.slice(1)];t&&void 0!==o&&(d=o)}}catch(p){r.e(p)}finally{r.f()}return d}},{key:"calculateSize",value:function(){var i=this.getColumns("size");if(i&&""!==i){var n="auto"===i?"auto":u?"calc(calc(".concat(i," / var(--ion-grid-columns, 12)) * 100%)"):i/12*100+"%";return{flex:"0 0 "+n,width:""+n,"max-width":""+n}}}},{key:"calculatePosition",value:function(n,d){var a=this.getColumns(n);if(a)return i({},d,u?"calc(calc(".concat(a," / var(--ion-grid-columns, 12)) * 100%)"):a>0&&a<12?a/12*100+"%":"auto")}},{key:"calculateOffset",value:function(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}},{key:"calculatePull",value:function(i){return this.calculatePosition("pull",i?"left":"right")}},{key:"calculatePush",value:function(i){return this.calculatePosition("push",i?"right":"left")}},{key:"render",value:function(){var n="rtl"===document.dir,d=Object(p.b)(this);return Object(o.j)(o.c,{class:i({},d,!0),style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(n)),this.calculatePull(n)),this.calculatePush(n)),this.calculateSize())},Object(o.j)("slot",null))}}]),d}();c.style=":host{padding-left:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}}";var v=function(){function n(i){a(this,n),Object(o.o)(this,i),this.fixed=!1}return g(n,[{key:"render",value:function(){var n,d=Object(p.b)(this);return Object(o.j)(o.c,{class:(n={},i(n,d,!0),i(n,"grid-fixed",this.fixed),n)},Object(o.j)("slot",null))}}]),n}();v.style=":host{padding-left:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));margin-left:auto;margin-right:auto;display:block;-ms-flex:1;flex:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";var x=function(){function i(n){a(this,i),Object(o.o)(this,n)}return g(i,[{key:"render",value:function(){return Object(o.j)(o.c,{class:Object(p.b)(this)},Object(o.j)("slot",null))}}]),i}();x.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}])}(); \ No newline at end of file +!function(){function i(i,n,d){return n in i?Object.defineProperty(i,n,{value:d,enumerable:!0,configurable:!0,writable:!0}):i[n]=d,i}function n(i,n){var a="undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"];if(!a){if(Array.isArray(i)||(a=function(i,n){if(!i)return;if("string"==typeof i)return d(i,n);var a=Object.prototype.toString.call(i).slice(8,-1);"Object"===a&&i.constructor&&(a=i.constructor.name);if("Map"===a||"Set"===a)return Array.from(i);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return d(i,n)}(i))||n&&i&&"number"==typeof i.length){a&&(i=a);var r=0,g=function(){};return{s:g,n:function(){return r>=i.length?{done:!0}:{done:!1,value:i[r++]}},e:function(i){throw i},f:g}}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 t,o=!0,p=!1;return{s:function(){a=a.call(i)},n:function(){var i=a.next();return o=i.done,i},e:function(i){p=!0,t=i},f:function(){try{o||null==a.return||a.return()}finally{if(p)throw t}}}}function d(i,n){(null==n||n>i.length)&&(n=i.length);for(var d=0,a=new Array(n);d<n;d++)a[d]=i[d];return a}function a(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function r(i,n){for(var d=0;d<n.length;d++){var a=n[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(i,a.key,a)}}function g(i,n,d){return n&&r(i.prototype,n),d&&r(i,d),Object.defineProperty(i,"prototype",{writable:!1}),i}(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"/CAe":function(d,r,t){"use strict";t.r(r),t.d(r,"ion_col",function(){return c}),t.d(r,"ion_grid",function(){return v}),t.d(r,"ion_row",function(){return x});var o=t("wEJo"),p=t("E/Mt"),e={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},l=function(i){return void 0===i||""===i||!!window.matchMedia&&window.matchMedia(e[i]).matches},s=window,u=!!(s.CSS&&s.CSS.supports&&s.CSS.supports("--a: 0")),m=["","xs","sm","md","lg","xl"],c=function(){function d(i){a(this,d),Object(o.o)(this,i)}return g(d,[{key:"onResize",value:function(){Object(o.l)(this)}},{key:"getColumns",value:function(i){var d,a,r=n(m);try{for(r.s();!(a=r.n()).done;){var g=a.value,t=l(g),o=this[i+g.charAt(0).toUpperCase()+g.slice(1)];t&&void 0!==o&&(d=o)}}catch(p){r.e(p)}finally{r.f()}return d}},{key:"calculateSize",value:function(){var i=this.getColumns("size");if(i&&""!==i){var n="auto"===i?"auto":u?"calc(calc(".concat(i," / var(--ion-grid-columns, 12)) * 100%)"):i/12*100+"%";return{flex:"0 0 "+n,width:""+n,"max-width":""+n}}}},{key:"calculatePosition",value:function(n,d){var a=this.getColumns(n);if(a)return i({},d,u?"calc(calc(".concat(a," / var(--ion-grid-columns, 12)) * 100%)"):a>0&&a<12?a/12*100+"%":"auto")}},{key:"calculateOffset",value:function(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}},{key:"calculatePull",value:function(i){return this.calculatePosition("pull",i?"left":"right")}},{key:"calculatePush",value:function(i){return this.calculatePosition("push",i?"right":"left")}},{key:"render",value:function(){var n="rtl"===document.dir,d=Object(p.b)(this);return Object(o.j)(o.c,{class:i({},d,!0),style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(n)),this.calculatePull(n)),this.calculatePush(n)),this.calculateSize())},Object(o.j)("slot",null))}}]),d}();c.style=":host{padding-left:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}}";var v=function(){function n(i){a(this,n),Object(o.o)(this,i),this.fixed=!1}return g(n,[{key:"render",value:function(){var n,d=Object(p.b)(this);return Object(o.j)(o.c,{class:(n={},i(n,d,!0),i(n,"grid-fixed",this.fixed),n)},Object(o.j)("slot",null))}}]),n}();v.style=":host{padding-left:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));margin-left:auto;margin-right:auto;display:block;-ms-flex:1;flex:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";var x=function(){function i(n){a(this,i),Object(o.o)(this,n)}return g(i,[{key:"render",value:function(){return Object(o.j)(o.c,{class:Object(p.b)(this)},Object(o.j)("slot",null))}}]),i}();x.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}])}(); \ No newline at end of file diff --git a/dist/23-es5.62cfbff2e1ff73c415a8.js b/dist/23-es5.62cfbff2e1ff73c415a8.js index 35abba095d..8da39e6d57 100644 --- a/dist/23-es5.62cfbff2e1ff73c415a8.js +++ b/dist/23-es5.62cfbff2e1ff73c415a8.js @@ -1 +1 @@ -!function(){function t(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=n(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,c=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==i.return||i.return()}finally{if(c)throw a}}}}function e(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||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.")}()}function n(t,e){if(t){if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function o(t,e,i,n,r,o,a){try{var s=t[o](a),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,r)}function a(t){return function(){var e=this,i=arguments;return new Promise(function(n,r){var a=t.apply(e,i);function s(t){o(a,n,r,s,c,"next",t)}function c(t){o(a,n,r,s,c,"throw",t)}s(void 0)})}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e,i){return e&&c(t.prototype,e),i&&c(t,i),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{WgF3:function(n,r,o){"use strict";o.r(r),o.d(r,"ion_datetime",function(){return K}),o.d(r,"ion_picker",function(){return rt}),o.d(r,"ion_picker_column",function(){return st});var c=o("wEJo"),d=o("E/Mt"),h=o("1vRN"),p=o("7OTs"),u=o("74mu"),m=o("meiF"),f=o("qULd");o("B4Jq");var g=function(t,e,i,n){if(t!==A&&t!==P){if(t===L)return void 0!==i&&void 0!==i.hour?i.hour<12?"AM":"PM":e?e.toUpperCase():"";if(t===q)return void 0!==i&&void 0!==i.hour?i.hour<12?"am":"pm":e||"";if(null==e)return"";if(t===N||t===E||t===H||t===V||t===R||t===J)return C(e);if(t===I)return F(e);if(t===Y)return(n.monthNames?n.monthNames:$)[e-1];if(t===T)return(n.monthShortNames?n.monthShortNames:G)[e-1];if(t===W||t===B){if(0===e)return"12";if(e>12&&(e-=12),t===W&&e<10)return"0"+e}return e.toString()}try{return e=new Date(i.year,i.month-1,i.day).getDay(),t===A?(n.dayNames?n.dayNames:Z)[e]:(n.dayShortNames?n.dayShortNames:_)[e]}catch(r){}},b=function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return parseInt("1".concat(F(t)).concat(C(e)).concat(C(i)).concat(C(n)).concat(C(r)),10)},v=function(t){return b(t.year,t.month,t.day,t.hour,t.minute)},k=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,y=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,x=function(t){var e=null;if(null!=t&&""!==t&&((e=y.exec(t))?(e.unshift(void 0,void 0),e[2]=e[3]=void 0):e=k.exec(t)),null!==e){for(var i=1;i<8;i++)e[i]=void 0!==e[i]?parseInt(e[i],10):void 0;var n=0;return e[9]&&e[10]&&(n=60*parseInt(e[10],10),e[11]&&(n+=parseInt(e[11],10)),"-"===e[9]&&(n*=-1)),{year:e[1],month:e[2],day:e[3],hour:e[4],minute:e[5],second:e[6],millisecond:e[7],tzOffset:n}}},w=function(t,e){var i=new Date(t.toLocaleString("en-US",{timeZone:"utc"})),n=new Date(t.toLocaleString("en-US",{timeZone:e}));return i.getTime()-n.getTime()},j=function(t,e){return e===L||e===q?t.hour<12?"am":"pm":e===W||e===B?t.hour>12?t.hour-12:0===t.hour?12:t.hour:t[O(e)]},O=function(t){for(var e in U)if(U[e].f===t)return U[e].k},M=function(t){var e="";return void 0!==t.year?(e=F(t.year),void 0!==t.month&&(e+="-"+C(t.month),void 0!==t.day&&(e+="-"+C(t.day),void 0!==t.hour&&(e+="T".concat(C(t.hour),":").concat(C(t.minute),":").concat(C(t.second)),t.millisecond>0&&(e+="."+z(t.millisecond)),e+=void 0===t.tzOffset?"Z":(t.tzOffset>0?"+":"-")+C(Math.floor(Math.abs(t.tzOffset/60)))+":"+C(t.tzOffset%60))))):void 0!==t.hour&&(e=C(t.hour)+":"+C(t.minute),void 0!==t.second&&(e+=":"+C(t.second),void 0!==t.millisecond&&(e+="."+z(t.millisecond)))),e},S=function(t,e){var i;if(null!=t)return"string"==typeof t&&(t=t.replace(/\[|\]/g,"").split(",")),Array.isArray(t)&&(i=t.map(function(t){return t.toString().trim()})),void 0!==i&&0!==i.length||console.warn('Invalid "'.concat(e,'Names". Must be an array of strings, or a comma separated string.')),i},D=function(t,e){var i;return"string"==typeof t&&(t=t.replace(/\[|\]|\s/g,"").split(",")),0===(i=Array.isArray(t)?t.map(function(t){return parseInt(t,10)}).filter(isFinite):[t]).length&&console.warn('Invalid "'.concat(e,'Values". Must be an array of numbers, or a comma separated string of numbers.')),i},C=function(t){return("0"+(void 0!==t?Math.abs(t):"0")).slice(-2)},z=function(t){return("00"+(void 0!==t?Math.abs(t):"0")).slice(-3)},F=function(t){return("000"+(void 0!==t?Math.abs(t):"0")).slice(-4)},I="YYYY",N="YY",Y="MMMM",T="MMM",E="MM",A="DDDD",P="DDD",H="DD",V="HH",W="hh",B="h",R="mm",J="ss",L="A",q="a",U=[{f:I,k:"year"},{f:Y,k:"month"},{f:A,k:"day"},{f:T,k:"month"},{f:P,k:"day"},{f:N,k:"year"},{f:E,k:"month"},{f:H,k:"day"},{f:V,k:"hour"},{f:W,k:"hour"},{f:R,k:"minute"},{f:J,k:"second"},{f:"M",k:"month"},{f:"D",k:"day"},{f:"H",k:"hour"},{f:B,k:"hour"},{f:"m",k:"minute"},{f:"s",k:"second"},{f:L,k:"ampm"},{f:q,k:"ampm"}],Z=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],_=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$=["January","February","March","April","May","June","July","August","September","October","November","December"],G=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],X=[W,B,R,"m",J,"s"],K=function(){function t(e){var i=this;s(this,t),Object(c.o)(this,e),this.ionCancel=Object(c.g)(this,"ionCancel",7),this.ionChange=Object(c.g)(this,"ionChange",7),this.ionFocus=Object(c.g)(this,"ionFocus",7),this.ionBlur=Object(c.g)(this,"ionBlur",7),this.ionStyle=Object(c.g)(this,"ionStyle",7),this.inputId="ion-dt-"+et++,this.locale={},this.datetimeMin={},this.datetimeMax={},this.datetimeValue={},this.isExpanded=!1,this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.displayFormat="MMM D, YYYY",this.cancelText="Cancel",this.doneText="Done",this.onClick=function(){i.setFocus(),i.open()},this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}var n;return l(t,[{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.updateDatetimeValue(this.value),this.emitStyle(),this.ionChange.emit({value:this.value})}},{key:"componentWillLoad",value:function(){this.locale={monthNames:S(this.monthNames,"monthNames"),monthShortNames:S(this.monthShortNames,"monthShortNames"),dayNames:S(this.dayNames,"dayNames"),dayShortNames:S(this.dayShortNames,"dayShortNames")},this.updateDatetimeValue(this.value),this.emitStyle()}},{key:"open",value:(n=a(regeneratorRuntime.mark(function t(){var e,i,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.disabled&&!this.isExpanded){t.next=2;break}return t.abrupt("return");case 2:return e=this.generatePickerOptions(),t.next=5,p.m.create(e);case 5:return i=t.sent,this.isExpanded=!0,i.onDidDismiss().then(function(){n.isExpanded=!1,n.setFocus()}),Object(h.a)(i,"ionPickerColChange",function(){var t=a(regeneratorRuntime.mark(function t(e){var r,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=e.detail,(o={})[r.name]={value:r.options[r.selectedIndex].value},"ampm"!==r.name&&void 0!==n.datetimeValue.ampm&&(o.ampm={value:n.datetimeValue.ampm}),n.updateDatetimeValue(o),i.columns=n.generateColumns();case 2:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()),t.next=11,i.present();case 11:case"end":return t.stop()}},t,this)})),function(){return n.apply(this,arguments)})},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,datetime:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"interactive-disabled":this.disabled})}},{key:"updateDatetimeValue",value:function(t){var e=this;!function(t,i,n){if(!i||"string"==typeof i){var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";null==t&&(t=""),10!==t.length&&7!==t.length&&4!==t.length||(t+=" ");var i="string"==typeof t&&t.length>0?new Date(t):new Date,n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e&&e.length>0?new Date(i.getTime()-w(n,e)):n}(i,e.displayTimezone);Number.isNaN(r.getTime())||(i=r.toISOString())}if(i&&""!==i){if("string"==typeof i){if(i=x(i))return Object.assign(t,i),!0}else{if(i.year||i.hour||i.month||i.day||i.minute||i.second){void 0!==i.ampm&&void 0!==i.hour&&(i.hour.value="pm"===i.ampm.value?12===i.hour.value?12:i.hour.value+12:12===i.hour.value?0:i.hour.value);for(var o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];t[s]=i[s].value}return!0}if(i.ampm)return i.hour={value:i.hour?i.hour.value:"pm"===i.ampm.value?t.hour<12?t.hour+12:t.hour:t.hour>=12?t.hour-12:t.hour},t.hour=i.hour.value,t.ampm=i.ampm.value,!0}console.warn('Error parsing date: "'.concat(i,'". Please provide a valid ISO 8601 datetime format: https://www.w3.org/TR/NOTE-datetime'))}else for(var c in t)t.hasOwnProperty(c)&&delete t[c]}(this.datetimeValue,t)}},{key:"generatePickerOptions",value:function(){var t=this,e=Object(d.b)(this);this.locale={monthNames:S(this.monthNames,"monthNames"),monthShortNames:S(this.monthShortNames,"monthShortNames"),dayNames:S(this.dayNames,"dayNames"),dayShortNames:S(this.dayShortNames,"dayShortNames")};var i=Object.assign(Object.assign({mode:e},this.pickerOptions),{columns:this.generateColumns()}),n=i.buttons;return n&&0!==n.length||(i.buttons=[{text:this.cancelText,role:"cancel",handler:function(){t.updateDatetimeValue(t.value),t.ionCancel.emit()}},{text:this.doneText,handler:function(e){t.updateDatetimeValue(e);var i=new Date(M(t.datetimeValue));t.datetimeValue.tzOffset=void 0!==t.displayTimezone&&t.displayTimezone.length>0?w(i,t.displayTimezone)/1e3/60*-1:-1*i.getTimezoneOffset(),t.value=M(t.datetimeValue)}}]),i}},{key:"generateColumns",value:function(){var t=this,e=this.pickerFormat||this.displayFormat||tt;if(0===e.length)return[];this.calcMinMax(),-1===(e=e.replace("DDDD","{~}").replace("DDD","{~}")).indexOf("D")&&(e=e.replace("{~}","D"));var i=function(t){var e=[];t=t.replace(/[^\w\s]/gi," "),U.forEach(function(e){e.f.length>1&&t.indexOf(e.f)>-1&&t.indexOf(e.f+e.f.charAt(0))<0&&(t=t.replace(e.f," "+e.f+" "))});var i=t.split(" ").filter(function(t){return t.length>0});return i.forEach(function(t,n){U.forEach(function(r){if(t===r.f){if((t===L||t===q)&&(e.indexOf(B)<0&&e.indexOf(W)<0||-1===X.indexOf(i[n-1])))return;e.push(t)}})}),e}(e=e.replace(/{~}/g,"")).map(function(e){var i=O(e),n=(t[i+"Values"]?D(t[i+"Values"],i):function(t,e,i){var n=[];if(t===I||t===N){if(void 0===i.year||void 0===e.year)throw new Error("min and max year is undefined");for(var r=i.year;r>=e.year;r--)n.push(r)}else if(t===Y||t===T||t===E||"M"===t||t===W||t===B)for(var o=1;o<13;o++)n.push(o);else if(t===A||t===P||t===H||"D"===t)for(var a=1;a<32;a++)n.push(a);else if(t===V||"H"===t)for(var s=0;s<24;s++)n.push(s);else if(t===R||"m"===t)for(var c=0;c<60;c++)n.push(c);else if(t===J||"s"===t)for(var l=0;l<60;l++)n.push(l);else t!==L&&t!==q||n.push("am","pm");return n}(e,t.datetimeMin,t.datetimeMax)).map(function(i){return{value:i,text:g(e,i,void 0,t.locale)}}),r=function(t,e){var i=j(t,e);if(void 0!==i)return e!==L&&e!==q||(t.ampm=i),i;var n=x((new Date).toISOString());return j(n,e)}(t.datetimeValue,e),o=n.findIndex(function(t){return t.value===r});return{name:i,selectedIndex:o>=0?o:0,options:n}}),n=this.datetimeMin,r=this.datetimeMax;return["month","day","hour","minute"].filter(function(t){return!i.find(function(e){return e.name===t})}).forEach(function(t){n[t]=0,r[t]=0}),this.validateColumns(Q(i))}},{key:"validateColumns",value:function(t){var e=new Date,i=v(this.datetimeMin),n=v(this.datetimeMax),r=t.find(function(t){return"year"===t.name}),o=e.getFullYear();if(r){r.options.find(function(t){return t.value===e.getFullYear()})||(o=r.options[0].value);var a=r.selectedIndex;if(void 0!==a){var s=r.options[a];s&&(o=s.value)}}var c,l,d=this.validateColumn(t,"month",1,i,n,[o,0,0,0,0],[o,12,31,23,59]),h=4===(l=d)||6===l||9===l||11===l?30:2===l?(c=o)%4==0&&c%100!=0||c%400==0?29:28:31,p=this.validateColumn(t,"day",2,i,n,[o,d,0,0,0],[o,d,h,23,59]),u=this.validateColumn(t,"hour",3,i,n,[o,d,p,0,0],[o,d,p,23,59]);return this.validateColumn(t,"minute",4,i,n,[o,d,p,u,0],[o,d,p,u,59]),t}},{key:"calcMinMax",value:function(){var t=(new Date).getFullYear();if(void 0!==this.yearValues){var e=D(this.yearValues,"year");void 0===this.min&&(this.min=Math.min.apply(Math,i(e)).toString()),void 0===this.max&&(this.max=Math.max.apply(Math,i(e)).toString())}else void 0===this.min&&(this.min=(t-100).toString()),void 0===this.max&&(this.max=t.toString());var n=this.datetimeMin=x(this.min),r=this.datetimeMax=x(this.max);n.year=n.year||t,r.year=r.year||t,n.month=n.month||1,r.month=r.month||12,n.day=n.day||1,r.day=r.day||31,n.hour=n.hour||0,r.hour=void 0===r.hour?23:r.hour,n.minute=n.minute||0,r.minute=void 0===r.minute?59:r.minute,n.second=n.second||0,r.second=void 0===r.second?59:r.second,n.year>r.year&&(console.error("min.year > max.year"),n.year=r.year-100),n.year===r.year&&(n.month>r.month?(console.error("min.month > max.month"),n.month=1):n.month===r.month&&n.day>r.day&&(console.error("min.day > max.day"),n.day=1))}},{key:"validateColumn",value:function(t,e,i,n,r,o,a){var s=t.find(function(t){return t.name===e});if(!s)return 0;for(var c=o.slice(),l=a.slice(),d=s.options,p=d.length-1,u=0,m=0;m<d.length;m++){var f=d[m],g=f.value;c[i]=f.value,l[i]=f.value,(f.disabled=g<o[i]||g>a[i]||b(l[0],l[1],l[2],l[3],l[4])<n||b(c[0],c[1],c[2],c[3],c[4])>r)||(p=Math.min(p,m),u=Math.max(u,m))}var v=s.selectedIndex=Object(h.j)(p,s.selectedIndex,u),k=s.options[v];return k?k.value:0}},{key:"text",get:function(){if(null!=this.value&&0!==this.value.length)return function(t,e,i){if(void 0!==e){var n=[],r=!1;if(U.forEach(function(o,a){if(t.indexOf(o.f)>-1){var s="{"+a+"}",c=g(o.f,e[o.k],e,i);r||void 0===c||null==e[o.k]||(r=!0),n.push(s,c||""),t=t.replace(o.f,s)}}),r){for(var o=0;o<n.length;o+=2)t=t.replace(n[o],n[o+1]);return t}}}(this.displayFormat||this.pickerFormat||tt,this.datetimeValue,this.locale)}},{key:"hasValue",value:function(){return void 0!==this.text}},{key:"setFocus",value:function(){this.buttonEl&&this.buttonEl.focus()}},{key:"render",value:function(){var t,i=this,n=this.inputId,r=this.text,o=this.disabled,a=this.readonly,s=this.isExpanded,l=this.el,p=this.placeholder,m=Object(d.b)(this),f=n+"-lbl",g=Object(h.h)(l),b=void 0===r&&null!=p,v=void 0===r?null!=p?p:"":r,k=void 0===r?null!=p?"placeholder":void 0:"text";return g&&(g.id=f),Object(h.e)(!0,l,this.name,this.value,this.disabled),Object(c.j)(c.c,{onClick:this.onClick,"aria-disabled":o?"true":null,"aria-expanded":""+s,"aria-haspopup":"true","aria-labelledby":f,class:(t={},e(t,m,!0),e(t,"datetime-disabled",o),e(t,"datetime-readonly",a),e(t,"datetime-placeholder",b),e(t,"in-item",Object(u.c)("ion-item",l)),t)},Object(c.j)("div",{class:"datetime-text",part:k},v),Object(c.j)("button",{type:"button",onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.disabled,ref:function(t){return i.buttonEl=t}}))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"],value:["valueChanged"]}}}]),t}(),Q=function(e){for(var i,n,r=[],o=0;o<e.length;o++){i=e[o],r.push(0);var a,s=t(i.options);try{for(s.s();!(a=s.n()).done;){(n=a.value.text.length)>r[o]&&(r[o]=n)}}catch(c){s.e(c)}finally{s.f()}}return 2===r.length?(n=Math.max(r[0],r[1]),e[0].align="right",e[1].align="left",e[0].optionsWidth=e[1].optionsWidth=17*n+"px"):3===r.length&&(n=Math.max(r[0],r[2]),e[0].align="right",e[1].columnWidth=17*r[1]+"px",e[0].optionsWidth=e[2].optionsWidth=17*n+"px",e[2].align="left"),e},tt="MMM D, YYYY",et=0;K.style={ios:":host{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;min-width:16px;min-height:1.2em;font-family:var(--ion-font-family, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static}:host(.datetime-placeholder){color:var(--placeholder-color)}:host(.datetime-disabled){opacity:0.3;pointer-events:none}:host(.datetime-readonly){pointer-events:none}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.datetime-text{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-ms-flex:1;flex:1;min-height:inherit;direction:ltr;overflow:inherit}[dir=rtl] .datetime-text,:host-context([dir=rtl]) .datetime-text{direction:rtl}:host{--placeholder-color:var(--ion-color-step-400, #999999);--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}",md:":host{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;min-width:16px;min-height:1.2em;font-family:var(--ion-font-family, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static}:host(.datetime-placeholder){color:var(--placeholder-color)}:host(.datetime-disabled){opacity:0.3;pointer-events:none}:host(.datetime-readonly){pointer-events:none}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.datetime-text{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-ms-flex:1;flex:1;min-height:inherit;direction:ltr;overflow:inherit}[dir=rtl] .datetime-text,:host-context([dir=rtl]) .datetime-text{direction:rtl}:host{--placeholder-color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:16px}"};var it=function(t){var e=Object(m.a)(),i=Object(m.a)(),n=Object(m.a)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])},nt=function(t){var e=Object(m.a)(),i=Object(m.a)(),n=Object(m.a)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])},rt=function(){function t(e){var i=this;s(this,t),Object(c.o)(this,e),this.didPresent=Object(c.g)(this,"ionPickerDidPresent",7),this.willPresent=Object(c.g)(this,"ionPickerWillPresent",7),this.willDismiss=Object(c.g)(this,"ionPickerWillDismiss",7),this.didDismiss=Object(c.g)(this,"ionPickerDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.columns=[],this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.onBackdropTap=function(){i.dismiss(void 0,p.a)},this.dispatchCancelHandler=function(t){var e=t.detail.role;if(Object(p.j)(e)){var n=i.buttons.find(function(t){return"cancel"===t.role});i.callButtonHandler(n)}}}var i,n,r;return l(t,[{key:"connectedCallback",value:function(){Object(p.f)(this.el)}},{key:"present",value:(r=a(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(p.e)(this,"pickerEnter",it,it,void 0);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return e.dismiss()},this.duration));case 3:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"dismiss",value:function(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(p.g)(this,t,e,"pickerLeave",nt,nt)}},{key:"onDidDismiss",value:function(){return Object(p.h)(this.el,"ionPickerDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(p.h)(this.el,"ionPickerWillDismiss")}},{key:"getColumn",value:function(t){return Promise.resolve(this.columns.find(function(e){return e.name===t}))}},{key:"buttonClick",value:(n=a(regeneratorRuntime.mark(function t(e){var i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.role,!Object(p.j)(i)){t.next=5;break}t.t0=this.dismiss(void 0,i),t.next=13;break;case 5:return t.next=7,this.callButtonHandler(e);case 7:if(!t.sent){t.next=11;break}t.t1=this.dismiss(this.getSelected(),e.role),t.next=12;break;case 11:t.t1=Promise.resolve();case 12:t.t0=t.t1;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"callButtonHandler",value:(i=a(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!e,t.t0){t.next=7;break}return t.t1=!1,t.next=5,Object(p.n)(e.handler,this.getSelected());case 5:t.t2=t.sent,t.t0=t.t1!==t.t2;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"getSelected",value:function(){var t={};return this.columns.forEach(function(e,i){var n=void 0!==e.selectedIndex?e.options[e.selectedIndex]:void 0;t[e.name]={text:n?n.text:void 0,value:n?n.value:void 0,columnIndex:i}}),t}},{key:"render",value:function(){var t,i=this,n=Object(d.b)(this);return Object(c.j)(c.c,{"aria-modal":"true",tabindex:"-1",class:Object.assign((t={},e(t,n,!0),e(t,"picker-"+n,!0),t),Object(u.b)(this.cssClass)),style:{zIndex:""+(2e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler},Object(c.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),Object(c.j)("div",{tabindex:"0"}),Object(c.j)("div",{class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},Object(c.j)("div",{class:"picker-toolbar"},this.buttons.map(function(t){return Object(c.j)("div",{class:ot(t)},Object(c.j)("button",{type:"button",onClick:function(){return i.buttonClick(t)},class:at(t)},t.text))})),Object(c.j)("div",{class:"picker-columns"},Object(c.j)("div",{class:"picker-above-highlight"}),this.presented&&this.columns.map(function(t){return Object(c.j)("ion-picker-column",{col:t})}),Object(c.j)("div",{class:"picker-below-highlight"}))),Object(c.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(c.k)(this)}}]),t}(),ot=function(t){var i;return e(i={},"picker-toolbar-"+t.role,void 0!==t.role),e(i,"picker-toolbar-button",!0),i},at=function(t){return Object.assign({"picker-button":!0,"ion-activatable":!0},Object(u.b)(t.cssClass))};rt.style={ios:".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1em;padding-right:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em}}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{left:0;top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-ios{left:0;top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}",md:".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1.1em;padding-right:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{padding-left:unset;padding-right:unset;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em}}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{left:0;top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-md{left:0;top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}"};var st=function(){function t(e){s(this,t),Object(c.o)(this,e),this.ionPickerColChange=Object(c.g)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0}var i;return l(t,[{key:"colChanged",value:function(){this.refresh()}},{key:"connectedCallback",value:(i=a(regeneratorRuntime.mark(function t(){var e,i,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,i=.81,"ios"===Object(d.b)(this)&&(e=-.46,i=1),this.rotateFactor=e,this.scaleFactor=i,t.next=6,Promise.resolve().then(o.bind(null,"iWo5"));case 6:this.gesture=t.sent.createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:function(t){return n.onStart(t)},onMove:function(t){return n.onMove(t)},onEnd:function(t){return n.onEnd(t)}}),this.gesture.enable(),this.tmrId=setTimeout(function(){n.noAnimate=!1,n.refresh(!0)},250);case 9:case"end":return t.stop()}},t,this)})),function(){return i.apply(this,arguments)})},{key:"componentDidLoad",value:function(){var t=this.optsEl;t&&(this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0),this.refresh()}},{key:"disconnectedCallback",value:function(){cancelAnimationFrame(this.rafId),clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"emitColChange",value:function(){this.ionPickerColChange.emit(this.col)}},{key:"setSelected",value:function(t,e){var i=t>-1?-t*this.optHeight:0;this.velocity=0,cancelAnimationFrame(this.rafId),this.update(i,e,!0),this.emitColChange()}},{key:"update",value:function(t,e,i){if(this.optsEl){for(var n=0,r=0,o=this.col,a=this.rotateFactor,s=o.selectedIndex=this.indexForY(-t),c=0===e?"":e+"ms",l="scale(".concat(this.scaleFactor,")"),d=this.optsEl.children,h=0;h<d.length;h++){var p=d[h],u=o.options[h],m=h*this.optHeight+t,g="";if(0!==a){var b=m*a;Math.abs(b)<=90?(n=0,r=90,g="rotateX(".concat(b,"deg) ")):n=-9999}else r=0,n=m;var v=s===h;g+="translate3d(0px,".concat(n,"px,").concat(r,"px) "),1===this.scaleFactor||v||(g+=l),this.noAnimate?(u.duration=0,p.style.transitionDuration=""):e!==u.duration&&(u.duration=e,p.style.transitionDuration=c),g!==u.transform&&(u.transform=g,p.style.transform=g),v!==u.selected&&(u.selected=v,v?p.classList.add(ct):p.classList.remove(ct))}this.col.prevSelected=s,i&&(this.y=t),this.lastIndex!==s&&(Object(f.b)(),this.lastIndex=s)}}},{key:"decelerate",value:function(){var t=this;if(0!==this.velocity){this.velocity*=lt,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);var e=this.y+this.velocity;e>this.minY?(e=this.minY,this.velocity=0):e<this.maxY&&(e=this.maxY,this.velocity=0),this.update(e,0,!0),Math.round(e)%this.optHeight!=0||Math.abs(this.velocity)>1?this.rafId=requestAnimationFrame(function(){return t.decelerate()}):(this.velocity=0,this.emitColChange(),Object(f.e)())}else if(this.y%this.optHeight!=0){var i=Math.abs(this.y%this.optHeight);this.velocity=i>this.optHeight/2?1:-1,this.decelerate()}}},{key:"indexForY",value:function(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}},{key:"onStart",value:function(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation(),Object(f.a)(),cancelAnimationFrame(this.rafId);for(var e=this.col.options,i=e.length-1,n=0,r=0;r<e.length;r++)e[r].disabled||(i=Math.min(i,r),n=Math.max(n,r));this.minY=-i*this.optHeight,this.maxY=-n*this.optHeight}},{key:"onMove",value:function(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation();var e=this.y+t.deltaY;e>this.minY?(e=Math.pow(e,.8),this.bounceFrom=e):e<this.maxY?(e+=Math.pow(this.maxY-e,.9),this.bounceFrom=e):this.bounceFrom=0,this.update(e,0,!1)}},{key:"onEnd",value:function(t){if(this.bounceFrom>0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=Object(h.j)(-dt,23*t.velocityY,dt),0===this.velocity&&0===t.deltaY){var e=t.event.target.closest(".picker-opt");e&&e.hasAttribute("opt-index")&&this.setSelected(parseInt(e.getAttribute("opt-index"),10),ht)}else{if(this.y+=t.deltaY,Math.abs(t.velocityY)<.05){var i=t.deltaY>0,n=Math.abs(this.y)%this.optHeight/this.optHeight;i&&n>.5?this.velocity=-1*Math.abs(this.velocity):!i&&n<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}},{key:"refresh",value:function(t){for(var e=this.col.options.length-1,i=0,n=this.col.options,r=0;r<n.length;r++)n[r].disabled||(e=Math.min(e,r),i=Math.max(i,r));if(0===this.velocity){var o=Object(h.j)(e,this.col.selectedIndex||0,i);if(this.col.prevSelected!==o||t){var a=o*this.optHeight*-1;this.velocity=0,this.update(a,ht,!0)}}}},{key:"render",value:function(){var t,i=this,n=this.col,r=Object(d.b)(this);return Object(c.j)(c.c,{class:(t={},e(t,r,!0),e(t,"picker-col",!0),e(t,"picker-opts-left","left"===this.col.align),e(t,"picker-opts-right","right"===this.col.align),t),style:{"max-width":this.col.columnWidth}},n.prefix&&Object(c.j)("div",{class:"picker-prefix",style:{width:n.prefixWidth}},n.prefix),Object(c.j)("div",{class:"picker-opts",style:{maxWidth:n.optionsWidth},ref:function(t){return i.optsEl=t}},n.options.map(function(t,e){return Object(c.j)("button",{type:"button",class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":e},t.text)})),n.suffix&&Object(c.j)("div",{class:"picker-suffix",style:{width:n.suffixWidth}},n.suffix))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{col:["colChanged"]}}}]),t}(),ct="picker-opt-selected",lt=.97,dt=90,ht=150;st.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{left:0;top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-col{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{left:0;top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-col{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}"}}}])}(); \ No newline at end of file +!function(){function t(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=r(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,c=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==i.return||i.return()}finally{if(c)throw a}}}}function e(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||r(t)||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.")}()}function r(t,e){if(t){if("string"==typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(D){c=function(t,e,i){return t[e]=i}}function l(t,e,i,r){var n=e&&e.prototype instanceof u?e:u,o=Object.create(n.prototype),a=new O(r||[]);return o._invoke=function(t,e,i){var r="suspendedStart";return function(n,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===n)throw o;return S()}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var s=x(a,i);if(s){if(s===h)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===r)throw r="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r="executing";var c=d(t,e,i);if("normal"===c.type){if(r=i.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r="completed",i.method="throw",i.arg=c.arg)}}}(t,i,a),o}function d(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(D){return{type:"throw",arg:D}}}t.wrap=l;var h={};function u(){}function p(){}function f(){}var m={};c(m,n,function(){return this});var g=Object.getPrototypeOf,v=g&&g(g(M([])));v&&v!==e&&i.call(v,n)&&(m=v);var b=f.prototype=u.prototype=Object.create(m);function k(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function y(t,e){function r(n,o,a,s){var c=d(t[n],t,o);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==typeof h&&i.call(h,"__await")?e.resolve(h.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(h).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}s(c.arg)}var n;this._invoke=function(t,i){function o(){return new e(function(e,n){r(t,i,e,n)})}return n=n?n.then(o,o):o()}}function x(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=d(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var n=r.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function M(t){if(t){var e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=f,c(b,"constructor",f),c(f,"constructor",p),p.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},k(y.prototype),c(y.prototype,a,function(){return this}),t.AsyncIterator=y,t.async=function(e,i,r,n,o){void 0===o&&(o=Promise);var a=new y(l(e,i,r,n),o);return t.isGeneratorFunction(i)?a:a.next().then(function(t){return t.done?t.value:a.next()})},k(b),c(b,s,"Generator"),c(b,n,function(){return this}),c(b,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var r=e.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=M,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(i,r){return a.type="throw",a.arg=t,e.next=i,r&&(e.method="next",e.arg=void 0),!!r}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),j(i),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var n=r.arg;j(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:M(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),h}},t}function a(t,e,i,r,n,o,a){try{var s=t[o](a),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(r,n)}function s(t){return function(){var e=this,i=arguments;return new Promise(function(r,n){var o=t.apply(e,i);function s(t){a(o,r,n,s,c,"next",t)}function c(t){a(o,r,n,s,c,"throw",t)}s(void 0)})}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,i){return e&&l(t.prototype,e),i&&l(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{WgF3:function(r,n,a){"use strict";a.r(n),a.d(n,"ion_datetime",function(){return Q}),a.d(n,"ion_picker",function(){return ot}),a.d(n,"ion_picker_column",function(){return ct});var l=a("wEJo"),h=a("E/Mt"),u=a("1vRN"),p=a("7OTs"),f=a("74mu"),m=a("meiF"),g=a("qULd");a("B4Jq");var v=function(t,e,i,r){if(t!==L&&t!==A){if(t===G)return void 0!==i&&void 0!==i.hour?i.hour<12?"AM":"PM":e?e.toUpperCase():"";if(t===q)return void 0!==i&&void 0!==i.hour?i.hour<12?"am":"pm":e||"";if(null==e)return"";if(t===I||t===P||t===H||t===V||t===B||t===J)return E(e);if(t===z)return F(e);if(t===T)return(r.monthNames?r.monthNames:R)[e-1];if(t===Y)return(r.monthShortNames?r.monthShortNames:X)[e-1];if(t===W||t===_){if(0===e)return"12";if(e>12&&(e-=12),t===W&&e<10)return"0"+e}return e.toString()}try{return e=new Date(i.year,i.month-1,i.day).getDay(),t===L?(r.dayNames?r.dayNames:Z)[e]:(r.dayShortNames?r.dayShortNames:$)[e]}catch(n){}},b=function(t,e,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return parseInt("1".concat(F(t)).concat(E(e)).concat(E(i)).concat(E(r)).concat(E(n)),10)},k=function(t){return b(t.year,t.month,t.day,t.hour,t.minute)},y=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,x=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,w=function(t){var e=null;if(null!=t&&""!==t&&((e=x.exec(t))?(e.unshift(void 0,void 0),e[2]=e[3]=void 0):e=y.exec(t)),null!==e){for(var i=1;i<8;i++)e[i]=void 0!==e[i]?parseInt(e[i],10):void 0;var r=0;return e[9]&&e[10]&&(r=60*parseInt(e[10],10),e[11]&&(r+=parseInt(e[11],10)),"-"===e[9]&&(r*=-1)),{year:e[1],month:e[2],day:e[3],hour:e[4],minute:e[5],second:e[6],millisecond:e[7],tzOffset:r}}},j=function(t,e){var i=new Date(t.toLocaleString("en-US",{timeZone:"utc"})),r=new Date(t.toLocaleString("en-US",{timeZone:e}));return i.getTime()-r.getTime()},O=function(t,e){return e===G||e===q?t.hour<12?"am":"pm":e===W||e===_?t.hour>12?t.hour-12:0===t.hour?12:t.hour:t[M(e)]},M=function(t){for(var e in U)if(U[e].f===t)return U[e].k},S=function(t){var e="";return void 0!==t.year?(e=F(t.year),void 0!==t.month&&(e+="-"+E(t.month),void 0!==t.day&&(e+="-"+E(t.day),void 0!==t.hour&&(e+="T".concat(E(t.hour),":").concat(E(t.minute),":").concat(E(t.second)),t.millisecond>0&&(e+="."+N(t.millisecond)),e+=void 0===t.tzOffset?"Z":(t.tzOffset>0?"+":"-")+E(Math.floor(Math.abs(t.tzOffset/60)))+":"+E(t.tzOffset%60))))):void 0!==t.hour&&(e=E(t.hour)+":"+E(t.minute),void 0!==t.second&&(e+=":"+E(t.second),void 0!==t.millisecond&&(e+="."+N(t.millisecond)))),e},D=function(t,e){var i;if(null!=t)return"string"==typeof t&&(t=t.replace(/\[|\]/g,"").split(",")),Array.isArray(t)&&(i=t.map(function(t){return t.toString().trim()})),void 0!==i&&0!==i.length||console.warn('Invalid "'.concat(e,'Names". Must be an array of strings, or a comma separated string.')),i},C=function(t,e){var i;return"string"==typeof t&&(t=t.replace(/\[|\]|\s/g,"").split(",")),0===(i=Array.isArray(t)?t.map(function(t){return parseInt(t,10)}).filter(isFinite):[t]).length&&console.warn('Invalid "'.concat(e,'Values". Must be an array of numbers, or a comma separated string of numbers.')),i},E=function(t){return("0"+(void 0!==t?Math.abs(t):"0")).slice(-2)},N=function(t){return("00"+(void 0!==t?Math.abs(t):"0")).slice(-3)},F=function(t){return("000"+(void 0!==t?Math.abs(t):"0")).slice(-4)},z="YYYY",I="YY",T="MMMM",Y="MMM",P="MM",L="DDDD",A="DDD",H="DD",V="HH",W="hh",_="h",B="mm",J="ss",G="A",q="a",U=[{f:z,k:"year"},{f:T,k:"month"},{f:L,k:"day"},{f:Y,k:"month"},{f:A,k:"day"},{f:I,k:"year"},{f:P,k:"month"},{f:H,k:"day"},{f:V,k:"hour"},{f:W,k:"hour"},{f:B,k:"minute"},{f:J,k:"second"},{f:"M",k:"month"},{f:"D",k:"day"},{f:"H",k:"hour"},{f:_,k:"hour"},{f:"m",k:"minute"},{f:"s",k:"second"},{f:G,k:"ampm"},{f:q,k:"ampm"}],Z=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],$=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],R=["January","February","March","April","May","June","July","August","September","October","November","December"],X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],K=[W,_,B,"m",J,"s"],Q=function(){function t(e){var i=this;c(this,t),Object(l.o)(this,e),this.ionCancel=Object(l.g)(this,"ionCancel",7),this.ionChange=Object(l.g)(this,"ionChange",7),this.ionFocus=Object(l.g)(this,"ionFocus",7),this.ionBlur=Object(l.g)(this,"ionBlur",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.inputId="ion-dt-"+it++,this.locale={},this.datetimeMin={},this.datetimeMax={},this.datetimeValue={},this.isExpanded=!1,this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.displayFormat="MMM D, YYYY",this.cancelText="Cancel",this.doneText="Done",this.onClick=function(){i.setFocus(),i.open()},this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}var r;return d(t,[{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.updateDatetimeValue(this.value),this.emitStyle(),this.ionChange.emit({value:this.value})}},{key:"componentWillLoad",value:function(){this.locale={monthNames:D(this.monthNames,"monthNames"),monthShortNames:D(this.monthShortNames,"monthShortNames"),dayNames:D(this.dayNames,"dayNames"),dayShortNames:D(this.dayShortNames,"dayShortNames")},this.updateDatetimeValue(this.value),this.emitStyle()}},{key:"open",value:(r=s(o().mark(function t(){var e,i,r=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.disabled&&!this.isExpanded){t.next=2;break}return t.abrupt("return");case 2:return e=this.generatePickerOptions(),t.next=5,p.m.create(e);case 5:return i=t.sent,this.isExpanded=!0,i.onDidDismiss().then(function(){r.isExpanded=!1,r.setFocus()}),Object(u.a)(i,"ionPickerColChange",function(){var t=s(o().mark(function t(e){var n,a;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.detail,(a={})[n.name]={value:n.options[n.selectedIndex].value},"ampm"!==n.name&&void 0!==r.datetimeValue.ampm&&(a.ampm={value:r.datetimeValue.ampm}),r.updateDatetimeValue(a),i.columns=r.generateColumns();case 2:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()),t.next=11,i.present();case 11:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,datetime:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"interactive-disabled":this.disabled})}},{key:"updateDatetimeValue",value:function(t){var e=this;!function(t,i,r){if(!i||"string"==typeof i){var n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";null==t&&(t=""),10!==t.length&&7!==t.length&&4!==t.length||(t+=" ");var i="string"==typeof t&&t.length>0?new Date(t):new Date,r=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e&&e.length>0?new Date(i.getTime()-j(r,e)):r}(i,e.displayTimezone);Number.isNaN(n.getTime())||(i=n.toISOString())}if(i&&""!==i){if("string"==typeof i){if(i=w(i))return Object.assign(t,i),!0}else{if(i.year||i.hour||i.month||i.day||i.minute||i.second){void 0!==i.ampm&&void 0!==i.hour&&(i.hour.value="pm"===i.ampm.value?12===i.hour.value?12:i.hour.value+12:12===i.hour.value?0:i.hour.value);for(var o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];t[s]=i[s].value}return!0}if(i.ampm)return i.hour={value:i.hour?i.hour.value:"pm"===i.ampm.value?t.hour<12?t.hour+12:t.hour:t.hour>=12?t.hour-12:t.hour},t.hour=i.hour.value,t.ampm=i.ampm.value,!0}console.warn('Error parsing date: "'.concat(i,'". Please provide a valid ISO 8601 datetime format: https://www.w3.org/TR/NOTE-datetime'))}else for(var c in t)t.hasOwnProperty(c)&&delete t[c]}(this.datetimeValue,t)}},{key:"generatePickerOptions",value:function(){var t=this,e=Object(h.b)(this);this.locale={monthNames:D(this.monthNames,"monthNames"),monthShortNames:D(this.monthShortNames,"monthShortNames"),dayNames:D(this.dayNames,"dayNames"),dayShortNames:D(this.dayShortNames,"dayShortNames")};var i=Object.assign(Object.assign({mode:e},this.pickerOptions),{columns:this.generateColumns()}),r=i.buttons;return r&&0!==r.length||(i.buttons=[{text:this.cancelText,role:"cancel",handler:function(){t.updateDatetimeValue(t.value),t.ionCancel.emit()}},{text:this.doneText,handler:function(e){t.updateDatetimeValue(e);var i=new Date(S(t.datetimeValue));t.datetimeValue.tzOffset=void 0!==t.displayTimezone&&t.displayTimezone.length>0?j(i,t.displayTimezone)/1e3/60*-1:-1*i.getTimezoneOffset(),t.value=S(t.datetimeValue)}}]),i}},{key:"generateColumns",value:function(){var t=this,e=this.pickerFormat||this.displayFormat||et;if(0===e.length)return[];this.calcMinMax(),-1===(e=e.replace("DDDD","{~}").replace("DDD","{~}")).indexOf("D")&&(e=e.replace("{~}","D"));var i=function(t){var e=[];t=t.replace(/[^\w\s]/gi," "),U.forEach(function(e){e.f.length>1&&t.indexOf(e.f)>-1&&t.indexOf(e.f+e.f.charAt(0))<0&&(t=t.replace(e.f," "+e.f+" "))});var i=t.split(" ").filter(function(t){return t.length>0});return i.forEach(function(t,r){U.forEach(function(n){if(t===n.f){if((t===G||t===q)&&(e.indexOf(_)<0&&e.indexOf(W)<0||-1===K.indexOf(i[r-1])))return;e.push(t)}})}),e}(e=e.replace(/{~}/g,"")).map(function(e){var i=M(e),r=(t[i+"Values"]?C(t[i+"Values"],i):function(t,e,i){var r=[];if(t===z||t===I){if(void 0===i.year||void 0===e.year)throw new Error("min and max year is undefined");for(var n=i.year;n>=e.year;n--)r.push(n)}else if(t===T||t===Y||t===P||"M"===t||t===W||t===_)for(var o=1;o<13;o++)r.push(o);else if(t===L||t===A||t===H||"D"===t)for(var a=1;a<32;a++)r.push(a);else if(t===V||"H"===t)for(var s=0;s<24;s++)r.push(s);else if(t===B||"m"===t)for(var c=0;c<60;c++)r.push(c);else if(t===J||"s"===t)for(var l=0;l<60;l++)r.push(l);else t!==G&&t!==q||r.push("am","pm");return r}(e,t.datetimeMin,t.datetimeMax)).map(function(i){return{value:i,text:v(e,i,void 0,t.locale)}}),n=function(t,e){var i=O(t,e);if(void 0!==i)return e!==G&&e!==q||(t.ampm=i),i;var r=w((new Date).toISOString());return O(r,e)}(t.datetimeValue,e),o=r.findIndex(function(t){return t.value===n});return{name:i,selectedIndex:o>=0?o:0,options:r}}),r=this.datetimeMin,n=this.datetimeMax;return["month","day","hour","minute"].filter(function(t){return!i.find(function(e){return e.name===t})}).forEach(function(t){r[t]=0,n[t]=0}),this.validateColumns(tt(i))}},{key:"validateColumns",value:function(t){var e=new Date,i=k(this.datetimeMin),r=k(this.datetimeMax),n=t.find(function(t){return"year"===t.name}),o=e.getFullYear();if(n){n.options.find(function(t){return t.value===e.getFullYear()})||(o=n.options[0].value);var a=n.selectedIndex;if(void 0!==a){var s=n.options[a];s&&(o=s.value)}}var c,l,d=this.validateColumn(t,"month",1,i,r,[o,0,0,0,0],[o,12,31,23,59]),h=4===(l=d)||6===l||9===l||11===l?30:2===l?(c=o)%4==0&&c%100!=0||c%400==0?29:28:31,u=this.validateColumn(t,"day",2,i,r,[o,d,0,0,0],[o,d,h,23,59]),p=this.validateColumn(t,"hour",3,i,r,[o,d,u,0,0],[o,d,u,23,59]);return this.validateColumn(t,"minute",4,i,r,[o,d,u,p,0],[o,d,u,p,59]),t}},{key:"calcMinMax",value:function(){var t=(new Date).getFullYear();if(void 0!==this.yearValues){var e=C(this.yearValues,"year");void 0===this.min&&(this.min=Math.min.apply(Math,i(e)).toString()),void 0===this.max&&(this.max=Math.max.apply(Math,i(e)).toString())}else void 0===this.min&&(this.min=(t-100).toString()),void 0===this.max&&(this.max=t.toString());var r=this.datetimeMin=w(this.min),n=this.datetimeMax=w(this.max);r.year=r.year||t,n.year=n.year||t,r.month=r.month||1,n.month=n.month||12,r.day=r.day||1,n.day=n.day||31,r.hour=r.hour||0,n.hour=void 0===n.hour?23:n.hour,r.minute=r.minute||0,n.minute=void 0===n.minute?59:n.minute,r.second=r.second||0,n.second=void 0===n.second?59:n.second,r.year>n.year&&(console.error("min.year > max.year"),r.year=n.year-100),r.year===n.year&&(r.month>n.month?(console.error("min.month > max.month"),r.month=1):r.month===n.month&&r.day>n.day&&(console.error("min.day > max.day"),r.day=1))}},{key:"validateColumn",value:function(t,e,i,r,n,o,a){var s=t.find(function(t){return t.name===e});if(!s)return 0;for(var c=o.slice(),l=a.slice(),d=s.options,h=d.length-1,p=0,f=0;f<d.length;f++){var m=d[f],g=m.value;c[i]=m.value,l[i]=m.value,(m.disabled=g<o[i]||g>a[i]||b(l[0],l[1],l[2],l[3],l[4])<r||b(c[0],c[1],c[2],c[3],c[4])>n)||(h=Math.min(h,f),p=Math.max(p,f))}var v=s.selectedIndex=Object(u.j)(h,s.selectedIndex,p),k=s.options[v];return k?k.value:0}},{key:"text",get:function(){if(null!=this.value&&0!==this.value.length)return function(t,e,i){if(void 0!==e){var r=[],n=!1;if(U.forEach(function(o,a){if(t.indexOf(o.f)>-1){var s="{"+a+"}",c=v(o.f,e[o.k],e,i);n||void 0===c||null==e[o.k]||(n=!0),r.push(s,c||""),t=t.replace(o.f,s)}}),n){for(var o=0;o<r.length;o+=2)t=t.replace(r[o],r[o+1]);return t}}}(this.displayFormat||this.pickerFormat||et,this.datetimeValue,this.locale)}},{key:"hasValue",value:function(){return void 0!==this.text}},{key:"setFocus",value:function(){this.buttonEl&&this.buttonEl.focus()}},{key:"render",value:function(){var t,i=this,r=this.inputId,n=this.text,o=this.disabled,a=this.readonly,s=this.isExpanded,c=this.el,d=this.placeholder,p=Object(h.b)(this),m=r+"-lbl",g=Object(u.h)(c),v=void 0===n&&null!=d,b=void 0===n?null!=d?d:"":n,k=void 0===n?null!=d?"placeholder":void 0:"text";return g&&(g.id=m),Object(u.e)(!0,c,this.name,this.value,this.disabled),Object(l.j)(l.c,{onClick:this.onClick,"aria-disabled":o?"true":null,"aria-expanded":""+s,"aria-haspopup":"true","aria-labelledby":m,class:(t={},e(t,p,!0),e(t,"datetime-disabled",o),e(t,"datetime-readonly",a),e(t,"datetime-placeholder",v),e(t,"in-item",Object(f.c)("ion-item",c)),t)},Object(l.j)("div",{class:"datetime-text",part:k},b),Object(l.j)("button",{type:"button",onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.disabled,ref:function(t){return i.buttonEl=t}}))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"],value:["valueChanged"]}}}]),t}(),tt=function(e){for(var i,r,n=[],o=0;o<e.length;o++){i=e[o],n.push(0);var a,s=t(i.options);try{for(s.s();!(a=s.n()).done;){(r=a.value.text.length)>n[o]&&(n[o]=r)}}catch(c){s.e(c)}finally{s.f()}}return 2===n.length?(r=Math.max(n[0],n[1]),e[0].align="right",e[1].align="left",e[0].optionsWidth=e[1].optionsWidth=17*r+"px"):3===n.length&&(r=Math.max(n[0],n[2]),e[0].align="right",e[1].columnWidth=17*n[1]+"px",e[0].optionsWidth=e[2].optionsWidth=17*r+"px",e[2].align="left"),e},et="MMM D, YYYY",it=0;Q.style={ios:":host{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;min-width:16px;min-height:1.2em;font-family:var(--ion-font-family, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static}:host(.datetime-placeholder){color:var(--placeholder-color)}:host(.datetime-disabled){opacity:0.3;pointer-events:none}:host(.datetime-readonly){pointer-events:none}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.datetime-text{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-ms-flex:1;flex:1;min-height:inherit;direction:ltr;overflow:inherit}[dir=rtl] .datetime-text,:host-context([dir=rtl]) .datetime-text{direction:rtl}:host{--placeholder-color:var(--ion-color-step-400, #999999);--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}",md:":host{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;min-width:16px;min-height:1.2em;font-family:var(--ion-font-family, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static}:host(.datetime-placeholder){color:var(--placeholder-color)}:host(.datetime-disabled){opacity:0.3;pointer-events:none}:host(.datetime-readonly){pointer-events:none}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.datetime-text{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-ms-flex:1;flex:1;min-height:inherit;direction:ltr;overflow:inherit}[dir=rtl] .datetime-text,:host-context([dir=rtl]) .datetime-text{direction:rtl}:host{--placeholder-color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:16px}"};var rt=function(t){var e=Object(m.a)(),i=Object(m.a)(),r=Object(m.a)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,r])},nt=function(t){var e=Object(m.a)(),i=Object(m.a)(),r=Object(m.a)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),r.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,r])},ot=function(){function t(e){var i=this;c(this,t),Object(l.o)(this,e),this.didPresent=Object(l.g)(this,"ionPickerDidPresent",7),this.willPresent=Object(l.g)(this,"ionPickerWillPresent",7),this.willDismiss=Object(l.g)(this,"ionPickerWillDismiss",7),this.didDismiss=Object(l.g)(this,"ionPickerDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.columns=[],this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.onBackdropTap=function(){i.dismiss(void 0,p.a)},this.dispatchCancelHandler=function(t){var e=t.detail.role;if(Object(p.j)(e)){var r=i.buttons.find(function(t){return"cancel"===t.role});i.callButtonHandler(r)}}}var i,r,n;return d(t,[{key:"connectedCallback",value:function(){Object(p.f)(this.el)}},{key:"present",value:(n=s(o().mark(function t(){var e=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(p.e)(this,"pickerEnter",rt,rt,void 0);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return e.dismiss()},this.duration));case 3:case"end":return t.stop()}},t,this)})),function(){return n.apply(this,arguments)})},{key:"dismiss",value:function(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(p.g)(this,t,e,"pickerLeave",nt,nt)}},{key:"onDidDismiss",value:function(){return Object(p.h)(this.el,"ionPickerDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(p.h)(this.el,"ionPickerWillDismiss")}},{key:"getColumn",value:function(t){return Promise.resolve(this.columns.find(function(e){return e.name===t}))}},{key:"buttonClick",value:(r=s(o().mark(function t(e){var i;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.role,!Object(p.j)(i)){t.next=5;break}t.t0=this.dismiss(void 0,i),t.next=13;break;case 5:return t.next=7,this.callButtonHandler(e);case 7:if(!t.sent){t.next=11;break}t.t1=this.dismiss(this.getSelected(),e.role),t.next=12;break;case 11:t.t1=Promise.resolve();case 12:t.t0=t.t1;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}},t,this)})),function(t){return r.apply(this,arguments)})},{key:"callButtonHandler",value:(i=s(o().mark(function t(e){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!e,t.t0){t.next=7;break}return t.t1=!1,t.next=5,Object(p.n)(e.handler,this.getSelected());case 5:t.t2=t.sent,t.t0=t.t1!==t.t2;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"getSelected",value:function(){var t={};return this.columns.forEach(function(e,i){var r=void 0!==e.selectedIndex?e.options[e.selectedIndex]:void 0;t[e.name]={text:r?r.text:void 0,value:r?r.value:void 0,columnIndex:i}}),t}},{key:"render",value:function(){var t,i=this,r=Object(h.b)(this);return Object(l.j)(l.c,{"aria-modal":"true",tabindex:"-1",class:Object.assign((t={},e(t,r,!0),e(t,"picker-"+r,!0),t),Object(f.b)(this.cssClass)),style:{zIndex:""+(2e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler},Object(l.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),Object(l.j)("div",{tabindex:"0"}),Object(l.j)("div",{class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},Object(l.j)("div",{class:"picker-toolbar"},this.buttons.map(function(t){return Object(l.j)("div",{class:at(t)},Object(l.j)("button",{type:"button",onClick:function(){return i.buttonClick(t)},class:st(t)},t.text))})),Object(l.j)("div",{class:"picker-columns"},Object(l.j)("div",{class:"picker-above-highlight"}),this.presented&&this.columns.map(function(t){return Object(l.j)("ion-picker-column",{col:t})}),Object(l.j)("div",{class:"picker-below-highlight"}))),Object(l.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(l.k)(this)}}]),t}(),at=function(t){var i;return e(i={},"picker-toolbar-"+t.role,void 0!==t.role),e(i,"picker-toolbar-button",!0),i},st=function(t){return Object.assign({"picker-button":!0,"ion-activatable":!0},Object(f.b)(t.cssClass))};ot.style={ios:".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1em;padding-right:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em}}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{left:0;top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-ios{left:0;top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}",md:".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1.1em;padding-right:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{padding-left:unset;padding-right:unset;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em}}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{left:0;top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-md{left:0;top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}"};var ct=function(){function t(e){c(this,t),Object(l.o)(this,e),this.ionPickerColChange=Object(l.g)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0}var i;return d(t,[{key:"colChanged",value:function(){this.refresh()}},{key:"connectedCallback",value:(i=s(o().mark(function t(){var e,i,r=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,i=.81,"ios"===Object(h.b)(this)&&(e=-.46,i=1),this.rotateFactor=e,this.scaleFactor=i,t.next=6,Promise.resolve().then(a.bind(null,"iWo5"));case 6:this.gesture=t.sent.createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:function(t){return r.onStart(t)},onMove:function(t){return r.onMove(t)},onEnd:function(t){return r.onEnd(t)}}),this.gesture.enable(),this.tmrId=setTimeout(function(){r.noAnimate=!1,r.refresh(!0)},250);case 9:case"end":return t.stop()}},t,this)})),function(){return i.apply(this,arguments)})},{key:"componentDidLoad",value:function(){var t=this.optsEl;t&&(this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0),this.refresh()}},{key:"disconnectedCallback",value:function(){cancelAnimationFrame(this.rafId),clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"emitColChange",value:function(){this.ionPickerColChange.emit(this.col)}},{key:"setSelected",value:function(t,e){var i=t>-1?-t*this.optHeight:0;this.velocity=0,cancelAnimationFrame(this.rafId),this.update(i,e,!0),this.emitColChange()}},{key:"update",value:function(t,e,i){if(this.optsEl){for(var r=0,n=0,o=this.col,a=this.rotateFactor,s=o.selectedIndex=this.indexForY(-t),c=0===e?"":e+"ms",l="scale(".concat(this.scaleFactor,")"),d=this.optsEl.children,h=0;h<d.length;h++){var u=d[h],p=o.options[h],f=h*this.optHeight+t,m="";if(0!==a){var v=f*a;Math.abs(v)<=90?(r=0,n=90,m="rotateX(".concat(v,"deg) ")):r=-9999}else n=0,r=f;var b=s===h;m+="translate3d(0px,".concat(r,"px,").concat(n,"px) "),1===this.scaleFactor||b||(m+=l),this.noAnimate?(p.duration=0,u.style.transitionDuration=""):e!==p.duration&&(p.duration=e,u.style.transitionDuration=c),m!==p.transform&&(p.transform=m,u.style.transform=m),b!==p.selected&&(p.selected=b,b?u.classList.add(lt):u.classList.remove(lt))}this.col.prevSelected=s,i&&(this.y=t),this.lastIndex!==s&&(Object(g.b)(),this.lastIndex=s)}}},{key:"decelerate",value:function(){var t=this;if(0!==this.velocity){this.velocity*=dt,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);var e=this.y+this.velocity;e>this.minY?(e=this.minY,this.velocity=0):e<this.maxY&&(e=this.maxY,this.velocity=0),this.update(e,0,!0),Math.round(e)%this.optHeight!=0||Math.abs(this.velocity)>1?this.rafId=requestAnimationFrame(function(){return t.decelerate()}):(this.velocity=0,this.emitColChange(),Object(g.e)())}else if(this.y%this.optHeight!=0){var i=Math.abs(this.y%this.optHeight);this.velocity=i>this.optHeight/2?1:-1,this.decelerate()}}},{key:"indexForY",value:function(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}},{key:"onStart",value:function(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation(),Object(g.a)(),cancelAnimationFrame(this.rafId);for(var e=this.col.options,i=e.length-1,r=0,n=0;n<e.length;n++)e[n].disabled||(i=Math.min(i,n),r=Math.max(r,n));this.minY=-i*this.optHeight,this.maxY=-r*this.optHeight}},{key:"onMove",value:function(t){t.event.cancelable&&t.event.preventDefault(),t.event.stopPropagation();var e=this.y+t.deltaY;e>this.minY?(e=Math.pow(e,.8),this.bounceFrom=e):e<this.maxY?(e+=Math.pow(this.maxY-e,.9),this.bounceFrom=e):this.bounceFrom=0,this.update(e,0,!1)}},{key:"onEnd",value:function(t){if(this.bounceFrom>0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=Object(u.j)(-ht,23*t.velocityY,ht),0===this.velocity&&0===t.deltaY){var e=t.event.target.closest(".picker-opt");e&&e.hasAttribute("opt-index")&&this.setSelected(parseInt(e.getAttribute("opt-index"),10),ut)}else{if(this.y+=t.deltaY,Math.abs(t.velocityY)<.05){var i=t.deltaY>0,r=Math.abs(this.y)%this.optHeight/this.optHeight;i&&r>.5?this.velocity=-1*Math.abs(this.velocity):!i&&r<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}},{key:"refresh",value:function(t){for(var e=this.col.options.length-1,i=0,r=this.col.options,n=0;n<r.length;n++)r[n].disabled||(e=Math.min(e,n),i=Math.max(i,n));if(0===this.velocity){var o=Object(u.j)(e,this.col.selectedIndex||0,i);if(this.col.prevSelected!==o||t){var a=o*this.optHeight*-1;this.velocity=0,this.update(a,ut,!0)}}}},{key:"render",value:function(){var t,i=this,r=this.col,n=Object(h.b)(this);return Object(l.j)(l.c,{class:(t={},e(t,n,!0),e(t,"picker-col",!0),e(t,"picker-opts-left","left"===this.col.align),e(t,"picker-opts-right","right"===this.col.align),t),style:{"max-width":this.col.columnWidth}},r.prefix&&Object(l.j)("div",{class:"picker-prefix",style:{width:r.prefixWidth}},r.prefix),Object(l.j)("div",{class:"picker-opts",style:{maxWidth:r.optionsWidth},ref:function(t){return i.optsEl=t}},r.options.map(function(t,e){return Object(l.j)("button",{type:"button",class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":e},t.text)})),r.suffix&&Object(l.j)("div",{class:"picker-suffix",style:{width:r.suffixWidth}},r.suffix))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{col:["colChanged"]}}}]),t}(),lt="picker-opt-selected",dt=.97,ht=90,ut=150;ct.style={ios:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{left:0;top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-col{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}",md:".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{left:0;top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.picker-col{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}"}}}])}(); \ No newline at end of file diff --git a/dist/24-es5.1bc04ec949731661cad0.js b/dist/24-es5.1bc04ec949731661cad0.js index 9237860ffe..8b6ec9517d 100644 --- a/dist/24-es5.1bc04ec949731661cad0.js +++ b/dist/24-es5.1bc04ec949731661cad0.js @@ -1 +1 @@ -!function(){function t(t,o,r){return o in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function o(t,o,r,i,n,a,e){try{var s=t[a](e),c=s.value}catch(l){return void r(l)}s.done?o(c):Promise.resolve(c).then(i,n)}function r(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function i(t,o){for(var r=0;r<o.length;r++){var i=o[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,o,r){return o&&i(t.prototype,o),r&&i(t,r),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{uQcF:function(i,a,e){"use strict";e.r(a),e.d(a,"ion_fab",function(){return b}),e.d(a,"ion_fab_button",function(){return d}),e.d(a,"ion_fab_list",function(){return u});var s=e("wEJo"),c=e("E/Mt"),l=e("74mu"),b=function(){function i(t){var o=this;r(this,i),Object(s.o)(this,t),this.edge=!1,this.activated=!1,this.onClick=function(){var t=!!o.el.querySelector("ion-fab-list"),r=o.getFab();t&&(!r||!r.disabled)&&(o.activated=!o.activated)}}var a,e;return n(i,[{key:"activatedChanged",value:function(){var t=this.activated,o=this.getFab();o&&(o.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(function(o){o.activated=t})}},{key:"componentDidLoad",value:function(){this.activated&&this.activatedChanged()}},{key:"close",value:(a=regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.activated=!1;case 1:case"end":return t.stop()}},t,this)}),e=function(){var t=this,r=arguments;return new Promise(function(i,n){var e=a.apply(t,r);function s(t){o(e,i,n,s,c,"next",t)}function c(t){o(e,i,n,s,c,"throw",t)}s(void 0)})},function(){return e.apply(this,arguments)})},{key:"getFab",value:function(){return this.el.querySelector("ion-fab-button")}},{key:"render",value:function(){var o,r=this.horizontal,i=this.vertical,n=this.edge,a=Object(c.b)(this);return Object(s.j)(s.c,{onClick:this.onClick,class:(o={},t(o,a,!0),t(o,"fab-horizontal-"+r,void 0!==r),t(o,"fab-vertical-"+i,void 0!==i),t(o,"fab-edge",n),o)},Object(s.j)("slot",null))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{activated:["activatedChanged"]}}}]),i}();b.style=":host{position:absolute;z-index:999}:host(.fab-horizontal-center){left:50%;margin-left:-28px}:host-context([dir=rtl]):host(.fab-horizontal-center),:host-context([dir=rtl]).fab-horizontal-center{left:unset;right:unset;right:50%}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-horizontal-center){margin-left:unset;-webkit-margin-start:-28px;margin-inline-start:-28px}}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:-28px}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:-28px}:host(.fab-vertical-center){margin-top:-28px;top:50%}";var d=function(){function o(t){var i=this;r(this,o),Object(s.o)(this,t),this.ionFocus=Object(s.g)(this,"ionFocus",7),this.ionBlur=Object(s.g)(this,"ionBlur",7),this.activated=!1,this.disabled=!1,this.routerDirection="forward",this.show=!1,this.translucent=!1,this.type="button",this.closeIcon="close",this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}return n(o,[{key:"render",value:function(){var o,r=this,i=this.el,n=this.disabled,a=this.color,e=this.href,b=this.activated,d=this.show,u=this.translucent,p=this.size,f=Object(l.c)("ion-fab-list",i),g=Object(c.b)(this),h=void 0===e?"button":"a",v="button"===h?{type:this.type}:{download:this.download,href:e,rel:this.rel,target:this.target};return Object(s.j)(s.c,{"aria-disabled":n?"true":null,class:Object(l.a)(a,(o={},t(o,g,!0),t(o,"fab-button-in-list",f),t(o,"fab-button-translucent-in-list",f&&u),t(o,"fab-button-close-active",b),t(o,"fab-button-show",d),t(o,"fab-button-disabled",n),t(o,"fab-button-translucent",u),t(o,"ion-activatable",!0),t(o,"ion-focusable",!0),t(o,"fab-button-"+p,void 0!==p),o))},Object(s.j)(h,Object.assign({},v,{class:"button-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur,onClick:function(t){return Object(l.d)(e,t,r.routerDirection,r.routerAnimation)}}),Object(s.j)("ion-icon",{icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),Object(s.j)("span",{class:"button-inner"},Object(s.j)("slot",null)),"md"===g&&Object(s.j)("ion-ripple-effect",null)))}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}();d.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){margin-left:8px;margin-right:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-button-small){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px}}.close-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.close-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){margin-left:8px;margin-right:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-button-small){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px}}.close-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.close-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};var u=function(){function o(t){r(this,o),Object(s.o)(this,t),this.activated=!1,this.side="bottom"}return n(o,[{key:"activatedChanged",value:function(t){var o=Array.from(this.el.querySelectorAll("ion-fab-button")),r=t?30:0;o.forEach(function(o,i){setTimeout(function(){return o.show=t},i*r)})}},{key:"render",value:function(){var o,r=Object(c.b)(this);return Object(s.j)(s.c,{class:(o={},t(o,r,!0),t(o,"fab-list-active",this.activated),t(o,"fab-list-side-"+this.side,!0),o)},Object(s.j)("slot",null))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{activated:["activatedChanged"]}}}]),o}();u.style=":host{margin-left:0;margin-right:0;margin-top:66px;margin-bottom:66px;display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){margin-left:5px;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){margin-left:66px;margin-right:66px;margin-top:0;margin-bottom:0;right:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-start){margin-left:unset;margin-right:unset;-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px}}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}:host(.fab-list-side-end){margin-left:66px;margin-right:66px;margin-top:0;margin-bottom:0;left:0;-ms-flex-direction:row;flex-direction:row}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-end){margin-left:unset;margin-right:unset;-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px}}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}"}}])}(); \ No newline at end of file +!function(){function t(t,o,r){return o in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return t};var t={},r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},e=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,o,r){return Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{c({},"")}catch(E){c=function(t,o,r){return t[o]=r}}function l(t,o,r,n){var i=o&&o.prototype instanceof b?o:b,e=Object.create(i.prototype),a=new z(n||[]);return e._invoke=function(t,o,r){var n="suspendedStart";return function(i,e){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw e;return L()}for(r.method=i,r.arg=e;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=d(t,o,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),e}function d(t,o,r){try{return{type:"normal",arg:t.call(o,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var u={};function b(){}function f(){}function h(){}var p={};c(p,e,function(){return this});var g=Object.getPrototypeOf,v=g&&g(g(O([])));v&&v!==r&&n.call(v,e)&&(p=v);var m=h.prototype=b.prototype=Object.create(p);function y(t){["next","throw","return"].forEach(function(o){c(t,o,function(t){return this._invoke(o,t)})})}function k(t,o){function r(i,e,a,s){var c=d(t[i],t,e);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?o.resolve(u.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):o.resolve(u).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}s(c.arg)}var i;this._invoke=function(t,n){function e(){return new o(function(o,i){r(t,n,o,i)})}return i=i?i.then(e,e):e()}}function x(t,o){var r=t.iterator[o.method];if(void 0===r){if(o.delegate=null,"throw"===o.method){if(t.iterator.return&&(o.method="return",o.arg=void 0,x(t,o),"throw"===o.method))return u;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=d(r,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,u;var i=n.arg;return i?i.done?(o[t.resultName]=i.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=void 0),o.delegate=null,u):i:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,u)}function w(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function j(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function z(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function O(t){if(t){var o=t[e];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function o(){for(;++r<t.length;)if(n.call(t,r))return o.value=t[r],o.done=!1,o;return o.value=void 0,o.done=!0,o};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return f.prototype=h,c(m,"constructor",h),c(h,"constructor",f),f.displayName=c(h,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===f||"GeneratorFunction"===(o.displayName||o.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,s,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},y(k.prototype),c(k.prototype,a,function(){return this}),t.AsyncIterator=k,t.async=function(o,r,n,i,e){void 0===e&&(e=Promise);var a=new k(l(o,r,n,i),e);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},y(m),c(m,s,"Generator"),c(m,e,function(){return this}),c(m,"toString",function(){return"[object Generator]"}),t.keys=function(t){var o=[];for(var r in t)o.push(r);return o.reverse(),function r(){for(;o.length;){var n=o.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,z.prototype={constructor:z,reset:function(t){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(j),!t)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function r(r,n){return a.type="throw",a.arg=t,o.next=r,n&&(o.method="next",o.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i],a=e.completion;if("root"===e.tryLoc)return r("end");if(e.tryLoc<=this.prev){var s=n.call(e,"catchLoc"),c=n.call(e,"finallyLoc");if(s&&c){if(this.prev<e.catchLoc)return r(e.catchLoc,!0);if(this.prev<e.finallyLoc)return r(e.finallyLoc)}else if(s){if(this.prev<e.catchLoc)return r(e.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<e.finallyLoc)return r(e.finallyLoc)}}}},abrupt:function(t,o){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var e=i;break}}e&&("break"===t||"continue"===t)&&e.tryLoc<=o&&o<=e.finallyLoc&&(e=null);var a=e?e.completion:{};return a.type=t,a.arg=o,e?(this.method="next",this.next=e.finallyLoc,u):this.complete(a)},complete:function(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),u},finish:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),u}},catch:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;j(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:O(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function r(t,o,r,n,i,e,a){try{var s=t[e](a),c=s.value}catch(l){return void r(l)}s.done?o(c):Promise.resolve(c).then(n,i)}function n(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function i(t,o){for(var r=0;r<o.length;r++){var n=o[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function e(t,o,r){return o&&i(t.prototype,o),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{uQcF:function(i,a,s){"use strict";s.r(a),s.d(a,"ion_fab",function(){return u}),s.d(a,"ion_fab_button",function(){return b}),s.d(a,"ion_fab_list",function(){return f});var c=s("wEJo"),l=s("E/Mt"),d=s("74mu"),u=function(){function i(t){var o=this;n(this,i),Object(c.o)(this,t),this.edge=!1,this.activated=!1,this.onClick=function(){var t=!!o.el.querySelector("ion-fab-list"),r=o.getFab();t&&(!r||!r.disabled)&&(o.activated=!o.activated)}}var a,s;return e(i,[{key:"activatedChanged",value:function(){var t=this.activated,o=this.getFab();o&&(o.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(function(o){o.activated=t})}},{key:"componentDidLoad",value:function(){this.activated&&this.activatedChanged()}},{key:"close",value:(a=o().mark(function t(){return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.activated=!1;case 1:case"end":return t.stop()}},t,this)}),s=function(){var t=this,o=arguments;return new Promise(function(n,i){var e=a.apply(t,o);function s(t){r(e,n,i,s,c,"next",t)}function c(t){r(e,n,i,s,c,"throw",t)}s(void 0)})},function(){return s.apply(this,arguments)})},{key:"getFab",value:function(){return this.el.querySelector("ion-fab-button")}},{key:"render",value:function(){var o,r=this.horizontal,n=this.vertical,i=this.edge,e=Object(l.b)(this);return Object(c.j)(c.c,{onClick:this.onClick,class:(o={},t(o,e,!0),t(o,"fab-horizontal-"+r,void 0!==r),t(o,"fab-vertical-"+n,void 0!==n),t(o,"fab-edge",i),o)},Object(c.j)("slot",null))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{activated:["activatedChanged"]}}}]),i}();u.style=":host{position:absolute;z-index:999}:host(.fab-horizontal-center){left:50%;margin-left:-28px}:host-context([dir=rtl]):host(.fab-horizontal-center),:host-context([dir=rtl]).fab-horizontal-center{left:unset;right:unset;right:50%}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-horizontal-center){margin-left:unset;-webkit-margin-start:-28px;margin-inline-start:-28px}}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:-28px}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:-28px}:host(.fab-vertical-center){margin-top:-28px;top:50%}";var b=function(){function o(t){var r=this;n(this,o),Object(c.o)(this,t),this.ionFocus=Object(c.g)(this,"ionFocus",7),this.ionBlur=Object(c.g)(this,"ionBlur",7),this.activated=!1,this.disabled=!1,this.routerDirection="forward",this.show=!1,this.translucent=!1,this.type="button",this.closeIcon="close",this.onFocus=function(){r.ionFocus.emit()},this.onBlur=function(){r.ionBlur.emit()}}return e(o,[{key:"render",value:function(){var o,r=this,n=this.el,i=this.disabled,e=this.color,a=this.href,s=this.activated,u=this.show,b=this.translucent,f=this.size,h=Object(d.c)("ion-fab-list",n),p=Object(l.b)(this),g=void 0===a?"button":"a",v="button"===g?{type:this.type}:{download:this.download,href:a,rel:this.rel,target:this.target};return Object(c.j)(c.c,{"aria-disabled":i?"true":null,class:Object(d.a)(e,(o={},t(o,p,!0),t(o,"fab-button-in-list",h),t(o,"fab-button-translucent-in-list",h&&b),t(o,"fab-button-close-active",s),t(o,"fab-button-show",u),t(o,"fab-button-disabled",i),t(o,"fab-button-translucent",b),t(o,"ion-activatable",!0),t(o,"ion-focusable",!0),t(o,"fab-button-"+f,void 0!==f),o))},Object(c.j)(g,Object.assign({},v,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur,onClick:function(t){return Object(d.d)(a,t,r.routerDirection,r.routerAnimation)}}),Object(c.j)("ion-icon",{icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),Object(c.j)("span",{class:"button-inner"},Object(c.j)("slot",null)),"md"===p&&Object(c.j)("ion-ripple-effect",null)))}},{key:"el",get:function(){return Object(c.k)(this)}}]),o}();b.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){margin-left:8px;margin-right:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-button-small){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px}}.close-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.close-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){margin-left:8px;margin-right:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-button-small){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px}}.close-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.close-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};var f=function(){function o(t){n(this,o),Object(c.o)(this,t),this.activated=!1,this.side="bottom"}return e(o,[{key:"activatedChanged",value:function(t){var o=Array.from(this.el.querySelectorAll("ion-fab-button")),r=t?30:0;o.forEach(function(o,n){setTimeout(function(){return o.show=t},n*r)})}},{key:"render",value:function(){var o,r=Object(l.b)(this);return Object(c.j)(c.c,{class:(o={},t(o,r,!0),t(o,"fab-list-active",this.activated),t(o,"fab-list-side-"+this.side,!0),o)},Object(c.j)("slot",null))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{activated:["activatedChanged"]}}}]),o}();f.style=":host{margin-left:0;margin-right:0;margin-top:66px;margin-bottom:66px;display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){margin-left:5px;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){margin-left:66px;margin-right:66px;margin-top:0;margin-bottom:0;right:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-start){margin-left:unset;margin-right:unset;-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px}}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}:host(.fab-list-side-end){margin-left:66px;margin-right:66px;margin-top:0;margin-bottom:0;left:0;-ms-flex-direction:row;flex-direction:row}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-list-side-end){margin-left:unset;margin-right:unset;-webkit-margin-start:66px;margin-inline-start:66px;-webkit-margin-end:66px;margin-inline-end:66px}}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}"}}])}(); \ No newline at end of file diff --git a/dist/25-es5.a7996aff995c413acf63.js b/dist/25-es5.a7996aff995c413acf63.js index 3436e35781..492c716297 100644 --- a/dist/25-es5.a7996aff995c413acf63.js +++ b/dist/25-es5.a7996aff995c413acf63.js @@ -1 +1 @@ -!function(){function i(i,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{wHD8:function(t,o,n){"use strict";n.r(o),n.d(o,"ion_img",function(){return s});var e=n("wEJo"),r=n("E/Mt"),s=function(){function t(i){var o=this;!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Object(e.o)(this,i),this.ionImgWillLoad=Object(e.g)(this,"ionImgWillLoad",7),this.ionImgDidLoad=Object(e.g)(this,"ionImgDidLoad",7),this.ionError=Object(e.g)(this,"ionError",7),this.onLoad=function(){o.ionImgDidLoad.emit()},this.onError=function(){o.ionError.emit()}}var o,n,s;return o=t,s=[{key:"watchers",get:function(){return{src:["srcChanged"]}}}],(n=[{key:"srcChanged",value:function(){this.addIO()}},{key:"componentDidLoad",value:function(){this.addIO()}},{key:"addIO",value:function(){var i=this;void 0!==this.src&&("undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(function(t){t[0].isIntersecting&&(i.load(),i.removeIO())}),this.io.observe(this.el)):setTimeout(function(){return i.load()},200))}},{key:"load",value:function(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}},{key:"removeIO",value:function(){this.io&&(this.io.disconnect(),this.io=void 0)}},{key:"render",value:function(){return Object(e.j)(e.c,{class:Object(r.b)(this)},Object(e.j)("img",{decoding:"async",src:this.loadSrc,alt:this.alt,onLoad:this.onLoad,onError:this.loadError,part:"image"}))}},{key:"el",get:function(){return Object(e.k)(this)}}])&&i(o.prototype,n),s&&i(o,s),t}();s.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}])}(); \ No newline at end of file +!function(){function i(i,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{wHD8:function(t,o,n){"use strict";n.r(o),n.d(o,"ion_img",function(){return s});var e=n("wEJo"),r=n("E/Mt"),s=function(){function t(i){var o=this;!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Object(e.o)(this,i),this.ionImgWillLoad=Object(e.g)(this,"ionImgWillLoad",7),this.ionImgDidLoad=Object(e.g)(this,"ionImgDidLoad",7),this.ionError=Object(e.g)(this,"ionError",7),this.onLoad=function(){o.ionImgDidLoad.emit()},this.onError=function(){o.ionError.emit()}}var o,n,s;return o=t,s=[{key:"watchers",get:function(){return{src:["srcChanged"]}}}],(n=[{key:"srcChanged",value:function(){this.addIO()}},{key:"componentDidLoad",value:function(){this.addIO()}},{key:"addIO",value:function(){var i=this;void 0!==this.src&&("undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(function(t){t[0].isIntersecting&&(i.load(),i.removeIO())}),this.io.observe(this.el)):setTimeout(function(){return i.load()},200))}},{key:"load",value:function(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}},{key:"removeIO",value:function(){this.io&&(this.io.disconnect(),this.io=void 0)}},{key:"render",value:function(){return Object(e.j)(e.c,{class:Object(r.b)(this)},Object(e.j)("img",{decoding:"async",src:this.loadSrc,alt:this.alt,onLoad:this.onLoad,onError:this.loadError,part:"image"}))}},{key:"el",get:function(){return Object(e.k)(this)}}])&&i(o.prototype,n),s&&i(o,s),Object.defineProperty(o,"prototype",{writable:!1}),t}();s.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}])}(); \ No newline at end of file diff --git a/dist/26-es5.64889bc57c6f4a460208.js b/dist/26-es5.64889bc57c6f4a460208.js index f15580cee4..0fbbb79b62 100644 --- a/dist/26-es5.64889bc57c6f4a460208.js +++ b/dist/26-es5.64889bc57c6f4a460208.js @@ -1 +1 @@ -!function(){function n(n,i,e){return i in n?Object.defineProperty(n,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[i]=e,n}function i(n,i,e,t,r,o,s){try{var l=n[o](s),c=l.value}catch(a){return void e(a)}l.done?i(c):Promise.resolve(c).then(t,r)}function e(n){return function(){var e=this,t=arguments;return new Promise(function(r,o){var s=n.apply(e,t);function l(n){i(s,r,o,l,c,"next",n)}function c(n){i(s,r,o,l,c,"throw",n)}l(void 0)})}}function t(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function r(n,i){for(var e=0;e<i.length;e++){var t=i[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function o(n,i,e){return i&&r(n.prototype,i),e&&r(n,e),n}(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{"2lz6":function(i,r,s){"use strict";s.r(r),s.d(r,"ion_infinite_scroll",function(){return d}),s.d(r,"ion_infinite_scroll_content",function(){return f});var l=s("wEJo"),c=s("E/Mt"),a=s("39oe"),d=function(){function i(n){var e=this;t(this,i),Object(l.o)(this,n),this.ionInfinite=Object(l.g)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=function(){var n=e.scrollEl;if(!n||!e.canStart())return 1;var i=e.el.offsetHeight;if(0===i)return 2;var t=n.scrollTop,r=n.offsetHeight,o=0!==e.thrPc?r*e.thrPc:e.thrPx;if(("bottom"===e.position?n.scrollHeight-i-t-o-r:t-i-o)<0){if(!e.didFire)return e.isLoading=!0,e.didFire=!0,e.ionInfinite.emit(),3}else e.didFire=!1;return 4}}var r,s;return o(i,[{key:"thresholdChanged",value:function(){var n=this.threshold;n.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(n)/100):(this.thrPx=parseFloat(n),this.thrPc=0)}},{key:"disabledChanged",value:function(){var n=this.disabled;n&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!n)}},{key:"connectedCallback",value:(s=e(regeneratorRuntime.mark(function n(){var i,e=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(i=this.el.closest("ion-content"))){n.next=10;break}return n.next=4,i.getScrollElement();case 4:this.scrollEl=n.sent,this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&Object(l.f)(function(){e.scrollEl&&(e.scrollEl.scrollTop=e.scrollEl.scrollHeight-e.scrollEl.clientHeight)}),n.next=11;break;case 10:console.error("<ion-infinite-scroll> must be used inside an <ion-content>");case 11:case"end":return n.stop()}},n,this)})),function(){return s.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.enableScrollEvents(!1),this.scrollEl=void 0}},{key:"complete",value:(r=e(regeneratorRuntime.mark(function n(){var i,e,t=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:i=this.scrollEl,this.isLoading&&i&&(this.isLoading=!1,"top"===this.position)&&(this.isBusy=!0,e=i.scrollHeight-i.scrollTop,requestAnimationFrame(function(){Object(l.h)(function(){var n=i.scrollHeight-e;requestAnimationFrame(function(){Object(l.f)(function(){i.scrollTop=n,t.isBusy=!1})})})}));case 2:case"end":return n.stop()}},n,this)})),function(){return r.apply(this,arguments)})},{key:"canStart",value:function(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}},{key:"enableScrollEvents",value:function(n){this.scrollEl&&(n?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}},{key:"render",value:function(){var i,e=Object(c.b)(this),t=this.disabled;return Object(l.j)(l.c,{class:(i={},n(i,e,!0),n(i,"infinite-scroll-loading",this.isLoading),n(i,"infinite-scroll-enabled",!t),i)})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}}]),i}();d.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";var f=function(){function i(n){t(this,i),Object(l.o)(this,n)}return o(i,[{key:"componentDidLoad",value:function(){if(void 0===this.loadingSpinner){var n=Object(c.b)(this);this.loadingSpinner=c.c.get("infiniteLoadingSpinner",c.c.get("spinner","ios"===n?"lines":"crescent"))}}},{key:"render",value:function(){var i,e=Object(c.b)(this);return Object(l.j)(l.c,{class:(i={},n(i,e,!0),n(i,"infinite-scroll-content-"+e,!0),i)},Object(l.j)("div",{class:"infinite-loading"},this.loadingSpinner&&Object(l.j)("div",{class:"infinite-loading-spinner"},Object(l.j)("ion-spinner",{name:this.loadingSpinner})),this.loadingText&&Object(l.j)("div",{class:"infinite-loading-text",innerHTML:Object(a.a)(this.loadingText)})))}}]),i}();f.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}])}(); \ No newline at end of file +!function(){function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function a(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{a({},"")}catch(S){a=function(t,n,e){return t[n]=e}}function c(t,n,e,i){var r=n&&n.prototype instanceof h?n:h,o=Object.create(r.prototype),s=new L(i||[]);return o._invoke=function(t,n,e){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return O()}for(e.method=r,e.arg=o;;){var s=e.delegate;if(s){var l=w(s,e);if(l){if(l===f)continue;return l}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===i)throw i="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i="executing";var a=u(t,n,e);if("normal"===a.type){if(i=e.done?"completed":"suspendedYield",a.arg===f)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(i="completed",e.method="throw",e.arg=a.arg)}}}(t,e,s),o}function u(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(S){return{type:"throw",arg:S}}}t.wrap=c;var f={};function h(){}function d(){}function p(){}var g={};a(g,o,function(){return this});var m=Object.getPrototypeOf,v=m&&m(m(j([])));v&&v!==e&&i.call(v,o)&&(g=v);var y=p.prototype=h.prototype=Object.create(g);function b(t){["next","throw","return"].forEach(function(n){a(t,n,function(t){return this._invoke(n,t)})})}function x(t,n){function e(r,o,s,l){var a=u(t[r],t,o);if("throw"!==a.type){var c=a.arg,f=c.value;return f&&"object"==typeof f&&i.call(f,"__await")?n.resolve(f.__await).then(function(t){e("next",t,s,l)},function(t){e("throw",t,s,l)}):n.resolve(f).then(function(t){c.value=t,s(c)},function(t){return e("throw",t,s,l)})}l(a.arg)}var r;this._invoke=function(t,i){function o(){return new n(function(n,r){e(t,i,n,r)})}return r=r?r.then(o,o):o()}}function w(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,w(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var i=u(e,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var r=i.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function k(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function E(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(i.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,a(y,"constructor",p),a(p,"constructor",d),d.displayName=a(p,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===d||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,a(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(x.prototype),a(x.prototype,s,function(){return this}),t.AsyncIterator=x,t.async=function(n,e,i,r,o){void 0===o&&(o=Promise);var s=new x(c(n,e,i,r),o);return t.isGeneratorFunction(e)?s:s.next().then(function(t){return t.done?t.value:s.next()})},b(y),a(y,l,"Generator"),a(y,o,function(){return this}),a(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=j,L.prototype={constructor:L,reset:function(t){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(E),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return s.type="throw",s.arg=t,n.next=e,i&&(n.method="next",n.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),a=i.call(o,"finallyLoc");if(l&&a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=n,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(s)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),f},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),E(e),f}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var i=e.completion;if("throw"===i.type){var r=i.arg;E(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:j(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}},t}function e(t,n,e,i,r,o,s){try{var l=t[o](s),a=l.value}catch(c){return void e(c)}l.done?n(a):Promise.resolve(a).then(i,r)}function i(t){return function(){var n=this,i=arguments;return new Promise(function(r,o){var s=t.apply(n,i);function l(t){e(s,r,o,l,a,"next",t)}function a(t){e(s,r,o,l,a,"throw",t)}l(void 0)})}}function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,n,e){return n&&o(t.prototype,n),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{"2lz6":function(e,o,l){"use strict";l.r(o),l.d(o,"ion_infinite_scroll",function(){return f}),l.d(o,"ion_infinite_scroll_content",function(){return h});var a=l("wEJo"),c=l("E/Mt"),u=l("39oe"),f=function(){function e(t){var n=this;r(this,e),Object(a.o)(this,t),this.ionInfinite=Object(a.g)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=function(){var t=n.scrollEl;if(!t||!n.canStart())return 1;var e=n.el.offsetHeight;if(0===e)return 2;var i=t.scrollTop,r=t.offsetHeight,o=0!==n.thrPc?r*n.thrPc:n.thrPx;if(("bottom"===n.position?t.scrollHeight-e-i-o-r:i-e-o)<0){if(!n.didFire)return n.isLoading=!0,n.didFire=!0,n.ionInfinite.emit(),3}else n.didFire=!1;return 4}}var o,l;return s(e,[{key:"thresholdChanged",value:function(){var t=this.threshold;t.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(t)/100):(this.thrPx=parseFloat(t),this.thrPc=0)}},{key:"disabledChanged",value:function(){var t=this.disabled;t&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!t)}},{key:"connectedCallback",value:(l=i(n().mark(function t(){var e,i=this;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this.el.closest("ion-content"))){t.next=10;break}return t.next=4,e.getScrollElement();case 4:this.scrollEl=t.sent,this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&Object(a.f)(function(){i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)}),t.next=11;break;case 10:console.error("<ion-infinite-scroll> must be used inside an <ion-content>");case 11:case"end":return t.stop()}},t,this)})),function(){return l.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.enableScrollEvents(!1),this.scrollEl=void 0}},{key:"complete",value:(o=i(n().mark(function t(){var e,i,r=this;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=this.scrollEl,this.isLoading&&e&&(this.isLoading=!1,"top"===this.position)&&(this.isBusy=!0,i=e.scrollHeight-e.scrollTop,requestAnimationFrame(function(){Object(a.h)(function(){var t=e.scrollHeight-i;requestAnimationFrame(function(){Object(a.f)(function(){e.scrollTop=t,r.isBusy=!1})})})}));case 2:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"canStart",value:function(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}},{key:"enableScrollEvents",value:function(t){this.scrollEl&&(t?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}},{key:"render",value:function(){var n,e=Object(c.b)(this),i=this.disabled;return Object(a.j)(a.c,{class:(n={},t(n,e,!0),t(n,"infinite-scroll-loading",this.isLoading),t(n,"infinite-scroll-enabled",!i),n)})}},{key:"el",get:function(){return Object(a.k)(this)}}],[{key:"watchers",get:function(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}}]),e}();f.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";var h=function(){function n(t){r(this,n),Object(a.o)(this,t)}return s(n,[{key:"componentDidLoad",value:function(){if(void 0===this.loadingSpinner){var t=Object(c.b)(this);this.loadingSpinner=c.c.get("infiniteLoadingSpinner",c.c.get("spinner","ios"===t?"lines":"crescent"))}}},{key:"render",value:function(){var n,e=Object(c.b)(this);return Object(a.j)(a.c,{class:(n={},t(n,e,!0),t(n,"infinite-scroll-content-"+e,!0),n)},Object(a.j)("div",{class:"infinite-loading"},this.loadingSpinner&&Object(a.j)("div",{class:"infinite-loading-spinner"},Object(a.j)("ion-spinner",{name:this.loadingSpinner})),this.loadingText&&Object(a.j)("div",{class:"infinite-loading-text",innerHTML:Object(u.a)(this.loadingText)})))}}]),n}();h.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}])}(); \ No newline at end of file diff --git a/dist/27-es5.20e1bf7135ea963f9f99.js b/dist/27-es5.20e1bf7135ea963f9f99.js index 9f79240875..72bbf46389 100644 --- a/dist/27-es5.20e1bf7135ea963f9f99.js +++ b/dist/27-es5.20e1bf7135ea963f9f99.js @@ -1 +1 @@ -!function(){function t(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function i(t,i,n,e,o,a,r){try{var l=t[a](r),s=l.value}catch(p){return void n(p)}l.done?i(s):Promise.resolve(s).then(e,o)}function n(t){return function(){var n=this,e=arguments;return new Promise(function(o,a){var r=t.apply(n,e);function l(t){i(r,o,a,l,s,"next",t)}function s(t){i(r,o,a,l,s,"throw",t)}l(void 0)})}}function e(t,i){for(var n=0;n<i.length;n++){var e=i[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{ercB:function(i,o,a){"use strict";a.r(o),a.d(o,"ion_input",function(){return c});var r=a("wEJo"),l=a("E/Mt"),s=a("1vRN"),p=a("74mu"),c=function(){function i(t){var n=this;!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,i),Object(r.o)(this,t),this.ionInput=Object(r.g)(this,"ionInput",7),this.ionChange=Object(r.g)(this,"ionChange",7),this.ionBlur=Object(r.g)(this,"ionBlur",7),this.ionFocus=Object(r.g)(this,"ionFocus",7),this.ionStyle=Object(r.g)(this,"ionStyle",7),this.inputId="ion-input-"+d++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.type="text",this.value="",this.onInput=function(t){var i=t.target;i&&(n.value=i.value||""),n.ionInput.emit(t)},this.onBlur=function(t){n.hasFocus=!1,n.focusChanged(),n.emitStyle(),n.fireFocusEvents&&n.ionBlur.emit(t)},this.onFocus=function(t){n.hasFocus=!0,n.focusChanged(),n.emitStyle(),n.fireFocusEvents&&n.ionFocus.emit(t)},this.onKeydown=function(t){n.shouldClearOnEdit()&&(n.didBlurAfterEdit&&n.hasValue()&&"Enter"!==t.key&&n.clearTextInput(),n.didBlurAfterEdit=!1)},this.clearTextOnEnter=function(t){"Enter"===t.key&&n.clearTextInput(t)},this.clearTextInput=function(t){n.clearInput&&!n.readonly&&!n.disabled&&t&&(t.preventDefault(),t.stopPropagation(),n.setFocus()),n.value="",n.nativeInput&&(n.nativeInput.value="")}}var o,a,c,u,h;return o=i,a=[{key:"debounceChanged",value:function(){this.ionChange=Object(s.f)(this.ionChange,this.debounce)}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"placeholderChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.emitStyle(),this.ionChange.emit({value:null==this.value?this.value:this.value.toString()})}},{key:"componentWillLoad",value:function(){this.inheritedAttributes=Object(s.i)(this.el,["tabindex","title"])}},{key:"connectedCallback",value:function(){this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}},{key:"disconnectedCallback",value:function(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el}))}},{key:"setFocus",value:(h=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return t.stop()}},t,this)})),function(){return h.apply(this,arguments)})},{key:"setBlur",value:(u=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.blur();case 1:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"shouldClearOnEdit",value:function(){var t=this.type,i=this.clearOnEdit;return void 0===i?"password"===t:i}},{key:"getValue",value:function(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled})}},{key:"focusChanged",value:function(){!this.hasFocus&&this.shouldClearOnEdit()&&this.hasValue()&&(this.didBlurAfterEdit=!0)}},{key:"hasValue",value:function(){return this.getValue().length>0}},{key:"render",value:function(){var i,n=this,e=Object(l.b)(this),o=this.getValue(),a=this.inputId+"-lbl",c=Object(s.h)(this.el);return c&&(c.id=a),Object(r.j)(r.c,{"aria-disabled":this.disabled?"true":null,class:Object(p.a)(this.color,(i={},t(i,e,!0),t(i,"has-value",this.hasValue()),t(i,"has-focus",this.hasFocus),i))},Object(r.j)("input",Object.assign({class:"native-input",ref:function(t){return n.nativeInput=t},"aria-labelledby":a,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:o,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&Object(r.j)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onTouchStart:this.clearTextInput,onMouseDown:this.clearTextInput,onKeyDown:this.clearTextOnEnter}))}},{key:"el",get:function(){return Object(r.k)(this)}}],c=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}}],a&&e(o.prototype,a),c&&e(o,c),i}(),d=0;c.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-ios-h{--padding-start:0}.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.native-input.sc-ion-input-ios{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.native-input[disabled].sc-ion-input-ios{opacity:0.4}.cloned-input.sc-ion-input-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><path%20fill='var(--ion-color-step-600,%20%23666666)'%20d='M403.1,108.9c-81.2-81.2-212.9-81.2-294.2,0s-81.2,212.9,0,294.2c81.2,81.2,212.9,81.2,294.2,0S484.3,190.1,403.1,108.9z%20M352,340.2L340.2,352l-84.4-84.2l-84,83.8L160,339.8l84-83.8l-84-83.8l11.8-11.8l84,83.8l84.4-84.2l11.8,11.8L267.6,256L352,340.2z'/></svg>\");width:30px;height:30px;background-size:18px}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-md-h{--padding-start:0}.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.native-input.sc-ion-input-md{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.native-input[disabled].sc-ion-input-md{opacity:0.4}.cloned-input.sc-ion-input-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px;font-size:inherit}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><polygon%20fill='var(--ion-color-step-600,%20%23666666)'%20points='405,136.798%20375.202,107%20256,226.202%20136.798,107%20107,136.798%20226.202,256%20107,375.202%20136.798,405%20256,285.798%20375.202,405%20405,375.202%20285.798,256'/></svg>\");width:30px;height:30px;background-size:22px}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},i=Object.prototype,n=i.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(I){s=function(t,e,i){return t[e]=i}}function c(t,e,i,n){var o=e&&e.prototype instanceof h?e:h,r=Object.create(o.prototype),a=new O(n||[]);return r._invoke=function(t,e,i){var n="suspendedStart";return function(o,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw r;return j()}for(i.method=o,i.arg=r;;){var a=i.delegate;if(a){var l=x(a,i);if(l){if(l===p)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=u(t,e,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}(t,i,a),r}function u(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(I){return{type:"throw",arg:I}}}t.wrap=c;var p={};function h(){}function d(){}function f(){}var g={};s(g,r,function(){return this});var v=Object.getPrototypeOf,m=v&&v(v(L([])));m&&m!==i&&n.call(m,r)&&(g=m);var y=f.prototype=h.prototype=Object.create(g);function b(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function i(o,r,a,l){var s=u(t[o],t,r);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then(function(t){i("next",t,a,l)},function(t){i("throw",t,a,l)}):e.resolve(p).then(function(t){c.value=t,a(c)},function(t){return i("throw",t,a,l)})}l(s.arg)}var o;this._invoke=function(t,n){function r(){return new e(function(e,o){i(t,n,e,o)})}return o=o?o.then(r,r):r()}}function x(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function L(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=f,s(y,"constructor",f),s(f,"constructor",d),d.displayName=s(f,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(w.prototype),s(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,i,n,o,r){void 0===r&&(r=Promise);var a=new w(c(e,i,n,o),r);return t.isGeneratorFunction(i)?a:a.next().then(function(t){return t.done?t.value:a.next()})},b(y),s(y,l,"Generator"),s(y,r,function(){return this}),s(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var n=e.pop();if(n in t)return i.value=n,i.done=!1,i}return i.done=!0,i}},t.values=L,O.prototype={constructor:O,reset:function(t){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(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,n){return a.type="throw",a.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var l=n.call(r,"catchLoc"),s=n.call(r,"finallyLoc");if(l&&s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),E(i),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var o=n.arg;E(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:L(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),p}},t}function i(t,e,i,n,o,r,a){try{var l=t[r](a),s=l.value}catch(c){return void i(c)}l.done?e(s):Promise.resolve(s).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var a=t.apply(e,n);function l(t){i(a,o,r,l,s,"next",t)}function s(t){i(a,o,r,l,s,"throw",t)}l(void 0)})}}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{ercB:function(i,r,a){"use strict";a.r(r),a.d(r,"ion_input",function(){return p});var l=a("wEJo"),s=a("E/Mt"),c=a("1vRN"),u=a("74mu"),p=function(){function i(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),Object(l.o)(this,t),this.ionInput=Object(l.g)(this,"ionInput",7),this.ionChange=Object(l.g)(this,"ionChange",7),this.ionBlur=Object(l.g)(this,"ionBlur",7),this.ionFocus=Object(l.g)(this,"ionFocus",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.inputId="ion-input-"+h++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.type="text",this.value="",this.onInput=function(t){var i=t.target;i&&(e.value=i.value||""),e.ionInput.emit(t)},this.onBlur=function(t){e.hasFocus=!1,e.focusChanged(),e.emitStyle(),e.fireFocusEvents&&e.ionBlur.emit(t)},this.onFocus=function(t){e.hasFocus=!0,e.focusChanged(),e.emitStyle(),e.fireFocusEvents&&e.ionFocus.emit(t)},this.onKeydown=function(t){e.shouldClearOnEdit()&&(e.didBlurAfterEdit&&e.hasValue()&&"Enter"!==t.key&&e.clearTextInput(),e.didBlurAfterEdit=!1)},this.clearTextOnEnter=function(t){"Enter"===t.key&&e.clearTextInput(t)},this.clearTextInput=function(t){e.clearInput&&!e.readonly&&!e.disabled&&t&&(t.preventDefault(),t.stopPropagation(),e.setFocus()),e.value="",e.nativeInput&&(e.nativeInput.value="")}}var r,a,p,d,f;return r=i,a=[{key:"debounceChanged",value:function(){this.ionChange=Object(c.f)(this.ionChange,this.debounce)}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"placeholderChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.emitStyle(),this.ionChange.emit({value:null==this.value?this.value:this.value.toString()})}},{key:"componentWillLoad",value:function(){this.inheritedAttributes=Object(c.i)(this.el,["tabindex","title"])}},{key:"connectedCallback",value:function(){this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}},{key:"disconnectedCallback",value:function(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el}))}},{key:"setFocus",value:(f=n(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"setBlur",value:(d=n(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.blur();case 1:case"end":return t.stop()}},t,this)})),function(){return d.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"shouldClearOnEdit",value:function(){var t=this.type,e=this.clearOnEdit;return void 0===e?"password"===t:e}},{key:"getValue",value:function(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled})}},{key:"focusChanged",value:function(){!this.hasFocus&&this.shouldClearOnEdit()&&this.hasValue()&&(this.didBlurAfterEdit=!0)}},{key:"hasValue",value:function(){return this.getValue().length>0}},{key:"render",value:function(){var e,i=this,n=Object(s.b)(this),o=this.getValue(),r=this.inputId+"-lbl",a=Object(c.h)(this.el);return a&&(a.id=r),Object(l.j)(l.c,{"aria-disabled":this.disabled?"true":null,class:Object(u.a)(this.color,(e={},t(e,n,!0),t(e,"has-value",this.hasValue()),t(e,"has-focus",this.hasFocus),e))},Object(l.j)("input",Object.assign({class:"native-input",ref:function(t){return i.nativeInput=t},"aria-labelledby":r,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:o,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&Object(l.j)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onTouchStart:this.clearTextInput,onMouseDown:this.clearTextInput,onKeyDown:this.clearTextOnEnter}))}},{key:"el",get:function(){return Object(l.k)(this)}}],p=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}}],a&&o(r.prototype,a),p&&o(r,p),Object.defineProperty(r,"prototype",{writable:!1}),i}(),h=0;p.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-ios-h{--padding-start:0}.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.native-input.sc-ion-input-ios{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.native-input[disabled].sc-ion-input-ios{opacity:0.4}.cloned-input.sc-ion-input-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><path%20fill='var(--ion-color-step-600,%20%23666666)'%20d='M403.1,108.9c-81.2-81.2-212.9-81.2-294.2,0s-81.2,212.9,0,294.2c81.2,81.2,212.9,81.2,294.2,0S484.3,190.1,403.1,108.9z%20M352,340.2L340.2,352l-84.4-84.2l-84,83.8L160,339.8l84-83.8l-84-83.8l11.8-11.8l84,83.8l84.4-84.2l11.8,11.8L267.6,256L352,340.2z'/></svg>\");width:30px;height:30px;background-size:18px}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-md-h{--padding-start:0}.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.native-input.sc-ion-input-md{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.native-input[disabled].sc-ion-input-md{opacity:0.4}.cloned-input.sc-ion-input-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px;font-size:inherit}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><polygon%20fill='var(--ion-color-step-600,%20%23666666)'%20points='405,136.798%20375.202,107%20256,226.202%20136.798,107%20107,136.798%20226.202,256%20107,375.202%20136.798,405%20256,285.798%20375.202,405%20405,375.202%20285.798,256'/></svg>\");width:30px;height:30px;background-size:22px}"}}}])}(); \ No newline at end of file diff --git a/dist/28-es5.d3c063ed37a8388fa3f6.js b/dist/28-es5.d3c063ed37a8388fa3f6.js index efd09da18f..139bf16693 100644 --- a/dist/28-es5.d3c063ed37a8388fa3f6.js +++ b/dist/28-es5.d3c063ed37a8388fa3f6.js @@ -1 +1 @@ -!function(){function t(t,i,e,n,o,r,s){try{var a=t[r](s),l=a.value}catch(d){return void e(d)}a.done?i(l):Promise.resolve(l).then(n,o)}function i(i){return function(){var e=this,n=arguments;return new Promise(function(o,r){var s=i.apply(e,n);function a(i){t(s,o,r,a,l,"next",i)}function l(i){t(s,o,r,a,l,"throw",i)}a(void 0)})}}function e(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function n(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,i,e){return i&&o(t.prototype,i),e&&o(t,e),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{MGMP:function(t,o,s){"use strict";s.r(o),s.d(o,"ion_item_option",function(){return m}),s.d(o,"ion_item_options",function(){return h}),s.d(o,"ion_item_sliding",function(){return g});var a=s("wEJo"),l=s("E/Mt"),d=s("74mu"),p=s("1vRN"),m=function(){function t(i){n(this,t),Object(a.o)(this,i),this.disabled=!1,this.expandable=!1,this.type="button",this.onClick=function(t){t.target.closest("ion-item-option")&&t.preventDefault()}}return r(t,[{key:"render",value:function(){var t,i=this.disabled,n=this.expandable,o=void 0===this.href?"button":"a",r=Object(l.b)(this),s="button"===o?{type:this.type}:{download:this.download,href:this.href,target:this.target};return Object(a.j)(a.c,{onClick:this.onClick,class:Object(d.a)(this.color,(t={},e(t,r,!0),e(t,"item-option-disabled",i),e(t,"item-option-expandable",n),e(t,"ion-activatable",!0),t))},Object(a.j)(o,Object.assign({},s,{class:"button-native",part:"native",disabled:i}),Object(a.j)("span",{class:"button-inner"},Object(a.j)("slot",{name:"top"}),Object(a.j)("div",{class:"horizontal-wrapper"},Object(a.j)("slot",{name:"start"}),Object(a.j)("slot",{name:"icon-only"}),Object(a.j)("slot",null),Object(a.j)("slot",{name:"end"})),Object(a.j)("slot",{name:"bottom"})),"md"===r&&Object(a.j)("ion-ripple-effect",null)))}},{key:"el",get:function(){return Object(a.k)(this)}}]),t}();m.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:16px}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:14px;font-weight:500;text-transform:uppercase}"};var c,h=function(){function t(i){n(this,t),Object(a.o)(this,i),this.ionSwipe=Object(a.g)(this,"ionSwipe",7),this.side="end"}var o;return r(t,[{key:"fireSwipeEvent",value:(o=i(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.ionSwipe.emit({side:this.side});case 1:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var t,i=Object(l.b)(this),n=Object(p.m)(this.side);return Object(a.j)(a.c,{class:(t={},e(t,i,!0),e(t,"item-options-"+i,!0),e(t,"item-options-start",!n),e(t,"item-options-end",n),t)})}},{key:"el",get:function(){return Object(a.k)(this)}}]),t}();h.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};var g=function(){function t(i){n(this,t),Object(a.o)(this,i),this.ionDrag=Object(a.g)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.state=2,this.disabled=!1}var o,d,m,h,g;return r(t,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(g=i(regeneratorRuntime.mark(function t(){var i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.item=this.el.querySelector("ion-item"),t.next=3,this.updateOptions();case 3:return t.next=5,Promise.resolve().then(s.bind(null,"iWo5"));case 5:this.gesture=t.sent.createGesture({el:this.el,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:function(t){return i.canStart(t)},onStart:function(){return i.onStart()},onMove:function(t){return i.onMove(t)},onEnd:function(t){return i.onEnd(t)}}),this.disabledChanged();case 7:case"end":return t.stop()}},t,this)})),function(){return g.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,c===this.el&&(c=void 0)}},{key:"getOpenAmount",value:function(){return Promise.resolve(this.openAmount)}},{key:"getSlidingRatio",value:function(){return Promise.resolve(this.getSlidingRatioSync())}},{key:"open",value:(h=i(regeneratorRuntime.mark(function t(i){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.item){t.next=2;break}return t.abrupt("return");case 2:(e=this.getOptions(i))&&(void 0===i&&(i=e===this.leftOptions?"start":"end"),i=Object(p.m)(i)?"end":"start",this.openAmount<0&&e===this.leftOptions||this.openAmount>0&&e===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame(function(){n.calculateOptsWidth(),c=n.el,n.setOpenAmount("end"===i?n.optsWidthRightSide:-n.optsWidthLeftSide,!1),n.state="end"===i?8:16})));case 4:case"end":return t.stop()}},t,this)})),function(t){return h.apply(this,arguments)})},{key:"close",value:(m=i(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.setOpenAmount(0,!0);case 1:case"end":return t.stop()}},t,this)})),function(){return m.apply(this,arguments)})},{key:"closeOpened",value:(d=i(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",void 0!==c&&(c.close(),c=void 0,!0));case 1:case"end":return t.stop()}},t)})),function(){return d.apply(this,arguments)})},{key:"getOptions",value:function(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}},{key:"updateOptions",value:(o=i(regeneratorRuntime.mark(function t(){var i,e,n,o,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=this.el.querySelectorAll("ion-item-options"),e=0,this.leftOptions=this.rightOptions=void 0,n=0;case 4:if(!(n<i.length)){t.next=18;break}if(void 0===(o=i.item(n)).componentOnReady){t.next=12;break}return t.next=9,o.componentOnReady();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=o;case 13:r=t.t0,"start"==(Object(p.m)(r.side)?"end":"start")?(this.leftOptions=r,e|=1):(this.rightOptions=r,e|=2);case 15:n++,t.next=4;break;case 18:this.optsDirty=!0,this.sides=e;case 19:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"canStart",value:function(t){return!(("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)||(c&&c!==this.el?(this.closeOpened(),1):!this.rightOptions&&!this.leftOptions))}},{key:"onStart",value:function(){c=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}},{key:"onMove",value:function(t){this.optsDirty&&this.calculateOptsWidth();var i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?e=(i=this.optsWidthRightSide)+.55*(e-i):e<-this.optsWidthLeftSide&&(e=(i=-this.optsWidthLeftSide)+.55*(e-i)),this.setOpenAmount(e,!1)}},{key:"onEnd",value:function(t){var i=t.velocityX,e=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide,n=this.openAmount>0==!(i<0),o=Math.abs(i)>.3,r=Math.abs(this.openAmount)<Math.abs(e/2);u(n,o,r)&&(e=0);var s=this.state;this.setOpenAmount(e,!0),0!=(32&s)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&s)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}},{key:"calculateOptsWidth",value:function(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}},{key:"setOpenAmount",value:function(t,i){var e=this;if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),this.item){var n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return this.tmr=setTimeout(function(){e.state=2,e.tmr=void 0},600),c=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform="translate3d(".concat(-t,"px,0,0)"),this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}}},{key:"getSlidingRatioSync",value:function(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}},{key:"render",value:function(){var t,i=Object(l.b)(this);return Object(a.j)(a.c,{class:(t={},e(t,i,!0),e(t,"item-sliding-active-slide",2!==this.state),e(t,"item-sliding-active-options-end",0!=(8&this.state)),e(t,"item-sliding-active-options-start",0!=(16&this.state)),e(t,"item-sliding-active-swipe-end",0!=(32&this.state)),e(t,"item-sliding-active-swipe-start",0!=(64&this.state)),t)})}},{key:"el",get:function(){return Object(a.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),t}(),u=function(t,i,e){return!i&&e||t&&i};g.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}"}}])}(); \ No newline at end of file +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return i};var i={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(t,i,e){return Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[i]}try{l({},"")}catch(z){l=function(t,i,e){return t[i]=e}}function d(t,i,e,n){var r=i&&i.prototype instanceof h?i:h,o=Object.create(r.prototype),s=new j(n||[]);return o._invoke=function(t,i,e){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return L()}for(e.method=r,e.arg=o;;){var s=e.delegate;if(s){var a=x(s,e);if(a){if(a===p)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var l=c(t,i,e);if("normal"===l.type){if(n=e.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(n="completed",e.method="throw",e.arg=l.arg)}}}(t,e,s),o}function c(t,i,e){try{return{type:"normal",arg:t.call(i,e)}}catch(z){return{type:"throw",arg:z}}}i.wrap=d;var p={};function h(){}function m(){}function u(){}var f={};l(f,o,function(){return this});var g=Object.getPrototypeOf,b=g&&g(g(S([])));b&&b!==e&&n.call(b,o)&&(f=b);var v=u.prototype=h.prototype=Object.create(f);function w(t){["next","throw","return"].forEach(function(i){l(t,i,function(t){return this._invoke(i,t)})})}function y(t,i){function e(r,o,s,a){var l=c(t[r],t,o);if("throw"!==l.type){var d=l.arg,p=d.value;return p&&"object"==typeof p&&n.call(p,"__await")?i.resolve(p.__await).then(function(t){e("next",t,s,a)},function(t){e("throw",t,s,a)}):i.resolve(p).then(function(t){d.value=t,s(d)},function(t){return e("throw",t,s,a)})}a(l.arg)}var r;this._invoke=function(t,n){function o(){return new i(function(i,r){e(t,n,i,r)})}return r=r?r.then(o,o):o()}}function x(t,i){var e=t.iterator[i.method];if(void 0===e){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=void 0,x(t,i),"throw"===i.method))return p;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=c(e,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,p;var r=n.arg;return r?r.done?(i[t.resultName]=r.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=void 0),i.delegate=null,p):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,p)}function k(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.afterLoc=t[3]),this.tryEntries.push(i)}function O(t){var i=t.completion||{};i.type="normal",delete i.arg,t.completion=i}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var i=t[o];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function i(){for(;++e<t.length;)if(n.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=void 0,i.done=!0,i};return r.next=r}}return{next:L}}function L(){return{value:void 0,done:!0}}return m.prototype=u,l(v,"constructor",u),l(u,"constructor",m),m.displayName=l(u,a,"GeneratorFunction"),i.isGeneratorFunction=function(t){var i="function"==typeof t&&t.constructor;return!!i&&(i===m||"GeneratorFunction"===(i.displayName||i.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,l(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t},i.awrap=function(t){return{__await:t}},w(y.prototype),l(y.prototype,s,function(){return this}),i.AsyncIterator=y,i.async=function(t,e,n,r,o){void 0===o&&(o=Promise);var s=new y(d(t,e,n,r),o);return i.isGeneratorFunction(e)?s:s.next().then(function(t){return t.done?t.value:s.next()})},w(v),l(v,a,"Generator"),l(v,o,function(){return this}),l(v,"toString",function(){return"[object Generator]"}),i.keys=function(t){var i=[];for(var e in t)i.push(e);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},i.values=S,j.prototype={constructor:j,reset:function(t){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(O),!t)for(var i in this)"t"===i.charAt(0)&&n.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function e(e,n){return s.type="throw",s.arg=t,i.next=e,n&&(i.method="next",i.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,i){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=i&&i<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=i,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(s)},complete:function(t,i){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),p},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),p}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;O(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,e){return this.delegate={iterator:S(t),resultName:i,nextLoc:e},"next"===this.method&&(this.arg=void 0),p}},i}function i(t,i,e,n,r,o,s){try{var a=t[o](s),l=a.value}catch(d){return void e(d)}a.done?i(l):Promise.resolve(l).then(n,r)}function e(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)})}}function n(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function r(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,i,e){return i&&o(t.prototype,i),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{MGMP:function(i,o,a){"use strict";a.r(o),a.d(o,"ion_item_option",function(){return h}),a.d(o,"ion_item_options",function(){return u}),a.d(o,"ion_item_sliding",function(){return f});var l=a("wEJo"),d=a("E/Mt"),c=a("74mu"),p=a("1vRN"),h=function(){function t(i){r(this,t),Object(l.o)(this,i),this.disabled=!1,this.expandable=!1,this.type="button",this.onClick=function(t){t.target.closest("ion-item-option")&&t.preventDefault()}}return s(t,[{key:"render",value:function(){var t,i=this.disabled,e=this.expandable,r=void 0===this.href?"button":"a",o=Object(d.b)(this),s="button"===r?{type:this.type}:{download:this.download,href:this.href,target:this.target};return Object(l.j)(l.c,{onClick:this.onClick,class:Object(c.a)(this.color,(t={},n(t,o,!0),n(t,"item-option-disabled",i),n(t,"item-option-expandable",e),n(t,"ion-activatable",!0),t))},Object(l.j)(r,Object.assign({},s,{class:"button-native",part:"native",disabled:i}),Object(l.j)("span",{class:"button-inner"},Object(l.j)("slot",{name:"top"}),Object(l.j)("div",{class:"horizontal-wrapper"},Object(l.j)("slot",{name:"start"}),Object(l.j)("slot",{name:"icon-only"}),Object(l.j)("slot",null),Object(l.j)("slot",{name:"end"})),Object(l.j)("slot",{name:"bottom"})),"md"===o&&Object(l.j)("ion-ripple-effect",null)))}},{key:"el",get:function(){return Object(l.k)(this)}}]),t}();h.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:16px}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:14px;font-weight:500;text-transform:uppercase}"};var m,u=function(){function i(t){r(this,i),Object(l.o)(this,t),this.ionSwipe=Object(l.g)(this,"ionSwipe",7),this.side="end"}var o;return s(i,[{key:"fireSwipeEvent",value:(o=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.ionSwipe.emit({side:this.side});case 1:case"end":return t.stop()}},i,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var t,i=Object(d.b)(this),e=Object(p.m)(this.side);return Object(l.j)(l.c,{class:(t={},n(t,i,!0),n(t,"item-options-"+i,!0),n(t,"item-options-start",!e),n(t,"item-options-end",e),t)})}},{key:"el",get:function(){return Object(l.k)(this)}}]),i}();u.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};var f=function(){function i(t){r(this,i),Object(l.o)(this,t),this.ionDrag=Object(l.g)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.state=2,this.disabled=!1}var o,c,h,u,f;return s(i,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(f=e(t().mark(function i(){var e=this;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.item=this.el.querySelector("ion-item"),t.next=3,this.updateOptions();case 3:return t.next=5,Promise.resolve().then(a.bind(null,"iWo5"));case 5:this.gesture=t.sent.createGesture({el:this.el,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:function(t){return e.canStart(t)},onStart:function(){return e.onStart()},onMove:function(t){return e.onMove(t)},onEnd:function(t){return e.onEnd(t)}}),this.disabledChanged();case 7:case"end":return t.stop()}},i,this)})),function(){return f.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0)}},{key:"getOpenAmount",value:function(){return Promise.resolve(this.openAmount)}},{key:"getSlidingRatio",value:function(){return Promise.resolve(this.getSlidingRatioSync())}},{key:"open",value:(u=e(t().mark(function i(e){var n,r=this;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==this.item){t.next=2;break}return t.abrupt("return");case 2:(n=this.getOptions(e))&&(void 0===e&&(e=n===this.leftOptions?"start":"end"),e=Object(p.m)(e)?"end":"start",this.openAmount<0&&n===this.leftOptions||this.openAmount>0&&n===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame(function(){r.calculateOptsWidth(),m=r.el,r.setOpenAmount("end"===e?r.optsWidthRightSide:-r.optsWidthLeftSide,!1),r.state="end"===e?8:16})));case 4:case"end":return t.stop()}},i,this)})),function(t){return u.apply(this,arguments)})},{key:"close",value:(h=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.setOpenAmount(0,!0);case 1:case"end":return t.stop()}},i,this)})),function(){return h.apply(this,arguments)})},{key:"closeOpened",value:(c=e(t().mark(function i(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",void 0!==m&&(m.close(),m=void 0,!0));case 1:case"end":return t.stop()}},i)})),function(){return c.apply(this,arguments)})},{key:"getOptions",value:function(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}},{key:"updateOptions",value:(o=e(t().mark(function i(){var e,n,r,o,s;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=this.el.querySelectorAll("ion-item-options"),n=0,this.leftOptions=this.rightOptions=void 0,r=0;case 4:if(!(r<e.length)){t.next=18;break}if(void 0===(o=e.item(r)).componentOnReady){t.next=12;break}return t.next=9,o.componentOnReady();case 9:t.t0=t.sent,t.next=13;break;case 12:t.t0=o;case 13:s=t.t0,"start"==(Object(p.m)(s.side)?"end":"start")?(this.leftOptions=s,n|=1):(this.rightOptions=s,n|=2);case 15:r++,t.next=4;break;case 18:this.optsDirty=!0,this.sides=n;case 19:case"end":return t.stop()}},i,this)})),function(){return o.apply(this,arguments)})},{key:"canStart",value:function(t){return!(("rtl"===document.dir?window.innerWidth-t.startX<15:t.startX<15)||(m&&m!==this.el?(this.closeOpened(),1):!this.rightOptions&&!this.leftOptions))}},{key:"onStart",value:function(){m=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}},{key:"onMove",value:function(t){this.optsDirty&&this.calculateOptsWidth();var i,e=this.initialOpenAmount-t.deltaX;switch(this.sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return;default:console.warn("invalid ItemSideFlags value",this.sides)}e>this.optsWidthRightSide?e=(i=this.optsWidthRightSide)+.55*(e-i):e<-this.optsWidthLeftSide&&(e=(i=-this.optsWidthLeftSide)+.55*(e-i)),this.setOpenAmount(e,!1)}},{key:"onEnd",value:function(t){var i=t.velocityX,e=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide,n=this.openAmount>0==!(i<0),r=Math.abs(i)>.3,o=Math.abs(this.openAmount)<Math.abs(e/2);g(n,r,o)&&(e=0);var s=this.state;this.setOpenAmount(e,!0),0!=(32&s)&&this.rightOptions?this.rightOptions.fireSwipeEvent():0!=(64&s)&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}},{key:"calculateOptsWidth",value:function(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}},{key:"setOpenAmount",value:function(t,i){var e=this;if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),this.item){var n=this.item.style;if(this.openAmount=t,i&&(n.transition=""),t>0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return this.tmr=setTimeout(function(){e.state=2,e.tmr=void 0},600),m=void 0,void(n.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}n.transform="translate3d(".concat(-t,"px,0,0)"),this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}}},{key:"getSlidingRatioSync",value:function(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}},{key:"render",value:function(){var t,i=Object(d.b)(this);return Object(l.j)(l.c,{class:(t={},n(t,i,!0),n(t,"item-sliding-active-slide",2!==this.state),n(t,"item-sliding-active-options-end",0!=(8&this.state)),n(t,"item-sliding-active-options-start",0!=(16&this.state)),n(t,"item-sliding-active-swipe-end",0!=(32&this.state)),n(t,"item-sliding-active-swipe-start",0!=(64&this.state)),t)})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),i}(),g=function(t,i,e){return!i&&e||t&&i};f.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}"}}])}(); \ No newline at end of file diff --git a/dist/29-es5.c6cb535d4d6be9389420.js b/dist/29-es5.c6cb535d4d6be9389420.js index 6ccf673682..25d830ffa6 100644 --- a/dist/29-es5.c6cb535d4d6be9389420.js +++ b/dist/29-es5.c6cb535d4d6be9389420.js @@ -1 +1 @@ -!function(){function t(t,i,e,n,o,r,a){try{var l=t[r](a),s=l.value}catch(d){return void e(d)}l.done?i(s):Promise.resolve(s).then(n,o)}function i(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function e(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function n(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,i,e){return i&&n(t.prototype,i),e&&n(t,e),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"9bur":function(n,r,a){"use strict";a.r(r),a.d(r,"ion_item",function(){return m}),a.d(r,"ion_item_divider",function(){return h}),a.d(r,"ion_item_group",function(){return c}),a.d(r,"ion_label",function(){return p}),a.d(r,"ion_list",function(){return b}),a.d(r,"ion_list_header",function(){return f}),a.d(r,"ion_note",function(){return x}),a.d(r,"ion_skeleton_text",function(){return u});var l=a("wEJo"),s=a("E/Mt"),d=a("1vRN"),g=a("74mu"),m=function(){function t(i){e(this,t),Object(l.o)(this,i),this.labelColorStyles={},this.itemStyles=new Map,this.multipleInputs=!1,this.button=!1,this.detailIcon="chevron-forward",this.disabled=!1,this.routerDirection="forward",this.type="button"}return o(t,[{key:"labelColorChanged",value:function(t){void 0===this.color&&(this.labelColorStyles=t.detail)}},{key:"itemStyle",value:function(t){t.stopPropagation();var i=t.target.tagName,e=t.detail,n={},o=this.itemStyles.get(i)||{},r=!1;Object.keys(e).forEach(function(t){if(e[t]){var i="item-"+t;o[i]||(r=!0),n[i]=!0}}),r||Object.keys(n).length===Object.keys(o).length||(r=!0),r&&(this.itemStyles.set(i,n),Object(l.l)(this))}},{key:"componentDidUpdate",value:function(){var t=this,i=this.getFirstInput();i&&!this.clickListener&&(this.clickListener=function(e){return t.delegateFocus(e,i)},this.el.addEventListener("click",this.clickListener))}},{key:"disconnectedCallback",value:function(){this.getFirstInput()&&this.clickListener&&(this.el.removeEventListener("click",this.clickListener),this.clickListener=void 0)}},{key:"componentDidLoad",value:function(){this.setMultipleInputs()}},{key:"setMultipleInputs",value:function(){var t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),i=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),e=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+i.length>1||t.length+e.length>1||t.length>0&&this.isClickable()}},{key:"hasCover",value:function(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}},{key:"isClickable",value:function(){return void 0!==this.href||this.button}},{key:"canActivate",value:function(){return this.isClickable()||this.hasCover()}},{key:"getFirstInput",value:function(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}},{key:"delegateFocus",value:function(t,i){var e="ION-ITEM"===t.target.tagName,n=!1;document.activeElement&&(n=i.querySelector("input, textarea")===document.activeElement),e&&n&&(i.fireFocusEvents=!1,i.setBlur(),i.setFocus(),Object(d.q)(function(){i.fireFocusEvents=!0}))}},{key:"render",value:function(){var t,e=this.detail,n=this.detailIcon,o=this.download,r=this.labelColorStyles,a=this.lines,d=this.disabled,m=this.href,h=this.rel,c=this.target,p=this.routerAnimation,b=this.routerDirection,f={},x=Object(s.b)(this),u=this.isClickable(),v=this.canActivate(),w=u?void 0===m?"button":"a":"div",k="button"===w?{type:this.type}:{download:o,href:m,rel:h,target:c},y=u?{onClick:function(t){Object(g.d)(m,t,b,p)}}:{},j=void 0!==e?e:"ios"===x&&u;return this.itemStyles.forEach(function(t){Object.assign(f,t)}),Object(l.j)(l.c,{"aria-disabled":d?"true":null,class:Object.assign(Object.assign(Object.assign({},f),r),Object(g.a)(this.color,(t={item:!0},i(t,x,!0),i(t,"item-lines-"+a,void 0!==a),i(t,"item-disabled",d),i(t,"in-list",Object(g.c)("ion-list",this.el)),i(t,"item-multiple-inputs",this.multipleInputs),i(t,"ion-activatable",v),i(t,"ion-focusable",!0),t)))},Object(l.j)(w,Object.assign({},k,{class:"item-native",part:"native",disabled:d},y),Object(l.j)("slot",{name:"start"}),Object(l.j)("div",{class:"item-inner"},Object(l.j)("div",{class:"input-wrapper"},Object(l.j)("slot",null)),Object(l.j)("slot",{name:"end"}),j&&Object(l.j)("ion-icon",{icon:n,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true"}),Object(l.j)("div",{class:"item-inner-highlight"})),v&&"md"===x&&Object(l.j)("ion-ripple-effect",null)),Object(l.j)("div",{class:"item-highlight"}))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"delegatesFocus",get:function(){return!0}}]),t}();m.style={ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;bottom:0;position:absolute;background:var(--highlight-background);z-index:1}.item-highlight{height:var(--full-highlight-height)}.item-inner-highlight{height:var(--inset-highlight-height)}:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#000;--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:17px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}::slotted([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;bottom:0;position:absolute;background:var(--highlight-background);z-index:1}.item-highlight{height:var(--full-highlight-height)}.item-inner-highlight{height:var(--inset-highlight-height)}:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:2px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:11px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}'};var h=function(){function t(i){e(this,t),Object(l.o)(this,i),this.sticky=!1}return o(t,[{key:"render",value:function(){var t,e=Object(s.b)(this);return Object(l.j)(l.c,{class:Object(g.a)(this.color,(t={},i(t,e,!0),i(t,"item-divider-sticky",this.sticky),i(t,"item",!0),t))},Object(l.j)("slot",{name:"start"}),Object(l.j)("div",{class:"item-divider-inner"},Object(l.j)("div",{class:"item-divider-wrapper"},Object(l.j)("slot",null)),Object(l.j)("slot",{name:"end"})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),t}();h.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:20px;--inner-padding-end:10px;border-radius:0;position:relative;min-height:28px;font-size:17px;font-weight:600}:host([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}:host([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:0;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:14px}::slotted([slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}"};var c=function(){function t(i){e(this,t),Object(l.o)(this,i)}return o(t,[{key:"render",value:function(){var t,e=Object(s.b)(this);return Object(l.j)(l.c,{role:"group",class:(t={},i(t,e,!0),i(t,"item-group-"+e,!0),i(t,"item",!0),t)})}}]),t}();c.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};var p=function(){function t(i){e(this,t),Object(l.o)(this,i),this.ionColor=Object(l.g)(this,"ionColor",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}return o(t,[{key:"componentWillLoad",value:function(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}},{key:"componentDidLoad",value:function(){var t=this;this.noAnimate&&setTimeout(function(){t.noAnimate=!1},1e3)}},{key:"colorChanged",value:function(){this.emitColor()}},{key:"positionChanged",value:function(){this.emitStyle()}},{key:"emitColor",value:function(){var t=this.color;this.ionColor.emit(i({"item-label-color":void 0!==t},"ion-color-"+t,void 0!==t))}},{key:"emitStyle",value:function(){var t=this.inRange,e=this.position;t||this.ionStyle.emit(i({label:!0},"label-"+e,void 0!==e))}},{key:"render",value:function(){var t,e=this.position,n=Object(s.b)(this);return Object(l.j)(l.c,{class:Object(g.a)(this.color,(t={},i(t,n,!0),i(t,"label-"+e,void 0!==e),i(t,"label-no-animate",this.noAnimate),t))})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{color:["colorChanged"],position:["positionChanged"]}}}]),t}();p.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate3d(0, 29px, 0);transform:translate3d(0, 29px, 0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate3d(0, 28px, 0);transform:translate3d(0, 28px, 0)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:translate3d(0, 0, 0) scale(0.82);transform:translate3d(0, 0, 0) scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.ion-color.sc-ion-label-ios-s>p,.ion-color .sc-ion-label-ios-h.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl].sc-ion-label-md-h -no-combinator.label-stacked.sc-ion-label-md-h,[dir=rtl] .sc-ion-label-md-h -no-combinator.label-stacked.sc-ion-label-md-h,[dir=rtl].label-stacked.sc-ion-label-md-h,[dir=rtl] .label-stacked.sc-ion-label-md-h{-webkit-transform-origin:right top;transform-origin:right top}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl].sc-ion-label-md-h -no-combinator.label-floating.sc-ion-label-md-h,[dir=rtl] .sc-ion-label-md-h -no-combinator.label-floating.sc-ion-label-md-h,[dir=rtl].label-floating.sc-ion-label-md-h,[dir=rtl] .label-floating.sc-ion-label-md-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-md-h,.item-textarea .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(185%);transform:translateY(185%)}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.ion-color.sc-ion-label-md-s>p,.ion-color .sc-ion-label-md-h.sc-ion-label-md-s>p{color:inherit}"};var b=function(){function n(t){e(this,n),Object(l.o)(this,t),this.inset=!1}var r,a;return o(n,[{key:"closeSlidingItems",value:(r=regeneratorRuntime.mark(function t(){var i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.el.querySelector("ion-item-sliding"),t.abrupt("return",!(!i||!i.closeOpened)&&i.closeOpened());case 2:case"end":return t.stop()}},t,this)}),a=function(){var i=this,e=arguments;return new Promise(function(n,o){var a=r.apply(i,e);function l(i){t(a,n,o,l,s,"next",i)}function s(i){t(a,n,o,l,s,"throw",i)}l(void 0)})},function(){return a.apply(this,arguments)})},{key:"render",value:function(){var t,e=Object(s.b)(this),n=this.lines,o=this.inset;return Object(l.j)(l.c,{class:(t={},i(t,e,!0),i(t,"list-"+e,!0),i(t,"list-inset",o),i(t,"list-lines-"+n,void 0!==n),i(t,"list-".concat(e,"-lines-").concat(n),void 0!==n),t)})}},{key:"el",get:function(){return Object(l.k)(this)}}]),n}();b.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};var f=function(){function t(i){e(this,t),Object(l.o)(this,i)}return o(t,[{key:"render",value:function(){var t,e=this.lines,n=Object(s.b)(this);return Object(l.j)(l.c,{class:Object(g.a)(this.color,(t={},i(t,n,!0),i(t,"list-header-lines-"+e,void 0!==e),t))},Object(l.j)("div",{class:"list-header-inner"},Object(l.j)("slot",null)))}}]),t}();f.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};var x=function(){function t(i){e(this,t),Object(l.o)(this,i)}return o(t,[{key:"render",value:function(){var t=Object(s.b)(this);return Object(l.j)(l.c,{class:Object(g.a)(this.color,i({},t,!0))},Object(l.j)("slot",null))}}]),t}();x.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}"};var u=function(){function t(i){e(this,t),Object(l.o)(this,i),this.animated=!1}return o(t,[{key:"render",value:function(){var t,e=this.animated&&s.c.getBoolean("animated",!0),n=Object(g.c)("ion-avatar",this.el)||Object(g.c)("ion-thumbnail",this.el),o=Object(s.b)(this);return Object(l.j)(l.c,{class:(t={},i(t,o,!0),i(t,"skeleton-text-animated",e),i(t,"in-media",n),t)},Object(l.j)("span",null,"\xa0"))}},{key:"el",get:function(){return Object(l.k)(this)}}]),t}();u.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}@keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}"}}])}(); \ No newline at end of file +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return i};var i={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,i,e){return Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[i]}try{s({},"")}catch(E){s=function(t,i,e){return t[i]=e}}function d(t,i,e,n){var o=i&&i.prototype instanceof h?i:h,r=Object.create(o.prototype),a=new z(n||[]);return r._invoke=function(t,i,e){var n="suspendedStart";return function(o,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw r;return L()}for(e.method=o,e.arg=r;;){var a=e.delegate;if(a){var l=k(a,e);if(l){if(l===c)continue;return l}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var s=g(t,i,e);if("normal"===s.type){if(n=e.done?"completed":"suspendedYield",s.arg===c)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(n="completed",e.method="throw",e.arg=s.arg)}}}(t,e,a),r}function g(t,i,e){try{return{type:"normal",arg:t.call(i,e)}}catch(E){return{type:"throw",arg:E}}}i.wrap=d;var c={};function h(){}function m(){}function p(){}var b={};s(b,r,function(){return this});var f=Object.getPrototypeOf,u=f&&f(f(O([])));u&&u!==e&&n.call(u,r)&&(b=u);var x=p.prototype=h.prototype=Object.create(b);function v(t){["next","throw","return"].forEach(function(i){s(t,i,function(t){return this._invoke(i,t)})})}function w(t,i){function e(o,r,a,l){var s=g(t[o],t,r);if("throw"!==s.type){var d=s.arg,c=d.value;return c&&"object"==typeof c&&n.call(c,"__await")?i.resolve(c.__await).then(function(t){e("next",t,a,l)},function(t){e("throw",t,a,l)}):i.resolve(c).then(function(t){d.value=t,a(d)},function(t){return e("throw",t,a,l)})}l(s.arg)}var o;this._invoke=function(t,n){function r(){return new i(function(i,o){e(t,n,i,o)})}return o=o?o.then(r,r):r()}}function k(t,i){var e=t.iterator[i.method];if(void 0===e){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=void 0,k(t,i),"throw"===i.method))return c;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var n=g(e,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,c;var o=n.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=void 0),i.delegate=null,c):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,c)}function y(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.afterLoc=t[3]),this.tryEntries.push(i)}function j(t){var i=t.completion||{};i.type="normal",delete i.arg,t.completion=i}function z(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function O(t){if(t){var i=t[r];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(n.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=void 0,i.done=!0,i};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return m.prototype=p,s(x,"constructor",p),s(p,"constructor",m),m.displayName=s(p,l,"GeneratorFunction"),i.isGeneratorFunction=function(t){var i="function"==typeof t&&t.constructor;return!!i&&(i===m||"GeneratorFunction"===(i.displayName||i.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},i.awrap=function(t){return{__await:t}},v(w.prototype),s(w.prototype,a,function(){return this}),i.AsyncIterator=w,i.async=function(t,e,n,o,r){void 0===r&&(r=Promise);var a=new w(d(t,e,n,o),r);return i.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},v(x),s(x,l,"Generator"),s(x,r,function(){return this}),s(x,"toString",function(){return"[object Generator]"}),i.keys=function(t){var i=[];for(var e in t)i.push(e);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},i.values=O,z.prototype={constructor:z,reset:function(t){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(j),!t)for(var i in this)"t"===i.charAt(0)&&n.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function e(e,n){return a.type="throw",a.arg=t,i.next=e,n&&(i.method="next",i.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var l=n.call(r,"catchLoc"),s=n.call(r,"finallyLoc");if(l&&s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(t,i){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=i&&i<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=i,r?(this.method="next",this.next=r.finallyLoc,c):this.complete(a)},complete:function(t,i){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),c},finish:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),c}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,e){return this.delegate={iterator:O(t),resultName:i,nextLoc:e},"next"===this.method&&(this.arg=void 0),c}},i}function i(t,i,e,n,o,r,a){try{var l=t[r](a),s=l.value}catch(d){return void e(d)}l.done?i(s):Promise.resolve(s).then(n,o)}function e(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function n(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,i,e){return i&&o(t.prototype,i),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"9bur":function(o,a,l){"use strict";l.r(a),l.d(a,"ion_item",function(){return h}),l.d(a,"ion_item_divider",function(){return m}),l.d(a,"ion_item_group",function(){return p}),l.d(a,"ion_label",function(){return b}),l.d(a,"ion_list",function(){return f}),l.d(a,"ion_list_header",function(){return u}),l.d(a,"ion_note",function(){return x}),l.d(a,"ion_skeleton_text",function(){return v});var s=l("wEJo"),d=l("E/Mt"),g=l("1vRN"),c=l("74mu"),h=function(){function t(i){n(this,t),Object(s.o)(this,i),this.labelColorStyles={},this.itemStyles=new Map,this.multipleInputs=!1,this.button=!1,this.detailIcon="chevron-forward",this.disabled=!1,this.routerDirection="forward",this.type="button"}return r(t,[{key:"labelColorChanged",value:function(t){void 0===this.color&&(this.labelColorStyles=t.detail)}},{key:"itemStyle",value:function(t){t.stopPropagation();var i=t.target.tagName,e=t.detail,n={},o=this.itemStyles.get(i)||{},r=!1;Object.keys(e).forEach(function(t){if(e[t]){var i="item-"+t;o[i]||(r=!0),n[i]=!0}}),r||Object.keys(n).length===Object.keys(o).length||(r=!0),r&&(this.itemStyles.set(i,n),Object(s.l)(this))}},{key:"componentDidUpdate",value:function(){var t=this,i=this.getFirstInput();i&&!this.clickListener&&(this.clickListener=function(e){return t.delegateFocus(e,i)},this.el.addEventListener("click",this.clickListener))}},{key:"disconnectedCallback",value:function(){this.getFirstInput()&&this.clickListener&&(this.el.removeEventListener("click",this.clickListener),this.clickListener=void 0)}},{key:"componentDidLoad",value:function(){this.setMultipleInputs()}},{key:"setMultipleInputs",value:function(){var t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),i=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),e=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+i.length>1||t.length+e.length>1||t.length>0&&this.isClickable()}},{key:"hasCover",value:function(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}},{key:"isClickable",value:function(){return void 0!==this.href||this.button}},{key:"canActivate",value:function(){return this.isClickable()||this.hasCover()}},{key:"getFirstInput",value:function(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}},{key:"delegateFocus",value:function(t,i){var e="ION-ITEM"===t.target.tagName,n=!1;document.activeElement&&(n=i.querySelector("input, textarea")===document.activeElement),e&&n&&(i.fireFocusEvents=!1,i.setBlur(),i.setFocus(),Object(g.q)(function(){i.fireFocusEvents=!0}))}},{key:"render",value:function(){var t,i=this.detail,n=this.detailIcon,o=this.download,r=this.labelColorStyles,a=this.lines,l=this.disabled,g=this.href,h=this.rel,m=this.target,p=this.routerAnimation,b=this.routerDirection,f={},u=Object(d.b)(this),x=this.isClickable(),v=this.canActivate(),w=x?void 0===g?"button":"a":"div",k="button"===w?{type:this.type}:{download:o,href:g,rel:h,target:m},y=x?{onClick:function(t){Object(c.d)(g,t,b,p)}}:{},j=void 0!==i?i:"ios"===u&&x;return this.itemStyles.forEach(function(t){Object.assign(f,t)}),Object(s.j)(s.c,{"aria-disabled":l?"true":null,class:Object.assign(Object.assign(Object.assign({},f),r),Object(c.a)(this.color,(t={item:!0},e(t,u,!0),e(t,"item-lines-"+a,void 0!==a),e(t,"item-disabled",l),e(t,"in-list",Object(c.c)("ion-list",this.el)),e(t,"item-multiple-inputs",this.multipleInputs),e(t,"ion-activatable",v),e(t,"ion-focusable",!0),t)))},Object(s.j)(w,Object.assign({},k,{class:"item-native",part:"native",disabled:l},y),Object(s.j)("slot",{name:"start"}),Object(s.j)("div",{class:"item-inner"},Object(s.j)("div",{class:"input-wrapper"},Object(s.j)("slot",null)),Object(s.j)("slot",{name:"end"}),j&&Object(s.j)("ion-icon",{icon:n,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true"}),Object(s.j)("div",{class:"item-inner-highlight"})),v&&"md"===u&&Object(s.j)("ion-ripple-effect",null)),Object(s.j)("div",{class:"item-highlight"}))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"delegatesFocus",get:function(){return!0}}]),t}();h.style={ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;bottom:0;position:absolute;background:var(--highlight-background);z-index:1}.item-highlight{height:var(--full-highlight-height)}.item-inner-highlight{height:var(--inset-highlight-height)}:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#000;--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:17px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}::slotted([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;bottom:0;position:absolute;background:var(--highlight-background);z-index:1}.item-highlight{height:var(--full-highlight-height)}.item-inner-highlight{height:var(--inset-highlight-height)}:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:2px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:11px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}'};var m=function(){function t(i){n(this,t),Object(s.o)(this,i),this.sticky=!1}return r(t,[{key:"render",value:function(){var t,i=Object(d.b)(this);return Object(s.j)(s.c,{class:Object(c.a)(this.color,(t={},e(t,i,!0),e(t,"item-divider-sticky",this.sticky),e(t,"item",!0),t))},Object(s.j)("slot",{name:"start"}),Object(s.j)("div",{class:"item-divider-inner"},Object(s.j)("div",{class:"item-divider-wrapper"},Object(s.j)("slot",null)),Object(s.j)("slot",{name:"end"})))}},{key:"el",get:function(){return Object(s.k)(this)}}]),t}();m.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:20px;--inner-padding-end:10px;border-radius:0;position:relative;min-height:28px;font-size:17px;font-weight:600}:host([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}:host([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-divider-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:0;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:14px}::slotted([slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}"};var p=function(){function t(i){n(this,t),Object(s.o)(this,i)}return r(t,[{key:"render",value:function(){var t,i=Object(d.b)(this);return Object(s.j)(s.c,{role:"group",class:(t={},e(t,i,!0),e(t,"item-group-"+i,!0),e(t,"item",!0),t)})}}]),t}();p.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};var b=function(){function t(i){n(this,t),Object(s.o)(this,i),this.ionColor=Object(s.g)(this,"ionColor",7),this.ionStyle=Object(s.g)(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}return r(t,[{key:"componentWillLoad",value:function(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}},{key:"componentDidLoad",value:function(){var t=this;this.noAnimate&&setTimeout(function(){t.noAnimate=!1},1e3)}},{key:"colorChanged",value:function(){this.emitColor()}},{key:"positionChanged",value:function(){this.emitStyle()}},{key:"emitColor",value:function(){var t=this.color;this.ionColor.emit(e({"item-label-color":void 0!==t},"ion-color-"+t,void 0!==t))}},{key:"emitStyle",value:function(){var t=this.inRange,i=this.position;t||this.ionStyle.emit(e({label:!0},"label-"+i,void 0!==i))}},{key:"render",value:function(){var t,i=this.position,n=Object(d.b)(this);return Object(s.j)(s.c,{class:Object(c.a)(this.color,(t={},e(t,n,!0),e(t,"label-"+i,void 0!==i),e(t,"label-no-animate",this.noAnimate),t))})}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{color:["colorChanged"],position:["positionChanged"]}}}]),t}();b.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate3d(0, 29px, 0);transform:translate3d(0, 29px, 0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate3d(0, 28px, 0);transform:translate3d(0, 28px, 0)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:translate3d(0, 0, 0) scale(0.82);transform:translate3d(0, 0, 0) scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.ion-color.sc-ion-label-ios-s>p,.ion-color .sc-ion-label-ios-h.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl].sc-ion-label-md-h -no-combinator.label-stacked.sc-ion-label-md-h,[dir=rtl] .sc-ion-label-md-h -no-combinator.label-stacked.sc-ion-label-md-h,[dir=rtl].label-stacked.sc-ion-label-md-h,[dir=rtl] .label-stacked.sc-ion-label-md-h{-webkit-transform-origin:right top;transform-origin:right top}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl].sc-ion-label-md-h -no-combinator.label-floating.sc-ion-label-md-h,[dir=rtl] .sc-ion-label-md-h -no-combinator.label-floating.sc-ion-label-md-h,[dir=rtl].label-floating.sc-ion-label-md-h,[dir=rtl] .label-floating.sc-ion-label-md-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-md-h,.item-textarea .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(185%);transform:translateY(185%)}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.ion-color.sc-ion-label-md-s>p,.ion-color .sc-ion-label-md-h.sc-ion-label-md-s>p{color:inherit}"};var f=function(){function o(t){n(this,o),Object(s.o)(this,t),this.inset=!1}var a,l;return r(o,[{key:"closeSlidingItems",value:(a=t().mark(function i(){var e;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.el.querySelector("ion-item-sliding"),t.abrupt("return",!(!e||!e.closeOpened)&&e.closeOpened());case 2:case"end":return t.stop()}},i,this)}),l=function(){var t=this,e=arguments;return new Promise(function(n,o){var r=a.apply(t,e);function l(t){i(r,n,o,l,s,"next",t)}function s(t){i(r,n,o,l,s,"throw",t)}l(void 0)})},function(){return l.apply(this,arguments)})},{key:"render",value:function(){var t,i=Object(d.b)(this),n=this.lines,o=this.inset;return Object(s.j)(s.c,{class:(t={},e(t,i,!0),e(t,"list-"+i,!0),e(t,"list-inset",o),e(t,"list-lines-"+n,void 0!==n),e(t,"list-".concat(i,"-lines-").concat(n),void 0!==n),t)})}},{key:"el",get:function(){return Object(s.k)(this)}}]),o}();f.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};var u=function(){function t(i){n(this,t),Object(s.o)(this,i)}return r(t,[{key:"render",value:function(){var t,i=this.lines,n=Object(d.b)(this);return Object(s.j)(s.c,{class:Object(c.a)(this.color,(t={},e(t,n,!0),e(t,"list-header-lines-"+i,void 0!==i),t))},Object(s.j)("div",{class:"list-header-inner"},Object(s.j)("slot",null)))}}]),t}();u.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};var x=function(){function t(i){n(this,t),Object(s.o)(this,i)}return r(t,[{key:"render",value:function(){var t=Object(d.b)(this);return Object(s.j)(s.c,{class:Object(c.a)(this.color,e({},t,!0))},Object(s.j)("slot",null))}}]),t}();x.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}"};var v=function(){function t(i){n(this,t),Object(s.o)(this,i),this.animated=!1}return r(t,[{key:"render",value:function(){var t,i=this.animated&&d.c.getBoolean("animated",!0),n=Object(c.c)("ion-avatar",this.el)||Object(c.c)("ion-thumbnail",this.el),o=Object(d.b)(this);return Object(s.j)(s.c,{class:(t={},e(t,o,!0),e(t,"skeleton-text-animated",i),e(t,"in-media",n),t)},Object(s.j)("span",null,"\xa0"))}},{key:"el",get:function(){return Object(s.k)(this)}}]),t}();v.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}@keyframes shimmer{0%{background-position:-468px 0}100%{background-position:468px 0}}"}}])}(); \ No newline at end of file diff --git a/dist/30-es5.1716e3b3d40bafa71e38.js b/dist/30-es5.1716e3b3d40bafa71e38.js index 783e15bf0d..f944ee465e 100644 --- a/dist/30-es5.1716e3b3d40bafa71e38.js +++ b/dist/30-es5.1716e3b3d40bafa71e38.js @@ -1 +1 @@ -!function(){function i(i,n,e){return n in i?Object.defineProperty(i,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[n]=e,i}function n(i,n,e,t,o,a,r){try{var s=i[a](r),d=s.value}catch(c){return void e(c)}s.done?n(d):Promise.resolve(d).then(t,o)}function e(i,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,t.key,t)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{cABk:function(t,o,a){"use strict";a.r(o),a.d(o,"ion_loading",function(){return b});var r=a("wEJo"),s=a("E/Mt"),d=a("7OTs"),c=a("39oe"),l=a("74mu"),p=a("meiF");a("B4Jq"),a("1vRN");var g=function(i){var n=Object(p.a)(),e=Object(p.a)(),t=Object(p.a)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,t])},m=function(i){var n=Object(p.a)(),e=Object(p.a)(),t=Object(p.a)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,t])},u=function(i){var n=Object(p.a)(),e=Object(p.a)(),t=Object(p.a)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,t])},h=function(i){var n=Object(p.a)(),e=Object(p.a)(),t=Object(p.a)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),t.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,t])},b=function(){function t(i){var n=this;!function(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Object(r.o)(this,i),this.didPresent=Object(r.g)(this,"ionLoadingDidPresent",7),this.willPresent=Object(r.g)(this,"ionLoadingWillPresent",7),this.willDismiss=Object(r.g)(this,"ionLoadingWillDismiss",7),this.didDismiss=Object(r.g)(this,"ionLoadingDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){n.dismiss(void 0,d.a)}}var o,a,p,b,f;return o=t,(a=[{key:"connectedCallback",value:function(){Object(d.f)(this.el)}},{key:"componentWillLoad",value:function(){if(void 0===this.spinner){var i=Object(s.b)(this);this.spinner=s.c.get("loadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}}},{key:"present",value:(b=regeneratorRuntime.mark(function i(){var n=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(d.e)(this,"loadingEnter",g,u,void 0);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return n.dismiss()},this.duration+10));case 3:case"end":return i.stop()}},i,this)}),f=function(){var i=this,e=arguments;return new Promise(function(t,o){var a=b.apply(i,e);function r(i){n(a,t,o,r,s,"next",i)}function s(i){n(a,t,o,r,s,"throw",i)}r(void 0)})},function(){return f.apply(this,arguments)})},{key:"dismiss",value:function(i,n){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(d.g)(this,i,n,"loadingLeave",m,h)}},{key:"onDidDismiss",value:function(){return Object(d.h)(this.el,"ionLoadingDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(d.h)(this.el,"ionLoadingWillDismiss")}},{key:"render",value:function(){var n,e=this.message,t=this.spinner,o=Object(s.b)(this);return Object(r.j)(r.c,{onIonBackdropTap:this.onBackdropTap,tabindex:"-1",style:{zIndex:""+(4e4+this.overlayIndex)},class:Object.assign(Object.assign({},Object(l.b)(this.cssClass)),(n={},i(n,o,!0),i(n,"loading-translucent",this.translucent),n))},Object(r.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),Object(r.j)("div",{tabindex:"0"}),Object(r.j)("div",{class:"loading-wrapper ion-overlay-wrapper",role:"dialog"},t&&Object(r.j)("div",{class:"loading-spinner"},Object(r.j)("ion-spinner",{name:t,"aria-hidden":"true"})),e&&Object(r.j)("div",{class:"loading-content",innerHTML:Object(c.a)(e)})),Object(r.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(r.k)(this)}}])&&e(o.prototype,a),p&&e(o,p),t}();b.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-ios,.spinner-lines-small.sc-ion-loading-ios,.spinner-bubbles.sc-ion-loading-ios,.spinner-circles.sc-ion-loading-ios,.spinner-crescent.sc-ion-loading-ios,.spinner-dots.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;padding-left:34px;padding-right:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-md,.spinner-lines-small.sc-ion-loading-md,.spinner-bubbles.sc-ion-loading-md,.spinner-circles.sc-ion-loading-md,.spinner-crescent.sc-ion-loading-md,.spinner-dots.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}"}}}])}(); \ No newline at end of file +!function(){function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(S){c=function(t,n,e){return t[n]=e}}function l(t,n,e,i){var r=n&&n.prototype instanceof p?n:p,o=Object.create(r.prototype),a=new O(i||[]);return o._invoke=function(t,n,e){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return L()}for(e.method=r,e.arg=o;;){var a=e.delegate;if(a){var s=x(a,e);if(s){if(s===u)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===i)throw i="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i="executing";var c=d(t,n,e);if("normal"===c.type){if(i=e.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(i="completed",e.method="throw",e.arg=c.arg)}}}(t,e,a),o}function d(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(S){return{type:"throw",arg:S}}}t.wrap=l;var u={};function p(){}function h(){}function f(){}var g={};c(g,o,function(){return this});var m=Object.getPrototypeOf,y=m&&m(m(E([])));y&&y!==e&&i.call(y,o)&&(g=y);var v=f.prototype=p.prototype=Object.create(g);function b(t){["next","throw","return"].forEach(function(n){c(t,n,function(t){return this._invoke(n,t)})})}function w(t,n){function e(r,o,a,s){var c=d(t[r],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&i.call(u,"__await")?n.resolve(u.__await).then(function(t){e("next",t,a,s)},function(t){e("throw",t,a,s)}):n.resolve(u).then(function(t){l.value=t,a(l)},function(t){return e("throw",t,a,s)})}s(c.arg)}var r;this._invoke=function(t,i){function o(){return new n(function(n,r){e(t,i,n,r)})}return r=r?r.then(o,o):o()}}function x(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,x(t,n),"throw"===n.method))return u;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var i=d(e,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,u;var r=i.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,u):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,u)}function k(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function j(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(i.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n};return r.next=r}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=f,c(v,"constructor",f),c(f,"constructor",h),h.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===h||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},b(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(n,e,i,r,o){void 0===o&&(o=Promise);var a=new w(l(n,e,i,r),o);return t.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},b(v),c(v,s,"Generator"),c(v,o,function(){return this}),c(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,u):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),u},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),u}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var i=e.completion;if("throw"===i.type){var r=i.arg;j(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:E(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),u}},t}function e(t,n,e,i,r,o,a){try{var s=t[o](a),c=s.value}catch(l){return void e(l)}s.done?n(c):Promise.resolve(c).then(i,r)}function i(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{cABk:function(r,o,a){"use strict";a.r(o),a.d(o,"ion_loading",function(){return y});var s=a("wEJo"),c=a("E/Mt"),l=a("7OTs"),d=a("39oe"),u=a("74mu"),p=a("meiF");a("B4Jq"),a("1vRN");var h=function(t){var n=Object(p.a)(),e=Object(p.a)(),i=Object(p.a)();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(t).easing("ease-in-out").duration(200).addAnimation([e,i])},f=function(t){var n=Object(p.a)(),e=Object(p.a)(),i=Object(p.a)();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(t).easing("ease-in-out").duration(200).addAnimation([e,i])},g=function(t){var n=Object(p.a)(),e=Object(p.a)(),i=Object(p.a)();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),n.addElement(t).easing("ease-in-out").duration(200).addAnimation([e,i])},m=function(t){var n=Object(p.a)(),e=Object(p.a)(),i=Object(p.a)();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),n.addElement(t).easing("ease-in-out").duration(200).addAnimation([e,i])},y=function(){function r(t){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),Object(s.o)(this,t),this.didPresent=Object(s.g)(this,"ionLoadingDidPresent",7),this.willPresent=Object(s.g)(this,"ionLoadingWillPresent",7),this.willDismiss=Object(s.g)(this,"ionLoadingWillDismiss",7),this.didDismiss=Object(s.g)(this,"ionLoadingDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=function(){n.dismiss(void 0,l.a)}}var o,a,p,y,v;return o=r,(a=[{key:"connectedCallback",value:function(){Object(l.f)(this.el)}},{key:"componentWillLoad",value:function(){if(void 0===this.spinner){var t=Object(c.b)(this);this.spinner=c.c.get("loadingSpinner",c.c.get("spinner","ios"===t?"lines":"crescent"))}}},{key:"present",value:(y=n().mark(function t(){var e=this;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.e)(this,"loadingEnter",h,g,void 0);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return e.dismiss()},this.duration+10));case 3:case"end":return t.stop()}},t,this)}),v=function(){var t=this,n=arguments;return new Promise(function(i,r){var o=y.apply(t,n);function a(t){e(o,i,r,a,s,"next",t)}function s(t){e(o,i,r,a,s,"throw",t)}a(void 0)})},function(){return v.apply(this,arguments)})},{key:"dismiss",value:function(t,n){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(l.g)(this,t,n,"loadingLeave",f,m)}},{key:"onDidDismiss",value:function(){return Object(l.h)(this.el,"ionLoadingDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(l.h)(this.el,"ionLoadingWillDismiss")}},{key:"render",value:function(){var n,e=this.message,i=this.spinner,r=Object(c.b)(this);return Object(s.j)(s.c,{onIonBackdropTap:this.onBackdropTap,tabindex:"-1",style:{zIndex:""+(4e4+this.overlayIndex)},class:Object.assign(Object.assign({},Object(u.b)(this.cssClass)),(n={},t(n,r,!0),t(n,"loading-translucent",this.translucent),n))},Object(s.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),Object(s.j)("div",{tabindex:"0"}),Object(s.j)("div",{class:"loading-wrapper ion-overlay-wrapper",role:"dialog"},i&&Object(s.j)("div",{class:"loading-spinner"},Object(s.j)("ion-spinner",{name:i,"aria-hidden":"true"})),e&&Object(s.j)("div",{class:"loading-content",innerHTML:Object(d.a)(e)})),Object(s.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(s.k)(this)}}])&&i(o.prototype,a),p&&i(o,p),Object.defineProperty(o,"prototype",{writable:!1}),r}();y.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-ios,.spinner-lines-small.sc-ion-loading-ios,.spinner-bubbles.sc-ion-loading-ios,.spinner-circles.sc-ion-loading-ios,.spinner-crescent.sc-ion-loading-ios,.spinner-dots.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;padding-left:34px;padding-right:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-lines.sc-ion-loading-md,.spinner-lines-small.sc-ion-loading-md,.spinner-bubbles.sc-ion-loading-md,.spinner-circles.sc-ion-loading-md,.spinner-crescent.sc-ion-loading-md,.spinner-dots.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}"}}}])}(); \ No newline at end of file diff --git a/dist/31-es5.4e9f1029b9009b788957.js b/dist/31-es5.4e9f1029b9009b788957.js index 9e8a118052..5c0681e936 100644 --- a/dist/31-es5.4e9f1029b9009b788957.js +++ b/dist/31-es5.4e9f1029b9009b788957.js @@ -1 +1 @@ -!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e,n,i,o,r,a){try{var s=t[r](a),d=s.value}catch(u){return void n(u)}s.done?e(d):Promise.resolve(d).then(i,o)}function n(t){return function(){var n=this,i=arguments;return new Promise(function(o,r){var a=t.apply(n,i);function s(t){e(a,o,r,s,d,"next",t)}function d(t){e(a,o,r,s,d,"throw",t)}s(void 0)})}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{kyFE:function(e,o,a){"use strict";a.r(o),a.d(o,"ion_menu",function(){return m}),a.d(o,"ion_menu_button",function(){return w}),a.d(o,"ion_menu_toggle",function(){return x});var s=a("wEJo"),d=a("E/Mt"),u=a("bC4P"),c=a("y08P"),l=a("1vRN"),h=a("r7QR"),p=a("74mu");a("B4Jq"),a("meiF");var m=function(){function e(t){i(this,e),Object(s.o)(this,t),this.ionWillOpen=Object(s.g)(this,"ionWillOpen",7),this.ionWillClose=Object(s.g)(this,"ionWillClose",7),this.ionDidOpen=Object(s.g)(this,"ionDidOpen",7),this.ionDidClose=Object(s.g)(this,"ionDidClose",7),this.ionMenuChange=Object(s.g)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=c.a.createBlocker({disableScroll:!0}),this.isAnimating=!1,this._isOpen=!1,this.isPaneVisible=!1,this.isEndSide=!1,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}var o,p,m,k,w;return r(e,[{key:"typeChanged",value:function(t,e){var n=this.contentEl;n&&(void 0!==e&&n.classList.remove("menu-content-"+e),n.classList.add("menu-content-"+t),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}},{key:"disabledChanged",value:function(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}},{key:"sideChanged",value:function(){this.isEndSide=Object(l.m)(this.side)}},{key:"swipeGestureChanged",value:function(){this.updateState()}},{key:"connectedCallback",value:(w=n(regeneratorRuntime.mark(function t(){var e,n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this.type&&(this.type=d.c.get("menuType","overlay")),e=this.el.parentNode,void 0===this.contentId&&console.warn('[DEPRECATED][ion-menu] Using the [main] attribute is deprecated, please use the "contentId" property instead:\nBEFORE:\n <ion-menu>...</ion-menu>\n <div main>...</div>\n\nAFTER:\n <ion-menu contentId="main-content"></ion-menu>\n <div id="main-content">...</div>\n'),!(n=void 0!==this.contentId?document.getElementById(this.contentId):e&&e.querySelector&&e.querySelector("[main]"))||!n.tagName){t.next=16;break}return this.contentEl=n,n.classList.add("menu-content"),this.typeChanged(this.type,void 0),this.sideChanged(),h.a._register(this),t.next=12,Promise.resolve().then(a.bind(null,"iWo5"));case 12:this.gesture=t.sent.createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:function(t){return i.canStart(t)},onWillStart:function(){return i.onWillStart()},onStart:function(){return i.onStart()},onMove:function(t){return i.onMove(t)},onEnd:function(t){return i.onEnd(t)}}),this.updateState(),t.next=17;break;case 16:console.error('Menu: must have a "content" element to listen for drag events on.');case 17:case"end":return t.stop()}},t,this)})),function(){return w.apply(this,arguments)})},{key:"componentDidLoad",value:(k=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen}),this.updateState();case 1:case"end":return t.stop()}},t,this)})),function(){return k.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.blocker.destroy(),h.a._unregister(this),this.animation&&this.animation.destroy(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation=void 0,this.contentEl=this.backdropEl=this.menuInnerEl=void 0}},{key:"onSplitPaneChanged",value:function(t){this.isPaneVisible=t.detail.isPane(this.el),this.updateState()}},{key:"onBackdropClick",value:function(t){this._isOpen&&this.lastOnEnd<t.timeStamp-100&&t.composedPath&&!t.composedPath().includes(this.menuInnerEl)&&(t.preventDefault(),t.stopPropagation(),this.close())}},{key:"isOpen",value:function(){return Promise.resolve(this._isOpen)}},{key:"isActive",value:function(){return Promise.resolve(this._isActive())}},{key:"open",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!0,t)}},{key:"close",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!1,t)}},{key:"toggle",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!this._isOpen,t)}},{key:"setOpen",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return h.a._setOpen(this,t,e)}},{key:"_setOpen",value:(m=n(regeneratorRuntime.mark(function t(e){var n,i=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=!(i.length>1&&void 0!==i[1])||i[1],t.t0=!this._isActive()||this.isAnimating||e===this._isOpen,t.t0){t.next=10;break}return this.beforeAnimation(e),t.next=6,this.loadAnimation();case 6:return t.next=8,this.startAnimation(e,n);case 8:this.afterAnimation(e),t.t0=0;case 10:return t.abrupt("return",!t.t0);case 11:case"end":return t.stop()}},t,this)})),function(t){return m.apply(this,arguments)})},{key:"loadAnimation",value:(p=n(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.menuInnerEl.offsetWidth,t.t0=e===this.width&&void 0!==this.animation,t.t0){t.next=10;break}return this.width=e,this.animation&&(this.animation.destroy(),this.animation=void 0),t.next=7,h.a._createAnimation(this.type,this);case 7:this.animation=t.sent,d.c.getBoolean("animated",!0)||this.animation.duration(0),this.animation.fill("both");case 10:case"end":return t.stop()}},t,this)})),function(){return p.apply(this,arguments)})},{key:"startAnimation",value:(o=n(regeneratorRuntime.mark(function t(e,n){var i,o,r,a,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!e,o=Object(d.b)(this),r="ios"===o?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",a="ios"===o?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",s=this.animation.direction(i?"reverse":"normal").easing(i?a:r).onFinish(function(){"reverse"===s.getDirection()&&s.direction("normal")}),!n){t.next=6;break}return t.next=4,s.play();case 4:t.next=7;break;case 6:s.play({sync:!0});case 7:case"end":return t.stop()}},t,this)})),function(t,e){return o.apply(this,arguments)})},{key:"_isActive",value:function(){return!this.disabled&&!this.isPaneVisible}},{key:"canSwipe",value:function(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}},{key:"canStart",value:function(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!h.a._getOpenSync()&&g(window,t.currentX,this.isEndSide,this.maxEdgeStart))}},{key:"onWillStart",value:function(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}},{key:"onStart",value:function(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):Object(l.l)(!1,"isAnimating has to be true")}},{key:"onMove",value:function(t){if(this.isAnimating&&this.animation){var e=b(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-e:e)}else Object(l.l)(!1,"isAnimating has to be true")}},{key:"onEnd",value:function(t){var e=this;if(this.isAnimating&&this.animation){var n=this._isOpen,i=this.isEndSide,o=b(t.deltaX,n,i),r=this.width,a=o/r,s=t.velocityX,d=r/2,c=s>=0&&(s>.2||t.deltaX>d),h=s<=0&&(s<-.2||t.deltaX<-d),p=n?i?c:h:i?h:c,m=!n&&p;n&&!p&&(m=!0),this.lastOnEnd=t.currentTime;var g=p?.001:-.001,f=a<0?.01:a;g+=Object(u.a)([0,0],[.4,0],[.6,1],[1,1],Object(l.j)(0,f,.9999))[0]||0;var v=this._isOpen?!p:p;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(function(){return e.afterAnimation(m)},{oneTimeCallback:!0}).progressEnd(v?1:0,this._isOpen?1-g:g,300)}else Object(l.l)(!1,"isAnimating has to be true")}},{key:"beforeAnimation",value:function(t){Object(l.l)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(f),this.backdropEl&&this.backdropEl.classList.add(v),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}},{key:"afterAnimation",value:function(t){Object(l.l)(this.isAnimating,"_before() should be called while animating"),this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.contentEl&&this.contentEl.classList.add(y),this.ionDidOpen.emit()):(this.el.classList.remove(f),this.contentEl&&this.contentEl.classList.remove(y),this.backdropEl&&this.backdropEl.classList.remove(v),this.animation&&this.animation.stop(),this.ionDidClose.emit())}},{key:"updateState",value:function(){var t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),!t&&this._isOpen&&this.forceClosing(),this.disabled||h.a._setActiveMenu(this),Object(l.l)(!this.isAnimating,"can not be animating")}},{key:"forceClosing",value:function(){Object(l.l)(this._isOpen,"menu cannot be closed"),this.isAnimating=!0,this.animation.direction("reverse").play({sync:!0}),this.afterAnimation(!1)}},{key:"render",value:function(){var e,n=this,i=this.isEndSide,o=this.type,r=this.disabled,a=this.isPaneVisible,u=Object(d.b)(this);return Object(s.j)(s.c,{role:"navigation",class:(e={},t(e,u,!0),t(e,"menu-type-"+o,!0),t(e,"menu-enabled",!r),t(e,"menu-side-end",i),t(e,"menu-side-start",!i),t(e,"menu-pane-visible",a),e)},Object(s.j)("div",{class:"menu-inner",part:"container",ref:function(t){return n.menuInnerEl=t}},Object(s.j)("slot",null)),Object(s.j)("ion-backdrop",{ref:function(t){return n.backdropEl=t},class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}}]),e}(),b=function(t,e,n){return Math.max(0,e!==n?-t:t)},g=function(t,e,n,i){return n?e>=t.innerWidth-i:e<=i},f="show-menu",v="show-backdrop",y="menu-content-open";m.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px, 0, 0);transform:translate3d(-9999px, 0, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{-webkit-transform:translate3d(calc(-1 * -9999px), 0, 0);transform:translate3d(calc(-1 * -9999px), 0, 0)}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px, 0, 0);transform:translate3d(-9999px, 0, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{-webkit-transform:translate3d(calc(-1 * -9999px), 0, 0);transform:translate3d(calc(-1 * -9999px), 0, 0)}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};var k=function(){var t=n(regeneratorRuntime.mark(function t(e){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h.a.get(e);case 2:if(n=t.sent,t.t0=!n,t.t0){t.next=8;break}return t.next=7,n.isActive();case 7:t.t0=!t.sent;case 8:return t.abrupt("return",!t.t0);case 9:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),w=function(){function e(t){var o=this;i(this,e),Object(s.o)(this,t),this.visible=!1,this.disabled=!1,this.autoHide=!0,this.type="button",this.onClick=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h.a.toggle(o.menu));case 1:case"end":return t.stop()}},t)}))}var o;return r(e,[{key:"componentDidLoad",value:function(){this.visibilityChanged()}},{key:"visibilityChanged",value:(o=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k(this.menu);case 2:this.visible=t.sent;case 3:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e,n=this.color,i=this.disabled,o=Object(d.b)(this),r=d.c.get("menuIcon","ios"===o?"menu-outline":"menu-sharp"),a=this.autoHide&&!this.visible,u={type:this.type};return Object(s.j)(s.c,{onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":a?"true":null,class:Object(p.a)(n,(e={},t(e,o,!0),t(e,"button",!0),t(e,"menu-button-hidden",a),t(e,"menu-button-disabled",i),t(e,"in-toolbar",Object(p.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(p.c)("ion-toolbar[color]",this.el)),t(e,"ion-activatable",!0),t(e,"ion-focusable",!0),e))},Object(s.j)("button",Object.assign({},u,{disabled:i,class:"button-native",part:"native","aria-label":"menu"}),Object(s.j)("span",{class:"button-inner"},Object(s.j)("slot",null,Object(s.j)("ion-icon",{part:"icon",icon:r,mode:o,lazy:!1,"aria-hidden":"true"}))),"md"===o&&Object(s.j)("ion-ripple-effect",{type:"unbounded"})))}},{key:"el",get:function(){return Object(s.k)(this)}}]),e}();w.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};var x=function(){function e(t){var n=this;i(this,e),Object(s.o)(this,t),this.visible=!1,this.autoHide=!0,this.onClick=function(){return h.a.toggle(n.menu)}}var o;return r(e,[{key:"connectedCallback",value:function(){this.visibilityChanged()}},{key:"visibilityChanged",value:(o=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,k(this.menu);case 2:this.visible=t.sent;case 3:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e,n=Object(d.b)(this),i=this.autoHide&&!this.visible;return Object(s.j)(s.c,{onClick:this.onClick,"aria-hidden":i?"true":null,class:(e={},t(e,n,!0),t(e,"menu-toggle-hidden",i),e)},Object(s.j)("slot",null))}}]),e}();x.style=":host(.menu-toggle-hidden){display:none}"}}])}(); \ No newline at end of file +!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(C){c=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var r=e&&e.prototype instanceof d?e:d,o=Object.create(r.prototype),a=new j(i||[]);return o._invoke=function(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return _()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=h(t,e,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(C){return{type:"throw",arg:C}}}t.wrap=u;var l={};function d(){}function p(){}function f(){}var m={};c(m,o,function(){return this});var v=Object.getPrototypeOf,b=v&&v(v(E([])));b&&b!==n&&i.call(b,o)&&(m=b);var g=f.prototype=d.prototype=Object.create(m);function y(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function n(r,o,a,s){var c=h(t[r],t,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(l).then(function(t){u.value=t,a(u)},function(t){return n("throw",t,a,s)})}s(c.arg)}var r;this._invoke=function(t,i){function o(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(o,o):o()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var i=h(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,l;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=f,c(g,"constructor",f),c(f,"constructor",p),p.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new w(u(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},y(g),c(g,s,"Generator"),c(g,o,function(){return this}),c(g,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=E,j.prototype={constructor:j,reset:function(t){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(O),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){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(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function n(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(i,r)}function i(t){return function(){var e=this,i=arguments;return new Promise(function(r,o){var a=t.apply(e,i);function s(t){n(a,r,o,s,c,"next",t)}function c(t){n(a,r,o,s,c,"throw",t)}s(void 0)})}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{kyFE:function(n,o,s){"use strict";s.r(o),s.d(o,"ion_menu",function(){return m}),s.d(o,"ion_menu_button",function(){return k}),s.d(o,"ion_menu_toggle",function(){return O});var c=s("wEJo"),u=s("E/Mt"),h=s("bC4P"),l=s("y08P"),d=s("1vRN"),p=s("r7QR"),f=s("74mu");s("B4Jq"),s("meiF");var m=function(){function n(t){r(this,n),Object(c.o)(this,t),this.ionWillOpen=Object(c.g)(this,"ionWillOpen",7),this.ionWillClose=Object(c.g)(this,"ionWillClose",7),this.ionDidOpen=Object(c.g)(this,"ionDidOpen",7),this.ionDidClose=Object(c.g)(this,"ionDidClose",7),this.ionMenuChange=Object(c.g)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=l.a.createBlocker({disableScroll:!0}),this.isAnimating=!1,this._isOpen=!1,this.isPaneVisible=!1,this.isEndSide=!1,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}var o,f,m,x,k;return a(n,[{key:"typeChanged",value:function(t,e){var n=this.contentEl;n&&(void 0!==e&&n.classList.remove("menu-content-"+e),n.classList.add("menu-content-"+t),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}},{key:"disabledChanged",value:function(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}},{key:"sideChanged",value:function(){this.isEndSide=Object(d.m)(this.side)}},{key:"swipeGestureChanged",value:function(){this.updateState()}},{key:"connectedCallback",value:(k=i(e().mark(function t(){var n,i,r=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this.type&&(this.type=u.c.get("menuType","overlay")),n=this.el.parentNode,void 0===this.contentId&&console.warn('[DEPRECATED][ion-menu] Using the [main] attribute is deprecated, please use the "contentId" property instead:\nBEFORE:\n <ion-menu>...</ion-menu>\n <div main>...</div>\n\nAFTER:\n <ion-menu contentId="main-content"></ion-menu>\n <div id="main-content">...</div>\n'),!(i=void 0!==this.contentId?document.getElementById(this.contentId):n&&n.querySelector&&n.querySelector("[main]"))||!i.tagName){t.next=16;break}return this.contentEl=i,i.classList.add("menu-content"),this.typeChanged(this.type,void 0),this.sideChanged(),p.a._register(this),t.next=12,Promise.resolve().then(s.bind(null,"iWo5"));case 12:this.gesture=t.sent.createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:function(t){return r.canStart(t)},onWillStart:function(){return r.onWillStart()},onStart:function(){return r.onStart()},onMove:function(t){return r.onMove(t)},onEnd:function(t){return r.onEnd(t)}}),this.updateState(),t.next=17;break;case 16:console.error('Menu: must have a "content" element to listen for drag events on.');case 17:case"end":return t.stop()}},t,this)})),function(){return k.apply(this,arguments)})},{key:"componentDidLoad",value:(x=i(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen}),this.updateState();case 1:case"end":return t.stop()}},t,this)})),function(){return x.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.blocker.destroy(),p.a._unregister(this),this.animation&&this.animation.destroy(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation=void 0,this.contentEl=this.backdropEl=this.menuInnerEl=void 0}},{key:"onSplitPaneChanged",value:function(t){this.isPaneVisible=t.detail.isPane(this.el),this.updateState()}},{key:"onBackdropClick",value:function(t){this._isOpen&&this.lastOnEnd<t.timeStamp-100&&t.composedPath&&!t.composedPath().includes(this.menuInnerEl)&&(t.preventDefault(),t.stopPropagation(),this.close())}},{key:"isOpen",value:function(){return Promise.resolve(this._isOpen)}},{key:"isActive",value:function(){return Promise.resolve(this._isActive())}},{key:"open",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!0,t)}},{key:"close",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!1,t)}},{key:"toggle",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.setOpen(!this._isOpen,t)}},{key:"setOpen",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return p.a._setOpen(this,t,e)}},{key:"_setOpen",value:(m=i(e().mark(function t(n){var i,r=arguments;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!(r.length>1&&void 0!==r[1])||r[1],t.t0=!this._isActive()||this.isAnimating||n===this._isOpen,t.t0){t.next=10;break}return this.beforeAnimation(n),t.next=6,this.loadAnimation();case 6:return t.next=8,this.startAnimation(n,i);case 8:this.afterAnimation(n),t.t0=0;case 10:return t.abrupt("return",!t.t0);case 11:case"end":return t.stop()}},t,this)})),function(t){return m.apply(this,arguments)})},{key:"loadAnimation",value:(f=i(e().mark(function t(){var n;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this.menuInnerEl.offsetWidth,t.t0=n===this.width&&void 0!==this.animation,t.t0){t.next=10;break}return this.width=n,this.animation&&(this.animation.destroy(),this.animation=void 0),t.next=7,p.a._createAnimation(this.type,this);case 7:this.animation=t.sent,u.c.getBoolean("animated",!0)||this.animation.duration(0),this.animation.fill("both");case 10:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"startAnimation",value:(o=i(e().mark(function t(n,i){var r,o,a,s,c;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=!n,o=Object(u.b)(this),a="ios"===o?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",s="ios"===o?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",c=this.animation.direction(r?"reverse":"normal").easing(r?s:a).onFinish(function(){"reverse"===c.getDirection()&&c.direction("normal")}),!i){t.next=6;break}return t.next=4,c.play();case 4:t.next=7;break;case 6:c.play({sync:!0});case 7:case"end":return t.stop()}},t,this)})),function(t,e){return o.apply(this,arguments)})},{key:"_isActive",value:function(){return!this.disabled&&!this.isPaneVisible}},{key:"canSwipe",value:function(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}},{key:"canStart",value:function(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!p.a._getOpenSync()&&b(window,t.currentX,this.isEndSide,this.maxEdgeStart))}},{key:"onWillStart",value:function(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}},{key:"onStart",value:function(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):Object(d.l)(!1,"isAnimating has to be true")}},{key:"onMove",value:function(t){if(this.isAnimating&&this.animation){var e=v(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-e:e)}else Object(d.l)(!1,"isAnimating has to be true")}},{key:"onEnd",value:function(t){var e=this;if(this.isAnimating&&this.animation){var n=this._isOpen,i=this.isEndSide,r=v(t.deltaX,n,i),o=this.width,a=r/o,s=t.velocityX,c=o/2,u=s>=0&&(s>.2||t.deltaX>c),l=s<=0&&(s<-.2||t.deltaX<-c),p=n?i?u:l:i?l:u,f=!n&&p;n&&!p&&(f=!0),this.lastOnEnd=t.currentTime;var m=p?.001:-.001,b=a<0?.01:a;m+=Object(h.a)([0,0],[.4,0],[.6,1],[1,1],Object(d.j)(0,b,.9999))[0]||0;var g=this._isOpen?!p:p;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(function(){return e.afterAnimation(f)},{oneTimeCallback:!0}).progressEnd(g?1:0,this._isOpen?1-m:m,300)}else Object(d.l)(!1,"isAnimating has to be true")}},{key:"beforeAnimation",value:function(t){Object(d.l)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(g),this.backdropEl&&this.backdropEl.classList.add(y),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}},{key:"afterAnimation",value:function(t){Object(d.l)(this.isAnimating,"_before() should be called while animating"),this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.contentEl&&this.contentEl.classList.add(w),this.ionDidOpen.emit()):(this.el.classList.remove(g),this.contentEl&&this.contentEl.classList.remove(w),this.backdropEl&&this.backdropEl.classList.remove(y),this.animation&&this.animation.stop(),this.ionDidClose.emit())}},{key:"updateState",value:function(){var t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),!t&&this._isOpen&&this.forceClosing(),this.disabled||p.a._setActiveMenu(this),Object(d.l)(!this.isAnimating,"can not be animating")}},{key:"forceClosing",value:function(){Object(d.l)(this._isOpen,"menu cannot be closed"),this.isAnimating=!0,this.animation.direction("reverse").play({sync:!0}),this.afterAnimation(!1)}},{key:"render",value:function(){var e,n=this,i=this.isEndSide,r=this.type,o=this.disabled,a=this.isPaneVisible,s=Object(u.b)(this);return Object(c.j)(c.c,{role:"navigation",class:(e={},t(e,s,!0),t(e,"menu-type-"+r,!0),t(e,"menu-enabled",!o),t(e,"menu-side-end",i),t(e,"menu-side-start",!i),t(e,"menu-pane-visible",a),e)},Object(c.j)("div",{class:"menu-inner",part:"container",ref:function(t){return n.menuInnerEl=t}},Object(c.j)("slot",null)),Object(c.j)("ion-backdrop",{ref:function(t){return n.backdropEl=t},class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}}]),n}(),v=function(t,e,n){return Math.max(0,e!==n?-t:t)},b=function(t,e,n,i){return n?e>=t.innerWidth-i:e<=i},g="show-menu",y="show-backdrop",w="menu-content-open";m.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px, 0, 0);transform:translate3d(-9999px, 0, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{-webkit-transform:translate3d(calc(-1 * -9999px), 0, 0);transform:translate3d(calc(-1 * -9999px), 0, 0)}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px, 0, 0);transform:translate3d(-9999px, 0, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{-webkit-transform:translate3d(calc(-1 * -9999px), 0, 0);transform:translate3d(calc(-1 * -9999px), 0, 0)}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};var x=function(){var t=i(e().mark(function t(n){var i;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.a.get(n);case 2:if(i=t.sent,t.t0=!i,t.t0){t.next=8;break}return t.next=7,i.isActive();case 7:t.t0=!t.sent;case 8:return t.abrupt("return",!t.t0);case 9:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),k=function(){function n(t){var o=this;r(this,n),Object(c.o)(this,t),this.visible=!1,this.disabled=!1,this.autoHide=!0,this.type="button",this.onClick=i(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",p.a.toggle(o.menu));case 1:case"end":return t.stop()}},t)}))}var o;return a(n,[{key:"componentDidLoad",value:function(){this.visibilityChanged()}},{key:"visibilityChanged",value:(o=i(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x(this.menu);case 2:this.visible=t.sent;case 3:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e,n=this.color,i=this.disabled,r=Object(u.b)(this),o=u.c.get("menuIcon","ios"===r?"menu-outline":"menu-sharp"),a=this.autoHide&&!this.visible,s={type:this.type};return Object(c.j)(c.c,{onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":a?"true":null,class:Object(f.a)(n,(e={},t(e,r,!0),t(e,"button",!0),t(e,"menu-button-hidden",a),t(e,"menu-button-disabled",i),t(e,"in-toolbar",Object(f.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(f.c)("ion-toolbar[color]",this.el)),t(e,"ion-activatable",!0),t(e,"ion-focusable",!0),e))},Object(c.j)("button",Object.assign({},s,{disabled:i,class:"button-native",part:"native","aria-label":"menu"}),Object(c.j)("span",{class:"button-inner"},Object(c.j)("slot",null,Object(c.j)("ion-icon",{part:"icon",icon:o,mode:r,lazy:!1,"aria-hidden":"true"}))),"md"===r&&Object(c.j)("ion-ripple-effect",{type:"unbounded"})))}},{key:"el",get:function(){return Object(c.k)(this)}}]),n}();k.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};var O=function(){function n(t){var e=this;r(this,n),Object(c.o)(this,t),this.visible=!1,this.autoHide=!0,this.onClick=function(){return p.a.toggle(e.menu)}}var o;return a(n,[{key:"connectedCallback",value:function(){this.visibilityChanged()}},{key:"visibilityChanged",value:(o=i(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x(this.menu);case 2:this.visible=t.sent;case 3:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e,n=Object(u.b)(this),i=this.autoHide&&!this.visible;return Object(c.j)(c.c,{onClick:this.onClick,"aria-hidden":i?"true":null,class:(e={},t(e,n,!0),t(e,"menu-toggle-hidden",i),e)},Object(c.j)("slot",null))}}]),n}();O.style=":host(.menu-toggle-hidden){display:none}"}}])}(); \ No newline at end of file diff --git a/dist/32-es5.06358381ce0fead57c84.js b/dist/32-es5.06358381ce0fead57c84.js index 9183a90489..48e00f2876 100644 --- a/dist/32-es5.06358381ce0fead57c84.js +++ b/dist/32-es5.06358381ce0fead57c84.js @@ -1 +1 @@ -!function(){function e(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function t(e,t,o,a,i,r,n){try{var s=e[r](n),d=s.value}catch(l){return void o(l)}s.done?t(d):Promise.resolve(d).then(a,i)}function o(e){return function(){var o=this,a=arguments;return new Promise(function(i,r){var n=e.apply(o,a);function s(e){t(n,i,r,s,d,"next",e)}function d(e){t(n,i,r,s,d,"throw",e)}s(void 0)})}}function a(e,t){for(var o=0;o<t.length;o++){var a=t[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{TvZU:function(t,i,r){"use strict";r.r(i),r.d(i,"ion_modal",function(){return v});var n=r("wEJo"),s=r("E/Mt"),d=r("acej"),l=r("7OTs"),c=r("74mu"),m=r("k4ps"),p=r("meiF"),h=r("bC4P"),f=r("iWo5"),u=r("1vRN");r("B4Jq"),r("y08P");var b=function(e,t){var o=Object(p.a)().addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a=Object(p.a)().addElement(e.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}).fromTo("transform","translateY(100vh)","translateY(0vh)"),i=Object(p.a)().addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(a);if(t){var r=window.innerWidth<768,n="ION-MODAL"===t.tagName&&void 0!==t.presentingElement,s=Object(p.a)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),d=document.body;if(r){var l=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",c="translateY(".concat(n?"-10px":l,") scale(0.93)");s.afterStyles({transform:c}).beforeAddWrite(function(){return d.style.setProperty("background-color","black")}).addElement(t).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:c,borderRadius:"10px 10px 0 0"}]),i.addAnimation(s)}else if(i.addAnimation(o),n){var m="translateY(-10px) scale(".concat(n?.93:1,")");s.afterStyles({transform:m}).addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:m}]);var h=Object(p.a)().afterStyles({transform:m}).addElement(t.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:m}]);i.addAnimation([s,h])}else a.fromTo("opacity","0","1")}else i.addAnimation(o);return i},x=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,a=Object(p.a)().addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i=Object(p.a)().addElement(e.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}).fromTo("transform","translateY(0vh)","translateY(100vh)"),r=Object(p.a)().addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(o).addAnimation(i);if(t){var n=window.innerWidth<768,s="ION-MODAL"===t.tagName&&void 0!==t.presentingElement,d=Object(p.a)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(function(e){1===e&&(t.style.setProperty("overflow",""),Array.from(l.querySelectorAll("ion-modal")).filter(function(e){return void 0!==e.presentingElement}).length<=1&&l.style.setProperty("background-color",""))}),l=document.body;if(n){var c=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",m="translateY(".concat(s?"-10px":c,") scale(0.93)");d.addElement(t).keyframes([{offset:0,filter:"contrast(0.85)",transform:m,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),r.addAnimation(d)}else if(r.addAnimation(a),s){var h="translateY(-10px) scale(".concat(s?.93:1,")");d.addElement(t.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:h},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);var f=Object(p.a)().addElement(t.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:h},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);r.addAnimation([d,f])}else i.fromTo("opacity","1","0")}else r.addAnimation(a);return r},w=function(e){var t=Object(p.a)(),o=Object(p.a)(),a=Object(p.a)();return o.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),t.addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([o,a])},y=function(e){var t=Object(p.a)(),o=Object(p.a)(),a=Object(p.a)(),i=e.querySelector(".modal-wrapper");return o.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(i).keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]),t.addElement(e).easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([o,a])},v=function(){function t(e){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Object(n.o)(this,e),this.didPresent=Object(n.g)(this,"ionModalDidPresent",7),this.willPresent=Object(n.g)(this,"ionModalWillPresent",7),this.willDismiss=Object(n.g)(this,"ionModalWillDismiss",7),this.didDismiss=Object(n.g)(this,"ionModalDidDismiss",7),this.gestureAnimationDismissing=!1,this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.swipeToClose=!1,this.onBackdropTap=function(){o.dismiss(void 0,l.a)},this.onDismiss=function(e){e.stopPropagation(),e.preventDefault(),o.dismiss()},this.onLifecycle=function(e){var t=o.usersElement,a=g[e.type];if(t&&a){var i=new CustomEvent(a,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(i)}}}var i,r,p,v,k;return i=t,r=[{key:"swipeToCloseChanged",value:function(e){this.gesture?this.gesture.enable(e):e&&this.initSwipeToClose()}},{key:"connectedCallback",value:function(){Object(l.f)(this.el)}},{key:"present",value:(k=o(regeneratorRuntime.mark(function e(){var t,o,a=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.presented){e.next=2;break}return e.abrupt("return");case 2:if(t=this.el.querySelector(".modal-wrapper")){e.next=5;break}throw new Error("container is undefined");case 5:return o=Object.assign(Object.assign({},this.componentProps),{modal:this.el}),e.next=8,Object(d.a)(this.delegate,t,this.component,["ion-page"],o);case 8:return this.usersElement=e.sent,e.next=11,Object(m.f)(this.usersElement);case 11:return Object(n.f)(function(){return a.el.classList.add("show-modal")}),e.next=14,Object(l.e)(this,"modalEnter",b,w,this.presentingElement);case 14:this.swipeToClose&&this.initSwipeToClose();case 15:case"end":return e.stop()}},e,this)})),function(){return k.apply(this,arguments)})},{key:"initSwipeToClose",value:function(){var e=this;if("ios"===Object(s.b)(this)){var t,a,i,r,n,d=this.leaveAnimation||s.c.get("modalLeave",x),l=this.animation=d(this.el,this.presentingElement);this.gesture=(t=this.el,a=l,i=t.offsetHeight,r=!1,n=Object(f.createGesture)({el:t,gestureName:"modalSwipeToClose",gesturePriority:40,direction:"y",threshold:10,canStart:function(e){var t=e.event.target;return null===t||!t.closest||null===t.closest("ion-content")},onStart:function(){a.progressStart(!0,r?1:0)},onMove:function(e){var t=Object(u.j)(1e-4,e.deltaY/i,.9999);a.progressStep(t)},onEnd:function(t){var s=t.velocityY,d=Object(u.j)(1e-4,t.deltaY/i,.9999),l=(t.deltaY+1e3*s)/i>=.5,c=l?-.001:.001;l?(a.easing("cubic-bezier(0.32, 0.72, 0, 1)"),c+=Object(h.a)([0,0],[.32,.72],[0,1],[1,1],d)[0]):(a.easing("cubic-bezier(1, 0, 0.68, 0.28)"),c+=Object(h.a)([0,0],[1,0],[.68,.28],[1,1],d)[0]);var m=function(e,t){return Object(u.j)(400,e/Math.abs(1.1*t),500)}(l?d*i:(1-d)*i,s);r=l,n.enable(!1),a.onFinish(function(){l||n.enable(!0)}).progressEnd(l?1:0,c,m),l&&(e.gestureAnimationDismissing=!0,e.animation.onFinish(o(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dismiss(void 0,"gesture");case 2:e.gestureAnimationDismissing=!1;case 3:case"end":return t.stop()}},t)}))))}})),this.gesture.enable(!0)}}},{key:"dismiss",value:(v=o(regeneratorRuntime.mark(function e(t,o){var a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.gestureAnimationDismissing||"gesture"===o){e.next=2;break}return e.abrupt("return",!1);case 2:return a=l.i.get(this)||[],e.next=5,Object(l.g)(this,t,o,"modalLeave",x,y,this.presentingElement);case 5:if(i=e.sent,e.t0=i,!e.t0){e.next=12;break}return e.next=10,Object(d.b)(this.delegate,this.usersElement);case 10:this.animation&&this.animation.destroy(),a.forEach(function(e){return e.destroy()});case 12:return this.animation=void 0,e.abrupt("return",i);case 14:case"end":return e.stop()}},e,this)})),function(e,t){return v.apply(this,arguments)})},{key:"onDidDismiss",value:function(){return Object(l.h)(this.el,"ionModalDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(l.h)(this.el,"ionModalWillDismiss")}},{key:"render",value:function(){var t,o=Object(s.b)(this);return Object(n.j)(n.c,{"no-router":!0,"aria-modal":"true",tabindex:"-1",class:Object.assign((t={},e(t,o,!0),e(t,"modal-card",void 0!==this.presentingElement&&"ios"===o),t),Object(c.b)(this.cssClass)),style:{zIndex:""+(2e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,onIonDismiss:this.onDismiss,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle},Object(n.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),"ios"===o&&Object(n.j)("div",{class:"modal-shadow"}),Object(n.j)("div",{tabindex:"0"}),Object(n.j)("div",{role:"dialog",class:"modal-wrapper ion-overlay-wrapper"}),Object(n.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(n.k)(this)}}],p=[{key:"watchers",get:function(){return{swipeToClose:["swipeToCloseChanged"]}}}],r&&a(i.prototype,r),p&&a(i,p),t}(),g={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};v.style={ios:".sc-ion-modal-ios-h{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.overlay-hidden.sc-ion-modal-ios-h{display:none}.modal-wrapper.sc-ion-modal-ios,.modal-shadow.sc-ion-modal-ios{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow.sc-ion-modal-ios{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-ios-h{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){.sc-ion-modal-ios-h{--width:600px;--height:600px}}.sc-ion-modal-ios-h:first-of-type{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-ios-h{--border-radius:10px}}.modal-wrapper.sc-ion-modal-ios{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){.modal-card.sc-ion-modal-ios-h{--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){.modal-card.sc-ion-modal-ios-h{--height:calc(100% - 40px)}}.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:0;border-bottom-left-radius:0}[dir=rtl].sc-ion-modal-ios-h -no-combinator.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl] .sc-ion-modal-ios-h -no-combinator.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl].modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl] .modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-card.sc-ion-modal-ios-h{--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}.modal-card.sc-ion-modal-ios-h .modal-shadow.sc-ion-modal-ios{display:none}.modal-card.sc-ion-modal-ios-h ion-backdrop.sc-ion-modal-ios{pointer-events:none}}@media screen and (min-width: 768px){.modal-card.sc-ion-modal-ios-h{--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px}.modal-card.sc-ion-modal-ios-h{--backdrop-opacity:0;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.modal-card.sc-ion-modal-ios-h:first-of-type{--backdrop-opacity:0.18}.modal-card.sc-ion-modal-ios-h .modal-shadow.sc-ion-modal-ios{-webkit-box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1)}}",md:".sc-ion-modal-md-h{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.overlay-hidden.sc-ion-modal-md-h{display:none}.modal-wrapper.sc-ion-modal-md,.modal-shadow.sc-ion-modal-md{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow.sc-ion-modal-md{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-md-h{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){.sc-ion-modal-md-h{--width:600px;--height:600px}}.sc-ion-modal-md-h:first-of-type{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-md-h{--border-radius:2px}.sc-ion-modal-md-h:first-of-type{--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper.sc-ion-modal-md{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function d(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(L){d=function(t,e,r){return t[e]=r}}function c(t,e,r,o){var n=e&&e.prototype instanceof p?e:p,a=Object.create(n.prototype),i=new O(o||[]);return a._invoke=function(t,e,r){var o="suspendedStart";return function(n,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===n)throw a;return S()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var s=x(i,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var d=l(t,e,r);if("normal"===d.type){if(o=r.done?"completed":"suspendedYield",d.arg===h)continue;return{value:d.arg,done:r.done}}"throw"===d.type&&(o="completed",r.method="throw",r.arg=d.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(L){return{type:"throw",arg:L}}}t.wrap=c;var h={};function p(){}function m(){}function u(){}var f={};d(f,a,function(){return this});var b=Object.getPrototypeOf,y=b&&b(b(E([])));y&&y!==r&&o.call(y,a)&&(f=y);var v=u.prototype=p.prototype=Object.create(f);function w(t){["next","throw","return"].forEach(function(e){d(t,e,function(t){return this._invoke(e,t)})})}function g(t,e){function r(n,a,i,s){var d=l(t[n],t,a);if("throw"!==d.type){var c=d.arg,h=c.value;return h&&"object"==typeof h&&o.call(h,"__await")?e.resolve(h.__await).then(function(t){r("next",t,i,s)},function(t){r("throw",t,i,s)}):e.resolve(h).then(function(t){c.value=t,i(c)},function(t){return r("throw",t,i,s)})}s(d.arg)}var n;this._invoke=function(t,o){function a(){return new e(function(e,n){r(t,o,e,n)})}return n=n?n.then(a,a):a()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=l(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var n=o.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:S}}function S(){return{value:void 0,done:!0}}return m.prototype=u,d(v,"constructor",u),d(u,"constructor",m),m.displayName=d(u,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,d(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},w(g.prototype),d(g.prototype,i,function(){return this}),t.AsyncIterator=g,t.async=function(e,r,o,n,a){void 0===a&&(a=Promise);var i=new g(c(e,r,o,n),a);return t.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},w(v),d(v,s,"Generator"),d(v,a,function(){return this}),d(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var o=e.pop();if(o in t)return r.value=o,r.done=!1,r}return r.done=!0,r}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return i.type="throw",i.arg=t,e.next=r,o&&(e.method="next",e.arg=void 0),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),d=o.call(a,"finallyLoc");if(s&&d){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!d)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var n=o.arg;j(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function r(t,e,r,o,n,a,i){try{var s=t[a](i),d=s.value}catch(c){return void r(c)}s.done?e(d):Promise.resolve(d).then(o,n)}function o(t){return function(){var e=this,o=arguments;return new Promise(function(n,a){var i=t.apply(e,o);function s(t){r(i,n,a,s,d,"next",t)}function d(t){r(i,n,a,s,d,"throw",t)}s(void 0)})}}function n(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{TvZU:function(r,a,i){"use strict";i.r(a),i.d(a,"ion_modal",function(){return x});var s=i("wEJo"),d=i("E/Mt"),c=i("acej"),l=i("7OTs"),h=i("74mu"),p=i("k4ps"),m=i("meiF"),u=i("bC4P"),f=i("iWo5"),b=i("1vRN");i("B4Jq"),i("y08P");var y=function(t,e){var r=Object(m.a)().addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o=Object(m.a)().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}).fromTo("transform","translateY(100vh)","translateY(0vh)"),n=Object(m.a)().addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(o);if(e){var a=window.innerWidth<768,i="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,s=Object(m.a)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),d=document.body;if(a){var c=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",l="translateY(".concat(i?"-10px":c,") scale(0.93)");s.afterStyles({transform:l}).beforeAddWrite(function(){return d.style.setProperty("background-color","black")}).addElement(e).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:l,borderRadius:"10px 10px 0 0"}]),n.addAnimation(s)}else if(n.addAnimation(r),i){var h="translateY(-10px) scale(".concat(i?.93:1,")");s.afterStyles({transform:h}).addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:h}]);var p=Object(m.a)().afterStyles({transform:h}).addElement(e.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:h}]);n.addAnimation([s,p])}else o.fromTo("opacity","0","1")}else n.addAnimation(r);return n},v=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,o=Object(m.a)().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n=Object(m.a)().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}).fromTo("transform","translateY(0vh)","translateY(100vh)"),a=Object(m.a)().addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(r).addAnimation(n);if(e){var i=window.innerWidth<768,s="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,d=Object(m.a)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(function(t){1===t&&(e.style.setProperty("overflow",""),Array.from(c.querySelectorAll("ion-modal")).filter(function(t){return void 0!==t.presentingElement}).length<=1&&c.style.setProperty("background-color",""))}),c=document.body;if(i){var l=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",h="translateY(".concat(s?"-10px":l,") scale(0.93)");d.addElement(e).keyframes([{offset:0,filter:"contrast(0.85)",transform:h,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),a.addAnimation(d)}else if(a.addAnimation(o),s){var p="translateY(-10px) scale(".concat(s?.93:1,")");d.addElement(e.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:p},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);var u=Object(m.a)().addElement(e.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:p},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);a.addAnimation([d,u])}else n.fromTo("opacity","1","0")}else a.addAnimation(o);return a},w=function(t){var e=Object(m.a)(),r=Object(m.a)(),o=Object(m.a)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),e.addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,o])},g=function(t){var e=Object(m.a)(),r=Object(m.a)(),o=Object(m.a)(),n=t.querySelector(".modal-wrapper");return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(n).keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]),e.addElement(t).easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,o])},x=function(){function r(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Object(s.o)(this,t),this.didPresent=Object(s.g)(this,"ionModalDidPresent",7),this.willPresent=Object(s.g)(this,"ionModalWillPresent",7),this.willDismiss=Object(s.g)(this,"ionModalWillDismiss",7),this.didDismiss=Object(s.g)(this,"ionModalDidDismiss",7),this.gestureAnimationDismissing=!1,this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.swipeToClose=!1,this.onBackdropTap=function(){e.dismiss(void 0,l.a)},this.onDismiss=function(t){t.stopPropagation(),t.preventDefault(),e.dismiss()},this.onLifecycle=function(t){var r=e.usersElement,o=k[t.type];if(r&&o){var n=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});r.dispatchEvent(n)}}}var a,i,m,x,j;return a=r,i=[{key:"swipeToCloseChanged",value:function(t){this.gesture?this.gesture.enable(t):t&&this.initSwipeToClose()}},{key:"connectedCallback",value:function(){Object(l.f)(this.el)}},{key:"present",value:(j=o(e().mark(function t(){var r,o,n=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.presented){t.next=2;break}return t.abrupt("return");case 2:if(r=this.el.querySelector(".modal-wrapper")){t.next=5;break}throw new Error("container is undefined");case 5:return o=Object.assign(Object.assign({},this.componentProps),{modal:this.el}),t.next=8,Object(c.a)(this.delegate,r,this.component,["ion-page"],o);case 8:return this.usersElement=t.sent,t.next=11,Object(p.f)(this.usersElement);case 11:return Object(s.f)(function(){return n.el.classList.add("show-modal")}),t.next=14,Object(l.e)(this,"modalEnter",y,w,this.presentingElement);case 14:this.swipeToClose&&this.initSwipeToClose();case 15:case"end":return t.stop()}},t,this)})),function(){return j.apply(this,arguments)})},{key:"initSwipeToClose",value:function(){var t=this;if("ios"===Object(d.b)(this)){var r,n,a,i,s,c=this.leaveAnimation||d.c.get("modalLeave",v),l=this.animation=c(this.el,this.presentingElement);this.gesture=(r=this.el,n=l,a=r.offsetHeight,i=!1,s=Object(f.createGesture)({el:r,gestureName:"modalSwipeToClose",gesturePriority:40,direction:"y",threshold:10,canStart:function(t){var e=t.event.target;return null===e||!e.closest||null===e.closest("ion-content")},onStart:function(){n.progressStart(!0,i?1:0)},onMove:function(t){var e=Object(b.j)(1e-4,t.deltaY/a,.9999);n.progressStep(e)},onEnd:function(r){var d=r.velocityY,c=Object(b.j)(1e-4,r.deltaY/a,.9999),l=(r.deltaY+1e3*d)/a>=.5,h=l?-.001:.001;l?(n.easing("cubic-bezier(0.32, 0.72, 0, 1)"),h+=Object(u.a)([0,0],[.32,.72],[0,1],[1,1],c)[0]):(n.easing("cubic-bezier(1, 0, 0.68, 0.28)"),h+=Object(u.a)([0,0],[1,0],[.68,.28],[1,1],c)[0]);var p=function(t,e){return Object(b.j)(400,t/Math.abs(1.1*e),500)}(l?c*a:(1-c)*a,d);i=l,s.enable(!1),n.onFinish(function(){l||s.enable(!0)}).progressEnd(l?1:0,h,p),l&&(t.gestureAnimationDismissing=!0,t.animation.onFinish(o(e().mark(function r(){return e().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.dismiss(void 0,"gesture");case 2:t.gestureAnimationDismissing=!1;case 3:case"end":return e.stop()}},r)}))))}})),this.gesture.enable(!0)}}},{key:"dismiss",value:(x=o(e().mark(function t(r,o){var n,a;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.gestureAnimationDismissing||"gesture"===o){t.next=2;break}return t.abrupt("return",!1);case 2:return n=l.i.get(this)||[],t.next=5,Object(l.g)(this,r,o,"modalLeave",v,g,this.presentingElement);case 5:if(a=t.sent,t.t0=a,!t.t0){t.next=12;break}return t.next=10,Object(c.b)(this.delegate,this.usersElement);case 10:this.animation&&this.animation.destroy(),n.forEach(function(t){return t.destroy()});case 12:return this.animation=void 0,t.abrupt("return",a);case 14:case"end":return t.stop()}},t,this)})),function(t,e){return x.apply(this,arguments)})},{key:"onDidDismiss",value:function(){return Object(l.h)(this.el,"ionModalDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(l.h)(this.el,"ionModalWillDismiss")}},{key:"render",value:function(){var e,r=Object(d.b)(this);return Object(s.j)(s.c,{"no-router":!0,"aria-modal":"true",tabindex:"-1",class:Object.assign((e={},t(e,r,!0),t(e,"modal-card",void 0!==this.presentingElement&&"ios"===r),e),Object(h.b)(this.cssClass)),style:{zIndex:""+(2e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,onIonDismiss:this.onDismiss,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle},Object(s.j)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),"ios"===r&&Object(s.j)("div",{class:"modal-shadow"}),Object(s.j)("div",{tabindex:"0"}),Object(s.j)("div",{role:"dialog",class:"modal-wrapper ion-overlay-wrapper"}),Object(s.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(s.k)(this)}}],m=[{key:"watchers",get:function(){return{swipeToClose:["swipeToCloseChanged"]}}}],i&&n(a.prototype,i),m&&n(a,m),Object.defineProperty(a,"prototype",{writable:!1}),r}(),k={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};x.style={ios:".sc-ion-modal-ios-h{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.overlay-hidden.sc-ion-modal-ios-h{display:none}.modal-wrapper.sc-ion-modal-ios,.modal-shadow.sc-ion-modal-ios{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow.sc-ion-modal-ios{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-ios-h{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){.sc-ion-modal-ios-h{--width:600px;--height:600px}}.sc-ion-modal-ios-h:first-of-type{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-ios-h{--border-radius:10px}}.modal-wrapper.sc-ion-modal-ios{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){.modal-card.sc-ion-modal-ios-h{--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){.modal-card.sc-ion-modal-ios-h{--height:calc(100% - 40px)}}.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:0;border-bottom-left-radius:0}[dir=rtl].sc-ion-modal-ios-h -no-combinator.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl] .sc-ion-modal-ios-h -no-combinator.modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl].modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios,[dir=rtl] .modal-card.sc-ion-modal-ios-h .modal-wrapper.sc-ion-modal-ios{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:0;border-bottom-left-radius:0}.modal-card.sc-ion-modal-ios-h{--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}.modal-card.sc-ion-modal-ios-h .modal-shadow.sc-ion-modal-ios{display:none}.modal-card.sc-ion-modal-ios-h ion-backdrop.sc-ion-modal-ios{pointer-events:none}}@media screen and (min-width: 768px){.modal-card.sc-ion-modal-ios-h{--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px}.modal-card.sc-ion-modal-ios-h{--backdrop-opacity:0;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.modal-card.sc-ion-modal-ios-h:first-of-type{--backdrop-opacity:0.18}.modal-card.sc-ion-modal-ios-h .modal-shadow.sc-ion-modal-ios{-webkit-box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1)}}",md:".sc-ion-modal-md-h{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.overlay-hidden.sc-ion-modal-md-h{display:none}.modal-wrapper.sc-ion-modal-md,.modal-shadow.sc-ion-modal-md{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow.sc-ion-modal-md{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-md-h{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){.sc-ion-modal-md-h{--width:600px;--height:600px}}.sc-ion-modal-md-h:first-of-type{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){.sc-ion-modal-md-h{--border-radius:2px}.sc-ion-modal-md-h:first-of-type{--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper.sc-ion-modal-md{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}"}}}])}(); \ No newline at end of file diff --git a/dist/33-es5.9e1a58600a79fa927829.js b/dist/33-es5.9e1a58600a79fa927829.js index a434e06c00..fd80acb0f4 100644 --- a/dist/33-es5.9e1a58600a79fa927829.js +++ b/dist/33-es5.9e1a58600a79fa927829.js @@ -1 +1 @@ -!function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}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 s,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,s=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw s}}}}function t(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 n(e,t,n,r,i,o,s){try{var a=e[o](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var s=e.apply(t,r);function a(e){n(s,i,o,a,u,"next",e)}function u(e){n(s,i,o,a,u,"throw",e)}a(void 0)})}}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 s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{vnES:function(t,n,o){"use strict";o.r(n),o.d(n,"ion_nav",function(){return m}),o.d(n,"ion_nav_link",function(){return g});var a=o("wEJo"),u=o("E/Mt"),c=o("bC4P"),l=o("1vRN"),v=o("k4ps"),h=o("acej"),f=function(){function e(t,n){i(this,e),this.component=t,this.params=n,this.state=1}var t;return s(e,[{key:"init",value:(t=r(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=2,this.element){e.next=5;break}return n=this.component,e.next=4,Object(h.a)(this.delegate,t,n,["ion-page","ion-page-invisible"],this.params);case 4:this.element=e.sent;case 5:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"_destroy",value:function(){Object(l.l)(3!==this.state,"view state must be ATTACHED");var e=this.element;e&&(this.delegate?this.delegate.removeViewFromDom(e.parentElement,e):e.remove()),this.nav=void 0,this.state=3}}]),e}(),d=function(e,t,n){if(!e)return!1;if(e.component!==t)return!1;var r=e.params;if(r===n)return!0;if(!r&&!n)return!0;if(!r||!n)return!1;var i=Object.keys(r),o=Object.keys(n);if(i.length!==o.length)return!1;for(var s=0,a=i;s<a.length;s++){var u=a[s];if(r[u]!==n[u])return!1}return!0},p=function(e,t){return e?e instanceof f?e:new f(e,t):null},m=function(){function t(e){i(this,t),Object(a.o)(this,e),this.ionNavWillLoad=Object(a.g)(this,"ionNavWillLoad",7),this.ionNavWillChange=Object(a.g)(this,"ionNavWillChange",3),this.ionNavDidChange=Object(a.g)(this,"ionNavDidChange",3),this.transInstr=[],this.animationEnabled=!0,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.animated=!0}var n,h,m,g,y;return s(t,[{key:"swipeGestureChanged",value:function(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}},{key:"rootChanged",value:function(){void 0!==this.root&&(this.useRouter||this.setRoot(this.root,this.rootParams))}},{key:"componentWillLoad",value:function(){if(this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]"),void 0===this.swipeGesture){var e=Object(u.b)(this);this.swipeGesture=u.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}},{key:"componentDidLoad",value:(y=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.rootChanged(),e.next=3,o.e(2).then(o.bind(null,"IYAk"));case 3:this.gesture=e.sent.createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged();case 5:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var t,n=e(this.views);try{for(n.s();!(t=n.n()).done;){var r=t.value;Object(v.h)(r.element,v.e),r._destroy()}}catch(i){n.e(i)}finally{n.f()}this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=this.views.length=0,this.destroyed=!0}},{key:"push",value:function(e,t,n,r){return this.queueTrns({insertStart:-1,insertViews:[{component:e,componentProps:t}],opts:n},r)}},{key:"insert",value:function(e,t,n,r,i){return this.queueTrns({insertStart:e,insertViews:[{component:t,componentProps:n}],opts:r},i)}},{key:"insertPages",value:function(e,t,n,r){return this.queueTrns({insertStart:e,insertViews:t,opts:n},r)}},{key:"pop",value:function(e,t){return this.queueTrns({removeStart:-1,removeCount:1,opts:e},t)}},{key:"popTo",value:function(e,t,n){var r={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(r.removeView=e,r.removeStart=1):"number"==typeof e&&(r.removeStart=e+1),this.queueTrns(r,n)}},{key:"popToRoot",value:function(e,t){return this.queueTrns({removeStart:1,removeCount:-1,opts:e},t)}},{key:"removeIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return this.queueTrns({removeStart:e,removeCount:t,opts:n},r)}},{key:"setRoot",value:function(e,t,n,r){return this.setPages([{component:e,componentProps:t}],n,r)}},{key:"setPages",value:function(e,t,n){return null==t&&(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}},{key:"setRouteId",value:function(e,t,n,i){var o,s=this.getActiveSync();if(d(s,e,t))return Promise.resolve({changed:!1,element:s.element});var a,u=new Promise(function(e){return o=e}),c={updateURL:!1,viewIsReady:function(e){var t,n,i=new Promise(function(e){return t=e});return o({changed:!0,element:e,markVisible:(n=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t(),e.next=3,a;case 3:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)})}),i}};if("root"===n)a=this.setRoot(e,t,c);else{var l=this.views.find(function(n){return d(n,e,t)});l?a=this.popTo(l,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:i})):"forward"===n?a=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:i})):"back"===n&&(a=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:i})))}return u}},{key:"getRouteId",value:(g=r(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getActiveSync(),e.abrupt("return",t?{id:t.element.tagName,params:t.params,element:t.element}:void 0);case 2:case"end":return e.stop()}},e,this)})),function(){return g.apply(this,arguments)})},{key:"getActive",value:function(){return Promise.resolve(this.getActiveSync())}},{key:"getByIndex",value:function(e){return Promise.resolve(this.views[e])}},{key:"canGoBack",value:function(e){return Promise.resolve(this.canGoBackSync(e))}},{key:"getPrevious",value:function(e){return Promise.resolve(this.getPreviousSync(e))}},{key:"getLength",value:function(){return this.views.length}},{key:"getActiveSync",value:function(){return this.views[this.views.length-1]}},{key:"canGoBackSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveSync();return!(!e||!this.getPreviousSync(e))}},{key:"getPreviousSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveSync();if(e){var t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}}},{key:"queueTrns",value:(m=r(regeneratorRuntime.mark(function e(t,n){var r,i,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isTransitioning||null==t.opts||!t.opts.skipIfBusy){e.next=2;break}return e.abrupt("return",Promise.resolve(!1));case 2:if(r=new Promise(function(e,n){t.resolve=e,t.reject=n}),t.done=n,!t.opts||!1===t.opts.updateURL||!this.useRouter){e.next=13;break}if(!(i=document.querySelector("ion-router"))){e.next=13;break}return e.next=8,i.canTransition();case 8:if(!1!==(o=e.sent)){e.next=11;break}return e.abrupt("return",Promise.resolve(!1));case 11:if("string"!=typeof o){e.next=13;break}return e.abrupt("return",(i.push(o,t.opts.direction||"back"),Promise.resolve(!1)));case 13:return e.abrupt("return",(t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),r));case 14:case"end":return e.stop()}},e,this)})),function(e,t){return m.apply(this,arguments)})},{key:"success",value:function(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){var n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}},{key:"failed",value:function(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}},{key:"fireError",value:function(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}},{key:"nextTrns",value:function(){if(this.isTransitioning)return!1;var e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}},{key:"runTransition",value:(h=r(regeneratorRuntime.mark(function e(t){var n,r,i,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t),n=this.getActiveSync(),r=this.getEnteringView(t,n),n||r){e.next=5;break}throw new Error("no views in the stack to be removed");case 5:if(e.t0=r&&1===r.state,!e.t0){e.next=9;break}return e.next=9,r.init(this.el);case 9:if(this.postViewInit(r,n,t),(i=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&r!==n)&&t.opts&&n&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||r&&r.animationBuilder),n.animationBuilder=t.opts.animationBuilder),!i){e.next=18;break}return e.next=15,this.transition(r,n,t);case 15:e.t1=e.sent,e.next=19;break;case 18:e.t1={hasCompleted:!0,requiresTransition:!1};case 19:o=e.t1,this.success(o,t),this.ionNavDidChange.emit(),e.next=26;break;case 23:e.prev=23,e.t2=e.catch(0),this.failed(e.t2,t);case 26:this.isTransitioning=!1,this.nextTrns();case 27:case"end":return e.stop()}},e,this,[[0,23]])})),function(e){return h.apply(this,arguments)})},{key:"prepareTI",value:function(t){var n=this.views.length;if(t.opts=t.opts||{},void 0===t.opts.delegate&&(t.opts.delegate=this.delegate),void 0!==t.removeView){Object(l.l)(void 0!==t.removeStart,"removeView needs removeStart"),Object(l.l)(void 0!==t.removeCount,"removeView needs removeCount");var r=this.views.indexOf(t.removeView);if(r<0)throw new Error("removeView was not found");t.removeStart+=r}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);var i=t.insertViews;if(i){Object(l.l)(i.length>0,"length can not be zero");var o=i.map(function(e){return e instanceof f?e:"component"in e?p(e.component,null===e.componentProps?void 0:e.componentProps):p(e,void 0)}).filter(function(e){return null!==e});if(0===o.length)throw new Error("invalid views to insert");var s,a=e(o);try{for(a.s();!(s=a.n()).done;){var u=s.value;u.delegate=t.opts.delegate;var c=u.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===u.state)throw new Error("inserted view was already destroyed")}}catch(v){a.e(v)}finally{a.f()}t.insertViews=o}}},{key:"getEnteringView",value:function(e,t){var n=e.insertViews;if(void 0!==n)return n[n.length-1];var r=e.removeStart;if(void 0!==r)for(var i=this.views,o=r+e.removeCount,s=i.length-1;s>=0;s--){var a=i[s];if((s<r||s>=o)&&a!==t)return a}}},{key:"postViewInit",value:function(t,n,r){Object(l.l)(n||t,"Both leavingView and enteringView are null"),Object(l.l)(r.resolve,"resolve must be valid"),Object(l.l)(r.reject,"reject must be valid");var i,o=r.opts,s=r.insertViews,a=r.removeStart,u=r.removeCount;if(void 0!==a&&void 0!==u){Object(l.l)(a>=0,"removeStart can not be negative"),Object(l.l)(u>=0,"removeCount can not be negative"),i=[];for(var c=0;c<u;c++){var h=this.views[c+a];h&&h!==t&&h!==n&&i.push(h)}o.direction=o.direction||"back"}var f=this.views.length+(void 0!==s?s.length:0)-(void 0!==u?u:0);if(Object(l.l)(f>=0,"final balance can not be negative"),0===f)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(s){var d,p=r.insertStart,m=e(s);try{for(m.s();!(d=m.n()).done;){var g=d.value;this.insertViewAt(g,p),p++}}catch(O){m.e(O)}finally{m.f()}r.enteringRequiresTransition&&(o.direction=o.direction||"forward")}if(i&&i.length>0){var y,b=e(i);try{for(b.s();!(y=b.n()).done;){var w=y.value;Object(v.h)(w.element,v.c),Object(v.h)(w.element,v.d),Object(v.h)(w.element,v.e)}}catch(O){b.e(O)}finally{b.f()}var k,j=e(i);try{for(j.s();!(k=j.n()).done;){var S=k.value;this.destroyView(S)}}catch(O){j.e(O)}finally{j.f()}}}},{key:"transition",value:(n=r(regeneratorRuntime.mark(function e(t,n,r){var i,o,s,a,c,l,h,f,d=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.opts,o=i.progressAnimation?function(e){return d.sbAni=e}:void 0,s=Object(u.b)(this),a=t.element,c=n&&n.element,l=Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,animationBuilder:this.animation||i.animationBuilder||u.c.get("navAnimation"),progressCallback:o,animated:this.animated&&u.c.getBoolean("animated",!0),enteringEl:a,leavingEl:c},i),e.next=8,Object(v.j)(l);case 8:return h=e.sent,f=h.hasCompleted,e.abrupt("return",this.transitionFinish(f,t,n,i));case 11:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"transitionFinish",value:function(e,t,n,r){var i=e?t:n;return i&&this.cleanup(i),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:r.direction}}},{key:"insertViewAt",value:function(e,t){var n=this.views,r=n.indexOf(e);r>-1?(Object(l.l)(e.nav===this,"view is not part of the nav"),n.splice(t,0,n.splice(r,1)[0])):(Object(l.l)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}},{key:"removeView",value:function(e){Object(l.l)(2===e.state||3===e.state,"view state should be loaded or destroyed");var t=this.views,n=t.indexOf(e);Object(l.l)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}},{key:"destroyView",value:function(e){e._destroy(),this.removeView(e)}},{key:"cleanup",value:function(e){if(!this.destroyed)for(var t=this.views,n=t.indexOf(e),r=t.length-1;r>=0;r--){var i=t[r],o=i.element;o&&(r>n?(Object(v.h)(o,v.e),this.destroyView(i)):r<n&&Object(v.i)(o,!0))}}},{key:"canStart",value:function(){return!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.animationEnabled&&this.canGoBackSync()}},{key:"onStart",value:function(){this.queueTrns({removeStart:-1,removeCount:1,opts:{direction:"back",progressAnimation:!0}},void 0)}},{key:"onMove",value:function(e){this.sbAni&&this.sbAni.progressStep(e)}},{key:"onEnd",value:function(e,t,n){var r=this;if(this.sbAni){this.animationEnabled=!1,this.sbAni.onFinish(function(){r.animationEnabled=!0},{oneTimeCallback:!0});var i=e?-.001:.001;e?i+=Object(c.a)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=Object(c.a)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}}},{key:"render",value:function(){return Object(a.j)("slot",null)}},{key:"el",get:function(){return Object(a.k)(this)}}],[{key:"watchers",get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}}]),t}();m.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";var g=function(){function e(t){var n=this;i(this,e),Object(a.o)(this,t),this.routerDirection="forward",this.onClick=function(){return function(e,t,r,i,o){var s=n.el.closest("ion-nav");if(s)if("forward"===t){if(void 0!==r)return s.push(r,i,{skipIfBusy:!0,animationBuilder:o})}else if("root"===t){if(void 0!==r)return s.setRoot(r,i,{skipIfBusy:!0,animationBuilder:o})}else if("back"===t)return s.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)}(0,n.routerDirection,n.component,n.componentProps,n.routerAnimation)}}return s(e,[{key:"render",value:function(){return Object(a.j)(a.c,{onClick:this.onClick})}},{key:"el",get:function(){return Object(a.k)(this)}}]),e}()}}])}(); \ No newline at end of file +!function(){function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}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,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function t(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 n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(T){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new x(r||[]);return o._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 E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===h)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 u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(T){return{type:"throw",arg:T}}}e.wrap=c;var h={};function v(){}function f(){}function d(){}var p={};u(p,o,function(){return this});var m=Object.getPrototypeOf,y=m&&m(m(S([])));y&&y!==t&&r.call(y,o)&&(p=y);var g=d.prototype=v.prototype=Object.create(p);function w(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function b(e,t){function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(h).then(function(e){c.value=e,a(c)},function(e){return n("throw",e,a,s)})}s(u.arg)}var i;this._invoke=function(e,r){function o(){return new t(function(t,i){n(e,r,t,i)})}return i=i?i.then(o,o):o()}}function k(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,k(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;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,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function j(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function S(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 f.prototype=d,u(g,"constructor",d),u(d,"constructor",f),f.displayName=u(d,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,s,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(b.prototype),u(b.prototype,a,function(){return this}),e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},w(g),u(g,s,"Generator"),u(g,o,function(){return this}),u(g,"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=S,x.prototype={constructor:x,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(O),!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"),u=r.call(o,"finallyLoc");if(s&&u){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(!u)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,h):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),h},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),O(n),h}},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;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function r(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)})}}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),Object.defineProperty(e,"prototype",{writable:!1}),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{vnES:function(t,r,a){"use strict";a.r(r),a.d(r,"ion_nav",function(){return y}),a.d(r,"ion_nav_link",function(){return g});var u=a("wEJo"),c=a("E/Mt"),l=a("bC4P"),h=a("1vRN"),v=a("k4ps"),f=a("acej"),d=function(){function e(t,n){o(this,e),this.component=t,this.params=n,this.state=1}var t;return s(e,[{key:"init",value:(t=i(n().mark(function e(t){var r;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=2,this.element){e.next=5;break}return r=this.component,e.next=4,Object(f.a)(this.delegate,t,r,["ion-page","ion-page-invisible"],this.params);case 4:this.element=e.sent;case 5:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"_destroy",value:function(){Object(h.l)(3!==this.state,"view state must be ATTACHED");var e=this.element;e&&(this.delegate?this.delegate.removeViewFromDom(e.parentElement,e):e.remove()),this.nav=void 0,this.state=3}}]),e}(),p=function(e,t,n){if(!e)return!1;if(e.component!==t)return!1;var r=e.params;if(r===n)return!0;if(!r&&!n)return!0;if(!r||!n)return!1;var i=Object.keys(r),o=Object.keys(n);if(i.length!==o.length)return!1;for(var a=0,s=i;a<s.length;a++){var u=s[a];if(r[u]!==n[u])return!1}return!0},m=function(e,t){return e?e instanceof d?e:new d(e,t):null},y=function(){function t(e){o(this,t),Object(u.o)(this,e),this.ionNavWillLoad=Object(u.g)(this,"ionNavWillLoad",7),this.ionNavWillChange=Object(u.g)(this,"ionNavWillChange",3),this.ionNavDidChange=Object(u.g)(this,"ionNavDidChange",3),this.transInstr=[],this.animationEnabled=!0,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.animated=!0}var r,f,y,g,w;return s(t,[{key:"swipeGestureChanged",value:function(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}},{key:"rootChanged",value:function(){void 0!==this.root&&(this.useRouter||this.setRoot(this.root,this.rootParams))}},{key:"componentWillLoad",value:function(){if(this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]"),void 0===this.swipeGesture){var e=Object(c.b)(this);this.swipeGesture=c.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}},{key:"componentDidLoad",value:(w=i(n().mark(function e(){return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.rootChanged(),e.next=3,a.e(2).then(a.bind(null,"IYAk"));case 3:this.gesture=e.sent.createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged();case 5:case"end":return e.stop()}},e,this)})),function(){return w.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var t,n=e(this.views);try{for(n.s();!(t=n.n()).done;){var r=t.value;Object(v.h)(r.element,v.e),r._destroy()}}catch(i){n.e(i)}finally{n.f()}this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=this.views.length=0,this.destroyed=!0}},{key:"push",value:function(e,t,n,r){return this.queueTrns({insertStart:-1,insertViews:[{component:e,componentProps:t}],opts:n},r)}},{key:"insert",value:function(e,t,n,r,i){return this.queueTrns({insertStart:e,insertViews:[{component:t,componentProps:n}],opts:r},i)}},{key:"insertPages",value:function(e,t,n,r){return this.queueTrns({insertStart:e,insertViews:t,opts:n},r)}},{key:"pop",value:function(e,t){return this.queueTrns({removeStart:-1,removeCount:1,opts:e},t)}},{key:"popTo",value:function(e,t,n){var r={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(r.removeView=e,r.removeStart=1):"number"==typeof e&&(r.removeStart=e+1),this.queueTrns(r,n)}},{key:"popToRoot",value:function(e,t){return this.queueTrns({removeStart:1,removeCount:-1,opts:e},t)}},{key:"removeIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return this.queueTrns({removeStart:e,removeCount:t,opts:n},r)}},{key:"setRoot",value:function(e,t,n,r){return this.setPages([{component:e,componentProps:t}],n,r)}},{key:"setPages",value:function(e,t,n){return null==t&&(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}},{key:"setRouteId",value:function(e,t,r,o){var a,s=this.getActiveSync();if(p(s,e,t))return Promise.resolve({changed:!1,element:s.element});var u,c=new Promise(function(e){return a=e}),l={updateURL:!1,viewIsReady:function(e){var t,r,o=new Promise(function(e){return t=e});return a({changed:!0,element:e,markVisible:(r=i(n().mark(function e(){return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t(),e.next=3,u;case 3:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)})}),o}};if("root"===r)u=this.setRoot(e,t,l);else{var h=this.views.find(function(n){return p(n,e,t)});h?u=this.popTo(h,Object.assign(Object.assign({},l),{direction:"back",animationBuilder:o})):"forward"===r?u=this.push(e,t,Object.assign(Object.assign({},l),{animationBuilder:o})):"back"===r&&(u=this.setRoot(e,t,Object.assign(Object.assign({},l),{direction:"back",animated:!0,animationBuilder:o})))}return c}},{key:"getRouteId",value:(g=i(n().mark(function e(){var t;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getActiveSync(),e.abrupt("return",t?{id:t.element.tagName,params:t.params,element:t.element}:void 0);case 2:case"end":return e.stop()}},e,this)})),function(){return g.apply(this,arguments)})},{key:"getActive",value:function(){return Promise.resolve(this.getActiveSync())}},{key:"getByIndex",value:function(e){return Promise.resolve(this.views[e])}},{key:"canGoBack",value:function(e){return Promise.resolve(this.canGoBackSync(e))}},{key:"getPrevious",value:function(e){return Promise.resolve(this.getPreviousSync(e))}},{key:"getLength",value:function(){return this.views.length}},{key:"getActiveSync",value:function(){return this.views[this.views.length-1]}},{key:"canGoBackSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveSync();return!(!e||!this.getPreviousSync(e))}},{key:"getPreviousSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveSync();if(e){var t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}}},{key:"queueTrns",value:(y=i(n().mark(function e(t,r){var i,o,a;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isTransitioning||null==t.opts||!t.opts.skipIfBusy){e.next=2;break}return e.abrupt("return",Promise.resolve(!1));case 2:if(i=new Promise(function(e,n){t.resolve=e,t.reject=n}),t.done=r,!t.opts||!1===t.opts.updateURL||!this.useRouter){e.next=13;break}if(!(o=document.querySelector("ion-router"))){e.next=13;break}return e.next=8,o.canTransition();case 8:if(!1!==(a=e.sent)){e.next=11;break}return e.abrupt("return",Promise.resolve(!1));case 11:if("string"!=typeof a){e.next=13;break}return e.abrupt("return",(o.push(a,t.opts.direction||"back"),Promise.resolve(!1)));case 13:return e.abrupt("return",(t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),i));case 14:case"end":return e.stop()}},e,this)})),function(e,t){return y.apply(this,arguments)})},{key:"success",value:function(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){var n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}},{key:"failed",value:function(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}},{key:"fireError",value:function(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}},{key:"nextTrns",value:function(){if(this.isTransitioning)return!1;var e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}},{key:"runTransition",value:(f=i(n().mark(function e(t){var r,i,o,a;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t),r=this.getActiveSync(),i=this.getEnteringView(t,r),r||i){e.next=5;break}throw new Error("no views in the stack to be removed");case 5:if(e.t0=i&&1===i.state,!e.t0){e.next=9;break}return e.next=9,i.init(this.el);case 9:if(this.postViewInit(i,r,t),(o=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==r)&&t.opts&&r&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||i&&i.animationBuilder),r.animationBuilder=t.opts.animationBuilder),!o){e.next=18;break}return e.next=15,this.transition(i,r,t);case 15:e.t1=e.sent,e.next=19;break;case 18:e.t1={hasCompleted:!0,requiresTransition:!1};case 19:a=e.t1,this.success(a,t),this.ionNavDidChange.emit(),e.next=26;break;case 23:e.prev=23,e.t2=e.catch(0),this.failed(e.t2,t);case 26:this.isTransitioning=!1,this.nextTrns();case 27:case"end":return e.stop()}},e,this,[[0,23]])})),function(e){return f.apply(this,arguments)})},{key:"prepareTI",value:function(t){var n=this.views.length;if(t.opts=t.opts||{},void 0===t.opts.delegate&&(t.opts.delegate=this.delegate),void 0!==t.removeView){Object(h.l)(void 0!==t.removeStart,"removeView needs removeStart"),Object(h.l)(void 0!==t.removeCount,"removeView needs removeCount");var r=this.views.indexOf(t.removeView);if(r<0)throw new Error("removeView was not found");t.removeStart+=r}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n);var i=t.insertViews;if(i){Object(h.l)(i.length>0,"length can not be zero");var o=i.map(function(e){return e instanceof d?e:"component"in e?m(e.component,null===e.componentProps?void 0:e.componentProps):m(e,void 0)}).filter(function(e){return null!==e});if(0===o.length)throw new Error("invalid views to insert");var a,s=e(o);try{for(s.s();!(a=s.n()).done;){var u=a.value;u.delegate=t.opts.delegate;var c=u.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===u.state)throw new Error("inserted view was already destroyed")}}catch(l){s.e(l)}finally{s.f()}t.insertViews=o}}},{key:"getEnteringView",value:function(e,t){var n=e.insertViews;if(void 0!==n)return n[n.length-1];var r=e.removeStart;if(void 0!==r)for(var i=this.views,o=r+e.removeCount,a=i.length-1;a>=0;a--){var s=i[a];if((a<r||a>=o)&&s!==t)return s}}},{key:"postViewInit",value:function(t,n,r){Object(h.l)(n||t,"Both leavingView and enteringView are null"),Object(h.l)(r.resolve,"resolve must be valid"),Object(h.l)(r.reject,"reject must be valid");var i,o=r.opts,a=r.insertViews,s=r.removeStart,u=r.removeCount;if(void 0!==s&&void 0!==u){Object(h.l)(s>=0,"removeStart can not be negative"),Object(h.l)(u>=0,"removeCount can not be negative"),i=[];for(var c=0;c<u;c++){var l=this.views[c+s];l&&l!==t&&l!==n&&i.push(l)}o.direction=o.direction||"back"}var f=this.views.length+(void 0!==a?a.length:0)-(void 0!==u?u:0);if(Object(h.l)(f>=0,"final balance can not be negative"),0===f)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(a){var d,p=r.insertStart,m=e(a);try{for(m.s();!(d=m.n()).done;){var y=d.value;this.insertViewAt(y,p),p++}}catch(x){m.e(x)}finally{m.f()}r.enteringRequiresTransition&&(o.direction=o.direction||"forward")}if(i&&i.length>0){var g,w=e(i);try{for(w.s();!(g=w.n()).done;){var b=g.value;Object(v.h)(b.element,v.c),Object(v.h)(b.element,v.d),Object(v.h)(b.element,v.e)}}catch(x){w.e(x)}finally{w.f()}var k,j=e(i);try{for(j.s();!(k=j.n()).done;){var O=k.value;this.destroyView(O)}}catch(x){j.e(x)}finally{j.f()}}}},{key:"transition",value:(r=i(n().mark(function e(t,r,i){var o,a,s,u,l,h,f,d,p=this;return n().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.opts,a=o.progressAnimation?function(e){return p.sbAni=e}:void 0,s=Object(c.b)(this),u=t.element,l=r&&r.element,h=Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,animationBuilder:this.animation||o.animationBuilder||c.c.get("navAnimation"),progressCallback:a,animated:this.animated&&c.c.getBoolean("animated",!0),enteringEl:u,leavingEl:l},o),e.next=8,Object(v.j)(h);case 8:return f=e.sent,d=f.hasCompleted,e.abrupt("return",this.transitionFinish(d,t,r,o));case 11:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"transitionFinish",value:function(e,t,n,r){var i=e?t:n;return i&&this.cleanup(i),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:r.direction}}},{key:"insertViewAt",value:function(e,t){var n=this.views,r=n.indexOf(e);r>-1?(Object(h.l)(e.nav===this,"view is not part of the nav"),n.splice(t,0,n.splice(r,1)[0])):(Object(h.l)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}},{key:"removeView",value:function(e){Object(h.l)(2===e.state||3===e.state,"view state should be loaded or destroyed");var t=this.views,n=t.indexOf(e);Object(h.l)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}},{key:"destroyView",value:function(e){e._destroy(),this.removeView(e)}},{key:"cleanup",value:function(e){if(!this.destroyed)for(var t=this.views,n=t.indexOf(e),r=t.length-1;r>=0;r--){var i=t[r],o=i.element;o&&(r>n?(Object(v.h)(o,v.e),this.destroyView(i)):r<n&&Object(v.i)(o,!0))}}},{key:"canStart",value:function(){return!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.animationEnabled&&this.canGoBackSync()}},{key:"onStart",value:function(){this.queueTrns({removeStart:-1,removeCount:1,opts:{direction:"back",progressAnimation:!0}},void 0)}},{key:"onMove",value:function(e){this.sbAni&&this.sbAni.progressStep(e)}},{key:"onEnd",value:function(e,t,n){var r=this;if(this.sbAni){this.animationEnabled=!1,this.sbAni.onFinish(function(){r.animationEnabled=!0},{oneTimeCallback:!0});var i=e?-.001:.001;e?i+=Object(l.a)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=Object(l.a)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}}},{key:"render",value:function(){return Object(u.j)("slot",null)}},{key:"el",get:function(){return Object(u.k)(this)}}],[{key:"watchers",get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}}]),t}();y.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";var g=function(){function e(t){var n=this;o(this,e),Object(u.o)(this,t),this.routerDirection="forward",this.onClick=function(){return function(e,t,r,i,o){var a=n.el.closest("ion-nav");if(a)if("forward"===t){if(void 0!==r)return a.push(r,i,{skipIfBusy:!0,animationBuilder:o})}else if("root"===t){if(void 0!==r)return a.setRoot(r,i,{skipIfBusy:!0,animationBuilder:o})}else if("back"===t)return a.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)}(0,n.routerDirection,n.component,n.componentProps,n.routerAnimation)}}return s(e,[{key:"render",value:function(){return Object(u.j)(u.c,{onClick:this.onClick})}},{key:"el",get:function(){return Object(u.k)(this)}}]),e}()}}])}(); \ No newline at end of file diff --git a/dist/34-es5.d002c17ffb737589a397.js b/dist/34-es5.d002c17ffb737589a397.js index 48e490003c..d02d3496c6 100644 --- a/dist/34-es5.d002c17ffb737589a397.js +++ b/dist/34-es5.d002c17ffb737589a397.js @@ -1 +1 @@ -!function(){function e(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function o(e,o,t,r,i,n,a){try{var p=e[n](a),s=p.value}catch(c){return void t(c)}p.done?o(s):Promise.resolve(s).then(r,i)}function t(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var a=e.apply(t,r);function p(e){o(a,i,n,p,s,"next",e)}function s(e){o(a,i,n,p,s,"throw",e)}p(void 0)})}}function r(e,o){for(var t=0;t<o.length;t++){var r=o[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{qCuA:function(o,i,n){"use strict";n.r(i),n.d(i,"ion_popover",function(){return x});var a=n("wEJo"),p=n("E/Mt"),s=n("acej"),c=n("7OTs"),l=n("74mu"),d=n("k4ps"),v=n("meiF");n("1vRN"),n("B4Jq");var h=function(e,o){var t="top",r="left",i=e.querySelector(".popover-content"),n=i.getBoundingClientRect(),a=n.width,p=n.height,s=e.ownerDocument.defaultView.innerWidth,c=e.ownerDocument.defaultView.innerHeight,l=o&&o.target&&o.target.getBoundingClientRect(),d=null!=l&&"top"in l?l.top:c/2-p/2,h=null!=l&&"left"in l?l.left:s/2,f=l&&l.width||0,b=l&&l.height||0,m=e.querySelector(".popover-arrow"),x=m.getBoundingClientRect(),g=x.width,w=x.height;null==l&&(m.style.display="none");var y={top:d+b,left:h+f/2-g/2},k={top:d+b+(w-1),left:h+f/2-a/2},j=!1,O=!1;k.left<u+25?(j=!0,k.left=u):a+u+k.left+25>s&&(O=!0,k.left=s-a-u,r="right"),d+b+p>c&&d-p>0?(y.top=d-(w+1),k.top=d-p-(w-1),e.className=e.className+" popover-bottom",t="bottom"):d+b+p>c&&(i.style.bottom=u+"%"),m.style.top=y.top+"px",m.style.left=y.left+"px",i.style.top=k.top+"px",i.style.left=k.left+"px",j&&(i.style.left="calc(".concat(k.left,"px + var(--ion-safe-area-left, 0px))")),O&&(i.style.left="calc(".concat(k.left,"px - var(--ion-safe-area-right, 0px))")),i.style.transformOrigin=t+" "+r;var D=Object(v.a)(),P=Object(v.a)(),E=Object(v.a)();return P.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),E.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),D.addElement(e).easing("ease").duration(100).addAnimation([P,E])},u=5,f=function(e){var o=Object(v.a)(),t=Object(v.a)(),r=Object(v.a)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),o.addElement(e).easing("ease").duration(500).addAnimation([t,r])},b=function(e,o){var t=e.ownerDocument,r="rtl"===t.dir,i="top",n=r?"right":"left",a=e.querySelector(".popover-content"),p=a.getBoundingClientRect(),s=p.width,c=p.height,l=t.defaultView.innerWidth,d=t.defaultView.innerHeight,h=o&&o.target&&o.target.getBoundingClientRect(),u=null!=h&&"bottom"in h?h.bottom:d/2-c/2,f=h&&h.height||0,b={top:u,left:null!=h&&"left"in h?r?h.left-s+h.width:h.left:l/2-s/2};b.left<12?(b.left=12,n="left"):s+12+b.left>l&&(b.left=l-s-12,n="right"),u+f+c>d&&u-c>0?(b.top=u-c-f,e.className=e.className+" popover-bottom",i="bottom"):u+f+c>d&&(a.style.bottom="12px");var m=Object(v.a)(),x=Object(v.a)(),g=Object(v.a)(),w=Object(v.a)(),y=Object(v.a)();return x.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),g.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),w.addElement(a).beforeStyles({top:b.top+"px",left:b.left+"px","transform-origin":"".concat(i," ").concat(n)}).fromTo("transform","scale(0.001)","scale(1)"),y.addElement(e.querySelector(".popover-viewport")).fromTo("opacity",.01,1),m.addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).addAnimation([x,g,w,y])},m=function(e){var o=Object(v.a)(),t=Object(v.a)(),r=Object(v.a)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),o.addElement(e).easing("ease").duration(500).addAnimation([t,r])},x=function(){function o(e){var t=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),Object(a.o)(this,e),this.didPresent=Object(a.g)(this,"ionPopoverDidPresent",7),this.willPresent=Object(a.g)(this,"ionPopoverWillPresent",7),this.willDismiss=Object(a.g)(this,"ionPopoverWillDismiss",7),this.didDismiss=Object(a.g)(this,"ionPopoverDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onDismiss=function(e){e.stopPropagation(),e.preventDefault(),t.dismiss()},this.onBackdropTap=function(){t.dismiss(void 0,c.a)},this.onLifecycle=function(e){var o=t.usersElement,r=g[e.type];if(o&&r){var i=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(i)}}}var i,n,v,u,x;return i=o,(n=[{key:"connectedCallback",value:function(){Object(c.f)(this.el)}},{key:"present",value:(x=t(regeneratorRuntime.mark(function e(){var o,t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.presented){e.next=2;break}return e.abrupt("return");case 2:if(o=this.el.querySelector(".popover-content")){e.next=5;break}throw new Error("container is undefined");case 5:return t=Object.assign(Object.assign({},this.componentProps),{popover:this.el}),e.next=8,Object(s.a)(this.delegate,o,this.component,["popover-viewport",this.el["s-sc"]],t);case 8:return this.usersElement=e.sent,e.next=11,Object(d.f)(this.usersElement);case 11:return e.abrupt("return",Object(c.e)(this,"popoverEnter",h,b,this.event));case 12:case"end":return e.stop()}},e,this)})),function(){return x.apply(this,arguments)})},{key:"dismiss",value:(u=t(regeneratorRuntime.mark(function e(o,t){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.g)(this,o,t,"popoverLeave",f,m,this.event);case 2:if(r=e.sent,e.t0=r,!e.t0){e.next=7;break}return e.next=7,Object(s.b)(this.delegate,this.usersElement);case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}},e,this)})),function(e,o){return u.apply(this,arguments)})},{key:"onDidDismiss",value:function(){return Object(c.h)(this.el,"ionPopoverDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(c.h)(this.el,"ionPopoverWillDismiss")}},{key:"render",value:function(){var o,t=Object(p.b)(this),r=this.onLifecycle;return Object(a.j)(a.c,{"aria-modal":"true","no-router":!0,tabindex:"-1",style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},Object(l.b)(this.cssClass)),(o={},e(o,t,!0),e(o,"popover-translucent",this.translucent),o)),onIonPopoverDidPresent:r,onIonPopoverWillPresent:r,onIonPopoverWillDismiss:r,onIonPopoverDidDismiss:r,onIonDismiss:this.onDismiss,onIonBackdropTap:this.onBackdropTap},Object(a.j)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop}),Object(a.j)("div",{tabindex:"0"}),Object(a.j)("div",{class:"popover-wrapper ion-overlay-wrapper"},Object(a.j)("div",{class:"popover-arrow"}),Object(a.j)("div",{class:"popover-content"})),Object(a.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(a.k)(this)}}])&&r(i.prototype,n),v&&r(i,v),o}(),g={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};x.style={ios:'.sc-ion-popover-ios-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-ios-h{display:none}.popover-wrapper.sc-ion-popover-ios{opacity:0;z-index:10}.popover-content.sc-ion-popover-ios{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-ios{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-ios-h{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}.popover-content.sc-ion-popover-ios{border-radius:10px}.popover-arrow.sc-ion-popover-ios{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow.sc-ion-popover-ios::after{left:3px;top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}[dir=rtl].sc-ion-popover-ios .popover-arrow.sc-ion-popover-ios::after,[dir=rtl].sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after,[dir=rtl] .sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{left:unset;right:unset;right:3px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios{top:auto;bottom:-10px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{top:-6px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.popover-translucent.sc-ion-popover-ios-h .popover-content.sc-ion-popover-ios,.popover-translucent.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:".sc-ion-popover-md-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-md-h{display:none}.popover-wrapper.sc-ion-popover-md{opacity:0;z-index:10}.popover-content.sc-ion-popover-md{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-md{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-md-h{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content.sc-ion-popover-md{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}[dir=rtl].sc-ion-popover-md .popover-content.sc-ion-popover-md,[dir=rtl].sc-ion-popover-md-h .popover-content.sc-ion-popover-md,[dir=rtl] .sc-ion-popover-md-h .popover-content.sc-ion-popover-md{-webkit-transform-origin:right top;transform-origin:right top}.popover-viewport.sc-ion-popover-md{-webkit-transition-delay:100ms;transition-delay:100ms}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},o=Object.prototype,r=o.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function c(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(L){c=function(t,e,o){return t[e]=o}}function p(t,e,o,r){var n=e&&e.prototype instanceof h?e:h,i=Object.create(n.prototype),a=new O(r||[]);return i._invoke=function(t,e,o){var r="suspendedStart";return function(n,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===n)throw i;return P()}for(o.method=n,o.arg=i;;){var a=o.delegate;if(a){var s=x(a,o);if(s){if(s===u)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===r)throw r="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r="executing";var c=l(t,e,o);if("normal"===c.type){if(r=o.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(r="completed",o.method="throw",o.arg=c.arg)}}}(t,o,a),i}function l(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(L){return{type:"throw",arg:L}}}t.wrap=p;var u={};function h(){}function d(){}function f(){}var v={};c(v,i,function(){return this});var m=Object.getPrototypeOf,b=m&&m(m(E([])));b&&b!==o&&r.call(b,i)&&(v=b);var y=f.prototype=h.prototype=Object.create(v);function g(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function o(n,i,a,s){var c=l(t[n],t,i);if("throw"!==c.type){var p=c.arg,u=p.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then(function(t){o("next",t,a,s)},function(t){o("throw",t,a,s)}):e.resolve(u).then(function(t){p.value=t,a(p)},function(t){return o("throw",t,a,s)})}s(c.arg)}var n;this._invoke=function(t,r){function i(){return new e(function(e,n){o(t,r,e,n)})}return n=n?n.then(i,i):i()}}function x(t,e){var o=t.iterator[e.method];if(void 0===o){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=l(o,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,u;var n=r.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,n=function e(){for(;++o<t.length;)if(r.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:P}}function P(){return{value:void 0,done:!0}}return d.prototype=f,c(y,"constructor",f),c(f,"constructor",d),d.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,o,r,n,i){void 0===i&&(i=Promise);var a=new w(p(e,o,r,n),i);return t.isGeneratorFunction(o)?a:a.next().then(function(t){return t.done?t.value:a.next()})},g(y),c(y,s,"Generator"),c(y,i,function(){return this}),c(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var o in t)e.push(o);return e.reverse(),function o(){for(;e.length;){var r=e.pop();if(r in t)return o.value=r,o.done=!1,o}return o.done=!0,o}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(o,r){return a.type="throw",a.arg=t,e.next=o,r&&(e.method="next",e.arg=void 0),!!r}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),j(o),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var r=o.completion;if("throw"===r.type){var n=r.arg;j(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,o){return this.delegate={iterator:E(t),resultName:e,nextLoc:o},"next"===this.method&&(this.arg=void 0),u}},t}function o(t,e,o,r,n,i,a){try{var s=t[i](a),c=s.value}catch(p){return void o(p)}s.done?e(c):Promise.resolve(c).then(r,n)}function r(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)})}}function n(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{qCuA:function(o,i,a){"use strict";a.r(i),a.d(i,"ion_popover",function(){return g});var s=a("wEJo"),c=a("E/Mt"),p=a("acej"),l=a("7OTs"),u=a("74mu"),h=a("k4ps"),d=a("meiF");a("1vRN"),a("B4Jq");var f=function(t,e){var o="top",r="left",n=t.querySelector(".popover-content"),i=n.getBoundingClientRect(),a=i.width,s=i.height,c=t.ownerDocument.defaultView.innerWidth,p=t.ownerDocument.defaultView.innerHeight,l=e&&e.target&&e.target.getBoundingClientRect(),u=null!=l&&"top"in l?l.top:p/2-s/2,h=null!=l&&"left"in l?l.left:c/2,f=l&&l.width||0,m=l&&l.height||0,b=t.querySelector(".popover-arrow"),y=b.getBoundingClientRect(),g=y.width,w=y.height;null==l&&(b.style.display="none");var x={top:u+m,left:h+f/2-g/2},k={top:u+m+(w-1),left:h+f/2-a/2},j=!1,O=!1;k.left<v+25?(j=!0,k.left=v):a+v+k.left+25>c&&(O=!0,k.left=c-a-v,r="right"),u+m+s>p&&u-s>0?(x.top=u-(w+1),k.top=u-s-(w-1),t.className=t.className+" popover-bottom",o="bottom"):u+m+s>p&&(n.style.bottom=v+"%"),b.style.top=x.top+"px",b.style.left=x.left+"px",n.style.top=k.top+"px",n.style.left=k.left+"px",j&&(n.style.left="calc(".concat(k.left,"px + var(--ion-safe-area-left, 0px))")),O&&(n.style.left="calc(".concat(k.left,"px - var(--ion-safe-area-right, 0px))")),n.style.transformOrigin=o+" "+r;var E=Object(d.a)(),P=Object(d.a)(),L=Object(d.a)();return P.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),L.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),E.addElement(t).easing("ease").duration(100).addAnimation([P,L])},v=5,m=function(t){var e=Object(d.a)(),o=Object(d.a)(),r=Object(d.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease").duration(500).addAnimation([o,r])},b=function(t,e){var o=t.ownerDocument,r="rtl"===o.dir,n="top",i=r?"right":"left",a=t.querySelector(".popover-content"),s=a.getBoundingClientRect(),c=s.width,p=s.height,l=o.defaultView.innerWidth,u=o.defaultView.innerHeight,h=e&&e.target&&e.target.getBoundingClientRect(),f=null!=h&&"bottom"in h?h.bottom:u/2-p/2,v=h&&h.height||0,m={top:f,left:null!=h&&"left"in h?r?h.left-c+h.width:h.left:l/2-c/2};m.left<12?(m.left=12,i="left"):c+12+m.left>l&&(m.left=l-c-12,i="right"),f+v+p>u&&f-p>0?(m.top=f-p-v,t.className=t.className+" popover-bottom",n="bottom"):f+v+p>u&&(a.style.bottom="12px");var b=Object(d.a)(),y=Object(d.a)(),g=Object(d.a)(),w=Object(d.a)(),x=Object(d.a)();return y.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),g.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),w.addElement(a).beforeStyles({top:m.top+"px",left:m.left+"px","transform-origin":"".concat(n," ").concat(i)}).fromTo("transform","scale(0.001)","scale(1)"),x.addElement(t.querySelector(".popover-viewport")).fromTo("opacity",.01,1),b.addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).addAnimation([y,g,w,x])},y=function(t){var e=Object(d.a)(),o=Object(d.a)(),r=Object(d.a)();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease").duration(500).addAnimation([o,r])},g=function(){function o(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),Object(s.o)(this,t),this.didPresent=Object(s.g)(this,"ionPopoverDidPresent",7),this.willPresent=Object(s.g)(this,"ionPopoverWillPresent",7),this.willDismiss=Object(s.g)(this,"ionPopoverWillDismiss",7),this.didDismiss=Object(s.g)(this,"ionPopoverDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onDismiss=function(t){t.stopPropagation(),t.preventDefault(),e.dismiss()},this.onBackdropTap=function(){e.dismiss(void 0,l.a)},this.onLifecycle=function(t){var o=e.usersElement,r=w[t.type];if(o&&r){var n=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(n)}}}var i,a,d,v,g;return i=o,(a=[{key:"connectedCallback",value:function(){Object(l.f)(this.el)}},{key:"present",value:(g=r(e().mark(function t(){var o,r;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.presented){t.next=2;break}return t.abrupt("return");case 2:if(o=this.el.querySelector(".popover-content")){t.next=5;break}throw new Error("container is undefined");case 5:return r=Object.assign(Object.assign({},this.componentProps),{popover:this.el}),t.next=8,Object(p.a)(this.delegate,o,this.component,["popover-viewport",this.el["s-sc"]],r);case 8:return this.usersElement=t.sent,t.next=11,Object(h.f)(this.usersElement);case 11:return t.abrupt("return",Object(l.e)(this,"popoverEnter",f,b,this.event));case 12:case"end":return t.stop()}},t,this)})),function(){return g.apply(this,arguments)})},{key:"dismiss",value:(v=r(e().mark(function t(o,r){var n;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.g)(this,o,r,"popoverLeave",m,y,this.event);case 2:if(n=t.sent,t.t0=n,!t.t0){t.next=7;break}return t.next=7,Object(p.b)(this.delegate,this.usersElement);case 7:return t.abrupt("return",n);case 8:case"end":return t.stop()}},t,this)})),function(t,e){return v.apply(this,arguments)})},{key:"onDidDismiss",value:function(){return Object(l.h)(this.el,"ionPopoverDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(l.h)(this.el,"ionPopoverWillDismiss")}},{key:"render",value:function(){var e,o=Object(c.b)(this),r=this.onLifecycle;return Object(s.j)(s.c,{"aria-modal":"true","no-router":!0,tabindex:"-1",style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},Object(u.b)(this.cssClass)),(e={},t(e,o,!0),t(e,"popover-translucent",this.translucent),e)),onIonPopoverDidPresent:r,onIonPopoverWillPresent:r,onIonPopoverWillDismiss:r,onIonPopoverDidDismiss:r,onIonDismiss:this.onDismiss,onIonBackdropTap:this.onBackdropTap},Object(s.j)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop}),Object(s.j)("div",{tabindex:"0"}),Object(s.j)("div",{class:"popover-wrapper ion-overlay-wrapper"},Object(s.j)("div",{class:"popover-arrow"}),Object(s.j)("div",{class:"popover-content"})),Object(s.j)("div",{tabindex:"0"}))}},{key:"el",get:function(){return Object(s.k)(this)}}])&&n(i.prototype,a),d&&n(i,d),Object.defineProperty(i,"prototype",{writable:!1}),o}(),w={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};g.style={ios:'.sc-ion-popover-ios-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-ios-h{display:none}.popover-wrapper.sc-ion-popover-ios{opacity:0;z-index:10}.popover-content.sc-ion-popover-ios{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-ios{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-ios-h{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}.popover-content.sc-ion-popover-ios{border-radius:10px}.popover-arrow.sc-ion-popover-ios{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow.sc-ion-popover-ios::after{left:3px;top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}[dir=rtl].sc-ion-popover-ios .popover-arrow.sc-ion-popover-ios::after,[dir=rtl].sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after,[dir=rtl] .sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{left:unset;right:unset;right:3px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios{top:auto;bottom:-10px}.popover-bottom.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{top:-6px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.popover-translucent.sc-ion-popover-ios-h .popover-content.sc-ion-popover-ios,.popover-translucent.sc-ion-popover-ios-h .popover-arrow.sc-ion-popover-ios::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:".sc-ion-popover-md-h{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}.overlay-hidden.sc-ion-popover-md-h{display:none}.popover-wrapper.sc-ion-popover-md{opacity:0;z-index:10}.popover-content.sc-ion-popover-md{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport.sc-ion-popover-md{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px}.sc-ion-popover-md-h{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content.sc-ion-popover-md{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}[dir=rtl].sc-ion-popover-md .popover-content.sc-ion-popover-md,[dir=rtl].sc-ion-popover-md-h .popover-content.sc-ion-popover-md,[dir=rtl] .sc-ion-popover-md-h .popover-content.sc-ion-popover-md{-webkit-transform-origin:right top;transform-origin:right top}.popover-viewport.sc-ion-popover-md{-webkit-transition-delay:100ms;transition-delay:100ms}"}}}])}(); \ No newline at end of file diff --git a/dist/35-es5.cbcf9a80d5fb887a75b5.js b/dist/35-es5.cbcf9a80d5fb887a75b5.js index b87b9efeca..c56594fa59 100644 --- a/dist/35-es5.cbcf9a80d5fb887a75b5.js +++ b/dist/35-es5.cbcf9a80d5fb887a75b5.js @@ -1 +1 @@ -!function(){function i(i,t,n){return t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function t(i,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{"0tOe":function(n,e,r){"use strict";r.r(e),r.d(e,"ion_progress_bar",function(){return m});var a=r("wEJo"),s=r("E/Mt"),o=r("1vRN"),c=r("74mu"),m=function(){function n(i){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),Object(a.o)(this,i),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1}var e,r,o;return e=n,(r=[{key:"render",value:function(){var t,n=this.color,e=this.type,r=this.reversed,o=this.value,m=this.buffer,l=s.c.getBoolean("_testing"),u=Object(s.b)(this);return Object(a.j)(a.c,{role:"progressbar","aria-valuenow":"determinate"===e?o:null,"aria-valuemin":"0","aria-valuemax":"1",class:Object(c.a)(n,(t={},i(t,u,!0),i(t,"progress-bar-"+e,!0),i(t,"progress-paused",l),i(t,"progress-bar-reversed","rtl"===document.dir?!r:r),t))},"indeterminate"===e?b():f(o,m))}}])&&t(e.prototype,r),o&&t(e,o),n}(),b=function(){return Object(a.j)("div",{part:"track",class:"progress-buffer-bar"},Object(a.j)("div",{class:"indeterminate-bar-primary"},Object(a.j)("span",{part:"progress",class:"progress-indeterminate"})),Object(a.j)("div",{class:"indeterminate-bar-secondary"},Object(a.j)("span",{part:"progress",class:"progress-indeterminate"})))},f=function(i,t){var n=Object(o.j)(0,i,1),e=Object(o.j)(0,t,1);return[Object(a.j)("div",{part:"progress",class:"progress",style:{transform:"scaleX(".concat(n,")")}}),Object(a.j)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===e},style:{transform:"translateX(".concat(100*e,"%)")}},Object(a.j)("div",{class:"buffer-circles-container",style:{transform:"translateX(-".concat(100*e,"%)")}},Object(a.j)("div",{part:"stream",class:"buffer-circles"}))),Object(a.j)("div",{part:"track",class:"progress-buffer-bar",style:{transform:"scaleX(".concat(e,")")}})]};m.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}}}])}(); \ No newline at end of file +!function(){function i(i,t,n){return t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function t(i,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{"0tOe":function(n,e,r){"use strict";r.r(e),r.d(e,"ion_progress_bar",function(){return m});var a=r("wEJo"),s=r("E/Mt"),o=r("1vRN"),c=r("74mu"),m=function(){function n(i){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),Object(a.o)(this,i),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1}var e,r,o;return e=n,(r=[{key:"render",value:function(){var t,n=this.color,e=this.type,r=this.reversed,o=this.value,m=this.buffer,l=s.c.getBoolean("_testing"),u=Object(s.b)(this);return Object(a.j)(a.c,{role:"progressbar","aria-valuenow":"determinate"===e?o:null,"aria-valuemin":"0","aria-valuemax":"1",class:Object(c.a)(n,(t={},i(t,u,!0),i(t,"progress-bar-"+e,!0),i(t,"progress-paused",l),i(t,"progress-bar-reversed","rtl"===document.dir?!r:r),t))},"indeterminate"===e?b():f(o,m))}}])&&t(e.prototype,r),o&&t(e,o),Object.defineProperty(e,"prototype",{writable:!1}),n}(),b=function(){return Object(a.j)("div",{part:"track",class:"progress-buffer-bar"},Object(a.j)("div",{class:"indeterminate-bar-primary"},Object(a.j)("span",{part:"progress",class:"progress-indeterminate"})),Object(a.j)("div",{class:"indeterminate-bar-secondary"},Object(a.j)("span",{part:"progress",class:"progress-indeterminate"})))},f=function(i,t){var n=Object(o.j)(0,i,1),e=Object(o.j)(0,t,1);return[Object(a.j)("div",{part:"progress",class:"progress",style:{transform:"scaleX(".concat(n,")")}}),Object(a.j)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===e},style:{transform:"translateX(".concat(100*e,"%)")}},Object(a.j)("div",{class:"buffer-circles-container",style:{transform:"translateX(-".concat(100*e,"%)")}},Object(a.j)("div",{part:"stream",class:"buffer-circles"}))),Object(a.j)("div",{part:"track",class:"progress-buffer-bar",style:{transform:"scaleX(".concat(e,")")}})]};m.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}}}])}(); \ No newline at end of file diff --git a/dist/36-es5.d2bc1bc06d85ab372b1b.js b/dist/36-es5.d2bc1bc06d85ab372b1b.js index 0ab1d7ef5a..61d5973a64 100644 --- a/dist/36-es5.d2bc1bc06d85ab372b1b.js +++ b/dist/36-es5.d2bc1bc06d85ab372b1b.js @@ -1 +1 @@ -!function(){function e(e,i){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,i)}(e))||i&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function i(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function r(e,t,i,r,n,o,a){try{var s=e[o](a),l=s.value}catch(c){return void i(c)}s.done?t(l):Promise.resolve(l).then(r,n)}function n(e){return function(){var t=this,i=arguments;return new Promise(function(n,o){var a=e.apply(t,i);function s(e){r(a,n,o,s,l,"next",e)}function l(e){r(a,n,o,s,l,"throw",e)}s(void 0)})}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{h11V:function(t,r,a){"use strict";a.r(r),a.d(r,"ion_radio",function(){return h}),a.d(r,"ion_radio_group",function(){return p});var l=a("wEJo"),c=a("E/Mt"),d=a("1vRN"),u=a("74mu"),h=function(){function e(t){var i=this;o(this,e),Object(l.o)(this,t),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.ionFocus=Object(l.g)(this,"ionFocus",7),this.ionBlur=Object(l.g)(this,"ionBlur",7),this.inputId="ion-rb-"+b++,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.updateState=function(){i.radioGroup&&(i.checked=i.radioGroup.value===i.value)},this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}var t,r;return s(e,[{key:"setFocus",value:(r=n(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.stopPropagation(),t.preventDefault(),this.el.focus();case 1:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"setButtonTabindex",value:(t=n(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.buttonTabindex=t;case 1:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"connectedCallback",value:function(){void 0===this.value&&(this.value=this.inputId);var e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),Object(d.a)(e,"ionChange",this.updateState))}},{key:"disconnectedCallback",value:function(){var e=this.radioGroup;e&&(Object(d.b)(e,"ionChange",this.updateState),this.radioGroup=null)}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"radio-checked":this.checked,"interactive-disabled":this.disabled})}},{key:"render",value:function(){var e,t=this.inputId,r=this.disabled,n=this.checked,o=this.color,a=this.el,s=this.buttonTabindex,h=Object(c.b)(this),b=Object(d.d)(a,t),p=b.label,f=b.labelId,m=b.labelText;return Object(l.j)(l.c,{"aria-checked":""+n,"aria-hidden":r?"true":null,"aria-labelledby":p?f:null,role:"radio",tabindex:s,onFocus:this.onFocus,onBlur:this.onBlur,class:Object(u.a)(o,(e={},i(e,h,!0),i(e,"in-item",Object(u.c)("ion-item",a)),i(e,"interactive",!0),i(e,"radio-checked",n),i(e,"radio-disabled",r),e))},Object(l.j)("div",{class:"radio-icon",part:"container"},Object(l.j)("div",{class:"radio-inner",part:"mark"}),Object(l.j)("div",{class:"radio-ripple"})),Object(l.j)("label",{htmlFor:t},m),Object(l.j)("input",{type:"radio",checked:n,disabled:r,tabindex:"-1",id:t}))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{color:["emitStyle"],checked:["emitStyle"],disabled:["emitStyle"]}}}]),e}(),b=0;h.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}'};var p=function(){function t(i){var r=this;o(this,t),Object(l.o)(this,i),this.ionChange=Object(l.g)(this,"ionChange",7),this.inputId="ion-rg-"+f++,this.labelId=this.inputId+"-lbl",this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=function(t){var i=r.getRadios(),n=i.find(function(e){return!e.disabled}),o=i.find(function(e){return e.value===t&&!e.disabled});if(n||o){var a,s=o||n,l=e(i);try{for(l.s();!(a=l.n()).done;){var c=a.value;c.setButtonTabindex(c===s?0:-1)}}catch(d){l.e(d)}finally{l.f()}}},this.onClick=function(e){e.preventDefault();var t=e.target&&e.target.closest("ion-radio");if(t){var i=t.value;i!==r.value?r.value=i:r.allowEmptySelection&&(r.value=void 0)}}}var i;return s(t,[{key:"valueChanged",value:function(e){this.setRadioTabindex(e),this.ionChange.emit({value:e})}},{key:"componentDidLoad",value:function(){this.setRadioTabindex(this.value)}},{key:"connectedCallback",value:(i=n(regeneratorRuntime.mark(function e(){var t,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(t=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider"))&&(i=this.label=t.querySelector("ion-label"))&&(this.labelId=i.id=this.name+"-lbl");case 2:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"getRadios",value:function(){return Array.from(this.el.querySelectorAll("ion-radio"))}},{key:"onKeydown",value:function(e){var t=!!this.el.closest("ion-select-popover");if(!e.target||this.el.contains(e.target)){var i=Array.from(this.el.querySelectorAll("ion-radio")).filter(function(e){return!e.disabled});if(e.target&&i.includes(e.target)){var r,n=i.findIndex(function(t){return t===e.target}),o=i[n];["ArrowDown","ArrowRight"].includes(e.code)&&(r=n===i.length-1?i[0]:i[n+1]),["ArrowUp","ArrowLeft"].includes(e.code)&&(r=0===n?i[i.length-1]:i[n-1]),r&&i.includes(r)&&(r.setFocus(e),t||(this.value=r.value)),["Space"].includes(e.code)&&(this.value=o.value,e.preventDefault())}}}},{key:"render",value:function(){var e=this.label,t=this.labelId,i=Object(c.b)(this);return Object(l.j)(l.c,{role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:i})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{value:["valueChanged"]}}}]),t}(),f=0}}])}(); \ No newline at end of file +!function(){function t(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}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,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function r(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */n=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new O(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return L()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var d={};function h(){}function f(){}function p(){}var b={};c(b,o,function(){return this});var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==e&&r.call(m,o)&&(b=m);var v=p.prototype=h.prototype=Object.create(b);function y(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(d).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}s(c.arg)}var i;this._invoke=function(t,r){function o(){return new e(function(e,i){n(t,r,e,i)})}return i=i?i.then(o,o):o()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return f.prototype=p,c(v,"constructor",p),c(p,"constructor",f),f.displayName=c(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(l(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},y(v),c(v,s,"Generator"),c(v,o,function(){return this}),c(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}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"),c=r.call(o,"finallyLoc");if(s&&c){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(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;j(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function i(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(l){return void r(l)}s.done?e(c):Promise.resolve(c).then(n,i)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function s(t){i(a,n,o,s,c,"next",t)}function c(t){i(a,n,o,s,c,"throw",t)}s(void 0)})}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{h11V:function(e,i,s){"use strict";s.r(i),s.d(i,"ion_radio",function(){return f}),s.d(i,"ion_radio_group",function(){return b});var l=s("wEJo"),u=s("E/Mt"),d=s("1vRN"),h=s("74mu"),f=function(){function t(e){var r=this;a(this,t),Object(l.o)(this,e),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.ionFocus=Object(l.g)(this,"ionFocus",7),this.ionBlur=Object(l.g)(this,"ionBlur",7),this.inputId="ion-rb-"+p++,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.updateState=function(){r.radioGroup&&(r.checked=r.radioGroup.value===r.value)},this.onFocus=function(){r.ionFocus.emit()},this.onBlur=function(){r.ionBlur.emit()}}var e,i;return c(t,[{key:"setFocus",value:(i=o(n().mark(function t(e){return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.stopPropagation(),e.preventDefault(),this.el.focus();case 1:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"setButtonTabindex",value:(e=o(n().mark(function t(e){return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.buttonTabindex=e;case 1:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)})},{key:"connectedCallback",value:function(){void 0===this.value&&(this.value=this.inputId);var t=this.radioGroup=this.el.closest("ion-radio-group");t&&(this.updateState(),Object(d.a)(t,"ionChange",this.updateState))}},{key:"disconnectedCallback",value:function(){var t=this.radioGroup;t&&(Object(d.b)(t,"ionChange",this.updateState),this.radioGroup=null)}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"radio-checked":this.checked,"interactive-disabled":this.disabled})}},{key:"render",value:function(){var t,e=this.inputId,n=this.disabled,i=this.checked,o=this.color,a=this.el,s=this.buttonTabindex,c=Object(u.b)(this),f=Object(d.d)(a,e),p=f.label,b=f.labelId,g=f.labelText;return Object(l.j)(l.c,{"aria-checked":""+i,"aria-hidden":n?"true":null,"aria-labelledby":p?b:null,role:"radio",tabindex:s,onFocus:this.onFocus,onBlur:this.onBlur,class:Object(h.a)(o,(t={},r(t,c,!0),r(t,"in-item",Object(h.c)("ion-item",a)),r(t,"interactive",!0),r(t,"radio-checked",i),r(t,"radio-disabled",n),t))},Object(l.j)("div",{class:"radio-icon",part:"container"},Object(l.j)("div",{class:"radio-inner",part:"mark"}),Object(l.j)("div",{class:"radio-ripple"})),Object(l.j)("label",{htmlFor:e},g),Object(l.j)("input",{type:"radio",checked:i,disabled:n,tabindex:"-1",id:e}))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{color:["emitStyle"],checked:["emitStyle"],disabled:["emitStyle"]}}}]),t}(),p=0;f.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}'};var b=function(){function e(r){var n=this;a(this,e),Object(l.o)(this,r),this.ionChange=Object(l.g)(this,"ionChange",7),this.inputId="ion-rg-"+g++,this.labelId=this.inputId+"-lbl",this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=function(e){var r=n.getRadios(),i=r.find(function(t){return!t.disabled}),o=r.find(function(t){return t.value===e&&!t.disabled});if(i||o){var a,s=o||i,c=t(r);try{for(c.s();!(a=c.n()).done;){var l=a.value;l.setButtonTabindex(l===s?0:-1)}}catch(u){c.e(u)}finally{c.f()}}},this.onClick=function(t){t.preventDefault();var e=t.target&&t.target.closest("ion-radio");if(e){var r=e.value;r!==n.value?n.value=r:n.allowEmptySelection&&(n.value=void 0)}}}var r;return c(e,[{key:"valueChanged",value:function(t){this.setRadioTabindex(t),this.ionChange.emit({value:t})}},{key:"componentDidLoad",value:function(){this.setRadioTabindex(this.value)}},{key:"connectedCallback",value:(r=o(n().mark(function t(){var e,r;return n().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider"))&&(r=this.label=e.querySelector("ion-label"))&&(this.labelId=r.id=this.name+"-lbl");case 2:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"getRadios",value:function(){return Array.from(this.el.querySelectorAll("ion-radio"))}},{key:"onKeydown",value:function(t){var e=!!this.el.closest("ion-select-popover");if(!t.target||this.el.contains(t.target)){var r=Array.from(this.el.querySelectorAll("ion-radio")).filter(function(t){return!t.disabled});if(t.target&&r.includes(t.target)){var n,i=r.findIndex(function(e){return e===t.target}),o=r[i];["ArrowDown","ArrowRight"].includes(t.code)&&(n=i===r.length-1?r[0]:r[i+1]),["ArrowUp","ArrowLeft"].includes(t.code)&&(n=0===i?r[r.length-1]:r[i-1]),n&&r.includes(n)&&(n.setFocus(t),e||(this.value=n.value)),["Space"].includes(t.code)&&(this.value=o.value,t.preventDefault())}}}},{key:"render",value:function(){var t=this.label,e=this.labelId,r=Object(u.b)(this);return Object(l.j)(l.c,{role:"radiogroup","aria-labelledby":t?e:null,onClick:this.onClick,class:r})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{value:["valueChanged"]}}}]),e}(),g=0}}])}(); \ No newline at end of file diff --git a/dist/37-es5.73e351138077f07d7e0c.js b/dist/37-es5.73e351138077f07d7e0c.js index f8b5a9ca72..b10e6a2711 100644 --- a/dist/37-es5.73e351138077f07d7e0c.js +++ b/dist/37-es5.73e351138077f07d7e0c.js @@ -1 +1 @@ -!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e,n,r,a,i,o){try{var s=t[i](o),l=s.value}catch(d){return void n(d)}s.done?e(l):Promise.resolve(l).then(r,a)}function n(t){return function(){var n=this,r=arguments;return new Promise(function(a,i){var o=t.apply(n,r);function s(t){e(o,a,i,s,l,"next",t)}function l(t){e(o,a,i,s,l,"throw",t)}s(void 0)})}}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{XGij:function(e,a,i){"use strict";i.r(a),i.d(a,"ion_range",function(){return b});var o=i("wEJo"),s=i("E/Mt"),l=i("1vRN"),d=i("74mu"),b=function(){function e(t){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(o.o)(this,t),this.ionChange=Object(o.g)(this,"ionChange",7),this.ionStyle=Object(o.g)(this,"ionStyle",7),this.ionFocus=Object(o.g)(this,"ionFocus",7),this.ionBlur=Object(o.g)(this,"ionBlur",7),this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.ratioA=0,this.ratioB=0,this.debounce=0,this.name="",this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.snaps=!1,this.step=1,this.ticks=!0,this.disabled=!1,this.value=0,this.clampBounds=function(t){return Object(l.j)(r.min,t,r.max)},this.ensureValueInBounds=function(t){return r.dualKnobs?{lower:r.clampBounds(t.lower),upper:r.clampBounds(t.upper)}:r.clampBounds(t)},this.setupGesture=n(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.rangeSlider,t.t0=e,!t.t0){t.next=7;break}return t.next=5,Promise.resolve().then(i.bind(null,"iWo5"));case 5:r.gesture=t.sent.createGesture({el:e,gestureName:"range",gesturePriority:100,threshold:0,onStart:function(t){return r.onStart(t)},onMove:function(t){return r.onMove(t)},onEnd:function(t){return r.onEnd(t)}}),r.gesture.enable(!r.disabled);case 7:case"end":return t.stop()}},t)})),this.handleKeyboard=function(t,e){var n=r.step;n=n>0?n:1,n/=r.max-r.min,e||(n*=-1),"A"===t?r.ratioA=Object(l.j)(0,r.ratioA+n,1):r.ratioB=Object(l.j)(0,r.ratioB+n,1),r.updateValue()},this.onBlur=function(){r.hasFocus&&(r.hasFocus=!1,r.ionBlur.emit(),r.emitStyle())},this.onFocus=function(){r.hasFocus||(r.hasFocus=!0,r.ionFocus.emit(),r.emitStyle())}}var a,b,u;return a=e,u=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}}],(b=[{key:"debounceChanged",value:function(){this.ionChange=Object(l.f)(this.ionChange,this.debounce)}},{key:"minChanged",value:function(){this.noUpdate||this.updateRatio()}},{key:"maxChanged",value:function(){this.noUpdate||this.updateRatio()}},{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled),this.emitStyle()}},{key:"valueChanged",value:function(t){this.noUpdate||this.updateRatio(),t=this.ensureValueInBounds(t),this.ionChange.emit({value:t})}},{key:"componentDidLoad",value:function(){this.setupGesture(),this.didLoad=!0}},{key:"connectedCallback",value:function(){this.updateRatio(),this.debounceChanged(),this.disabledChanged(),this.didLoad&&this.setupGesture()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"getValue",value:function(){var t=this.value||0;return this.dualKnobs?"object"==typeof t?t:{lower:0,upper:t}:"object"==typeof t?t.upper:t}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,"interactive-disabled":this.disabled})}},{key:"onStart",value:function(t){var e=this.rect=this.rangeSlider.getBoundingClientRect(),n=t.currentX,r=Object(l.j)(0,(n-e.left)/e.width,1);"rtl"===document.dir&&(r=1-r),this.pressedKnob=!this.dualKnobs||Math.abs(this.ratioA-r)<Math.abs(this.ratioB-r)?"A":"B",this.setFocus(this.pressedKnob),this.update(n)}},{key:"onMove",value:function(t){this.update(t.currentX)}},{key:"onEnd",value:function(t){this.update(t.currentX),this.pressedKnob=void 0}},{key:"update",value:function(t){var e=this.rect,n=Object(l.j)(0,(t-e.left)/e.width,1);"rtl"===document.dir&&(n=1-n),this.snaps&&(n=h(c(n,this.min,this.max,this.step),this.min,this.max)),"A"===this.pressedKnob?this.ratioA=n:this.ratioB=n,this.updateValue()}},{key:"valA",get:function(){return c(this.ratioA,this.min,this.max,this.step)}},{key:"valB",get:function(){return c(this.ratioB,this.min,this.max,this.step)}},{key:"ratioLower",get:function(){return this.dualKnobs?Math.min(this.ratioA,this.ratioB):0}},{key:"ratioUpper",get:function(){return this.dualKnobs?Math.max(this.ratioA,this.ratioB):this.ratioA}},{key:"updateRatio",value:function(){var t=this.getValue(),e=this.min,n=this.max;this.dualKnobs?(this.ratioA=h(t.lower,e,n),this.ratioB=h(t.upper,e,n)):this.ratioA=h(t,e,n)}},{key:"updateValue",value:function(){this.noUpdate=!0;var t=this.valA,e=this.valB;this.value=this.dualKnobs?{lower:Math.min(t,e),upper:Math.max(t,e)}:t,this.noUpdate=!1}},{key:"setFocus",value:function(t){if(this.el.shadowRoot){var e=this.el.shadowRoot.querySelector("A"===t?".range-knob-a":".range-knob-b");e&&e.focus()}}},{key:"render",value:function(){var e,n,r=this,a=this.min,i=this.max,b=this.step,c=this.el,u=this.handleKeyboard,p=this.pressedKnob,m=this.disabled,k=this.pin,f=this.ratioLower,v=this.ratioUpper,x=Object(s.b)(this),w="rtl"===document.dir,y=w?"right":"left",j=function(e){return t({},y,e[y])},z=(t(e={},y,100*f+"%"),t(e,w?"left":"right",100-100*v+"%"),e),O=[];if(this.snaps&&this.ticks)for(var B=a;B<=i;B+=b){var A=h(B,a,i),C={ratio:A,active:A>=f&&A<=v};C[y]=100*A+"%",O.push(C)}return Object(l.e)(!0,c,this.name,JSON.stringify(this.getValue()),m),Object(o.j)(o.c,{onFocusin:this.onFocus,onFocusout:this.onBlur,class:Object(d.a)(this.color,(n={},t(n,x,!0),t(n,"in-item",Object(d.c)("ion-item",c)),t(n,"range-disabled",m),t(n,"range-pressed",void 0!==p),t(n,"range-has-pin",k),n))},Object(o.j)("slot",{name:"start"}),Object(o.j)("div",{class:"range-slider",ref:function(t){return r.rangeSlider=t}},O.map(function(t){return Object(o.j)("div",{style:j(t),role:"presentation",class:{"range-tick":!0,"range-tick-active":t.active},part:t.active?"tick-active":"tick"})}),Object(o.j)("div",{class:"range-bar",role:"presentation",part:"bar"}),Object(o.j)("div",{class:"range-bar range-bar-active",role:"presentation",style:z,part:"bar-active"}),g(w,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:k,disabled:m,handleKeyboard:u,min:a,max:i}),this.dualKnobs&&g(w,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:k,disabled:m,handleKeyboard:u,min:a,max:i})),Object(o.j)("slot",{name:"end"}))}},{key:"el",get:function(){return Object(o.k)(this)}}])&&r(a.prototype,b),u&&r(a,u),e}(),g=function(t,e){var n,r=e.knob,a=e.value,i=e.ratio,s=e.min,l=e.max,d=e.disabled,b=e.pressed,g=e.pin,c=e.handleKeyboard,h=t?"right":"left";return Object(o.j)("div",{onKeyDown:function(t){var e=t.key;"ArrowLeft"===e||"ArrowDown"===e?(c(r,!1),t.preventDefault(),t.stopPropagation()):"ArrowRight"!==e&&"ArrowUp"!==e||(c(r,!0),t.preventDefault(),t.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===r,"range-knob-b":"B"===r,"range-knob-pressed":b,"range-knob-min":a===s,"range-knob-max":a===l},style:(n={},n[h]=100*i+"%",n),role:"slider",tabindex:d?-1:0,"aria-valuemin":s,"aria-valuemax":l,"aria-disabled":d?"true":null,"aria-valuenow":a},g&&Object(o.j)("div",{class:"range-pin",role:"presentation",part:"pin"},Math.round(a)),Object(o.j)("div",{class:"range-knob",role:"presentation",part:"knob"}))},c=function(t,e,n,r){var a=(n-e)*t;return r>0&&(a=Math.round(a/r)*r+e),Object(l.j)(e,a,n)},h=function(t,e,n){return Object(l.j)(0,(t-e)/(n-e),1)};b.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{left:0;top:calc((var(--height) - var(--knob-handle-size)) / 2);margin-left:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-knob-handle{margin-left:unset;-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2)}}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar{border-radius:var(--bar-border-radius);left:0;top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset;right:unset;right:0}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset}.range-knob{border-radius:var(--knob-border-radius);left:calc(50% - var(--knob-size) / 2);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02);--knob-size:28px;--bar-height:2px;--bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){margin-left:0;margin-right:16px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted([slot=end]){margin-left:16px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}}:host(.range-has-pin){padding-top:20px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-tick{margin-left:-1px;border-radius:0;position:absolute;top:18px;width:2px;height:8px;background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-tick{margin-left:unset;-webkit-margin-start:-1px;margin-inline-start:-1px}}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 28px, 0) scale(0.01);transform:translate3d(0, 28px, 0) scale(0.01);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:inline-block;position:relative;top:-20px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:12px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-pin{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.range-knob-pressed .range-pin{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}:host(.range-disabled){opacity:0.5}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{left:0;top:calc((var(--height) - var(--knob-handle-size)) / 2);margin-left:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-knob-handle{margin-left:unset;-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2)}}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar{border-radius:var(--bar-border-radius);left:0;top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset;right:unset;right:0}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset}.range-knob{border-radius:var(--knob-border-radius);left:calc(50% - var(--knob-size) / 2);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff);padding-left:14px;padding-right:14px;padding-top:8px;padding-bottom:8px;font-size:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px}}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){margin-left:0;margin-right:14px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px}}::slotted([slot=end]){margin-left:14px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0}}:host(.range-has-pin){padding-top:28px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:inline-block;position:relative;min-width:28px;height:28px;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color);text-align:center}.range-pin::before{left:50%;top:3px;margin-left:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}[dir=rtl] .range-pin::before,:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-pin::before{margin-left:unset;-webkit-margin-start:-13px;margin-inline-start:-13px}}[dir=rtl] .range-pin::before,:host-context([dir=rtl]) .range-pin::before{left:unset}.range-knob-pressed .range-pin{-webkit-transform:translate3d(0, -24px, 0) scale(1);transform:translate3d(0, -24px, 0) scale(1)}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}'}}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(B){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),o=new z(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return L()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=w(o,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,o),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(B){return{type:"throw",arg:B}}}t.wrap=c;var u={};function h(){}function g(){}function b(){}var p={};l(p,a,function(){return this});var f=Object.getPrototypeOf,m=f&&f(f(O([])));m&&m!==r&&n.call(m,a)&&(p=m);var v=b.prototype=h.prototype=Object.create(p);function k(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function r(i,a,o,s){var l=d(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then(function(t){r("next",t,o,s)},function(t){r("throw",t,o,s)}):e.resolve(u).then(function(t){c.value=t,o(c)},function(t){return r("throw",t,o,s)})}s(l.arg)}var i;this._invoke=function(t,n){function a(){return new e(function(e,i){r(t,n,e,i)})}return i=i?i.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function z(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return g.prototype=b,l(v,"constructor",b),l(b,"constructor",g),g.displayName=l(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},k(x.prototype),l(x.prototype,o,function(){return this}),t.AsyncIterator=x,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new x(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(v),l(v,s,"Generator"),l(v,a,function(){return this}),l(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,z.prototype={constructor:z,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;j(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function r(t,e,r,n,i,a,o){try{var s=t[a](o),l=s.value}catch(c){return void r(c)}s.done?e(l):Promise.resolve(l).then(n,i)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var o=t.apply(e,n);function s(t){r(o,i,a,s,l,"next",t)}function l(t){r(o,i,a,s,l,"throw",t)}s(void 0)})}}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{XGij:function(r,a,o){"use strict";o.r(a),o.d(a,"ion_range",function(){return u});var s=o("wEJo"),l=o("E/Mt"),c=o("1vRN"),d=o("74mu"),u=function(){function r(t){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Object(s.o)(this,t),this.ionChange=Object(s.g)(this,"ionChange",7),this.ionStyle=Object(s.g)(this,"ionStyle",7),this.ionFocus=Object(s.g)(this,"ionFocus",7),this.ionBlur=Object(s.g)(this,"ionBlur",7),this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.ratioA=0,this.ratioB=0,this.debounce=0,this.name="",this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.snaps=!1,this.step=1,this.ticks=!0,this.disabled=!1,this.value=0,this.clampBounds=function(t){return Object(c.j)(i.min,t,i.max)},this.ensureValueInBounds=function(t){return i.dualKnobs?{lower:i.clampBounds(t.lower),upper:i.clampBounds(t.upper)}:i.clampBounds(t)},this.setupGesture=n(e().mark(function t(){var r;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.rangeSlider,t.t0=r,!t.t0){t.next=7;break}return t.next=5,Promise.resolve().then(o.bind(null,"iWo5"));case 5:i.gesture=t.sent.createGesture({el:r,gestureName:"range",gesturePriority:100,threshold:0,onStart:function(t){return i.onStart(t)},onMove:function(t){return i.onMove(t)},onEnd:function(t){return i.onEnd(t)}}),i.gesture.enable(!i.disabled);case 7:case"end":return t.stop()}},t)})),this.handleKeyboard=function(t,e){var r=i.step;r=r>0?r:1,r/=i.max-i.min,e||(r*=-1),"A"===t?i.ratioA=Object(c.j)(0,i.ratioA+r,1):i.ratioB=Object(c.j)(0,i.ratioB+r,1),i.updateValue()},this.onBlur=function(){i.hasFocus&&(i.hasFocus=!1,i.ionBlur.emit(),i.emitStyle())},this.onFocus=function(){i.hasFocus||(i.hasFocus=!0,i.ionFocus.emit(),i.emitStyle())}}var a,u,p;return a=r,p=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}}],(u=[{key:"debounceChanged",value:function(){this.ionChange=Object(c.f)(this.ionChange,this.debounce)}},{key:"minChanged",value:function(){this.noUpdate||this.updateRatio()}},{key:"maxChanged",value:function(){this.noUpdate||this.updateRatio()}},{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled),this.emitStyle()}},{key:"valueChanged",value:function(t){this.noUpdate||this.updateRatio(),t=this.ensureValueInBounds(t),this.ionChange.emit({value:t})}},{key:"componentDidLoad",value:function(){this.setupGesture(),this.didLoad=!0}},{key:"connectedCallback",value:function(){this.updateRatio(),this.debounceChanged(),this.disabledChanged(),this.didLoad&&this.setupGesture()}},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"getValue",value:function(){var t=this.value||0;return this.dualKnobs?"object"==typeof t?t:{lower:0,upper:t}:"object"==typeof t?t.upper:t}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,"interactive-disabled":this.disabled})}},{key:"onStart",value:function(t){var e=this.rect=this.rangeSlider.getBoundingClientRect(),r=t.currentX,n=Object(c.j)(0,(r-e.left)/e.width,1);"rtl"===document.dir&&(n=1-n),this.pressedKnob=!this.dualKnobs||Math.abs(this.ratioA-n)<Math.abs(this.ratioB-n)?"A":"B",this.setFocus(this.pressedKnob),this.update(r)}},{key:"onMove",value:function(t){this.update(t.currentX)}},{key:"onEnd",value:function(t){this.update(t.currentX),this.pressedKnob=void 0}},{key:"update",value:function(t){var e=this.rect,r=Object(c.j)(0,(t-e.left)/e.width,1);"rtl"===document.dir&&(r=1-r),this.snaps&&(r=b(g(r,this.min,this.max,this.step),this.min,this.max)),"A"===this.pressedKnob?this.ratioA=r:this.ratioB=r,this.updateValue()}},{key:"valA",get:function(){return g(this.ratioA,this.min,this.max,this.step)}},{key:"valB",get:function(){return g(this.ratioB,this.min,this.max,this.step)}},{key:"ratioLower",get:function(){return this.dualKnobs?Math.min(this.ratioA,this.ratioB):0}},{key:"ratioUpper",get:function(){return this.dualKnobs?Math.max(this.ratioA,this.ratioB):this.ratioA}},{key:"updateRatio",value:function(){var t=this.getValue(),e=this.min,r=this.max;this.dualKnobs?(this.ratioA=b(t.lower,e,r),this.ratioB=b(t.upper,e,r)):this.ratioA=b(t,e,r)}},{key:"updateValue",value:function(){this.noUpdate=!0;var t=this.valA,e=this.valB;this.value=this.dualKnobs?{lower:Math.min(t,e),upper:Math.max(t,e)}:t,this.noUpdate=!1}},{key:"setFocus",value:function(t){if(this.el.shadowRoot){var e=this.el.shadowRoot.querySelector("A"===t?".range-knob-a":".range-knob-b");e&&e.focus()}}},{key:"render",value:function(){var e,r,n=this,i=this.min,a=this.max,o=this.step,u=this.el,g=this.handleKeyboard,p=this.pressedKnob,f=this.disabled,m=this.pin,v=this.ratioLower,k=this.ratioUpper,x=Object(l.b)(this),w="rtl"===document.dir,y=w?"right":"left",j=function(e){return t({},y,e[y])},z=(t(e={},y,100*v+"%"),t(e,w?"left":"right",100-100*k+"%"),e),O=[];if(this.snaps&&this.ticks)for(var L=i;L<=a;L+=o){var B=b(L,i,a),A={ratio:B,active:B>=v&&B<=k};A[y]=100*B+"%",O.push(A)}return Object(c.e)(!0,u,this.name,JSON.stringify(this.getValue()),f),Object(s.j)(s.c,{onFocusin:this.onFocus,onFocusout:this.onBlur,class:Object(d.a)(this.color,(r={},t(r,x,!0),t(r,"in-item",Object(d.c)("ion-item",u)),t(r,"range-disabled",f),t(r,"range-pressed",void 0!==p),t(r,"range-has-pin",m),r))},Object(s.j)("slot",{name:"start"}),Object(s.j)("div",{class:"range-slider",ref:function(t){return n.rangeSlider=t}},O.map(function(t){return Object(s.j)("div",{style:j(t),role:"presentation",class:{"range-tick":!0,"range-tick-active":t.active},part:t.active?"tick-active":"tick"})}),Object(s.j)("div",{class:"range-bar",role:"presentation",part:"bar"}),Object(s.j)("div",{class:"range-bar range-bar-active",role:"presentation",style:z,part:"bar-active"}),h(w,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:m,disabled:f,handleKeyboard:g,min:i,max:a}),this.dualKnobs&&h(w,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:m,disabled:f,handleKeyboard:g,min:i,max:a})),Object(s.j)("slot",{name:"end"}))}},{key:"el",get:function(){return Object(s.k)(this)}}])&&i(a.prototype,u),p&&i(a,p),Object.defineProperty(a,"prototype",{writable:!1}),r}(),h=function(t,e){var r,n=e.knob,i=e.value,a=e.ratio,o=e.min,l=e.max,c=e.disabled,d=e.pressed,u=e.pin,h=e.handleKeyboard,g=t?"right":"left";return Object(s.j)("div",{onKeyDown:function(t){var e=t.key;"ArrowLeft"===e||"ArrowDown"===e?(h(n,!1),t.preventDefault(),t.stopPropagation()):"ArrowRight"!==e&&"ArrowUp"!==e||(h(n,!0),t.preventDefault(),t.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===n,"range-knob-b":"B"===n,"range-knob-pressed":d,"range-knob-min":i===o,"range-knob-max":i===l},style:(r={},r[g]=100*a+"%",r),role:"slider",tabindex:c?-1:0,"aria-valuemin":o,"aria-valuemax":l,"aria-disabled":c?"true":null,"aria-valuenow":i},u&&Object(s.j)("div",{class:"range-pin",role:"presentation",part:"pin"},Math.round(i)),Object(s.j)("div",{class:"range-knob",role:"presentation",part:"knob"}))},g=function(t,e,r,n){var i=(r-e)*t;return n>0&&(i=Math.round(i/n)*n+e),Object(c.j)(e,i,r)},b=function(t,e,r){return Object(c.j)(0,(t-e)/(r-e),1)};u.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{left:0;top:calc((var(--height) - var(--knob-handle-size)) / 2);margin-left:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-knob-handle{margin-left:unset;-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2)}}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar{border-radius:var(--bar-border-radius);left:0;top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset;right:unset;right:0}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset}.range-knob{border-radius:var(--knob-border-radius);left:calc(50% - var(--knob-size) / 2);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02);--knob-size:28px;--bar-height:2px;--bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){margin-left:0;margin-right:16px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted([slot=end]){margin-left:16px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}}:host(.range-has-pin){padding-top:20px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-tick{margin-left:-1px;border-radius:0;position:absolute;top:18px;width:2px;height:8px;background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-tick{margin-left:unset;-webkit-margin-start:-1px;margin-inline-start:-1px}}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 28px, 0) scale(0.01);transform:translate3d(0, 28px, 0) scale(0.01);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:inline-block;position:relative;top:-20px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:12px;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-pin{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.range-knob-pressed .range-pin{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}:host(.range-disabled){opacity:0.5}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{left:0;top:calc((var(--height) - var(--knob-handle-size)) / 2);margin-left:calc(0px - var(--knob-handle-size) / 2);position:absolute;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-knob-handle{margin-left:unset;-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2)}}[dir=rtl] .range-knob-handle,:host-context([dir=rtl]) .range-knob-handle{left:unset}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar{border-radius:var(--bar-border-radius);left:0;top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset;right:unset;right:0}[dir=rtl] .range-bar,:host-context([dir=rtl]) .range-bar{left:unset}.range-knob{border-radius:var(--knob-border-radius);left:calc(50% - var(--knob-size) / 2);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob,:host-context([dir=rtl]) .range-knob{left:unset}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff);padding-left:14px;padding-right:14px;padding-top:8px;padding-bottom:8px;font-size:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px}}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){margin-left:0;margin-right:14px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px}}::slotted([slot=end]){margin-left:14px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0}}:host(.range-has-pin){padding-top:28px}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:inline-block;position:relative;min-width:28px;height:28px;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color);text-align:center}.range-pin::before{left:50%;top:3px;margin-left:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}[dir=rtl] .range-pin::before,:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.range-pin::before{margin-left:unset;-webkit-margin-start:-13px;margin-inline-start:-13px}}[dir=rtl] .range-pin::before,:host-context([dir=rtl]) .range-pin::before{left:unset}.range-knob-pressed .range-pin{-webkit-transform:translate3d(0, -24px, 0) scale(1);transform:translate3d(0, -24px, 0) scale(1)}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}'}}}])}(); \ No newline at end of file diff --git a/dist/38-es5.c78a6c922382898c5899.js b/dist/38-es5.c78a6c922382898c5899.js index cec75236ee..b5497d9968 100644 --- a/dist/38-es5.c78a6c922382898c5899.js +++ b/dist/38-es5.c78a6c922382898c5899.js @@ -1 +1 @@ -!function(){function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function r(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function t(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}function i(e,r,t,n,i,s,o){try{var a=e[s](o),l=a.value}catch(f){return void t(f)}a.done?r(l):Promise.resolve(l).then(n,i)}function s(e){return function(){var r=this,t=arguments;return new Promise(function(n,s){var o=e.apply(r,t);function a(e){i(o,n,s,a,l,"next",e)}function l(e){i(o,n,s,a,l,"throw",e)}a(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{nYbb:function(t,i,o){"use strict";o.r(i),o.d(i,"ion_refresher",function(){return x}),o.d(i,"ion_refresher_content",function(){return w});var a=o("wEJo"),l=o("E/Mt"),f=o("bC4P"),c=o("1vRN"),h=o("qULd"),u=o("meiF"),p=o("39oe"),g=o("h3R7"),d=function(e){var r=e.querySelector("ion-spinner"),t=r.shadowRoot.querySelector("circle"),n=e.querySelector(".spinner-arrow-container"),i=e.querySelector(".arrow-container"),s=i?i.querySelector("ion-icon"):null,o=Object(u.a)().duration(1e3).easing("ease-out"),a=Object(u.a)().addElement(n).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),l=Object(u.a)().addElement(t).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),f=Object(u.a)().addElement(r).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(i&&s){var c=Object(u.a)().addElement(i).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),h=Object(u.a)().addElement(s).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([c,h])}return o.addAnimation([a,l,f])},m=function(e,r){e.style.setProperty("opacity",r.toString())},b=function(e,r){if(!e)return Promise.resolve();var t=y(e,200);return Object(a.f)(function(){e.style.setProperty("transition","0.2s all ease-out"),void 0===r?e.style.removeProperty("transform"):e.style.setProperty("transform","translate3d(0px, ".concat(r,", 0px)"))}),t},v=function(){var e=s(regeneratorRuntime.mark(function e(r,t){var n,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.querySelector("ion-refresher-content")){e.next=3;break}return e.abrupt("return",Promise.resolve(!1));case 3:return e.next=5,new Promise(function(e){return Object(c.c)(n,e)});case 5:return i=r.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),s=r.querySelector("ion-refresher-content .refresher-refreshing ion-spinner"),e.abrupt("return",null!==i&&null!==s&&("ios"===t&&Object(l.a)("mobile")&&void 0!==r.style.webkitOverflowScrolling||"md"===t));case 7:case"end":return e.stop()}},e)}));return function(r,t){return e.apply(this,arguments)}}(),y=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise(function(t){k(e,r,t)})},k=function(e){var r,t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0,s={passive:!0},o=function(){r&&r()},a=function(r){void 0!==r&&e!==r.target||(o(),i(r))};return e&&(e.addEventListener("webkitTransitionEnd",a,s),e.addEventListener("transitionend",a,s),t=setTimeout(a,n+500),r=function(){t&&(clearTimeout(t),t=void 0),e.removeEventListener("webkitTransitionEnd",a,s),e.removeEventListener("transitionend",a,s)}),o},x=function(){function t(e){r(this,t),Object(a.o)(this,e),this.ionRefresh=Object(a.g)(this,"ionRefresh",7),this.ionPull=Object(a.g)(this,"ionPull",7),this.ionStart=Object(a.g)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}var i,p,g,k,x,w,j,O;return n(t,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"checkNativeRefresher",value:(O=s(regeneratorRuntime.mark(function e(){var r,t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(this.el,Object(l.b)(this));case 2:(r=e.sent)&&!this.nativeRefresher?(t=this.el.closest("ion-content"),this.setupNativeRefresher(t)):r||this.destroyNativeRefresher();case 4:case"end":return e.stop()}},e,this)})),function(){return O.apply(this,arguments)})},{key:"destroyNativeRefresher",value:function(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}},{key:"resetNativeRefresher",value:(j=s(regeneratorRuntime.mark(function e(r,t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=t,"ios"!==Object(l.b)(this)){e.next=6;break}return e.next=4,b(r,void 0);case 4:e.next=8;break;case 6:return e.next=8,y(this.el.querySelector(".refresher-refreshing-icon"),200);case 8:this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach(function(e){return e.destroy()}),this.animations=[],this.progress=0,this.state=1;case 15:case"end":return e.stop()}},e,this)})),function(e,r){return j.apply(this,arguments)})},{key:"setupiOSNativeRefresher",value:(w=s(regeneratorRuntime.mark(function e(r,t){var n,i,s,l=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.elementToTransform=this.scrollEl,n=r.shadowRoot.querySelectorAll("svg"),i=.16*this.scrollEl.clientHeight,s=n.length,Object(a.f)(function(){return n.forEach(function(e){return e.style.setProperty("animation","none")})}),this.scrollListenerCallback=function(){(l.pointerDown||1!==l.state)&&Object(a.h)(function(){var e=l.scrollEl.scrollTop,o=l.el.clientHeight;if(e>0){if(8===l.state){var f=Object(c.j)(0,e/(.5*o),1);return void Object(a.f)(function(){return m(t,1-f)})}Object(a.f)(function(){return m(r,0)})}else{l.pointerDown&&(l.didStart||(l.didStart=!0,l.ionStart.emit()),l.pointerDown&&l.ionPull.emit());var u,p,g=Object(c.j)(0,Math.abs(e)/o,.99),d=l.progress=Object(c.j)(0,(Math.abs(e)-30)/i,1),v=Object(c.j)(0,Math.floor(d*s),s-1);8===l.state||v===s-1?(l.pointerDown&&(u=t,p=l.lastVelocityY,Object(a.f)(function(){u.style.setProperty("--refreshing-rotation-duration",p>=1?"0.5s":"2s"),u.style.setProperty("opacity","1")})),l.didRefresh||(l.beginRefresh(),l.didRefresh=!0,Object(h.d)({style:"light"}),l.pointerDown||b(l.elementToTransform,o+"px"))):(l.state=2,function(e,r,t,n){Object(a.f)(function(){m(e,t),r.forEach(function(e,r){return e.style.setProperty("opacity",r<=n?"0.99":"0")})})}(r,n,g,v))}})},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),e.next=9,Promise.resolve().then(o.bind(null,"iWo5"));case 9:this.gesture=e.sent.createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:function(){l.pointerDown=!0,l.didRefresh||b(l.elementToTransform,"0px"),0===i&&(i=.16*l.scrollEl.clientHeight)},onMove:function(e){l.lastVelocityY=e.velocityY},onEnd:function(){l.pointerDown=!1,l.didStart=!1,l.needsCompletion?(l.resetNativeRefresher(l.elementToTransform,32),l.needsCompletion=!1):l.didRefresh&&Object(a.h)(function(){return b(l.elementToTransform,l.el.clientHeight+"px")})}}),this.disabledChanged();case 11:case"end":return e.stop()}},e,this)})),function(e,r){return w.apply(this,arguments)})},{key:"setupMDNativeRefresher",value:(x=s(regeneratorRuntime.mark(function e(r,t,n){var i,l,h,p=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=Object(c.g)(t).querySelector("circle"),l=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),h=Object(c.g)(n).querySelector("circle"),null!==i&&null!==h&&Object(a.f)(function(){i.style.setProperty("animation","none"),n.style.setProperty("animation-delay","-655ms"),h.style.setProperty("animation-delay","-655ms")}),e.next=4,Promise.resolve().then(o.bind(null,"iWo5"));case 4:this.gesture=e.sent.createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:function(){return 8!==p.state&&32!==p.state&&0===p.scrollEl.scrollTop},onStart:function(e){e.data={animation:void 0,didStart:!1,cancelled:!1},p.state=2},onMove:function(e){if(e.velocityY<0&&0===p.progress&&!e.data.didStart||e.data.cancelled)e.data.cancelled=!0;else{if(!e.data.didStart){e.data.didStart=!0,Object(a.f)(function(){return p.scrollEl.style.setProperty("--overflow","hidden")});var t=function(e,r){return"scale"===e?function(e){var r=e.clientHeight,t=Object(u.a)().addElement(e).keyframes([{offset:0,transform:"scale(0) translateY(-".concat(r+20,"px)")},{offset:1,transform:"scale(1) translateY(100px)"}]);return d(e).addAnimation([t])}(r):function(e){var r=e.clientHeight,t=Object(u.a)().addElement(e).keyframes([{offset:0,transform:"translateY(-".concat(r+20,"px)")},{offset:1,transform:"translateY(100px)"}]);return d(e).addAnimation([t])}(r)}(function(e){var r=e.previousElementSibling;return null!==r&&"ION-HEADER"===r.tagName?"translate":"scale"}(r),l);return e.data.animation=t,t.progressStart(!1,0),p.ionStart.emit(),void p.animations.push(t)}p.progress=Object(c.j)(0,e.deltaY/180*.5,1),e.data.animation.progressStep(p.progress),p.ionPull.emit()}},onEnd:function(e){if(e.data.didStart){if(Object(a.f)(function(){return p.scrollEl.style.removeProperty("--overflow")}),p.progress<=.4)return p.gesture.enable(!1),void e.data.animation.progressEnd(0,p.progress,500).onFinish(function(){p.animations.forEach(function(e){return e.destroy()}),p.animations=[],p.gesture.enable(!0),p.state=1});var r=Object(f.a)([0,0],[0,0],[1,1],[1,1],p.progress)[0],t=function(e){return Object(u.a)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)")}(l);p.animations.push(t),Object(a.f)(s(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return l.style.setProperty("--ion-pulling-refresher-translate",100*r+"px"),e.data.animation.progressEnd(),n.next=4,t.play();case 4:p.beginRefresh(),e.data.animation.destroy();case 6:case"end":return n.stop()}},n)})))}}}),this.disabledChanged();case 6:case"end":return e.stop()}},e,this)})),function(e,r,t){return x.apply(this,arguments)})},{key:"setupNativeRefresher",value:(k=s(regeneratorRuntime.mark(function e(r){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.scrollListenerCallback&&r&&!this.nativeRefresher&&this.scrollEl){e.next=2;break}return e.abrupt("return");case 2:this.setCss(0,"",!1,""),this.nativeRefresher=!0,t=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),n=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner"),"ios"===Object(l.b)(this)?this.setupiOSNativeRefresher(t,n):this.setupMDNativeRefresher(r,t,n);case 5:case"end":return e.stop()}},e,this)})),function(e){return k.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){this.checkNativeRefresher()}},{key:"connectedCallback",value:(g=s(regeneratorRuntime.mark(function e(){var r,t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("fixed"===this.el.getAttribute("slot")){e.next=2;break}return e.abrupt("return",void console.error('Make sure you use: <ion-refresher slot="fixed">'));case 2:if(!(r=this.el.closest("ion-content"))){e.next=22;break}return e.next=6,new Promise(function(e){return Object(c.c)(r,e)});case 6:return e.next=8,r.getScrollElement();case 8:return this.scrollEl=e.sent,this.backgroundContentEl=Object(c.g)(r).querySelector("#background-content"),e.next=12,v(this.el,Object(l.b)(this));case 12:if(!e.sent){e.next=16;break}this.setupNativeRefresher(r),e.next=20;break;case 16:return e.next=18,Promise.resolve().then(o.bind(null,"iWo5"));case 18:this.gesture=e.sent.createGesture({el:r,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:function(){return t.canStart()},onStart:function(){return t.onStart()},onMove:function(e){return t.onMove(e)},onEnd:function(){return t.onEnd()}}),this.disabledChanged();case 20:e.next=23;break;case 22:console.error("<ion-refresher> must be used inside an <ion-content>");case 23:case"end":return e.stop()}},e,this)})),function(){return g.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"complete",value:(p=s(regeneratorRuntime.mark(function e(){var r=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||Object(c.q)(function(){return Object(c.q)(function(){return r.resetNativeRefresher(r.elementToTransform,32)})})):this.close(32,"120ms");case 1:case"end":return e.stop()}},e,this)})),function(){return p.apply(this,arguments)})},{key:"cancel",value:(i=s(regeneratorRuntime.mark(function e(){var r=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.nativeRefresher?this.pointerDown||Object(c.q)(function(){return Object(c.q)(function(){return r.resetNativeRefresher(r.elementToTransform,16)})}):this.close(16,"");case 1:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"getProgress",value:function(){return Promise.resolve(this.progress)}},{key:"canStart",value:function(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}},{key:"onStart",value:function(){this.progress=0,this.state=1}},{key:"onMove",value:function(e){if(this.scrollEl){var r=e.event;if(!(r.touches&&r.touches.length>1)&&0==(56&this.state)){var t=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,n=e.deltaY*t;if(n<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(r.cancelable&&r.preventDefault(),this.setCss(n,"0ms",!0,""),0!==n){var i=this.pullMin;this.progress=n/i,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),n<i?this.state=2:n>this.pullMax?this.beginRefresh():this.state=4}else this.progress=0}}}},{key:"onEnd",value:function(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()}},{key:"beginRefresh",value:function(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}},{key:"close",value:function(e,r){var t=this;setTimeout(function(){t.state=1,t.progress=0,t.didStart=!1,t.setCss(0,"0ms",!1,"")},600),this.state=e,this.setCss(0,this.closeDuration,!0,r)}},{key:"setCss",value:function(e,r,t,n){var i=this;this.nativeRefresher||(this.appliedStyles=e>0,Object(a.f)(function(){if(i.scrollEl&&i.backgroundContentEl){var s=i.scrollEl.style,o=i.backgroundContentEl.style;s.transform=o.transform=e>0?"translateY(".concat(e,"px) translateZ(0px)"):"",s.transitionDuration=o.transitionDuration=r,s.transitionDelay=o.transitionDelay=n,s.overflow=t?"hidden":""}}))}},{key:"render",value:function(){var r,t=Object(l.b)(this);return Object(a.j)(a.c,{slot:"fixed",class:(r={},e(r,t,!0),e(r,"refresher-"+t,!0),e(r,"refresher-native",this.nativeRefresher),e(r,"refresher-active",1!==this.state),e(r,"refresher-pulling",2===this.state),e(r,"refresher-ready",4===this.state),e(r,"refresher-refreshing",8===this.state),e(r,"refresher-cancelling",16===this.state),e(r,"refresher-completing",32===this.state),r)})}},{key:"el",get:function(){return Object(a.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),t}();x.style={ios:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .arrow-container ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;border-radius:100%;padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}"};var w=function(){function e(t){r(this,e),Object(a.o)(this,t)}return n(e,[{key:"componentWillLoad",value:function(){if(void 0===this.pullingIcon){var e=Object(l.b)(this),r=void 0!==this.el.style.webkitOverflowScrolling?"lines":"arrow-down";this.pullingIcon=l.c.get("refreshingIcon","ios"===e&&Object(l.a)("mobile")?l.c.get("spinner",r):"circular")}if(void 0===this.refreshingSpinner){var t=Object(l.b)(this);this.refreshingSpinner=l.c.get("refreshingSpinner",l.c.get("spinner","ios"===t?"lines":"circular"))}}},{key:"render",value:function(){var e=this.pullingIcon,r=null!=e&&void 0!==g.a[e],t=Object(l.b)(this);return Object(a.j)(a.c,{class:t},Object(a.j)("div",{class:"refresher-pulling"},this.pullingIcon&&r&&Object(a.j)("div",{class:"refresher-pulling-icon"},Object(a.j)("div",{class:"spinner-arrow-container"},Object(a.j)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===t&&"circular"===this.pullingIcon&&Object(a.j)("div",{class:"arrow-container"},Object(a.j)("ion-icon",{name:"caret-back-sharp"})))),this.pullingIcon&&!r&&Object(a.j)("div",{class:"refresher-pulling-icon"},Object(a.j)("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&Object(a.j)("div",{class:"refresher-pulling-text",innerHTML:Object(p.a)(this.pullingText)})),Object(a.j)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&Object(a.j)("div",{class:"refresher-refreshing-icon"},Object(a.j)("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&Object(a.j)("div",{class:"refresher-refreshing-text",innerHTML:Object(p.a)(this.refreshingText)})))}},{key:"el",get:function(){return Object(a.k)(this)}}]),e}()}}])}(); \ No newline at end of file +!function(){function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function r(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function t(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var e={},r=Object.prototype,t=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},s=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function l(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{l({},"")}catch(L){l=function(e,r,t){return e[r]=t}}function c(e,r,t,n){var i=r&&r.prototype instanceof u?r:u,s=Object.create(i.prototype),o=new O(n||[]);return s._invoke=function(e,r,t){var n="suspendedStart";return function(i,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw s;return S()}for(t.method=i,t.arg=s;;){var o=t.delegate;if(o){var a=x(o,t);if(a){if(a===h)continue;return a}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===n)throw n="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n="executing";var l=f(e,r,t);if("normal"===l.type){if(n=t.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:t.done}}"throw"===l.type&&(n="completed",t.method="throw",t.arg=l.arg)}}}(e,t,o),s}function f(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(L){return{type:"throw",arg:L}}}e.wrap=c;var h={};function u(){}function p(){}function d(){}var g={};l(g,s,function(){return this});var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==r&&t.call(v,s)&&(g=v);var b=d.prototype=u.prototype=Object.create(g);function y(e){["next","throw","return"].forEach(function(r){l(e,r,function(e){return this._invoke(r,e)})})}function w(e,r){function n(i,s,o,a){var l=f(e[i],e,s);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&t.call(h,"__await")?r.resolve(h.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):r.resolve(h).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,a)})}a(l.arg)}var i;this._invoke=function(e,t){function s(){return new r(function(r,i){n(e,t,r,i)})}return i=i?i.then(s,s):s()}}function x(e,r){var t=e.iterator[r.method];if(void 0===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=void 0,x(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(t,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,h;var i=n.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function k(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function j(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function E(e){if(e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(t.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=d,l(b,"constructor",d),l(d,"constructor",p),p.displayName=l(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,l(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(w.prototype),l(w.prototype,o,function(){return this}),e.AsyncIterator=w,e.async=function(r,t,n,i,s){void 0===s&&(s=Promise);var o=new w(c(r,t,n,i),s);return e.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},y(b),l(b,a,"Generator"),l(b,s,function(){return this}),l(b,"toString",function(){return"[object Generator]"}),e.keys=function(e){var r=[];for(var t in e)r.push(t);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=E,O.prototype={constructor:O,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(j),!e)for(var r in this)"t"===r.charAt(0)&&t.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function n(t,n){return o.type="throw",o.arg=e,r.next=t,n&&(r.method="next",r.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],o=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var a=t.call(s,"catchLoc"),l=t.call(s,"finallyLoc");if(a&&l){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(a){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.finallyLoc)}}}},abrupt:function(e,r){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var s=i;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=r&&r<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=e,o.arg=r,s?(this.method="next",this.next=s.finallyLoc,h):this.complete(o)},complete:function(e,r){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&&r&&(this.next=r),h},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),j(t),h}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var i=n.arg;j(t)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,t){return this.delegate={iterator:E(e),resultName:r,nextLoc:t},"next"===this.method&&(this.arg=void 0),h}},e}function s(e,r,t,n,i,s,o){try{var a=e[s](o),l=a.value}catch(c){return void t(c)}a.done?r(l):Promise.resolve(l).then(n,i)}function o(e){return function(){var r=this,t=arguments;return new Promise(function(n,i){var o=e.apply(r,t);function a(e){s(o,n,i,a,l,"next",e)}function l(e){s(o,n,i,a,l,"throw",e)}a(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{nYbb:function(t,s,a){"use strict";a.r(s),a.d(s,"ion_refresher",function(){return k}),a.d(s,"ion_refresher_content",function(){return j});var l=a("wEJo"),c=a("E/Mt"),f=a("bC4P"),h=a("1vRN"),u=a("qULd"),p=a("meiF"),d=a("39oe"),g=a("h3R7"),m=function(e){var r=e.querySelector("ion-spinner"),t=r.shadowRoot.querySelector("circle"),n=e.querySelector(".spinner-arrow-container"),i=e.querySelector(".arrow-container"),s=i?i.querySelector("ion-icon"):null,o=Object(p.a)().duration(1e3).easing("ease-out"),a=Object(p.a)().addElement(n).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),l=Object(p.a)().addElement(t).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),c=Object(p.a)().addElement(r).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(i&&s){var f=Object(p.a)().addElement(i).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),h=Object(p.a)().addElement(s).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([f,h])}return o.addAnimation([a,l,c])},v=function(e,r){e.style.setProperty("opacity",r.toString())},b=function(e,r){if(!e)return Promise.resolve();var t=w(e,200);return Object(l.f)(function(){e.style.setProperty("transition","0.2s all ease-out"),void 0===r?e.style.removeProperty("transform"):e.style.setProperty("transform","translate3d(0px, ".concat(r,", 0px)"))}),t},y=function(){var e=o(i().mark(function e(r,t){var n,s,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.querySelector("ion-refresher-content")){e.next=3;break}return e.abrupt("return",Promise.resolve(!1));case 3:return e.next=5,new Promise(function(e){return Object(h.c)(n,e)});case 5:return s=r.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),o=r.querySelector("ion-refresher-content .refresher-refreshing ion-spinner"),e.abrupt("return",null!==s&&null!==o&&("ios"===t&&Object(c.a)("mobile")&&void 0!==r.style.webkitOverflowScrolling||"md"===t));case 7:case"end":return e.stop()}},e)}));return function(r,t){return e.apply(this,arguments)}}(),w=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise(function(t){x(e,r,t)})},x=function(e){var r,t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0,s={passive:!0},o=function(){r&&r()},a=function(r){void 0!==r&&e!==r.target||(o(),i(r))};return e&&(e.addEventListener("webkitTransitionEnd",a,s),e.addEventListener("transitionend",a,s),t=setTimeout(a,n+500),r=function(){t&&(clearTimeout(t),t=void 0),e.removeEventListener("webkitTransitionEnd",a,s),e.removeEventListener("transitionend",a,s)}),o},k=function(){function t(e){r(this,t),Object(l.o)(this,e),this.ionRefresh=Object(l.g)(this,"ionRefresh",7),this.ionPull=Object(l.g)(this,"ionPull",7),this.ionStart=Object(l.g)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}var s,d,g,x,k,j,O,E;return n(t,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"checkNativeRefresher",value:(E=o(i().mark(function e(){var r,t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(this.el,Object(c.b)(this));case 2:(r=e.sent)&&!this.nativeRefresher?(t=this.el.closest("ion-content"),this.setupNativeRefresher(t)):r||this.destroyNativeRefresher();case 4:case"end":return e.stop()}},e,this)})),function(){return E.apply(this,arguments)})},{key:"destroyNativeRefresher",value:function(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}},{key:"resetNativeRefresher",value:(O=o(i().mark(function e(r,t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.state=t,"ios"!==Object(c.b)(this)){e.next=6;break}return e.next=4,b(r,void 0);case 4:e.next=8;break;case 6:return e.next=8,w(this.el.querySelector(".refresher-refreshing-icon"),200);case 8:this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach(function(e){return e.destroy()}),this.animations=[],this.progress=0,this.state=1;case 15:case"end":return e.stop()}},e,this)})),function(e,r){return O.apply(this,arguments)})},{key:"setupiOSNativeRefresher",value:(j=o(i().mark(function e(r,t){var n,s,o,c=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.elementToTransform=this.scrollEl,n=r.shadowRoot.querySelectorAll("svg"),s=.16*this.scrollEl.clientHeight,o=n.length,Object(l.f)(function(){return n.forEach(function(e){return e.style.setProperty("animation","none")})}),this.scrollListenerCallback=function(){(c.pointerDown||1!==c.state)&&Object(l.h)(function(){var e=c.scrollEl.scrollTop,i=c.el.clientHeight;if(e>0){if(8===c.state){var a=Object(h.j)(0,e/(.5*i),1);return void Object(l.f)(function(){return v(t,1-a)})}Object(l.f)(function(){return v(r,0)})}else{c.pointerDown&&(c.didStart||(c.didStart=!0,c.ionStart.emit()),c.pointerDown&&c.ionPull.emit());var f,p,d=Object(h.j)(0,Math.abs(e)/i,.99),g=c.progress=Object(h.j)(0,(Math.abs(e)-30)/s,1),m=Object(h.j)(0,Math.floor(g*o),o-1);8===c.state||m===o-1?(c.pointerDown&&(f=t,p=c.lastVelocityY,Object(l.f)(function(){f.style.setProperty("--refreshing-rotation-duration",p>=1?"0.5s":"2s"),f.style.setProperty("opacity","1")})),c.didRefresh||(c.beginRefresh(),c.didRefresh=!0,Object(u.d)({style:"light"}),c.pointerDown||b(c.elementToTransform,i+"px"))):(c.state=2,function(e,r,t,n){Object(l.f)(function(){v(e,t),r.forEach(function(e,r){return e.style.setProperty("opacity",r<=n?"0.99":"0")})})}(r,n,d,m))}})},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),e.next=9,Promise.resolve().then(a.bind(null,"iWo5"));case 9:this.gesture=e.sent.createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:function(){c.pointerDown=!0,c.didRefresh||b(c.elementToTransform,"0px"),0===s&&(s=.16*c.scrollEl.clientHeight)},onMove:function(e){c.lastVelocityY=e.velocityY},onEnd:function(){c.pointerDown=!1,c.didStart=!1,c.needsCompletion?(c.resetNativeRefresher(c.elementToTransform,32),c.needsCompletion=!1):c.didRefresh&&Object(l.h)(function(){return b(c.elementToTransform,c.el.clientHeight+"px")})}}),this.disabledChanged();case 11:case"end":return e.stop()}},e,this)})),function(e,r){return j.apply(this,arguments)})},{key:"setupMDNativeRefresher",value:(k=o(i().mark(function e(r,t,n){var s,c,u,d=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=Object(h.g)(t).querySelector("circle"),c=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),u=Object(h.g)(n).querySelector("circle"),null!==s&&null!==u&&Object(l.f)(function(){s.style.setProperty("animation","none"),n.style.setProperty("animation-delay","-655ms"),u.style.setProperty("animation-delay","-655ms")}),e.next=4,Promise.resolve().then(a.bind(null,"iWo5"));case 4:this.gesture=e.sent.createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:function(){return 8!==d.state&&32!==d.state&&0===d.scrollEl.scrollTop},onStart:function(e){e.data={animation:void 0,didStart:!1,cancelled:!1},d.state=2},onMove:function(e){if(e.velocityY<0&&0===d.progress&&!e.data.didStart||e.data.cancelled)e.data.cancelled=!0;else{if(!e.data.didStart){e.data.didStart=!0,Object(l.f)(function(){return d.scrollEl.style.setProperty("--overflow","hidden")});var t=function(e,r){return"scale"===e?function(e){var r=e.clientHeight,t=Object(p.a)().addElement(e).keyframes([{offset:0,transform:"scale(0) translateY(-".concat(r+20,"px)")},{offset:1,transform:"scale(1) translateY(100px)"}]);return m(e).addAnimation([t])}(r):function(e){var r=e.clientHeight,t=Object(p.a)().addElement(e).keyframes([{offset:0,transform:"translateY(-".concat(r+20,"px)")},{offset:1,transform:"translateY(100px)"}]);return m(e).addAnimation([t])}(r)}(function(e){var r=e.previousElementSibling;return null!==r&&"ION-HEADER"===r.tagName?"translate":"scale"}(r),c);return e.data.animation=t,t.progressStart(!1,0),d.ionStart.emit(),void d.animations.push(t)}d.progress=Object(h.j)(0,e.deltaY/180*.5,1),e.data.animation.progressStep(d.progress),d.ionPull.emit()}},onEnd:function(e){if(e.data.didStart){if(Object(l.f)(function(){return d.scrollEl.style.removeProperty("--overflow")}),d.progress<=.4)return d.gesture.enable(!1),void e.data.animation.progressEnd(0,d.progress,500).onFinish(function(){d.animations.forEach(function(e){return e.destroy()}),d.animations=[],d.gesture.enable(!0),d.state=1});var r=Object(f.a)([0,0],[0,0],[1,1],[1,1],d.progress)[0],t=function(e){return Object(p.a)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)")}(c);d.animations.push(t),Object(l.f)(o(i().mark(function n(){return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return c.style.setProperty("--ion-pulling-refresher-translate",100*r+"px"),e.data.animation.progressEnd(),n.next=4,t.play();case 4:d.beginRefresh(),e.data.animation.destroy();case 6:case"end":return n.stop()}},n)})))}}}),this.disabledChanged();case 6:case"end":return e.stop()}},e,this)})),function(e,r,t){return k.apply(this,arguments)})},{key:"setupNativeRefresher",value:(x=o(i().mark(function e(r){var t,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.scrollListenerCallback&&r&&!this.nativeRefresher&&this.scrollEl){e.next=2;break}return e.abrupt("return");case 2:this.setCss(0,"",!1,""),this.nativeRefresher=!0,t=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),n=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner"),"ios"===Object(c.b)(this)?this.setupiOSNativeRefresher(t,n):this.setupMDNativeRefresher(r,t,n);case 5:case"end":return e.stop()}},e,this)})),function(e){return x.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){this.checkNativeRefresher()}},{key:"connectedCallback",value:(g=o(i().mark(function e(){var r,t=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("fixed"===this.el.getAttribute("slot")){e.next=2;break}return e.abrupt("return",void console.error('Make sure you use: <ion-refresher slot="fixed">'));case 2:if(!(r=this.el.closest("ion-content"))){e.next=22;break}return e.next=6,new Promise(function(e){return Object(h.c)(r,e)});case 6:return e.next=8,r.getScrollElement();case 8:return this.scrollEl=e.sent,this.backgroundContentEl=Object(h.g)(r).querySelector("#background-content"),e.next=12,y(this.el,Object(c.b)(this));case 12:if(!e.sent){e.next=16;break}this.setupNativeRefresher(r),e.next=20;break;case 16:return e.next=18,Promise.resolve().then(a.bind(null,"iWo5"));case 18:this.gesture=e.sent.createGesture({el:r,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:function(){return t.canStart()},onStart:function(){return t.onStart()},onMove:function(e){return t.onMove(e)},onEnd:function(){return t.onEnd()}}),this.disabledChanged();case 20:e.next=23;break;case 22:console.error("<ion-refresher> must be used inside an <ion-content>");case 23:case"end":return e.stop()}},e,this)})),function(){return g.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"complete",value:(d=o(i().mark(function e(){var r=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||Object(h.q)(function(){return Object(h.q)(function(){return r.resetNativeRefresher(r.elementToTransform,32)})})):this.close(32,"120ms");case 1:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"cancel",value:(s=o(i().mark(function e(){var r=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.nativeRefresher?this.pointerDown||Object(h.q)(function(){return Object(h.q)(function(){return r.resetNativeRefresher(r.elementToTransform,16)})}):this.close(16,"");case 1:case"end":return e.stop()}},e,this)})),function(){return s.apply(this,arguments)})},{key:"getProgress",value:function(){return Promise.resolve(this.progress)}},{key:"canStart",value:function(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}},{key:"onStart",value:function(){this.progress=0,this.state=1}},{key:"onMove",value:function(e){if(this.scrollEl){var r=e.event;if(!(r.touches&&r.touches.length>1)&&0==(56&this.state)){var t=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,n=e.deltaY*t;if(n<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(r.cancelable&&r.preventDefault(),this.setCss(n,"0ms",!0,""),0!==n){var i=this.pullMin;this.progress=n/i,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),n<i?this.state=2:n>this.pullMax?this.beginRefresh():this.state=4}else this.progress=0}}}},{key:"onEnd",value:function(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()}},{key:"beginRefresh",value:function(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}},{key:"close",value:function(e,r){var t=this;setTimeout(function(){t.state=1,t.progress=0,t.didStart=!1,t.setCss(0,"0ms",!1,"")},600),this.state=e,this.setCss(0,this.closeDuration,!0,r)}},{key:"setCss",value:function(e,r,t,n){var i=this;this.nativeRefresher||(this.appliedStyles=e>0,Object(l.f)(function(){if(i.scrollEl&&i.backgroundContentEl){var s=i.scrollEl.style,o=i.backgroundContentEl.style;s.transform=o.transform=e>0?"translateY(".concat(e,"px) translateZ(0px)"):"",s.transitionDuration=o.transitionDuration=r,s.transitionDelay=o.transitionDelay=n,s.overflow=t?"hidden":""}}))}},{key:"render",value:function(){var r,t=Object(c.b)(this);return Object(l.j)(l.c,{slot:"fixed",class:(r={},e(r,t,!0),e(r,"refresher-"+t,!0),e(r,"refresher-native",this.nativeRefresher),e(r,"refresher-active",1!==this.state),e(r,"refresher-pulling",2===this.state),e(r,"refresher-ready",4===this.state),e(r,"refresher-refreshing",8===this.state),e(r,"refresher-cancelling",16===this.state),e(r,"refresher-completing",32===this.state),r)})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),t}();k.style={ios:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .arrow-container ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;border-radius:100%;padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}"};var j=function(){function e(t){r(this,e),Object(l.o)(this,t)}return n(e,[{key:"componentWillLoad",value:function(){if(void 0===this.pullingIcon){var e=Object(c.b)(this),r=void 0!==this.el.style.webkitOverflowScrolling?"lines":"arrow-down";this.pullingIcon=c.c.get("refreshingIcon","ios"===e&&Object(c.a)("mobile")?c.c.get("spinner",r):"circular")}if(void 0===this.refreshingSpinner){var t=Object(c.b)(this);this.refreshingSpinner=c.c.get("refreshingSpinner",c.c.get("spinner","ios"===t?"lines":"circular"))}}},{key:"render",value:function(){var e=this.pullingIcon,r=null!=e&&void 0!==g.a[e],t=Object(c.b)(this);return Object(l.j)(l.c,{class:t},Object(l.j)("div",{class:"refresher-pulling"},this.pullingIcon&&r&&Object(l.j)("div",{class:"refresher-pulling-icon"},Object(l.j)("div",{class:"spinner-arrow-container"},Object(l.j)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===t&&"circular"===this.pullingIcon&&Object(l.j)("div",{class:"arrow-container"},Object(l.j)("ion-icon",{name:"caret-back-sharp"})))),this.pullingIcon&&!r&&Object(l.j)("div",{class:"refresher-pulling-icon"},Object(l.j)("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&Object(l.j)("div",{class:"refresher-pulling-text",innerHTML:Object(d.a)(this.pullingText)})),Object(l.j)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&Object(l.j)("div",{class:"refresher-refreshing-icon"},Object(l.j)("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&Object(l.j)("div",{class:"refresher-refreshing-text",innerHTML:Object(d.a)(this.refreshingText)})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}()}}])}(); \ No newline at end of file diff --git a/dist/39-es5.dc08f6801a6d1f63a18b.js b/dist/39-es5.dc08f6801a6d1f63a18b.js index be175a26b5..5d16049509 100644 --- a/dist/39-es5.dc08f6801a6d1f63a18b.js +++ b/dist/39-es5.dc08f6801a6d1f63a18b.js @@ -1 +1 @@ -!function(){function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t,r,n,o,i,s){try{var l=e[i](s),a=l.value}catch(c){return void r(c)}l.done?t(a):Promise.resolve(a).then(n,o)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{smMY:function(n,i,s){"use strict";s.r(i),s.d(i,"ion_reorder",function(){return h}),s.d(i,"ion_reorder_group",function(){return u});var l=s("wEJo"),a=s("E/Mt"),c=s("qULd"),h=function(){function e(t){r(this,e),Object(l.o)(this,t)}return o(e,[{key:"onClick",value:function(e){var t=this.el.closest("ion-reorder-group");e.preventDefault(),t&&t.disabled||e.stopImmediatePropagation()}},{key:"render",value:function(){var e=Object(a.b)(this),t="ios"===e?"reorder-three-outline":"reorder-two-sharp";return Object(l.j)(l.c,{class:e},Object(l.j)("slot",null,Object(l.j)("ion-icon",{name:t,lazy:!1,class:"reorder-icon",part:"icon"})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}();h.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"};var u=function(){function n(e){r(this,n),Object(l.o)(this,e),this.ionItemReorder=Object(l.g)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}var i,h;return o(n,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(i=regeneratorRuntime.mark(function e(){var t,r=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.el.closest("ion-content"),e.t0=t,!e.t0){e.next=6;break}return e.next=5,t.getScrollElement();case 5:this.scrollEl=e.sent;case 6:return e.next=8,Promise.resolve().then(s.bind(null,"iWo5"));case 8:this.gesture=e.sent.createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:function(e){return r.canStart(e)},onStart:function(e){return r.onStart(e)},onMove:function(e){return r.onMove(e)},onEnd:function(){return r.onEnd()}}),this.disabledChanged();case 10:case"end":return e.stop()}},e,this)}),h=function(){var e=this,r=arguments;return new Promise(function(n,o){var s=i.apply(e,r);function l(e){t(s,n,o,l,a,"next",e)}function a(e){t(s,n,o,l,a,"throw",e)}l(void 0)})},function(){return h.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"complete",value:function(e){return Promise.resolve(this.completeSync(e))}},{key:"canStart",value:function(e){if(this.selectedItemEl||0!==this.state)return!1;var t=e.event.target.closest("ion-reorder");if(!t)return!1;var r=f(t,this.el);return!!r&&(e.data=r,!0)}},{key:"onStart",value:function(e){e.event.preventDefault();var t=this.selectedItemEl=e.data,r=this.cachedHeights;r.length=0;var n=this.el,o=n.children;if(o&&0!==o.length){for(var i=0,s=0;s<o.length;s++){var l=o[s];i+=l.offsetHeight,r.push(i),l.$ionIndex=s}var a=n.getBoundingClientRect();if(this.containerTop=a.top,this.containerBottom=a.bottom,this.scrollEl){var h=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop,this.scrollElTop=h.top+v,this.scrollElBottom=h.bottom-v}else this.scrollElInitial=0,this.scrollElTop=0,this.scrollElBottom=0;this.lastToIndex=d(t),this.selectedItemHeight=t.offsetHeight,this.state=1,t.classList.add(b),Object(c.a)()}}},{key:"onMove",value:function(e){var t=this.selectedItemEl;if(t){var r=this.autoscroll(e.currentY),n=this.containerTop-r,o=Math.max(n,Math.min(e.currentY,this.containerBottom-r)),i=r+o-e.startY,s=this.itemIndexForTop(o-n);if(s!==this.lastToIndex){var l=d(t);this.lastToIndex=s,Object(c.b)(),this.reorderMove(l,s)}t.style.transform="translateY(".concat(i,"px)")}}},{key:"onEnd",value:function(){var e=this.selectedItemEl;if(this.state=2,e){var t=this.lastToIndex,r=d(e);t===r?this.completeSync():this.ionItemReorder.emit({from:r,to:t,complete:this.completeSync.bind(this)}),Object(c.e)()}else this.state=0}},{key:"completeSync",value:function(e){var t=this.selectedItemEl;if(t&&2===this.state){var r=this.el.children,n=r.length,o=this.lastToIndex,i=d(t);o===i||void 0!==e&&!0!==e||this.el.insertBefore(t,i<o?r[o+1]:r[o]),Array.isArray(e)&&(e=p(e,i,o));for(var s=0;s<n;s++)r[s].style.transform="";t.style.transition="",t.classList.remove(b),this.selectedItemEl=void 0,this.state=0}return e}},{key:"itemIndexForTop",value:function(e){var t=this.cachedHeights,r=0;for(r=0;r<t.length&&!(t[r]>e);r++);return r}},{key:"reorderMove",value:function(e,t){for(var r=this.selectedItemHeight,n=this.el.children,o=0;o<n.length;o++){var i="";o>e&&o<=t?i="translateY(".concat(-r,"px)"):o<e&&o>=t&&(i="translateY(".concat(r,"px)")),n[o].style.transform=i}}},{key:"autoscroll",value:function(e){if(!this.scrollEl)return 0;var t=0;return e<this.scrollElTop?t=-m:e>this.scrollElBottom&&(t=m),0!==t&&this.scrollEl.scrollBy(0,t),this.scrollEl.scrollTop-this.scrollElInitial}},{key:"render",value:function(){var t,r=Object(a.b)(this);return Object(l.j)(l.c,{class:(t={},e(t,r,!0),e(t,"reorder-enabled",!this.disabled),e(t,"reorder-list-active",0!==this.state),t)})}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),n}(),d=function(e){return e.$ionIndex},f=function(e,t){for(var r;e;){if((r=e.parentElement)===t)return e;e=r}},v=60,m=10,b="reorder-selected",p=function(e,t,r){var n=e[t];return e.splice(t,1),e.splice(r,0,n),e.slice()};u.style=".reorder-list-active>*{-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(O){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return I()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}t.wrap=l;var h={};function f(){}function d(){}function p(){}var v={};c(v,i,function(){return this});var y=Object.getPrototypeOf,m=y&&y(y(L([])));m&&m!==r&&n.call(m,i)&&(v=m);var g=p.prototype=f.prototype=Object.create(v);function b(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function r(o,i,a,s){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(h).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(g,"constructor",p),c(p,"constructor",d),d.displayName=c(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},b(g),c(g,s,"Generator"),c(g,i,function(){return this}),c(g,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,j.prototype={constructor:j,reset:function(t){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(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function r(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(l){return void r(l)}s.done?e(c):Promise.resolve(c).then(n,o)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{smMY:function(o,a,s){"use strict";s.r(a),s.d(a,"ion_reorder",function(){return h}),s.d(a,"ion_reorder_group",function(){return f});var c=s("wEJo"),l=s("E/Mt"),u=s("qULd"),h=function(){function t(e){n(this,t),Object(c.o)(this,e)}return i(t,[{key:"onClick",value:function(t){var e=this.el.closest("ion-reorder-group");t.preventDefault(),e&&e.disabled||t.stopImmediatePropagation()}},{key:"render",value:function(){var t=Object(l.b)(this),e="ios"===t?"reorder-three-outline":"reorder-two-sharp";return Object(c.j)(c.c,{class:t},Object(c.j)("slot",null,Object(c.j)("ion-icon",{name:e,lazy:!1,class:"reorder-icon",part:"icon"})))}},{key:"el",get:function(){return Object(c.k)(this)}}]),t}();h.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"};var f=function(){function o(t){n(this,o),Object(c.o)(this,t),this.ionItemReorder=Object(c.g)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}var a,h;return i(o,[{key:"disabledChanged",value:function(){this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(a=e().mark(function t(){var r,n=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.el.closest("ion-content"),t.t0=r,!t.t0){t.next=6;break}return t.next=5,r.getScrollElement();case 5:this.scrollEl=t.sent;case 6:return t.next=8,Promise.resolve().then(s.bind(null,"iWo5"));case 8:this.gesture=t.sent.createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:function(t){return n.canStart(t)},onStart:function(t){return n.onStart(t)},onMove:function(t){return n.onMove(t)},onEnd:function(){return n.onEnd()}}),this.disabledChanged();case 10:case"end":return t.stop()}},t,this)}),h=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=a.apply(t,e);function s(t){r(i,n,o,s,c,"next",t)}function c(t){r(i,n,o,s,c,"throw",t)}s(void 0)})},function(){return h.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"complete",value:function(t){return Promise.resolve(this.completeSync(t))}},{key:"canStart",value:function(t){if(this.selectedItemEl||0!==this.state)return!1;var e=t.event.target.closest("ion-reorder");if(!e)return!1;var r=p(e,this.el);return!!r&&(t.data=r,!0)}},{key:"onStart",value:function(t){t.event.preventDefault();var e=this.selectedItemEl=t.data,r=this.cachedHeights;r.length=0;var n=this.el,o=n.children;if(o&&0!==o.length){for(var i=0,a=0;a<o.length;a++){var s=o[a];i+=s.offsetHeight,r.push(i),s.$ionIndex=a}var c=n.getBoundingClientRect();if(this.containerTop=c.top,this.containerBottom=c.bottom,this.scrollEl){var l=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop,this.scrollElTop=l.top+v,this.scrollElBottom=l.bottom-v}else this.scrollElInitial=0,this.scrollElTop=0,this.scrollElBottom=0;this.lastToIndex=d(e),this.selectedItemHeight=e.offsetHeight,this.state=1,e.classList.add(m),Object(u.a)()}}},{key:"onMove",value:function(t){var e=this.selectedItemEl;if(e){var r=this.autoscroll(t.currentY),n=this.containerTop-r,o=Math.max(n,Math.min(t.currentY,this.containerBottom-r)),i=r+o-t.startY,a=this.itemIndexForTop(o-n);if(a!==this.lastToIndex){var s=d(e);this.lastToIndex=a,Object(u.b)(),this.reorderMove(s,a)}e.style.transform="translateY(".concat(i,"px)")}}},{key:"onEnd",value:function(){var t=this.selectedItemEl;if(this.state=2,t){var e=this.lastToIndex,r=d(t);e===r?this.completeSync():this.ionItemReorder.emit({from:r,to:e,complete:this.completeSync.bind(this)}),Object(u.e)()}else this.state=0}},{key:"completeSync",value:function(t){var e=this.selectedItemEl;if(e&&2===this.state){var r=this.el.children,n=r.length,o=this.lastToIndex,i=d(e);o===i||void 0!==t&&!0!==t||this.el.insertBefore(e,i<o?r[o+1]:r[o]),Array.isArray(t)&&(t=g(t,i,o));for(var a=0;a<n;a++)r[a].style.transform="";e.style.transition="",e.classList.remove(m),this.selectedItemEl=void 0,this.state=0}return t}},{key:"itemIndexForTop",value:function(t){var e=this.cachedHeights,r=0;for(r=0;r<e.length&&!(e[r]>t);r++);return r}},{key:"reorderMove",value:function(t,e){for(var r=this.selectedItemHeight,n=this.el.children,o=0;o<n.length;o++){var i="";o>t&&o<=e?i="translateY(".concat(-r,"px)"):o<t&&o>=e&&(i="translateY(".concat(r,"px)")),n[o].style.transform=i}}},{key:"autoscroll",value:function(t){if(!this.scrollEl)return 0;var e=0;return t<this.scrollElTop?e=-y:t>this.scrollElBottom&&(e=y),0!==e&&this.scrollEl.scrollBy(0,e),this.scrollEl.scrollTop-this.scrollElInitial}},{key:"render",value:function(){var e,r=Object(l.b)(this);return Object(c.j)(c.c,{class:(e={},t(e,r,!0),t(e,"reorder-enabled",!this.disabled),t(e,"reorder-list-active",0!==this.state),e)})}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"]}}}]),o}(),d=function(t){return t.$ionIndex},p=function(t,e){for(var r;t;){if((r=t.parentElement)===e)return t;t=r}},v=60,y=10,m="reorder-selected",g=function(t,e,r){var n=t[e];return t.splice(e,1),t.splice(r,0,n),t.slice()};f.style=".reorder-list-active>*{-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}])}(); \ No newline at end of file diff --git a/dist/40-es5.d8cece08f3402dbea33a.js b/dist/40-es5.d8cece08f3402dbea33a.js index 196319818d..c2ddc53de9 100644 --- a/dist/40-es5.d8cece08f3402dbea33a.js +++ b/dist/40-es5.d8cece08f3402dbea33a.js @@ -1 +1 @@ -!function(){function n(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function t(n,t,e,i,a,r,o){try{var c=n[r](o),s=c.value}catch(f){return void e(f)}c.done?t(s):Promise.resolve(s).then(i,a)}function e(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{STjf:function(i,a,r){"use strict";r.r(a),r.d(a,"ion_ripple_effect",function(){return s});var o=r("wEJo"),c=r("E/Mt"),s=function(){function i(n){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),Object(o.o)(this,n),this.type="bounded"}var a,r,s,m,d;return a=i,(r=[{key:"addRipple",value:(m=regeneratorRuntime.mark(function n(t,e){var i=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(n){Object(o.h)(function(){var a=i.el.getBoundingClientRect(),r=a.width,c=a.height,s=Math.sqrt(r*r+c*c),m=Math.max(c,r),d=i.unbounded?m:s+u,p=Math.floor(m*l),b=d/p,w=t-a.left,v=e-a.top;i.unbounded&&(w=.5*r,v=.5*c);var y=w-.5*p,h=v-.5*p,k=.5*r-w,g=.5*c-v;Object(o.f)(function(){var t=document.createElement("div");t.classList.add("ripple-effect");var e=t.style;e.top=h+"px",e.left=y+"px",e.width=e.height=p+"px",e.setProperty("--final-scale",""+b),e.setProperty("--translate-end","".concat(k,"px, ").concat(g,"px")),(i.el.shadowRoot||i.el).appendChild(t),setTimeout(function(){n(function(){f(t)})},325)})})}));case 1:case"end":return n.stop()}},n)}),d=function(){var n=this,e=arguments;return new Promise(function(i,a){var r=m.apply(n,e);function o(n){t(r,i,a,o,c,"next",n)}function c(n){t(r,i,a,o,c,"throw",n)}o(void 0)})},function(n,t){return d.apply(this,arguments)})},{key:"unbounded",get:function(){return"unbounded"===this.type}},{key:"render",value:function(){var t,e=Object(c.b)(this);return Object(o.j)(o.c,{role:"presentation",class:(t={},n(t,e,!0),n(t,"unbounded",this.unbounded),t)})}},{key:"el",get:function(){return Object(o.k)(this)}}])&&e(a.prototype,r),s&&e(a,s),i}(),f=function(n){n.classList.add("fade-out"),setTimeout(function(){n.remove()},200)},u=10,l=.5;s.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}])}(); \ No newline at end of file +!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(_){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===l)continue;return c}}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 u=f(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(_){return{type:"throw",arg:_}}}t.wrap=s;var l={};function h(){}function p(){}function d(){}var m={};u(m,i,function(){return this});var y=Object.getPrototypeOf,v=y&&y(y(O([])));v&&v!==n&&r.call(v,i)&&(m=v);var w=d.prototype=h.prototype=Object.create(m);function g(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){function n(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e(function(e,o){n(t,r,e,o)})}return o=o?o.then(i,i):i()}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=d,u(w,"constructor",d),u(d,"constructor",p),p.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},g(b.prototype),u(b.prototype,a,function(){return this}),t.AsyncIterator=b,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new b(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},g(w),u(w,c,"Generator"),u(w,i,function(){return this}),u(w,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,E.prototype={constructor:E,reset:function(t){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(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function n(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,o)}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{STjf:function(o,i,a){"use strict";a.r(i),a.d(i,"ion_ripple_effect",function(){return s});var c=a("wEJo"),u=a("E/Mt"),s=function(){function o(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),Object(c.o)(this,t),this.type="bounded"}var i,a,s,p,d;return i=o,(a=[{key:"addRipple",value:(p=e().mark(function t(n,r){var o=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t){Object(c.h)(function(){var e=o.el.getBoundingClientRect(),i=e.width,a=e.height,u=Math.sqrt(i*i+a*a),s=Math.max(a,i),p=o.unbounded?s:u+l,d=Math.floor(s*h),m=p/d,y=n-e.left,v=r-e.top;o.unbounded&&(y=.5*i,v=.5*a);var w=y-.5*d,g=v-.5*d,b=.5*i-y,k=.5*a-v;Object(c.f)(function(){var e=document.createElement("div");e.classList.add("ripple-effect");var n=e.style;n.top=g+"px",n.left=w+"px",n.width=n.height=d+"px",n.setProperty("--final-scale",""+m),n.setProperty("--translate-end","".concat(b,"px, ").concat(k,"px")),(o.el.shadowRoot||o.el).appendChild(e),setTimeout(function(){t(function(){f(e)})},325)})})}));case 1:case"end":return t.stop()}},t)}),d=function(){var t=this,e=arguments;return new Promise(function(r,o){var i=p.apply(t,e);function a(t){n(i,r,o,a,c,"next",t)}function c(t){n(i,r,o,a,c,"throw",t)}a(void 0)})},function(t,e){return d.apply(this,arguments)})},{key:"unbounded",get:function(){return"unbounded"===this.type}},{key:"render",value:function(){var e,n=Object(u.b)(this);return Object(c.j)(c.c,{role:"presentation",class:(e={},t(e,n,!0),t(e,"unbounded",this.unbounded),e)})}},{key:"el",get:function(){return Object(c.k)(this)}}])&&r(i.prototype,a),s&&r(i,s),Object.defineProperty(i,"prototype",{writable:!1}),o}(),f=function(t){t.classList.add("fade-out"),setTimeout(function(){t.remove()},200)},l=10,h=.5;s.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}])}(); \ No newline at end of file diff --git a/dist/41-es5.21b595e6c71ff10f82ee.js b/dist/41-es5.21b595e6c71ff10f82ee.js index 53d891043d..05223b0fec 100644 --- a/dist/41-es5.21b595e6c71ff10f82ee.js +++ b/dist/41-es5.21b595e6c71ff10f82ee.js @@ -1 +1 @@ -!function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||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.")}()}function n(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function u(e){n(a,o,i,u,s,"next",e)}function s(e){n(a,o,i,u,s,"throw",e)}u(void 0)})}}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw a}}}}function i(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}function u(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 c(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{k5eQ:function(n,i,a){"use strict";a.r(i),a.d(i,"ion_route",function(){return p}),a.d(i,"ion_route_redirect",function(){return d}),a.d(i,"ion_router",function(){return U}),a.d(i,"ion_router_link",function(){return A});var s=a("wEJo"),h=a("1vRN"),l=a("E/Mt"),f=a("74mu"),p=function(){function e(t){u(this,e),Object(s.o)(this,t),this.ionRouteDataChanged=Object(s.g)(this,"ionRouteDataChanged",7),this.url=""}return c(e,[{key:"onUpdate",value:function(e){this.ionRouteDataChanged.emit(e)}},{key:"onComponentProps",value:function(e,t){if(e!==t){var n=e?Object.keys(e):[],r=t?Object.keys(t):[];if(n.length===r.length){var i,a=o(n);try{for(a.s();!(i=a.n()).done;){var u=i.value;if(e[u]!==t[u])return void this.onUpdate(e)}}catch(s){a.e(s)}finally{a.f()}}else this.onUpdate(e)}}},{key:"connectedCallback",value:function(){this.ionRouteDataChanged.emit()}}],[{key:"watchers",get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}}]),e}(),d=function(){function e(t){u(this,e),Object(s.o)(this,t),this.ionRouteRedirectChanged=Object(s.g)(this,"ionRouteRedirectChanged",7)}return c(e,[{key:"propDidChange",value:function(){this.ionRouteRedirectChanged.emit()}},{key:"connectedCallback",value:function(){this.ionRouteRedirectChanged.emit()}}],[{key:"watchers",get:function(){return{from:["propDidChange"],to:["propDidChange"]}}}]),e}(),v=function(e){return"/"+e.filter(function(e){return e.length>0}).join("/")},g=function(e){if(null==e)return[""];var t=e.split("?")[0].split("/").map(function(e){return e.trim()}).filter(function(e){return e.length>0});return 0===t.length?[""]:t},b=function(){var e=r(regeneratorRuntime.mark(function e(t,n,r,o){var i,a,u,s,c,l=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=l.length>4&&void 0!==l[4]&&l[4],a=l.length>5?l[5]:void 0,e.prev=2,u=y(t),!(o>=n.length)&&u){e.next=6;break}return e.abrupt("return",i);case 6:return e.next=8,new Promise(function(e){return Object(h.c)(u,e)});case 8:return s=n[o],e.next=11,u.setRouteId(s.id,s.params,r,a);case 11:return(c=e.sent).changed&&(r="root",i=!0),e.next=15,b(c.element,n,r,o+1,i,a);case 15:if(i=e.sent,e.t0=c.markVisible,!e.t0){e.next=20;break}return e.next=20,c.markVisible();case 20:return e.abrupt("return",i);case 23:return e.prev=23,e.t1=e.catch(2),e.abrupt("return",(console.error(e.t1),!1));case 26:case"end":return e.stop()}},e,null,[[2,23]])}));return function(t,n,r,o){return e.apply(this,arguments)}}(),m=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",y=function(e){if(e)return e.matches(m)?e:e.querySelector(m)||void 0},w=function(e,t){return t.find(function(t){return function(e,t){var n=t.from;if(void 0===t.to)return!1;if(n.length>e.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if("*"===o)return!0;if(o!==e[r])return!1}return n.length===e.length}(e,t)})},k=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n&&e[r].toLowerCase()===t[r].id;r++);return r},R=function(e,t){for(var n,r=new O(e),i=!1,a=0;a<t.length;a++){var u=t[a].path;if(""===u[0])i=!0;else{var s,c=o(u);try{for(c.s();!(s=c.n()).done;){var h=s.value,l=r.next();if(":"===h[0]){if(""===l)return null;((n=n||[])[a]||(n[a]={}))[h.slice(1)]=l}else if(l!==h)return null}}catch(f){c.e(f)}finally{c.f()}i=!1}}return i&&i!==(""===r.next())?null:n?t.map(function(e,t){return{id:e.id,path:e.path,params:x(e.params,n[t]),beforeEnter:e.beforeEnter,beforeLeave:e.beforeLeave}}):t},x=function(e,t){return e||t?Object.assign(Object.assign({},e),t):void 0},C=function(e,t){var n,r=null,i=0,a=o(t);try{for(a.s();!(n=a.n()).done;){var u=n.value,s=R(e,u);if(null!==s){var c=j(s);c>i&&(i=c,r=s)}}}catch(h){a.e(h)}finally{a.f()}return r},j=function(e){var t,n=1,r=1,i=o(e);try{for(i.s();!(t=i.n()).done;){var a,u=o(t.value.path);try{for(u.s();!(a=u.n()).done;){var s=a.value;":"===s[0]?n+=Math.pow(1,r):""!==s&&(n+=Math.pow(2,r)),r++}}catch(c){u.e(c)}finally{u.f()}}}catch(c){i.e(c)}finally{i.f()}return n},O=function(){function e(t){u(this,e),this.path=t.slice()}return c(e,[{key:"next",value:function(){return this.path.length>0?this.path.shift():""}}]),e}(),P=function(e){return Array.from(e.children).filter(function(e){return"ION-ROUTE-REDIRECT"===e.tagName}).map(function(e){var t=L(e,"to");return{from:g(L(e,"from")),to:null==t?void 0:g(t)}})},E=function(e){return D(S(e))},S=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return Array.from(n.children).filter(function(e){return"ION-ROUTE"===e.tagName&&e.component}).map(function(n){var r=L(n,"component");if(null==r)throw new Error("component missing in ion-route");return{path:g(L(n,"url")),id:r.toLowerCase(),params:n.componentProps,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter,children:e(t,n)}})},L=function(e,t){return t in e?e[t]:e.hasAttribute(t)?e.getAttribute(t):null},D=function(e){var t,n=[],r=o(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;N([],n,i)}}catch(a){r.e(a)}finally{r.f()}return n},N=function e(t,n,r){var i=t.slice();if(i.push({id:r.id,path:r.path,params:r.params,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter}),0!==r.children.length){var a,u=o(r.children);try{for(u.s();!(a=u.n()).done;){e(i,n,a.value)}}catch(s){u.e(s)}finally{u.f()}}else n.push(i)},U=function(){function e(t){u(this,e),Object(s.o)(this,t),this.ionRouteWillChange=Object(s.g)(this,"ionRouteWillChange",7),this.ionRouteDidChange=Object(s.g)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}var n,i,a,l,f,p,d,m,R,j,O;return c(e,[{key:"componentWillLoad",value:(O=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.debug("[ion-router] router will load"),e.next=3,y(document.body)?Promise.resolve():new Promise(function(e){window.addEventListener("ionNavWillLoad",e,{once:!0})});case 3:return console.debug("[ion-router] found nav"),e.next=6,this.onRoutesChanged();case 6:case"end":return e.stop()}},e,this)})),function(){return O.apply(this,arguments)})},{key:"componentDidLoad",value:function(){window.addEventListener("ionRouteRedirectChanged",Object(h.n)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",Object(h.n)(this.onRoutesChanged.bind(this),100))}},{key:"onPopState",value:(j=r(regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.historyDirection(),n=this.getPath(),e.next=4,this.runGuards(n);case 4:return r=e.sent,e.abrupt("return",!0!==r?("object"==typeof r&&(n=g(r.redirect)),!1):(console.debug("[ion-router] URL changed -> update nav",n,t),this.writeNavStateRoot(n,t)));case 6:case"end":return e.stop()}},e,this)})),function(){return j.apply(this,arguments)})},{key:"onBackButton",value:function(e){var t=this;e.detail.register(0,function(e){t.back(),e()})}},{key:"canTransition",value:(R=r(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.runGuards();case 2:return t=e.sent,e.abrupt("return",!0===t||"object"==typeof t&&t.redirect);case 4:case"end":return e.stop()}},e,this)})),function(){return R.apply(this,arguments)})},{key:"push",value:(m=r(regeneratorRuntime.mark(function e(t){var n,r,o,i,a,u=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:"forward",r=u.length>2?u[2]:void 0,t.startsWith(".")&&(t=new URL(t,window.location.href).pathname),console.debug("[ion-router] URL pushed -> updating nav",t,n),o=g(t),i=t.split("?")[1],e.next=6,this.runGuards(o);case 6:if(!0===(a=e.sent)){e.next=11;break}if("object"==typeof a){e.next=10;break}return e.abrupt("return",!1);case 10:o=g(a.redirect),i=a.redirect.split("?")[1];case 11:return e.abrupt("return",(this.setPath(o,n,i),this.writeNavStateRoot(o,n,r)));case 12:case"end":return e.stop()}},e,this)})),function(e){return m.apply(this,arguments)})},{key:"back",value:function(){return window.history.back(),Promise.resolve(this.waitPromise)}},{key:"printDebug",value:(d=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.debug("CURRENT PATH",this.getPath()),console.debug("PREVIOUS PATH",this.previousPath),function(e){console.group("[ion-core] ROUTES[".concat(e.length,"]"));var n,r=o(e);try{var i=function(){var e=n.value,r=[];e.forEach(function(e){return r.push.apply(r,t(e.path))});var o=e.map(function(e){return e.id});console.debug("%c "+v(r),"font-weight: bold; padding-left: 20px","=>\t","(".concat(o.join(", "),")"))};for(r.s();!(n=r.n()).done;)i()}catch(a){r.e(a)}finally{r.f()}console.groupEnd()}(E(this.el)),function(e){console.group("[ion-core] REDIRECTS[".concat(e.length,"]"));var t,n=o(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.to&&console.debug("FROM: ","$c "+v(r.from),"font-weight: bold"," TO: ","$c "+v(r.to),"font-weight: bold")}}catch(i){n.e(i)}finally{n.f()}console.groupEnd()}(P(this.el));case 1:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"navChanged",value:(p=r(regeneratorRuntime.mark(function e(t){var n,i,a,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.busy){e.next=2;break}return e.abrupt("return",(console.warn("[ion-router] router is busy, navChanged was cancelled"),!1));case 2:return e.next=4,function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r,o,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=[],o=window.document.body;case 2:if(!(r=y(o))){e.next=11;break}return e.next=5,r.getRouteId();case 5:if(i=e.sent){e.next=8;break}return e.abrupt("break",11);case 8:o=i.element,i.element=void 0,n.push(i);case 9:e.next=2;break;case 11:return e.abrupt("return",{ids:n,outlet:r});case 12:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()();case 4:if(n=e.sent,i=n.ids,a=n.outlet,u=function(e,t){var n,r=null,i=0,a=e.map(function(e){return e.id}),u=o(t);try{for(u.s();!(n=u.n()).done;){var s=n.value,c=k(a,s);c>i&&(r=s,i=c)}}catch(h){u.e(h)}finally{u.f()}return r?r.map(function(t,n){return{id:t.id,path:t.path,params:x(t.params,e[n]&&e[n].params)}}):null}(i,E(this.el))){e.next=10;break}return e.abrupt("return",(console.warn("[ion-router] no matching URL for ",i.map(function(e){return e.id})),!1));case 10:if(!(s=function(e){var t,n=[],r=o(e);try{for(r.s();!(t=r.n()).done;){var i,a=t.value,u=o(a.path);try{for(u.s();!(i=u.n()).done;){var s=i.value;if(":"===s[0]){var c=a.params&&a.params[s.slice(1)];if(!c)return null;n.push(c)}else""!==s&&n.push(s)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){r.e(h)}finally{r.f()}return n}(u))){e.next=19;break}return console.debug("[ion-router] nav changed -> update URL",i,s),this.setPath(s,t),e.next=16,this.safeWriteNavState(a,u,"root",s,null,i.length);case 16:e.t0=!0,e.next=20;break;case 19:e.t0=(console.warn("[ion-router] router could not match path because some required param is missing"),!1);case 20:return e.abrupt("return",e.t0);case 21:case"end":return e.stop()}},e,this)})),function(e){return p.apply(this,arguments)})},{key:"onRedirectChanged",value:function(){var e=this.getPath();e&&w(e,P(this.el))&&this.writeNavStateRoot(e,"root")}},{key:"onRoutesChanged",value:function(){return this.writeNavStateRoot(this.getPath(),"root")}},{key:"historyDirection",value:function(){var e=window;null===e.history.state&&(this.state++,e.history.replaceState(this.state,e.document.title,e.document.location&&e.document.location.href));var t=e.history.state,n=this.lastState;return this.lastState=t,t>n||t>=n&&n>0?"forward":t<n?"back":"root"}},{key:"writeNavStateRoot",value:(f=r(regeneratorRuntime.mark(function e(t,n,r){var o,i,a,u,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",(console.error("[ion-router] URL is not part of the routing set"),!1));case 2:return o=P(this.el),i=w(t,o),a=null,i&&(this.setPath(i.to,n),a=i.from,t=i.to),u=E(this.el),s=C(t,u),e.abrupt("return",s?this.safeWriteNavState(document.body,s,n,t,a,0,r):(console.error("[ion-router] the path does not match any route"),!1));case 7:case"end":return e.stop()}},e,this)})),function(e,t,n){return f.apply(this,arguments)})},{key:"safeWriteNavState",value:(l=r(regeneratorRuntime.mark(function e(t,n,r,o,i){var a,u,s,c,h=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=h.length>5&&void 0!==h[5]?h[5]:0,u=h.length>6?h[6]:void 0,e.next=4,this.lock();case 4:return s=e.sent,c=!1,e.prev=6,e.next=9,this.writeNavState(t,n,r,o,i,a,u);case 9:c=e.sent,e.next=15;break;case 12:e.prev=12,e.t0=e.catch(6),console.error(e.t0);case 15:return e.abrupt("return",(s(),c));case 16:case"end":return e.stop()}},e,this,[[6,12]])})),function(e,t,n,r,o){return l.apply(this,arguments)})},{key:"lock",value:(a=r(regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.waitPromise,this.waitPromise=new Promise(function(e){return n=e}),e.t0=void 0!==t,!e.t0){e.next=6;break}return e.next=6,t;case 6:return e.abrupt("return",n);case 7:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"runGuards",value:(i=r(regeneratorRuntime.mark(function e(){var t,n,r,o,i,a,u,s,c,h=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=h.length>0&&void 0!==h[0]?h[0]:this.getPath(),n=h.length>1&&void 0!==h[1]?h[1]:g(this.previousPath),t&&n){e.next=4;break}return e.abrupt("return",!0);case 4:if(r=E(this.el),o=C(t,r),i=C(n,r),a=o&&o[o.length-1].beforeEnter,u=i&&i[i.length-1].beforeLeave,e.t0=!u,e.t0){e.next=14;break}return e.next=13,u();case 13:e.t0=e.sent;case 14:if(!1!==(s=e.t0)&&"object"!=typeof s){e.next=17;break}return e.abrupt("return",s);case 17:if(e.t1=!a,e.t1){e.next=22;break}return e.next=21,a();case 21:e.t1=e.sent;case 22:return c=e.t1,e.abrupt("return",!1!==c&&"object"!=typeof c||c);case 24:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"writeNavState",value:(n=r(regeneratorRuntime.mark(function e(t,n,r,o,i){var a,u,s,c,h=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=h.length>5&&void 0!==h[5]?h[5]:0,u=h.length>6?h[6]:void 0,!this.busy){e.next=4;break}return e.abrupt("return",(console.warn("[ion-router] router is busy, transition was cancelled"),!1));case 4:return this.busy=!0,(s=this.routeChangeEvent(o,i))&&this.ionRouteWillChange.emit(s),e.next=9,b(t,n,r,a,!1,u);case 9:return c=e.sent,e.abrupt("return",(this.busy=!1,c&&console.debug("[ion-router] route changed",o),s&&this.ionRouteDidChange.emit(s),c));case 11:case"end":return e.stop()}},e,this)})),function(e,t,r,o,i){return n.apply(this,arguments)})},{key:"setPath",value:function(e,n,r){var o=this;this.state++,function(e,n,r,i,a,u,s){var c=v([].concat(t(g(o.root)),t(i)));r&&(c="#"+c),void 0!==s&&(c=c+"?"+s),"forward"===a?e.pushState(u,"",c):e.replaceState(u,"",c)}(window.history,0,this.useHash,e,n,this.state,r)}},{key:"getPath",value:function(){var e=this;return function(t,n,r){var o=t.pathname;if(e.useHash){var i=t.hash;o="#"===i[0]?i.slice(1):""}return function(e,t){if(e.length>t.length)return null;if(e.length<=1&&""===e[0])return t;for(var n=0;n<e.length;n++)if(e[n].length>0&&e[n]!==t[n])return null;return t.length===e.length?[""]:t.slice(e.length)}(g(n),g(o))}(window.location,this.root)}},{key:"routeChangeEvent",value:function(e,t){var n=this.previousPath,r=v(e);return this.previousPath=r,r===n?null:{from:n,redirectedFrom:t?v(t):null,to:r}}},{key:"el",get:function(){return Object(s.k)(this)}}]),e}(),A=function(){function t(e){var n=this;u(this,t),Object(s.o)(this,e),this.routerDirection="forward",this.onClick=function(e){Object(f.d)(n.href,e,n.routerDirection,n.routerAnimation)}}return c(t,[{key:"render",value:function(){var t,n=Object(l.b)(this),r={href:this.href,rel:this.rel,target:this.target};return Object(s.j)(s.c,{onClick:this.onClick,class:Object(f.a)(this.color,(t={},e(t,n,!0),e(t,"ion-activatable",!0),t))},Object(s.j)("a",Object.assign({},r),Object(s.j)("slot",null)))}}]),t}();A.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||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.")}()}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(O){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=k(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=h(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}t.wrap=s;var l={};function f(){}function p(){}function d(){}var v={};c(v,i,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(R([])));g&&g!==e&&n.call(g,i)&&(v=g);var b=d.prototype=f.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function r(o,i,a,u){var c=h(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,u)},function(t){r("throw",t,a,u)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return r("throw",t,a,u)})}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function k(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function R(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=d,c(b,"constructor",d),c(d,"constructor",p),p.displayName=c(d,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},m(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(b),c(b,u,"Generator"),c(b,i,function(){return this}),c(b,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=R,j.prototype={constructor:j,reset:function(t){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(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function n(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(s){return void r(s)}u.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)})}}function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=a(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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 i,u=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return u=t.done,t},e:function(t){c=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function a(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h(t,e,r){return e&&s(t.prototype,e),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{k5eQ:function(n,a,u){"use strict";u.r(a),u.d(a,"ion_route",function(){return d}),u.d(a,"ion_route_redirect",function(){return v}),u.d(a,"ion_router",function(){return A}),u.d(a,"ion_router_link",function(){return T});var s=u("wEJo"),l=u("1vRN"),f=u("E/Mt"),p=u("74mu"),d=function(){function t(e){c(this,t),Object(s.o)(this,e),this.ionRouteDataChanged=Object(s.g)(this,"ionRouteDataChanged",7),this.url=""}return h(t,[{key:"onUpdate",value:function(t){this.ionRouteDataChanged.emit(t)}},{key:"onComponentProps",value:function(t,e){if(t!==e){var r=t?Object.keys(t):[],n=e?Object.keys(e):[];if(r.length===n.length){var o,a=i(r);try{for(a.s();!(o=a.n()).done;){var u=o.value;if(t[u]!==e[u])return void this.onUpdate(t)}}catch(c){a.e(c)}finally{a.f()}}else this.onUpdate(t)}}},{key:"connectedCallback",value:function(){this.ionRouteDataChanged.emit()}}],[{key:"watchers",get:function(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}}]),t}(),v=function(){function t(e){c(this,t),Object(s.o)(this,e),this.ionRouteRedirectChanged=Object(s.g)(this,"ionRouteRedirectChanged",7)}return h(t,[{key:"propDidChange",value:function(){this.ionRouteRedirectChanged.emit()}},{key:"connectedCallback",value:function(){this.ionRouteRedirectChanged.emit()}}],[{key:"watchers",get:function(){return{from:["propDidChange"],to:["propDidChange"]}}}]),t}(),y=function(t){return"/"+t.filter(function(t){return t.length>0}).join("/")},g=function(t){if(null==t)return[""];var e=t.split("?")[0].split("/").map(function(t){return t.trim()}).filter(function(t){return t.length>0});return 0===e.length?[""]:e},b=function(){var t=o(r().mark(function t(e,n,o,i){var a,u,c,s,h,f=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(a=f.length>4&&void 0!==f[4]&&f[4],u=f.length>5?f[5]:void 0,t.prev=2,c=w(e),!(i>=n.length)&&c){t.next=6;break}return t.abrupt("return",a);case 6:return t.next=8,new Promise(function(t){return Object(l.c)(c,t)});case 8:return s=n[i],t.next=11,c.setRouteId(s.id,s.params,o,u);case 11:return(h=t.sent).changed&&(o="root",a=!0),t.next=15,b(h.element,n,o,i+1,a,u);case 15:if(a=t.sent,t.t0=h.markVisible,!t.t0){t.next=20;break}return t.next=20,h.markVisible();case 20:return t.abrupt("return",a);case 23:return t.prev=23,t.t1=t.catch(2),t.abrupt("return",(console.error(t.t1),!1));case 26:case"end":return t.stop()}},t,null,[[2,23]])}));return function(e,r,n,o){return t.apply(this,arguments)}}(),m=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",w=function(t){if(t)return t.matches(m)?t:t.querySelector(m)||void 0},k=function(t,e){return e.find(function(e){return function(t,e){var r=e.from;if(void 0===e.to)return!1;if(r.length>t.length)return!1;for(var n=0;n<r.length;n++){var o=r[n];if("*"===o)return!0;if(o!==t[n])return!1}return r.length===t.length}(t,e)})},x=function(t,e){for(var r=Math.min(t.length,e.length),n=0;n<r&&t[n].toLowerCase()===e[n].id;n++);return n},E=function(t,e){for(var r,n=new O(t),o=!1,a=0;a<e.length;a++){var u=e[a].path;if(""===u[0])o=!0;else{var c,s=i(u);try{for(s.s();!(c=s.n()).done;){var h=c.value,l=n.next();if(":"===h[0]){if(""===l)return null;((r=r||[])[a]||(r[a]={}))[h.slice(1)]=l}else if(l!==h)return null}}catch(f){s.e(f)}finally{s.f()}o=!1}}return o&&o!==(""===n.next())?null:r?e.map(function(t,e){return{id:t.id,path:t.path,params:j(t.params,r[e]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}}):e},j=function(t,e){return t||e?Object.assign(Object.assign({},t),e):void 0},R=function(t,e){var r,n=null,o=0,a=i(e);try{for(a.s();!(r=a.n()).done;){var u=r.value,c=E(t,u);if(null!==c){var s=L(c);s>o&&(o=s,n=c)}}}catch(h){a.e(h)}finally{a.f()}return n},L=function(t){var e,r=1,n=1,o=i(t);try{for(o.s();!(e=o.n()).done;){var a,u=i(e.value.path);try{for(u.s();!(a=u.n()).done;){var c=a.value;":"===c[0]?r+=Math.pow(1,n):""!==c&&(r+=Math.pow(2,n)),n++}}catch(s){u.e(s)}finally{u.f()}}}catch(s){o.e(s)}finally{o.f()}return r},O=function(){function t(e){c(this,t),this.path=e.slice()}return h(t,[{key:"next",value:function(){return this.path.length>0?this.path.shift():""}}]),t}(),C=function(t){return Array.from(t.children).filter(function(t){return"ION-ROUTE-REDIRECT"===t.tagName}).map(function(t){var e=N(t,"to");return{from:g(N(t,"from")),to:null==e?void 0:g(e)}})},P=function(t){return _(S(t))},S=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Array.from(r.children).filter(function(t){return"ION-ROUTE"===t.tagName&&t.component}).map(function(r){var n=N(r,"component");if(null==n)throw new Error("component missing in ion-route");return{path:g(N(r,"url")),id:n.toLowerCase(),params:r.componentProps,beforeLeave:r.beforeLeave,beforeEnter:r.beforeEnter,children:t(e,r)}})},N=function(t,e){return e in t?t[e]:t.hasAttribute(e)?t.getAttribute(e):null},_=function(t){var e,r=[],n=i(t);try{for(n.s();!(e=n.n()).done;){var o=e.value;D([],r,o)}}catch(a){n.e(a)}finally{n.f()}return r},D=function t(e,r,n){var o=e.slice();if(o.push({id:n.id,path:n.path,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}),0!==n.children.length){var a,u=i(n.children);try{for(u.s();!(a=u.n()).done;){t(o,r,a.value)}}catch(c){u.e(c)}finally{u.f()}}else r.push(o)},A=function(){function t(e){c(this,t),Object(s.o)(this,e),this.ionRouteWillChange=Object(s.g)(this,"ionRouteWillChange",7),this.ionRouteDidChange=Object(s.g)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}var n,a,u,f,p,d,v,m,E,L,O;return h(t,[{key:"componentWillLoad",value:(O=o(r().mark(function t(){return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return console.debug("[ion-router] router will load"),t.next=3,w(document.body)?Promise.resolve():new Promise(function(t){window.addEventListener("ionNavWillLoad",t,{once:!0})});case 3:return console.debug("[ion-router] found nav"),t.next=6,this.onRoutesChanged();case 6:case"end":return t.stop()}},t,this)})),function(){return O.apply(this,arguments)})},{key:"componentDidLoad",value:function(){window.addEventListener("ionRouteRedirectChanged",Object(l.n)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",Object(l.n)(this.onRoutesChanged.bind(this),100))}},{key:"onPopState",value:(L=o(r().mark(function t(){var e,n,o;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.historyDirection(),n=this.getPath(),t.next=4,this.runGuards(n);case 4:return o=t.sent,t.abrupt("return",!0!==o?("object"==typeof o&&(n=g(o.redirect)),!1):(console.debug("[ion-router] URL changed -> update nav",n,e),this.writeNavStateRoot(n,e)));case 6:case"end":return t.stop()}},t,this)})),function(){return L.apply(this,arguments)})},{key:"onBackButton",value:function(t){var e=this;t.detail.register(0,function(t){e.back(),t()})}},{key:"canTransition",value:(E=o(r().mark(function t(){var e;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.runGuards();case 2:return e=t.sent,t.abrupt("return",!0===e||"object"==typeof e&&e.redirect);case 4:case"end":return t.stop()}},t,this)})),function(){return E.apply(this,arguments)})},{key:"push",value:(m=o(r().mark(function t(e){var n,o,i,a,u,c=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:"forward",o=c.length>2?c[2]:void 0,e.startsWith(".")&&(e=new URL(e,window.location.href).pathname),console.debug("[ion-router] URL pushed -> updating nav",e,n),i=g(e),a=e.split("?")[1],t.next=6,this.runGuards(i);case 6:if(!0===(u=t.sent)){t.next=11;break}if("object"==typeof u){t.next=10;break}return t.abrupt("return",!1);case 10:i=g(u.redirect),a=u.redirect.split("?")[1];case 11:return t.abrupt("return",(this.setPath(i,n,a),this.writeNavStateRoot(i,n,o)));case 12:case"end":return t.stop()}},t,this)})),function(t){return m.apply(this,arguments)})},{key:"back",value:function(){return window.history.back(),Promise.resolve(this.waitPromise)}},{key:"printDebug",value:(v=o(r().mark(function t(){return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:console.debug("CURRENT PATH",this.getPath()),console.debug("PREVIOUS PATH",this.previousPath),function(t){console.group("[ion-core] ROUTES[".concat(t.length,"]"));var r,n=i(t);try{var o=function(){var t=r.value,n=[];t.forEach(function(t){return n.push.apply(n,e(t.path))});var o=t.map(function(t){return t.id});console.debug("%c "+y(n),"font-weight: bold; padding-left: 20px","=>\t","(".concat(o.join(", "),")"))};for(n.s();!(r=n.n()).done;)o()}catch(a){n.e(a)}finally{n.f()}console.groupEnd()}(P(this.el)),function(t){console.group("[ion-core] REDIRECTS[".concat(t.length,"]"));var e,r=i(t);try{for(r.s();!(e=r.n()).done;){var n=e.value;n.to&&console.debug("FROM: ","$c "+y(n.from),"font-weight: bold"," TO: ","$c "+y(n.to),"font-weight: bold")}}catch(o){r.e(o)}finally{r.f()}console.groupEnd()}(C(this.el));case 1:case"end":return t.stop()}},t,this)})),function(){return v.apply(this,arguments)})},{key:"navChanged",value:(d=o(r().mark(function t(e){var n,a,u,c,s;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.busy){t.next=2;break}return t.abrupt("return",(console.warn("[ion-router] router is busy, navChanged was cancelled"),!1));case 2:return t.next=4,function(){var t=o(r().mark(function t(e){var n,o,i,a;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=[],i=window.document.body;case 2:if(!(o=w(i))){t.next=11;break}return t.next=5,o.getRouteId();case 5:if(a=t.sent){t.next=8;break}return t.abrupt("break",11);case 8:i=a.element,a.element=void 0,n.push(a);case 9:t.next=2;break;case 11:return t.abrupt("return",{ids:n,outlet:o});case 12:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()();case 4:if(n=t.sent,a=n.ids,u=n.outlet,c=function(t,e){var r,n=null,o=0,a=t.map(function(t){return t.id}),u=i(e);try{for(u.s();!(r=u.n()).done;){var c=r.value,s=x(a,c);s>o&&(n=c,o=s)}}catch(h){u.e(h)}finally{u.f()}return n?n.map(function(e,r){return{id:e.id,path:e.path,params:j(e.params,t[r]&&t[r].params)}}):null}(a,P(this.el))){t.next=10;break}return t.abrupt("return",(console.warn("[ion-router] no matching URL for ",a.map(function(t){return t.id})),!1));case 10:if(!(s=function(t){var e,r=[],n=i(t);try{for(n.s();!(e=n.n()).done;){var o,a=e.value,u=i(a.path);try{for(u.s();!(o=u.n()).done;){var c=o.value;if(":"===c[0]){var s=a.params&&a.params[c.slice(1)];if(!s)return null;r.push(s)}else""!==c&&r.push(c)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){n.e(h)}finally{n.f()}return r}(c))){t.next=19;break}return console.debug("[ion-router] nav changed -> update URL",a,s),this.setPath(s,e),t.next=16,this.safeWriteNavState(u,c,"root",s,null,a.length);case 16:t.t0=!0,t.next=20;break;case 19:t.t0=(console.warn("[ion-router] router could not match path because some required param is missing"),!1);case 20:return t.abrupt("return",t.t0);case 21:case"end":return t.stop()}},t,this)})),function(t){return d.apply(this,arguments)})},{key:"onRedirectChanged",value:function(){var t=this.getPath();t&&k(t,C(this.el))&&this.writeNavStateRoot(t,"root")}},{key:"onRoutesChanged",value:function(){return this.writeNavStateRoot(this.getPath(),"root")}},{key:"historyDirection",value:function(){var t=window;null===t.history.state&&(this.state++,t.history.replaceState(this.state,t.document.title,t.document.location&&t.document.location.href));var e=t.history.state,r=this.lastState;return this.lastState=e,e>r||e>=r&&r>0?"forward":e<r?"back":"root"}},{key:"writeNavStateRoot",value:(p=o(r().mark(function t(e,n,o){var i,a,u,c,s;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",(console.error("[ion-router] URL is not part of the routing set"),!1));case 2:return i=C(this.el),a=k(e,i),u=null,a&&(this.setPath(a.to,n),u=a.from,e=a.to),c=P(this.el),s=R(e,c),t.abrupt("return",s?this.safeWriteNavState(document.body,s,n,e,u,0,o):(console.error("[ion-router] the path does not match any route"),!1));case 7:case"end":return t.stop()}},t,this)})),function(t,e,r){return p.apply(this,arguments)})},{key:"safeWriteNavState",value:(f=o(r().mark(function t(e,n,o,i,a){var u,c,s,h,l=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=l.length>5&&void 0!==l[5]?l[5]:0,c=l.length>6?l[6]:void 0,t.next=4,this.lock();case 4:return s=t.sent,h=!1,t.prev=6,t.next=9,this.writeNavState(e,n,o,i,a,u,c);case 9:h=t.sent,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6),console.error(t.t0);case 15:return t.abrupt("return",(s(),h));case 16:case"end":return t.stop()}},t,this,[[6,12]])})),function(t,e,r,n,o){return f.apply(this,arguments)})},{key:"lock",value:(u=o(r().mark(function t(){var e,n;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.waitPromise,this.waitPromise=new Promise(function(t){return n=t}),t.t0=void 0!==e,!t.t0){t.next=6;break}return t.next=6,e;case 6:return t.abrupt("return",n);case 7:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"runGuards",value:(a=o(r().mark(function t(){var e,n,o,i,a,u,c,s,h,l=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:this.getPath(),n=l.length>1&&void 0!==l[1]?l[1]:g(this.previousPath),e&&n){t.next=4;break}return t.abrupt("return",!0);case 4:if(o=P(this.el),i=R(e,o),a=R(n,o),u=i&&i[i.length-1].beforeEnter,c=a&&a[a.length-1].beforeLeave,t.t0=!c,t.t0){t.next=14;break}return t.next=13,c();case 13:t.t0=t.sent;case 14:if(!1!==(s=t.t0)&&"object"!=typeof s){t.next=17;break}return t.abrupt("return",s);case 17:if(t.t1=!u,t.t1){t.next=22;break}return t.next=21,u();case 21:t.t1=t.sent;case 22:return h=t.t1,t.abrupt("return",!1!==h&&"object"!=typeof h||h);case 24:case"end":return t.stop()}},t,this)})),function(){return a.apply(this,arguments)})},{key:"writeNavState",value:(n=o(r().mark(function t(e,n,o,i,a){var u,c,s,h,l=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=l.length>5&&void 0!==l[5]?l[5]:0,c=l.length>6?l[6]:void 0,!this.busy){t.next=4;break}return t.abrupt("return",(console.warn("[ion-router] router is busy, transition was cancelled"),!1));case 4:return this.busy=!0,(s=this.routeChangeEvent(i,a))&&this.ionRouteWillChange.emit(s),t.next=9,b(e,n,o,u,!1,c);case 9:return h=t.sent,t.abrupt("return",(this.busy=!1,h&&console.debug("[ion-router] route changed",i),s&&this.ionRouteDidChange.emit(s),h));case 11:case"end":return t.stop()}},t,this)})),function(t,e,r,o,i){return n.apply(this,arguments)})},{key:"setPath",value:function(t,r,n){var o=this;this.state++,function(t,r,n,i,a,u,c){var s=y([].concat(e(g(o.root)),e(i)));n&&(s="#"+s),void 0!==c&&(s=s+"?"+c),"forward"===a?t.pushState(u,"",s):t.replaceState(u,"",s)}(window.history,0,this.useHash,t,r,this.state,n)}},{key:"getPath",value:function(){var t=this;return function(e,r,n){var o=e.pathname;if(t.useHash){var i=e.hash;o="#"===i[0]?i.slice(1):""}return function(t,e){if(t.length>e.length)return null;if(t.length<=1&&""===t[0])return e;for(var r=0;r<t.length;r++)if(t[r].length>0&&t[r]!==e[r])return null;return e.length===t.length?[""]:e.slice(t.length)}(g(r),g(o))}(window.location,this.root)}},{key:"routeChangeEvent",value:function(t,e){var r=this.previousPath,n=y(t);return this.previousPath=n,n===r?null:{from:r,redirectedFrom:e?y(e):null,to:n}}},{key:"el",get:function(){return Object(s.k)(this)}}]),t}(),T=function(){function e(t){var r=this;c(this,e),Object(s.o)(this,t),this.routerDirection="forward",this.onClick=function(t){Object(p.d)(r.href,t,r.routerDirection,r.routerAnimation)}}return h(e,[{key:"render",value:function(){var e,r=Object(f.b)(this),n={href:this.href,rel:this.rel,target:this.target};return Object(s.j)(s.c,{onClick:this.onClick,class:Object(p.a)(this.color,(e={},t(e,r,!0),t(e,"ion-activatable",!0),e))},Object(s.j)("a",Object.assign({},n),Object(s.j)("slot",null)))}}]),e}();T.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"}}])}(); \ No newline at end of file diff --git a/dist/42-es5.7f45eb53ea728f344e69.js b/dist/42-es5.7f45eb53ea728f344e69.js index f4cdb23665..6d4ce6b33d 100644 --- a/dist/42-es5.7f45eb53ea728f344e69.js +++ b/dist/42-es5.7f45eb53ea728f344e69.js @@ -1 +1 @@ -!function(){function a(a,r,e){return r in a?Object.defineProperty(a,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[r]=e,a}function r(a,r,e,o,i,n,t){try{var s=a[n](t),c=s.value}catch(h){return void e(h)}s.done?r(c):Promise.resolve(c).then(o,i)}function e(a,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{OR5t:function(o,i,n){"use strict";n.r(i),n.d(i,"ion_searchbar",function(){return l});var t=n("wEJo"),s=n("E/Mt"),c=n("1vRN"),h=n("74mu"),l=function(){function o(a){var r=this;!function(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}(this,o),Object(t.o)(this,a),this.ionInput=Object(t.g)(this,"ionInput",7),this.ionChange=Object(t.g)(this,"ionChange",7),this.ionCancel=Object(t.g)(this,"ionCancel",7),this.ionClear=Object(t.g)(this,"ionClear",7),this.ionBlur=Object(t.g)(this,"ionBlur",7),this.ionFocus=Object(t.g)(this,"ionFocus",7),this.ionStyle=Object(t.g)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.focused=!1,this.noAnimate=!0,this.animated=!1,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=s.c.get("backButtonIcon","arrow-back-sharp"),this.cancelButtonText="Cancel",this.debounce=250,this.disabled=!1,this.placeholder="Search",this.showCancelButton="never",this.showClearButton="focus",this.spellcheck=!1,this.type="search",this.value="",this.onClearInput=function(a,e){r.ionClear.emit(),a&&(a.preventDefault(),a.stopPropagation()),setTimeout(function(){""!==r.getValue()&&(r.value="",r.ionInput.emit(),e&&!r.focused&&r.setFocus())},64)},this.onCancelSearchbar=function(a){a&&(a.preventDefault(),a.stopPropagation()),r.ionCancel.emit(),r.onClearInput(),r.nativeInput&&r.nativeInput.blur()},this.onInput=function(a){var e=a.target;e&&(r.value=e.value),r.ionInput.emit(a)},this.onBlur=function(){r.focused=!1,r.ionBlur.emit(),r.positionElements()},this.onFocus=function(){r.focused=!0,r.ionFocus.emit(),r.positionElements()}}var i,n,l,b,d;return i=o,n=[{key:"debounceChanged",value:function(){this.ionChange=Object(c.f)(this.ionChange,this.debounce)}},{key:"valueChanged",value:function(){var a=this.nativeInput,r=this.getValue();a&&a.value!==r&&(a.value=r),this.ionChange.emit({value:r})}},{key:"showCancelButtonChanged",value:function(){var a=this;requestAnimationFrame(function(){a.positionElements(),Object(t.l)(a)})}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"componentDidLoad",value:function(){var a=this;this.positionElements(),this.debounceChanged(),setTimeout(function(){a.noAnimate=!1},300)}},{key:"emitStyle",value:function(){this.ionStyle.emit({searchbar:!0})}},{key:"setFocus",value:(b=regeneratorRuntime.mark(function a(){return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return a.stop()}},a,this)}),d=function(){var a=this,e=arguments;return new Promise(function(o,i){var n=b.apply(a,e);function t(a){r(n,o,i,t,s,"next",a)}function s(a){r(n,o,i,t,s,"throw",a)}t(void 0)})},function(){return d.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"positionElements",value:function(){var a=this.getValue(),r=this.shouldAlignLeft,e=Object(s.b)(this),o=!this.animated||""!==a.trim()||!!this.focused;this.shouldAlignLeft=o,"ios"===e&&(r!==o&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}},{key:"positionPlaceholder",value:function(){var a=this.nativeInput;if(a){var r="rtl"===document.dir,e=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)a.removeAttribute("style"),e.removeAttribute("style");else{var o=document,i=o.createElement("span");i.innerText=this.placeholder||"",o.body.appendChild(i),Object(c.q)(function(){var o=i.offsetWidth;i.remove();var n="calc(50% - "+o/2+"px)",t="calc(50% - "+(o/2+30)+"px)";r?(a.style.paddingRight=n,e.style.marginRight=t):(a.style.paddingLeft=n,e.style.marginLeft=t)})}}}},{key:"positionCancelButton",value:function(){var a="rtl"===document.dir,r=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),e=this.shouldShowCancelButton();if(r&&e!==this.isCancelVisible){var o=r.style;if(this.isCancelVisible=e,e)a?o.marginLeft="0":o.marginRight="0";else{var i=r.offsetWidth;i>0&&(a?o.marginLeft=-i+"px":o.marginRight=-i+"px")}}}},{key:"getValue",value:function(){return this.value||""}},{key:"hasValue",value:function(){return""!==this.getValue()}},{key:"shouldShowCancelButton",value:function(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}},{key:"shouldShowClearButton",value:function(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}},{key:"render",value:function(){var r,e=this,o=this.cancelButtonText,i=this.animated&&s.c.getBoolean("animated",!0),n=Object(s.b)(this),c=this.clearIcon||("ios"===n?"close-circle":"close-sharp"),l=this.searchIcon||("ios"===n?"search-outline":"search-sharp"),b=this.shouldShowCancelButton(),d="never"!==this.showCancelButton&&Object(t.j)("button",{"aria-label":o,"aria-hidden":b?void 0:"true",type:"button",tabIndex:"ios"!==n||b?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},Object(t.j)("div",{"aria-hidden":"true"},"md"===n?Object(t.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:this.cancelButtonIcon,lazy:!1}):o));return Object(t.j)(t.c,{role:"search","aria-disabled":this.disabled?"true":null,class:Object(h.a)(this.color,(r={},a(r,n,!0),a(r,"searchbar-animated",i),a(r,"searchbar-disabled",this.disabled),a(r,"searchbar-no-animate",i&&this.noAnimate),a(r,"searchbar-has-value",this.hasValue()),a(r,"searchbar-left-aligned",this.shouldAlignLeft),a(r,"searchbar-has-focus",this.focused),a(r,"searchbar-should-show-clear",this.shouldShowClearButton()),a(r,"searchbar-should-show-cancel",this.shouldShowCancelButton()),r))},Object(t.j)("div",{class:"searchbar-input-container"},Object(t.j)("input",{"aria-label":"search text",disabled:this.disabled,ref:function(a){return e.nativeInput=a},class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),"md"===n&&d,Object(t.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:l,lazy:!1,class:"searchbar-search-icon"}),Object(t.j)("button",{"aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onMouseDown:function(a){return e.onClearInput(a,!0)},onTouchStart:function(a){return e.onClearInput(a,!0)}},Object(t.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:c,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===n&&d)}},{key:"el",get:function(){return Object(t.k)(this)}}],l=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}}],n&&e(i.prototype,n),l&&e(i,l),o}();l.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-ios-h{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:calc(50% - 60px);left:5px;top:0;position:absolute;width:22px;height:100%;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px)}}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}.searchbar-input.sc-ion-searchbar-ios{padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px}}.searchbar-clear-button.sc-ion-searchbar-ios{right:0;top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:8px;padding-right:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:unset;-webkit-padding-start:30px;padding-inline-start:30px}}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:unset;-webkit-margin-end:-100%;margin-inline-end:-100%}}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;background:inherit}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.searchbar-search-icon.sc-ion-searchbar-md{left:16px;top:11px;width:21px;height:21px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}.searchbar-cancel-button.sc-ion-searchbar-md{left:5px;top:0;background-color:transparent;font-size:1.6em}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{padding-left:55px;padding-right:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-md{padding-left:unset;padding-right:unset;-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px}}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}.searchbar-clear-button.sc-ion-searchbar-md{right:13px;top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:7px;padding-right:7px;padding-top:3px;padding-bottom:3px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px}}"}}}])}(); \ No newline at end of file +!function(){function r(r,e,a){return e in r?Object.defineProperty(r,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[e]=a,r}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var r={},a=Object.prototype,t=a.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(r,e,a){return Object.defineProperty(r,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),r[e]}try{s({},"")}catch(E){s=function(r,e,a){return r[e]=a}}function h(r,e,a,t){var o=e&&e.prototype instanceof d?e:d,n=Object.create(o.prototype),i=new j(t||[]);return n._invoke=function(r,e,a){var t="suspendedStart";return function(o,n){if("executing"===t)throw new Error("Generator is already running");if("completed"===t){if("throw"===o)throw n;return L()}for(a.method=o,a.arg=n;;){var i=a.delegate;if(i){var c=x(i,a);if(c){if(c===b)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===t)throw t="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);t="executing";var s=l(r,e,a);if("normal"===s.type){if(t=a.done?"completed":"suspendedYield",s.arg===b)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(t="completed",a.method="throw",a.arg=s.arg)}}}(r,a,i),n}function l(r,e,a){try{return{type:"normal",arg:r.call(e,a)}}catch(E){return{type:"throw",arg:E}}}r.wrap=h;var b={};function d(){}function u(){}function p(){}var f={};s(f,n,function(){return this});var g=Object.getPrototypeOf,m=g&&g(g(O([])));m&&m!==a&&t.call(m,n)&&(f=m);var v=p.prototype=d.prototype=Object.create(f);function y(r){["next","throw","return"].forEach(function(e){s(r,e,function(r){return this._invoke(e,r)})})}function w(r,e){function a(o,n,i,c){var s=l(r[o],r,n);if("throw"!==s.type){var h=s.arg,b=h.value;return b&&"object"==typeof b&&t.call(b,"__await")?e.resolve(b.__await).then(function(r){a("next",r,i,c)},function(r){a("throw",r,i,c)}):e.resolve(b).then(function(r){h.value=r,i(h)},function(r){return a("throw",r,i,c)})}c(s.arg)}var o;this._invoke=function(r,t){function n(){return new e(function(e,o){a(r,t,e,o)})}return o=o?o.then(n,n):n()}}function x(r,e){var a=r.iterator[e.method];if(void 0===a){if(e.delegate=null,"throw"===e.method){if(r.iterator.return&&(e.method="return",e.arg=void 0,x(r,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var t=l(a,r.iterator,e.arg);if("throw"===t.type)return e.method="throw",e.arg=t.arg,e.delegate=null,b;var o=t.arg;return o?o.done?(e[r.resultName]=o.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,b):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function k(r){var e={tryLoc:r[0]};1 in r&&(e.catchLoc=r[1]),2 in r&&(e.finallyLoc=r[2],e.afterLoc=r[3]),this.tryEntries.push(e)}function C(r){var e=r.completion||{};e.type="normal",delete e.arg,r.completion=e}function j(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(k,this),this.reset(!0)}function O(r){if(r){var e=r[n];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var a=-1,o=function e(){for(;++a<r.length;)if(t.call(r,a))return e.value=r[a],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return u.prototype=p,s(v,"constructor",p),s(p,"constructor",u),u.displayName=s(p,c,"GeneratorFunction"),r.isGeneratorFunction=function(r){var e="function"==typeof r&&r.constructor;return!!e&&(e===u||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,p):(r.__proto__=p,s(r,c,"GeneratorFunction")),r.prototype=Object.create(v),r},r.awrap=function(r){return{__await:r}},y(w.prototype),s(w.prototype,i,function(){return this}),r.AsyncIterator=w,r.async=function(e,a,t,o,n){void 0===n&&(n=Promise);var i=new w(h(e,a,t,o),n);return r.isGeneratorFunction(a)?i:i.next().then(function(r){return r.done?r.value:i.next()})},y(v),s(v,c,"Generator"),s(v,n,function(){return this}),s(v,"toString",function(){return"[object Generator]"}),r.keys=function(r){var e=[];for(var a in r)e.push(a);return e.reverse(),function a(){for(;e.length;){var t=e.pop();if(t in r)return a.value=t,a.done=!1,a}return a.done=!0,a}},r.values=O,j.prototype={constructor:j,reset:function(r){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),!r)for(var e in this)"t"===e.charAt(0)&&t.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var e=this;function a(a,t){return i.type="throw",i.arg=r,e.next=a,t&&(e.method="next",e.arg=void 0),!!t}for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o],i=n.completion;if("root"===n.tryLoc)return a("end");if(n.tryLoc<=this.prev){var c=t.call(n,"catchLoc"),s=t.call(n,"finallyLoc");if(c&&s){if(this.prev<n.catchLoc)return a(n.catchLoc,!0);if(this.prev<n.finallyLoc)return a(n.finallyLoc)}else if(c){if(this.prev<n.catchLoc)return a(n.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return a(n.finallyLoc)}}}},abrupt:function(r,e){for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===r||"continue"===r)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=r,i.arg=e,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(i)},complete:function(r,e){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&&e&&(this.next=e),b},finish:function(r){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.finallyLoc===r)return this.complete(a.completion,a.afterLoc),C(a),b}},catch:function(r){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.tryLoc===r){var t=a.completion;if("throw"===t.type){var o=t.arg;C(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(r,e,a){return this.delegate={iterator:O(r),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=void 0),b}},r}function a(r,e,a,t,o,n,i){try{var c=r[n](i),s=c.value}catch(h){return void a(h)}c.done?e(s):Promise.resolve(s).then(t,o)}function t(r,e){for(var a=0;a<e.length;a++){var t=e[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{OR5t:function(o,n,i){"use strict";i.r(n),i.d(n,"ion_searchbar",function(){return b});var c=i("wEJo"),s=i("E/Mt"),h=i("1vRN"),l=i("74mu"),b=function(){function o(r){var e=this;!function(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),Object(c.o)(this,r),this.ionInput=Object(c.g)(this,"ionInput",7),this.ionChange=Object(c.g)(this,"ionChange",7),this.ionCancel=Object(c.g)(this,"ionCancel",7),this.ionClear=Object(c.g)(this,"ionClear",7),this.ionBlur=Object(c.g)(this,"ionBlur",7),this.ionFocus=Object(c.g)(this,"ionFocus",7),this.ionStyle=Object(c.g)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.focused=!1,this.noAnimate=!0,this.animated=!1,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=s.c.get("backButtonIcon","arrow-back-sharp"),this.cancelButtonText="Cancel",this.debounce=250,this.disabled=!1,this.placeholder="Search",this.showCancelButton="never",this.showClearButton="focus",this.spellcheck=!1,this.type="search",this.value="",this.onClearInput=function(r,a){e.ionClear.emit(),r&&(r.preventDefault(),r.stopPropagation()),setTimeout(function(){""!==e.getValue()&&(e.value="",e.ionInput.emit(),a&&!e.focused&&e.setFocus())},64)},this.onCancelSearchbar=function(r){r&&(r.preventDefault(),r.stopPropagation()),e.ionCancel.emit(),e.onClearInput(),e.nativeInput&&e.nativeInput.blur()},this.onInput=function(r){var a=r.target;a&&(e.value=a.value),e.ionInput.emit(r)},this.onBlur=function(){e.focused=!1,e.ionBlur.emit(),e.positionElements()},this.onFocus=function(){e.focused=!0,e.ionFocus.emit(),e.positionElements()}}var n,i,b,d,u;return n=o,i=[{key:"debounceChanged",value:function(){this.ionChange=Object(h.f)(this.ionChange,this.debounce)}},{key:"valueChanged",value:function(){var r=this.nativeInput,e=this.getValue();r&&r.value!==e&&(r.value=e),this.ionChange.emit({value:e})}},{key:"showCancelButtonChanged",value:function(){var r=this;requestAnimationFrame(function(){r.positionElements(),Object(c.l)(r)})}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"componentDidLoad",value:function(){var r=this;this.positionElements(),this.debounceChanged(),setTimeout(function(){r.noAnimate=!1},300)}},{key:"emitStyle",value:function(){this.ionStyle.emit({searchbar:!0})}},{key:"setFocus",value:(d=e().mark(function r(){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return r.stop()}},r,this)}),u=function(){var r=this,e=arguments;return new Promise(function(t,o){var n=d.apply(r,e);function i(r){a(n,t,o,i,c,"next",r)}function c(r){a(n,t,o,i,c,"throw",r)}i(void 0)})},function(){return u.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"positionElements",value:function(){var r=this.getValue(),e=this.shouldAlignLeft,a=Object(s.b)(this),t=!this.animated||""!==r.trim()||!!this.focused;this.shouldAlignLeft=t,"ios"===a&&(e!==t&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}},{key:"positionPlaceholder",value:function(){var r=this.nativeInput;if(r){var e="rtl"===document.dir,a=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)r.removeAttribute("style"),a.removeAttribute("style");else{var t=document,o=t.createElement("span");o.innerText=this.placeholder||"",t.body.appendChild(o),Object(h.q)(function(){var t=o.offsetWidth;o.remove();var n="calc(50% - "+t/2+"px)",i="calc(50% - "+(t/2+30)+"px)";e?(r.style.paddingRight=n,a.style.marginRight=i):(r.style.paddingLeft=n,a.style.marginLeft=i)})}}}},{key:"positionCancelButton",value:function(){var r="rtl"===document.dir,e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),a=this.shouldShowCancelButton();if(e&&a!==this.isCancelVisible){var t=e.style;if(this.isCancelVisible=a,a)r?t.marginLeft="0":t.marginRight="0";else{var o=e.offsetWidth;o>0&&(r?t.marginLeft=-o+"px":t.marginRight=-o+"px")}}}},{key:"getValue",value:function(){return this.value||""}},{key:"hasValue",value:function(){return""!==this.getValue()}},{key:"shouldShowCancelButton",value:function(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}},{key:"shouldShowClearButton",value:function(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}},{key:"render",value:function(){var e,a=this,t=this.cancelButtonText,o=this.animated&&s.c.getBoolean("animated",!0),n=Object(s.b)(this),i=this.clearIcon||("ios"===n?"close-circle":"close-sharp"),h=this.searchIcon||("ios"===n?"search-outline":"search-sharp"),b=this.shouldShowCancelButton(),d="never"!==this.showCancelButton&&Object(c.j)("button",{"aria-label":t,"aria-hidden":b?void 0:"true",type:"button",tabIndex:"ios"!==n||b?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},Object(c.j)("div",{"aria-hidden":"true"},"md"===n?Object(c.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:this.cancelButtonIcon,lazy:!1}):t));return Object(c.j)(c.c,{role:"search","aria-disabled":this.disabled?"true":null,class:Object(l.a)(this.color,(e={},r(e,n,!0),r(e,"searchbar-animated",o),r(e,"searchbar-disabled",this.disabled),r(e,"searchbar-no-animate",o&&this.noAnimate),r(e,"searchbar-has-value",this.hasValue()),r(e,"searchbar-left-aligned",this.shouldAlignLeft),r(e,"searchbar-has-focus",this.focused),r(e,"searchbar-should-show-clear",this.shouldShowClearButton()),r(e,"searchbar-should-show-cancel",this.shouldShowCancelButton()),e))},Object(c.j)("div",{class:"searchbar-input-container"},Object(c.j)("input",{"aria-label":"search text",disabled:this.disabled,ref:function(r){return a.nativeInput=r},class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),"md"===n&&d,Object(c.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:h,lazy:!1,class:"searchbar-search-icon"}),Object(c.j)("button",{"aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onMouseDown:function(r){return a.onClearInput(r,!0)},onTouchStart:function(r){return a.onClearInput(r,!0)}},Object(c.j)("ion-icon",{"aria-hidden":"true",mode:n,icon:i,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===n&&d)}},{key:"el",get:function(){return Object(c.k)(this)}}],b=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}}],i&&t(n.prototype,i),b&&t(n,b),Object.defineProperty(n,"prototype",{writable:!1}),o}();b.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-ios-h{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:calc(50% - 60px);left:5px;top:0;position:absolute;width:22px;height:100%;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px)}}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}.searchbar-input.sc-ion-searchbar-ios{padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px}}.searchbar-clear-button.sc-ion-searchbar-ios{right:0;top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:8px;padding-right:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:unset;-webkit-padding-start:30px;padding-inline-start:30px}}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:unset;-webkit-margin-end:-100%;margin-inline-end:-100%}}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;background:inherit}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.searchbar-search-icon.sc-ion-searchbar-md{left:16px;top:11px;width:21px;height:21px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}.searchbar-cancel-button.sc-ion-searchbar-md{left:5px;top:0;background-color:transparent;font-size:1.6em}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{padding-left:55px;padding-right:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-md{padding-left:unset;padding-right:unset;-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px}}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}.searchbar-clear-button.sc-ion-searchbar-md{right:13px;top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:7px;padding-right:7px;padding-top:3px;padding-bottom:3px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px}}"}}}])}(); \ No newline at end of file diff --git a/dist/43-es5.0179f7c6d090fd5f2b09.js b/dist/43-es5.0179f7c6d090fd5f2b09.js index 48c8689579..2ca5ddf460 100644 --- a/dist/43-es5.0179f7c6d090fd5f2b09.js +++ b/dist/43-es5.0179f7c6d090fd5f2b09.js @@ -1 +1 @@ -!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e,n,o,i,r,a){try{var s=t[r](a),l=s.value}catch(c){return void n(c)}s.done?e(l):Promise.resolve(l).then(o,i)}function n(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function a(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{fSgp:function(o,r,s){"use strict";s.r(r),s.d(r,"ion_segment",function(){return g}),s.d(r,"ion_segment_button",function(){return h});var l=s("wEJo"),c=s("E/Mt"),d=s("1vRN"),u=s("74mu"),g=function(){function o(t){var e=this;i(this,o),Object(l.o)(this,t),this.ionChange=Object(l.g)(this,"ionChange",7),this.ionSelect=Object(l.g)(this,"ionSelect",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.didInit=!1,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.onClick=function(t){var n=t.target,o=e.checked;"ION-SEGMENT"!==n.tagName&&(e.value=n.value,!e.scrollable&&e.swipeGesture||(o?e.checkButton(o,n):e.setCheckedClasses()),e.checked=n)}}var r,g;return a(o,[{key:"colorChanged",value:function(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}},{key:"swipeGestureChanged",value:function(){this.gestureChanged()}},{key:"valueChanged",value:function(t,e){this.ionSelect.emit({value:t}),(""!==e||this.didInit)&&(this.activated?this.valueAfterGesture=t:this.ionChange.emit({value:t}))}},{key:"disabledChanged",value:function(){this.gestureChanged();var t,e=n(this.getButtons());try{for(e.s();!(t=e.n()).done;){t.value.disabled=this.disabled}}catch(o){e.e(o)}finally{e.f()}}},{key:"gestureChanged",value:function(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"componentDidLoad",value:(r=regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.setCheckedClasses(),t.next=3,Promise.resolve().then(s.bind(null,"iWo5"));case 3:this.gesture=t.sent.createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:function(t){return e.onStart(t)},onMove:function(t){return e.onMove(t)},onEnd:function(t){return e.onEnd(t)}}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.didInit=!0;case 7:case"end":return t.stop()}},t,this)}),g=function(){var t=this,n=arguments;return new Promise(function(o,i){var a=r.apply(t,n);function s(t){e(a,o,i,s,l,"next",t)}function l(t){e(a,o,i,s,l,"throw",t)}s(void 0)})},function(){return g.apply(this,arguments)})},{key:"onStart",value:function(t){this.activate(t)}},{key:"onMove",value:function(t){this.setNextIndex(t)}},{key:"onEnd",value:function(t){this.setActivated(!1);var e=this.setNextIndex(t,!0);t.event.stopImmediatePropagation(),e&&this.addRipple(t);var n=this.valueAfterGesture;void 0!==n&&(this.ionChange.emit({value:n}),this.valueAfterGesture=void 0)}},{key:"getButtons",value:function(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}},{key:"addRipple",value:function(t){var e=this;if(c.c.getBoolean("animated",!0)&&c.c.getBoolean("rippleEffect",!0)){var n=this.getButtons().find(function(t){return t.value===e.value}),o=(n.shadowRoot||n).querySelector("ion-ripple-effect");if(o){var i=Object(d.p)(t.event),r=i.x,a=i.y;o.addRipple(r,a).then(function(t){return t()})}}}},{key:"setActivated",value:function(t){this.getButtons().forEach(function(e){t?e.classList.add("segment-button-activated"):e.classList.remove("segment-button-activated")}),this.activated=t}},{key:"activate",value:function(t){var e=this,n=t.event.target,o=this.getButtons().find(function(t){return t.value===e.value});"ION-SEGMENT-BUTTON"===n.tagName&&(o||(this.value=n.value,this.setCheckedClasses()),this.value===n.value&&this.setActivated(!0))}},{key:"getIndicator",value:function(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}},{key:"checkButton",value:function(t,e){var n=this.getIndicator(t),o=this.getIndicator(e);if(null!==n&&null!==o){var i=n.getBoundingClientRect(),r=o.getBoundingClientRect(),a="translate3d(".concat(i.left-r.left,"px, 0, 0) scaleX(").concat(i.width/r.width,")");Object(l.f)(function(){o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",a),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}}},{key:"setCheckedClasses",value:function(){var t=this,e=this.getButtons(),o=e.findIndex(function(e){return e.value===t.value})+1;this.checked=e.find(function(e){return e.value===t.value});var i,r=n(e);try{for(r.s();!(i=r.n()).done;){i.value.classList.remove("segment-button-after-checked")}}catch(a){r.e(a)}finally{r.f()}o<e.length&&e[o].classList.add("segment-button-after-checked")}},{key:"setNextIndex",value:function(t){var e,n,o=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="rtl"===document.dir,a=this.activated,s=this.getButtons(),l=s.findIndex(function(t){return t.value===o.value}),c=s[l];if(-1!==l){var d=c.getBoundingClientRect(),u=d.left,g=d.width,b=t.currentX,h=document.elementFromPoint(b,d.top+d.height/2);if(a&&!i){if(r?b>u+g:b<u){var m=l-1;m>=0&&(n=m)}else if((r?b<u:b>u+g)&&a&&!i){var v=l+1;v<s.length&&(n=v)}void 0===n||s[n].disabled||(e=s[n])}if(!a&&i&&(e=h),null!=e){if("ION-SEGMENT"===e.tagName)return!1;c!==e&&this.checkButton(c,e)}return!0}}},{key:"emitStyle",value:function(){this.ionStyle.emit({segment:!0})}},{key:"render",value:function(){var e,n=Object(c.b)(this);return Object(l.j)(l.c,{onClick:this.onClick,class:Object(u.a)(this.color,(e={},t(e,n,!0),t(e,"in-toolbar",Object(u.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(u.c)("ion-toolbar[color]",this.el)),t(e,"segment-activated",this.activated),t(e,"segment-disabled",this.disabled),t(e,"segment-scrollable",this.scrollable),e))},Object(l.j)("slot",null))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}}]),o}();g.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:auto}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};var b=0,h=function(){function e(t){var n=this;i(this,e),Object(l.o)(this,t),this.segmentEl=null,this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+b++,this.updateStyle=function(){Object(l.l)(n)},this.updateState=function(){n.segmentEl&&(n.checked=n.segmentEl.value===n.value)}}return a(e,[{key:"connectedCallback",value:function(){var t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),Object(d.a)(t,"ionSelect",this.updateState),Object(d.a)(t,"ionStyle",this.updateStyle))}},{key:"disconnectedCallback",value:function(){var t=this.segmentEl;t&&(Object(d.b)(t,"ionSelect",this.updateState),Object(d.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}},{key:"hasLabel",get:function(){return!!this.el.querySelector("ion-label")}},{key:"hasIcon",get:function(){return!!this.el.querySelector("ion-icon")}},{key:"render",value:function(){var e,n=this.checked,o=this.type,i=this.disabled,r=this.hasIcon,a=this.hasLabel,s=this.layout,d=this.segmentEl,g=Object(c.b)(this);return Object(l.j)(l.c,{"aria-disabled":i?"true":null,class:(e={},t(e,g,!0),t(e,"in-toolbar",Object(u.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(u.c)("ion-toolbar[color]",this.el)),t(e,"in-segment",Object(u.c)("ion-segment",this.el)),t(e,"in-segment-color",null!==d&&void 0!==d.color),t(e,"segment-button-has-label",a),t(e,"segment-button-has-icon",r),t(e,"segment-button-has-label-only",a&&!r),t(e,"segment-button-has-icon-only",r&&!a),t(e,"segment-button-disabled",i),t(e,"segment-button-checked",n),t(e,"segment-button-layout-"+s,!0),t(e,"ion-activatable",!0),t(e,"ion-activatable-instant",!0),t(e,"ion-focusable",!0),e)},Object(l.j)("button",{type:o,"aria-pressed":n?"true":"false",class:"button-native",part:"native",disabled:i},Object(l.j)("span",{class:"button-inner"},Object(l.j)("slot",null)),"md"===g&&Object(l.j)("ion-ripple-effect",null)),Object(l.j)("div",{part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},Object(l.j)("div",{part:"indicator-background",class:"segment-button-indicator-background"})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}();h.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none;cursor:pointer}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;line-height:22px;text-overflow:ellipsis;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:2px;margin-right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}}:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:0;margin-right:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}}.segment-button-indicator{padding-left:2px;padding-right:2px;left:0;right:0;top:0;bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.segment-button-indicator{padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px}}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:#fff}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none;cursor:pointer}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;line-height:22px;text-overflow:ellipsis;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;max-width:360px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:8px;margin-right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}}:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:0;margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}}}])}(); \ No newline at end of file +!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(C){c=function(t,e,n){return t[e]=n}}function l(t,e,n,o){var r=e&&e.prototype instanceof h?e:h,i=Object.create(r.prototype),a=new O(o||[]);return i._invoke=function(t,e,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return E()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var c=d(t,e,n);if("normal"===c.type){if(o=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(C){return{type:"throw",arg:C}}}t.wrap=l;var u={};function h(){}function g(){}function b(){}var m={};c(m,i,function(){return this});var f=Object.getPrototypeOf,v=f&&f(f(S([])));v&&v!==n&&o.call(v,i)&&(m=v);var p=b.prototype=h.prototype=Object.create(m);function y(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function n(r,i,a,s){var c=d(t[r],t,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&o.call(u,"__await")?e.resolve(u.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(u).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}s(c.arg)}var r;this._invoke=function(t,o){function i(){return new e(function(e,r){n(t,o,e,r)})}return r=r?r.then(i,i):i()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var o=d(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,u;var r=o.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:E}}function E(){return{value:void 0,done:!0}}return g.prototype=b,c(p,"constructor",b),c(b,"constructor",g),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,s,"GeneratorFunction")),t.prototype=Object.create(p),t},t.awrap=function(t){return{__await:t}},y(k.prototype),c(k.prototype,a,function(){return this}),t.AsyncIterator=k,t.async=function(e,n,o,r,i){void 0===i&&(i=Promise);var a=new k(l(e,n,o,r),i);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},y(p),c(p,s,"Generator"),c(p,i,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var o=e.pop();if(o in t)return n.value=o,n.done=!1,n}return n.done=!0,n}},t.values=S,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;j(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}function n(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(o,r)}function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},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,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{fSgp:function(r,a,c){"use strict";c.r(a),c.d(a,"ion_segment",function(){return g}),c.d(a,"ion_segment_button",function(){return m});var l=c("wEJo"),d=c("E/Mt"),u=c("1vRN"),h=c("74mu"),g=function(){function r(t){var e=this;i(this,r),Object(l.o)(this,t),this.ionChange=Object(l.g)(this,"ionChange",7),this.ionSelect=Object(l.g)(this,"ionSelect",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.didInit=!1,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.onClick=function(t){var n=t.target,o=e.checked;"ION-SEGMENT"!==n.tagName&&(e.value=n.value,!e.scrollable&&e.swipeGesture||(o?e.checkButton(o,n):e.setCheckedClasses()),e.checked=n)}}var a,g;return s(r,[{key:"colorChanged",value:function(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}},{key:"swipeGestureChanged",value:function(){this.gestureChanged()}},{key:"valueChanged",value:function(t,e){this.ionSelect.emit({value:t}),(""!==e||this.didInit)&&(this.activated?this.valueAfterGesture=t:this.ionChange.emit({value:t}))}},{key:"disabledChanged",value:function(){this.gestureChanged();var t,e=o(this.getButtons());try{for(e.s();!(t=e.n()).done;){t.value.disabled=this.disabled}}catch(n){e.e(n)}finally{e.f()}}},{key:"gestureChanged",value:function(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}},{key:"connectedCallback",value:function(){this.emitStyle()}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"componentDidLoad",value:(a=e().mark(function t(){var n=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.setCheckedClasses(),t.next=3,Promise.resolve().then(c.bind(null,"iWo5"));case 3:this.gesture=t.sent.createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:function(t){return n.onStart(t)},onMove:function(t){return n.onMove(t)},onEnd:function(t){return n.onEnd(t)}}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.didInit=!0;case 7:case"end":return t.stop()}},t,this)}),g=function(){var t=this,e=arguments;return new Promise(function(o,r){var i=a.apply(t,e);function s(t){n(i,o,r,s,c,"next",t)}function c(t){n(i,o,r,s,c,"throw",t)}s(void 0)})},function(){return g.apply(this,arguments)})},{key:"onStart",value:function(t){this.activate(t)}},{key:"onMove",value:function(t){this.setNextIndex(t)}},{key:"onEnd",value:function(t){this.setActivated(!1);var e=this.setNextIndex(t,!0);t.event.stopImmediatePropagation(),e&&this.addRipple(t);var n=this.valueAfterGesture;void 0!==n&&(this.ionChange.emit({value:n}),this.valueAfterGesture=void 0)}},{key:"getButtons",value:function(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}},{key:"addRipple",value:function(t){var e=this;if(d.c.getBoolean("animated",!0)&&d.c.getBoolean("rippleEffect",!0)){var n=this.getButtons().find(function(t){return t.value===e.value}),o=(n.shadowRoot||n).querySelector("ion-ripple-effect");if(o){var r=Object(u.p)(t.event),i=r.x,a=r.y;o.addRipple(i,a).then(function(t){return t()})}}}},{key:"setActivated",value:function(t){this.getButtons().forEach(function(e){t?e.classList.add("segment-button-activated"):e.classList.remove("segment-button-activated")}),this.activated=t}},{key:"activate",value:function(t){var e=this,n=t.event.target,o=this.getButtons().find(function(t){return t.value===e.value});"ION-SEGMENT-BUTTON"===n.tagName&&(o||(this.value=n.value,this.setCheckedClasses()),this.value===n.value&&this.setActivated(!0))}},{key:"getIndicator",value:function(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}},{key:"checkButton",value:function(t,e){var n=this.getIndicator(t),o=this.getIndicator(e);if(null!==n&&null!==o){var r=n.getBoundingClientRect(),i=o.getBoundingClientRect(),a="translate3d(".concat(r.left-i.left,"px, 0, 0) scaleX(").concat(r.width/i.width,")");Object(l.f)(function(){o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",a),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}}},{key:"setCheckedClasses",value:function(){var t=this,e=this.getButtons(),n=e.findIndex(function(e){return e.value===t.value})+1;this.checked=e.find(function(e){return e.value===t.value});var r,i=o(e);try{for(i.s();!(r=i.n()).done;){r.value.classList.remove("segment-button-after-checked")}}catch(a){i.e(a)}finally{i.f()}n<e.length&&e[n].classList.add("segment-button-after-checked")}},{key:"setNextIndex",value:function(t){var e,n,o=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i="rtl"===document.dir,a=this.activated,s=this.getButtons(),c=s.findIndex(function(t){return t.value===o.value}),l=s[c];if(-1!==c){var d=l.getBoundingClientRect(),u=d.left,h=d.width,g=t.currentX,b=document.elementFromPoint(g,d.top+d.height/2);if(a&&!r){if(i?g>u+h:g<u){var m=c-1;m>=0&&(n=m)}else if((i?g<u:g>u+h)&&a&&!r){var f=c+1;f<s.length&&(n=f)}void 0===n||s[n].disabled||(e=s[n])}if(!a&&r&&(e=b),null!=e){if("ION-SEGMENT"===e.tagName)return!1;l!==e&&this.checkButton(l,e)}return!0}}},{key:"emitStyle",value:function(){this.ionStyle.emit({segment:!0})}},{key:"render",value:function(){var e,n=Object(d.b)(this);return Object(l.j)(l.c,{onClick:this.onClick,class:Object(h.a)(this.color,(e={},t(e,n,!0),t(e,"in-toolbar",Object(h.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(h.c)("ion-toolbar[color]",this.el)),t(e,"segment-activated",this.activated),t(e,"segment-disabled",this.disabled),t(e,"segment-scrollable",this.scrollable),e))},Object(l.j)("slot",null))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"watchers",get:function(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}}]),r}();g.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:auto}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};var b=0,m=function(){function e(t){var n=this;i(this,e),Object(l.o)(this,t),this.segmentEl=null,this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+b++,this.updateStyle=function(){Object(l.l)(n)},this.updateState=function(){n.segmentEl&&(n.checked=n.segmentEl.value===n.value)}}return s(e,[{key:"connectedCallback",value:function(){var t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),Object(u.a)(t,"ionSelect",this.updateState),Object(u.a)(t,"ionStyle",this.updateStyle))}},{key:"disconnectedCallback",value:function(){var t=this.segmentEl;t&&(Object(u.b)(t,"ionSelect",this.updateState),Object(u.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}},{key:"hasLabel",get:function(){return!!this.el.querySelector("ion-label")}},{key:"hasIcon",get:function(){return!!this.el.querySelector("ion-icon")}},{key:"render",value:function(){var e,n=this.checked,o=this.type,r=this.disabled,i=this.hasIcon,a=this.hasLabel,s=this.layout,c=this.segmentEl,u=Object(d.b)(this);return Object(l.j)(l.c,{"aria-disabled":r?"true":null,class:(e={},t(e,u,!0),t(e,"in-toolbar",Object(h.c)("ion-toolbar",this.el)),t(e,"in-toolbar-color",Object(h.c)("ion-toolbar[color]",this.el)),t(e,"in-segment",Object(h.c)("ion-segment",this.el)),t(e,"in-segment-color",null!==c&&void 0!==c.color),t(e,"segment-button-has-label",a),t(e,"segment-button-has-icon",i),t(e,"segment-button-has-label-only",a&&!i),t(e,"segment-button-has-icon-only",i&&!a),t(e,"segment-button-disabled",r),t(e,"segment-button-checked",n),t(e,"segment-button-layout-"+s,!0),t(e,"ion-activatable",!0),t(e,"ion-activatable-instant",!0),t(e,"ion-focusable",!0),e)},Object(l.j)("button",{type:o,"aria-pressed":n?"true":"false",class:"button-native",part:"native",disabled:r},Object(l.j)("span",{class:"button-inner"},Object(l.j)("slot",null)),"md"===u&&Object(l.j)("ion-ripple-effect",null)),Object(l.j)("div",{part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},Object(l.j)("div",{part:"indicator-background",class:"segment-button-indicator-background"})))}},{key:"el",get:function(){return Object(l.k)(this)}}]),e}();m.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none;cursor:pointer}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;line-height:22px;text-overflow:ellipsis;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:2px;margin-right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}}:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:0;margin-right:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}}.segment-button-indicator{padding-left:2px;padding-right:2px;left:0;right:0;top:0;bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.segment-button-indicator{padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px}}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:#fff}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none;cursor:pointer}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;line-height:22px;text-overflow:ellipsis;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;max-width:360px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:8px;margin-right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-start) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}}:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:0;margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.segment-button-layout-icon-end) ::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}}}])}(); \ No newline at end of file diff --git a/dist/44-es5.d3a61173c32b1640f5f9.js b/dist/44-es5.d3a61173c32b1640f5f9.js index dd95395130..113b0f78c0 100644 --- a/dist/44-es5.d3a61173c32b1640f5f9.js +++ b/dist/44-es5.d3a61173c32b1640f5f9.js @@ -1 +1 @@ -!function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(i,r)}function n(e){return function(){var n=this,i=arguments;return new Promise(function(r,o){var a=e.apply(n,i);function s(e){t(a,r,o,s,l,"next",e)}function l(e){t(a,r,o,s,l,"throw",e)}s(void 0)})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{lfGF:function(t,r,a){"use strict";a.r(r),a.d(r,"ion_select",function(){return h}),a.d(r,"ion_select_option",function(){return j}),a.d(r,"ion_select_popover",function(){return k});var s=a("wEJo"),l=a("E/Mt"),c=a("1vRN"),d=a("7OTs"),u=a("74mu");a("B4Jq");var p=function(e,t){if(1===e.nodeType)return(e.tagName===t.toUpperCase()?[e]:Array.from(e.querySelectorAll(t))).find(function(t){return t.value===e.value})},h=function(){function t(e){var n=this;i(this,t),Object(s.o)(this,e),this.ionChange=Object(s.g)(this,"ionChange",7),this.ionCancel=Object(s.g)(this,"ionCancel",7),this.ionFocus=Object(s.g)(this,"ionFocus",7),this.ionBlur=Object(s.g)(this,"ionBlur",7),this.ionStyle=Object(s.g)(this,"ionStyle",7),this.inputId="ion-sel-"+x++,this.didInit=!1,this.isExpanded=!1,this.disabled=!1,this.cancelText="Cancel",this.okText="OK",this.name=this.inputId,this.multiple=!1,this.interface="alert",this.interfaceOptions={},this.onClick=function(e){n.setFocus(),n.open(e)},this.onFocus=function(){n.ionFocus.emit()},this.onBlur=function(){n.ionBlur.emit()}}var r,a,h,g,y;return o(t,[{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.emitStyle(),this.didInit&&this.ionChange.emit({value:this.value})}},{key:"connectedCallback",value:(y=n(regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.updateOverlayOptions(),this.emitStyle(),this.mutationO=function(e,t,n){if("undefined"!=typeof MutationObserver){var i=new MutationObserver(function(e){n(function(e,t){var n;e.forEach(function(e){for(var t=0;t<e.addedNodes.length;t++)n=p(e.addedNodes[t],"ion-select-option")||n})}(e))});return i.observe(e,{childList:!0,subtree:!0}),i}}(this.el,0,n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.updateOverlayOptions();case 1:case"end":return e.stop()}},e)})));case 1:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}},{key:"componentDidLoad",value:function(){this.didInit=!0}},{key:"open",value:(g=n(regeneratorRuntime.mark(function e(t){var n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.disabled&&!this.isExpanded){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.createOverlay(t);case 4:return n=this.overlay=e.sent,this.isExpanded=!0,n.onDidDismiss().then(function(){i.overlay=void 0,i.isExpanded=!1,i.setFocus()}),e.next=9,n.present();case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}},e,this)})),function(e){return g.apply(this,arguments)})},{key:"createOverlay",value:function(e){var t=this.interface;return"action-sheet"!==t&&"popover"!==t||!this.multiple||(console.warn('Select interface cannot be "'.concat(t,'" with a multi-value select. Using the "alert" interface instead.')),t="alert"),"popover"!==t||e||(console.warn('Select interface cannot be a "popover" without passing an event. Using the "alert" interface instead.'),t="alert"),"popover"===t?this.openPopover(e):"action-sheet"===t?this.openActionSheet():this.openAlert()}},{key:"updateOverlayOptions",value:function(){var e=this.overlay;if(e){var t=this.childOpts,n=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,n);break;case"popover":var i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,n));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",n)}}}},{key:"createActionSheetButtons",value:function(e,t){var n=this,i=e.map(function(e){var i=b(e),r=Array.from(e.classList).filter(function(e){return"hydrated"!==e}).join(" "),o="".concat(O," ").concat(r);return{role:f(i,t,n.compareWith)?"selected":"",text:e.textContent,cssClass:o,handler:function(){n.value=i}}});return i.push({text:this.cancelText,role:"cancel",handler:function(){n.ionCancel.emit()}}),i}},{key:"createAlertInputs",value:function(e,t,n){var i=this;return e.map(function(e){var r=b(e),o=Array.from(e.classList).filter(function(e){return"hydrated"!==e}).join(" ");return{type:t,cssClass:"".concat(O," ").concat(o),label:e.textContent||"",value:r,checked:f(r,n,i.compareWith),disabled:e.disabled}})}},{key:"createPopoverOptions",value:function(e,t){var n=this;return e.map(function(e){var i=b(e),r=Array.from(e.classList).filter(function(e){return"hydrated"!==e}).join(" ");return{text:e.textContent||"",cssClass:"".concat(O," ").concat(r),value:i,checked:f(i,t,n.compareWith),disabled:e.disabled,handler:function(){n.value=i,n.close()}}})}},{key:"openPopover",value:(h=n(regeneratorRuntime.mark(function e(t){var n,i,r,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.interfaceOptions,i=Object(l.b)(this),r=this.value,o=Object.assign(Object.assign({mode:i},n),{component:"ion-select-popover",cssClass:["select-popover",n.cssClass],event:t,componentProps:{header:n.header,subHeader:n.subHeader,message:n.message,value:r,options:this.createPopoverOptions(this.childOpts,r)}}),e.abrupt("return",d.d.create(o));case 2:case"end":return e.stop()}},e,this)})),function(e){return h.apply(this,arguments)})},{key:"openActionSheet",value:(a=n(regeneratorRuntime.mark(function e(){var t,n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=Object(l.b)(this),n=this.interfaceOptions,i=Object.assign(Object.assign({mode:t},n),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",n.cssClass]}),e.abrupt("return",d.c.create(i));case 2:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"openAlert",value:(r=n(regeneratorRuntime.mark(function e(){var t,n,i,r,o,a,s=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getLabel(),n=t?t.textContent:null,i=this.interfaceOptions,r=this.multiple?"checkbox":"radio",o=Object(l.b)(this),a=Object.assign(Object.assign({mode:o},i),{header:i.header?i.header:n,inputs:this.createAlertInputs(this.childOpts,r,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:function(){s.ionCancel.emit()}},{text:this.okText,handler:function(e){s.value=e}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]}),e.abrupt("return",d.b.create(a));case 2:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"close",value:function(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}},{key:"getLabel",value:function(){return Object(c.h)(this.el)}},{key:"hasValue",value:function(){return""!==this.getText()}},{key:"childOpts",get:function(){return Array.from(this.el.querySelectorAll("ion-select-option"))}},{key:"getText",value:function(){var e=this.selectedText;return null!=e&&""!==e?e:m(this.childOpts,this.value,this.compareWith)}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,select:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"interactive-disabled":this.disabled,"select-disabled":this.disabled})}},{key:"render",value:function(){var t,n=this,i=this.disabled,r=this.el,o=this.inputId,a=this.isExpanded,d=this.name,p=this.placeholder,h=this.value,f=Object(l.b)(this),b=Object(c.d)(r,o),g=b.labelText,m=b.labelId;Object(c.e)(!0,r,d,v(h),i);var y=!1,x=this.getText();""===x&&null!=p&&(x=p,y=!0);var O={"select-text":!0,"select-placeholder":y},j=y?"placeholder":"text",w=void 0!==g?""!==x?"".concat(x,", ").concat(g):g:x;return Object(s.j)(s.c,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":i?"true":null,"aria-label":w,class:(t={},e(t,f,!0),e(t,"in-item",Object(u.c)("ion-item",r)),e(t,"select-disabled",i),e(t,"select-expanded",a),t)},Object(s.j)("div",{"aria-hidden":"true",class:O,part:j},x),Object(s.j)("div",{class:"select-icon",role:"presentation",part:"icon"},Object(s.j)("div",{class:"select-icon-inner"})),Object(s.j)("label",{id:m},w),Object(s.j)("button",{type:"button",disabled:i,id:o,"aria-labelledby":m,"aria-haspopup":"listbox","aria-expanded":""+a,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return n.focusEl=e}}))}},{key:"el",get:function(){return Object(s.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"],placeholder:["disabledChanged"],value:["valueChanged"]}}}]),t}(),f=function(e,t,n){return void 0!==e&&(Array.isArray(e)?e.some(function(e){return g(e,t,n)}):g(e,t,n))},b=function(e){var t=e.value;return void 0===t?e.textContent||"":t},v=function(e){if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},g=function(e,t,n){return"function"==typeof n?n(e,t):"string"==typeof n?e[n]===t[n]:Array.isArray(t)?t.includes(e):e===t},m=function(e,t,n){return void 0===t?"":Array.isArray(t)?t.map(function(t){return y(e,t,n)}).filter(function(e){return null!==e}).join(", "):y(e,t,n)||""},y=function(e,t,n){var i=e.find(function(e){return g(b(e),t,n)});return i?i.textContent:null},x=0,O="select-interface-option";h.style={ios:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative;opacity:0.33}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px}",md:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative;opacity:0.33}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px}:host-context(.item-label-floating) .select-icon{-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}"};var j=function(){function e(t){i(this,e),Object(s.o)(this,t),this.inputId="ion-selopt-"+w++,this.disabled=!1}return o(e,[{key:"render",value:function(){return Object(s.j)(s.c,{role:"option",id:this.inputId,class:Object(l.b)(this)})}},{key:"el",get:function(){return Object(s.k)(this)}}]),e}(),w=0;j.style=":host{display:none}";var k=function(){function e(t){i(this,e),Object(s.o)(this,t),this.options=[]}return o(e,[{key:"onSelect",value:function(e){var t=this.options.find(function(t){return t.value===e.target.value});t&&Object(d.n)(t.handler)}},{key:"render",value:function(){var e=this.options.find(function(e){return e.checked}),t=e?e.value:void 0;return Object(s.j)(s.c,{class:Object(l.b)(this)},Object(s.j)("ion-list",null,void 0!==this.header&&Object(s.j)("ion-list-header",null,this.header),(void 0!==this.subHeader||void 0!==this.message)&&Object(s.j)("ion-item",null,Object(s.j)("ion-label",{class:"ion-text-wrap"},void 0!==this.subHeader&&Object(s.j)("h3",null,this.subHeader),void 0!==this.message&&Object(s.j)("p",null,this.message))),Object(s.j)("ion-radio-group",{value:t},this.options.map(function(e){return Object(s.j)("ion-item",{class:Object(u.b)(e.cssClass)},Object(s.j)("ion-label",null,e.text),Object(s.j)("ion-radio",{value:e.value,disabled:e.disabled}))}))))}}]),e}();k.style=".sc-ion-select-popover-h ion-list.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:-1px;margin-bottom:-1px}.sc-ion-select-popover-h ion-list-header.sc-ion-select-popover,.sc-ion-select-popover-h ion-label.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}])}(); \ No newline at end of file +!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new k(r||[]);return o._invoke=function(t,e,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 L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===d)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 c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(E){return{type:"throw",arg:E}}}t.wrap=l;var d={};function h(){}function p(){}function f(){}var v={};c(v,o,function(){return this});var b=Object.getPrototypeOf,g=b&&b(b(C([])));g&&g!==n&&r.call(g,o)&&(v=g);var y=f.prototype=h.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(d).then(function(t){l.value=t,a(l)},function(t){return n("throw",t,a,s)})}s(c.arg)}var i;this._invoke=function(t,r){function o(){return new e(function(e,i){n(t,r,e,i)})}return i=i?i.then(o,o):o()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return p.prototype=f,c(y,"constructor",f),c(f,"constructor",p),p.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},m(x.prototype),c(x.prototype,a,function(){return this}),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(l(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(y),c(y,s,"Generator"),c(y,o,function(){return this}),c(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,k.prototype={constructor:k,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.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"),c=r.call(o,"finallyLoc");if(s&&c){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(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}function n(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(l){return void n(l)}s.done?e(c):Promise.resolve(c).then(r,i)}function r(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)})}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{lfGF:function(n,o,s){"use strict";s.r(o),s.d(o,"ion_select",function(){return f}),s.d(o,"ion_select_option",function(){return j}),s.d(o,"ion_select_popover",function(){return C});var c=s("wEJo"),l=s("E/Mt"),u=s("1vRN"),d=s("7OTs"),h=s("74mu");s("B4Jq");var p=function(t,e){if(1===t.nodeType)return(t.tagName===e.toUpperCase()?[t]:Array.from(t.querySelectorAll(e))).find(function(e){return e.value===t.value})},f=function(){function n(t){var e=this;i(this,n),Object(c.o)(this,t),this.ionChange=Object(c.g)(this,"ionChange",7),this.ionCancel=Object(c.g)(this,"ionCancel",7),this.ionFocus=Object(c.g)(this,"ionFocus",7),this.ionBlur=Object(c.g)(this,"ionBlur",7),this.ionStyle=Object(c.g)(this,"ionStyle",7),this.inputId="ion-sel-"+w++,this.didInit=!1,this.isExpanded=!1,this.disabled=!1,this.cancelText="Cancel",this.okText="OK",this.name=this.inputId,this.multiple=!1,this.interface="alert",this.interfaceOptions={},this.onClick=function(t){e.setFocus(),e.open(t)},this.onFocus=function(){e.ionFocus.emit()},this.onBlur=function(){e.ionBlur.emit()}}var o,s,f,y,x;return a(n,[{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){this.emitStyle(),this.didInit&&this.ionChange.emit({value:this.value})}},{key:"connectedCallback",value:(x=r(e().mark(function t(){var n=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.updateOverlayOptions(),this.emitStyle(),this.mutationO=function(t,e,n){if("undefined"!=typeof MutationObserver){var r=new MutationObserver(function(t){n(function(t,e){var n;t.forEach(function(t){for(var e=0;e<t.addedNodes.length;e++)n=p(t.addedNodes[e],"ion-select-option")||n})}(t))});return r.observe(t,{childList:!0,subtree:!0}),r}}(this.el,0,r(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n.updateOverlayOptions();case 1:case"end":return t.stop()}},t)})));case 1:case"end":return t.stop()}},t,this)})),function(){return x.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}},{key:"componentDidLoad",value:function(){this.didInit=!0}},{key:"open",value:(y=r(e().mark(function t(n){var r,i=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.disabled&&!this.isExpanded){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.createOverlay(n);case 4:return r=this.overlay=t.sent,this.isExpanded=!0,r.onDidDismiss().then(function(){i.overlay=void 0,i.isExpanded=!1,i.setFocus()}),t.next=9,r.present();case 9:return t.abrupt("return",r);case 10:case"end":return t.stop()}},t,this)})),function(t){return y.apply(this,arguments)})},{key:"createOverlay",value:function(t){var e=this.interface;return"action-sheet"!==e&&"popover"!==e||!this.multiple||(console.warn('Select interface cannot be "'.concat(e,'" with a multi-value select. Using the "alert" interface instead.')),e="alert"),"popover"!==e||t||(console.warn('Select interface cannot be a "popover" without passing an event. Using the "alert" interface instead.'),e="alert"),"popover"===e?this.openPopover(t):"action-sheet"===e?this.openActionSheet():this.openAlert()}},{key:"updateOverlayOptions",value:function(){var t=this.overlay;if(t){var e=this.childOpts,n=this.value;switch(this.interface){case"action-sheet":t.buttons=this.createActionSheetButtons(e,n);break;case"popover":var r=t.querySelector("ion-select-popover");r&&(r.options=this.createPopoverOptions(e,n));break;case"alert":t.inputs=this.createAlertInputs(e,this.multiple?"checkbox":"radio",n)}}}},{key:"createActionSheetButtons",value:function(t,e){var n=this,r=t.map(function(t){var r=b(t),i=Array.from(t.classList).filter(function(t){return"hydrated"!==t}).join(" "),o="".concat(O," ").concat(i);return{role:v(r,e,n.compareWith)?"selected":"",text:t.textContent,cssClass:o,handler:function(){n.value=r}}});return r.push({text:this.cancelText,role:"cancel",handler:function(){n.ionCancel.emit()}}),r}},{key:"createAlertInputs",value:function(t,e,n){var r=this;return t.map(function(t){var i=b(t),o=Array.from(t.classList).filter(function(t){return"hydrated"!==t}).join(" ");return{type:e,cssClass:"".concat(O," ").concat(o),label:t.textContent||"",value:i,checked:v(i,n,r.compareWith),disabled:t.disabled}})}},{key:"createPopoverOptions",value:function(t,e){var n=this;return t.map(function(t){var r=b(t),i=Array.from(t.classList).filter(function(t){return"hydrated"!==t}).join(" ");return{text:t.textContent||"",cssClass:"".concat(O," ").concat(i),value:r,checked:v(r,e,n.compareWith),disabled:t.disabled,handler:function(){n.value=r,n.close()}}})}},{key:"openPopover",value:(f=r(e().mark(function t(n){var r,i,o,a;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.interfaceOptions,i=Object(l.b)(this),o=this.value,a=Object.assign(Object.assign({mode:i},r),{component:"ion-select-popover",cssClass:["select-popover",r.cssClass],event:n,componentProps:{header:r.header,subHeader:r.subHeader,message:r.message,value:o,options:this.createPopoverOptions(this.childOpts,o)}}),t.abrupt("return",d.d.create(a));case 2:case"end":return t.stop()}},t,this)})),function(t){return f.apply(this,arguments)})},{key:"openActionSheet",value:(s=r(e().mark(function t(){var n,r,i;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object(l.b)(this),r=this.interfaceOptions,i=Object.assign(Object.assign({mode:n},r),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",r.cssClass]}),t.abrupt("return",d.c.create(i));case 2:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"openAlert",value:(o=r(e().mark(function t(){var n,r,i,o,a,s,c=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.getLabel(),r=n?n.textContent:null,i=this.interfaceOptions,o=this.multiple?"checkbox":"radio",a=Object(l.b)(this),s=Object.assign(Object.assign({mode:a},i),{header:i.header?i.header:r,inputs:this.createAlertInputs(this.childOpts,o,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:function(){c.ionCancel.emit()}},{text:this.okText,handler:function(t){c.value=t}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]}),t.abrupt("return",d.b.create(s));case 2:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"close",value:function(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}},{key:"getLabel",value:function(){return Object(u.h)(this.el)}},{key:"hasValue",value:function(){return""!==this.getText()}},{key:"childOpts",get:function(){return Array.from(this.el.querySelectorAll("ion-select-option"))}},{key:"getText",value:function(){var t=this.selectedText;return null!=t&&""!==t?t:m(this.childOpts,this.value,this.compareWith)}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,select:!0,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"interactive-disabled":this.disabled,"select-disabled":this.disabled})}},{key:"render",value:function(){var e,n=this,r=this.disabled,i=this.el,o=this.inputId,a=this.isExpanded,s=this.name,d=this.placeholder,p=this.value,f=Object(l.b)(this),v=Object(u.d)(i,o),b=v.labelText,y=v.labelId;Object(u.e)(!0,i,s,g(p),r);var m=!1,x=this.getText();""===x&&null!=d&&(x=d,m=!0);var w={"select-text":!0,"select-placeholder":m},O=m?"placeholder":"text",j=void 0!==b?""!==x?"".concat(x,", ").concat(b):b:x;return Object(c.j)(c.c,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":r?"true":null,"aria-label":j,class:(e={},t(e,f,!0),t(e,"in-item",Object(h.c)("ion-item",i)),t(e,"select-disabled",r),t(e,"select-expanded",a),e)},Object(c.j)("div",{"aria-hidden":"true",class:w,part:O},x),Object(c.j)("div",{class:"select-icon",role:"presentation",part:"icon"},Object(c.j)("div",{class:"select-icon-inner"})),Object(c.j)("label",{id:y},j),Object(c.j)("button",{type:"button",disabled:r,id:o,"aria-labelledby":y,"aria-haspopup":"listbox","aria-expanded":""+a,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return n.focusEl=t}}))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{disabled:["disabledChanged"],placeholder:["disabledChanged"],value:["valueChanged"]}}}]),n}(),v=function(t,e,n){return void 0!==t&&(Array.isArray(t)?t.some(function(t){return y(t,e,n)}):y(t,e,n))},b=function(t){var e=t.value;return void 0===e?t.textContent||"":e},g=function(t){if(null!=t)return Array.isArray(t)?t.join(","):t.toString()},y=function(t,e,n){return"function"==typeof n?n(t,e):"string"==typeof n?t[n]===e[n]:Array.isArray(e)?e.includes(t):t===e},m=function(t,e,n){return void 0===e?"":Array.isArray(e)?e.map(function(e){return x(t,e,n)}).filter(function(t){return null!==t}).join(", "):x(t,e,n)||""},x=function(t,e,n){var r=t.find(function(t){return y(b(t),e,n)});return r?r.textContent:null},w=0,O="select-interface-option";f.style={ios:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative;opacity:0.33}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px}",md:":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative;opacity:0.33}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px}:host-context(.item-label-floating) .select-icon{-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}"};var j=function(){function t(e){i(this,t),Object(c.o)(this,e),this.inputId="ion-selopt-"+k++,this.disabled=!1}return a(t,[{key:"render",value:function(){return Object(c.j)(c.c,{role:"option",id:this.inputId,class:Object(l.b)(this)})}},{key:"el",get:function(){return Object(c.k)(this)}}]),t}(),k=0;j.style=":host{display:none}";var C=function(){function t(e){i(this,t),Object(c.o)(this,e),this.options=[]}return a(t,[{key:"onSelect",value:function(t){var e=this.options.find(function(e){return e.value===t.target.value});e&&Object(d.n)(e.handler)}},{key:"render",value:function(){var t=this.options.find(function(t){return t.checked}),e=t?t.value:void 0;return Object(c.j)(c.c,{class:Object(l.b)(this)},Object(c.j)("ion-list",null,void 0!==this.header&&Object(c.j)("ion-list-header",null,this.header),(void 0!==this.subHeader||void 0!==this.message)&&Object(c.j)("ion-item",null,Object(c.j)("ion-label",{class:"ion-text-wrap"},void 0!==this.subHeader&&Object(c.j)("h3",null,this.subHeader),void 0!==this.message&&Object(c.j)("p",null,this.message))),Object(c.j)("ion-radio-group",{value:e},this.options.map(function(t){return Object(c.j)("ion-item",{class:Object(h.b)(t.cssClass)},Object(c.j)("ion-label",null,t.text),Object(c.j)("ion-radio",{value:t.value,disabled:t.disabled}))}))))}}]),t}();C.style=".sc-ion-select-popover-h ion-list.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:-1px;margin-bottom:-1px}.sc-ion-select-popover-h ion-list-header.sc-ion-select-popover,.sc-ion-select-popover-h ion-label.sc-ion-select-popover{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}])}(); \ No newline at end of file diff --git a/dist/45-es5.7f7f21b2a7aa1ed13a8a.js b/dist/45-es5.7f7f21b2a7aa1ed13a8a.js index 37c54c4cbc..7994cea001 100644 --- a/dist/45-es5.7f7f21b2a7aa1ed13a8a.js +++ b/dist/45-es5.7f7f21b2a7aa1ed13a8a.js @@ -1 +1 @@ -!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var r,n,a=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(r=t.next()).done)&&(a.push(r.value),!i||a.length!==i);o=!0);}catch(p){s=!0,n=p}finally{try{o||null==t.return||t.return()}finally{if(s)throw n}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(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,i){(null==i||i>e.length)&&(i=e.length);for(var t=0,r=new Array(i);t<i;t++)r[t]=e[t];return r}function t(e,i,t,r,n,a,o){try{var s=e[a](o),p=s.value}catch(l){return void t(l)}s.done?i(p):Promise.resolve(p).then(r,n)}function r(e){return function(){var i=this,r=arguments;return new Promise(function(n,a){var o=e.apply(i,r);function s(e){t(o,n,a,s,p,"next",e)}function p(e){t(o,n,a,s,p,"throw",e)}s(void 0)})}}function n(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function a(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}function o(e,i){for(var t=0;t<i.length;t++){var r=i[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,i,t){return i&&o(e.prototype,i),t&&o(e,t),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{"5xYT":function(i,t,o){"use strict";o.r(t),o.d(t,"ion_slide",function(){return w}),o.d(t,"ion_slides",function(){return g});var p=o("wEJo"),l=o("E/Mt"),c=o("1vRN"),w=function(){function e(i){a(this,e),Object(p.o)(this,i)}return s(e,[{key:"render",value:function(){var e,i=Object(l.b)(this);return Object(p.j)(p.c,{class:(e={},n(e,i,!0),n(e,"swiper-slide",!0),n(e,"swiper-zoom-container",!0),e)})}}]),e}();w.style="ion-slide{display:block;width:100%;height:100%}.slide-zoom{display:block;width:100%;text-align:center}.swiper-slide{display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:18px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.swiper-slide img{width:auto;max-width:100%;height:auto;max-height:100%}";var g=function(){function i(e){var t=this;a(this,i),Object(p.o)(this,e),this.ionSlidesDidLoad=Object(p.g)(this,"ionSlidesDidLoad",7),this.ionSlideTap=Object(p.g)(this,"ionSlideTap",7),this.ionSlideDoubleTap=Object(p.g)(this,"ionSlideDoubleTap",7),this.ionSlideWillChange=Object(p.g)(this,"ionSlideWillChange",7),this.ionSlideDidChange=Object(p.g)(this,"ionSlideDidChange",7),this.ionSlideNextStart=Object(p.g)(this,"ionSlideNextStart",7),this.ionSlidePrevStart=Object(p.g)(this,"ionSlidePrevStart",7),this.ionSlideNextEnd=Object(p.g)(this,"ionSlideNextEnd",7),this.ionSlidePrevEnd=Object(p.g)(this,"ionSlidePrevEnd",7),this.ionSlideTransitionStart=Object(p.g)(this,"ionSlideTransitionStart",7),this.ionSlideTransitionEnd=Object(p.g)(this,"ionSlideTransitionEnd",7),this.ionSlideDrag=Object(p.g)(this,"ionSlideDrag",7),this.ionSlideReachStart=Object(p.g)(this,"ionSlideReachStart",7),this.ionSlideReachEnd=Object(p.g)(this,"ionSlideReachEnd",7),this.ionSlideTouchStart=Object(p.g)(this,"ionSlideTouchStart",7),this.ionSlideTouchEnd=Object(p.g)(this,"ionSlideTouchEnd",7),this.swiperReady=!1,this.swiper=new Promise(function(e){t.readySwiper=e}),this.didInit=!1,this.options={},this.pager=!1,this.scrollbar=!1}var t,w,g,b,u,f,m,h,k,v,x,y,C,D,F,E,S,z;return s(i,[{key:"optionsChanged",value:(z=r(regeneratorRuntime.mark(function e(){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.swiperReady){e.next=7;break}return e.next=3,this.getSwiper();case 3:return i=e.sent,Object.assign(i.params,this.options),e.next=7,this.update();case 7:case"end":return e.stop()}},e,this)})),function(){return z.apply(this,arguments)})},{key:"connectedCallback",value:function(){var e=this;"undefined"!=typeof MutationObserver&&((this.mutationO=new MutationObserver(function(){e.swiperReady&&e.update()})).observe(this.el,{childList:!0,subtree:!0}),Object(c.c)(this.el,function(){e.didInit||(e.didInit=!0,e.initSwiper())}))}},{key:"disconnectedCallback",value:function(){var e=this;this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0);var i=this.syncSwiper;void 0!==i&&(i.destroy(!0,!0),this.swiper=new Promise(function(i){e.readySwiper=i}),this.swiperReady=!1,this.syncSwiper=void 0),this.didInit=!1}},{key:"update",value:(S=r(regeneratorRuntime.mark(function i(){var t;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Promise.all([this.getSwiper(),d(this.el)]);case 2:t=i.sent,e(t,1)[0].update();case 6:case"end":return i.stop()}},i,this)})),function(){return S.apply(this,arguments)})},{key:"updateAutoHeight",value:(E=r(regeneratorRuntime.mark(function e(i){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.updateAutoHeight(i);case 3:case"end":return e.stop()}},e,this)})),function(e){return E.apply(this,arguments)})},{key:"slideTo",value:(F=r(regeneratorRuntime.mark(function e(i,t,r){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slideTo(i,t,r);case 3:case"end":return e.stop()}},e,this)})),function(e,i,t){return F.apply(this,arguments)})},{key:"slideNext",value:(D=r(regeneratorRuntime.mark(function e(i,t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slideNext(i,t);case 3:case"end":return e.stop()}},e,this)})),function(e,i){return D.apply(this,arguments)})},{key:"slidePrev",value:(C=r(regeneratorRuntime.mark(function e(i,t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slidePrev(i,t);case 3:case"end":return e.stop()}},e,this)})),function(e,i){return C.apply(this,arguments)})},{key:"getActiveIndex",value:(y=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.activeIndex);case 3:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"getPreviousIndex",value:(x=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.previousIndex);case 3:case"end":return e.stop()}},e,this)})),function(){return x.apply(this,arguments)})},{key:"length",value:(v=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.slides.length);case 3:case"end":return e.stop()}},e,this)})),function(){return v.apply(this,arguments)})},{key:"isEnd",value:(k=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.isEnd);case 3:case"end":return e.stop()}},e,this)})),function(){return k.apply(this,arguments)})},{key:"isBeginning",value:(h=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.isBeginning);case 3:case"end":return e.stop()}},e,this)})),function(){return h.apply(this,arguments)})},{key:"startAutoplay",value:(m=r(regeneratorRuntime.mark(function e(){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(i=e.sent).autoplay&&i.autoplay.start();case 4:case"end":return e.stop()}},e,this)})),function(){return m.apply(this,arguments)})},{key:"stopAutoplay",value:(f=r(regeneratorRuntime.mark(function e(){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(i=e.sent).autoplay&&i.autoplay.stop();case 4:case"end":return e.stop()}},e,this)})),function(){return f.apply(this,arguments)})},{key:"lockSwipeToNext",value:(u=r(regeneratorRuntime.mark(function e(i){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.allowSlideNext=!i;case 3:case"end":return e.stop()}},e,this)})),function(e){return u.apply(this,arguments)})},{key:"lockSwipeToPrev",value:(b=r(regeneratorRuntime.mark(function e(i){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.allowSlidePrev=!i;case 3:case"end":return e.stop()}},e,this)})),function(e){return b.apply(this,arguments)})},{key:"lockSwipes",value:(g=r(regeneratorRuntime.mark(function e(i){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(t=e.sent).allowSlideNext=!i,t.allowSlidePrev=!i,t.allowTouchMove=!i;case 4:case"end":return e.stop()}},e,this)})),function(e){return g.apply(this,arguments)})},{key:"getSwiper",value:(w=r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.swiper);case 1:case"end":return e.stop()}},e,this)})),function(){return w.apply(this,arguments)})},{key:"initSwiper",value:(t=r(regeneratorRuntime.mark(function e(){var i,t,r,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.normalizeOptions(),e.next=3,o.e(58).then(o.bind(null,"F/jJ"));case 3:return t=e.sent,r=t.Swiper,e.next=7,d(this.el);case 7:n=new r(this.el,i),this.swiperReady=!0,this.syncSwiper=n,this.readySwiper(n);case 9:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"normalizeOptions",value:function(){var e=this,i={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",autoplay:!1,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};this.pager&&(i.pagination={el:this.paginationEl,type:"bullets",clickable:!1,hideOnClick:!1}),this.scrollbar&&(i.scrollbar={el:this.scrollbarEl,hide:!0});var t={on:{init:function(){setTimeout(function(){e.ionSlidesDidLoad.emit()},20)},slideChangeTransitionStart:this.ionSlideWillChange.emit,slideChangeTransitionEnd:this.ionSlideDidChange.emit,slideNextTransitionStart:this.ionSlideNextStart.emit,slidePrevTransitionStart:this.ionSlidePrevStart.emit,slideNextTransitionEnd:this.ionSlideNextEnd.emit,slidePrevTransitionEnd:this.ionSlidePrevEnd.emit,transitionStart:this.ionSlideTransitionStart.emit,transitionEnd:this.ionSlideTransitionEnd.emit,sliderMove:this.ionSlideDrag.emit,reachBeginning:this.ionSlideReachStart.emit,reachEnd:this.ionSlideReachEnd.emit,touchStart:this.ionSlideTouchStart.emit,touchEnd:this.ionSlideTouchEnd.emit,tap:this.ionSlideTap.emit,doubleTap:this.ionSlideDoubleTap.emit}},r={on:Object.assign(Object.assign({},this.options&&this.options.on?this.options.on:{}),t.on)};return Object.assign(Object.assign(Object.assign({},i),this.options),r)}},{key:"render",value:function(){var e,i=this,t=Object(l.b)(this);return Object(p.j)(p.c,{class:(e={},n(e,""+t,!0),n(e,"slides-"+t,!0),n(e,"swiper-container",!0),e)},Object(p.j)("div",{class:"swiper-wrapper"},Object(p.j)("slot",null)),this.pager&&Object(p.j)("div",{class:"swiper-pagination",ref:function(e){return i.paginationEl=e}}),this.scrollbar&&Object(p.j)("div",{class:"swiper-scrollbar",ref:function(e){return i.scrollbarEl=e}}))}},{key:"el",get:function(){return Object(p.k)(this)}}],[{key:"assetsDirs",get:function(){return["swiper"]}},{key:"watchers",get:function(){return{options:["optionsChanged"]}}}]),i}(),d=function(e){return Promise.all(Array.from(e.querySelectorAll("ion-slide")).map(function(e){return new Promise(function(i){return Object(c.c)(e,i)})}))};g.style={ios:".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical{height:100%}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-invisible-blank-slide{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;-o-transition-property:transform, height;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-wrapper,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-prev,.swiper-button-next{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;-o-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal>.swiper-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:0.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;-o-transition:200ms transform, 200ms top;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;-o-transition:200ms transform, 200ms left;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;-o-transition:200ms transform, 200ms right;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-progressbar{background:rgba(0, 0, 0, 0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progressbar,.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#ffffff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255, 255, 255, 0.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#ffffff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0, 0, 0, 0.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0, 0, 0, 0.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0, 0, 0, 0.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12, end) infinite;animation:swiper-preloader-spin 1s steps(12, end) infinite}.swiper-lazy-preloader:after{display:block;content:\"\";width:100%;height:100%;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-prev,.swiper-container-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:0.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}ion-slides{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swiper-pagination-bullet{background:var(--bullet-background)}.swiper-pagination-bullet-active{background:var(--bullet-background-active)}.swiper-pagination-progressbar{background:var(--progress-bar-background)}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--progress-bar-background-active)}.swiper-scrollbar{background:var(--scroll-bar-background)}.swiper-scrollbar-drag{background:var(--scroll-bar-background-active)}.slides-ios{--bullet-background:var(--ion-color-step-200, #cccccc);--bullet-background-active:var(--ion-color-primary, #3880ff);--progress-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.25);--progress-bar-background-active:var(--ion-color-primary-shade, #3171e0);--scroll-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--scroll-bar-background-active:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.5)}",md:".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical{height:100%}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-invisible-blank-slide{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;-o-transition-property:transform, height;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-wrapper,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-prev,.swiper-button-next{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;-o-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal>.swiper-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:0.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;-o-transition:200ms transform, 200ms top;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;-o-transition:200ms transform, 200ms left;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;-o-transition:200ms transform, 200ms right;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-progressbar{background:rgba(0, 0, 0, 0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progressbar,.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#ffffff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255, 255, 255, 0.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#ffffff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0, 0, 0, 0.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0, 0, 0, 0.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0, 0, 0, 0.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12, end) infinite;animation:swiper-preloader-spin 1s steps(12, end) infinite}.swiper-lazy-preloader:after{display:block;content:\"\";width:100%;height:100%;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-prev,.swiper-container-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:0.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}ion-slides{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swiper-pagination-bullet{background:var(--bullet-background)}.swiper-pagination-bullet-active{background:var(--bullet-background-active)}.swiper-pagination-progressbar{background:var(--progress-bar-background)}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--progress-bar-background-active)}.swiper-scrollbar{background:var(--scroll-bar-background)}.swiper-scrollbar-drag{background:var(--scroll-bar-background-active)}.slides-md{--bullet-background:var(--ion-color-step-200, #cccccc);--bullet-background-active:var(--ion-color-primary, #3880ff);--progress-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.25);--progress-bar-background-active:var(--ion-color-primary-shade, #3171e0);--scroll-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--scroll-bar-background-active:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.5)}"}}}])}(); \ No newline at end of file +!function(){function e(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var r,n,a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(p){s=!0,n=p}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return a}(e,i)||function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,i)}(e,i)||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 t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function p(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(S){p=function(e,t,i){return e[t]=i}}function l(e,t,i,r){var n=t&&t.prototype instanceof d?t:d,a=Object.create(n.prototype),o=new D(r||[]);return a._invoke=function(e,t,i){var r="suspendedStart";return function(n,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===n)throw a;return E()}for(i.method=n,i.arg=a;;){var o=i.delegate;if(o){var s=x(o,i);if(s){if(s===w)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===r)throw r="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r="executing";var p=c(e,t,i);if("normal"===p.type){if(r=i.done?"completed":"suspendedYield",p.arg===w)continue;return{value:p.arg,done:i.done}}"throw"===p.type&&(r="completed",i.method="throw",i.arg=p.arg)}}}(e,i,o),a}function c(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(S){return{type:"throw",arg:S}}}e.wrap=l;var w={};function d(){}function u(){}function g(){}var f={};p(f,a,function(){return this});var b=Object.getPrototypeOf,h=b&&b(b(F([])));h&&h!==t&&r.call(h,a)&&(f=h);var m=g.prototype=d.prototype=Object.create(f);function v(e){["next","throw","return"].forEach(function(t){p(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){function i(n,a,o,s){var p=c(e[n],e,a);if("throw"!==p.type){var l=p.arg,w=l.value;return w&&"object"==typeof w&&r.call(w,"__await")?t.resolve(w.__await).then(function(e){i("next",e,o,s)},function(e){i("throw",e,o,s)}):t.resolve(w).then(function(e){l.value=e,o(l)},function(e){return i("throw",e,o,s)})}s(p.arg)}var n;this._invoke=function(e,r){function a(){return new t(function(t,n){i(e,r,t,n)})}return n=n?n.then(a,a):a()}}function x(e,t){var i=e.iterator[t.method];if(void 0===i){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return w;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var r=c(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,w;var n=r.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,w):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,w)}function y(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 D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function F(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(r.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:E}}function E(){return{value:void 0,done:!0}}return u.prototype=g,p(m,"constructor",g),p(g,"constructor",u),u.displayName=p(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===u||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,p(e,s,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},v(k.prototype),p(k.prototype,o,function(){return this}),e.AsyncIterator=k,e.async=function(t,i,r,n,a){void 0===a&&(a=Promise);var o=new k(l(t,i,r,n),a);return e.isGeneratorFunction(i)?o:o.next().then(function(e){return e.done?e.value:o.next()})},v(m),p(m,s,"Generator"),p(m,a,function(){return this}),p(m,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=[];for(var i in e)t.push(i);return t.reverse(),function i(){for(;t.length;){var r=t.pop();if(r in e)return i.value=r,i.done=!1,i}return i.done=!0,i}},e.values=F,D.prototype={constructor:D,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 i(i,r){return o.type="throw",o.arg=e,t.next=i,r&&(t.method="next",t.arg=void 0),!!r}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),p=r.call(a,"finallyLoc");if(s&&p){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,w):this.complete(o)},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),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),C(i),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var r=i.completion;if("throw"===r.type){var n=r.arg;C(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:F(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),w}},e}function r(e,t,i,r,n,a,o){try{var s=e[a](o),p=s.value}catch(l){return void i(l)}s.done?t(p):Promise.resolve(p).then(r,n)}function n(e){return function(){var t=this,i=arguments;return new Promise(function(n,a){var o=e.apply(t,i);function s(e){r(o,n,a,s,p,"next",e)}function p(e){r(o,n,a,s,p,"throw",e)}s(void 0)})}}function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,i){return t&&s(e.prototype,t),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{"5xYT":function(t,r,s){"use strict";s.r(r),s.d(r,"ion_slide",function(){return d}),s.d(r,"ion_slides",function(){return u});var l=s("wEJo"),c=s("E/Mt"),w=s("1vRN"),d=function(){function e(t){o(this,e),Object(l.o)(this,t)}return p(e,[{key:"render",value:function(){var e,t=Object(c.b)(this);return Object(l.j)(l.c,{class:(e={},a(e,t,!0),a(e,"swiper-slide",!0),a(e,"swiper-zoom-container",!0),e)})}}]),e}();d.style="ion-slide{display:block;width:100%;height:100%}.slide-zoom{display:block;width:100%;text-align:center}.swiper-slide{display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:18px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.swiper-slide img{width:auto;max-width:100%;height:auto;max-height:100%}";var u=function(){function t(e){var i=this;o(this,t),Object(l.o)(this,e),this.ionSlidesDidLoad=Object(l.g)(this,"ionSlidesDidLoad",7),this.ionSlideTap=Object(l.g)(this,"ionSlideTap",7),this.ionSlideDoubleTap=Object(l.g)(this,"ionSlideDoubleTap",7),this.ionSlideWillChange=Object(l.g)(this,"ionSlideWillChange",7),this.ionSlideDidChange=Object(l.g)(this,"ionSlideDidChange",7),this.ionSlideNextStart=Object(l.g)(this,"ionSlideNextStart",7),this.ionSlidePrevStart=Object(l.g)(this,"ionSlidePrevStart",7),this.ionSlideNextEnd=Object(l.g)(this,"ionSlideNextEnd",7),this.ionSlidePrevEnd=Object(l.g)(this,"ionSlidePrevEnd",7),this.ionSlideTransitionStart=Object(l.g)(this,"ionSlideTransitionStart",7),this.ionSlideTransitionEnd=Object(l.g)(this,"ionSlideTransitionEnd",7),this.ionSlideDrag=Object(l.g)(this,"ionSlideDrag",7),this.ionSlideReachStart=Object(l.g)(this,"ionSlideReachStart",7),this.ionSlideReachEnd=Object(l.g)(this,"ionSlideReachEnd",7),this.ionSlideTouchStart=Object(l.g)(this,"ionSlideTouchStart",7),this.ionSlideTouchEnd=Object(l.g)(this,"ionSlideTouchEnd",7),this.swiperReady=!1,this.swiper=new Promise(function(e){i.readySwiper=e}),this.didInit=!1,this.options={},this.pager=!1,this.scrollbar=!1}var r,d,u,f,b,h,m,v,k,x,y,C,D,F,E,S,L,z;return p(t,[{key:"optionsChanged",value:(z=n(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.swiperReady){e.next=7;break}return e.next=3,this.getSwiper();case 3:return t=e.sent,Object.assign(t.params,this.options),e.next=7,this.update();case 7:case"end":return e.stop()}},e,this)})),function(){return z.apply(this,arguments)})},{key:"connectedCallback",value:function(){var e=this;"undefined"!=typeof MutationObserver&&((this.mutationO=new MutationObserver(function(){e.swiperReady&&e.update()})).observe(this.el,{childList:!0,subtree:!0}),Object(w.c)(this.el,function(){e.didInit||(e.didInit=!0,e.initSwiper())}))}},{key:"disconnectedCallback",value:function(){var e=this;this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0);var t=this.syncSwiper;void 0!==t&&(t.destroy(!0,!0),this.swiper=new Promise(function(t){e.readySwiper=t}),this.swiperReady=!1,this.syncSwiper=void 0),this.didInit=!1}},{key:"update",value:(L=n(i().mark(function t(){var r;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([this.getSwiper(),g(this.el)]);case 2:r=t.sent,e(r,1)[0].update();case 6:case"end":return t.stop()}},t,this)})),function(){return L.apply(this,arguments)})},{key:"updateAutoHeight",value:(S=n(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.updateAutoHeight(t);case 3:case"end":return e.stop()}},e,this)})),function(e){return S.apply(this,arguments)})},{key:"slideTo",value:(E=n(i().mark(function e(t,r,n){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slideTo(t,r,n);case 3:case"end":return e.stop()}},e,this)})),function(e,t,i){return E.apply(this,arguments)})},{key:"slideNext",value:(F=n(i().mark(function e(t,r){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slideNext(t,r);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return F.apply(this,arguments)})},{key:"slidePrev",value:(D=n(i().mark(function e(t,r){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.slidePrev(t,r);case 3:case"end":return e.stop()}},e,this)})),function(e,t){return D.apply(this,arguments)})},{key:"getActiveIndex",value:(C=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.activeIndex);case 3:case"end":return e.stop()}},e,this)})),function(){return C.apply(this,arguments)})},{key:"getPreviousIndex",value:(y=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.previousIndex);case 3:case"end":return e.stop()}},e,this)})),function(){return y.apply(this,arguments)})},{key:"length",value:(x=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.slides.length);case 3:case"end":return e.stop()}},e,this)})),function(){return x.apply(this,arguments)})},{key:"isEnd",value:(k=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.isEnd);case 3:case"end":return e.stop()}},e,this)})),function(){return k.apply(this,arguments)})},{key:"isBeginning",value:(v=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:return e.abrupt("return",e.sent.isBeginning);case 3:case"end":return e.stop()}},e,this)})),function(){return v.apply(this,arguments)})},{key:"startAutoplay",value:(m=n(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(t=e.sent).autoplay&&t.autoplay.start();case 4:case"end":return e.stop()}},e,this)})),function(){return m.apply(this,arguments)})},{key:"stopAutoplay",value:(h=n(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(t=e.sent).autoplay&&t.autoplay.stop();case 4:case"end":return e.stop()}},e,this)})),function(){return h.apply(this,arguments)})},{key:"lockSwipeToNext",value:(b=n(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.allowSlideNext=!t;case 3:case"end":return e.stop()}},e,this)})),function(e){return b.apply(this,arguments)})},{key:"lockSwipeToPrev",value:(f=n(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:e.sent.allowSlidePrev=!t;case 3:case"end":return e.stop()}},e,this)})),function(e){return f.apply(this,arguments)})},{key:"lockSwipes",value:(u=n(i().mark(function e(t){var r;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSwiper();case 2:(r=e.sent).allowSlideNext=!t,r.allowSlidePrev=!t,r.allowTouchMove=!t;case 4:case"end":return e.stop()}},e,this)})),function(e){return u.apply(this,arguments)})},{key:"getSwiper",value:(d=n(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.swiper);case 1:case"end":return e.stop()}},e,this)})),function(){return d.apply(this,arguments)})},{key:"initSwiper",value:(r=n(i().mark(function e(){var t,r,n,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.normalizeOptions(),e.next=3,s.e(58).then(s.bind(null,"F/jJ"));case 3:return r=e.sent,n=r.Swiper,e.next=7,g(this.el);case 7:a=new n(this.el,t),this.swiperReady=!0,this.syncSwiper=a,this.readySwiper(a);case 9:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"normalizeOptions",value:function(){var e=this,t={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",autoplay:!1,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};this.pager&&(t.pagination={el:this.paginationEl,type:"bullets",clickable:!1,hideOnClick:!1}),this.scrollbar&&(t.scrollbar={el:this.scrollbarEl,hide:!0});var i={on:{init:function(){setTimeout(function(){e.ionSlidesDidLoad.emit()},20)},slideChangeTransitionStart:this.ionSlideWillChange.emit,slideChangeTransitionEnd:this.ionSlideDidChange.emit,slideNextTransitionStart:this.ionSlideNextStart.emit,slidePrevTransitionStart:this.ionSlidePrevStart.emit,slideNextTransitionEnd:this.ionSlideNextEnd.emit,slidePrevTransitionEnd:this.ionSlidePrevEnd.emit,transitionStart:this.ionSlideTransitionStart.emit,transitionEnd:this.ionSlideTransitionEnd.emit,sliderMove:this.ionSlideDrag.emit,reachBeginning:this.ionSlideReachStart.emit,reachEnd:this.ionSlideReachEnd.emit,touchStart:this.ionSlideTouchStart.emit,touchEnd:this.ionSlideTouchEnd.emit,tap:this.ionSlideTap.emit,doubleTap:this.ionSlideDoubleTap.emit}},r={on:Object.assign(Object.assign({},this.options&&this.options.on?this.options.on:{}),i.on)};return Object.assign(Object.assign(Object.assign({},t),this.options),r)}},{key:"render",value:function(){var e,t=this,i=Object(c.b)(this);return Object(l.j)(l.c,{class:(e={},a(e,""+i,!0),a(e,"slides-"+i,!0),a(e,"swiper-container",!0),e)},Object(l.j)("div",{class:"swiper-wrapper"},Object(l.j)("slot",null)),this.pager&&Object(l.j)("div",{class:"swiper-pagination",ref:function(e){return t.paginationEl=e}}),this.scrollbar&&Object(l.j)("div",{class:"swiper-scrollbar",ref:function(e){return t.scrollbarEl=e}}))}},{key:"el",get:function(){return Object(l.k)(this)}}],[{key:"assetsDirs",get:function(){return["swiper"]}},{key:"watchers",get:function(){return{options:["optionsChanged"]}}}]),t}(),g=function(e){return Promise.all(Array.from(e.querySelectorAll("ion-slide")).map(function(e){return new Promise(function(t){return Object(w.c)(e,t)})}))};u.style={ios:".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical{height:100%}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-invisible-blank-slide{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;-o-transition-property:transform, height;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-wrapper,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-prev,.swiper-button-next{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;-o-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal>.swiper-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:0.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;-o-transition:200ms transform, 200ms top;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;-o-transition:200ms transform, 200ms left;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;-o-transition:200ms transform, 200ms right;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-progressbar{background:rgba(0, 0, 0, 0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progressbar,.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#ffffff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255, 255, 255, 0.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#ffffff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0, 0, 0, 0.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0, 0, 0, 0.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0, 0, 0, 0.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12, end) infinite;animation:swiper-preloader-spin 1s steps(12, end) infinite}.swiper-lazy-preloader:after{display:block;content:\"\";width:100%;height:100%;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-prev,.swiper-container-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:0.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}ion-slides{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swiper-pagination-bullet{background:var(--bullet-background)}.swiper-pagination-bullet-active{background:var(--bullet-background-active)}.swiper-pagination-progressbar{background:var(--progress-bar-background)}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--progress-bar-background-active)}.swiper-scrollbar{background:var(--scroll-bar-background)}.swiper-scrollbar-drag{background:var(--scroll-bar-background-active)}.slides-ios{--bullet-background:var(--ion-color-step-200, #cccccc);--bullet-background-active:var(--ion-color-primary, #3880ff);--progress-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.25);--progress-bar-background-active:var(--ion-color-primary-shade, #3171e0);--scroll-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--scroll-bar-background-active:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.5)}",md:".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical{height:100%}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0px, 0, 0);transform:translate3d(0px, 0, 0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform, -webkit-transform}.swiper-invisible-blank-slide{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height, -webkit-transform;transition-property:height, -webkit-transform;-o-transition-property:transform, height;transition-property:transform, height;transition-property:transform, height, -webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-wrapper,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-cube-shadow{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));background-image:-webkit-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:-o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-prev,.swiper-button-next{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:300ms opacity;-o-transition:300ms opacity;transition:300ms opacity;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-container-horizontal>.swiper-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(0.66);-ms-transform:scale(0.66);transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(0.33);-ms-transform:scale(0.33);transform:scale(0.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:0.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0px, -50%, 0);transform:translate3d(0px, -50%, 0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:200ms top, 200ms -webkit-transform;transition:200ms top, 200ms -webkit-transform;-o-transition:200ms transform, 200ms top;transition:200ms transform, 200ms top;transition:200ms transform, 200ms top, 200ms -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms left, 200ms -webkit-transform;transition:200ms left, 200ms -webkit-transform;-o-transition:200ms transform, 200ms left;transition:200ms transform, 200ms left;transition:200ms transform, 200ms left, 200ms -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:200ms right, 200ms -webkit-transform;transition:200ms right, 200ms -webkit-transform;-o-transition:200ms transform, 200ms right;transition:200ms transform, 200ms right;transition:200ms transform, 200ms right, 200ms -webkit-transform}.swiper-pagination-progressbar{background:rgba(0, 0, 0, 0.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-vertical>.swiper-pagination-progressbar,.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#ffffff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255, 255, 255, 0.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#ffffff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0, 0, 0, 0.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0, 0, 0, 0.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0, 0, 0, 0.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12, end) infinite;animation:swiper-preloader-spin 1s steps(12, end) infinite}.swiper-lazy-preloader:after{display:block;content:\"\";width:100%;height:100%;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-prev,.swiper-container-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:0.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}ion-slides{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swiper-pagination-bullet{background:var(--bullet-background)}.swiper-pagination-bullet-active{background:var(--bullet-background-active)}.swiper-pagination-progressbar{background:var(--progress-bar-background)}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--progress-bar-background-active)}.swiper-scrollbar{background:var(--scroll-bar-background)}.swiper-scrollbar-drag{background:var(--scroll-bar-background-active)}.slides-md{--bullet-background:var(--ion-color-step-200, #cccccc);--bullet-background-active:var(--ion-color-primary, #3880ff);--progress-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.25);--progress-bar-background-active:var(--ion-color-primary-shade, #3171e0);--scroll-bar-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);--scroll-bar-background-active:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.5)}"}}}])}(); \ No newline at end of file diff --git a/dist/46-es5.fd882252879c51fbd4e6.js b/dist/46-es5.fd882252879c51fbd4e6.js index 84d726911d..916af93722 100644 --- a/dist/46-es5.fd882252879c51fbd4e6.js +++ b/dist/46-es5.fd882252879c51fbd4e6.js @@ -1 +1 @@ -!function(){function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function r(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{nI0H:function(t,n,i){"use strict";i.r(n),i.d(n,"ion_spinner",function(){return c});var s=i("wEJo"),a=i("E/Mt"),o=i("74mu"),l=i("h3R7"),c=function(){function t(e){!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),Object(s.o)(this,e),this.paused=!1}var n,i,c;return n=t,(i=[{key:"getName",value:function(){var e=this.name||a.c.get("spinner"),r=Object(a.b)(this);return e||("ios"===r?"lines":"circular")}},{key:"render",value:function(){var r,t=Object(a.b)(this),n=this.getName(),i=l.a[n]||l.a.lines,c="number"==typeof this.duration&&this.duration>10?this.duration:i.dur,m=[];if(void 0!==i.circles)for(var u=0;u<i.circles;u++)m.push(f(i,c,u,i.circles));else if(void 0!==i.lines)for(var k=0;k<i.lines;k++)m.push(p(i,c,k,i.lines));return Object(s.j)(s.c,{class:Object(o.a)(this.color,(r={},e(r,t,!0),e(r,"spinner-"+n,!0),e(r,"spinner-paused",!!this.paused||a.c.getBoolean("_testing")),r)),role:"progressbar",style:i.elmDuration?{animationDuration:c+"ms"}:{}},m)}}])&&r(n.prototype,i),c&&r(n,c),t}(),f=function(e,r,t,n){var i=e.fn(r,t,n);return i.style["animation-duration"]=r+"ms",Object(s.j)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},Object(s.j)("circle",{transform:i.transform||"translate(32,32)",cx:i.cx,cy:i.cy,r:i.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))},p=function(e,r,t,n){var i=e.fn(r,t,n);return i.style["animation-duration"]=r+"ms",Object(s.j)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},Object(s.j)("line",{transform:"translate(32,32)",y1:i.y1,y2:i.y2}))};c.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{left:0;top:0;-webkit-transform-origin:center;transform-origin:center;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{left:unset;right:unset;right:0}[dir=rtl] svg,:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:4px;stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular){-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"}}])}(); \ No newline at end of file +!function(){function e(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function r(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{nI0H:function(t,n,i){"use strict";i.r(n),i.d(n,"ion_spinner",function(){return c});var s=i("wEJo"),a=i("E/Mt"),o=i("74mu"),l=i("h3R7"),c=function(){function t(e){!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),Object(s.o)(this,e),this.paused=!1}var n,i,c;return n=t,(i=[{key:"getName",value:function(){var e=this.name||a.c.get("spinner"),r=Object(a.b)(this);return e||("ios"===r?"lines":"circular")}},{key:"render",value:function(){var r,t=Object(a.b)(this),n=this.getName(),i=l.a[n]||l.a.lines,c="number"==typeof this.duration&&this.duration>10?this.duration:i.dur,m=[];if(void 0!==i.circles)for(var u=0;u<i.circles;u++)m.push(f(i,c,u,i.circles));else if(void 0!==i.lines)for(var k=0;k<i.lines;k++)m.push(p(i,c,k,i.lines));return Object(s.j)(s.c,{class:Object(o.a)(this.color,(r={},e(r,t,!0),e(r,"spinner-"+n,!0),e(r,"spinner-paused",!!this.paused||a.c.getBoolean("_testing")),r)),role:"progressbar",style:i.elmDuration?{animationDuration:c+"ms"}:{}},m)}}])&&r(n.prototype,i),c&&r(n,c),Object.defineProperty(n,"prototype",{writable:!1}),t}(),f=function(e,r,t,n){var i=e.fn(r,t,n);return i.style["animation-duration"]=r+"ms",Object(s.j)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},Object(s.j)("circle",{transform:i.transform||"translate(32,32)",cx:i.cx,cy:i.cy,r:i.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))},p=function(e,r,t,n){var i=e.fn(r,t,n);return i.style["animation-duration"]=r+"ms",Object(s.j)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},Object(s.j)("line",{transform:"translate(32,32)",y1:i.y1,y2:i.y2}))};c.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{left:0;top:0;-webkit-transform-origin:center;transform-origin:center;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{left:unset;right:unset;right:0}[dir=rtl] svg,:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:4px;stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular){-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"}}])}(); \ No newline at end of file diff --git a/dist/47-es5.654d2446600ad02ea40d.js b/dist/47-es5.654d2446600ad02ea40d.js index 6bf060d928..825f0b4b86 100644 --- a/dist/47-es5.654d2446600ad02ea40d.js +++ b/dist/47-es5.654d2446600ad02ea40d.js @@ -1 +1 @@ -!function(){function e(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function i(e,i){for(var t=0;t<i.length;t++){var s=i[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{NAQR:function(t,s,n){"use strict";n.r(s),n.d(s,"ion_split_pane",function(){return d});var r=n("wEJo"),o=n("E/Mt"),a={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},d=function(){function t(e){!function(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),Object(r.o)(this,e),this.ionSplitPaneVisible=Object(r.g)(this,"ionSplitPaneVisible",7),this.visible=!1,this.disabled=!1,this.when=a.lg}var s,n,d;return s=t,d=[{key:"watchers",get:function(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}}],(n=[{key:"visibleChanged",value:function(e){var i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)}},{key:"connectedCallback",value:function(){this.styleChildren(),this.updateState()}},{key:"disconnectedCallback",value:function(){this.rmL&&(this.rmL(),this.rmL=void 0)}},{key:"updateState",value:function(){var e=this;if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)this.visible=!1;else{var i=this.when;if("boolean"!=typeof i){var t=a[i]||i;if(0!==t.length){if(window.matchMedia){var s=function(i){e.visible=i.matches},n=window.matchMedia(t);n.addListener(s),this.rmL=function(){return n.removeListener(s)},this.visible=n.matches}}else this.visible=!1}else this.visible=i}}},{key:"isPane",value:function(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains("split-pane-side")}},{key:"styleChildren",value:function(){for(var e=this.contentId,i=this.el.children,t=this.el.childElementCount,s=!1,n=0;n<t;n++){var r=i[n],o=void 0!==e&&r.id===e;if(o){if(s)return void console.warn("split pane cannot have more than one main node");s=!0}l(r,o)}s||console.warn("split pane does not have a specified main node")}},{key:"render",value:function(){var i,t=Object(o.b)(this);return Object(r.j)(r.c,{class:(i={},e(i,t,!0),e(i,"split-pane-"+t,!0),e(i,"split-pane-visible",this.visible),i)},Object(r.j)("slot",null))}},{key:"el",get:function(){return Object(r.k)(this)}}])&&i(s.prototype,n),d&&i(s,d),t}(),l=function(e,i){var t,s;i?(t="split-pane-main",s="split-pane-side"):(t="split-pane-side",s="split-pane-main");var n=e.classList;n.add(t),n.remove(s)};d.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}"}}}])}(); \ No newline at end of file +!function(){function e(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function i(e,i){for(var t=0;t<i.length;t++){var s=i[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{NAQR:function(t,s,n){"use strict";n.r(s),n.d(s,"ion_split_pane",function(){return d});var r=n("wEJo"),o=n("E/Mt"),a={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},d=function(){function t(e){!function(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}(this,t),Object(r.o)(this,e),this.ionSplitPaneVisible=Object(r.g)(this,"ionSplitPaneVisible",7),this.visible=!1,this.disabled=!1,this.when=a.lg}var s,n,d;return s=t,d=[{key:"watchers",get:function(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}}],(n=[{key:"visibleChanged",value:function(e){var i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)}},{key:"connectedCallback",value:function(){this.styleChildren(),this.updateState()}},{key:"disconnectedCallback",value:function(){this.rmL&&(this.rmL(),this.rmL=void 0)}},{key:"updateState",value:function(){var e=this;if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)this.visible=!1;else{var i=this.when;if("boolean"!=typeof i){var t=a[i]||i;if(0!==t.length){if(window.matchMedia){var s=function(i){e.visible=i.matches},n=window.matchMedia(t);n.addListener(s),this.rmL=function(){return n.removeListener(s)},this.visible=n.matches}}else this.visible=!1}else this.visible=i}}},{key:"isPane",value:function(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains("split-pane-side")}},{key:"styleChildren",value:function(){for(var e=this.contentId,i=this.el.children,t=this.el.childElementCount,s=!1,n=0;n<t;n++){var r=i[n],o=void 0!==e&&r.id===e;if(o){if(s)return void console.warn("split pane cannot have more than one main node");s=!0}l(r,o)}s||console.warn("split pane does not have a specified main node")}},{key:"render",value:function(){var i,t=Object(o.b)(this);return Object(r.j)(r.c,{class:(i={},e(i,t,!0),e(i,"split-pane-"+t,!0),e(i,"split-pane-visible",this.visible),i)},Object(r.j)("slot",null))}},{key:"el",get:function(){return Object(r.k)(this)}}])&&i(s.prototype,n),d&&i(s,d),Object.defineProperty(s,"prototype",{writable:!1}),t}(),l=function(e,i){var t,s;i?(t="split-pane-main",s="split-pane-side"):(t="split-pane-side",s="split-pane-main");var n=e.classList;n.add(t),n.remove(s)};d.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}"}}}])}(); \ No newline at end of file diff --git a/dist/48-es5.029240886d394fa43ac7.js b/dist/48-es5.029240886d394fa43ac7.js index 79353e4eb5..f7a7fdf862 100644 --- a/dist/48-es5.029240886d394fa43ac7.js +++ b/dist/48-es5.029240886d394fa43ac7.js @@ -1 +1 @@ -!function(){function t(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function o(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function e(t,o){for(var e=0;e<o.length;e++){var i=o[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{knkW:function(e,n,a){"use strict";a.r(n),a.d(n,"ion_tab_bar",function(){return d}),a.d(n,"ion_tab_button",function(){return b});var r=a("wEJo"),l=a("E/Mt"),s=a("74mu"),d=function(){function e(t){o(this,e),Object(r.o)(this,t),this.ionTabBarChanged=Object(r.g)(this,"ionTabBarChanged",7),this.keyboardVisible=!1,this.translucent=!1}return i(e,[{key:"selectedTabChanged",value:function(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}},{key:"componentWillLoad",value:function(){this.selectedTabChanged()}},{key:"connectedCallback",value:function(){var t=this;"undefined"!=typeof window&&(this.keyboardWillShowHandler=function(){"top"!==t.el.getAttribute("slot")&&(t.keyboardVisible=!0)},this.keyboardWillHideHandler=function(){setTimeout(function(){return t.keyboardVisible=!1},50)},window.addEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.addEventListener("keyboardWillHide",this.keyboardWillHideHandler))}},{key:"disconnectedCallback",value:function(){"undefined"!=typeof window&&(window.removeEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.removeEventListener("keyboardWillHide",this.keyboardWillHideHandler),this.keyboardWillShowHandler=this.keyboardWillHideHandler=void 0)}},{key:"render",value:function(){var o,e=this.color,i=this.translucent,n=this.keyboardVisible,a=Object(l.b)(this);return Object(r.j)(r.c,{role:"tablist","aria-hidden":n?"true":null,class:Object(s.a)(e,(o={},t(o,a,!0),t(o,"tab-bar-translucent",i),t(o,"tab-bar-hidden",n),o))},Object(r.j)("slot",null))}},{key:"el",get:function(){return Object(r.k)(this)}}],[{key:"watchers",get:function(){return{selectedTab:["selectedTabChanged"]}}}]),e}();d.style={ios:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-400, #999999));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};var b=function(){function e(t){var i=this;o(this,e),Object(r.o)(this,t),this.ionTabButtonClick=Object(r.g)(this,"ionTabButtonClick",7),this.disabled=!1,this.selected=!1,this.onKeyUp=function(t){"Enter"!==t.key&&" "!==t.key||i.selectTab(t)},this.onClick=function(t){i.selectTab(t)}}return i(e,[{key:"onTabBarChanged",value:function(t){var o=t.target,e=this.el.parentElement;(t.composedPath&&t.composedPath().includes(e)||o&&o.contains(this.el))&&(this.selected=this.tab===t.detail.tab)}},{key:"componentWillLoad",value:function(){void 0===this.layout&&(this.layout=l.c.get("tabButtonLayout","icon-top"))}},{key:"selectTab",value:function(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}},{key:"hasLabel",get:function(){return!!this.el.querySelector("ion-label")}},{key:"hasIcon",get:function(){return!!this.el.querySelector("ion-icon")}},{key:"tabIndex",get:function(){return this.disabled?-1:this.el.hasAttribute("tabindex")?this.el.getAttribute("tabindex"):0}},{key:"render",value:function(){var o,e=this.disabled,i=this.hasIcon,n=this.hasLabel,a=this.tabIndex,s=this.href,d=this.rel,b=this.target,c=this.layout,h=this.selected,g=this.tab,p=Object(l.b)(this),u={download:this.download,href:s,rel:d,target:b};return Object(r.j)(r.c,{onClick:this.onClick,onKeyup:this.onKeyUp,role:"tab",tabindex:a,"aria-selected":h?"true":null,id:void 0!==g?"tab-button-"+g:null,class:(o={},t(o,p,!0),t(o,"tab-selected",h),t(o,"tab-disabled",e),t(o,"tab-has-label",n),t(o,"tab-has-icon",i),t(o,"tab-has-label-only",n&&!i),t(o,"tab-has-icon-only",i&&!n),t(o,"tab-layout-"+c,!0),t(o,"ion-activatable",!0),t(o,"ion-selectable",!0),t(o,"ion-focusable",!0),o)},Object(r.j)("a",Object.assign({},u,{tabIndex:-1,class:"button-native",part:"native"}),Object(r.j)("span",{class:"button-inner"},Object(r.j)("slot",null)),"md"===p&&Object(r.j)("ion-ripple-effect",{type:"unbounded"})))}},{key:"el",get:function(){return Object(r.k)(this)}}]),e}();b.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){padding-left:6px;padding-right:6px;padding-top:1px;padding-bottom:1px;left:calc(50% + 6px);top:4px;height:auto;font-size:12px;line-height:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}[dir=rtl] ::slotted(ion-icon),:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}::slotted(ion-badge){border-radius:8px;padding-left:2px;padding-right:2px;padding-top:3px;padding-bottom:2px;left:calc(50% + 6px);top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%;top:8px}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:unset;-webkit-margin-end:6px;margin-inline-end:6px}}:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:unset;-webkit-margin-start:6px;margin-inline-start:6px}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}}}])}(); \ No newline at end of file +!function(){function t(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function o(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function e(t,o){for(var e=0;e<o.length;e++){var i=o[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{knkW:function(e,n,a){"use strict";a.r(n),a.d(n,"ion_tab_bar",function(){return d}),a.d(n,"ion_tab_button",function(){return b});var r=a("wEJo"),l=a("E/Mt"),s=a("74mu"),d=function(){function e(t){o(this,e),Object(r.o)(this,t),this.ionTabBarChanged=Object(r.g)(this,"ionTabBarChanged",7),this.keyboardVisible=!1,this.translucent=!1}return i(e,[{key:"selectedTabChanged",value:function(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}},{key:"componentWillLoad",value:function(){this.selectedTabChanged()}},{key:"connectedCallback",value:function(){var t=this;"undefined"!=typeof window&&(this.keyboardWillShowHandler=function(){"top"!==t.el.getAttribute("slot")&&(t.keyboardVisible=!0)},this.keyboardWillHideHandler=function(){setTimeout(function(){return t.keyboardVisible=!1},50)},window.addEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.addEventListener("keyboardWillHide",this.keyboardWillHideHandler))}},{key:"disconnectedCallback",value:function(){"undefined"!=typeof window&&(window.removeEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.removeEventListener("keyboardWillHide",this.keyboardWillHideHandler),this.keyboardWillShowHandler=this.keyboardWillHideHandler=void 0)}},{key:"render",value:function(){var o,e=this.color,i=this.translucent,n=this.keyboardVisible,a=Object(l.b)(this);return Object(r.j)(r.c,{role:"tablist","aria-hidden":n?"true":null,class:Object(s.a)(e,(o={},t(o,a,!0),t(o,"tab-bar-translucent",i),t(o,"tab-bar-hidden",n),o))},Object(r.j)("slot",null))}},{key:"el",get:function(){return Object(r.k)(this)}}],[{key:"watchers",get:function(){return{selectedTab:["selectedTabChanged"]}}}]),e}();d.style={ios:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-400, #999999));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};var b=function(){function e(t){var i=this;o(this,e),Object(r.o)(this,t),this.ionTabButtonClick=Object(r.g)(this,"ionTabButtonClick",7),this.disabled=!1,this.selected=!1,this.onKeyUp=function(t){"Enter"!==t.key&&" "!==t.key||i.selectTab(t)},this.onClick=function(t){i.selectTab(t)}}return i(e,[{key:"onTabBarChanged",value:function(t){var o=t.target,e=this.el.parentElement;(t.composedPath&&t.composedPath().includes(e)||o&&o.contains(this.el))&&(this.selected=this.tab===t.detail.tab)}},{key:"componentWillLoad",value:function(){void 0===this.layout&&(this.layout=l.c.get("tabButtonLayout","icon-top"))}},{key:"selectTab",value:function(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}},{key:"hasLabel",get:function(){return!!this.el.querySelector("ion-label")}},{key:"hasIcon",get:function(){return!!this.el.querySelector("ion-icon")}},{key:"tabIndex",get:function(){return this.disabled?-1:this.el.hasAttribute("tabindex")?this.el.getAttribute("tabindex"):0}},{key:"render",value:function(){var o,e=this.disabled,i=this.hasIcon,n=this.hasLabel,a=this.tabIndex,s=this.href,d=this.rel,b=this.target,c=this.layout,h=this.selected,g=this.tab,p=Object(l.b)(this),u={download:this.download,href:s,rel:d,target:b};return Object(r.j)(r.c,{onClick:this.onClick,onKeyup:this.onKeyUp,role:"tab",tabindex:a,"aria-selected":h?"true":null,id:void 0!==g?"tab-button-"+g:null,class:(o={},t(o,p,!0),t(o,"tab-selected",h),t(o,"tab-disabled",e),t(o,"tab-has-label",n),t(o,"tab-has-icon",i),t(o,"tab-has-label-only",n&&!i),t(o,"tab-has-icon-only",i&&!n),t(o,"tab-layout-"+c,!0),t(o,"ion-activatable",!0),t(o,"ion-selectable",!0),t(o,"ion-focusable",!0),o)},Object(r.j)("a",Object.assign({},u,{tabIndex:-1,class:"button-native",part:"native"}),Object(r.j)("span",{class:"button-inner"},Object(r.j)("slot",null)),"md"===p&&Object(r.j)("ion-ripple-effect",{type:"unbounded"})))}},{key:"el",get:function(){return Object(r.k)(this)}}]),e}();b.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){padding-left:6px;padding-right:6px;padding-top:1px;padding-bottom:1px;left:calc(50% + 6px);top:4px;height:auto;font-size:12px;line-height:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}[dir=rtl] ::slotted(ion-icon),:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}::slotted(ion-badge){border-radius:8px;padding-left:2px;padding-right:2px;padding-top:3px;padding-bottom:2px;left:calc(50% + 6px);top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%;top:8px}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:unset;-webkit-margin-end:6px;margin-inline-end:6px}}:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:unset;-webkit-margin-start:6px;margin-inline-start:6px}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}}}])}(); \ No newline at end of file diff --git a/dist/49-es5.17970e7ad4b1fc3c06d5.js b/dist/49-es5.17970e7ad4b1fc3c06d5.js index 9978b47a97..818e3652a0 100644 --- a/dist/49-es5.17970e7ad4b1fc3c06d5.js +++ b/dist/49-es5.17970e7ad4b1fc3c06d5.js @@ -1 +1 @@ -!function(){function e(e,t,n,i,r,a,o){try{var s=e[a](o),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(i,r)}function t(t){return function(){var n=this,i=arguments;return new Promise(function(r,a){var o=t.apply(n,i);function s(t){e(o,r,a,s,u,"next",t)}function u(t){e(o,r,a,s,u,"throw",t)}s(void 0)})}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{TpdJ:function(e,i,a){"use strict";a.r(i),a.d(i,"ion_tab",function(){return u}),a.d(i,"ion_tabs",function(){return c});var o=a("wEJo"),s=a("acej");a("1vRN");var u=function(){function e(t){n(this,e),Object(o.o)(this,t),this.loaded=!1,this.active=!1}var i,a;return r(e,[{key:"componentWillLoad",value:(a=t(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.active,!e.t0){e.next=4;break}return e.next=4,this.setActive();case 4:case"end":return e.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"setActive",value:(i=t(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.prepareLazyLoaded();case 2:this.active=!0;case 3:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"changeActive",value:function(e){e&&this.prepareLazyLoaded()}},{key:"prepareLazyLoaded",value:function(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return Object(s.a)(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}},{key:"render",value:function(){var e=this.tab,t=this.active,n=this.component;return Object(o.j)(o.c,{role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":"tab-button-"+e,class:{"ion-page":void 0===n,"tab-hidden":!t}},Object(o.j)("slot",null))}},{key:"el",get:function(){return Object(o.k)(this)}}],[{key:"watchers",get:function(){return{active:["changeActive"]}}}]),e}();u.style=":host(.tab-hidden){display:none !important}";var c=function(){function e(t){var i=this;n(this,e),Object(o.o)(this,t),this.ionNavWillLoad=Object(o.g)(this,"ionNavWillLoad",7),this.ionTabsWillChange=Object(o.g)(this,"ionTabsWillChange",3),this.ionTabsDidChange=Object(o.g)(this,"ionTabsDidChange",3),this.transitioning=!1,this.useRouter=!1,this.onTabClicked=function(e){var t=e.detail,n=t.href,r=t.tab;if(i.useRouter&&void 0!==n){var a=document.querySelector("ion-router");a&&a.push(n)}else i.select(r)}}var i,a,s,u,c;return r(e,[{key:"componentWillLoad",value:(c=t(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.useRouter||(this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")),this.useRouter){e.next=6;break}if(t=this.tabs,e.t0=t.length>0,!e.t0){e.next=6;break}return e.next=6,this.select(t[0]);case 6:this.ionNavWillLoad.emit();case 7:case"end":return e.stop()}},e,this)})),function(){return c.apply(this,arguments)})},{key:"componentWillRender",value:function(){var e=this.el.querySelector("ion-tab-bar");e&&(e.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}},{key:"select",value:(u=t(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l(this.tabs,t),e.t0=!!this.shouldSwitch(n),!e.t0){e.next=9;break}return e.next=5,this.setActive(n);case 5:return e.next=7,this.notifyRouter();case 7:this.tabSwitch(),e.t0=!0;case 9:return e.abrupt("return",e.t0);case 10:case"end":return e.stop()}},e,this)})),function(e){return u.apply(this,arguments)})},{key:"getTab",value:(s=t(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",l(this.tabs,t));case 1:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)})},{key:"getSelected",value:function(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}},{key:"setRouteId",value:(a=t(regeneratorRuntime.mark(function e(t){var n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l(this.tabs,t),!this.shouldSwitch(n)){e.next=7;break}return e.next=4,this.setActive(n);case 4:e.t0={changed:!0,element:this.selectedTab,markVisible:function(){return i.tabSwitch()}},e.next=8;break;case 7:e.t0={changed:!1,element:this.selectedTab};case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"getRouteId",value:(i=t(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.selectedTab&&this.selectedTab.tab,e.abrupt("return",void 0!==t?{id:t,element:this.selectedTab}:void 0);case 2:case"end":return e.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"setActive",value:function(e){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=e,this.ionTabsWillChange.emit({tab:e.tab}),e.active=!0,Promise.resolve())}},{key:"tabSwitch",value:function(){var e=this.selectedTab,t=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,e&&t!==e&&(t&&(t.active=!1),this.ionTabsDidChange.emit({tab:e.tab}))}},{key:"notifyRouter",value:function(){if(this.useRouter){var e=document.querySelector("ion-router");if(e)return e.navChanged("forward")}return Promise.resolve(!1)}},{key:"shouldSwitch",value:function(e){return void 0!==e&&e!==this.selectedTab&&!this.transitioning}},{key:"tabs",get:function(){return Array.from(this.el.querySelectorAll("ion-tab"))}},{key:"render",value:function(){return Object(o.j)(o.c,{onIonTabButtonClick:this.onTabClicked},Object(o.j)("slot",{name:"top"}),Object(o.j)("div",{class:"tabs-inner"},Object(o.j)("slot",null)),Object(o.j)("slot",{name:"bottom"}))}},{key:"el",get:function(){return Object(o.k)(this)}}]),e}(),l=function(e,t){var n="string"==typeof t?e.find(function(e){return e.tab===t}):t;return n||console.error('tab with id: "'.concat(n,'" does not exist')),n};c.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}])}(); \ No newline at end of file +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var e={},r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(E){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),a=new j(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return O()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}e.wrap=u;var h={};function f(){}function d(){}function p(){}var v={};s(v,o,function(){return this});var y=Object.getPrototypeOf,b=y&&y(y(T([])));b&&b!==r&&n.call(b,o)&&(v=b);var g=p.prototype=f.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function r(i,o,a,c){var s=l(t[i],t,o);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(h).then(function(t){u.value=t,a(u)},function(t){return r("throw",t,a,c)})}c(s.arg)}var i;this._invoke=function(t,n){function o(){return new e(function(e,i){r(t,n,e,i)})}return i=i?i.then(o,o):o()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=p,s(g,"constructor",p),s(p,"constructor",d),d.displayName=s(p,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},m(w.prototype),s(w.prototype,a,function(){return this}),e.AsyncIterator=w,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new w(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(g),s(g,c,"Generator"),s(g,o,function(){return this}),s(g,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,j.prototype={constructor:j,reset:function(t){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(L),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;L(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},e}function e(t,e,r,n,i,o,a){try{var c=t[o](a),s=c.value}catch(u){return void r(u)}c.done?e(s):Promise.resolve(s).then(n,i)}function r(t){return function(){var r=this,n=arguments;return new Promise(function(i,o){var a=t.apply(r,n);function c(t){e(a,i,o,c,s,"next",t)}function s(t){e(a,i,o,c,s,"throw",t)}c(void 0)})}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{TpdJ:function(e,i,a){"use strict";a.r(i),a.d(i,"ion_tab",function(){return u}),a.d(i,"ion_tabs",function(){return l});var c=a("wEJo"),s=a("acej");a("1vRN");var u=function(){function e(t){n(this,e),Object(c.o)(this,t),this.loaded=!1,this.active=!1}var i,a;return o(e,[{key:"componentWillLoad",value:(a=r(t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this.active,!t.t0){t.next=4;break}return t.next=4,this.setActive();case 4:case"end":return t.stop()}},e,this)})),function(){return a.apply(this,arguments)})},{key:"setActive",value:(i=r(t().mark(function e(){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.prepareLazyLoaded();case 2:this.active=!0;case 3:case"end":return t.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"changeActive",value:function(t){t&&this.prepareLazyLoaded()}},{key:"prepareLazyLoaded",value:function(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return Object(s.a)(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(void 0)}},{key:"render",value:function(){var t=this.tab,e=this.active,r=this.component;return Object(c.j)(c.c,{role:"tabpanel","aria-hidden":e?null:"true","aria-labelledby":"tab-button-"+t,class:{"ion-page":void 0===r,"tab-hidden":!e}},Object(c.j)("slot",null))}},{key:"el",get:function(){return Object(c.k)(this)}}],[{key:"watchers",get:function(){return{active:["changeActive"]}}}]),e}();u.style=":host(.tab-hidden){display:none !important}";var l=function(){function e(t){var r=this;n(this,e),Object(c.o)(this,t),this.ionNavWillLoad=Object(c.g)(this,"ionNavWillLoad",7),this.ionTabsWillChange=Object(c.g)(this,"ionTabsWillChange",3),this.ionTabsDidChange=Object(c.g)(this,"ionTabsDidChange",3),this.transitioning=!1,this.useRouter=!1,this.onTabClicked=function(t){var e=t.detail,n=e.href,i=e.tab;if(r.useRouter&&void 0!==n){var o=document.querySelector("ion-router");o&&o.push(n)}else r.select(i)}}var i,a,s,u,l;return o(e,[{key:"componentWillLoad",value:(l=r(t().mark(function e(){var r;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.useRouter||(this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")),this.useRouter){t.next=6;break}if(r=this.tabs,t.t0=r.length>0,!t.t0){t.next=6;break}return t.next=6,this.select(r[0]);case 6:this.ionNavWillLoad.emit();case 7:case"end":return t.stop()}},e,this)})),function(){return l.apply(this,arguments)})},{key:"componentWillRender",value:function(){var t=this.el.querySelector("ion-tab-bar");t&&(t.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}},{key:"select",value:(u=r(t().mark(function e(r){var n;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=h(this.tabs,r),t.t0=!!this.shouldSwitch(n),!t.t0){t.next=9;break}return t.next=5,this.setActive(n);case 5:return t.next=7,this.notifyRouter();case 7:this.tabSwitch(),t.t0=!0;case 9:return t.abrupt("return",t.t0);case 10:case"end":return t.stop()}},e,this)})),function(t){return u.apply(this,arguments)})},{key:"getTab",value:(s=r(t().mark(function e(r){return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h(this.tabs,r));case 1:case"end":return t.stop()}},e,this)})),function(t){return s.apply(this,arguments)})},{key:"getSelected",value:function(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}},{key:"setRouteId",value:(a=r(t().mark(function e(r){var n,i=this;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=h(this.tabs,r),!this.shouldSwitch(n)){t.next=7;break}return t.next=4,this.setActive(n);case 4:t.t0={changed:!0,element:this.selectedTab,markVisible:function(){return i.tabSwitch()}},t.next=8;break;case 7:t.t0={changed:!1,element:this.selectedTab};case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}},e,this)})),function(t){return a.apply(this,arguments)})},{key:"getRouteId",value:(i=r(t().mark(function e(){var r;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.selectedTab&&this.selectedTab.tab,t.abrupt("return",void 0!==r?{id:r,element:this.selectedTab}:void 0);case 2:case"end":return t.stop()}},e,this)})),function(){return i.apply(this,arguments)})},{key:"setActive",value:function(t){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=t,this.ionTabsWillChange.emit({tab:t.tab}),t.active=!0,Promise.resolve())}},{key:"tabSwitch",value:function(){var t=this.selectedTab,e=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,t&&e!==t&&(e&&(e.active=!1),this.ionTabsDidChange.emit({tab:t.tab}))}},{key:"notifyRouter",value:function(){if(this.useRouter){var t=document.querySelector("ion-router");if(t)return t.navChanged("forward")}return Promise.resolve(!1)}},{key:"shouldSwitch",value:function(t){return void 0!==t&&t!==this.selectedTab&&!this.transitioning}},{key:"tabs",get:function(){return Array.from(this.el.querySelectorAll("ion-tab"))}},{key:"render",value:function(){return Object(c.j)(c.c,{onIonTabButtonClick:this.onTabClicked},Object(c.j)("slot",{name:"top"}),Object(c.j)("div",{class:"tabs-inner"},Object(c.j)("slot",null)),Object(c.j)("slot",{name:"bottom"}))}},{key:"el",get:function(){return Object(c.k)(this)}}]),e}(),h=function(t,e){var r="string"==typeof e?t.find(function(t){return t.tab===e}):e;return r||console.error('tab with id: "'.concat(r,'" does not exist')),r};l.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}])}(); \ No newline at end of file diff --git a/dist/50-es5.c1df5328a39123e79980.js b/dist/50-es5.c1df5328a39123e79980.js index 6b5996cf5c..8bf69bab54 100644 --- a/dist/50-es5.c1df5328a39123e79980.js +++ b/dist/50-es5.c1df5328a39123e79980.js @@ -1 +1 @@ -!function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{ISmu:function(n,t,o){"use strict";o.r(t),o.d(t,"ion_text",function(){return a});var r=o("wEJo"),c=o("E/Mt"),i=o("74mu"),a=function(){function n(e){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),Object(r.o)(this,e)}var t,o,a;return t=n,(o=[{key:"render",value:function(){var e,n,t,o=Object(c.b)(this);return Object(r.j)(r.c,{class:Object(i.a)(this.color,(e={},n=o,t=!0,n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e))},Object(r.j)("slot",null))}}])&&e(t.prototype,o),a&&e(t,a),n}();a.style=":host(.ion-color){color:var(--ion-color-base)}"}}])}(); \ No newline at end of file +!function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{ISmu:function(n,t,o){"use strict";o.r(t),o.d(t,"ion_text",function(){return a});var r=o("wEJo"),c=o("E/Mt"),i=o("74mu"),a=function(){function n(e){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),Object(r.o)(this,e)}var t,o,a;return t=n,(o=[{key:"render",value:function(){var e,n,t,o=Object(c.b)(this);return Object(r.j)(r.c,{class:Object(i.a)(this.color,(e={},n=o,t=!0,n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e))},Object(r.j)("slot",null))}}])&&e(t.prototype,o),a&&e(t,a),Object.defineProperty(t,"prototype",{writable:!1}),n}();a.style=":host(.ion-color){color:var(--ion-color-base)}"}}])}(); \ No newline at end of file diff --git a/dist/51-es5.6a3c110a26fa847c7a54.js b/dist/51-es5.6a3c110a26fa847c7a54.js index 8ce8b2ff39..b4125837ab 100644 --- a/dist/51-es5.6a3c110a26fa847c7a54.js +++ b/dist/51-es5.6a3c110a26fa847c7a54.js @@ -1 +1 @@ -!function(){function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(t,e,i,a,n,o,r){try{var l=t[o](r),d=l.value}catch(s){return void i(s)}l.done?e(d):Promise.resolve(d).then(a,n)}function i(t){return function(){var i=this,a=arguments;return new Promise(function(n,o){var r=t.apply(i,a);function l(t){e(r,n,o,l,d,"next",t)}function d(t){e(r,n,o,l,d,"throw",t)}l(void 0)})}}function a(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{U7LX:function(e,n,o){"use strict";o.r(n),o.d(n,"ion_textarea",function(){return h});var r=o("wEJo"),l=o("E/Mt"),d=o("1vRN"),s=o("74mu"),h=function(){function e(t){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(r.o)(this,t),this.ionChange=Object(r.g)(this,"ionChange",7),this.ionInput=Object(r.g)(this,"ionInput",7),this.ionStyle=Object(r.g)(this,"ionStyle",7),this.ionBlur=Object(r.g)(this,"ionBlur",7),this.ionFocus=Object(r.g)(this,"ionFocus",7),this.inputId="ion-textarea-"+c++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.autoGrow=!1,this.value="",this.onInput=function(t){i.nativeInput&&(i.value=i.nativeInput.value),i.emitStyle(),i.ionInput.emit(t)},this.onFocus=function(t){i.hasFocus=!0,i.focusChange(),i.fireFocusEvents&&i.ionFocus.emit(t)},this.onBlur=function(t){i.hasFocus=!1,i.focusChange(),i.fireFocusEvents&&i.ionBlur.emit(t)},this.onKeyDown=function(){i.checkClearOnEdit()}}var n,o,h,p,u;return n=e,o=[{key:"debounceChanged",value:function(){this.ionChange=Object(d.f)(this.ionChange,this.debounce)}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){var t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle(),this.ionChange.emit({value:e})}},{key:"connectedCallback",value:function(){this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}},{key:"disconnectedCallback",value:function(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el}))}},{key:"componentWillLoad",value:function(){this.inheritedAttributes=Object(d.i)(this.el,["title"])}},{key:"componentDidLoad",value:function(){var t=this;Object(d.q)(function(){return t.runAutoGrow()})}},{key:"runAutoGrow",value:function(){var t=this,e=this.nativeInput;e&&this.autoGrow&&Object(r.h)(function(){e.style.height="auto",e.style.height=e.scrollHeight+"px",t.textareaWrapper&&(t.textareaWrapper.style.height=e.scrollHeight+"px")})}},{key:"setFocus",value:(u=i(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"setBlur",value:(p=i(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.blur();case 1:case"end":return t.stop()}},t,this)})),function(){return p.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus})}},{key:"checkClearOnEdit",value:function(){this.clearOnEdit&&(this.didBlurAfterEdit&&this.hasValue()&&(this.value=""),this.didBlurAfterEdit=!1)}},{key:"focusChange",value:function(){this.clearOnEdit&&!this.hasFocus&&this.hasValue()&&(this.didBlurAfterEdit=!0),this.emitStyle()}},{key:"hasValue",value:function(){return""!==this.getValue()}},{key:"getValue",value:function(){return this.value||""}},{key:"render",value:function(){var e=this,i=Object(l.b)(this),a=this.getValue(),n=this.inputId+"-lbl",o=Object(d.h)(this.el);return o&&(o.id=n),Object(r.j)(r.c,{"aria-disabled":this.disabled?"true":null,class:Object(s.a)(this.color,t({},i,!0))},Object(r.j)("div",{class:"textarea-wrapper",ref:function(t){return e.textareaWrapper=t}},Object(r.j)("textarea",Object.assign({class:"native-textarea","aria-labelledby":n,ref:function(t){return e.nativeInput=t},autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),a)))}},{key:"el",get:function(){return Object(r.k)(this)}}],h=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}}],o&&a(n.prototype,o),h&&a(n,h),e}(),c=0;h.style={ios:".sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);white-space:pre-wrap;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-textarea-ios-h{background:initial}.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}.textarea-wrapper.sc-ion-textarea-ios{min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit}.native-textarea.sc-ion-textarea-ios{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-textarea.sc-ion-textarea-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea[disabled].sc-ion-textarea-ios{opacity:0.4}.cloned-input.sc-ion-textarea-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}",md:".sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);white-space:pre-wrap;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-textarea-md-h{background:initial}.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}.textarea-wrapper.sc-ion-textarea-md{min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit}.native-textarea.sc-ion-textarea-md{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-textarea.sc-ion-textarea-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea[disabled].sc-ion-textarea-md{opacity:0.4}.cloned-input.sc-ion-textarea-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0;font-size:inherit}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},i=Object.prototype,n=i.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(z){s=function(t,e,i){return t[e]=i}}function c(t,e,i,n){var a=e&&e.prototype instanceof p?e:p,r=Object.create(a.prototype),o=new O(n||[]);return r._invoke=function(t,e,i){var n="suspendedStart";return function(a,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw r;return L()}for(i.method=a,i.arg=r;;){var o=i.delegate;if(o){var l=w(o,i);if(l){if(l===h)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=d(t,e,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}(t,i,o),r}function d(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(z){return{type:"throw",arg:z}}}t.wrap=c;var h={};function p(){}function u(){}function f(){}var g={};s(g,r,function(){return this});var m=Object.getPrototypeOf,v=m&&m(m(j([])));v&&v!==i&&n.call(v,r)&&(g=v);var y=f.prototype=p.prototype=Object.create(g);function b(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function i(a,r,o,l){var s=d(t[a],t,r);if("throw"!==s.type){var c=s.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){i("next",t,o,l)},function(t){i("throw",t,o,l)}):e.resolve(h).then(function(t){c.value=t,o(c)},function(t){return i("throw",t,o,l)})}l(s.arg)}var a;this._invoke=function(t,n){function r(){return new e(function(e,a){i(t,n,e,a)})}return a=a?a.then(r,r):r()}}function w(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=d(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function j(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:L}}function L(){return{value:void 0,done:!0}}return u.prototype=f,s(y,"constructor",f),s(f,"constructor",u),u.displayName=s(f,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===u||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(x.prototype),s(x.prototype,o,function(){return this}),t.AsyncIterator=x,t.async=function(e,i,n,a,r){void 0===r&&(r=Promise);var o=new x(c(e,i,n,a),r);return t.isGeneratorFunction(i)?o:o.next().then(function(t){return t.done?t.value:o.next()})},b(y),s(y,l,"Generator"),s(y,r,function(){return this}),s(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var n=e.pop();if(n in t)return i.value=n,i.done=!1,i}return i.done=!0,i}},t.values=j,O.prototype={constructor:O,reset:function(t){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(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,n){return o.type="throw",o.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],o=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var l=n.call(r,"catchLoc"),s=n.call(r,"finallyLoc");if(l&&s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),E(i),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;E(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:j(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),h}},t}function i(t,e,i,n,a,r,o){try{var l=t[r](o),s=l.value}catch(c){return void i(c)}l.done?e(s):Promise.resolve(s).then(n,a)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(a,r){var o=t.apply(e,n);function l(t){i(o,a,r,l,s,"next",t)}function s(t){i(o,a,r,l,s,"throw",t)}l(void 0)})}}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{U7LX:function(i,r,o){"use strict";o.r(r),o.d(r,"ion_textarea",function(){return h});var l=o("wEJo"),s=o("E/Mt"),c=o("1vRN"),d=o("74mu"),h=function(){function i(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),Object(l.o)(this,t),this.ionChange=Object(l.g)(this,"ionChange",7),this.ionInput=Object(l.g)(this,"ionInput",7),this.ionStyle=Object(l.g)(this,"ionStyle",7),this.ionBlur=Object(l.g)(this,"ionBlur",7),this.ionFocus=Object(l.g)(this,"ionFocus",7),this.inputId="ion-textarea-"+p++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.autoGrow=!1,this.value="",this.onInput=function(t){e.nativeInput&&(e.value=e.nativeInput.value),e.emitStyle(),e.ionInput.emit(t)},this.onFocus=function(t){e.hasFocus=!0,e.focusChange(),e.fireFocusEvents&&e.ionFocus.emit(t)},this.onBlur=function(t){e.hasFocus=!1,e.focusChange(),e.fireFocusEvents&&e.ionBlur.emit(t)},this.onKeyDown=function(){e.checkClearOnEdit()}}var r,o,h,u,f;return r=i,o=[{key:"debounceChanged",value:function(){this.ionChange=Object(c.f)(this.ionChange,this.debounce)}},{key:"disabledChanged",value:function(){this.emitStyle()}},{key:"valueChanged",value:function(){var t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle(),this.ionChange.emit({value:e})}},{key:"connectedCallback",value:function(){this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}},{key:"disconnectedCallback",value:function(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el}))}},{key:"componentWillLoad",value:function(){this.inheritedAttributes=Object(c.i)(this.el,["title"])}},{key:"componentDidLoad",value:function(){var t=this;Object(c.q)(function(){return t.runAutoGrow()})}},{key:"runAutoGrow",value:function(){var t=this,e=this.nativeInput;e&&this.autoGrow&&Object(l.h)(function(){e.style.height="auto",e.style.height=e.scrollHeight+"px",t.textareaWrapper&&(t.textareaWrapper.style.height=e.scrollHeight+"px")})}},{key:"setFocus",value:(f=n(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.focus();case 1:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"setBlur",value:(u=n(e().mark(function t(){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.nativeInput&&this.nativeInput.blur();case 1:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"getInputElement",value:function(){return Promise.resolve(this.nativeInput)}},{key:"emitStyle",value:function(){this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":null!=this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus})}},{key:"checkClearOnEdit",value:function(){this.clearOnEdit&&(this.didBlurAfterEdit&&this.hasValue()&&(this.value=""),this.didBlurAfterEdit=!1)}},{key:"focusChange",value:function(){this.clearOnEdit&&!this.hasFocus&&this.hasValue()&&(this.didBlurAfterEdit=!0),this.emitStyle()}},{key:"hasValue",value:function(){return""!==this.getValue()}},{key:"getValue",value:function(){return this.value||""}},{key:"render",value:function(){var e=this,i=Object(s.b)(this),n=this.getValue(),a=this.inputId+"-lbl",r=Object(c.h)(this.el);return r&&(r.id=a),Object(l.j)(l.c,{"aria-disabled":this.disabled?"true":null,class:Object(d.a)(this.color,t({},i,!0))},Object(l.j)("div",{class:"textarea-wrapper",ref:function(t){return e.textareaWrapper=t}},Object(l.j)("textarea",Object.assign({class:"native-textarea","aria-labelledby":a,ref:function(t){return e.nativeInput=t},autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),n)))}},{key:"el",get:function(){return Object(l.k)(this)}}],h=[{key:"watchers",get:function(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}}],o&&a(r.prototype,o),h&&a(r,h),Object.defineProperty(r,"prototype",{writable:!1}),i}(),p=0;h.style={ios:".sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);white-space:pre-wrap;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-textarea-ios-h{background:initial}.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}.textarea-wrapper.sc-ion-textarea-ios{min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit}.native-textarea.sc-ion-textarea-ios{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-textarea.sc-ion-textarea-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea[disabled].sc-ion-textarea-ios{opacity:0.4}.cloned-input.sc-ion-textarea-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}",md:".sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);white-space:pre-wrap;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-textarea-md-h{background:initial}.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}.textarea-wrapper.sc-ion-textarea-md{min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit}.native-textarea.sc-ion-textarea-md{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-textarea.sc-ion-textarea-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea[disabled].sc-ion-textarea-md{opacity:0.4}.cloned-input.sc-ion-textarea-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0;font-size:inherit}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}"}}}])}(); \ No newline at end of file diff --git a/dist/52-es5.895ed4761cfe8dddf66e.js b/dist/52-es5.895ed4761cfe8dddf66e.js index f4770b7423..bbfdd5e2b2 100644 --- a/dist/52-es5.895ed4761cfe8dddf66e.js +++ b/dist/52-es5.895ed4761cfe8dddf66e.js @@ -1 +1 @@ -!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e,r,n,o,a,i){try{var s=t[a](i),d=s.value}catch(l){return void r(l)}s.done?e(d):Promise.resolve(d).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise(function(o,a){var i=t.apply(r,n);function s(t){e(i,o,a,s,d,"next",t)}function d(t){e(i,o,a,s,d,"throw",t)}s(void 0)})}}function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{L3sA:function(e,o,a){"use strict";a.r(o),a.d(o,"ion_toast",function(){return m});var i=a("wEJo"),s=a("E/Mt"),d=a("7OTs"),l=a("39oe"),c=a("74mu"),p=a("meiF");a("B4Jq"),a("1vRN");var u=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,a=t.querySelector(".toast-wrapper");switch(n.addElement(a),e){case"top":n.fromTo("transform","translateY(-100%)","translateY(calc(10px + var(--ion-safe-area-top, 0px)))");break;case"middle":var i=Math.floor(o.clientHeight/2-a.clientHeight/2);a.style.top=i+"px",n.fromTo("opacity",.01,1);break;default:n.fromTo("transform","translateY(100%)","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))")}return r.addElement(o).easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(n)},b=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,a=t.querySelector(".toast-wrapper");switch(n.addElement(a),e){case"top":n.fromTo("transform","translateY(calc(10px + var(--ion-safe-area-top, 0px)))","translateY(-100%)");break;case"middle":n.fromTo("opacity",.99,0);break;default:n.fromTo("transform","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))","translateY(100%)")}return r.addElement(o).easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},h=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,a=t.querySelector(".toast-wrapper");switch(n.addElement(a),e){case"top":a.style.top="calc(8px + var(--ion-safe-area-top, 0px))",n.fromTo("opacity",.01,1);break;case"middle":var i=Math.floor(o.clientHeight/2-a.clientHeight/2);a.style.top=i+"px",n.fromTo("opacity",.01,1);break;default:a.style.bottom="calc(8px + var(--ion-safe-area-bottom, 0px))",n.fromTo("opacity",.01,1)}return r.addElement(o).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(n)},g=function(t){var e=Object(p.a)(),r=Object(p.a)(),n=t.host||t,o=t.querySelector(".toast-wrapper");return r.addElement(o).fromTo("opacity",.99,0),e.addElement(n).easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(r)},m=function(){function e(t){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(i.o)(this,t),this.didPresent=Object(i.g)(this,"ionToastDidPresent",7),this.willPresent=Object(i.g)(this,"ionToastWillPresent",7),this.willDismiss=Object(i.g)(this,"ionToastWillDismiss",7),this.didDismiss=Object(i.g)(this,"ionToastDidDismiss",7),this.presented=!1,this.duration=0,this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.dispatchCancelHandler=function(t){var e=t.detail.role;if(Object(d.j)(e)){var n=r.getButtons().find(function(t){return"cancel"===t.role});r.callButtonHandler(n)}}}var o,a,p,m,x,v;return o=e,(a=[{key:"connectedCallback",value:function(){Object(d.f)(this.el)}},{key:"present",value:(v=r(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(d.e)(this,"toastEnter",u,h,this.position);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return e.dismiss(void 0,"timeout")},this.duration));case 3:case"end":return t.stop()}},t,this)})),function(){return v.apply(this,arguments)})},{key:"dismiss",value:function(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(d.g)(this,t,e,"toastLeave",b,g,this.position)}},{key:"onDidDismiss",value:function(){return Object(d.h)(this.el,"ionToastDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(d.h)(this.el,"ionToastWillDismiss")}},{key:"getButtons",value:function(){return this.buttons?this.buttons.map(function(t){return"string"==typeof t?{text:t}:t}):[]}},{key:"buttonClick",value:(x=r(regeneratorRuntime.mark(function t(e){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.role,t.t0=Object(d.j)(r),t.t0){t.next=6;break}return t.next=5,this.callButtonHandler(e);case 5:t.t0=t.sent;case 6:if(!t.t0){t.next=10;break}t.t1=this.dismiss(void 0,r),t.next=11;break;case 10:t.t1=Promise.resolve();case 11:return t.abrupt("return",t.t1);case 12:case"end":return t.stop()}},t,this)})),function(t){return x.apply(this,arguments)})},{key:"callButtonHandler",value:(m=r(regeneratorRuntime.mark(function t(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e||!e.handler){t.next=13;break}return t.prev=1,t.t0=!1,t.next=5,Object(d.n)(e.handler);case 5:if(t.t1=t.sent,t.t0!==t.t1){t.next=8;break}return t.abrupt("return",!1);case 8:t.next=13;break;case 10:t.prev=10,t.t2=t.catch(1),console.error(t.t2);case 13:return t.abrupt("return",!0);case 14:case"end":return t.stop()}},t,null,[[1,10]])})),function(t){return m.apply(this,arguments)})},{key:"renderButtons",value:function(e,r){var n=this;if(0!==e.length){var o=Object(s.b)(this),a=t({"toast-button-group":!0},"toast-button-group-"+r,!0);return Object(i.j)("div",{class:a},e.map(function(t){return Object(i.j)("button",{type:"button",class:f(t),tabIndex:0,onClick:function(){return n.buttonClick(t)},part:"button"},Object(i.j)("div",{class:"toast-button-inner"},t.icon&&Object(i.j)("ion-icon",{icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-icon"}),t.text),"md"===o&&Object(i.j)("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"}))}))}}},{key:"render",value:function(){var e=this.getButtons(),r=e.filter(function(t){return"start"===t.side}),n=e.filter(function(t){return"start"!==t.side}),o=Object(s.b)(this),a=t({"toast-wrapper":!0},"toast-"+this.position,!0);return Object(i.j)(i.c,{style:{zIndex:""+(6e4+this.overlayIndex)},class:Object(c.a)(this.color,Object.assign(Object.assign(t({},o,!0),Object(c.b)(this.cssClass)),{"toast-translucent":this.translucent})),tabindex:"-1",onIonToastWillDismiss:this.dispatchCancelHandler},Object(i.j)("div",{class:a},Object(i.j)("div",{class:"toast-container",part:"container"},this.renderButtons(r,"start"),Object(i.j)("div",{class:"toast-content"},void 0!==this.header&&Object(i.j)("div",{class:"toast-header",part:"header"},this.header),void 0!==this.message&&Object(i.j)("div",{class:"toast-message",part:"message",innerHTML:Object(l.a)(this.message)})),this.renderButtons(n,"end"))))}},{key:"el",get:function(){return Object(i.k)(this)}}])&&n(o.prototype,a),p&&n(o,p),e}(),f=function(e){var r;return Object.assign((t(r={"toast-button":!0,"toast-button-icon-only":void 0!==e.icon&&void 0===e.text},"toast-button-"+e.role,void 0!==e.role),t(r,"ion-focusable",!0),t(r,"ion-activatable",!0),r),Object(c.b)(e.cssClass))};m.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:pre-wrap;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{padding-left:15px;padding-right:15px;padding-top:15px;padding-bottom:15px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:pre-wrap;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.toast-content{padding-left:16px;padding-right:16px;padding-top:14px;padding-bottom:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-button-group-start{margin-left:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-start{margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}.toast-button-group-end{margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-end{margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;padding-left:9px;padding-right:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-icon-only{padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(T){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),a=new O(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=y(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(T){return{type:"throw",arg:T}}}t.wrap=l;var d={};function p(){}function h(){}function f(){}var b={};c(b,i,function(){return this});var g=Object.getPrototypeOf,m=g&&g(g(E([])));m&&m!==r&&n.call(m,i)&&(b=m);var v=f.prototype=p.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function r(o,i,a,s){var c=u(t[o],t,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?e.resolve(d.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(d).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,s)})}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function y(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,y(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=f,c(v,"constructor",f),c(f,"constructor",h),h.displayName=c(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},x(w.prototype),c(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},x(v),c(v,s,"Generator"),c(v,i,function(){return this}),c(v,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function r(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(l){return void r(l)}s.done?e(c):Promise.resolve(c).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)})}}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{L3sA:function(r,i,a){"use strict";a.r(i),a.d(i,"ion_toast",function(){return m});var s=a("wEJo"),c=a("E/Mt"),l=a("7OTs"),u=a("39oe"),d=a("74mu"),p=a("meiF");a("B4Jq"),a("1vRN");var h=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,i=t.querySelector(".toast-wrapper");switch(n.addElement(i),e){case"top":n.fromTo("transform","translateY(-100%)","translateY(calc(10px + var(--ion-safe-area-top, 0px)))");break;case"middle":var a=Math.floor(o.clientHeight/2-i.clientHeight/2);i.style.top=a+"px",n.fromTo("opacity",.01,1);break;default:n.fromTo("transform","translateY(100%)","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))")}return r.addElement(o).easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(n)},f=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,i=t.querySelector(".toast-wrapper");switch(n.addElement(i),e){case"top":n.fromTo("transform","translateY(calc(10px + var(--ion-safe-area-top, 0px)))","translateY(-100%)");break;case"middle":n.fromTo("opacity",.99,0);break;default:n.fromTo("transform","translateY(calc(-10px - var(--ion-safe-area-bottom, 0px)))","translateY(100%)")}return r.addElement(o).easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},b=function(t,e){var r=Object(p.a)(),n=Object(p.a)(),o=t.host||t,i=t.querySelector(".toast-wrapper");switch(n.addElement(i),e){case"top":i.style.top="calc(8px + var(--ion-safe-area-top, 0px))",n.fromTo("opacity",.01,1);break;case"middle":var a=Math.floor(o.clientHeight/2-i.clientHeight/2);i.style.top=a+"px",n.fromTo("opacity",.01,1);break;default:i.style.bottom="calc(8px + var(--ion-safe-area-bottom, 0px))",n.fromTo("opacity",.01,1)}return r.addElement(o).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(n)},g=function(t){var e=Object(p.a)(),r=Object(p.a)(),n=t.host||t,o=t.querySelector(".toast-wrapper");return r.addElement(o).fromTo("opacity",.99,0),e.addElement(n).easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(r)},m=function(){function r(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),Object(s.o)(this,t),this.didPresent=Object(s.g)(this,"ionToastDidPresent",7),this.willPresent=Object(s.g)(this,"ionToastWillPresent",7),this.willDismiss=Object(s.g)(this,"ionToastWillDismiss",7),this.didDismiss=Object(s.g)(this,"ionToastDidDismiss",7),this.presented=!1,this.duration=0,this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.dispatchCancelHandler=function(t){var r=t.detail.role;if(Object(l.j)(r)){var n=e.getButtons().find(function(t){return"cancel"===t.role});e.callButtonHandler(n)}}}var i,a,p,m,x,w;return i=r,(a=[{key:"connectedCallback",value:function(){Object(l.f)(this.el)}},{key:"present",value:(w=n(e().mark(function t(){var r=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.e)(this,"toastEnter",h,b,this.position);case 2:this.duration>0&&(this.durationTimeout=setTimeout(function(){return r.dismiss(void 0,"timeout")},this.duration));case 3:case"end":return t.stop()}},t,this)})),function(){return w.apply(this,arguments)})},{key:"dismiss",value:function(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),Object(l.g)(this,t,e,"toastLeave",f,g,this.position)}},{key:"onDidDismiss",value:function(){return Object(l.h)(this.el,"ionToastDidDismiss")}},{key:"onWillDismiss",value:function(){return Object(l.h)(this.el,"ionToastWillDismiss")}},{key:"getButtons",value:function(){return this.buttons?this.buttons.map(function(t){return"string"==typeof t?{text:t}:t}):[]}},{key:"buttonClick",value:(x=n(e().mark(function t(r){var n;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.role,t.t0=Object(l.j)(n),t.t0){t.next=6;break}return t.next=5,this.callButtonHandler(r);case 5:t.t0=t.sent;case 6:if(!t.t0){t.next=10;break}t.t1=this.dismiss(void 0,n),t.next=11;break;case 10:t.t1=Promise.resolve();case 11:return t.abrupt("return",t.t1);case 12:case"end":return t.stop()}},t,this)})),function(t){return x.apply(this,arguments)})},{key:"callButtonHandler",value:(m=n(e().mark(function t(r){return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r||!r.handler){t.next=13;break}return t.prev=1,t.t0=!1,t.next=5,Object(l.n)(r.handler);case 5:if(t.t1=t.sent,t.t0!==t.t1){t.next=8;break}return t.abrupt("return",!1);case 8:t.next=13;break;case 10:t.prev=10,t.t2=t.catch(1),console.error(t.t2);case 13:return t.abrupt("return",!0);case 14:case"end":return t.stop()}},t,null,[[1,10]])})),function(t){return m.apply(this,arguments)})},{key:"renderButtons",value:function(e,r){var n=this;if(0!==e.length){var o=Object(c.b)(this),i=t({"toast-button-group":!0},"toast-button-group-"+r,!0);return Object(s.j)("div",{class:i},e.map(function(t){return Object(s.j)("button",{type:"button",class:v(t),tabIndex:0,onClick:function(){return n.buttonClick(t)},part:"button"},Object(s.j)("div",{class:"toast-button-inner"},t.icon&&Object(s.j)("ion-icon",{icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-icon"}),t.text),"md"===o&&Object(s.j)("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"}))}))}}},{key:"render",value:function(){var e=this.getButtons(),r=e.filter(function(t){return"start"===t.side}),n=e.filter(function(t){return"start"!==t.side}),o=Object(c.b)(this),i=t({"toast-wrapper":!0},"toast-"+this.position,!0);return Object(s.j)(s.c,{style:{zIndex:""+(6e4+this.overlayIndex)},class:Object(d.a)(this.color,Object.assign(Object.assign(t({},o,!0),Object(d.b)(this.cssClass)),{"toast-translucent":this.translucent})),tabindex:"-1",onIonToastWillDismiss:this.dispatchCancelHandler},Object(s.j)("div",{class:i},Object(s.j)("div",{class:"toast-container",part:"container"},this.renderButtons(r,"start"),Object(s.j)("div",{class:"toast-content"},void 0!==this.header&&Object(s.j)("div",{class:"toast-header",part:"header"},this.header),void 0!==this.message&&Object(s.j)("div",{class:"toast-message",part:"message",innerHTML:Object(u.a)(this.message)})),this.renderButtons(n,"end"))))}},{key:"el",get:function(){return Object(s.k)(this)}}])&&o(i.prototype,a),p&&o(i,p),Object.defineProperty(i,"prototype",{writable:!1}),r}(),v=function(e){var r;return Object.assign((t(r={"toast-button":!0,"toast-button-icon-only":void 0!==e.icon&&void 0===e.text},"toast-button-"+e.role,void 0!==e.role),t(r,"ion-focusable",!0),t(r,"ion-activatable",!0),r),Object(d.b)(e.cssClass))};m.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:pre-wrap;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{padding-left:15px;padding-right:15px;padding-top:15px;padding-bottom:15px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:pre-wrap;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.toast-content{padding-left:16px;padding-right:16px;padding-top:14px;padding-bottom:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-button-group-start{margin-left:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-start{margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}.toast-button-group-end{margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-end{margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;padding-left:9px;padding-right:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-icon-only{padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}}}])}(); \ No newline at end of file diff --git a/dist/53-es5.8a06a5eb6266e9f53d9f.js b/dist/53-es5.8a06a5eb6266e9f53d9f.js index 8951d96ae1..2cb29c6bb5 100644 --- a/dist/53-es5.8a06a5eb6266e9f53d9f.js +++ b/dist/53-es5.8a06a5eb6266e9f53d9f.js @@ -1 +1 @@ -!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t,e,n,i,a,o,r){try{var l=t[o](r),d=l.value}catch(s){return void n(s)}l.done?e(d):Promise.resolve(d).then(i,a)}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{IUOf:function(i,a,o){"use strict";o.r(a),o.d(a,"ion_toggle",function(){return g});var r=o("wEJo"),l=o("E/Mt"),d=o("1vRN"),s=o("qULd"),c=o("74mu"),g=function(){function i(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),Object(r.o)(this,t),this.ionChange=Object(r.g)(this,"ionChange",7),this.ionFocus=Object(r.g)(this,"ionFocus",7),this.ionBlur=Object(r.g)(this,"ionBlur",7),this.ionStyle=Object(r.g)(this,"ionStyle",7),this.inputId="ion-tg-"+p++,this.lastDrag=0,this.activated=!1,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.onClick=function(t){t.preventDefault(),e.lastDrag+300<Date.now()&&(e.checked=!e.checked)},this.onFocus=function(){e.ionFocus.emit()},this.onBlur=function(){e.ionBlur.emit()}}var a,g,u,b,m;return a=i,g=[{key:"checkedChanged",value:function(t){this.ionChange.emit({checked:t,value:this.value})}},{key:"disabledChanged",value:function(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(b=regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then(o.bind(null,"iWo5"));case 2:this.gesture=t.sent.createGesture({el:this.el,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:function(){return e.onStart()},onMove:function(t){return e.onMove(t)},onEnd:function(t){return e.onEnd(t)}}),this.disabledChanged();case 4:case"end":return t.stop()}},t,this)}),m=function(){var t=this,n=arguments;return new Promise(function(i,a){var o=b.apply(t,n);function r(t){e(o,i,a,r,l,"next",t)}function l(t){e(o,i,a,r,l,"throw",t)}r(void 0)})},function(){return m.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"interactive-disabled":this.disabled})}},{key:"onStart",value:function(){this.activated=!0,this.setFocus()}},{key:"onMove",value:function(t){h(document,this.checked,t.deltaX,-10)&&(this.checked=!this.checked,Object(s.c)())}},{key:"onEnd",value:function(t){this.activated=!1,this.lastDrag=Date.now(),t.event.preventDefault(),t.event.stopImmediatePropagation()}},{key:"getValue",value:function(){return this.value||""}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"render",value:function(){var e,n=this,i=this.activated,a=this.color,o=this.checked,s=this.disabled,g=this.el,h=this.inputId,p=this.name,u=Object(l.b)(this),b=Object(d.d)(g,h),m=b.label,f=b.labelId,k=b.labelText,v=this.getValue();return Object(d.e)(!0,g,p,o?v:"",s),Object(r.j)(r.c,{onClick:this.onClick,"aria-labelledby":m?f:null,"aria-checked":""+o,"aria-hidden":s?"true":null,role:"switch",class:Object(c.a)(a,(e={},t(e,u,!0),t(e,"in-item",Object(c.c)("ion-item",g)),t(e,"toggle-activated",i),t(e,"toggle-checked",o),t(e,"toggle-disabled",s),t(e,"interactive",!0),e))},Object(r.j)("div",{class:"toggle-icon",part:"track"},Object(r.j)("div",{class:"toggle-icon-wrapper"},Object(r.j)("div",{class:"toggle-inner",part:"handle"}))),Object(r.j)("label",{htmlFor:h},k),Object(r.j)("input",{type:"checkbox",role:"switch","aria-checked":""+o,disabled:s,id:h,onFocus:function(){return n.onFocus()},onBlur:function(){return n.onBlur()},ref:function(t){return n.focusEl=t}}))}},{key:"el",get:function(){return Object(r.k)(this)}}],u=[{key:"watchers",get:function(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}}],g&&n(a.prototype,g),u&&n(a,u),i}(),h=function(t,e,n,i){var a="rtl"===t.dir;return e?!a&&i>n||a&&-i<n:!a&&-i<n||a&&i>n},p=0;g.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - (var(--handle-spacing) * 2));--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms;width:51px;height:32px;contain:strict;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host-context([dir=rtl]):host(.toggle-activated.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-activated.toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:20px;padding-right:10px;padding-top:6px;padding-bottom:5px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:10px;padding-inline-end:10px}}:host(.in-item[slot=start]){padding-left:0;padding-right:16px;padding-top:6px;padding-bottom:5px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px}}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:16px;padding-right:0;padding-top:12px;padding-bottom:12px;cursor:pointer}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0}}:host(.in-item[slot=start]){padding-left:2px;padding-right:18px;padding-top:12px;padding-bottom:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px}}"}}}])}(); \ No newline at end of file +!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(z){l=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(t,e,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 L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var c=x(a,n);if(c){if(c===h)continue;return c}}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=d(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(z){return{type:"throw",arg:z}}}t.wrap=s;var h={};function g(){}function u(){}function p(){}var f={};l(f,o,function(){return this});var b=Object.getPrototypeOf,v=b&&b(b(E([])));v&&v!==n&&r.call(v,o)&&(f=v);var m=p.prototype=g.prototype=Object.create(f);function w(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function n(i,o,a,c){var l=d(t[i],t,o);if("throw"!==l.type){var s=l.arg,h=s.value;return h&&"object"==typeof h&&r.call(h,"__await")?e.resolve(h.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(h).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(l.arg)}var i;this._invoke=function(t,r){function o(){return new e(function(e,i){n(t,r,e,i)})}return i=i?i.then(o,o):o()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=d(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return u.prototype=p,l(m,"constructor",p),l(p,"constructor",u),u.displayName=l(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===u||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(k.prototype),l(k.prototype,a,function(){return this}),t.AsyncIterator=k,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new k(s(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w(m),l(m,c,"Generator"),l(m,o,function(){return this}),l(m,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=E,O.prototype={constructor:O,reset:function(t){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(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.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 c=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){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(t,e){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"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;j(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function n(t,e,n,r,i,o,a){try{var c=t[o](a),l=c.value}catch(s){return void n(s)}c.done?e(l):Promise.resolve(l).then(r,i)}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{IUOf:function(i,o,a){"use strict";a.r(o),a.d(o,"ion_toggle",function(){return g});var c=a("wEJo"),l=a("E/Mt"),s=a("1vRN"),d=a("qULd"),h=a("74mu"),g=function(){function i(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),Object(c.o)(this,t),this.ionChange=Object(c.g)(this,"ionChange",7),this.ionFocus=Object(c.g)(this,"ionFocus",7),this.ionBlur=Object(c.g)(this,"ionBlur",7),this.ionStyle=Object(c.g)(this,"ionStyle",7),this.inputId="ion-tg-"+p++,this.lastDrag=0,this.activated=!1,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.onClick=function(t){t.preventDefault(),e.lastDrag+300<Date.now()&&(e.checked=!e.checked)},this.onFocus=function(){e.ionFocus.emit()},this.onBlur=function(){e.ionBlur.emit()}}var o,g,f,b,v;return o=i,g=[{key:"checkedChanged",value:function(t){this.ionChange.emit({checked:t,value:this.value})}},{key:"disabledChanged",value:function(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}},{key:"connectedCallback",value:(b=e().mark(function t(){var n=this;return e().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.resolve().then(a.bind(null,"iWo5"));case 2:this.gesture=t.sent.createGesture({el:this.el,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:function(){return n.onStart()},onMove:function(t){return n.onMove(t)},onEnd:function(t){return n.onEnd(t)}}),this.disabledChanged();case 4:case"end":return t.stop()}},t,this)}),v=function(){var t=this,e=arguments;return new Promise(function(r,i){var o=b.apply(t,e);function a(t){n(o,r,i,a,c,"next",t)}function c(t){n(o,r,i,a,c,"throw",t)}a(void 0)})},function(){return v.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}},{key:"componentWillLoad",value:function(){this.emitStyle()}},{key:"emitStyle",value:function(){this.ionStyle.emit({"interactive-disabled":this.disabled})}},{key:"onStart",value:function(){this.activated=!0,this.setFocus()}},{key:"onMove",value:function(t){u(document,this.checked,t.deltaX,-10)&&(this.checked=!this.checked,Object(d.c)())}},{key:"onEnd",value:function(t){this.activated=!1,this.lastDrag=Date.now(),t.event.preventDefault(),t.event.stopImmediatePropagation()}},{key:"getValue",value:function(){return this.value||""}},{key:"setFocus",value:function(){this.focusEl&&this.focusEl.focus()}},{key:"render",value:function(){var e,n=this,r=this.activated,i=this.color,o=this.checked,a=this.disabled,d=this.el,g=this.inputId,u=this.name,p=Object(l.b)(this),f=Object(s.d)(d,g),b=f.label,v=f.labelId,m=f.labelText,w=this.getValue();return Object(s.e)(!0,d,u,o?w:"",a),Object(c.j)(c.c,{onClick:this.onClick,"aria-labelledby":b?v:null,"aria-checked":""+o,"aria-hidden":a?"true":null,role:"switch",class:Object(h.a)(i,(e={},t(e,p,!0),t(e,"in-item",Object(h.c)("ion-item",d)),t(e,"toggle-activated",r),t(e,"toggle-checked",o),t(e,"toggle-disabled",a),t(e,"interactive",!0),e))},Object(c.j)("div",{class:"toggle-icon",part:"track"},Object(c.j)("div",{class:"toggle-icon-wrapper"},Object(c.j)("div",{class:"toggle-inner",part:"handle"}))),Object(c.j)("label",{htmlFor:g},m),Object(c.j)("input",{type:"checkbox",role:"switch","aria-checked":""+o,disabled:a,id:g,onFocus:function(){return n.onFocus()},onBlur:function(){return n.onBlur()},ref:function(t){return n.focusEl=t}}))}},{key:"el",get:function(){return Object(c.k)(this)}}],f=[{key:"watchers",get:function(){return{checked:["checkedChanged"],disabled:["disabledChanged"]}}}],g&&r(o.prototype,g),f&&r(o,f),Object.defineProperty(o,"prototype",{writable:!1}),i}(),u=function(t,e,n,r){var i="rtl"===t.dir;return e?!i&&r>n||i&&-r<n:!i&&-r<n||i&&r>n},p=0;g.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - (var(--handle-spacing) * 2));--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms;width:51px;height:32px;contain:strict;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host-context([dir=rtl]):host(.toggle-activated.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-activated.toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:20px;padding-right:10px;padding-top:6px;padding-bottom:5px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:10px;padding-inline-end:10px}}:host(.in-item[slot=start]){padding-left:0;padding-right:16px;padding-top:6px;padding-bottom:5px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px}}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:16px;padding-right:0;padding-top:12px;padding-bottom:12px;cursor:pointer}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0}}:host(.in-item[slot=start]){padding-left:2px;padding-right:18px;padding-top:12px;padding-bottom:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px}}"}}}])}(); \ No newline at end of file diff --git a/dist/54-es5.698634a5087da9e5e5e2.js b/dist/54-es5.698634a5087da9e5e5e2.js index 1f16119f04..e9dc44e0f6 100644 --- a/dist/54-es5.698634a5087da9e5e5e2.js +++ b/dist/54-es5.698634a5087da9e5e5e2.js @@ -1 +1 @@ -!function(){function t(t,i){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,i){if(!t)return;if("string"==typeof t)return e(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,i)}(t))||i&&t&&"number"==typeof t.length){n&&(t=n);var r=0,s=function(){};return{s:s,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:s}}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=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function i(t,e,i,n,r,s,o){try{var a=t[s](o),l=a.value}catch(h){return void i(h)}a.done?e(l):Promise.resolve(l).then(n,r)}function n(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var o=t.apply(e,n);function a(t){i(o,r,s,a,l,"next",t)}function l(t){i(o,r,s,a,l,"throw",t)}a(void 0)})}}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{"8Mb5":function(e,i,s){"use strict";s.r(i),s.d(i,"ion_virtual_scroll",function(){return c});var o=s("wEJo"),a=s("1vRN"),l=function(t,e){var i=h(t,e);return i&&t.ownerDocument?t.ownerDocument.importNode(i.content,!0).children[0]:null},h=function(t,e){switch(e){case"item":return t.querySelector("template:not([name])");case"header":return t.querySelector("template[name=header]");case"footer":return t.querySelector("template[name=footer]")}},u=function(t,e,i,n,r,s,o,a,l,h,u,c){for(var f=[],d=c+u,v=u;v<d;v++){var p=t[v];if(r){var g=r(p,v,t);null!=g&&f.push({i:h++,type:"header",value:g,index:v,height:i?i(g,v):o,reads:i?0:2,visible:!!i})}if(f.push({i:h++,type:"item",value:p,index:v,height:e?e(p,v):l,reads:e?0:2,visible:!!e}),s){var m=s(p,v,t);null!=m&&f.push({i:h++,type:"footer",value:m,index:v,height:n?n(m,v):a,reads:n?0:2,visible:!!n})}}return f},c=function(){function e(t){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(o.o)(this,t),this.range={offset:0,length:0},this.viewportHeight=0,this.cells=[],this.virtualDom=[],this.isEnabled=!1,this.viewportOffset=0,this.currentScrollTop=0,this.indexDirty=0,this.lastItemLen=0,this.totalHeight=0,this.approxItemHeight=45,this.approxHeaderHeight=30,this.approxFooterHeight=30,this.onScroll=function(){i.updateVirtualScroll()}}var i,s,h,c,d,v;return i=e,s=[{key:"itemsChanged",value:function(){this.calcCells(),this.updateVirtualScroll()}},{key:"connectedCallback",value:(v=n(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this.el.closest("ion-content"))){t.next=10;break}return t.next=4,e.getScrollElement();case 4:this.scrollEl=t.sent,this.contentEl=e,this.calcCells(),this.updateState(),t.next=11;break;case 10:console.error("<ion-virtual-scroll> must be used inside an <ion-content>");case 11:case"end":return t.stop()}},t,this)})),function(){return v.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){this.updateState()}},{key:"disconnectedCallback",value:function(){this.scrollEl=void 0}},{key:"onResize",value:function(){this.calcCells(),this.updateVirtualScroll()}},{key:"positionForItem",value:function(t){return Promise.resolve(function(t,e,i){var n=e.find(function(e){return"item"===e.type&&e.index===t});return n?i[n.i]:-1}(t,this.cells,this.getHeightIndex()))}},{key:"checkRange",value:(d=n(regeneratorRuntime.mark(function t(e){var i,n,r,s,o=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=o.length>1&&void 0!==o[1]?o[1]:-1,this.items){t.next=3;break}return t.abrupt("return");case 3:n=-1===i?this.items.length-e:i,r=function(t,e){return 0===e?0:e===(t.length>0?t[t.length-1].index:0)+1?t.length:t.findIndex(function(t){return t.index===e})}(this.cells,e),s=u(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,r,e,n),this.cells=function(t,e,i){if(0===i&&e.length>=t.length)return e;for(var n=0;n<e.length;n++)t[n+i]=e[n];return t}(this.cells,s,r),this.lastItemLen=this.items.length,this.indexDirty=Math.max(e-1,0),this.scheduleUpdate();case 5:case"end":return t.stop()}},t,this)})),function(t){return d.apply(this,arguments)})},{key:"checkEnd",value:(c=n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.items&&this.checkRange(this.lastItemLen);case 1:case"end":return t.stop()}},t,this)})),function(){return c.apply(this,arguments)})},{key:"updateVirtualScroll",value:function(){this.isEnabled&&this.scrollEl&&(this.timerUpdate&&(clearTimeout(this.timerUpdate),this.timerUpdate=void 0),Object(o.h)(this.readVS.bind(this)),Object(o.f)(this.writeVS.bind(this)))}},{key:"readVS",value:function(){for(var t=this.contentEl,e=this.scrollEl,i=0,n=this.el;n&&n!==t;)i+=n.offsetTop,n=n.offsetParent;this.viewportOffset=i,e&&(this.viewportHeight=e.offsetHeight,this.currentScrollTop=e.scrollTop)}},{key:"writeVS",value:function(){var e,i,n=this.indexDirty,r=(e=this.currentScrollTop-this.viewportOffset,i=this.viewportHeight,{top:Math.max(e-100,0),bottom:e+i+100}),s=this.getHeightIndex(),a=function(t,e,i){for(var n=e.top,r=e.bottom,s=0;s<t.length&&!(t[s]>n);s++);for(var o=Math.max(s-2-1,0);s<t.length&&!(t[s]>=r);s++);return{offset:o,length:Math.min(s+2,t.length)-o}}(s,r);(function(t,e,i){return t<=i.offset+i.length||e.offset!==i.offset||e.length!==i.length})(n,this.range,a)&&(this.range=a,function(e,i,n,r){var s,o=t(e);try{for(o.s();!(s=o.n()).done;){var a=s.value;a.change=0,a.d=!0}}catch(g){o.e(g)}finally{o.f()}for(var l=[],h=r.offset+r.length,u=function(t){var r=n[t],s=e.find(function(t){return t.d&&t.cell===r});if(s){var o=i[t];o!==s.top&&(s.top=o,s.change=1),s.d=!1}else l.push(r)},c=r.offset;c<h;c++)u(c);for(var f=e.filter(function(t){return t.d}),d=function(){var t=p[v],n=f.find(function(e){return e.d&&e.cell.type===t.type}),r=t.i;n?(n.d=!1,n.change=2,n.cell=t,n.top=i[r]):e.push({d:!1,cell:t,visible:!0,change:2,top:i[r]})},v=0,p=l;v<p.length;v++)d();e.filter(function(t){return t.d&&-9999!==t.top}).forEach(function(t){t.change=1,t.top=-9999})}(this.virtualDom,s,this.cells,a),this.nodeRender?function(t,e,i,n){for(var r,s=Array.from(t.children).filter(function(t){return"TEMPLATE"!==t.tagName}),o=s.length,a=0;a<i.length;a++){var h=i[a],u=h.cell;if(2===h.change){if(a<o)e(r=s[a],u,a);else{var c=l(t,u.type);(r=e(c,u,a)||c).classList.add("virtual-item"),t.appendChild(r)}r.$ionCell=u}else r=s[a];0!==h.change&&(r.style.transform="translate3d(0,".concat(h.top,"px,0)"));var f=u.visible;h.visible!==f&&(f?r.classList.remove("virtual-loading"):r.classList.add("virtual-loading"),h.visible=f),u.reads>0&&(n(u,r),u.reads--)}}(this.el,this.nodeRender,this.virtualDom,this.updateCellHeight.bind(this)):this.domRender?this.domRender(this.virtualDom):this.renderItem&&Object(o.l)(this))}},{key:"updateCellHeight",value:function(t,e){var i=this,n=function(){if(e.$ionCell===t){var n=window.getComputedStyle(e),r=e.offsetHeight+parseFloat(n.getPropertyValue("margin-bottom"));i.setCellHeight(t,r)}};e?Object(a.c)(e,n):n()}},{key:"setCellHeight",value:function(t,e){var i=t.i;t===this.cells[i]&&(t.height===e&&!0===t.visible||(t.visible=!0,t.height=e,this.indexDirty=Math.min(this.indexDirty,i),this.scheduleUpdate()))}},{key:"scheduleUpdate",value:function(){var t=this;clearTimeout(this.timerUpdate),this.timerUpdate=setTimeout(function(){return t.updateVirtualScroll()},100)}},{key:"updateState",value:function(){var t=!(!this.scrollEl||!this.cells);t!==this.isEnabled&&(this.enableScrollEvents(t),t&&this.updateVirtualScroll())}},{key:"calcCells",value:function(){this.items&&(this.lastItemLen=this.items.length,this.cells=u(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,0,0,this.lastItemLen),this.indexDirty=0)}},{key:"getHeightIndex",value:function(){return this.indexDirty!==1/0&&this.calcHeightIndex(this.indexDirty),this.heightIndex}},{key:"calcHeightIndex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.heightIndex=function(t,e){if(!t)return new Uint32Array(e);if(t.length===e)return t;if(e>t.length){var i=new Uint32Array(e);return i.set(t),i}return t.subarray(0,e)}(this.heightIndex,this.cells.length),this.totalHeight=function(t,e,i){for(var n=t[i],r=i;r<t.length;r++)t[r]=n,n+=e[r].height;return n}(this.heightIndex,this.cells,t),this.indexDirty=1/0}},{key:"enableScrollEvents",value:function(t){var e=this;this.rmEvent&&(this.rmEvent(),this.rmEvent=void 0);var i=this.scrollEl;i&&(this.isEnabled=t,i.addEventListener("scroll",this.onScroll),this.rmEvent=function(){i.removeEventListener("scroll",e.onScroll)})}},{key:"renderVirtualNode",value:function(t){var e=t.cell,i=e.type,n=e.value,r=e.index;switch(i){case"item":return this.renderItem(n,r);case"header":return this.renderHeader(n,r);case"footer":return this.renderFooter(n,r)}}},{key:"render",value:function(){var t=this;return Object(o.j)(o.c,{style:{height:this.totalHeight+"px"}},this.renderItem&&Object(o.j)(f,{dom:this.virtualDom},this.virtualDom.map(function(e){return t.renderVirtualNode(e)})))}},{key:"el",get:function(){return Object(o.k)(this)}}],h=[{key:"watchers",get:function(){return{itemHeight:["itemsChanged"],headerHeight:["itemsChanged"],footerHeight:["itemsChanged"],items:["itemsChanged"]}}}],s&&r(i.prototype,s),h&&r(i,h),e}(),f=function(t,e,i){var n=t.dom;return i.map(e,function(t,e){var i=n[e],r=t.vattrs||{},s=r.class||"";return s+="virtual-item ",i.visible||(s+="virtual-loading"),Object.assign(Object.assign({},t),{vattrs:Object.assign(Object.assign({},r),{class:s,style:Object.assign(Object.assign({},r.style),{transform:"translate3d(0,".concat(i.top,"px,0)")})})})})};c.style="ion-virtual-scroll{display:block;position:relative;width:100%;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-virtual-scroll>.virtual-loading{opacity:0}ion-virtual-scroll>.virtual-item{position:absolute !important;top:0 !important;right:0 !important;left:0 !important;-webkit-transition-duration:0ms;transition-duration:0ms;will-change:transform}"}}])}(); \ No newline at end of file +!function(){function t(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}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=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(O){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),a=new H(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return S()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=h(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}t.wrap=c;var u={};function f(){}function d(){}function p(){}var v={};l(v,o,function(){return this});var g=Object.getPrototypeOf,m=g&&g(g(L([])));m&&m!==e&&n.call(m,o)&&(v=m);var y=p.prototype=f.prototype=Object.create(v);function b(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function w(t,e){function r(i,o,a,s){var l=h(t[i],t,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then(function(t){r("next",t,a,s)},function(t){r("throw",t,a,s)}):e.resolve(u).then(function(t){c.value=t,a(c)},function(t){return r("throw",t,a,s)})}s(l.arg)}var i;this._invoke=function(t,n){function o(){return new e(function(e,i){r(t,n,e,i)})}return i=i?i.then(o,o):o()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=p,l(y,"constructor",p),l(p,"constructor",d),d.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,function(){return this}),t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},b(y),l(y,s,"Generator"),l(y,o,function(){return this}),l(y,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,H.prototype={constructor:H,reset:function(t){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(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,u):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;k(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function n(t,e,r,n,i,o,a){try{var s=t[o](a),l=s.value}catch(c){return void r(c)}s.done?e(l):Promise.resolve(l).then(n,i)}function i(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,l,"next",t)}function l(t){n(a,i,o,s,l,"throw",t)}s(void 0)})}}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{"8Mb5":function(e,n,a){"use strict";a.r(n),a.d(n,"ion_virtual_scroll",function(){return f});var s=a("wEJo"),l=a("1vRN"),c=function(t,e){var r=h(t,e);return r&&t.ownerDocument?t.ownerDocument.importNode(r.content,!0).children[0]:null},h=function(t,e){switch(e){case"item":return t.querySelector("template:not([name])");case"header":return t.querySelector("template[name=header]");case"footer":return t.querySelector("template[name=footer]")}},u=function(t,e,r,n,i,o,a,s,l,c,h,u){for(var f=[],d=u+h,p=h;p<d;p++){var v=t[p];if(i){var g=i(v,p,t);null!=g&&f.push({i:c++,type:"header",value:g,index:p,height:r?r(g,p):a,reads:r?0:2,visible:!!r})}if(f.push({i:c++,type:"item",value:v,index:p,height:e?e(v,p):l,reads:e?0:2,visible:!!e}),o){var m=o(v,p,t);null!=m&&f.push({i:c++,type:"footer",value:m,index:p,height:n?n(m,p):s,reads:n?0:2,visible:!!n})}}return f},f=function(){function e(t){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Object(s.o)(this,t),this.range={offset:0,length:0},this.viewportHeight=0,this.cells=[],this.virtualDom=[],this.isEnabled=!1,this.viewportOffset=0,this.currentScrollTop=0,this.indexDirty=0,this.lastItemLen=0,this.totalHeight=0,this.approxItemHeight=45,this.approxHeaderHeight=30,this.approxFooterHeight=30,this.onScroll=function(){r.updateVirtualScroll()}}var n,a,h,f,p,v;return n=e,a=[{key:"itemsChanged",value:function(){this.calcCells(),this.updateVirtualScroll()}},{key:"connectedCallback",value:(v=i(r().mark(function t(){var e;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this.el.closest("ion-content"))){t.next=10;break}return t.next=4,e.getScrollElement();case 4:this.scrollEl=t.sent,this.contentEl=e,this.calcCells(),this.updateState(),t.next=11;break;case 10:console.error("<ion-virtual-scroll> must be used inside an <ion-content>");case 11:case"end":return t.stop()}},t,this)})),function(){return v.apply(this,arguments)})},{key:"componentDidUpdate",value:function(){this.updateState()}},{key:"disconnectedCallback",value:function(){this.scrollEl=void 0}},{key:"onResize",value:function(){this.calcCells(),this.updateVirtualScroll()}},{key:"positionForItem",value:function(t){return Promise.resolve(function(t,e,r){var n=e.find(function(e){return"item"===e.type&&e.index===t});return n?r[n.i]:-1}(t,this.cells,this.getHeightIndex()))}},{key:"checkRange",value:(p=i(r().mark(function t(e){var n,i,o,a,s=arguments;return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:-1,this.items){t.next=3;break}return t.abrupt("return");case 3:i=-1===n?this.items.length-e:n,o=function(t,e){return 0===e?0:e===(t.length>0?t[t.length-1].index:0)+1?t.length:t.findIndex(function(t){return t.index===e})}(this.cells,e),a=u(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,o,e,i),this.cells=function(t,e,r){if(0===r&&e.length>=t.length)return e;for(var n=0;n<e.length;n++)t[n+r]=e[n];return t}(this.cells,a,o),this.lastItemLen=this.items.length,this.indexDirty=Math.max(e-1,0),this.scheduleUpdate();case 5:case"end":return t.stop()}},t,this)})),function(t){return p.apply(this,arguments)})},{key:"checkEnd",value:(f=i(r().mark(function t(){return r().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.items&&this.checkRange(this.lastItemLen);case 1:case"end":return t.stop()}},t,this)})),function(){return f.apply(this,arguments)})},{key:"updateVirtualScroll",value:function(){this.isEnabled&&this.scrollEl&&(this.timerUpdate&&(clearTimeout(this.timerUpdate),this.timerUpdate=void 0),Object(s.h)(this.readVS.bind(this)),Object(s.f)(this.writeVS.bind(this)))}},{key:"readVS",value:function(){for(var t=this.contentEl,e=this.scrollEl,r=0,n=this.el;n&&n!==t;)r+=n.offsetTop,n=n.offsetParent;this.viewportOffset=r,e&&(this.viewportHeight=e.offsetHeight,this.currentScrollTop=e.scrollTop)}},{key:"writeVS",value:function(){var e,r,n=this.indexDirty,i=(e=this.currentScrollTop-this.viewportOffset,r=this.viewportHeight,{top:Math.max(e-100,0),bottom:e+r+100}),o=this.getHeightIndex(),a=function(t,e,r){for(var n=e.top,i=e.bottom,o=0;o<t.length&&!(t[o]>n);o++);for(var a=Math.max(o-2-1,0);o<t.length&&!(t[o]>=i);o++);return{offset:a,length:Math.min(o+2,t.length)-a}}(o,i);(function(t,e,r){return t<=r.offset+r.length||e.offset!==r.offset||e.length!==r.length})(n,this.range,a)&&(this.range=a,function(e,r,n,i){var o,a=t(e);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.change=0,s.d=!0}}catch(g){a.e(g)}finally{a.f()}for(var l=[],c=i.offset+i.length,h=function(t){var i=n[t],o=e.find(function(t){return t.d&&t.cell===i});if(o){var a=r[t];a!==o.top&&(o.top=a,o.change=1),o.d=!1}else l.push(i)},u=i.offset;u<c;u++)h(u);for(var f=e.filter(function(t){return t.d}),d=function(){var t=v[p],n=f.find(function(e){return e.d&&e.cell.type===t.type}),i=t.i;n?(n.d=!1,n.change=2,n.cell=t,n.top=r[i]):e.push({d:!1,cell:t,visible:!0,change:2,top:r[i]})},p=0,v=l;p<v.length;p++)d();e.filter(function(t){return t.d&&-9999!==t.top}).forEach(function(t){t.change=1,t.top=-9999})}(this.virtualDom,o,this.cells,a),this.nodeRender?function(t,e,r,n){for(var i,o=Array.from(t.children).filter(function(t){return"TEMPLATE"!==t.tagName}),a=o.length,s=0;s<r.length;s++){var l=r[s],h=l.cell;if(2===l.change){if(s<a)e(i=o[s],h,s);else{var u=c(t,h.type);(i=e(u,h,s)||u).classList.add("virtual-item"),t.appendChild(i)}i.$ionCell=h}else i=o[s];0!==l.change&&(i.style.transform="translate3d(0,".concat(l.top,"px,0)"));var f=h.visible;l.visible!==f&&(f?i.classList.remove("virtual-loading"):i.classList.add("virtual-loading"),l.visible=f),h.reads>0&&(n(h,i),h.reads--)}}(this.el,this.nodeRender,this.virtualDom,this.updateCellHeight.bind(this)):this.domRender?this.domRender(this.virtualDom):this.renderItem&&Object(s.l)(this))}},{key:"updateCellHeight",value:function(t,e){var r=this,n=function(){if(e.$ionCell===t){var n=window.getComputedStyle(e),i=e.offsetHeight+parseFloat(n.getPropertyValue("margin-bottom"));r.setCellHeight(t,i)}};e?Object(l.c)(e,n):n()}},{key:"setCellHeight",value:function(t,e){var r=t.i;t===this.cells[r]&&(t.height===e&&!0===t.visible||(t.visible=!0,t.height=e,this.indexDirty=Math.min(this.indexDirty,r),this.scheduleUpdate()))}},{key:"scheduleUpdate",value:function(){var t=this;clearTimeout(this.timerUpdate),this.timerUpdate=setTimeout(function(){return t.updateVirtualScroll()},100)}},{key:"updateState",value:function(){var t=!(!this.scrollEl||!this.cells);t!==this.isEnabled&&(this.enableScrollEvents(t),t&&this.updateVirtualScroll())}},{key:"calcCells",value:function(){this.items&&(this.lastItemLen=this.items.length,this.cells=u(this.items,this.itemHeight,this.headerHeight,this.footerHeight,this.headerFn,this.footerFn,this.approxHeaderHeight,this.approxFooterHeight,this.approxItemHeight,0,0,this.lastItemLen),this.indexDirty=0)}},{key:"getHeightIndex",value:function(){return this.indexDirty!==1/0&&this.calcHeightIndex(this.indexDirty),this.heightIndex}},{key:"calcHeightIndex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.heightIndex=function(t,e){if(!t)return new Uint32Array(e);if(t.length===e)return t;if(e>t.length){var r=new Uint32Array(e);return r.set(t),r}return t.subarray(0,e)}(this.heightIndex,this.cells.length),this.totalHeight=function(t,e,r){for(var n=t[r],i=r;i<t.length;i++)t[i]=n,n+=e[i].height;return n}(this.heightIndex,this.cells,t),this.indexDirty=1/0}},{key:"enableScrollEvents",value:function(t){var e=this;this.rmEvent&&(this.rmEvent(),this.rmEvent=void 0);var r=this.scrollEl;r&&(this.isEnabled=t,r.addEventListener("scroll",this.onScroll),this.rmEvent=function(){r.removeEventListener("scroll",e.onScroll)})}},{key:"renderVirtualNode",value:function(t){var e=t.cell,r=e.type,n=e.value,i=e.index;switch(r){case"item":return this.renderItem(n,i);case"header":return this.renderHeader(n,i);case"footer":return this.renderFooter(n,i)}}},{key:"render",value:function(){var t=this;return Object(s.j)(s.c,{style:{height:this.totalHeight+"px"}},this.renderItem&&Object(s.j)(d,{dom:this.virtualDom},this.virtualDom.map(function(e){return t.renderVirtualNode(e)})))}},{key:"el",get:function(){return Object(s.k)(this)}}],h=[{key:"watchers",get:function(){return{itemHeight:["itemsChanged"],headerHeight:["itemsChanged"],footerHeight:["itemsChanged"],items:["itemsChanged"]}}}],a&&o(n.prototype,a),h&&o(n,h),Object.defineProperty(n,"prototype",{writable:!1}),e}(),d=function(t,e,r){var n=t.dom;return r.map(e,function(t,e){var r=n[e],i=t.vattrs||{},o=i.class||"";return o+="virtual-item ",r.visible||(o+="virtual-loading"),Object.assign(Object.assign({},t),{vattrs:Object.assign(Object.assign({},i),{class:o,style:Object.assign(Object.assign({},i.style),{transform:"translate3d(0,".concat(r.top,"px,0)")})})})})};f.style="ion-virtual-scroll{display:block;position:relative;width:100%;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-virtual-scroll>.virtual-loading{opacity:0}ion-virtual-scroll>.virtual-item{position:absolute !important;top:0 !important;right:0 !important;left:0 !important;-webkit-transition-duration:0ms;transition-duration:0ms;will-change:transform}"}}])}(); \ No newline at end of file diff --git a/dist/58-es5.8db67cb1837a5fe115dd.js b/dist/58-es5.8db67cb1837a5fe115dd.js index d302b2015c..1ee62ca2cd 100644 --- a/dist/58-es5.8db67cb1837a5fe115dd.js +++ b/dist/58-es5.8db67cb1837a5fe115dd.js @@ -1 +1 @@ -!function(){function e(t,i){return(e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(t,i)}function t(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var s,r=a(e);if(t){var n=a(this).constructor;s=Reflect.construct(r,arguments,n)}else s=r.apply(this,arguments);return i(this,s)}}function i(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 s(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function o(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var s,a,r=[],n=!0,o=!1;try{for(i=i.call(e);!(n=(s=i.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(l){o=!0,a=l}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(e,t)}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{"F/jJ":function(a,n,d){"use strict";function u(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function h(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(i){void 0===e[i]?e[i]=t[i]:u(t[i])&&u(e[i])&&Object.keys(t[i]).length>0&&h(e[i],t[i])})}d.r(n),d.d(n,"Swiper",function(){return ie});var p="undefined"!=typeof document?document:{},v={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};h(p,v);var f="undefined"!=typeof window?window:{};h(f,{document:v,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var m=function e(t){c(this,e);for(var i=0;i<t.length;i+=1)this[i]=t[i];return this.length=t.length,this};function g(e,t){var i=[],s=0;if(e&&!t&&e instanceof m)return e;if(e)if("string"==typeof e){var a,r,n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){var o="div";for(0===n.indexOf("<li")&&(o="ul"),0===n.indexOf("<tr")&&(o="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(o="tr"),0===n.indexOf("<tbody")&&(o="table"),0===n.indexOf("<option")&&(o="select"),(r=p.createElement(o)).innerHTML=n,s=0;s<r.childNodes.length;s+=1)i.push(r.childNodes[s])}else for(a=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||p).querySelectorAll(e.trim()):[p.getElementById(e.trim().split("#")[1])],s=0;s<a.length;s+=1)a[s]&&i.push(a[s])}else if(e.nodeType||e===f||e===p)i.push(e);else if(e.length>0&&e[0].nodeType)for(s=0;s<e.length;s+=1)i.push(e[s]);return new m(i)}function b(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}g.fn=m.prototype,g.Class=m,g.Dom7=m;var w={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var s in e)this[i][s]=e[s],this[i].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0])return i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];var a=i[0],r=i[1],n=i[2],o=i[3];function d(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),g(t).is(r))n.apply(t,i);else for(var s=g(t).parents(),a=0;a<s.length;a+=1)g(s[a]).is(r)&&n.apply(s[a],i)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof i[1]&&(a=(e=l(i,3))[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var u,h=a.split(" "),p=0;p<this.length;p+=1){var v=this[p];if(r)for(u=0;u<h.length;u+=1){var f=h[u];v.dom7LiveListeners||(v.dom7LiveListeners={}),v.dom7LiveListeners[f]||(v.dom7LiveListeners[f]=[]),v.dom7LiveListeners[f].push({listener:n,proxyListener:d}),v.addEventListener(f,d,o)}else for(u=0;u<h.length;u+=1){var m=h[u];v.dom7Listeners||(v.dom7Listeners={}),v.dom7Listeners[m]||(v.dom7Listeners[m]=[]),v.dom7Listeners[m].push({listener:n,proxyListener:c}),v.addEventListener(m,c,o)}}return this},off:function(){for(var e,t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];var a=i[0],r=i[1],n=i[2],o=i[3];"function"==typeof i[1]&&(a=(e=l(i,3))[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var d=a.split(" "),c=0;c<d.length;c+=1)for(var u=d[c],h=0;h<this.length;h+=1){var p=this[h],v=void 0;if(!r&&p.dom7Listeners?v=p.dom7Listeners[u]:r&&p.dom7LiveListeners&&(v=p.dom7LiveListeners[u]),v&&v.length)for(var f=v.length-1;f>=0;f-=1){var m=v[f];n&&m.listener===n||n&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===n?(p.removeEventListener(u,m.proxyListener,o),v.splice(f,1)):n||(p.removeEventListener(u,m.proxyListener,o),v.splice(f,1))}}return this},trigger:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];for(var s=t[0].split(" "),a=t[1],r=0;r<s.length;r+=1)for(var n=s[r],o=0;o<this.length;o+=1){var l=this[o],d=void 0;try{d=new f.CustomEvent(n,{detail:a,bubbles:!0,cancelable:!0})}catch(c){(d=p.createEvent("Event")).initEvent(n,!0,!0),d.detail=a}l.dom7EventData=t.filter(function(e,t){return t>0}),l.dispatchEvent(d),l.dom7EventData=[],delete l.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=p.body;return{top:t.top+(e===f?f.scrollY:e.scrollTop)-(e.clientTop||i.clientTop||0),left:t.left+(e===f?f.scrollX:e.scrollLeft)-(e.clientLeft||i.clientLeft||0)}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var s in e)this[i].style[s]=e[s];return this}if(this[0])return f.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,s=this[0];if(!s||void 0===e)return!1;if("string"==typeof e){if(s.matches)return s.matches(e);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(e);if(s.msMatchesSelector)return s.msMatchesSelector(e);for(t=g(e),i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}if(e===p)return s===p;if(e===f)return s===f;if(e.nodeType||e instanceof m){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return e>i-1?new m([]):e<0?new m((t=i+e)<0?[]:[this[t]]):new m([this[e]])},append:function(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var i=0;i<this.length;i+=1)if("string"==typeof e){var s=p.createElement("div");for(s.innerHTML=e;s.firstChild;)this[i].appendChild(s.firstChild)}else if(e instanceof m)for(var a=0;a<e.length;a+=1)this[i].appendChild(e[a]);else this[i].appendChild(e)}return this},prepend:function(e){var t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=p.createElement("div");for(s.innerHTML=e,i=s.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(s.childNodes[i],this[t].childNodes[0])}else if(e instanceof m)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&g(this[0].nextElementSibling).is(e)?new m([this[0].nextElementSibling]):new m([]):new m(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):new m([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new m([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;e?g(s).is(e)&&t.push(s):t.push(s),i=s}return new m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&g(t.previousElementSibling).is(e)?new m([t.previousElementSibling]):new m([]):new m(t.previousElementSibling?[t.previousElementSibling]:[])}return new m([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new m([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;e?g(s).is(e)&&t.push(s):t.push(s),i=s}return new m(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?g(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return g(b(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].parentNode;s;)e?g(s).is(e)&&t.push(s):t.push(s),s=s.parentNode;return g(b(t))},closest:function(e){var t=this;return void 0===e?new m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].querySelectorAll(e),a=0;a<s.length;a+=1)t.push(s[a]);return new m(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].childNodes,a=0;a<s.length;a+=1)e?1===s[a].nodeType&&g(s[a]).is(e)&&t.push(s[a]):1===s[a].nodeType&&t.push(s[a]);return new m(b(t))},filter:function(e){for(var t=[],i=this,s=0;s<i.length;s+=1)e.call(i[s],s,i[s])&&t.push(i[s]);return new m(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t,i=this,s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];for(e=0;e<a.length;e+=1){var n=g(a[e]);for(t=0;t<n.length;t+=1)i[i.length]=n[t],i.length+=1}return i},styles:function(){return this[0]?f.getComputedStyle(this[0],null):{}}};Object.keys(w).forEach(function(e){g.fn[e]=g.fn[e]||w[e]});var y,T,E,S,x,C,M,k,P,z,L,$,D,O,I,A={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}})},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,i,s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",r=f.getComputedStyle(e,null);return f.WebKitCSSMatrix?((i=r.transform||r.webkitTransform).split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new f.WebKitCSSMatrix("none"===i?"":i)):t=(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===a&&(i=f.WebKitCSSMatrix?s.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===a&&(i=f.WebKitCSSMatrix?s.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),i||0},parseUrlQuery:function(e){var t,i,s,a,r={},n=e||f.location.href;if("string"==typeof n&&n.length)for(a=(i=(n=n.indexOf("?")>-1?n.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<a;t+=1)s=i[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var i=t<0||arguments.length<=t?void 0:arguments[t];if(null!=i)for(var s=Object.keys(Object(i)),a=0,r=s.length;a<r;a+=1){var n=s[a],o=Object.getOwnPropertyDescriptor(i,n);void 0!==o&&o.enumerable&&(A.isObject(e[n])&&A.isObject(i[n])?A.extend(e[n],i[n]):!A.isObject(e[n])&&A.isObject(i[n])?(e[n]={},A.extend(e[n],i[n])):e[n]=i[n])}}return e}},G={touch:!!("ontouchstart"in f||f.DocumentTouch&&p instanceof f.DocumentTouch),pointerEvents:!!f.PointerEvent&&"maxTouchPoints"in f.navigator&&f.navigator.maxTouchPoints>=0,observer:"MutationObserver"in f||"WebkitMutationObserver"in f,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});f.addEventListener("testPassiveListener",null,t)}catch(i){}return e}(),gestures:"ongesturestart"in f},B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e);var i=this;i.params=t,i.eventsListeners={},i.params&&i.params.on&&Object.keys(i.params.on).forEach(function(e){i.on(e,i.params.on[e])})}return o(e,[{key:"on",value:function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)}),s}},{key:"once",value:function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];s.off(e,a),a.f7proxy&&delete a.f7proxy,t.apply(s,r)}return a.f7proxy=t,s.on(e,a,i)}},{key:"off",value:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach(function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)})}),i):i}},{key:"emit",value:function(){var e,t,i,s=this;if(!s.eventsListeners)return s;for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=s):(e=r[0].events,t=r[0].data,i=r[0].context||s),(Array.isArray(e)?e:e.split(" ")).forEach(function(e){if(s.eventsListeners&&s.eventsListeners[e]){var a=[];s.eventsListeners[e].forEach(function(e){a.push(e)}),a.forEach(function(e){e.apply(i,t)})}}),s}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i];s.params&&A.extend(e,s.params)})}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach(function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i}),s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(a)})}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});for(var i=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(A.now()),s=arguments.length,a=new Array(s>1?s-1:0),r=1;r<s;r++)a[r-1]=arguments[r];return t.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach(function(i){t.prototype[i]=e.proto[i]}),e.static&&Object.keys(e.static).forEach(function(i){t[i]=e.static[i]}),e.install&&e.install.apply(t,a),t}},{key:"use",value:function(e){for(var t=this,i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return Array.isArray(e)?(e.forEach(function(e){return t.installModule(e)}),t):t.installModule.apply(t,[e].concat(s))}}]),e}(),X={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),A.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,i=e.$wrapperEl,s=e.size,a=e.rtlTranslate,r=e.wrongRTL,n=e.virtual&&t.virtual.enabled,o=n?e.virtual.slides.length:e.slides.length,l=i.children("."+e.params.slideClass),d=n?e.virtual.slides.length:l.length,c=[],u=[],h=[];function p(e){return!t.cssMode||e!==l.length-1}var v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(e));var m=t.slidesOffsetAfter;"function"==typeof m&&(m=t.slidesOffsetAfter.call(e));var g,b,w=e.snapGrid.length,y=e.snapGrid.length,T=t.spaceBetween,E=-v,S=0,x=0;if(void 0!==s){"string"==typeof T&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*s),e.virtualSize=-T,l.css(a?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(g=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(g=Math.max(g,t.slidesPerView*t.slidesPerColumn)));for(var C,M=t.slidesPerColumn,k=g/M,P=Math.floor(d/t.slidesPerColumn),z=0;z<d;z+=1){b=0;var L=l.eq(z);if(t.slidesPerColumn>1){var $=void 0,D=void 0,O=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var I=Math.floor(z/(t.slidesPerGroup*t.slidesPerColumn)),G=z-t.slidesPerColumn*t.slidesPerGroup*I,B=0===I?t.slidesPerGroup:Math.min(Math.ceil((d-I*M*t.slidesPerGroup)/M),t.slidesPerGroup);$=(D=G-(O=Math.floor(G/B))*B+I*t.slidesPerGroup)+O*g/M,L.css({"-webkit-box-ordinal-group":$,"-moz-box-ordinal-group":$,"-ms-flex-order":$,"-webkit-order":$,order:$})}else"column"===t.slidesPerColumnFill?(O=z-(D=Math.floor(z/M))*M,(D>P||D===P&&O===M-1)&&((O+=1)>=M&&(O=0,D+=1))):D=z-(O=Math.floor(z/k))*k;L.css("margin-"+(e.isHorizontal()?"top":"left"),0!==O&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==L.css("display")){if("auto"===t.slidesPerView){var X=f.getComputedStyle(L[0],null),Y=L[0].style.transform,H=L[0].style.webkitTransform;if(Y&&(L[0].style.transform="none"),H&&(L[0].style.webkitTransform="none"),t.roundLengths)b=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var V=parseFloat(X.getPropertyValue("width")),W=parseFloat(X.getPropertyValue("padding-left")),F=parseFloat(X.getPropertyValue("padding-right")),N=parseFloat(X.getPropertyValue("margin-left")),R=parseFloat(X.getPropertyValue("margin-right")),j=X.getPropertyValue("box-sizing");b=j&&"border-box"===j?V+N+R:V+W+F+N+R}else{var q=parseFloat(X.getPropertyValue("height")),_=parseFloat(X.getPropertyValue("padding-top")),U=parseFloat(X.getPropertyValue("padding-bottom")),K=parseFloat(X.getPropertyValue("margin-top")),J=parseFloat(X.getPropertyValue("margin-bottom")),Q=X.getPropertyValue("box-sizing");b=Q&&"border-box"===Q?q+K+J:q+_+U+K+J}Y&&(L[0].style.transform=Y),H&&(L[0].style.webkitTransform=H),t.roundLengths&&(b=Math.floor(b))}else b=(s-(t.slidesPerView-1)*T)/t.slidesPerView,t.roundLengths&&(b=Math.floor(b)),l[z]&&(e.isHorizontal()?l[z].style.width=b+"px":l[z].style.height=b+"px");l[z]&&(l[z].swiperSlideSize=b),h.push(b),t.centeredSlides?(E=E+b/2+S/2+T,0===S&&0!==z&&(E=E-s/2-T),0===z&&(E=E-s/2-T),Math.abs(E)<.001&&(E=0),t.roundLengths&&(E=Math.floor(E)),x%t.slidesPerGroup==0&&c.push(E),u.push(E)):(t.roundLengths&&(E=Math.floor(E)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&c.push(E),u.push(E),E=E+b+T),e.virtualSize+=b+T,S=b,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+m,a&&r&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(b+t.spaceBetween)*g,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){C=[];for(var Z=0;Z<c.length;Z+=1){var ee=c[Z];t.roundLengths&&(ee=Math.floor(ee)),c[Z]<e.virtualSize+c[0]&&C.push(ee)}c=C}if(!t.centeredSlides){C=[];for(var te=0;te<c.length;te+=1){var ie=c[te];t.roundLengths&&(ie=Math.floor(ie)),c[te]<=e.virtualSize-s&&C.push(ie)}c=C,Math.floor(e.virtualSize-s)-Math.floor(c[c.length-1])>1&&c.push(e.virtualSize-s)}if(0===c.length&&(c=[0]),0!==t.spaceBetween&&(e.isHorizontal()?a?l.filter(p).css({marginLeft:T+"px"}):l.filter(p).css({marginRight:T+"px"}):l.filter(p).css({marginBottom:T+"px"})),t.centeredSlides&&t.centeredSlidesBounds){var se=0;h.forEach(function(e){se+=e+(t.spaceBetween?t.spaceBetween:0)});var ae=(se-=t.spaceBetween)-s;c=c.map(function(e){return e<0?-v:e>ae?ae+m:e})}if(t.centerInsufficientSlides){var re=0;if(h.forEach(function(e){re+=e+(t.spaceBetween?t.spaceBetween:0)}),(re-=t.spaceBetween)<s){var ne=(s-re)/2;c.forEach(function(e,t){c[t]=e-ne}),u.forEach(function(e,t){u[t]=e+ne})}}A.extend(e,{slides:l,snapGrid:c,slidesGrid:u,slidesSizesGrid:h}),d!==o&&e.emit("slidesLengthChange"),c.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=this,s=[],a=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each(function(e,t){s.push(t)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var r=i.activeIndex+t;if(r>i.slides.length)break;s.push(i.slides.eq(r)[0])}else s.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<s.length;t+=1)if(void 0!==s[t]){var n=s[t].offsetHeight;a=n>a?n:a}a&&i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,i=t.params,s=t.slides,a=t.rtlTranslate;if(0!==s.length){void 0===s[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;a&&(r=e),s.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<s.length;n+=1){var o=s[n],l=(r+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-o.swiperSlideOffset),c=d+t.slidesSizesGrid[n];(d>=0&&d<t.size-1||c>1&&c<=t.size||d<=0&&c>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(n),s.eq(n).addClass(i.slideVisibleClass))}o.progress=a?-l:l}t.visibleSlides=g(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var s=t.params,a=t.maxTranslate()-t.minTranslate(),r=t.progress,n=t.isBeginning,o=t.isEnd,l=n,d=o;0===a?(r=0,n=!0,o=!0):(n=(r=(e-t.minTranslate())/a)<=0,o=r>=1),A.extend(t,{progress:r,isBeginning:n,isEnd:o}),(s.watchSlidesProgress||s.watchSlidesVisibility||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),(e=n?this.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(a,'"]')):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(o.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(o.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,d=e;if(void 0===d){for(var c=0;c<s.length;c+=1)void 0!==s[c+1]?i>=s[c]&&i<s[c+1]-(s[c+1]-s[c])/2?d=c:i>=s[c]&&i<s[c+1]&&(d=c+1):i>=s[c]&&(d=c);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(a.indexOf(i)>=0)t=a.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,d);t=u+Math.floor((d-u)/r.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),d!==n){var h=parseInt(this.slides.eq(d).attr("data-swiper-slide-index")||d,10);A.extend(this,{snapIndex:t,realIndex:h,previousIndex:n,activeIndex:d}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==h&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,s=g(e.target).closest("."+i.slideClass)[0],a=!1;if(s)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===s&&(a=!0);if(!s||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=s,t.clickedIndex=t.virtual&&t.params.virtual.enabled?parseInt(g(s).attr("data-swiper-slide-index"),10):g(s).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},Y={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;var r=A.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.wrapperEl,n=this.progress,o=0,l=0;this.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-l:s.virtualTranslate||a.transform("translate3d(".concat(o,"px, ").concat(l,"px, 0px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:l;var d=this.maxTranslate()-this.minTranslate();(0===d?0:(e-this.minTranslate())/d)!==n&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4?arguments[4]:void 0,n=this,o=n.params,l=n.wrapperEl;if(n.animating&&o.preventInteractionOnTransition)return!1;var d,c=n.minTranslate(),u=n.maxTranslate();if(d=s&&e>c?c:s&&e<u?u:e,n.updateProgress(d),o.cssMode){var h,p=n.isHorizontal();return 0===t?l[p?"scrollLeft":"scrollTop"]=-d:l.scrollTo?l.scrollTo((r(h={},p?"left":"top",-d),r(h,"behavior","smooth"),h)):l[p?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(n.setTransition(0),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,a),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,i&&n.emit("transitionEnd"))}),n.$wrapperEl[0].addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd))),!0}},H={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3?arguments[3]:void 0,a=this,n=e;n<0&&(n=0);var o=a.params,l=a.snapGrid,d=a.slidesGrid,c=a.previousIndex,u=a.activeIndex,h=a.rtlTranslate,p=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var v=Math.min(a.params.slidesPerGroupSkip,n),f=v+Math.floor((n-v)/a.params.slidesPerGroup);f>=l.length&&(f=l.length-1),(u||o.initialSlide||0)===(c||0)&&i&&a.emit("beforeSlideChangeStart");var m,g=-l[f];if(a.updateProgress(g),o.normalizeSlideIndex)for(var b=0;b<d.length;b+=1)-Math.floor(100*g)>=Math.floor(100*d[b])&&(n=b);if(a.initialized&&n!==u){if(!a.allowSlideNext&&g<a.translate&&g<a.minTranslate())return!1;if(!a.allowSlidePrev&&g>a.translate&&g>a.maxTranslate()&&(u||0)!==n)return!1}if(m=n>u?"next":n<u?"prev":"reset",h&&-g===a.translate||!h&&g===a.translate)return a.updateActiveIndex(n),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(g),"reset"!==m&&(a.transitionStart(i,m),a.transitionEnd(i,m)),!1;if(o.cssMode){var w,y=a.isHorizontal(),T=-g;return h&&(T=p.scrollWidth-p.offsetWidth-T),0===t?p[y?"scrollLeft":"scrollTop"]=T:p.scrollTo?p.scrollTo((r(w={},y?"left":"top",T),r(w,"behavior","smooth"),w)):p[y?"scrollLeft":"scrollTop"]=T,!0}return 0===t?(a.setTransition(0),a.setTranslate(g),a.updateActiveIndex(n),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,m),a.transitionEnd(i,m)):(a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(n),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,m),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,m))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3?arguments[3]:void 0,a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=this,a=s.params,r=s.animating,n=s.activeIndex<a.slidesPerGroupSkip?1:a.slidesPerGroup;if(a.loop){if(r)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}return s.slideTo(s.activeIndex+n,e,t,i)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=this,a=s.params,r=s.animating,n=s.snapGrid,o=s.slidesGrid,l=s.rtlTranslate;if(a.loop){if(r)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c=d(l?s.translate:-s.translate),u=n.map(function(e){return d(e)});o.map(function(e){return d(e)}),u.indexOf(c);var h,p=n[u.indexOf(c)-1];return void 0===p&&a.cssMode&&n.forEach(function(e){!p&&c>=e&&(p=e)}),void 0!==p&&((h=o.indexOf(p))<0&&(h=s.activeIndex-1)),s.slideTo(h,e,t,i)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0;return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,a=this,r=a.activeIndex,n=Math.min(a.params.slidesPerGroupSkip,r),o=n+Math.floor((r-n)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){var d=a.snapGrid[o];l-d>(a.snapGrid[o+1]-d)*s&&(r+=a.params.slidesPerGroup)}else{var c=a.snapGrid[o-1];l-c<=(a.snapGrid[o]-c)*s&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(g(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-a/2||r>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=s.children(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(i.slideDuplicateClass,")")).eq(0).index(),A.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=s.children(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(i.slideDuplicateClass,")")).eq(0).index(),A.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},V={loopCreate:function(){var e=this,t=e.params,i=e.$wrapperEl;i.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var s=i.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var a=t.slidesPerGroup-s.length%t.slidesPerGroup;if(a!==t.slidesPerGroup){for(var r=0;r<a;r+=1){var n=g(p.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));i.append(n)}s=i.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var o=[],l=[];s.each(function(t,i){var a=g(i);t<e.loopedSlides&&l.push(i),t<s.length&&t>=s.length-e.loopedSlides&&o.push(i),a.attr("data-swiper-slide-index",t)});for(var d=0;d<l.length;d+=1)i.append(g(l[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var c=o.length-1;c>=0;c-=1)i.prepend(g(o[c].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,s=this.loopedSlides,a=this.allowSlidePrev,r=this.allowSlideNext,n=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-n[t]-this.getTranslate();t<s?(e=i.length-3*s+t,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)):t>=i.length-s&&(e=-i.length+t+s,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)),this.allowSlidePrev=a,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,",.").concat(t.slideClass,".").concat(t.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}},W={setGrabCursor:function(e){if(!(G.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){G.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},F={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&G.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&G.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this,s=i.$wrapperEl,a=i.params,r=i.activeIndex;a.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=s.children("."+a.slideClass));var n=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=n)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=n-1;d>=e;d-=1){var c=i.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&s.append(t[u]);o=r>e?r+t.length:r}else s.append(t);for(var h=0;h<l.length;h+=1)s.append(l[h]);a.loop&&i.loopCreate(),a.observer&&G.observer||i.update(),i.slideTo(a.loop?o+i.loopedSlides:o,0,!1)}},removeSlide:function(e){var t=this,i=t.params,s=t.$wrapperEl,a=t.activeIndex;i.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.slides=s.children("."+i.slideClass));var r,n=a;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);i.loop&&t.loopCreate(),i.observer&&G.observer||t.update(),t.slideTo(i.loop?n+t.loopedSlides:n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},N=(y=f.navigator.platform,T=f.navigator.userAgent,E={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!f.cordova&&!f.phonegap),phonegap:!(!f.cordova&&!f.phonegap),electron:!1},S=f.screen.width,x=f.screen.height,C=T.match(/(Android);?[\s\/]+([\d.]+)?/),M=T.match(/(iPad).*OS\s([\d_]+)/),k=T.match(/(iPod)(.*OS\s([\d_]+))?/),P=!M&&T.match(/(iPhone\sOS|iOS)\s([\d_]+)/),z=T.indexOf("MSIE ")>=0||T.indexOf("Trident/")>=0,L=T.indexOf("Edge/")>=0,$=T.indexOf("Gecko/")>=0&&T.indexOf("Firefox/")>=0,D="Win32"===y,O=T.toLowerCase().indexOf("electron")>=0,I="MacIntel"===y,!M&&I&&G.touch&&(1024===S&&1366===x||834===S&&1194===x||834===S&&1112===x||768===S&&1024===x)&&(M=T.match(/(Version)\/([\d.]+)/),I=!1),E.ie=z,E.edge=L,E.firefox=$,C&&!D&&(E.os="android",E.osVersion=C[2],E.android=!0,E.androidChrome=T.toLowerCase().indexOf("chrome")>=0),(M||P||k)&&(E.os="ios",E.ios=!0),P&&!k&&(E.osVersion=P[2].replace(/_/g,"."),E.iphone=!0),M&&(E.osVersion=M[2].replace(/_/g,"."),E.ipad=!0),k&&(E.osVersion=k[3]?k[3].replace(/_/g,"."):null,E.ipod=!0),E.ios&&E.osVersion&&T.indexOf("Version/")>=0&&"10"===E.osVersion.split(".")[0]&&(E.osVersion=T.toLowerCase().split("version/")[1].split(" ")[0]),E.webView=!(!(P||M||k)||!T.match(/.*AppleWebKit(?!.*Safari)/i)&&!f.navigator.standalone)||f.matchMedia&&f.matchMedia("(display-mode: standalone)").matches,E.webview=E.webView,E.standalone=E.webView,E.desktop=!(E.ios||E.android)||O,E.desktop&&(E.electron=O,E.macos=I,E.windows=D,E.macos&&(E.os="macos"),E.windows&&(E.os="windows")),E.pixelRatio=f.devicePixelRatio||1,E);function R(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches;if(!t.animating||!s.preventInteractionOnTransition){var r=e;r.originalEvent&&(r=r.originalEvent);var n=g(r.target);if(("wrapper"!==s.touchEventsTarget||n.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===r.type,(i.isTouchEvent||!("which"in r)||3!==r.which)&&!(!i.isTouchEvent&&"button"in r&&r.button>0||i.isTouched&&i.isMoved)))if(s.noSwiping&&n.closest(s.noSwipingSelector?s.noSwipingSelector:"."+s.noSwipingClass)[0])t.allowClick=!0;else if(!s.swipeHandler||n.closest(s.swipeHandler)[0]){a.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,a.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var o=a.currentX,l=a.currentY,d=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(!s.edgeSwipeDetection&&!s.iOSEdgeSwipeDetection||!(o<=d||o>=f.screen.width-d)){if(A.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=o,a.startY=l,i.touchStartTime=A.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==r.type){var c=!0;n.is(i.formElements)&&(c=!1),p.activeElement&&g(p.activeElement).is(i.formElements)&&p.activeElement!==n[0]&&p.activeElement.blur();var u=c&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||u)&&r.preventDefault()}t.emit("touchStart",r)}}}}function j(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=e;if(n.originalEvent&&(n=n.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===n.type){var o="touchmove"===n.type&&n.targetTouches&&(n.targetTouches[0]||n.changedTouches[0]),l="touchmove"===n.type?o.pageX:n.pageX,d="touchmove"===n.type?o.pageY:n.pageY;if(n.preventedByNestedSwiper)return a.startX=l,void(a.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(A.extend(a,{startX:l,startY:d,currentX:l,currentY:d}),i.touchStartTime=A.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(d<a.startY&&t.translate<=t.maxTranslate()||d>a.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<a.startX&&t.translate<=t.maxTranslate()||l>a.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&p.activeElement&&n.target===p.activeElement&&g(n.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",n),!(n.targetTouches&&n.targetTouches.length>1)){a.currentX=l,a.currentY=d;var c=a.currentX-a.startX,u=a.currentY-a.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<t.params.threshold)){var h;if(void 0===i.isScrolling)t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:c*c+u*u>=25&&(h=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=t.isHorizontal()?h>s.touchAngle:90-h>s.touchAngle);if(i.isScrolling&&t.emit("touchMoveOpposite",n),void 0===i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,!s.cssMode&&n.cancelable&&n.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&n.stopPropagation(),i.isMoved||(s.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",n)),t.emit("sliderMove",n),i.isMoved=!0;var v=t.isHorizontal()?c:u;a.diff=v,v*=s.touchRatio,r&&(v=-v),t.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var f=!0,m=s.resistanceRatio;if(s.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>t.minTranslate()?(f=!1,s.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<t.maxTranslate()&&(f=!1,s.resistance&&(i.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-i.startTranslate-v,m))),f&&(n.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(v)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:a[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:a[t.isHorizontal()?"currentX":"currentY"],time:A.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",n)}function q(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=A.now(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=A.now(),A.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!s.cssMode)if(s.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void t.slideTo(t.slides.length<l.length?l.length-1:t.slides.length-1);if(s.freeModeMomentum){if(i.velocities.length>1){var p=i.velocities.pop(),v=i.velocities.pop(),f=p.time-v.time;t.velocity=(p.position-v.position)/f,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(f>150||A.now()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var m=1e3*s.freeModeMomentumRatio,g=t.translate+t.velocity*m;r&&(g=-g);var b,w,y=!1,T=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(g<t.maxTranslate())s.freeModeMomentumBounce?(g+t.maxTranslate()<-T&&(g=t.maxTranslate()-T),b=t.maxTranslate(),y=!0,i.allowMomentumBounce=!0):g=t.maxTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(g>t.minTranslate())s.freeModeMomentumBounce?(g-t.minTranslate()>T&&(g=t.minTranslate()+T),b=t.minTranslate(),y=!0,i.allowMomentumBounce=!0):g=t.minTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(s.freeModeSticky){for(var E,S=0;S<l.length;S+=1)if(l[S]>-g){E=S;break}g=-(g=Math.abs(l[E]-g)<Math.abs(l[E-1]-g)||"next"===t.swipeDirection?l[E]:l[E-1])}if(w&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(m=r?Math.abs((-g-t.translate)/t.velocity):Math.abs((g-t.translate)/t.velocity),s.freeModeSticky){var x=Math.abs((r?-g:g)-t.translate),C=t.slidesSizesGrid[t.activeIndex];m=x<C?s.speed:x<2*C?1.5*s.speed:2.5*s.speed}}else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&y?(t.updateProgress(b),t.setTransition(m),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),setTimeout(function(){t.setTranslate(b),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(g),t.setTransition(m),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(g),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||h>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,k=t.slidesSizesGrid[0],P=0;P<o.length;P+=P<s.slidesPerGroupSkip?1:s.slidesPerGroup){var z=P<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==o[P+z]?c>=o[P]&&c<o[P+z]&&(M=P,k=o[P+z]-o[P]):c>=o[P]&&(M=P,k=o[o.length-1]-o[o.length-2])}var L=(c-o[M])/k,$=M<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(L>=s.longSwipesRatio?M+$:M),"prev"===t.swipeDirection&&t.slideTo(L>1-s.longSwipesRatio?M+$:M)}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(M+$),"prev"===t.swipeDirection&&t.slideTo(M)):t.slideTo(d.target===t.navigation.nextEl?M+$:M)}}}function _(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),this.slideTo(("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slides.length-1:this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function U(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function K(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}var J=!1;function Q(){}var Z={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},ee={update:X,translate:Y,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,i=this,s=i.activeIndex,a=i.params,r=i.previousIndex;if(!a.cssMode){a.autoHeight&&i.updateAutoHeight();var n=t;if(n||(n=s>r?"next":s<r?"prev":"reset"),i.emit("transitionStart"),e&&s!==r){if("reset"===n)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),i.emit("next"===n?"slideNextTransitionStart":"slidePrevTransitionStart")}}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,i=this,s=i.activeIndex,a=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var n=t;if(n||(n=s>a?"next":s<a?"prev":"reset"),i.emit("transitionEnd"),e&&s!==a){if("reset"===n)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),i.emit("next"===n?"slideNextTransitionEnd":"slidePrevTransitionEnd")}}}},slide:H,loop:V,grabCursor:W,manipulation:F,events:{attachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,a=e.wrapperEl;e.onTouchStart=R.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e);var r=!!t.nested;if(!G.touch&&G.pointerEvents)s.addEventListener(i.start,e.onTouchStart,!1),p.addEventListener(i.move,e.onTouchMove,r),p.addEventListener(i.end,e.onTouchEnd,!1);else{if(G.touch){var n=!("touchstart"!==i.start||!G.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(i.start,e.onTouchStart,n),s.addEventListener(i.move,e.onTouchMove,G.passiveListener?{passive:!1,capture:r}:r),s.addEventListener(i.end,e.onTouchEnd,n),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,n),J||(p.addEventListener("touchstart",Q),J=!0)}(t.simulateTouch&&!N.ios&&!N.android||t.simulateTouch&&!G.touch&&N.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),p.addEventListener("mousemove",e.onTouchMove,r),p.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),t.cssMode&&a.addEventListener("scroll",e.onScroll),e.on(t.updateOnWindowResize?N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",_,!0)},detachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,a=e.wrapperEl,r=!!t.nested;if(!G.touch&&G.pointerEvents)s.removeEventListener(i.start,e.onTouchStart,!1),p.removeEventListener(i.move,e.onTouchMove,r),p.removeEventListener(i.end,e.onTouchEnd,!1);else{if(G.touch){var n=!("onTouchStart"!==i.start||!G.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(i.start,e.onTouchStart,n),s.removeEventListener(i.move,e.onTouchMove,r),s.removeEventListener(i.end,e.onTouchEnd,n),i.cancel&&s.removeEventListener(i.cancel,e.onTouchEnd,n)}(t.simulateTouch&&!N.ios&&!N.android||t.simulateTouch&&!G.touch&&N.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),p.removeEventListener("mousemove",e.onTouchMove,r),p.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),t.cssMode&&a.removeEventListener("scroll",e.onScroll),e.off(N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate",_)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,s=e.loopedSlides,a=void 0===s?0:s,r=e.params,n=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var c=d||e.originalParams,u=r.slidesPerColumn>1,h=c.slidesPerColumn>1;u&&!h?n.removeClass("".concat(r.containerModifierClass,"multirow ").concat(r.containerModifierClass,"multirow-column")):!u&&h&&(n.addClass(r.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&n.addClass(r.containerModifierClass+"multirow-column"));var p=c.direction&&c.direction!==r.direction,v=r.loop&&(c.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),A.extend(e.params,c),A.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,v&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:f.innerHeight*t,point:e}}return{value:e,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<i.length;s+=1){var a=i[s],r=a.point;a.value<=f.innerWidth&&(t=r)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;this.isLocked=e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?i<=this.size:1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&(a.push("multirow"),"column"===t.slidesPerColumnFill&&a.push("multirow-column")),N.android&&a.push("android"),N.ios&&a.push("ios"),t.cssMode&&a.push("css-mode"),a.forEach(function(i){e.push(t.containerModifierClass+i)}),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,s,a,r){var n;function o(){r&&r()}g(e).parent("picture")[0]||e.complete&&a?o():t?((n=new f.Image).onload=o,n.onerror=o,s&&(n.sizes=s),i&&(n.srcset=i),t&&(n.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},te={},ie=function(a){!function(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),i&&e(t,i)}(n,a);var r=t(n);function n(){var e,t,a,o;c(this,n);for(var d=arguments.length,u=new Array(d),h=0;h<d;h++)u[h]=arguments[h];1===u.length&&u[0].constructor&&u[0].constructor===Object?o=u[0]:(a=(e=l(u,2))[0],o=e[1]),o||(o={}),o=A.extend({},o),a&&!o.el&&(o.el=a),t=r.call(this,o),Object.keys(ee).forEach(function(e){Object.keys(ee[e]).forEach(function(t){n.prototype[t]||(n.prototype[t]=ee[e][t])})});var p=s(t);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach(function(e){var t=p.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in o)||!("enabled"in s))return;!0===o[i]&&(o[i]={enabled:!0}),"object"!=typeof o[i]||"enabled"in o[i]||(o[i].enabled=!0),o[i]||(o[i]={enabled:!1})}});var v=A.extend({},Z);p.useModulesParams(v),p.params=A.extend({},v,te,o),p.originalParams=A.extend({},p.params),p.passedParams=A.extend({},o),p.$=g;var f,m,b,w=g(p.params.el);if(!(a=w[0]))return i(t);if(w.length>1){var y=[];return i(t,(w.each(function(e,t){var i=A.extend({},o,{el:t});y.push(new n(i))}),y))}return i(t,(a.swiper=p,w.data("swiper",p),a&&a.shadowRoot&&a.shadowRoot.querySelector?(f=g(a.shadowRoot.querySelector("."+p.params.wrapperClass))).children=function(e){return w.children(e)}:f=w.children("."+p.params.wrapperClass),A.extend(p,{$el:w,el:a,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===w.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===w.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(m=["touchstart","touchmove","touchend","touchcancel"],b=["mousedown","mousemove","mouseup"],G.pointerEvents&&(b=["pointerdown","pointermove","pointerup"]),p.touchEventsTouch={start:m[0],move:m[1],end:m[2],cancel:m[3]},p.touchEventsDesktop={start:b[0],move:b[1],end:b[2]},G.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:A.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),p))}return o(n,[{key:"slidesPerViewDynamic",value:function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var c=a+1;c<t.length;c+=1)i[c]-i[a]<s&&(r+=1);return r}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):e.slideTo(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0)||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass("".concat(this.params.containerModifierClass).concat(i)).addClass("".concat(this.params.containerModifierClass).concat(e)),this.params.direction=e,this.slides.each(function(t,i){"vertical"===e?i.style.width="":i.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}},{key:"init",value:function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.slideTo(this.params.loop?this.params.initialSlide+this.loopedSlides:this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),A.deleteProps(i)),i.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){A.extend(te,e)}},{key:"extendedDefaults",get:function(){return te}},{key:"defaults",get:function(){return Z}},{key:"Class",get:function(){return B}},{key:"$",get:function(){return g}}]),n}(B),se={name:"device",proto:{device:N},static:{device:N}},ae={name:"support",proto:{support:G},static:{support:G}},re={isEdge:!!f.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=f.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(f.navigator.userAgent)},ne={name:"browser",proto:{browser:re},static:{browser:re}},oe={name:"resize",create:function(){var e=this;A.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){f.addEventListener("resize",this.resize.resizeHandler),f.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){f.removeEventListener("resize",this.resize.resizeHandler),f.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},le={func:f.MutationObserver||f.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this,s=new(0,le.func)(function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};f.requestAnimationFrame?f.requestAnimationFrame(t):f.setTimeout(t,0)}else i.emit("observerUpdate",e[0])});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(G.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},de={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){A.extend(this,{observer:{init:le.init.bind(this),attach:le.attach.bind(this),destroy:le.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},ce={handle:function(e){var t=this,i=t.rtlTranslate,s=e;s.originalEvent&&(s=s.originalEvent);var a=s.keyCode||s.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===a||t.isVertical()&&40===a||34===a))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===a||t.isVertical()&&38===a||33===a))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||p.activeElement&&p.activeElement.nodeName&&("input"===p.activeElement.nodeName.toLowerCase()||"textarea"===p.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===a||34===a||37===a||39===a||38===a||40===a)){var r=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n=f.innerWidth,o=f.innerHeight,l=t.$el.offset();i&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],c=0;c<d.length;c+=1){var u=d[c];u[0]>=0&&u[0]<=n&&u[1]>=0&&u[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(33!==a&&34!==a&&37!==a&&39!==a||(s.preventDefault?s.preventDefault():s.returnValue=!1),(34!==a&&39!==a||i)&&(33!==a&&37!==a||!i)||t.slideNext(),(33!==a&&37!==a||i)&&(34!==a&&39!==a||!i)||t.slidePrev()):(33!==a&&34!==a&&38!==a&&40!==a||(s.preventDefault?s.preventDefault():s.returnValue=!1),34!==a&&40!==a||t.slideNext(),33!==a&&38!==a||t.slidePrev()),t.emit("keyPress",a)}},enable:function(){this.keyboard.enabled||(g(p).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(g(p).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},ue={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){A.extend(this,{keyboard:{enabled:!1,enable:ce.enable.bind(this),disable:ce.disable.bind(this),handle:ce.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},he={lastScrollTime:A.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return f.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in p;if(!e){var t=p.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&p.implementation&&p.implementation.hasFeature&&!0!==p.implementation.hasFeature("","")&&(e=p.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=a,a=0),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,s=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(a=g(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!a[0].contains(t.target)&&!s.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,n=i.rtlTranslate?-1:1,o=he.normalize(t);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),i.params.freeMode){var l={time:A.now(),delta:Math.abs(r),direction:Math.sign(r)},d=i.mousewheel.lastEventBeforeSnap,c=d&&l.time<d.time+500&&l.delta<=d.delta&&l.direction===d.direction;if(!c){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var u=i.getTranslate()+r*s.sensitivity,h=i.isBeginning,p=i.isEnd;if(u>=i.minTranslate()&&(u=i.minTranslate()),u<=i.maxTranslate()&&(u=i.maxTranslate()),i.setTransition(0),i.setTranslate(u),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!h&&i.isBeginning||!p&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var v=i.mousewheel.recentWheelEvents;v.length>=15&&v.shift();var f=v.length?v[v.length-1]:void 0,m=v[0];if(v.push(l),f&&(l.delta>f.delta||l.direction!==f.direction))v.splice(0);else if(v.length>=15&&l.time-m.time<500&&m.delta-l.delta>=1&&l.delta<=6){var b=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=l,v.splice(0),i.mousewheel.timeout=A.nextTick(function(){i.slideToClosest(i.params.speed,!0,void 0,b)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=A.nextTick(function(){i.mousewheel.lastEventBeforeSnap=l,v.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(c||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),u===i.minTranslate()||u===i.maxTranslate())return!0}}else{var w={time:A.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},y=i.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var T=y.length?y[y.length-1]:void 0;if(y.push(w),T?(w.direction!==T.direction||w.delta>T.delta||w.time>T.time+150)&&i.mousewheel.animateSlider(w):i.mousewheel.animateSlider(w),i.mousewheel.releaseScroll(w))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&A.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new f.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=he.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=g(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=he.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=g(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},pe={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var s,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,n=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(s-=a-2*e.loopedSlides),s>n-1&&(s-=n),s<0&&"bullets"!==e.params.paginationType&&(s=n+s)):s=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,c=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=c.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=s-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(c.length,i.dynamicMainBullets)-1))+o)/2),c.removeClass("".concat(i.bulletActiveClass," ").concat(i.bulletActiveClass,"-next ").concat(i.bulletActiveClass,"-next-next ").concat(i.bulletActiveClass,"-prev ").concat(i.bulletActiveClass,"-prev-prev ").concat(i.bulletActiveClass,"-main")),r.length>1)c.each(function(e,t){var a=g(t),r=a.index();r===s&&a.addClass(i.bulletActiveClass),i.dynamicBullets&&(r>=o&&r<=l&&a.addClass(i.bulletActiveClass+"-main"),r===o&&a.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),r===l&&a.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=c.eq(s),h=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=c.eq(o),v=c.eq(l),f=o;f<=l;f+=1)c.eq(f).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=c.length-i.dynamicMainBullets){for(var m=i.dynamicMainBullets;m>=0;m-=1)c.eq(c.length-m).addClass(i.bulletActiveClass+"-main");c.eq(c.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),v.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),v.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var b=Math.min(c.length,i.dynamicMainBullets+4),w=(e.pagination.bulletSize*b-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,y=t?"right":"left";c.css(e.isHorizontal()?y:"top",w+"px")}}if("fraction"===i.type&&(r.find("."+i.currentClass).text(i.formatFractionCurrent(s+1)),r.find("."+i.totalClass).text(i.formatFractionTotal(n))),"progressbar"===i.type){var T;T=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var E=(s+1)/n,S=1,x=1;"horizontal"===T?S=E:x=E,r.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX(".concat(S,") scaleY(").concat(x,")")).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,s+1,n)),e.emit("paginationRender",e,r[0])):e.emit("paginationUpdate",e,r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el,s="";if("bullets"===t.type){for(var a=e.params.loop?Math.ceil(((e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length)-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,r=0;r<a;r+=1)s+=t.renderBullet?t.renderBullet.call(e,r,t.bulletClass):"<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span> / <span class="').concat(t.totalClass,'"></span>'),i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=g(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,function(t){t.preventDefault();var i=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),A.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},ve={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){A.extend(this,{pagination:{init:pe.init.bind(this),render:pe.render.bind(this),update:pe.update.bind(this),destroy:pe.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!g(e.target).hasClass(t.params.pagination.bulletClass)){var i=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);t.emit(!0===i?"paginationShow":"paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},fe={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(r.transform("translate3d(".concat(d,"px, 0, 0)")),r[0].style.width=l+"px"):(r.transform("translate3d(0px, ".concat(d,"px, 0)")),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),A.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),s.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=A.nextTick(function(){a.css("opacity",0),a.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!G.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!G.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};G.touch?(a.addEventListener(t.start,this.scrollbar.onDragStart,r),a.addEventListener(t.move,this.scrollbar.onDragMove,r),a.addEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.addEventListener(i.start,this.scrollbar.onDragStart,r),p.addEventListener(i.move,this.scrollbar.onDragMove,r),p.addEventListener(i.end,this.scrollbar.onDragEnd,n))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!G.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!G.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};G.touch?(a.removeEventListener(t.start,this.scrollbar.onDragStart,r),a.removeEventListener(t.move,this.scrollbar.onDragMove,r),a.removeEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.removeEventListener(i.start,this.scrollbar.onDragStart,r),p.removeEventListener(i.move,this.scrollbar.onDragMove,r),p.removeEventListener(i.end,this.scrollbar.onDragEnd,n))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,s=g(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&s.length>1&&1===t.find(i.el).length&&(s=t.find(i.el));var a=s.find("."+this.params.scrollbar.dragClass);0===a.length&&(a=g('<div class="'.concat(this.params.scrollbar.dragClass,'"></div>')),s.append(a)),A.extend(e,{$el:s,el:s[0],$dragEl:a,dragEl:a[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},me={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){A.extend(this,{scrollbar:{init:fe.init.bind(this),destroy:fe.destroy.bind(this),updateSize:fe.updateSize.bind(this),setTranslate:fe.setTranslate.bind(this),setTransition:fe.setTransition.bind(this),enableDraggable:fe.enableDraggable.bind(this),disableDraggable:fe.disableDraggable.bind(this),setDragPosition:fe.setDragPosition.bind(this),getPointerPosition:fe.getPointerPosition.bind(this),onDragStart:fe.onDragStart.bind(this),onDragMove:fe.onDragMove.bind(this),onDragEnd:fe.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},ge={getDistanceBetweenTouches:function(e){return e.targetTouches.length<2?1:Math.sqrt(Math.pow(e.targetTouches[1].pageX-e.targetTouches[0].pageX,2)+Math.pow(e.targetTouches[1].pageY-e.targetTouches[0].pageY,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!G.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=ge.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=g(e.target).closest("."+this.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+t.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!G.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=ge.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=G.gestures?e.scale*i.currentScale:s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale(".concat(i.scale,")")))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!G.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!N.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(".concat(i.scale,")")),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(N.android&&e.cancelable&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,s=i.gesture,a=i.image,r=i.velocity;if(s.$imageEl&&0!==s.$imageEl.length&&(t.allowClick=!1,a.isTouched&&s.$slideEl)){a.isMoved||(a.width=s.$imageEl[0].offsetWidth,a.height=s.$imageEl[0].offsetHeight,a.startX=A.getTranslate(s.$imageWrapEl[0],"x")||0,a.startY=A.getTranslate(s.$imageWrapEl[0],"y")||0,s.slideWidth=s.$slideEl[0].offsetWidth,s.slideHeight=s.$slideEl[0].offsetHeight,s.$imageWrapEl.transition(0),t.rtl&&(a.startX=-a.startX,a.startY=-a.startY));var n=a.width*i.scale,o=a.height*i.scale;if(!(n<s.slideWidth&&o<s.slideHeight)){if(a.minX=Math.min(s.slideWidth/2-n/2,0),a.maxX=-a.minX,a.minY=Math.min(s.slideHeight/2-o/2,0),a.maxY=-a.minY,a.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentX<a.minX&&(a.currentX=a.minX+1-Math.pow(a.minX-a.currentX+1,.8)),a.currentX>a.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentY<a.minY&&(a.currentY=a.minY+1-Math.pow(a.minY-a.currentY+1,.8)),a.currentY>a.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=a.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=a.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(a.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(a.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(a.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(a.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=a.touchesCurrent.x,r.prevPositionY=a.touchesCurrent.y,r.prevTime=Date.now(),s.$imageWrapEl.transform("translate3d(".concat(a.currentX,"px, ").concat(a.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=i.currentX+s.x*a,o=i.currentY+s.y*r;0!==s.x&&(a=Math.abs((n-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((o-i.currentY)/s.y));var l=Math.max(a,r);i.currentX=n,i.currentY=o;var d=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-i.width*e.scale/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-d/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(l).transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,a,r,n,o,l,d,c,u,h,p,v,f,m,g=this.zoom,b=this.params.zoom,w=g.gesture,y=g.image;(w.$slideEl||(w.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===y.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x,i=y.touchesStart.y),g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(f=w.$slideEl[0].offsetWidth,m=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+f/2-t,a=w.$slideEl.offset().top+m/2-i,o=w.$imageEl[0].offsetWidth,l=w.$imageEl[0].offsetHeight,d=o*g.scale,c=l*g.scale,p=-(u=Math.min(f/2-d/2,0)),v=-(h=Math.min(m/2-c/2,0)),(r=s*g.scale)<u&&(r=u),r>p&&(r=p),(n=a*g.scale)<h&&(n=h),n>v&&(n=v)):(r=0,n=0),w.$imageWrapEl.transition(300).transform("translate3d(".concat(r,"px, ").concat(n,"px,0)")),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(g.scale,")")))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!G.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!G.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;G.gestures?(this.$wrapperEl.on("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.on("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!G.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!G.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;G.gestures?(this.$wrapperEl.off("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.off("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},be={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(i){t[i]=ge[i].bind(e)}),A.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){i!==t&&e.emit("zoomChange",t,e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0),i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},we={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=A.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ye={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;A.extend(e,{autoplay:{running:!1,paused:!1,run:we.run.bind(e),start:we.start.bind(e),stop:we.stop.bind(e),pause:we.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},Te=[se,ae,ne,oe,de];void 0===ie.use&&(ie.use=ie.Class.use,ie.installModule=ie.Class.installModule),ie.use(Te),ie.use([ve,me,ye,ue,be])}}])}(); \ No newline at end of file +!function(){function e(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var s,a,r=[],n=!0,o=!1;try{for(i=i.call(e);!(n=(s=i.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(l){o=!0,a=l}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return r}(e,i)||function(e,i){if(!e)return;if("string"==typeof e)return t(e,i);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return t(e,i)}(e,i)||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 t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,s=n(e);if(t){var r=n(this).constructor;i=Reflect.construct(s,arguments,r)}else i=s.apply(this,arguments);return a(this,i)}}function a(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 r(e)}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function l(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function d(e,t,i){return t&&l(e.prototype,t),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{"F/jJ":function(t,n,l){"use strict";function u(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function h(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(i){void 0===e[i]?e[i]=t[i]:u(t[i])&&u(e[i])&&Object.keys(t[i]).length>0&&h(e[i],t[i])})}l.r(n),l.d(n,"Swiper",function(){return ie});var p="undefined"!=typeof document?document:{},v={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};h(p,v);var f="undefined"!=typeof window?window:{};h(f,{document:v,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var m=d(function e(t){c(this,e);for(var i=0;i<t.length;i+=1)this[i]=t[i];return this.length=t.length,this});function g(e,t){var i=[],s=0;if(e&&!t&&e instanceof m)return e;if(e)if("string"==typeof e){var a,r,n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){var o="div";for(0===n.indexOf("<li")&&(o="ul"),0===n.indexOf("<tr")&&(o="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(o="tr"),0===n.indexOf("<tbody")&&(o="table"),0===n.indexOf("<option")&&(o="select"),(r=p.createElement(o)).innerHTML=n,s=0;s<r.childNodes.length;s+=1)i.push(r.childNodes[s])}else for(a=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||p).querySelectorAll(e.trim()):[p.getElementById(e.trim().split("#")[1])],s=0;s<a.length;s+=1)a[s]&&i.push(a[s])}else if(e.nodeType||e===f||e===p)i.push(e);else if(e.length>0&&e[0].nodeType)for(s=0;s<e.length;s+=1)i.push(e[s]);return new m(i)}function b(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}g.fn=m.prototype,g.Class=m,g.Dom7=m;var w={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var s in e)this[i][s]=e[s],this[i].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0])return i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage?i.dom7ElementDataStorage[e]:i.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),g(t).is(a))r.apply(t,i);else for(var s=g(t).parents(),n=0;n<s.length;n+=1)g(s[n]).is(a)&&r.apply(s[n],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(s=t[0],r=t[1],n=t[2],a=void 0),n||(n=!1);for(var d,c=s.split(" "),u=0;u<this.length;u+=1){var h=this[u];if(a)for(d=0;d<c.length;d+=1){var p=c[d];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[p]||(h.dom7LiveListeners[p]=[]),h.dom7LiveListeners[p].push({listener:r,proxyListener:o}),h.addEventListener(p,o,n)}else for(d=0;d<c.length;d+=1){var v=c[d];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[v]||(h.dom7Listeners[v]=[]),h.dom7Listeners[v].push({listener:r,proxyListener:l}),h.addEventListener(v,l,n)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=t[0],r=t[1],n=t[2],a=void 0),n||(n=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],c=0;c<this.length;c+=1){var u=this[c],h=void 0;if(!a&&u.dom7Listeners?h=u.dom7Listeners[d]:a&&u.dom7LiveListeners&&(h=u.dom7LiveListeners[d]),h&&h.length)for(var p=h.length-1;p>=0;p-=1){var v=h[p];r&&v.listener===r||r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(u.removeEventListener(d,v.proxyListener,n),h.splice(p,1)):r||(u.removeEventListener(d,v.proxyListener,n),h.splice(p,1))}}return this},trigger:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];for(var s=t[0].split(" "),a=t[1],r=0;r<s.length;r+=1)for(var n=s[r],o=0;o<this.length;o+=1){var l=this[o],d=void 0;try{d=new f.CustomEvent(n,{detail:a,bubbles:!0,cancelable:!0})}catch(c){(d=p.createEvent("Event")).initEvent(n,!0,!0),d.detail=a}l.dom7EventData=t.filter(function(e,t){return t>0}),l.dispatchEvent(d),l.dom7EventData=[],delete l.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=p.body;return{top:t.top+(e===f?f.scrollY:e.scrollTop)-(e.clientTop||i.clientTop||0),left:t.left+(e===f?f.scrollX:e.scrollLeft)-(e.clientLeft||i.clientLeft||0)}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var s in e)this[i].style[s]=e[s];return this}if(this[0])return f.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,s=this[0];if(!s||void 0===e)return!1;if("string"==typeof e){if(s.matches)return s.matches(e);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(e);if(s.msMatchesSelector)return s.msMatchesSelector(e);for(t=g(e),i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}if(e===p)return s===p;if(e===f)return s===f;if(e.nodeType||e instanceof m){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return e>i-1?new m([]):e<0?new m((t=i+e)<0?[]:[this[t]]):new m([this[e]])},append:function(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var i=0;i<this.length;i+=1)if("string"==typeof e){var s=p.createElement("div");for(s.innerHTML=e;s.firstChild;)this[i].appendChild(s.firstChild)}else if(e instanceof m)for(var a=0;a<e.length;a+=1)this[i].appendChild(e[a]);else this[i].appendChild(e)}return this},prepend:function(e){var t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){var s=p.createElement("div");for(s.innerHTML=e,i=s.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(s.childNodes[i],this[t].childNodes[0])}else if(e instanceof m)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&g(this[0].nextElementSibling).is(e)?new m([this[0].nextElementSibling]):new m([]):new m(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):new m([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new m([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;e?g(s).is(e)&&t.push(s):t.push(s),i=s}return new m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&g(t.previousElementSibling).is(e)?new m([t.previousElementSibling]):new m([]):new m(t.previousElementSibling?[t.previousElementSibling]:[])}return new m([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new m([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;e?g(s).is(e)&&t.push(s):t.push(s),i=s}return new m(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?g(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return g(b(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].parentNode;s;)e?g(s).is(e)&&t.push(s):t.push(s),s=s.parentNode;return g(b(t))},closest:function(e){var t=this;return void 0===e?new m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].querySelectorAll(e),a=0;a<s.length;a+=1)t.push(s[a]);return new m(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].childNodes,a=0;a<s.length;a+=1)e?1===s[a].nodeType&&g(s[a]).is(e)&&t.push(s[a]):1===s[a].nodeType&&t.push(s[a]);return new m(b(t))},filter:function(e){for(var t=[],i=this,s=0;s<i.length;s+=1)e.call(i[s],s,i[s])&&t.push(i[s]);return new m(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t,i=this,s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];for(e=0;e<a.length;e+=1){var n=g(a[e]);for(t=0;t<n.length;t+=1)i[i.length]=n[t],i.length+=1}return i},styles:function(){return this[0]?f.getComputedStyle(this[0],null):{}}};Object.keys(w).forEach(function(e){g.fn[e]=g.fn[e]||w[e]});var y,T,E,S,x,C,M,P,k,z,L,$,D,O,I,A={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}})},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,i,s,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",r=f.getComputedStyle(e,null);return f.WebKitCSSMatrix?((i=r.transform||r.webkitTransform).split(",").length>6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new f.WebKitCSSMatrix("none"===i?"":i)):t=(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===a&&(i=f.WebKitCSSMatrix?s.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===a&&(i=f.WebKitCSSMatrix?s.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),i||0},parseUrlQuery:function(e){var t,i,s,a,r={},n=e||f.location.href;if("string"==typeof n&&n.length)for(a=(i=(n=n.indexOf("?")>-1?n.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<a;t+=1)s=i[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var i=t<0||arguments.length<=t?void 0:arguments[t];if(null!=i)for(var s=Object.keys(Object(i)),a=0,r=s.length;a<r;a+=1){var n=s[a],o=Object.getOwnPropertyDescriptor(i,n);void 0!==o&&o.enumerable&&(A.isObject(e[n])&&A.isObject(i[n])?A.extend(e[n],i[n]):!A.isObject(e[n])&&A.isObject(i[n])?(e[n]={},A.extend(e[n],i[n])):e[n]=i[n])}}return e}},G={touch:!!("ontouchstart"in f||f.DocumentTouch&&p instanceof f.DocumentTouch),pointerEvents:!!f.PointerEvent&&"maxTouchPoints"in f.navigator&&f.navigator.maxTouchPoints>=0,observer:"MutationObserver"in f||"WebkitMutationObserver"in f,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});f.addEventListener("testPassiveListener",null,t)}catch(i){}return e}(),gestures:"ongesturestart"in f},B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,e);var i=this;i.params=t,i.eventsListeners={},i.params&&i.params.on&&Object.keys(i.params.on).forEach(function(e){i.on(e,i.params.on[e])})}return d(e,[{key:"on",value:function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)}),s}},{key:"once",value:function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];s.off(e,a),a.f7proxy&&delete a.f7proxy,t.apply(s,r)}return a.f7proxy=t,s.on(e,a,i)}},{key:"off",value:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach(function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)})}),i):i}},{key:"emit",value:function(){var e,t,i,s=this;if(!s.eventsListeners)return s;for(var a=arguments.length,r=new Array(a),n=0;n<a;n++)r[n]=arguments[n];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=s):(e=r[0].events,t=r[0].data,i=r[0].context||s),(Array.isArray(e)?e:e.split(" ")).forEach(function(e){if(s.eventsListeners&&s.eventsListeners[e]){var a=[];s.eventsListeners[e].forEach(function(e){a.push(e)}),a.forEach(function(e){e.apply(i,t)})}}),s}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i];s.params&&A.extend(e,s.params)})}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach(function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i}),s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(a)})}}],[{key:"components",set:function(e){this.use&&this.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});for(var i=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(A.now()),s=arguments.length,a=new Array(s>1?s-1:0),r=1;r<s;r++)a[r-1]=arguments[r];return t.prototype.modules[i]=e,e.proto&&Object.keys(e.proto).forEach(function(i){t.prototype[i]=e.proto[i]}),e.static&&Object.keys(e.static).forEach(function(i){t[i]=e.static[i]}),e.install&&e.install.apply(t,a),t}},{key:"use",value:function(e){for(var t=this,i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return Array.isArray(e)?(e.forEach(function(e){return t.installModule(e)}),t):t.installModule.apply(t,[e].concat(s))}}]),e}(),X={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),A.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,i=e.$wrapperEl,s=e.size,a=e.rtlTranslate,r=e.wrongRTL,n=e.virtual&&t.virtual.enabled,o=n?e.virtual.slides.length:e.slides.length,l=i.children("."+e.params.slideClass),d=n?e.virtual.slides.length:l.length,c=[],u=[],h=[];function p(e){return!t.cssMode||e!==l.length-1}var v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(e));var m=t.slidesOffsetAfter;"function"==typeof m&&(m=t.slidesOffsetAfter.call(e));var g,b,w=e.snapGrid.length,y=e.snapGrid.length,T=t.spaceBetween,E=-v,S=0,x=0;if(void 0!==s){"string"==typeof T&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*s),e.virtualSize=-T,l.css(a?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(g=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(g=Math.max(g,t.slidesPerView*t.slidesPerColumn)));for(var C,M=t.slidesPerColumn,P=g/M,k=Math.floor(d/t.slidesPerColumn),z=0;z<d;z+=1){b=0;var L=l.eq(z);if(t.slidesPerColumn>1){var $=void 0,D=void 0,O=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var I=Math.floor(z/(t.slidesPerGroup*t.slidesPerColumn)),G=z-t.slidesPerColumn*t.slidesPerGroup*I,B=0===I?t.slidesPerGroup:Math.min(Math.ceil((d-I*M*t.slidesPerGroup)/M),t.slidesPerGroup);$=(D=G-(O=Math.floor(G/B))*B+I*t.slidesPerGroup)+O*g/M,L.css({"-webkit-box-ordinal-group":$,"-moz-box-ordinal-group":$,"-ms-flex-order":$,"-webkit-order":$,order:$})}else"column"===t.slidesPerColumnFill?(O=z-(D=Math.floor(z/M))*M,(D>k||D===k&&O===M-1)&&((O+=1)>=M&&(O=0,D+=1))):D=z-(O=Math.floor(z/P))*P;L.css("margin-"+(e.isHorizontal()?"top":"left"),0!==O&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==L.css("display")){if("auto"===t.slidesPerView){var X=f.getComputedStyle(L[0],null),Y=L[0].style.transform,H=L[0].style.webkitTransform;if(Y&&(L[0].style.transform="none"),H&&(L[0].style.webkitTransform="none"),t.roundLengths)b=e.isHorizontal()?L.outerWidth(!0):L.outerHeight(!0);else if(e.isHorizontal()){var V=parseFloat(X.getPropertyValue("width")),W=parseFloat(X.getPropertyValue("padding-left")),F=parseFloat(X.getPropertyValue("padding-right")),N=parseFloat(X.getPropertyValue("margin-left")),R=parseFloat(X.getPropertyValue("margin-right")),j=X.getPropertyValue("box-sizing");b=j&&"border-box"===j?V+N+R:V+W+F+N+R}else{var q=parseFloat(X.getPropertyValue("height")),_=parseFloat(X.getPropertyValue("padding-top")),U=parseFloat(X.getPropertyValue("padding-bottom")),K=parseFloat(X.getPropertyValue("margin-top")),J=parseFloat(X.getPropertyValue("margin-bottom")),Q=X.getPropertyValue("box-sizing");b=Q&&"border-box"===Q?q+K+J:q+_+U+K+J}Y&&(L[0].style.transform=Y),H&&(L[0].style.webkitTransform=H),t.roundLengths&&(b=Math.floor(b))}else b=(s-(t.slidesPerView-1)*T)/t.slidesPerView,t.roundLengths&&(b=Math.floor(b)),l[z]&&(e.isHorizontal()?l[z].style.width=b+"px":l[z].style.height=b+"px");l[z]&&(l[z].swiperSlideSize=b),h.push(b),t.centeredSlides?(E=E+b/2+S/2+T,0===S&&0!==z&&(E=E-s/2-T),0===z&&(E=E-s/2-T),Math.abs(E)<.001&&(E=0),t.roundLengths&&(E=Math.floor(E)),x%t.slidesPerGroup==0&&c.push(E),u.push(E)):(t.roundLengths&&(E=Math.floor(E)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&c.push(E),u.push(E),E=E+b+T),e.virtualSize+=b+T,S=b,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+m,a&&r&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(b+t.spaceBetween)*g,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){C=[];for(var Z=0;Z<c.length;Z+=1){var ee=c[Z];t.roundLengths&&(ee=Math.floor(ee)),c[Z]<e.virtualSize+c[0]&&C.push(ee)}c=C}if(!t.centeredSlides){C=[];for(var te=0;te<c.length;te+=1){var ie=c[te];t.roundLengths&&(ie=Math.floor(ie)),c[te]<=e.virtualSize-s&&C.push(ie)}c=C,Math.floor(e.virtualSize-s)-Math.floor(c[c.length-1])>1&&c.push(e.virtualSize-s)}if(0===c.length&&(c=[0]),0!==t.spaceBetween&&(e.isHorizontal()?a?l.filter(p).css({marginLeft:T+"px"}):l.filter(p).css({marginRight:T+"px"}):l.filter(p).css({marginBottom:T+"px"})),t.centeredSlides&&t.centeredSlidesBounds){var se=0;h.forEach(function(e){se+=e+(t.spaceBetween?t.spaceBetween:0)});var ae=(se-=t.spaceBetween)-s;c=c.map(function(e){return e<0?-v:e>ae?ae+m:e})}if(t.centerInsufficientSlides){var re=0;if(h.forEach(function(e){re+=e+(t.spaceBetween?t.spaceBetween:0)}),(re-=t.spaceBetween)<s){var ne=(s-re)/2;c.forEach(function(e,t){c[t]=e-ne}),u.forEach(function(e,t){u[t]=e+ne})}}A.extend(e,{slides:l,snapGrid:c,slidesGrid:u,slidesSizesGrid:h}),d!==o&&e.emit("slidesLengthChange"),c.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==y&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=this,s=[],a=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each(function(e,t){s.push(t)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var r=i.activeIndex+t;if(r>i.slides.length)break;s.push(i.slides.eq(r)[0])}else s.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<s.length;t+=1)if(void 0!==s[t]){var n=s[t].offsetHeight;a=n>a?n:a}a&&i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,i=t.params,s=t.slides,a=t.rtlTranslate;if(0!==s.length){void 0===s[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;a&&(r=e),s.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<s.length;n+=1){var o=s[n],l=(r+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-o.swiperSlideOffset),c=d+t.slidesSizesGrid[n];(d>=0&&d<t.size-1||c>1&&c<=t.size||d<=0&&c>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(n),s.eq(n).addClass(i.slideVisibleClass))}o.progress=a?-l:l}t.visibleSlides=g(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var s=t.params,a=t.maxTranslate()-t.minTranslate(),r=t.progress,n=t.isBeginning,o=t.isEnd,l=n,d=o;0===a?(r=0,n=!0,o=!0):(n=(r=(e-t.minTranslate())/a)<=0,o=r>=1),A.extend(t,{progress:r,isBeginning:n,isEnd:o}),(s.watchSlidesProgress||s.watchSlidesVisibility||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),(e=n?this.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(a,'"]')):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(o.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(o.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,d=e;if(void 0===d){for(var c=0;c<s.length;c+=1)void 0!==s[c+1]?i>=s[c]&&i<s[c+1]-(s[c+1]-s[c])/2?d=c:i>=s[c]&&i<s[c+1]&&(d=c+1):i>=s[c]&&(d=c);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(a.indexOf(i)>=0)t=a.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,d);t=u+Math.floor((d-u)/r.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),d!==n){var h=parseInt(this.slides.eq(d).attr("data-swiper-slide-index")||d,10);A.extend(this,{snapIndex:t,realIndex:h,previousIndex:n,activeIndex:d}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==h&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,s=g(e.target).closest("."+i.slideClass)[0],a=!1;if(s)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===s&&(a=!0);if(!s||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=s,t.clickedIndex=t.virtual&&t.params.virtual.enabled?parseInt(g(s).attr("data-swiper-slide-index"),10):g(s).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},Y={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;var r=A.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.wrapperEl,n=this.progress,o=0,l=0;this.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-l:s.virtualTranslate||a.transform("translate3d(".concat(o,"px, ").concat(l,"px, 0px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:l;var d=this.maxTranslate()-this.minTranslate();(0===d?0:(e-this.minTranslate())/d)!==n&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4?arguments[4]:void 0,r=this,n=r.params,l=r.wrapperEl;if(r.animating&&n.preventInteractionOnTransition)return!1;var d,c=r.minTranslate(),u=r.maxTranslate();if(d=s&&e>c?c:s&&e<u?u:e,r.updateProgress(d),n.cssMode){var h,p=r.isHorizontal();return 0===t?l[p?"scrollLeft":"scrollTop"]=-d:l.scrollTo?l.scrollTo((o(h={},p?"left":"top",-d),o(h,"behavior","smooth"),h)):l[p?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(r.setTransition(0),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}},H={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3?arguments[3]:void 0,a=this,r=e;r<0&&(r=0);var n=a.params,l=a.snapGrid,d=a.slidesGrid,c=a.previousIndex,u=a.activeIndex,h=a.rtlTranslate,p=a.wrapperEl;if(a.animating&&n.preventInteractionOnTransition)return!1;var v=Math.min(a.params.slidesPerGroupSkip,r),f=v+Math.floor((r-v)/a.params.slidesPerGroup);f>=l.length&&(f=l.length-1),(u||n.initialSlide||0)===(c||0)&&i&&a.emit("beforeSlideChangeStart");var m,g=-l[f];if(a.updateProgress(g),n.normalizeSlideIndex)for(var b=0;b<d.length;b+=1)-Math.floor(100*g)>=Math.floor(100*d[b])&&(r=b);if(a.initialized&&r!==u){if(!a.allowSlideNext&&g<a.translate&&g<a.minTranslate())return!1;if(!a.allowSlidePrev&&g>a.translate&&g>a.maxTranslate()&&(u||0)!==r)return!1}if(m=r>u?"next":r<u?"prev":"reset",h&&-g===a.translate||!h&&g===a.translate)return a.updateActiveIndex(r),n.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==n.effect&&a.setTranslate(g),"reset"!==m&&(a.transitionStart(i,m),a.transitionEnd(i,m)),!1;if(n.cssMode){var w,y=a.isHorizontal(),T=-g;return h&&(T=p.scrollWidth-p.offsetWidth-T),0===t?p[y?"scrollLeft":"scrollTop"]=T:p.scrollTo?p.scrollTo((o(w={},y?"left":"top",T),o(w,"behavior","smooth"),w)):p[y?"scrollLeft":"scrollTop"]=T,!0}return 0===t?(a.setTransition(0),a.setTranslate(g),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,m),a.transitionEnd(i,m)):(a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,m),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,m))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3?arguments[3]:void 0,a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=this,a=s.params,r=s.animating,n=s.activeIndex<a.slidesPerGroupSkip?1:a.slidesPerGroup;if(a.loop){if(r)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}return s.slideTo(s.activeIndex+n,e,t,i)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=this,a=s.params,r=s.animating,n=s.snapGrid,o=s.slidesGrid,l=s.rtlTranslate;if(a.loop){if(r)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var c=d(l?s.translate:-s.translate),u=n.map(function(e){return d(e)});o.map(function(e){return d(e)}),u.indexOf(c);var h,p=n[u.indexOf(c)-1];return void 0===p&&a.cssMode&&n.forEach(function(e){!p&&c>=e&&(p=e)}),void 0!==p&&((h=o.indexOf(p))<0&&(h=s.activeIndex-1)),s.slideTo(h,e,t,i)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0;return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,a=this,r=a.activeIndex,n=Math.min(a.params.slidesPerGroupSkip,r),o=n+Math.floor((r-n)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){var d=a.snapGrid[o];l-d>(a.snapGrid[o+1]-d)*s&&(r+=a.params.slidesPerGroup)}else{var c=a.snapGrid[o-1];l-c<=(a.snapGrid[o]-c)*s&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(g(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-a/2||r>t.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=s.children(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(i.slideDuplicateClass,")")).eq(0).index(),A.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=s.children(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(i.slideDuplicateClass,")")).eq(0).index(),A.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},V={loopCreate:function(){var e=this,t=e.params,i=e.$wrapperEl;i.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var s=i.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var a=t.slidesPerGroup-s.length%t.slidesPerGroup;if(a!==t.slidesPerGroup){for(var r=0;r<a;r+=1){var n=g(p.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));i.append(n)}s=i.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>s.length&&(e.loopedSlides=s.length);var o=[],l=[];s.each(function(t,i){var a=g(i);t<e.loopedSlides&&l.push(i),t<s.length&&t>=s.length-e.loopedSlides&&o.push(i),a.attr("data-swiper-slide-index",t)});for(var d=0;d<l.length;d+=1)i.append(g(l[d].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var c=o.length-1;c>=0;c-=1)i.prepend(g(o[c].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,s=this.loopedSlides,a=this.allowSlidePrev,r=this.allowSlideNext,n=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-n[t]-this.getTranslate();t<s?(e=i.length-3*s+t,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)):t>=i.length-s&&(e=-i.length+t+s,e+=s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)),this.allowSlidePrev=a,this.allowSlideNext=r,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,",.").concat(t.slideClass,".").concat(t.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}},W={setGrabCursor:function(e){if(!(G.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){G.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},F={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&G.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&G.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this,s=i.$wrapperEl,a=i.params,r=i.activeIndex;a.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=s.children("."+a.slideClass));var n=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=n)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=n-1;d>=e;d-=1){var c=i.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&s.append(t[u]);o=r>e?r+t.length:r}else s.append(t);for(var h=0;h<l.length;h+=1)s.append(l[h]);a.loop&&i.loopCreate(),a.observer&&G.observer||i.update(),i.slideTo(a.loop?o+i.loopedSlides:o,0,!1)}},removeSlide:function(e){var t=this,i=t.params,s=t.$wrapperEl,a=t.activeIndex;i.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.slides=s.children("."+i.slideClass));var r,n=a;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);i.loop&&t.loopCreate(),i.observer&&G.observer||t.update(),t.slideTo(i.loop?n+t.loopedSlides:n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},N=(y=f.navigator.platform,T=f.navigator.userAgent,E={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!f.cordova&&!f.phonegap),phonegap:!(!f.cordova&&!f.phonegap),electron:!1},S=f.screen.width,x=f.screen.height,C=T.match(/(Android);?[\s\/]+([\d.]+)?/),M=T.match(/(iPad).*OS\s([\d_]+)/),P=T.match(/(iPod)(.*OS\s([\d_]+))?/),k=!M&&T.match(/(iPhone\sOS|iOS)\s([\d_]+)/),z=T.indexOf("MSIE ")>=0||T.indexOf("Trident/")>=0,L=T.indexOf("Edge/")>=0,$=T.indexOf("Gecko/")>=0&&T.indexOf("Firefox/")>=0,D="Win32"===y,O=T.toLowerCase().indexOf("electron")>=0,I="MacIntel"===y,!M&&I&&G.touch&&(1024===S&&1366===x||834===S&&1194===x||834===S&&1112===x||768===S&&1024===x)&&(M=T.match(/(Version)\/([\d.]+)/),I=!1),E.ie=z,E.edge=L,E.firefox=$,C&&!D&&(E.os="android",E.osVersion=C[2],E.android=!0,E.androidChrome=T.toLowerCase().indexOf("chrome")>=0),(M||k||P)&&(E.os="ios",E.ios=!0),k&&!P&&(E.osVersion=k[2].replace(/_/g,"."),E.iphone=!0),M&&(E.osVersion=M[2].replace(/_/g,"."),E.ipad=!0),P&&(E.osVersion=P[3]?P[3].replace(/_/g,"."):null,E.ipod=!0),E.ios&&E.osVersion&&T.indexOf("Version/")>=0&&"10"===E.osVersion.split(".")[0]&&(E.osVersion=T.toLowerCase().split("version/")[1].split(" ")[0]),E.webView=!(!(k||M||P)||!T.match(/.*AppleWebKit(?!.*Safari)/i)&&!f.navigator.standalone)||f.matchMedia&&f.matchMedia("(display-mode: standalone)").matches,E.webview=E.webView,E.standalone=E.webView,E.desktop=!(E.ios||E.android)||O,E.desktop&&(E.electron=O,E.macos=I,E.windows=D,E.macos&&(E.os="macos"),E.windows&&(E.os="windows")),E.pixelRatio=f.devicePixelRatio||1,E);function R(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches;if(!t.animating||!s.preventInteractionOnTransition){var r=e;r.originalEvent&&(r=r.originalEvent);var n=g(r.target);if(("wrapper"!==s.touchEventsTarget||n.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===r.type,(i.isTouchEvent||!("which"in r)||3!==r.which)&&!(!i.isTouchEvent&&"button"in r&&r.button>0||i.isTouched&&i.isMoved)))if(s.noSwiping&&n.closest(s.noSwipingSelector?s.noSwipingSelector:"."+s.noSwipingClass)[0])t.allowClick=!0;else if(!s.swipeHandler||n.closest(s.swipeHandler)[0]){a.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,a.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var o=a.currentX,l=a.currentY,d=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(!s.edgeSwipeDetection&&!s.iOSEdgeSwipeDetection||!(o<=d||o>=f.screen.width-d)){if(A.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=o,a.startY=l,i.touchStartTime=A.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==r.type){var c=!0;n.is(i.formElements)&&(c=!1),p.activeElement&&g(p.activeElement).is(i.formElements)&&p.activeElement!==n[0]&&p.activeElement.blur();var u=c&&t.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||u)&&r.preventDefault()}t.emit("touchStart",r)}}}}function j(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=e;if(n.originalEvent&&(n=n.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===n.type){var o="touchmove"===n.type&&n.targetTouches&&(n.targetTouches[0]||n.changedTouches[0]),l="touchmove"===n.type?o.pageX:n.pageX,d="touchmove"===n.type?o.pageY:n.pageY;if(n.preventedByNestedSwiper)return a.startX=l,void(a.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(A.extend(a,{startX:l,startY:d,currentX:l,currentY:d}),i.touchStartTime=A.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(d<a.startY&&t.translate<=t.maxTranslate()||d>a.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<a.startX&&t.translate<=t.maxTranslate()||l>a.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&p.activeElement&&n.target===p.activeElement&&g(n.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",n),!(n.targetTouches&&n.targetTouches.length>1)){a.currentX=l,a.currentY=d;var c=a.currentX-a.startX,u=a.currentY-a.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<t.params.threshold)){var h;if(void 0===i.isScrolling)t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:c*c+u*u>=25&&(h=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=t.isHorizontal()?h>s.touchAngle:90-h>s.touchAngle);if(i.isScrolling&&t.emit("touchMoveOpposite",n),void 0===i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,!s.cssMode&&n.cancelable&&n.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&n.stopPropagation(),i.isMoved||(s.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",n)),t.emit("sliderMove",n),i.isMoved=!0;var v=t.isHorizontal()?c:u;a.diff=v,v*=s.touchRatio,r&&(v=-v),t.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var f=!0,m=s.resistanceRatio;if(s.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>t.minTranslate()?(f=!1,s.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<t.maxTranslate()&&(f=!1,s.resistance&&(i.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-i.startTranslate-v,m))),f&&(n.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.threshold>0){if(!(Math.abs(v)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:a[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:a[t.isHorizontal()?"currentX":"currentY"],time:A.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",n)}function q(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=A.now(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=A.now(),A.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!s.cssMode)if(s.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void t.slideTo(t.slides.length<l.length?l.length-1:t.slides.length-1);if(s.freeModeMomentum){if(i.velocities.length>1){var p=i.velocities.pop(),v=i.velocities.pop(),f=p.time-v.time;t.velocity=(p.position-v.position)/f,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(f>150||A.now()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var m=1e3*s.freeModeMomentumRatio,g=t.translate+t.velocity*m;r&&(g=-g);var b,w,y=!1,T=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(g<t.maxTranslate())s.freeModeMomentumBounce?(g+t.maxTranslate()<-T&&(g=t.maxTranslate()-T),b=t.maxTranslate(),y=!0,i.allowMomentumBounce=!0):g=t.maxTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(g>t.minTranslate())s.freeModeMomentumBounce?(g-t.minTranslate()>T&&(g=t.minTranslate()+T),b=t.minTranslate(),y=!0,i.allowMomentumBounce=!0):g=t.minTranslate(),s.loop&&s.centeredSlides&&(w=!0);else if(s.freeModeSticky){for(var E,S=0;S<l.length;S+=1)if(l[S]>-g){E=S;break}g=-(g=Math.abs(l[E]-g)<Math.abs(l[E-1]-g)||"next"===t.swipeDirection?l[E]:l[E-1])}if(w&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity){if(m=r?Math.abs((-g-t.translate)/t.velocity):Math.abs((g-t.translate)/t.velocity),s.freeModeSticky){var x=Math.abs((r?-g:g)-t.translate),C=t.slidesSizesGrid[t.activeIndex];m=x<C?s.speed:x<2*C?1.5*s.speed:2.5*s.speed}}else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&y?(t.updateProgress(b),t.setTransition(m),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),setTimeout(function(){t.setTranslate(b),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(g),t.setTransition(m),t.setTranslate(g),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(g),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||h>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,P=t.slidesSizesGrid[0],k=0;k<o.length;k+=k<s.slidesPerGroupSkip?1:s.slidesPerGroup){var z=k<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==o[k+z]?c>=o[k]&&c<o[k+z]&&(M=k,P=o[k+z]-o[k]):c>=o[k]&&(M=k,P=o[o.length-1]-o[o.length-2])}var L=(c-o[M])/P,$=M<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(L>=s.longSwipesRatio?M+$:M),"prev"===t.swipeDirection&&t.slideTo(L>1-s.longSwipesRatio?M+$:M)}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(M+$),"prev"===t.swipeDirection&&t.slideTo(M)):t.slideTo(d.target===t.navigation.nextEl?M+$:M)}}}function _(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),this.slideTo(("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slides.length-1:this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function U(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function K(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}var J=!1;function Q(){}var Z={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},ee={update:X,translate:Y,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,i=this,s=i.activeIndex,a=i.params,r=i.previousIndex;if(!a.cssMode){a.autoHeight&&i.updateAutoHeight();var n=t;if(n||(n=s>r?"next":s<r?"prev":"reset"),i.emit("transitionStart"),e&&s!==r){if("reset"===n)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),i.emit("next"===n?"slideNextTransitionStart":"slidePrevTransitionStart")}}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,i=this,s=i.activeIndex,a=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var n=t;if(n||(n=s>a?"next":s<a?"prev":"reset"),i.emit("transitionEnd"),e&&s!==a){if("reset"===n)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),i.emit("next"===n?"slideNextTransitionEnd":"slidePrevTransitionEnd")}}}},slide:H,loop:V,grabCursor:W,manipulation:F,events:{attachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,a=e.wrapperEl;e.onTouchStart=R.bind(e),e.onTouchMove=j.bind(e),e.onTouchEnd=q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e);var r=!!t.nested;if(!G.touch&&G.pointerEvents)s.addEventListener(i.start,e.onTouchStart,!1),p.addEventListener(i.move,e.onTouchMove,r),p.addEventListener(i.end,e.onTouchEnd,!1);else{if(G.touch){var n=!("touchstart"!==i.start||!G.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.addEventListener(i.start,e.onTouchStart,n),s.addEventListener(i.move,e.onTouchMove,G.passiveListener?{passive:!1,capture:r}:r),s.addEventListener(i.end,e.onTouchEnd,n),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,n),J||(p.addEventListener("touchstart",Q),J=!0)}(t.simulateTouch&&!N.ios&&!N.android||t.simulateTouch&&!G.touch&&N.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),p.addEventListener("mousemove",e.onTouchMove,r),p.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),t.cssMode&&a.addEventListener("scroll",e.onScroll),e.on(t.updateOnWindowResize?N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",_,!0)},detachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,a=e.wrapperEl,r=!!t.nested;if(!G.touch&&G.pointerEvents)s.removeEventListener(i.start,e.onTouchStart,!1),p.removeEventListener(i.move,e.onTouchMove,r),p.removeEventListener(i.end,e.onTouchEnd,!1);else{if(G.touch){var n=!("onTouchStart"!==i.start||!G.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};s.removeEventListener(i.start,e.onTouchStart,n),s.removeEventListener(i.move,e.onTouchMove,r),s.removeEventListener(i.end,e.onTouchEnd,n),i.cancel&&s.removeEventListener(i.cancel,e.onTouchEnd,n)}(t.simulateTouch&&!N.ios&&!N.android||t.simulateTouch&&!G.touch&&N.ios)&&(s.removeEventListener("mousedown",e.onTouchStart,!1),p.removeEventListener("mousemove",e.onTouchMove,r),p.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&s.removeEventListener("click",e.onClick,!0),t.cssMode&&a.removeEventListener("scroll",e.onScroll),e.off(N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate",_)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,s=e.loopedSlides,a=void 0===s?0:s,r=e.params,n=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var c=d||e.originalParams,u=r.slidesPerColumn>1,h=c.slidesPerColumn>1;u&&!h?n.removeClass("".concat(r.containerModifierClass,"multirow ").concat(r.containerModifierClass,"multirow-column")):!u&&h&&(n.addClass(r.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&n.addClass(r.containerModifierClass+"multirow-column"));var p=c.direction&&c.direction!==r.direction,v=r.loop&&(c.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),A.extend(e.params,c),A.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,v&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:f.innerHeight*t,point:e}}return{value:e,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<i.length;s+=1){var a=i[s],r=a.point;a.value<=f.innerWidth&&(t=r)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,i=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;this.isLocked=e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?i<=this.size:1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&(a.push("multirow"),"column"===t.slidesPerColumnFill&&a.push("multirow-column")),N.android&&a.push("android"),N.ios&&a.push("ios"),t.cssMode&&a.push("css-mode"),a.forEach(function(i){e.push(t.containerModifierClass+i)}),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,s,a,r){var n;function o(){r&&r()}g(e).parent("picture")[0]||e.complete&&a?o():t?((n=new f.Image).onload=o,n.onerror=o,s&&(n.sizes=s),i&&(n.srcset=i),t&&(n.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},te={},ie=function(t){!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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(o,t);var n=s(o);function o(){var t,i,s,l;c(this,o);for(var d=arguments.length,u=new Array(d),h=0;h<d;h++)u[h]=arguments[h];1===u.length&&u[0].constructor&&u[0].constructor===Object?l=u[0]:(s=(t=e(u,2))[0],l=t[1]),l||(l={}),l=A.extend({},l),s&&!l.el&&(l.el=s),i=n.call(this,l),Object.keys(ee).forEach(function(e){Object.keys(ee[e]).forEach(function(t){o.prototype[t]||(o.prototype[t]=ee[e][t])})});var p=r(i);void 0===p.modules&&(p.modules={}),Object.keys(p.modules).forEach(function(e){var t=p.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in l)||!("enabled"in s))return;!0===l[i]&&(l[i]={enabled:!0}),"object"!=typeof l[i]||"enabled"in l[i]||(l[i].enabled=!0),l[i]||(l[i]={enabled:!1})}});var v=A.extend({},Z);p.useModulesParams(v),p.params=A.extend({},v,te,l),p.originalParams=A.extend({},p.params),p.passedParams=A.extend({},l),p.$=g;var f,m,b,w=g(p.params.el);if(!(s=w[0]))return a(i);if(w.length>1){var y=[];return a(i,(w.each(function(e,t){var i=A.extend({},l,{el:t});y.push(new o(i))}),y))}return a(i,(s.swiper=p,w.data("swiper",p),s&&s.shadowRoot&&s.shadowRoot.querySelector?(f=g(s.shadowRoot.querySelector("."+p.params.wrapperClass))).children=function(e){return w.children(e)}:f=w.children("."+p.params.wrapperClass),A.extend(p,{$el:w,el:s,$wrapperEl:f,wrapperEl:f[0],classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===p.params.direction},isVertical:function(){return"vertical"===p.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===w.css("direction"),rtlTranslate:"horizontal"===p.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===w.css("direction")),wrongRTL:"-webkit-box"===f.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:p.params.allowSlideNext,allowSlidePrev:p.params.allowSlidePrev,touchEvents:(m=["touchstart","touchmove","touchend","touchcancel"],b=["mousedown","mousemove","mouseup"],G.pointerEvents&&(b=["pointerdown","pointermove","pointerup"]),p.touchEventsTouch={start:m[0],move:m[1],end:m[2],cancel:m[3]},p.touchEventsDesktop={start:b[0],move:b[1],end:b[2]},G.touch||!p.params.simulateTouch?p.touchEventsTouch:p.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:A.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.useModules(),p.params.init&&p.init(),p))}return d(o,[{key:"slidesPerViewDynamic",value:function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var c=a+1;c<t.length;c+=1)i[c]-i[a]<s&&(r+=1);return r}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):e.slideTo(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0)||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass("".concat(this.params.containerModifierClass).concat(i)).addClass("".concat(this.params.containerModifierClass).concat(e)),this.params.direction=e,this.slides.each(function(t,i){"vertical"===e?i.style.width="":i.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}},{key:"init",value:function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.slideTo(this.params.loop?this.params.initialSlide+this.loopedSlides:this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),A.deleteProps(i)),i.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){A.extend(te,e)}},{key:"extendedDefaults",get:function(){return te}},{key:"defaults",get:function(){return Z}},{key:"Class",get:function(){return B}},{key:"$",get:function(){return g}}]),o}(B),se={name:"device",proto:{device:N},static:{device:N}},ae={name:"support",proto:{support:G},static:{support:G}},re={isEdge:!!f.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=f.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(f.navigator.userAgent)},ne={name:"browser",proto:{browser:re},static:{browser:re}},oe={name:"resize",create:function(){var e=this;A.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){f.addEventListener("resize",this.resize.resizeHandler),f.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){f.removeEventListener("resize",this.resize.resizeHandler),f.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},le={func:f.MutationObserver||f.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this,s=new(0,le.func)(function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};f.requestAnimationFrame?f.requestAnimationFrame(t):f.setTimeout(t,0)}else i.emit("observerUpdate",e[0])});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(G.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},de={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){A.extend(this,{observer:{init:le.init.bind(this),attach:le.attach.bind(this),destroy:le.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},ce={handle:function(e){var t=this,i=t.rtlTranslate,s=e;s.originalEvent&&(s=s.originalEvent);var a=s.keyCode||s.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===a||t.isVertical()&&40===a||34===a))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===a||t.isVertical()&&38===a||33===a))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||p.activeElement&&p.activeElement.nodeName&&("input"===p.activeElement.nodeName.toLowerCase()||"textarea"===p.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(33===a||34===a||37===a||39===a||38===a||40===a)){var r=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n=f.innerWidth,o=f.innerHeight,l=t.$el.offset();i&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],c=0;c<d.length;c+=1){var u=d[c];u[0]>=0&&u[0]<=n&&u[1]>=0&&u[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(33!==a&&34!==a&&37!==a&&39!==a||(s.preventDefault?s.preventDefault():s.returnValue=!1),(34!==a&&39!==a||i)&&(33!==a&&37!==a||!i)||t.slideNext(),(33!==a&&37!==a||i)&&(34!==a&&39!==a||!i)||t.slidePrev()):(33!==a&&34!==a&&38!==a&&40!==a||(s.preventDefault?s.preventDefault():s.returnValue=!1),34!==a&&40!==a||t.slideNext(),33!==a&&38!==a||t.slidePrev()),t.emit("keyPress",a)}},enable:function(){this.keyboard.enabled||(g(p).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(g(p).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},ue={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){A.extend(this,{keyboard:{enabled:!1,enable:ce.enable.bind(this),disable:ce.disable.bind(this),handle:ce.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},he={lastScrollTime:A.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return f.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in p;if(!e){var t=p.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&p.implementation&&p.implementation.hasFeature&&!0!==p.implementation.hasFeature("","")&&(e=p.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=a,a=0),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,s=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(a=g(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!a[0].contains(t.target)&&!s.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,n=i.rtlTranslate?-1:1,o=he.normalize(t);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),i.params.freeMode){var l={time:A.now(),delta:Math.abs(r),direction:Math.sign(r)},d=i.mousewheel.lastEventBeforeSnap,c=d&&l.time<d.time+500&&l.delta<=d.delta&&l.direction===d.direction;if(!c){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var u=i.getTranslate()+r*s.sensitivity,h=i.isBeginning,p=i.isEnd;if(u>=i.minTranslate()&&(u=i.minTranslate()),u<=i.maxTranslate()&&(u=i.maxTranslate()),i.setTransition(0),i.setTranslate(u),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!h&&i.isBeginning||!p&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var v=i.mousewheel.recentWheelEvents;v.length>=15&&v.shift();var f=v.length?v[v.length-1]:void 0,m=v[0];if(v.push(l),f&&(l.delta>f.delta||l.direction!==f.direction))v.splice(0);else if(v.length>=15&&l.time-m.time<500&&m.delta-l.delta>=1&&l.delta<=6){var b=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=l,v.splice(0),i.mousewheel.timeout=A.nextTick(function(){i.slideToClosest(i.params.speed,!0,void 0,b)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=A.nextTick(function(){i.mousewheel.lastEventBeforeSnap=l,v.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(c||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),u===i.minTranslate()||u===i.maxTranslate())return!0}}else{var w={time:A.now(),delta:Math.abs(r),direction:Math.sign(r),raw:e},y=i.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var T=y.length?y[y.length-1]:void 0;if(y.push(w),T?(w.direction!==T.direction||w.delta>T.delta||w.time>T.time+150)&&i.mousewheel.animateSlider(w):i.mousewheel.animateSlider(w),i.mousewheel.releaseScroll(w))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&A.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new f.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=he.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=g(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=he.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=g(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},pe={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var s,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,n=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(s-=a-2*e.loopedSlides),s>n-1&&(s-=n),s<0&&"bullets"!==e.params.paginationType&&(s=n+s)):s=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,c=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=c.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=s-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(c.length,i.dynamicMainBullets)-1))+o)/2),c.removeClass("".concat(i.bulletActiveClass," ").concat(i.bulletActiveClass,"-next ").concat(i.bulletActiveClass,"-next-next ").concat(i.bulletActiveClass,"-prev ").concat(i.bulletActiveClass,"-prev-prev ").concat(i.bulletActiveClass,"-main")),r.length>1)c.each(function(e,t){var a=g(t),r=a.index();r===s&&a.addClass(i.bulletActiveClass),i.dynamicBullets&&(r>=o&&r<=l&&a.addClass(i.bulletActiveClass+"-main"),r===o&&a.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),r===l&&a.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=c.eq(s),h=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=c.eq(o),v=c.eq(l),f=o;f<=l;f+=1)c.eq(f).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=c.length-i.dynamicMainBullets){for(var m=i.dynamicMainBullets;m>=0;m-=1)c.eq(c.length-m).addClass(i.bulletActiveClass+"-main");c.eq(c.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),v.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),v.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var b=Math.min(c.length,i.dynamicMainBullets+4),w=(e.pagination.bulletSize*b-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,y=t?"right":"left";c.css(e.isHorizontal()?y:"top",w+"px")}}if("fraction"===i.type&&(r.find("."+i.currentClass).text(i.formatFractionCurrent(s+1)),r.find("."+i.totalClass).text(i.formatFractionTotal(n))),"progressbar"===i.type){var T;T=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var E=(s+1)/n,S=1,x=1;"horizontal"===T?S=E:x=E,r.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX(".concat(S,") scaleY(").concat(x,")")).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,s+1,n)),e.emit("paginationRender",e,r[0])):e.emit("paginationUpdate",e,r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el,s="";if("bullets"===t.type){for(var a=e.params.loop?Math.ceil(((e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length)-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,r=0;r<a;r+=1)s+=t.renderBullet?t.renderBullet.call(e,r,t.bulletClass):"<".concat(t.bulletElement,' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">");i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span> / <span class="').concat(t.totalClass,'"></span>'),i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>'),i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=g(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,function(t){t.preventDefault();var i=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),A.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},ve={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){A.extend(this,{pagination:{init:pe.init.bind(this),render:pe.render.bind(this),update:pe.update.bind(this),destroy:pe.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!g(e.target).hasClass(t.params.pagination.bulletClass)){var i=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);t.emit(!0===i?"paginationShow":"paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},fe={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(r.transform("translate3d(".concat(d,"px, 0, 0)")),r[0].style.width=l+"px"):(r.transform("translate3d(0px, ".concat(d,"px, 0)")),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),A.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),s.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=A.nextTick(function(){a.css("opacity",0),a.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!G.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!G.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};G.touch?(a.addEventListener(t.start,this.scrollbar.onDragStart,r),a.addEventListener(t.move,this.scrollbar.onDragMove,r),a.addEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.addEventListener(i.start,this.scrollbar.onDragStart,r),p.addEventListener(i.move,this.scrollbar.onDragMove,r),p.addEventListener(i.end,this.scrollbar.onDragEnd,n))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!G.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!G.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};G.touch?(a.removeEventListener(t.start,this.scrollbar.onDragStart,r),a.removeEventListener(t.move,this.scrollbar.onDragMove,r),a.removeEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.removeEventListener(i.start,this.scrollbar.onDragStart,r),p.removeEventListener(i.move,this.scrollbar.onDragMove,r),p.removeEventListener(i.end,this.scrollbar.onDragEnd,n))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,s=g(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&s.length>1&&1===t.find(i.el).length&&(s=t.find(i.el));var a=s.find("."+this.params.scrollbar.dragClass);0===a.length&&(a=g('<div class="'.concat(this.params.scrollbar.dragClass,'"></div>')),s.append(a)),A.extend(e,{$el:s,el:s[0],$dragEl:a,dragEl:a[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},me={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){A.extend(this,{scrollbar:{init:fe.init.bind(this),destroy:fe.destroy.bind(this),updateSize:fe.updateSize.bind(this),setTranslate:fe.setTranslate.bind(this),setTransition:fe.setTransition.bind(this),enableDraggable:fe.enableDraggable.bind(this),disableDraggable:fe.disableDraggable.bind(this),setDragPosition:fe.setDragPosition.bind(this),getPointerPosition:fe.getPointerPosition.bind(this),onDragStart:fe.onDragStart.bind(this),onDragMove:fe.onDragMove.bind(this),onDragEnd:fe.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},ge={getDistanceBetweenTouches:function(e){return e.targetTouches.length<2?1:Math.sqrt(Math.pow(e.targetTouches[1].pageX-e.targetTouches[0].pageX,2)+Math.pow(e.targetTouches[1].pageY-e.targetTouches[0].pageY,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!G.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=ge.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=g(e.target).closest("."+this.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+t.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!G.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=ge.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=G.gestures?e.scale*i.currentScale:s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale(".concat(i.scale,")")))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!G.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!N.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(".concat(i.scale,")")),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(N.android&&e.cancelable&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,s=i.gesture,a=i.image,r=i.velocity;if(s.$imageEl&&0!==s.$imageEl.length&&(t.allowClick=!1,a.isTouched&&s.$slideEl)){a.isMoved||(a.width=s.$imageEl[0].offsetWidth,a.height=s.$imageEl[0].offsetHeight,a.startX=A.getTranslate(s.$imageWrapEl[0],"x")||0,a.startY=A.getTranslate(s.$imageWrapEl[0],"y")||0,s.slideWidth=s.$slideEl[0].offsetWidth,s.slideHeight=s.$slideEl[0].offsetHeight,s.$imageWrapEl.transition(0),t.rtl&&(a.startX=-a.startX,a.startY=-a.startY));var n=a.width*i.scale,o=a.height*i.scale;if(!(n<s.slideWidth&&o<s.slideHeight)){if(a.minX=Math.min(s.slideWidth/2-n/2,0),a.maxX=-a.minX,a.minY=Math.min(s.slideHeight/2-o/2,0),a.maxY=-a.minY,a.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(a.minX)===Math.floor(a.startX)&&a.touchesCurrent.x<a.touchesStart.x||Math.floor(a.maxX)===Math.floor(a.startX)&&a.touchesCurrent.x>a.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.y<a.touchesStart.y||Math.floor(a.maxY)===Math.floor(a.startY)&&a.touchesCurrent.y>a.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentX<a.minX&&(a.currentX=a.minX+1-Math.pow(a.minX-a.currentX+1,.8)),a.currentX>a.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentY<a.minY&&(a.currentY=a.minY+1-Math.pow(a.minY-a.currentY+1,.8)),a.currentY>a.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=a.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=a.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(a.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(a.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(a.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(a.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=a.touchesCurrent.x,r.prevPositionY=a.touchesCurrent.y,r.prevTime=Date.now(),s.$imageWrapEl.transform("translate3d(".concat(a.currentX,"px, ").concat(a.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=i.currentX+s.x*a,o=i.currentY+s.y*r;0!==s.x&&(a=Math.abs((n-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((o-i.currentY)/s.y));var l=Math.max(a,r);i.currentX=n,i.currentY=o;var d=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-i.width*e.scale/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-d/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(l).transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,a,r,n,o,l,d,c,u,h,p,v,f,m,g=this.zoom,b=this.params.zoom,w=g.gesture,y=g.image;(w.$slideEl||(w.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===y.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x,i=y.touchesStart.y),g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(f=w.$slideEl[0].offsetWidth,m=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+f/2-t,a=w.$slideEl.offset().top+m/2-i,o=w.$imageEl[0].offsetWidth,l=w.$imageEl[0].offsetHeight,d=o*g.scale,c=l*g.scale,p=-(u=Math.min(f/2-d/2,0)),v=-(h=Math.min(m/2-c/2,0)),(r=s*g.scale)<u&&(r=u),r>p&&(r=p),(n=a*g.scale)<h&&(n=h),n>v&&(n=v)):(r=0,n=0),w.$imageWrapEl.transition(300).transform("translate3d(".concat(r,"px, ").concat(n,"px,0)")),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(g.scale,")")))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!G.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!G.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;G.gestures?(this.$wrapperEl.on("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.on("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.on(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!G.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!G.passiveListener||{passive:!1,capture:!0},s="."+this.params.slideClass;G.gestures?(this.$wrapperEl.off("gesturestart",s,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",s,e.onGestureChange,t),this.$wrapperEl.off("gestureend",s,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,s,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,s,e.onGestureChange,i),this.$wrapperEl.off(this.touchEvents.end,s,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,s,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},be={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(i){t[i]=ge[i].bind(e)}),A.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){i!==t&&e.emit("zoomChange",t,e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0),i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},we={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=A.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ye={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;A.extend(e,{autoplay:{running:!1,paused:!1,run:we.run.bind(e),start:we.start.bind(e),stop:we.stop.bind(e),pause:we.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},Te=[se,ae,ne,oe,de];void 0===ie.use&&(ie.use=ie.Class.use,ie.installModule=ie.Class.installModule),ie.use(Te),ie.use([ve,me,ye,ue,be])}}])}(); \ No newline at end of file diff --git a/dist/common-es5.5b923303648c6e8e3557.js b/dist/common-es5.5b923303648c6e8e3557.js index bf168a7f8c..fdca654e70 100644 --- a/dist/common-es5.5b923303648c6e8e3557.js +++ b/dist/common-es5.5b923303648c6e8e3557.js @@ -1 +1 @@ -!function(){function n(n,t,e,r,i,o,c){try{var u=n[o](c),a=u.value}catch(s){return void e(s)}u.done?t(a):Promise.resolve(a).then(r,i)}function t(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var c=t.apply(e,r);function u(t){n(c,i,o,u,a,"next",t)}function a(t){n(c,i,o,u,a,"throw",t)}u(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"74mu":function(n,e,r){"use strict";r.d(e,"a",function(){return o}),r.d(e,"b",function(){return c}),r.d(e,"c",function(){return i}),r.d(e,"d",function(){return a});var i=function(n,t){return null!==t.closest(n)},o=function(n,t){return"string"==typeof n&&n.length>0?Object.assign((i=!0,(r="ion-color-"+n)in(e={"ion-color":!0})?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i,e),t):t;var e,r,i},c=function(n){var t={};return function(n){return void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(function(n){return null!=n}).map(function(n){return n.trim()}).filter(function(n){return""!==n}):[]}(n).forEach(function(n){return t[n]=!0}),t},u=/^[a-z][a-z0-9+\-.]*:/,a=function(){var n=t(regeneratorRuntime.mark(function n(t,e,r,i){var o;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(null==t||"#"===t[0]||u.test(t)){n.next=4;break}if(!(o=document.querySelector("ion-router"))){n.next=4;break}return n.abrupt("return",(null!=e&&e.preventDefault(),o.push(t,r,i)));case 4:return n.abrupt("return",!1);case 5:case"end":return n.stop()}},n)}));return function(t,e,r,i){return n.apply(this,arguments)}}()},JbSX:function(n,t,e){"use strict";e.d(t,"a",function(){return c});var r=e("wEJo"),i=e("qULd"),o=e("iWo5"),c=function(n,t){var e,c,u=function(n,r,i){if("undefined"!=typeof document){var o=document.elementFromPoint(n,r);o&&t(o)?o!==e&&(s(),a(o,i)):s()}},a=function(n,t){e=n,c||(c=e);var i=e;Object(r.f)(function(){return i.classList.add("ion-activated")}),t()},s=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e){var t=e;Object(r.f)(function(){return t.classList.remove("ion-activated")}),n&&c!==e&&e.click(),e=void 0}};return Object(o.createGesture)({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:function(n){return u(n.currentX,n.currentY,i.a)},onMove:function(n){return u(n.currentX,n.currentY,i.b)},onEnd:function(){s(!0),Object(i.e)(),c=void 0}})}},acej:function(n,e,r){"use strict";r.d(e,"a",function(){return o}),r.d(e,"b",function(){return c});var i=r("1vRN"),o=function(){var n=t(regeneratorRuntime.mark(function n(t,e,r,o,c){var u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=2;break}return n.abrupt("return",t.attachViewToDom(e,r,c,o));case 2:if("string"==typeof r||r instanceof HTMLElement){n.next=4;break}throw new Error("framework delegate is missing");case 4:return u="string"==typeof r?e.ownerDocument&&e.ownerDocument.createElement(r):r,o&&o.forEach(function(n){return u.classList.add(n)}),c&&Object.assign(u,c),e.appendChild(u),n.next=10,new Promise(function(n){return Object(i.c)(u,n)});case 10:return n.abrupt("return",u);case 11:case"end":return n.stop()}},n)}));return function(t,e,r,i,o){return n.apply(this,arguments)}}(),c=function(n,t){if(t){if(n)return n.removeViewFromDom(t.parentElement,t);t.remove()}return Promise.resolve()}},h3R7:function(n,t,e){"use strict";e.d(t,"a",function(){return r});var r={bubbles:{dur:1e3,circles:9,fn:function(n,t,e){var r=n*t/e-n+"ms",i=2*Math.PI*t/e;return{r:5,style:{top:9*Math.sin(i)+"px",left:9*Math.cos(i)+"px","animation-delay":r}}}},circles:{dur:1e3,circles:8,fn:function(n,t,e){var r=t/e,i=n*r-n+"ms",o=2*Math.PI*r;return{r:5,style:{top:9*Math.sin(o)+"px",left:9*Math.cos(o)+"px","animation-delay":i}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:function(){return{r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(n,t){return{r:6,style:{left:9-9*t+"px","animation-delay":-110*t+"ms"}}}},lines:{dur:1e3,lines:12,fn:function(n,t,e){return{y1:17,y2:29,style:{transform:"rotate(".concat(30*t+(t<6?180:-180),"deg)"),"animation-delay":n*t/e-n+"ms"}}}},"lines-small":{dur:1e3,lines:12,fn:function(n,t,e){return{y1:12,y2:20,style:{transform:"rotate(".concat(30*t+(t<6?180:-180),"deg)"),"animation-delay":n*t/e-n+"ms"}}}}}},qULd:function(n,t,e){"use strict";e.d(t,"a",function(){return o}),e.d(t,"b",function(){return c}),e.d(t,"c",function(){return i}),e.d(t,"d",function(){return a}),e.d(t,"e",function(){return u});var r={getEngine:function(){var n=window;return n.TapticEngine||n.Capacitor&&n.Capacitor.isPluginAvailable("Haptics")&&n.Capacitor.Plugins.Haptics},available:function(){return!!this.getEngine()},isCordova:function(){return!!window.TapticEngine},isCapacitor:function(){return!!window.Capacitor},impact:function(n){var t=this.getEngine();if(t){var e=this.isCapacitor()?n.style.toUpperCase():n.style;t.impact({style:e})}},notification:function(n){var t=this.getEngine();if(t){var e=this.isCapacitor()?n.style.toUpperCase():n.style;t.notification({style:e})}},selection:function(){this.impact({style:"light"})},selectionStart:function(){var n=this.getEngine();n&&(this.isCapacitor()?n.selectionStart():n.gestureSelectionStart())},selectionChanged:function(){var n=this.getEngine();n&&(this.isCapacitor()?n.selectionChanged():n.gestureSelectionChanged())},selectionEnd:function(){var n=this.getEngine();n&&(this.isCapacitor()?n.selectionEnd():n.gestureSelectionEnd())}},i=function(){r.selection()},o=function(){r.selectionStart()},c=function(){r.selectionChanged()},u=function(){r.selectionEnd()},a=function(n){r.impact(n)}}}])}(); \ No newline at end of file +!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var n={},r=Object.prototype,e=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{u({},"")}catch(C){u=function(t,n,r){return t[n]=r}}function s(t,n,r,e){var o=n&&n.prototype instanceof h?n:h,i=Object.create(o.prototype),a=new j(e||[]);return i._invoke=function(t,n,r){var e="suspendedStart";return function(o,i){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===l)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===e)throw e="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e="executing";var u=f(t,n,r);if("normal"===u.type){if(e=r.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(e="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function f(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(C){return{type:"throw",arg:C}}}n.wrap=s;var l={};function h(){}function p(){}function d(){}var v={};u(v,i,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(O([])));g&&g!==r&&e.call(g,i)&&(v=g);var m=d.prototype=h.prototype=Object.create(v);function w(t){["next","throw","return"].forEach(function(n){u(t,n,function(t){return this._invoke(n,t)})})}function b(t,n){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&e.call(l,"__await")?n.resolve(l.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):n.resolve(l).then(function(t){s.value=t,a(s)},function(t){return r("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,e){function i(){return new n(function(n,o){r(t,e,n,o)})}return o=o?o.then(i,i):i()}}function E(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,E(t,n),"throw"===n.method))return l;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var e=f(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,l;var o=e.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,l):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,l)}function x(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function L(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function O(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(e.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=d,u(m,"constructor",d),u(d,"constructor",p),p.displayName=u(d,c,"GeneratorFunction"),n.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===p||"GeneratorFunction"===(n.displayName||n.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t},n.awrap=function(t){return{__await:t}},w(b.prototype),u(b.prototype,a,function(){return this}),n.AsyncIterator=b,n.async=function(t,r,e,o,i){void 0===i&&(i=Promise);var a=new b(s(t,r,e,o),i);return n.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w(m),u(m,c,"Generator"),u(m,i,function(){return this}),u(m,"toString",function(){return"[object Generator]"}),n.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},n.values=O,j.prototype={constructor:j,reset:function(t){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(L),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,e){return a.type="throw",a.arg=t,n.next=r,e&&(n.method="next",n.arg=void 0),!!e}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),l},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),l}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var o=e.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},n}function n(t,n,r,e,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?n(u):Promise.resolve(u).then(e,o)}function r(t){return function(){var r=this,e=arguments;return new Promise(function(o,i){var a=t.apply(r,e);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)})}}(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"74mu":function(n,e,o){"use strict";o.d(e,"a",function(){return a}),o.d(e,"b",function(){return c}),o.d(e,"c",function(){return i}),o.d(e,"d",function(){return s});var i=function(t,n){return null!==n.closest(t)},a=function(t,n){return"string"==typeof t&&t.length>0?Object.assign((o=!0,(e="ion-color-"+t)in(r={"ion-color":!0})?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r),n):n;var r,e,o},c=function(t){var n={};return function(t){return void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(function(t){return null!=t}).map(function(t){return t.trim()}).filter(function(t){return""!==t}):[]}(t).forEach(function(t){return n[t]=!0}),n},u=/^[a-z][a-z0-9+\-.]*:/,s=function(){var n=r(t().mark(function n(r,e,o,i){var a;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null==r||"#"===r[0]||u.test(r)){t.next=4;break}if(!(a=document.querySelector("ion-router"))){t.next=4;break}return t.abrupt("return",(null!=e&&e.preventDefault(),a.push(r,o,i)));case 4:return t.abrupt("return",!1);case 5:case"end":return t.stop()}},n)}));return function(t,r,e,o){return n.apply(this,arguments)}}()},JbSX:function(t,n,r){"use strict";r.d(n,"a",function(){return a});var e=r("wEJo"),o=r("qULd"),i=r("iWo5"),a=function(t,n){var r,a,c=function(t,e,o){if("undefined"!=typeof document){var i=document.elementFromPoint(t,e);i&&n(i)?i!==r&&(s(),u(i,o)):s()}},u=function(t,n){r=t,a||(a=r);var o=r;Object(e.f)(function(){return o.classList.add("ion-activated")}),n()},s=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r){var n=r;Object(e.f)(function(){return n.classList.remove("ion-activated")}),t&&a!==r&&r.click(),r=void 0}};return Object(i.createGesture)({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return c(t.currentX,t.currentY,o.a)},onMove:function(t){return c(t.currentX,t.currentY,o.b)},onEnd:function(){s(!0),Object(o.e)(),a=void 0}})}},acej:function(n,e,o){"use strict";o.d(e,"a",function(){return a}),o.d(e,"b",function(){return c});var i=o("1vRN"),a=function(){var n=r(t().mark(function n(r,e,o,a,c){var u;return t().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=2;break}return t.abrupt("return",r.attachViewToDom(e,o,c,a));case 2:if("string"==typeof o||o instanceof HTMLElement){t.next=4;break}throw new Error("framework delegate is missing");case 4:return u="string"==typeof o?e.ownerDocument&&e.ownerDocument.createElement(o):o,a&&a.forEach(function(t){return u.classList.add(t)}),c&&Object.assign(u,c),e.appendChild(u),t.next=10,new Promise(function(t){return Object(i.c)(u,t)});case 10:return t.abrupt("return",u);case 11:case"end":return t.stop()}},n)}));return function(t,r,e,o,i){return n.apply(this,arguments)}}(),c=function(t,n){if(n){if(t)return t.removeViewFromDom(n.parentElement,n);n.remove()}return Promise.resolve()}},h3R7:function(t,n,r){"use strict";r.d(n,"a",function(){return e});var e={bubbles:{dur:1e3,circles:9,fn:function(t,n,r){var e=t*n/r-t+"ms",o=2*Math.PI*n/r;return{r:5,style:{top:9*Math.sin(o)+"px",left:9*Math.cos(o)+"px","animation-delay":e}}}},circles:{dur:1e3,circles:8,fn:function(t,n,r){var e=n/r,o=t*e-t+"ms",i=2*Math.PI*e;return{r:5,style:{top:9*Math.sin(i)+"px",left:9*Math.cos(i)+"px","animation-delay":o}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:function(){return{r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,n){return{r:6,style:{left:9-9*n+"px","animation-delay":-110*n+"ms"}}}},lines:{dur:1e3,lines:12,fn:function(t,n,r){return{y1:17,y2:29,style:{transform:"rotate(".concat(30*n+(n<6?180:-180),"deg)"),"animation-delay":t*n/r-t+"ms"}}}},"lines-small":{dur:1e3,lines:12,fn:function(t,n,r){return{y1:12,y2:20,style:{transform:"rotate(".concat(30*n+(n<6?180:-180),"deg)"),"animation-delay":t*n/r-t+"ms"}}}}}},qULd:function(t,n,r){"use strict";r.d(n,"a",function(){return i}),r.d(n,"b",function(){return a}),r.d(n,"c",function(){return o}),r.d(n,"d",function(){return u}),r.d(n,"e",function(){return c});var e={getEngine:function(){var t=window;return t.TapticEngine||t.Capacitor&&t.Capacitor.isPluginAvailable("Haptics")&&t.Capacitor.Plugins.Haptics},available:function(){return!!this.getEngine()},isCordova:function(){return!!window.TapticEngine},isCapacitor:function(){return!!window.Capacitor},impact:function(t){var n=this.getEngine();if(n){var r=this.isCapacitor()?t.style.toUpperCase():t.style;n.impact({style:r})}},notification:function(t){var n=this.getEngine();if(n){var r=this.isCapacitor()?t.style.toUpperCase():t.style;n.notification({style:r})}},selection:function(){this.impact({style:"light"})},selectionStart:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionStart():t.gestureSelectionStart())},selectionChanged:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionChanged():t.gestureSelectionChanged())},selectionEnd:function(){var t=this.getEngine();t&&(this.isCapacitor()?t.selectionEnd():t.gestureSelectionEnd())}},o=function(){e.selection()},i=function(){e.selectionStart()},a=function(){e.selectionChanged()},c=function(){e.selectionEnd()},u=function(t){e.impact(t)}}}])}(); \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 4b4a1fc869..b96bcebd5c 100644 --- a/dist/index.html +++ b/dist/index.html @@ -24,8 +24,8 @@ <script type="module" src="./assets/fortify/peculiar.esm.js"></script> <script nomodule="" src="./assets/fortify/peculiar.js"></script> <link rel="stylesheet" href="./assets/fortify/peculiar.css"> -<link rel="stylesheet" href="styles.8b6195db994dd1043497.css"></head> +<link rel="stylesheet" href="styles.eefa2d3796f044367e70.css"></head> <body> <app-root></app-root> -<script src="runtime-es2015.6d764e26596b8259b2e2.js" type="module"></script><script src="runtime-es5.6d764e26596b8259b2e2.js" nomodule defer></script><script src="polyfills-es5.016de5c7b74a5782d968.js" nomodule defer></script><script src="polyfills-es2015.61606da6d5867aea9335.js" type="module"></script><script src="scripts.839aa34c61ed64fb6304.js" defer></script><script src="main-es2015.1f7bc32be92a0ed27143.js" type="module"></script><script src="main-es5.1f7bc32be92a0ed27143.js" nomodule defer></script></body> +<script src="runtime-es2015.6d764e26596b8259b2e2.js" type="module"></script><script src="runtime-es5.6d764e26596b8259b2e2.js" nomodule defer></script><script src="polyfills-es5.016de5c7b74a5782d968.js" nomodule defer></script><script src="polyfills-es2015.61606da6d5867aea9335.js" type="module"></script><script src="scripts.839aa34c61ed64fb6304.js" defer></script><script src="main-es2015.f77be352cb838ac57804.js" type="module"></script><script src="main-es5.f77be352cb838ac57804.js" nomodule defer></script></body> </html> diff --git a/dist/main-es2015.1f7bc32be92a0ed27143.js b/dist/main-es2015.1f7bc32be92a0ed27143.js deleted file mode 100644 index fcf1bed518..0000000000 --- a/dist/main-es2015.1f7bc32be92a0ed27143.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{0:function(e,t,n){e.exports=n("m9/o")},"1vRN":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return d}),n.d(t,"i",function(){return s}),n.d(t,"j",function(){return p}),n.d(t,"k",function(){return c}),n.d(t,"l",function(){return g}),n.d(t,"m",function(){return b}),n.d(t,"n",function(){return y}),n.d(t,"o",function(){return f}),n.d(t,"p",function(){return m}),n.d(t,"q",function(){return l});const i=(e,t)=>{e.componentOnReady?e.componentOnReady().then(e=>t(e)):l(()=>t(e))},s=(e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},o=(e,t,n,i)=>{if("undefined"!=typeof window){const s=window,o=s&&s.Ionic&&s.Ionic.config;if(o){const s=o.get("_ael");if(s)return s(e,t,n,i);if(o._ael)return o._ael(e,t,n,i)}}return e.addEventListener(t,n,i)},r=(e,t,n,i)=>{if("undefined"!=typeof window){const s=window,o=s&&s.Ionic&&s.Ionic.config;if(o){const s=o.get("_rel");if(s)return s(e,t,n,i);if(o._rel)return o._rel(e,t,n,i)}}return e.removeEventListener(t,n,i)},a=(e,t=e)=>e.shadowRoot||t,l=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),c=e=>!!e.shadowRoot&&!!e.attachShadow,d=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},u=(e,t)=>{let n;const i=e.getAttribute("aria-labelledby"),s=e.id;let o=null!==i&&""!==i.trim()?i:t+"-lbl",r=null!==i&&""!==i.trim()?document.getElementById(i):d(e);return r?(null===i&&(r.id=o),n=r.textContent,r.setAttribute("aria-hidden","true")):""!==s.trim()&&(r=document.querySelector(`label[for="${s}"]`),r&&(""!==r.id?o=r.id:r.id=o=s+"-lbl",n=r.textContent)),{label:r,labelId:o,labelText:n}},h=(e,t,n,i,s)=>{if(e||c(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=s,e.name=n,e.value=i||""}},p=(e,t,n)=>Math.max(e,Math.min(t,n)),g=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},f=e=>e.timeStamp||Date.now(),m=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},b=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},v=(e,t)=>{const n=e._original||e;return{_original:e,emit:y(n.emit.bind(n),t)}},y=(e,t=0)=>{let n;return(...i)=>{clearTimeout(n),n=setTimeout(e,t,...i)}}},"39oe":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>{try{if(e instanceof class{constructor(e){this.value=e}})return e.value;if(!r()||"string"!=typeof e||""===e)return e;const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(e=>{const n=t.querySelectorAll(e);for(let i=n.length-1;i>=0;i--){const e=n[i];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const r=o(e);for(let t=0;t<r.length;t++)s(r[t])}});const i=o(t);for(let e=0;e<i.length;e++)s(i[e]);const a=document.createElement("div");a.appendChild(t);const c=a.querySelector("div");return null!==c?c.innerHTML:a.innerHTML}catch(t){return console.error(t),""}},s=e=>{if(e.nodeType&&1!==e.nodeType)return;for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),i=t.name;if(!a.includes(i.toLowerCase())){e.removeAttribute(i);continue}const s=t.value;null!=s&&s.toLowerCase().includes("javascript:")&&e.removeAttribute(i)}const t=o(e);for(let n=0;n<t.length;n++)s(t[n])},o=e=>null!=e.children?e.children:e.childNodes,r=()=>{const e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},a=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},"7OTs":function(e,t,n){"use strict";n.d(t,"a",function(){return I}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return C}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return S}),n.d(t,"h",function(){return P}),n.d(t,"i",function(){return a}),n.d(t,"j",function(){return O}),n.d(t,"k",function(){return u}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return p}),n.d(t,"n",function(){return T}),n.d(t,"o",function(){return f});var i=n("E/Mt"),s=n("B4Jq"),o=n("1vRN");let r=0;const a=new WeakMap,l=e=>({create:t=>b(e,t),dismiss:(t,n,i)=>_(document,t,n,e,i),getTop:async()=>x(document,e)}),c=l("ion-alert"),d=l("ion-action-sheet"),u=l("ion-loading"),h=l("ion-modal"),p=l("ion-picker"),g=l("ion-popover"),f=l("ion-toast"),m=e=>{"undefined"!=typeof document&&w(document);const t=r++;e.overlayIndex=t,e.hasAttribute("id")||(e.id="ion-overlay-"+t)},b=(e,t)=>"undefined"!=typeof customElements?customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),k(document).appendChild(n),new Promise(e=>Object(o.c)(n,e))}):Promise.resolve(),v='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',y="input:not([type=hidden]), textarea, button, select",w=e=>{0===r&&(r=1,e.addEventListener("focus",t=>((e,t)=>{const n=x(t),i=e.target;if(n&&i)if(n===i)n.lastFocus=void 0;else{const e=Object(o.g)(n);if(!e.contains(i))return;const s=e.querySelector(".ion-overlay-wrapper");if(!s)return;if(s.contains(i))n.lastFocus=i;else{const e=n.lastFocus;((e,t)=>{let n=e.querySelector(v);const i=n&&n.shadowRoot;i&&(n=i.querySelector(y)||n),n?n.focus():t.focus()})(s,n),e===t.activeElement&&((e,t)=>{const n=Array.from(e.querySelectorAll(v));let i=n.length>0?n[n.length-1]:null;const s=i&&i.shadowRoot;s&&(i=s.querySelector(y)||i),i?i.focus():t.focus()})(s,n),n.lastFocus=t.activeElement}}})(t,e),!0),e.addEventListener("ionBackButton",t=>{const n=x(e);n&&n.backdropDismiss&&t.detail.register(s.OVERLAY_BACK_BUTTON_PRIORITY,()=>n.dismiss(void 0,I))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=x(e);t&&t.backdropDismiss&&t.dismiss(void 0,I)}}))},_=(e,t,n,i,s)=>{const o=x(e,i,s);return o?o.dismiss(t,n):Promise.reject("overlay does not exist")},x=(e,t,n)=>{const i=((e,t)=>(void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(e=>e.overlayIndex>0)))(e,t);return void 0===n?i[i.length-1]:i.find(e=>e.id===n)},C=async(e,t,n,s,o)=>{if(e.presented)return;e.presented=!0,e.willPresent.emit();const r=Object(i.b)(e),a=e.enterAnimation?e.enterAnimation:i.c.get(t,"ios"===r?n:s);await E(e,a,e.el,o)&&e.didPresent.emit(),"ION-TOAST"!==e.el.tagName&&A(e.el),e.keyboardClose&&e.el.focus()},A=async e=>{let t=document.activeElement;if(!t)return;const n=t&&t.shadowRoot;n&&(t=n.querySelector(y)||t),await e.onDidDismiss(),t.focus()},S=async(e,t,n,s,o,r,l)=>{if(!e.presented)return!1;e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n});const c=Object(i.b)(e),d=e.leaveAnimation?e.leaveAnimation:i.c.get(s,"ios"===c?o:r);"gesture"!==n&&await E(e,d,e.el,l),e.didDismiss.emit({data:t,role:n}),a.delete(e)}catch(c){console.error(c)}return e.el.remove(),!0},k=e=>e.querySelector("ion-app")||e.body,E=async(e,t,n,s)=>{n.classList.remove("overlay-hidden");const o=t(n.shadowRoot||e.el,s);e.animated&&i.c.getBoolean("animated",!0)||o.duration(0),e.keyboardClose&&o.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const r=a.get(e)||[];return a.set(e,[...r,o]),await o.play(),!0},P=(e,t)=>{let n;const i=new Promise(e=>n=e);return D(e,t,e=>{n(e.detail)}),i},D=(e,t,n)=>{const i=s=>{Object(o.b)(e,t,i),n(s)};Object(o.a)(e,t,i)},O=e=>"cancel"===e||e===I,M=e=>e(),T=(e,t)=>{if("function"==typeof e)return i.c.get("_zoneGate",M)(()=>{try{return e(t)}catch(n){console.error(n)}})},I="backdrop"},B4Jq:function(e,t,n){"use strict";n.r(t),n.d(t,"MENU_BACK_BUTTON_PRIORITY",function(){return r}),n.d(t,"OVERLAY_BACK_BUTTON_PRIORITY",function(){return o}),n.d(t,"blockHardwareBackButton",function(){return i}),n.d(t,"startHardwareBackButton",function(){return s});const i=()=>{document.addEventListener("backbutton",()=>{})},s=()=>{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,i=[];const s=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){i.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(s);const o=()=>{if(i.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};i.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,i=i.filter(t=>t.id!==e.id),(async e=>{try{if(e&&e.handler){const t=e.handler(o);null!=t&&await t}}catch(t){console.error(t)}})(e).then(()=>t=!1)}};o()})},o=100,r=99},"E/Mt":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return _});var i=n("wEJo");const s=e=>r(e),o=(e,t)=>("string"==typeof e&&(t=e,e=void 0),s(e).includes(t)),r=(e=window)=>{if(void 0===e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=a(e),t.forEach(t=>e.document.documentElement.classList.add("plt-"+t))),t},a=e=>Object.keys(m).filter(t=>m[t](e)),l=e=>!!g(e,/iPad/i)||!(!g(e,/Macintosh/i)||!d(e)),c=e=>g(e,/android|sink/i),d=e=>f(e,"(any-pointer:coarse)"),u=e=>h(e)||p(e),h=e=>!!(e.cordova||e.phonegap||e.PhoneGap),p=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},g=(e,t)=>t.test(e.navigator.userAgent),f=(e,t)=>e.matchMedia(t).matches,m={ipad:l,iphone:e=>g(e,/iPhone/i),ios:e=>g(e,/iPhone|iPod/i)||l(e),android:c,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),s=Math.max(t,n);return i>390&&i<520&&s>620&&s<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),s=Math.max(t,n);return l(e)||(e=>c(e)&&!g(e,/mobile/i))(e)||i>460&&i<820&&s>780&&s<1400},cordova:h,capacitor:p,electron:e=>g(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:d,mobileweb:e=>d(e)&&!u(e),desktop:e=>!d(e),hybrid:u};class b{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}}const v=new b;let y;const w=e=>e&&Object(i.i)(e)||y,_=(e={})=>{if("undefined"==typeof window)return;const t=window.document,n=window,s=n.Ionic=n.Ionic||{};r(n);const a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem("ionic-persist-config");return null!==t?JSON.parse(t):{}}catch(t){return{}}})(n)),{persistConfig:!1}),s.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>"ionic:"===e.substr(0,"ionic:".length)).map(([e,t])=>[e.slice("ionic:".length),t]).forEach(([e,n])=>{t[e]=n}),t})(n)),e);v.reset(a),v.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem("ionic-persist-config",JSON.stringify(t))}catch(n){return}})(n,a),s.config=v,s.mode=y=v.get("mode",t.documentElement.getAttribute("mode")||(o(n,"ios")?"ios":"md")),v.set("mode",y),t.documentElement.setAttribute("mode",y),t.documentElement.classList.add(y),v.getBoolean("_testing")&&v.set("animated",!1);const l=e=>e.tagName&&e.tagName.startsWith("ION-"),c=e=>["ios","md"].includes(e);Object(i.p)(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;l(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return y})}},Hfs6:function(e,t,n){var i,s,o;!function(r){if("object"==typeof e.exports){var a=r(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(o="function"==typeof(i=r)?i.apply(t,s):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},MYvV: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="MYvV"},RQGG:function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",function(){return o});var i=n("meiF"),s=n("k4ps");n("1vRN"),n("wEJo");const o=(e,t)=>{const n="back"===t.direction,o=t.enteringEl,r=t.leavingEl,a=Object(s.g)(o),l=a.querySelector("ion-toolbar"),c=Object(i.a)();if(c.addElement(a).fill("both").beforeRemoveClass("ion-page-invisible"),n?c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):c.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){const e=Object(i.a)();e.addElement(l),c.addAnimation(e)}if(r&&n){c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=Object(i.a)();e.addElement(Object(s.g)(r)).onFinish(t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),c.addAnimation(e)}return c}},b0Xh:function(e,t,i){var s;(function(){var i=function(e){return e instanceof i?e:this instanceof i?void(this.EXIFwrapped=e):new i(e)};e.exports&&(t=e.exports=i),t.EXIF=i;var o=i.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},r=i.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},a=i.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=i.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},c=i.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function d(e){return!!e.exifdata}function u(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return b(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var h={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function p(e,t,n){for(var i,s,o,r,a=new DataView(e),l={},c=t;c<t+n;)28===a.getUint8(c)&&2===a.getUint8(c+1)&&(r=a.getUint8(c+2))in h&&(o=a.getInt16(c+3),s=h[r],i=m(a,c+5,o),l.hasOwnProperty(s)?l[s]instanceof Array?l[s].push(i):l[s]=[l[s],i]:l[s]=i),c++;return l}function g(e,t,n,i,s){var o,r,a=e.getUint16(n,!s),l={};for(r=0;r<a;r++)l[i[e.getUint16(o=n+12*r+2,!s)]]=f(e,o,t,0,s);return l}function f(e,t,n,i,s){var o,r,a,l,c,d,u=e.getUint16(t+2,!s),h=e.getUint32(t+4,!s),p=e.getUint32(t+8,!s)+n;switch(u){case 1:case 7:if(1==h)return e.getUint8(t+8,!s);for(o=h>4?p:t+8,r=[],l=0;l<h;l++)r[l]=e.getUint8(o+l);return r;case 2:return m(e,o=h>4?p:t+8,h-1);case 3:if(1==h)return e.getUint16(t+8,!s);for(o=h>2?p:t+8,r=[],l=0;l<h;l++)r[l]=e.getUint16(o+2*l,!s);return r;case 4:if(1==h)return e.getUint32(t+8,!s);for(r=[],l=0;l<h;l++)r[l]=e.getUint32(p+4*l,!s);return r;case 5:if(1==h)return c=e.getUint32(p,!s),d=e.getUint32(p+4,!s),(a=new Number(c/d)).numerator=c,a.denominator=d,a;for(r=[],l=0;l<h;l++)c=e.getUint32(p+8*l,!s),d=e.getUint32(p+4+8*l,!s),r[l]=new Number(c/d),r[l].numerator=c,r[l].denominator=d;return r;case 9:if(1==h)return e.getInt32(t+8,!s);for(r=[],l=0;l<h;l++)r[l]=e.getInt32(p+4*l,!s);return r;case 10:if(1==h)return e.getInt32(p,!s)/e.getInt32(p+4,!s);for(r=[],l=0;l<h;l++)r[l]=e.getInt32(p+8*l,!s)/e.getInt32(p+4+8*l,!s);return r}}function m(e,t,i){var s="";for(n=t;n<t+i;n++)s+=String.fromCharCode(e.getUint8(n));return s}function b(e,t){if("Exif"!=m(e,t,4))return!1;var n,i,s,d,u,h=t+6;if(18761==e.getUint16(h))n=!1;else{if(19789!=e.getUint16(h))return!1;n=!0}if(42!=e.getUint16(h+2,!n))return!1;var p=e.getUint32(h+4,!n);if(p<8)return!1;if((i=g(e,h,h+p,r,n)).ExifIFDPointer)for(s in d=g(e,h,h+i.ExifIFDPointer,o,n)){switch(s){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":d[s]=c[s][d[s]];break;case"ExifVersion":case"FlashpixVersion":d[s]=String.fromCharCode(d[s][0],d[s][1],d[s][2],d[s][3]);break;case"ComponentsConfiguration":d[s]=c.Components[d[s][0]]+c.Components[d[s][1]]+c.Components[d[s][2]]+c.Components[d[s][3]]}i[s]=d[s]}if(i.GPSInfoIFDPointer)for(s in u=g(e,h,h+i.GPSInfoIFDPointer,a,n)){switch(s){case"GPSVersionID":u[s]=u[s][0]+"."+u[s][1]+"."+u[s][2]+"."+u[s][3]}i[s]=u[s]}return i.thumbnail=function(e,t,n,i){var s=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!s)return{};if(s>e.byteLength)return{};var o=g(e,t,t+s,l,i);if(o.Compression)switch(o.Compression){case 6:o.JpegIFOffset&&o.JpegIFByteCount&&(o.blob=new Blob([new Uint8Array(e.buffer,t+o.JpegIFOffset,o.JpegIFByteCount)],{type:"image/jpeg"}));break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,h,p,n),i}function v(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var s=0;s<e.childNodes.length;s++){var o=e.childNodes.item(s),r=o.nodeName;if(null==t[r])t[r]=v(o);else{if(null==t[r].push){var a=t[r];t[r]=[],t[r].push(a)}t[r].push(v(o))}}return t}function y(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),s=i.attributes;for(var o in s){var r=s[o],a=r.nodeName;void 0!==a&&(t[a]=r.nodeValue)}var l=i.nodeName;if(void 0===t[l])t[l]=v(i);else{if(void 0===t[l].push){var c=t[l];t[l]=[],t[l].push(c)}t[l].push(v(i))}}else t=e.textContent;return t}catch(d){console.log(d.message)}}i.enableXmp=function(){i.isXmpEnabled=!0},i.disableXmp=function(){i.isXmpEnabled=!1},i.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(d(e)?t&&t.call(e):function(e,t){function n(n){var s=u(n);e.exifdata=s||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,s=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(s(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),p(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},i.isXmpEnabled){var r=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,s=new DOMParser;n<i-4;){if("http"==m(t,n,4)){var o=n-1,r=t.getUint16(n-2)-1,a=m(t,o,r),l=a.indexOf("xmpmeta>")+8,c=(a=a.substring(a.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return a=a.slice(0,c)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+a.slice(c),y(s.parseFromString(a,"text/xml"))}n++}}}(n);e.xmpdata=r||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,s=new ArrayBuffer(i),o=new Uint8Array(s),r=0;r<i;r++)o[r]=n.charCodeAt(r);return s}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){200!=this.status&&0!==this.status||o.readAsArrayBuffer(this.response)},n.send()}(e.src);else{var s=new XMLHttpRequest;s.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(s.response),s=null},s.open("GET",e.src,!0),s.responseType="arraybuffer",s.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}(e,t),0))},i.getTag=function(e,t){if(d(e))return e.exifdata[t]},i.getIptcTag=function(e,t){if(d(e))return e.iptcdata[t]},i.getAllTags=function(e){if(!d(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.getAllIptcTags=function(e){if(!d(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.pretty=function(e){if(!d(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&(i+="object"==typeof n[t]?n[t]instanceof Number?t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":t+" : ["+n[t].length+" values]\r\n":t+" : "+n[t]+"\r\n");return i},i.readFromBinaryFile=function(e){return u(e)},void 0===(s=(function(){return i}).apply(t,[]))||(e.exports=s)}).call(this)},bC4P:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(e,t,n,i,r)=>o(e[1],t[1],n[1],i[1],r).map(o=>s(e[0],t[0],n[0],i[0],o)),s=(e,t,n,i,s)=>s*(3*t*Math.pow(s-1,2)+s*(-3*n*s+3*n+i*s))-e*Math.pow(s-1,3),o=(e,t,n,i,s)=>r((i-=s)-3*(n-=s)+3*(t-=s)-(e-=s),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),r=(e,t,n,i)=>{if(0===e)return((e,t,n)=>{const i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]})(t,n,i);const s=(3*(n/=e)-(t/=e)*t)/3,o=(2*t*t*t-9*t*n+27*(i/=e))/27;if(0===s)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-s),-Math.sqrt(-s)];const r=Math.pow(o/2,2)+Math.pow(s/3,3);if(0===r)return[Math.pow(o/2,.5)-t/3];if(r>0)return[Math.pow(-o/2+Math.sqrt(r),1/3)-Math.pow(o/2+Math.sqrt(r),1/3)-t/3];const a=Math.sqrt(Math.pow(-s/3,3)),l=Math.acos(-o/(2*Math.sqrt(Math.pow(-s/3,3)))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]}},iWo5:function(e,t,n){"use strict";n.r(t),n.d(t,"createGesture",function(){return l});var i=n("y08P");n.d(t,"GESTURE_CONTROLLER",function(){return i.a});const s=(e,t,n,i)=>{const s=o(e)?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;let r,a;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(r="addEventListener",a="removeEventListener"),e[r](t,n,s),()=>{e[a](t,n,s)}},o=e=>{if(void 0===r)try{const t=Object.defineProperty({},"passive",{get:()=>{r=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){r=!1}return!!r};let r;const a=e=>e instanceof Document?e:e.ownerDocument,l=e=>{let t=!1,n=!1,o=!0,r=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),h=l.canStart,p=l.onWillStart,g=l.onStart,f=l.onEnd,m=l.notCaptured,b=l.onMove,v=l.threshold,y=l.passive,w=l.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((e,t,n)=>{const i=n*(Math.PI/180),s="x"===e,o=Math.cos(i),r=t*t;let a=0,l=0,c=!1,d=0;return{start(e,t){a=e,l=t,d=0,c=!0},detect(e,t){if(!c)return!1;const n=e-a,i=t-l,u=n*n+i*i;if(u<r)return!1;const h=Math.sqrt(u),p=(s?n:i)/h;return d=p>o?1:p<-o?-1:0,c=!1,!0},isGesture:()=>0!==d,getDirection:()=>d}})(l.direction,l.threshold,l.maxAngle),C=i.a.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),A=()=>{t&&(r=!1,b&&b(_))},S=()=>!(C&&!C.capture()||(t=!0,o=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,p?p(_).then(k):k(),0)),k=()=>{w&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;null!==e&&e.blur&&e.blur()}})(),g&&g(_),o=!0},E=()=>{t=!1,n=!1,r=!1,o=!0,C.release()},P=e=>{const n=t,i=o;E(),i&&(c(_,e),n?f&&f(_):m&&m(_))},D=((e,t,n,i,o)=>{let r,l,c,d,u,h,p,g=0;const f=i=>{g=Date.now()+2e3,t(i)&&(!l&&n&&(l=s(e,"touchmove",n,o)),c||(c=s(e,"touchend",b,o)),d||(d=s(e,"touchcancel",b,o)))},m=i=>{g>Date.now()||t(i)&&(!h&&n&&(h=s(a(e),"mousemove",n,o)),p||(p=s(a(e),"mouseup",v,o)))},b=e=>{y(),i&&i(e)},v=e=>{w(),i&&i(e)},y=()=>{l&&l(),c&&c(),d&&d(),l=c=d=void 0},w=()=>{h&&h(),p&&p(),h=p=void 0},_=()=>{y(),w()},x=(t=!0)=>{t?(r||(r=s(e,"touchstart",f,o)),u||(u=s(e,"mousedown",m,o))):(r&&r(),u&&u(),r=u=void 0,_())};return{enable:x,stop:_,destroy:()=>{x(!1),i=n=t=void 0}}})(l.el,e=>{const t=u(e);return!(n||!o)&&(d(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!h||!1!==h(_))&&(C.release(),!!C.start()&&(n=!0,0===v?S():(x.start(_.startX,_.startY),!0))))},e=>{t?!r&&o&&(r=!0,c(_,e),requestAnimationFrame(A)):(c(_,e),x.detect(_.currentX,_.currentY)&&(x.isGesture()&&S()||O()))},P,{capture:!1,passive:y}),O=()=>{E(),D.stop(),m&&m(_)};return{enable(e=!0){e||(t&&P(void 0),E()),D.enable(e)},destroy(){C.destroy(),D.destroy()}}},c=(e,t)=>{if(!t)return;const n=e.currentX,i=e.currentY,s=e.currentTime;d(t,e);const o=e.currentX,r=e.currentY,a=(e.currentTime=u(t))-s;if(a>0&&a<100){const t=(r-i)/a;e.velocityX=(o-n)/a*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=o-e.startX,e.deltaY=r-e.startY,e.event=t},d=(e,t)=>{let n=0,i=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,i=e.clientY}else void 0!==e.pageX&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},u=e=>e.timeStamp||Date.now()},k4ps:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return A}),n.d(t,"g",function(){return E}),n.d(t,"h",function(){return x}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return d});var i=n("wEJo"),s=n("1vRN");const o="ionViewWillEnter",r="ionViewDidEnter",a="ionViewWillLeave",l="ionViewDidLeave",c="ionViewWillUnload",d=e=>new Promise((t,n)=>{Object(i.f)(()=>{u(e),h(e).then(n=>{n.animation&&n.animation.destroy(),p(e),t(n)},t=>{p(e),n(t)})})}),u=e=>{const t=e.enteringEl,n=e.leavingEl;k(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),S(t,!1),n&&S(n,!1)},h=async e=>{const t=await g(e);return t&&i.a.isBrowser?f(t,e):m(e)},p=e=>{const t=e.leavingEl;e.enteringEl.classList.remove("ion-page-invisible"),void 0!==t&&t.classList.remove("ion-page-invisible")},g=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await Promise.resolve().then(n.bind(null,"lTIg"))).iosTransitionAnimation:(await Promise.resolve().then(n.bind(null,"RQGG"))).mdTransitionAnimation},f=async(e,t)=>{await b(t,!0);const n=e(t.baseEl,t);w(t.enteringEl,t.leavingEl);const i=await y(n,t);return t.progressCallback&&t.progressCallback(void 0),i&&_(t.enteringEl,t.leavingEl),{hasCompleted:i,animation:n}},m=async e=>{const t=e.enteringEl,n=e.leavingEl;return await b(e,!1),w(t,n),_(t,n),{hasCompleted:!0}},b=async(e,t)=>{const n=(void 0!==e.deepWait?e.deepWait:t)?[A(e.enteringEl),A(e.leavingEl)]:[C(e.enteringEl),C(e.leavingEl)];await Promise.all(n),await v(e.viewIsReady,e.enteringEl)},v=async(e,t)=>{e&&await e(t)},y=(e,t)=>{const n=t.progressCallback,i=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),i},w=(e,t)=>{x(t,a),x(e,o)},_=(e,t)=>{x(e,r),x(t,l)},x=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},C=e=>e?new Promise(t=>Object(s.c)(e,t)):Promise.resolve(),A=async e=>{const t=e;if(t){if(null!=t.componentOnReady&&null!=await t.componentOnReady())return;await Promise.all(Array.from(t.children).map(A))}},S=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},k=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},E=e=>e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e},kLfG:function(e,t,n){var i={"./ion-action-sheet.entry.js":["dUtr",0,12],"./ion-alert.entry.js":["Q8AI",0,13],"./ion-app_8.entry.js":["hgI1",0,14],"./ion-avatar_3.entry.js":["CfoV",0,15],"./ion-back-button.entry.js":["Nt02",0,16],"./ion-backdrop.entry.js":["Q2Bp",17],"./ion-button_2.entry.js":["0Pbj",0,18],"./ion-card_5.entry.js":["ydQj",0,19],"./ion-checkbox.entry.js":["4fMi",0,20],"./ion-chip.entry.js":["czK9",0,21],"./ion-col_3.entry.js":["/CAe",22],"./ion-datetime_3.entry.js":["WgF3",0,23],"./ion-fab_3.entry.js":["uQcF",0,24],"./ion-img.entry.js":["wHD8",25],"./ion-infinite-scroll_2.entry.js":["2lz6",26],"./ion-input.entry.js":["ercB",0,27],"./ion-item-option_3.entry.js":["MGMP",0,28],"./ion-item_8.entry.js":["9bur",0,29],"./ion-loading.entry.js":["cABk",0,30],"./ion-menu_3.entry.js":["kyFE",0,31],"./ion-modal.entry.js":["TvZU",0,32],"./ion-nav_2.entry.js":["vnES",0,33],"./ion-popover.entry.js":["qCuA",0,34],"./ion-progress-bar.entry.js":["0tOe",0,35],"./ion-radio_2.entry.js":["h11V",0,36],"./ion-range.entry.js":["XGij",0,37],"./ion-refresher_2.entry.js":["nYbb",0,38],"./ion-reorder_2.entry.js":["smMY",0,39],"./ion-ripple-effect.entry.js":["STjf",40],"./ion-route_4.entry.js":["k5eQ",0,41],"./ion-searchbar.entry.js":["OR5t",0,42],"./ion-segment_2.entry.js":["fSgp",0,43],"./ion-select_3.entry.js":["lfGF",0,44],"./ion-slide_2.entry.js":["5xYT",45],"./ion-spinner.entry.js":["nI0H",0,46],"./ion-split-pane.entry.js":["NAQR",47],"./ion-tab-bar_2.entry.js":["knkW",0,48],"./ion-tab_2.entry.js":["TpdJ",0,49],"./ion-text.entry.js":["ISmu",0,50],"./ion-textarea.entry.js":["U7LX",0,51],"./ion-toast.entry.js":["L3sA",0,52],"./ion-toggle.entry.js":["IUOf",0,53],"./ion-virtual-scroll.entry.js":["8Mb5",54]};function s(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],s=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(s)})}s.keys=function(){return Object.keys(i)},s.id="kLfG",e.exports=s},kiQV:function(e){e.exports=JSON.parse('{"name":"parapheur","version":"21.03.12","description":"Annoter ou Signer vos documents sur votre tablette","homepage":"https://labs.maarch.org/maarch/MaarchParapheur","engines":{"npm":"6.14.5","node":"14.4.0"},"scripts":{"dep-list":"npm list --depth=0","check-update":"ncu","upgrade":"ncu -u","lint":"eslint -c .eslintrc.js --ext .ts src/frontend","lint-fix":"eslint -c .eslintrc.js --ext .ts src/frontend/ --fix","reload-packages":"rm -Rf node_modules && rm package-lock.json && npm cache clean --force && npm i","reload-packages-prod":"rm -Rf node_modules && rm package-lock.json && npm cache clean --force && npm i --production","build":"ng build","build-watch":"ng build --watch","build-prod":"ng build --prod","build-release":"npm run build-prod && npm run reload-packages-prod"},"private":true,"keywords":[],"author":"Maarch","license":"GPL-3.0","dependencies":{"core-js":"3.6.4","tslib":"2.1.0","zone.js":"0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"0.1100.7","@angular-eslint/eslint-plugin":"2.0.2","@angular/animations":"11.2.6","@angular/cdk":"11.2.5","@angular/cli":"11.2.5","@angular/common":"11.2.6","@angular/compiler":"11.2.6","@angular/compiler-cli":"11.2.6","@angular/core":"11.2.6","@angular/forms":"11.2.6","@angular/language-service":"11.2.6","@angular/material":"11.2.5","@angular/platform-browser":"11.2.6","@angular/platform-browser-dynamic":"11.2.6","@angular/router":"11.2.6","@biesbjerg/ngx-translate-extract":"6.0.3","@fortawesome/fontawesome-free":"5.15.3","@ionic/angular":"5.6.3","@ngrx/store":"9.2.1","@ngrx/store-devtools":"9.2.1","@ngx-translate/core":"12.1.2","@ngx-translate/http-loader":"4.0.0","@peculiar/fortify-webcomponents":"0.17.3","@types/hammerjs":"2.0.39","@types/jasmine":"3.6.7","@types/jasminewd2":"2.0.8","@types/jquery":"3.5.5","@types/node":"13.13.47","@typescript-eslint/eslint-plugin":"4.19.0","@typescript-eslint/eslint-plugin-tslint":"4.19.0","@typescript-eslint/parser":"4.19.0","angular2-draggable":"2.3.2","angular2-signaturepad":"3.0.4","codelyzer":"5.1.2","eslint":"7.22.0","eslint-config-prettier":"8.1.0","eslint-plugin-import":"2.22.1","exif-js":"2.3.0","hammerjs":"2.0.8","jquery":"3.6.0","ngx-cookie-service":"3.0.3","ngx-drag-scroll":"9.0.0-beta.4","ngx-extended-pdf-viewer":"5.0.1","ngx-pipes":"2.7.3","npm-check-updates":"4.1.0","prettier":"2.2.1","rxjs":"6.6.6","stylus":"0.54.7","stylus-loader":"3.0.2","tslint":"6.1.0","typescript":"4.0.5","typescript-tools":"0.3.1"},"repository":{}}')},lTIg:function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",function(){return u}),n.d(t,"shadow",function(){return r});var i=n("meiF"),s=n("k4ps");n("1vRN"),n("wEJo");const o=e=>document.querySelector(e+".ion-cloned-element"),r=e=>e.shadowRoot||e,a=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(n):null}return e.querySelector(n)},l=(e,t)=>{const n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let i=[];if(null!=n){const e=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(i=e.querySelectorAll("ion-buttons"))}else i=e.querySelectorAll("ion-buttons");for(const s of i){const e=s.closest("ion-header"),n=e&&!e.classList.contains("header-collapse-condense-inactive"),i=s.querySelector("ion-back-button"),o=s.classList.contains("buttons-collapse"),r="start"===s.slot||""===s.slot;if(null!==i&&r&&(o&&n&&t||!o))return i}return null},c=(e,t,n,s,a,l)=>{const c=t?`calc(100% - ${l.right+4}px)`:l.left-4+"px",d=t?"7px":"-7px",u=t?"-4px":"4px",h=t?"-4px":"4px",p=t?"right":"left",g=t?"left":"right",f=n?[{offset:0,opacity:1,transform:`translate3d(${u}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${u}, ${l.top-46}px, 0) scale(1)`}],m=n?[{offset:0,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`}],b=Object(i.a)(),v=Object(i.a)(),y=o("ion-back-button"),w=r(y).querySelector(".button-text"),_=r(y).querySelector("ion-icon");y.text=s.text,y.mode=s.mode,y.icon=s.icon,y.color=s.color,y.disabled=s.disabled,y.style.setProperty("display","block"),y.style.setProperty("position","fixed"),v.addElement(_),b.addElement(w),b.beforeStyles({"transform-origin":p+" center"}).beforeAddWrite(()=>{s.style.setProperty("display","none"),y.style.setProperty(p,c)}).afterAddWrite(()=>{s.style.setProperty("display",""),y.style.setProperty("display","none"),y.style.removeProperty(p)}).keyframes(f),v.beforeStyles({"transform-origin":g+" center"}).keyframes(m),e.addAnimation([b,v])},d=(e,t,n,s,r,a)=>{const l=t?`calc(100% - ${r.right}px)`:r.left+"px",c=t?"-18px":"18px",d=t?"right":"left",u=n?[{offset:0,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.5)`}],h=o("ion-title"),p=Object(i.a)();h.innerText=s.innerText,h.size=s.size,h.color=s.color,p.addElement(h),p.beforeStyles({"transform-origin":d+" center",height:"46px",display:"",position:"relative",[d]:l}).beforeAddWrite(()=>{s.style.setProperty("display","none")}).afterAddWrite(()=>{s.style.setProperty("display",""),h.style.setProperty("display","none")}).keyframes(u),e.addAnimation(p)},u=(e,t)=>{try{const n="cubic-bezier(0.32,0.72,0,1)",o="opacity",u="transform",h="0%",p=.8,g="rtl"===e.ownerDocument.dir,f=g?"-99.5%":"99.5%",m=g?"33%":"-33%",b=t.enteringEl,v=t.leavingEl,y="back"===t.direction,w=b.querySelector(":scope > ion-content"),_=b.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),x=b.querySelectorAll(":scope > ion-header > ion-toolbar"),C=Object(i.a)(),A=Object(i.a)();if(C.addElement(b).duration(t.duration||540).easing(t.easing||n).fill("both").beforeRemoveClass("ion-page-invisible"),v&&e){const t=Object(i.a)();t.addElement(e),C.addAnimation(t)}if(w||0!==x.length||0!==_.length?(A.addElement(w),A.addElement(_)):A.addElement(b.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(A),y?A.beforeClearStyles([o]).fromTo("transform",`translateX(${m})`,`translateX(${h})`).fromTo(o,p,1):A.beforeClearStyles([o]).fromTo("transform",`translateX(${f})`,`translateX(${h})`),w){const e=r(w).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),n=e.querySelector(".transition-shadow"),s=Object(i.a)(),r=Object(i.a)(),a=Object(i.a)();s.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(t).beforeClearStyles([o]).fromTo(o,0,.1),a.addElement(n).beforeClearStyles([o]).fromTo(o,.03,.7),s.addAnimation([r,a]),A.addAnimation([s])}}const S=b.querySelector("ion-header.header-collapse-condense"),{forward:k,backward:E}=((e,t,n,i,s)=>{const o=l(i,n),r=a(s),u=a(i),h=l(s,n),p=null!==o&&null!==r&&!n,g=null!==u&&null!==h&&n;if(p){const i=r.getBoundingClientRect(),s=o.getBoundingClientRect();d(e,t,n,r,i,s),c(e,t,n,o,i,s)}else if(g){const i=u.getBoundingClientRect(),s=h.getBoundingClientRect();d(e,t,n,u,i,s),c(e,t,n,h,i,s)}return{forward:p,backward:g}})(C,g,y,b,v);if(x.forEach(e=>{const t=Object(i.a)();t.addElement(e),C.addAnimation(t);const n=Object(i.a)();n.addElement(e.querySelector("ion-title"));const s=Object(i.a)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive");let d;d=a.filter(y?e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t}:e=>!e.classList.contains("buttons-collapse")),s.addElement(d);const u=Object(i.a)();u.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const p=Object(i.a)();p.addElement(r(e).querySelector(".toolbar-background"));const b=Object(i.a)(),v=e.querySelector("ion-back-button");if(v&&b.addElement(v),t.addAnimation([n,s,u,p,b]),s.fromTo(o,.01,1),u.fromTo(o,.01,1),y)c||n.fromTo("transform",`translateX(${m})`,`translateX(${h})`).fromTo(o,.01,1),u.fromTo("transform",`translateX(${m})`,`translateX(${h})`),b.fromTo(o,.01,1);else if(S||n.fromTo("transform",`translateX(${f})`,`translateX(${h})`).fromTo(o,.01,1),u.fromTo("transform",`translateX(${f})`,`translateX(${h})`),p.beforeClearStyles([o,"transform"]),(null==l?void 0:l.translucent)?p.fromTo("transform",g?"translateX(-100%)":"translateX(100%)","translateX(0px)"):p.fromTo(o,.01,"var(--opacity)"),k||b.fromTo(o,.01,1),v&&!k){const e=Object(i.a)();e.addElement(r(v).querySelector(".button-text")).fromTo("transform",g?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}),v){const e=Object(i.a)(),t=v.querySelector(":scope > ion-content"),n=v.querySelectorAll(":scope > ion-header > ion-toolbar"),a=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==n.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(e),y){e.beforeClearStyles([o]).fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)");const t=Object(s.g)(v);C.afterAddWrite(()=>{"normal"===C.getDirection()&&t.style.setProperty("display","none")})}else e.fromTo("transform",`translateX(${h})`,`translateX(${m})`).fromTo(o,1,p);if(t){const n=r(t).querySelector(".transition-effect");if(n){const t=n.querySelector(".transition-cover"),s=n.querySelector(".transition-shadow"),r=Object(i.a)(),a=Object(i.a)(),l=Object(i.a)();r.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([o]).fromTo(o,.1,0),l.addElement(s).beforeClearStyles([o]).fromTo(o,.7,.03),r.addAnimation([a,l]),e.addAnimation([r])}}n.forEach(e=>{const t=Object(i.a)();t.addElement(e);const n=Object(i.a)();n.addElement(e.querySelector("ion-title"));const s=Object(i.a)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive"),d=Array.from(a).filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t});s.addElement(d);const p=Object(i.a)(),f=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");f.length>0&&p.addElement(f);const b=Object(i.a)();b.addElement(r(e).querySelector(".toolbar-background"));const v=Object(i.a)(),w=e.querySelector("ion-back-button");if(w&&v.addElement(w),t.addAnimation([n,s,p,v,b]),C.addAnimation(t),v.fromTo(o,.99,0),s.fromTo(o,.99,0),p.fromTo(o,.99,0),y){if(c||n.fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)").fromTo(o,.99,0),p.fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([o,"transform"]),(null==l?void 0:l.translucent)?b.fromTo("transform","translateX(0px)",g?"translateX(-100%)":"translateX(100%)"):b.fromTo(o,"var(--opacity)",0),w&&!E){const e=Object(i.a)();e.addElement(r(w).querySelector(".button-text")).fromTo("transform",`translateX(${h})`,`translateX(${(g?-124:124)+"px"})`),t.addAnimation(e)}}else c||n.fromTo("transform",`translateX(${h})`,`translateX(${m})`).fromTo(o,.99,0).afterClearStyles([u,o]),p.fromTo("transform",`translateX(${h})`,`translateX(${m})`).afterClearStyles([u,o]),v.afterClearStyles([o]),n.afterClearStyles([o]),s.afterClearStyles([o])})}return C}catch(n){throw n}}},"m9/o":function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function r(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;r(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const d=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let u=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(i(o)){s&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){t=a instanceof d?h(a.errors):[a]}}if(l(r)){let e=-1,n=r.length;for(;++e<n;){const n=r[e];if(c(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof d?t=t.concat(h(a.errors)):t.push(a)}}}if(t)throw new d(t)}add(t){let 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)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=n;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)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class g extends u{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,e,t,n)}}[p](){return this}static create(e,t,n){const i=new g(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class f extends g{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let r=this;i(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==a&&(r=Object.create(t),i(r.unsubscribe)&&this.add(r.unsubscribe.bind(r)),r.unsubscribe=this.unsubscribe.bind(this))),this._context=r,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;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):r(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;r(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;r(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(r(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function b(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:i}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(a)}(e,t,n);if(s.add(i?i.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=y(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(s){n(s),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?b:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=y(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function y(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class _ extends u{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends g{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new A(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let s=0;s<n;s++)i[s].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,i=t.slice();for(let s=0;s<n;s++)i[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let i=0;i<t;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),u.EMPTY):this.isStopped?(e.complete(),u.EMPTY):(this.observers.push(e),new _(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new A(e,t),e})();class A extends C{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):u.EMPTY}}function S(e){return e&&"function"==typeof e.schedule}function k(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 E(e,t))}}class E{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new P(e,this.project,this.thisArg))}}class P extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const D=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const M=O(),T=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function I(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[m])return i=e,e=>{const t=i[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(T(e))return D(e);if(I(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r),e);if(e&&"function"==typeof e[M])return t=e,e=>{const n=t[M]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,i};function L(e,t){return new v(n=>{const i=new u;let s=0;return i.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function F(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new v(n=>{const i=new u;return i.add(t.schedule(()=>{const s=e[m]();i.add(s.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(I(e))return function(e,t){return new v(n=>{const i=new u;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(T(e))return L(e,t);if(function(e){return e&&"function"==typeof e[M]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const i=new u;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(t.schedule(()=>{s=e[M](),i.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(i){return void n.error(i)}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 v?e:new v(R(e))}class B extends g{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class z extends g{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function V(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):R(e)(t)}function N(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(N((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new H(e,n)))}class H{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new j(e,this.project,this.concurrent))}}class j extends z{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}_innerSub(e){const t=new B(this),n=this.destination;n.add(t);const i=V(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e=Number.POSITIVE_INFINITY){return N(b,e)}function W(e,t){return t?L(e,t):new v(D(e))}function G(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return S(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:U(t)(W(e,n))}function q(){return function(e){return e.lift(new Y(e))}}class Y{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new Z(e,n),s=t.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class Z extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class Q extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new u,e.add(this.source.subscribe(new K(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e}refCount(){return q()(this)}}const X=(()=>{const e=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class K extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function J(){return new C}function ee(){return e=>{return q()((t=J,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,X);return i.source=e,i.subjectFactory=n,i})(e));var t}}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ne(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const oe=te({__forward_ref__:te});function re(e){return e.__forward_ref__=re,e.toString=function(){return ie(this())},e}function ae(e){return le(e)?e():e}function le(e){return"function"==typeof e&&e.hasOwnProperty(oe)&&e.__forward_ref__===re}class ce extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function de(e){return"string"==typeof e?e:null==e?"":String(e)}function ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():de(e)}function he(e,t){const n=t?" in "+t:"";throw new ce("201",`No provider for ${ue(e)} found${n}`)}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ge=pe;function fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function me(e){return be(e,ye)||be(e,_e)}function be(e,t){return e.hasOwnProperty(t)?e[t]:null}function ve(e){return e&&(e.hasOwnProperty(we)||e.hasOwnProperty(xe))?e[we]:null}const ye=te({\u0275prov:te}),we=te({\u0275inj:te}),_e=te({ngInjectableDef:te}),xe=te({ngInjectorDef:te});var Ce=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}({});let Ae;function Se(e){const t=Ae;return Ae=e,t}function ke(e,t,n){const i=me(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ce.Optional?null:void 0!==t?t:void he(ie(e),"Injector")}function Ee(e){return{toString:e}.toString()}var Pe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),De=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Oe="undefined"!=typeof globalThis&&globalThis,Me="undefined"!=typeof window&&window,Te="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ie="undefined"!=typeof global&&global,Re=Oe||Ie||Me||Te,Le={},Fe=[],Be=[],ze=te({\u0275cmp:te}),Ve=te({\u0275dir:te}),Ne=te({\u0275pipe:te}),He=te({\u0275mod:te}),je=te({\u0275loc:te}),Ue=te({\u0275fac:te}),We=te({__NG_ELEMENT_ID__:te});let Ge=0;function $e(e){return Ee(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||De.Emulated,id:"c",styles:e.styles||Be,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return n.id+=Ge++,n.inputs=Xe(e.inputs,t),n.outputs=Xe(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(qe):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ye):null,n})}function qe(e){return et(e)||function(e){return e[Ve]||null}(e)}function Ye(e){return function(e){return e[Ne]||null}(e)}const Ze={};function Qe(e){const t={type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Ee(()=>{Ze[e.id]=e.type}),t}function Xe(e,t){if(null==e)return Le;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=i,t&&(t[s]=o)}return n}const Ke=$e;function Je(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function et(e){return e[ze]||null}function tt(e,t){const n=e[He]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function it(e){return Array.isArray(e)&&!0===e[1]}function st(e){return 0!=(8&e.flags)}function ot(e){return 2==(2&e.flags)}function rt(e){return 1==(1&e.flags)}function at(e){return null!==e.template}function lt(e,t){return e.hasOwnProperty(Ue)?e[Ue]:null}class ct{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function dt(){return ut}function ut(e){return e.type.prototype.ngOnChanges&&(e.setInput=pt),ht}function ht(){const e=gt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Le)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function pt(e,t,n,i){const s=gt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Le,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[n],l=r[a];o[a]=new ct(l&&l.currentValue,t,r===Le),e[i]=t}function gt(e){return e.__ngSimpleChanges__||null}dt.ngInherit=!0;let ft=void 0;function mt(){return void 0!==ft?ft:"undefined"!=typeof document?document:void 0}function bt(e){return!!e.listen}const vt={createRenderer:(e,t)=>mt()};function yt(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return yt(t[e])}function _t(e,t){return yt(t[e.index])}function xt(e,t){return e.data[t]}function Ct(e,t){return e[t]}function At(e,t){const n=t[e];return nt(n)?n:n[0]}function St(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function kt(e){return 4==(4&e[2])}function Et(e){return 128==(128&e[2])}function Pt(e,t){return null==t?null:e[t]}function Dt(e){e[18]=0}function Ot(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Mt={lFrame:nn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Tt(){return Mt.bindingsEnabled}function It(){return Mt.lFrame.lView}function Rt(){return Mt.lFrame.tView}function Lt(e){Mt.lFrame.contextLView=e}function Ft(){let e=Bt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Bt(){return Mt.lFrame.currentTNode}function zt(e,t){const n=Mt.lFrame;n.currentTNode=e,n.isParent=t}function Vt(){return Mt.lFrame.isParent}function Nt(){Mt.lFrame.isParent=!1}function Ht(){return Mt.isInCheckNoChangesMode}function jt(e){Mt.isInCheckNoChangesMode=e}function Ut(){const e=Mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wt(){return Mt.lFrame.bindingIndex}function Gt(){return Mt.lFrame.bindingIndex++}function $t(e){const t=Mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qt(e,t){const n=Mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yt(t)}function Yt(e){Mt.lFrame.currentDirectiveIndex=e}function Zt(e){const t=Mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Qt(){return Mt.lFrame.currentQueryIndex}function Xt(e){Mt.lFrame.currentQueryIndex=e}function Kt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Jt(e,t,n){if(n&Ce.SkipSelf){let i=t,s=e;for(;i=i.parent,!(null!==i||n&Ce.Host||(i=Kt(s),null===i)||(s=s[15],10&i.type)););if(null===i)return!1;t=i,e=s}const i=Mt.lFrame=tn();return i.currentTNode=t,i.lView=e,!0}function en(e){const t=tn(),n=e[1];Mt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tn(){const e=Mt.lFrame,t=null===e?null:e.child;return null===t?nn(e):t}function nn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function sn(){const e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const on=sn;function rn(){const e=sn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function an(){return Mt.lFrame.selectedIndex}function ln(e){Mt.lFrame.selectedIndex=e}function cn(){const e=Mt.lFrame;return xt(e.tView,e.selectedIndex)}function dn(){Mt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function un(){Mt.lFrame.currentNamespace=null}function hn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:r,ngOnDestroy:a}=t;i&&(e.contentHooks||(e.contentHooks=[])).push(-n,i),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),r&&((e.viewHooks||(e.viewHooks=[])).push(n,r),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,r)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function pn(e,t,n){mn(e,t,3,n)}function gn(e,t,n,i){(3&e[2])===n&&mn(e,t,n,i)}function fn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function mn(e,t,n,i){const s=null!=i?i:-1,o=t.length-1;let r=0;for(let a=void 0!==i?65535&e[18]:0;a<o;a++)if("number"==typeof t[a+1]){if(r=t[a],null!=i&&r>=i)break}else t[a]<0&&(e[18]+=65536),(r<s||-1==s)&&(bn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function bn(e,t,n,i){const s=n[i]<0,o=n[i+1],r=e[s?-n[i]:n[i]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(r)):o.call(r)}class vn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const i=bt(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const r=n[s++],a=n[s++],l=n[s++];i?e.setAttribute(t,a,l,r):t.setAttributeNS(r,a,l)}else{const r=o,a=n[++s];_n(r)?i&&e.setProperty(t,r,a):i?e.setAttribute(t,r,a):t.setAttribute(r,a),s++}}return s}function wn(e){return 3===e||4===e||6===e}function _n(e){return 64===e.charCodeAt(0)}function xn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?n=s:0===n||Cn(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function Cn(e,t,n,i,s){let o=0,r=e.length;if(-1===t)r=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){r=-1;break}if(n>t){r=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==s&&(e[o+1]=s));if(i===e[o+1])return void(e[o+2]=s)}o++,null!==i&&o++,null!==s&&o++}-1!==r&&(e.splice(r,0,t),o=r+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==s&&e.splice(o++,0,s)}function An(e){return-1!==e}function Sn(e){return 32767&e}function kn(e,t){let n=e>>16,i=t;for(;n>0;)i=i[15],n--;return i}let En=!0;function Pn(e){const t=En;return En=e,t}let Dn=0;function On(e,t){const n=Tn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Mn(i.data,e),Mn(t,null),Mn(i.blueprint,null));const s=In(e,t),o=e.injectorIndex;if(An(s)){const e=Sn(s),n=kn(s,t),i=n[1].data;for(let s=0;s<8;s++)t[o+s]=n[e+s]|i[e+s]}return t[o+8]=s,o}function Mn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(i=2===t?e.declTNode:1===t?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Rn(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(We)&&(i=n[We]),null==i&&(i=n[We]=Dn++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Ln(e,t,n){if(n&Ce.Optional)return e;he(t,"NodeInjector")}function Fn(e,t,n,i){if(n&Ce.Optional&&void 0===i&&(i=null),0==(n&(Ce.Self|Ce.Host))){const s=e[9],o=Se(void 0);try{return s?s.get(t,i,n&Ce.Optional):ke(t,i,n&Ce.Optional)}finally{Se(o)}}return Ln(i,t,n)}function Bn(e,t,n,i=Ce.Default,s){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(We)?e[We]:void 0;return"number"==typeof t?t>=0?255&t:Vn:t}(n);if("function"==typeof o){if(!Jt(t,e,i))return i&Ce.Host?Ln(s,n,i):Fn(t,n,i,s);try{const e=o();if(null!=e||i&Ce.Optional)return e;he(n)}finally{on()}}else if("number"==typeof o){let s=null,r=Tn(e,t),a=-1,l=i&Ce.Host?t[16][6]:null;for((-1===r||i&Ce.SkipSelf)&&(a=-1===r?In(e,t):t[r+8],-1!==a&&Wn(i,!1)?(s=t[1],r=Sn(a),t=kn(a,t)):r=-1);-1!==r;){const e=t[1];if(Un(o,r,e.data)){const e=Nn(r,t,n,s,i,l);if(e!==zn)return e}a=t[r+8],-1!==a&&Wn(i,t[1].data[r+8]===l)&&Un(o,r,t)?(s=e,r=Sn(a),t=kn(a,t)):r=-1}}}return Fn(t,n,i,s)}const zn={};function Vn(){return new Gn(Ft(),It())}function Nn(e,t,n,i,s,o){const r=t[1],a=r.data[e+8],l=Hn(a,r,n,null==i?ot(a)&&En:i!=r&&0!=(3&a.type),s&Ce.Host&&o===a);return null!==l?jn(t,r,l,a):zn}function Hn(e,t,n,i,s){const o=e.providerIndexes,r=t.data,a=1048575&o,l=e.directiveStart,c=o>>20,d=s?a+c:e.directiveEnd;for(let u=i?a:a+c;u<d;u++){const e=r[u];if(u<l&&n===e||u>=l&&e.type===n)return u}if(s){const e=r[l];if(e&&at(e)&&e.type===n)return l}return null}function jn(e,t,n,i){let s=e[n];const o=t.data;if(s instanceof vn){const r=s;r.resolving&&function(e,t){throw new ce("200","Circular dependency in DI detected for "+e)}(ue(o[n]));const a=Pn(r.canSeeViewProviders);r.resolving=!0;const l=r.injectImpl?Se(r.injectImpl):null;Jt(e,i,Ce.Default);try{s=e[n]=r.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(i){const i=ut(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&Se(l),Pn(a),r.resolving=!1,on()}}return s}function Un(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wn(e,t){return!(e&Ce.Self||e&Ce.Host&&t)}class Gn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Bn(this._tNode,this._lView,e,void 0,t)}}function $n(e){return Ee(()=>{const t=e.prototype.constructor,n=t[Ue]||qn(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const e=s[Ue]||qn(s);if(e&&e!==n)return e;s=Object.getPrototypeOf(s)}return e=>new e})}function qn(e){return le(e)?()=>{const t=qn(ae(e));return t&&t()}:lt(e)}function Yn(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const s=n[i];if(wn(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Ft(),e)}function Zn(e,t,n){return Ee(()=>{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return i.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,i){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Qn=function(){return Zn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Yn(e)}))}();class Xn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=pe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Kn=new Xn("AnalyzeForEntryComponents"),Jn=Function;function ei(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ei(i,t)):t!==e&&t.push(i)}return t}function ti(e,t){e.forEach(e=>Array.isArray(e)?ti(e,t):t(e))}function ni(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ii(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function si(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function oi(e,t,n){let i=ai(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function ri(e,t){const n=ai(e,t);if(n>=0)return e[1|n]}function ai(e,t){return function(e,t,n){let i=0,s=e.length>>1;for(;s!==i;){const n=i+(s-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?s=n:i=n+1}return~(s<<1)}(e,t)}const li={},ci=/\n/gm,di=te({provide:String,useValue:te});let ui=void 0;function hi(e){const t=ui;return ui=e,t}function pi(e,t=Ce.Default){if(void 0===ui)throw new Error("inject() must be called from an injection context");return null===ui?ke(e,void 0,t):ui.get(e,t&Ce.Optional?null:void 0,t)}function gi(e,t=Ce.Default){return(Ae||pi)(ae(e),t)}const fi=gi;function mi(e){const t=[];for(let n=0;n<e.length;n++){const i=ae(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=Ce.Default;for(let t=0;t<i.length;t++){const s=i[t],o=s.__NG_DI_FLAG__;"number"==typeof o?-1===o?e=s.token:n|=o:e=s}t.push(gi(e,n))}else t.push(gi(i))}return t}function bi(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}const vi=bi(Zn("Inject",e=>({token:e})),-1),yi=bi(Zn("Optional"),8),wi=bi(Zn("SkipSelf"),4);let _i,xi;function Ci(e){var t;return(null===(t=function(){if(void 0===_i&&(_i=null,Re.trustedTypes))try{_i=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return _i}())||void 0===t?void 0:t.createHTML(e))||e}function Ai(e){var t;return(null===(t=function(){if(void 0===xi&&(xi=null,Re.trustedTypes))try{xi=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return xi}())||void 0===t?void 0:t.createHTML(e))||e}class Si{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class ki extends Si{getTypeName(){return"HTML"}}class Ei extends Si{getTypeName(){return"Style"}}class Pi extends Si{getTypeName(){return"Script"}}class Di extends Si{getTypeName(){return"URL"}}class Oi extends Si{getTypeName(){return"ResourceURL"}}function Mi(e){return e instanceof Si?e.changingThisBreaksApplicationSecurity:e}function Ti(e,t){const n=Ii(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Ii(e){return e instanceof Si&&e.getTypeName()||null}class Ri{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Ci(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Li{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Ci(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Ci(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const n=t.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Fi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Bi=/^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 zi(e){return(e=String(e)).match(Fi)||e.match(Bi)?e:"unsafe:"+e}function Vi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ni(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Hi=Vi("area,br,col,hr,img,wbr"),ji=Vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ui=Vi("rp,rt"),Wi=Ni(Ui,ji),Gi=Ni(Hi,Ni(ji,Vi("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")),Ni(Ui,Vi("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")),Wi),$i=Vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qi=Vi("srcset"),Yi=Ni($i,qi,Vi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Vi("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")),Zi=Vi("script,style,template");class Qi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Gi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Zi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!Yi.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let r=e.value;$i[o]&&(r=zi(r)),qi[o]&&(i=r,r=(i=String(i)).split(",").map(e=>zi(e.trim())).join(", ")),this.buf.push(" ",t,'="',Ji(r),'"')}var i;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Gi.hasOwnProperty(t)&&!Hi.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ji(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const Xi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ki=/([^\#-~ |!])/g;function Ji(e){return e.replace(/&/g,"&").replace(Xi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Ki,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let es;function ts(e,t){let n=null;try{es=es||function(e){const t=new Li(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ci(""),"text/html")}catch(e){return!1}}()?new Ri(t):t}(e);let i=t?String(t):"";n=es.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=n.innerHTML,n=es.getInertBodyElement(i)}while(i!==o);return Ci((new Qi).sanitizeChildren(ns(n)||n))}finally{if(n){const e=ns(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ns(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var is=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function ss(e){const t=rs();return t?Ai(t.sanitize(is.HTML,e)||""):Ti(e,"HTML")?Ai(Mi(e)):ts(mt(),de(e))}function os(e){const t=rs();return t?t.sanitize(is.URL,e)||"":Ti(e,"URL")?Mi(e):zi(de(e))}function rs(){const e=It();return e&&e[12]}function as(e){return e.ngDebugContext}function ls(e){return e.ngOriginalError}function cs(e,...t){e.error(...t)}class ds{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||cs}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?as(e)?as(e):this._findContext(ls(e)):null}_findOriginalError(e){let t=ls(e);for(;t&&ls(t);)t=ls(t);return t}}function us(e,t){e.__ngContext__=t}const hs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re))();function ps(e){return{name:"window",target:e.ownerDocument.defaultView}}function gs(e){return{name:"body",target:e.ownerDocument.body}}function fs(e){return e instanceof Function?e():e}var ms=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function bs(e,t){return(void 0)(e,t)}function vs(e){const t=e[3];return it(t)?t[3]:t}function ys(e){return _s(e[13])}function ws(e){return _s(e[4])}function _s(e){for(;null!==e&&!it(e);)e=e[4];return e}function xs(e,t,n,i,s){if(null!=i){let o,r=!1;it(i)?o=i:nt(i)&&(r=!0,i=i[0]);const a=yt(i);0===e&&null!==n?null==s?Os(t,n,a):Ds(t,n,a,s||null,!0):1===e&&null!==n?Ds(t,n,a,s||null,!0):2===e?function(e,t,n){const i=Ts(e,t);i&&function(e,t,n,i){bt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,a,r):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,s){const o=n[7];o!==yt(n)&&xs(t,e,i,o,s);for(let r=10;r<n.length;r++){const s=n[r];Ns(s[1],s,e,t,i,o)}}(t,e,o,n,s)}}function Cs(e,t,n){return bt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function As(e,t){const n=e[9],i=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Ot(s,-1)),n.splice(i,1)}function Ss(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&As(o,i),t>0&&(e[n-1][4]=i[4]);const r=ii(e,10+t);Ns(i[1],s=i,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}var s;return i}function ks(e,t){if(!(256&t[2])){const n=t[11];bt(n)&&n.destroyNode&&Ns(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Es(e[1],e);for(;t;){let n=null;if(nt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)nt(t)&&Es(t[1],t),t=t[3];null===t&&(t=e),nt(t)&&Es(t[1],t),n=t&&t[4]}t=n}}(t)}}function Es(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const e=t[n[i]];if(!(e instanceof vn)){const t=n[i+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const e=n[o+1],r="function"==typeof e?e(t):yt(t[e]),a=i[s=n[o+2]],l=n[o+3];"boolean"==typeof l?r.removeEventListener(n[o],a,l):l>=0?i[s=l]():i[s=-l].unsubscribe(),o+=2}else{const e=i[s=n[o+1]];n[o].call(e)}if(null!==i){for(let e=s+1;e<i.length;e++)(0,i[e])();t[7]=null}}(e,t),1===t[1].type&&bt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&it(t[3])){n!==t[3]&&As(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Ps(e,t,n){return function(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const t=e.data[i.directiveStart].encapsulation;if(t===De.None||t===De.Emulated)return null}return _t(i,n)}(e,t.parent,n)}function Ds(e,t,n,i,s){bt(e)?e.insertBefore(t,n,i,s):t.insertBefore(n,i,s)}function Os(e,t,n){bt(e)?e.appendChild(t,n):t.appendChild(n)}function Ms(e,t,n,i,s){null!==i?Ds(e,t,n,i,s):Os(e,t,n)}function Ts(e,t){return bt(e)?e.parentNode(t):t.parentNode}function Is(e,t,n){return Rs(e,t,n)}let Rs=function(e,t,n){return 40&e.type?_t(e,n):null};function Ls(e,t,n,i){const s=Ps(e,i,t),o=t[11],r=Is(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)Ms(o,s,n[a],r,!1);else Ms(o,s,n,r,!1)}function Fs(e,t){if(null!==t){const n=t.type;if(3&n)return _t(t,e);if(4&n)return zs(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Fs(e,n);{const n=e[t.index];return it(n)?zs(-1,n):yt(n)}}if(32&n)return bs(t,e)()||yt(e[t.index]);{const n=Bs(e,t);return null!==n?Array.isArray(n)?n[0]:Fs(vs(e[16]),n):Fs(e,t.next)}}return null}function Bs(e,t){return null!==t?e[16][6].projection[t.projection]:null}function zs(e,t){const n=10+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return Fs(e,i)}return t[7]}function Vs(e,t,n,i,s,o,r){for(;null!=n;){const a=i[n.index],l=n.type;if(r&&0===t&&(a&&us(yt(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Vs(e,t,n.child,i,s,o,!1),xs(t,e,s,a,o);else if(32&l){const r=bs(n,i);let l;for(;l=r();)xs(t,e,s,l,o);xs(t,e,s,a,o)}else 16&l?Hs(e,t,i,n,s,o):xs(t,e,s,a,o);n=r?n.projectionNext:n.next}}function Ns(e,t,n,i,s,o){Vs(n,i,e.firstChild,t,s,o,!1)}function Hs(e,t,n,i,s,o){const r=n[16],a=r[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)xs(t,e,s,a[l],o);else Vs(e,t,a,r[3],s,o,!0)}function js(e,t,n){bt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Us(e,t,n){bt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Ws(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===i||e.charCodeAt(s+n)<=32)return s}n=s+1}}function Gs(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==Ws(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function $s(e){return 4===e.type&&"ng-template"!==e.value}function qs(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function Ys(e,t,n){let i=4;const s=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(wn(e[t]))return t;return e.length}(s);let r=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!r)if(4&i){if(i=2|1&i,""!==l&&!qs(e,l,n)||""===l&&1===t.length){if(Zs(i))return!1;r=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!Gs(e.attrs,c,n)){if(Zs(i))return!1;r=!0}continue}const d=Qs(8&i?"class":l,s,$s(e),n);if(-1===d){if(Zs(i))return!1;r=!0;continue}if(""!==c){let e;e=d>o?"":s[d+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==Ws(t,c,0)||2&i&&c!==e){if(Zs(i))return!1;r=!0}}}}else{if(!r&&!Zs(i)&&!Zs(l))return!1;if(r&&Zs(l))continue;r=!1,i=l|1&i}}return Zs(i)||r}function Zs(e){return 0==(1&e)}function Qs(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let n=!1;for(;s<t.length;){const i=t[s];if(i===e)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Xs(e,t,n=!1){for(let i=0;i<t.length;i++)if(Ys(e,t[i],n))return!0;return!1}function Ks(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Js(e,t){return e?":not("+t.trim()+")":t}function eo(e){let t=e[0],n=1,i=2,s="",o=!1;for(;n<e.length;){let r=e[n];if("string"==typeof r)if(2&i){const t=e[++n];s+="["+r+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?s+="."+r:4&i&&(s+=" "+r);else""===s||Zs(r)||(t+=Js(o,s),s=""),i=r,o=o||!Zs(i);n++}return""!==s&&(t+=Js(o,s)),t}const to={};function no(e){io(Rt(),It(),an()+e,Ht())}function io(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&pn(t,i,n)}else{const i=e.preOrderHooks;null!==i&&gn(t,i,0,n)}ln(n)}function so(e,t){return e<<17|t<<2}function oo(e){return e>>17&32767}function ro(e){return 2|e}function ao(e){return(131068&e)>>2}function lo(e,t){return-131069&e|t<<2}function co(e){return 1|e}function uo(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],o=n[i+1];if(-1!==o){const n=e.data[o];Xt(s),n.contentQueries(2,t[o],o)}}}function ho(e,t,n,i,s,o,r,a,l,c){const d=t.blueprint.slice();return d[0]=s,d[2]=140|i,Dt(d),d[3]=d[15]=e,d[8]=n,d[10]=r||e&&e[10],d[11]=a||e&&e[11],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=o,d[16]=2==t.type?e[16]:d,d}function po(e,t,n,i,s){let o=e.data[t];if(null===o)o=function(e,t,n,i,s){const o=Bt(),r=Vt(),a=e.data[t]=function(e,t,n,i,s,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,r?o:o&&o.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=a),null!==o&&(r?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}(e,t,n,i,s),Mt.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=s;const e=function(){const e=Mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===e?-1:e.injectorIndex}return zt(o,!0),o}function go(e,t,n,i){if(0===n)return-1;const s=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function fo(e,t,n){en(t);try{const i=e.viewQuery;null!==i&&Go(1,i,n);const s=e.template;null!==s&&vo(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&uo(e,t),e.staticViewQueries&&Go(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)No(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),i}finally{t[2]&=-5,rn()}}function mo(e,t,n,i){const s=t[2];if(256==(256&s))return;en(t);const o=Ht();try{Dt(t),Mt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&vo(e,t,n,2,i);const r=3==(3&s);if(!o)if(r){const n=e.preOrderCheckHooks;null!==n&&pn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&gn(t,n,0,null),fn(t,0)}if(function(e){for(let t=ys(e);null!==t;t=ws(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],i=n[3];0==(1024&n[2])&&Ot(i,1),n[2]|=1024}}}(t),function(e){for(let t=ys(e);null!==t;t=ws(t))for(let e=10;e<t.length;e++){const n=t[e],i=n[1];Et(n)&&mo(i,n,i.template,n[8])}}(t),null!==e.contentQueries&&uo(e,t),!o)if(r){const n=e.contentCheckHooks;null!==n&&pn(t,n)}else{const n=e.contentHooks;null!==n&&gn(t,n,1),fn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const i=n[e];if(i<0)ln(~i);else{const s=i,o=n[++e],r=n[++e];qt(o,s),r(2,t[s])}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)zo(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Go(2,l,i),!o)if(r){const n=e.viewCheckHooks;null!==n&&pn(t,n)}else{const n=e.viewHooks;null!==n&&gn(t,n,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ot(t[3],-1))}finally{rn()}}function bo(e,t,n,i){const s=t[10],o=!Ht(),r=kt(t);try{o&&!r&&s.begin&&s.begin(),r&&fo(e,t,i),mo(e,t,n,i)}finally{o&&!r&&s.end&&s.end()}}function vo(e,t,n,i,s){const o=an();try{ln(-1),2&i&&t.length>20&&io(e,t,20,Ht()),n(i,s)}finally{ln(o)}}function yo(e,t,n){if(st(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}function wo(e,t,n){Tt()&&(function(e,t,n,i){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||On(n,t),us(i,t);const r=n.initialInputs;for(let a=s;a<o;a++){const i=e.data[a],o=at(i);o&&Ro(t,n,i);const l=jn(t,e,a,n);us(l,t),null!==r&&Lo(0,a-s,l,i,0,r),o&&(At(n.index,t)[8]=l)}}(e,t,n,_t(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,s=n.directiveEnd,o=n.index,r=Mt.lFrame.currentDirectiveIndex;try{ln(o);for(let n=i;n<s;n++){const i=e.data[n],s=t[n];Yt(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Do(i,s)}}finally{ln(-1),Yt(r)}}(e,t,n))}function _o(e,t,n=_t){const i=t.localNames;if(null!==i){let s=t.index+1;for(let o=0;o<i.length;o+=2){const r=i[o+1],a=-1===r?n(t,e):e[r];e[s++]=a}}}function xo(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Co(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Co(e,t,n,i,s,o,r,a,l,c){const d=20+i,u=d+s,h=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:to);return n}(d,u),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof r?r():r,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Ao(e,t,n,i){const s=qo(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Yo(e).push(i,s.length-1))}function So(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function ko(e,t,n,i,s,o,r,a){const l=_t(t,n);let c,d=t.inputs;var u;!a&&null!=d&&(c=d[i])?(Xo(e,n,c,i,s),ot(t)&&function(e,t){const n=At(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,s=null!=r?r(s,t.value||"",i):s,bt(o)?o.setProperty(l,i,s):_n(i)||(l.setProperty?l.setProperty(i,s):l[i]=s))}function Eo(e,t,n,i){let s=!1;if(Tt()){const o=function(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let o=0;o<i.length;o++){const r=i[o];Xs(n,r.selectors,!1)&&(s||(s=[]),Rn(On(n,t),e,r.type),at(r)?(Oo(e,n),s.unshift(r)):s.push(r))}return s}(e,t,n),r=null===i?null:{"":-1};if(null!==o){s=!0,To(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}let i=!1,a=!1,l=go(e,t,o.length,null);for(let s=0;s<o.length;s++){const c=o[s];n.mergedAttrs=xn(n.mergedAttrs,c.hostAttrs),Io(e,n,t,l,c),Mo(l,c,r),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),i=!0),a||!d.ngOnChanges&&!d.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveEnd,i=e.data,s=t.attrs,o=[];let r=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=i[l],n=e.inputs,c=null===s||$s(t)?null:Fo(n,s);o.push(c),r=So(n,l,r),a=So(e.outputs,l,a)}null!==r&&(r.hasOwnProperty("class")&&(t.flags|=16),r.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=r,t.outputs=a}(e,n)}r&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new ce("301",`Export of name '${t[e+1]}' not found!`);i.push(t[e],s)}}}(n,i,r)}return n.mergedAttrs=xn(n.mergedAttrs,n.attrs),s}function Po(e,t,n,i,s,o){const r=o.hostBindings;if(r){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,s,r)}}function Do(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Oo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Mo(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;at(t)&&(n[""]=e)}}function To(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Io(e,t,n,i,s){e.data[i]=s;const o=s.factory||(s.factory=lt(s.type)),r=new vn(o,at(s),null);e.blueprint[i]=r,n[i]=r,Po(e,t,0,i,go(e,n,s.hostVars,to),s)}function Ro(e,t,n){const i=_t(t,e),s=xo(n),o=e[10],r=Ho(e,ho(e,s,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=r}function Lo(e,t,n,i,s,o){const r=o[t];if(null!==r){const e=i.setInput;for(let t=0;t<r.length;){const s=r[t++],o=r[t++],a=r[t++];null!==e?i.setInput(n,a,s,o):n[o]=a}}}function Fo(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Bo(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function zo(e,t){const n=At(t,e);if(Et(n)){const e=n[1];80&n[2]?mo(e,n,e.template,n[8]):n[5]>0&&Vo(n)}}function Vo(e){for(let n=ys(e);null!==n;n=ws(n))for(let e=10;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];mo(e,t,e.template,t[8])}else t[5]>0&&Vo(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const i=At(t[n],e);Et(i)&&i[5]>0&&Vo(i)}}function No(e,t){const n=At(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),fo(i,n,n[8])}function Ho(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function jo(e){for(;e;){e[2]|=64;const t=vs(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Uo(e,t,n){const i=t[10];i.begin&&i.begin();try{mo(e,t,e.template,n)}catch(s){throw Qo(t,s),s}finally{i.end&&i.end()}}function Wo(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=St(n),s=i[1];bo(s,i,s.template,n)}}(e[8])}function Go(e,t,n){Xt(0),t(e,n)}const $o=(()=>Promise.resolve(null))();function qo(e){return e[7]||(e[7]=[])}function Yo(e){return e.cleanup||(e.cleanup=[])}function Zo(e,t,n){return(null===e||at(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Qo(e,t){const n=e[9],i=n?n.get(ds,null):null;i&&i.handleError(t)}function Xo(e,t,n,i,s){for(let o=0;o<n.length;){const r=n[o++],a=n[o++],l=t[r],c=e.data[r];null!==c.setInput?c.setInput(l,s,i,a):l[a]=s}}function Ko(e,t,n){const i=wt(t,e);!function(e,t,n){bt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function Jo(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let r=0;r<t.length;r++){const e=t[r];"number"==typeof e?o=e:1==o?s=se(s,e):2==o&&(i=se(i,e+": "+t[++r]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}const er=new Xn("INJECTOR",-1);class tr{get(e,t=li){if(t===li){const t=new Error(`NullInjectorError: No provider for ${ie(e)}!`);throw t.name="NullInjectorError",t}return t}}const nr=new Xn("Set Injector scope."),ir={},sr={},or=[];let rr=void 0;function ar(){return void 0===rr&&(rr=new tr),rr}function lr(e,t=null,n=null,i){return new cr(e,n,t||ar(),i)}class cr{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&ti(t,n=>this.processProvider(n,e,t)),ti([e],e=>this.processInjectorType(e,[],s)),this.records.set(er,hr(void 0,this));const o=this.records.get(nr);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:ie(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=li,n=Ce.Default){this.assertNotDestroyed();const i=hi(this);try{if(!(n&Ce.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Xn)&&me(e);t=n&&this.injectableDefInScope(n)?hr(dr(e),ir):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&Ce.Self?ar():this.parent).get(e,t=n&Ce.Optional&&t===li?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ie(e)),i)throw o;return function(e,t,n,i){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=ie(t);if(Array.isArray(t))s=t.map(ie).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):ie(i)))}s=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(ci,"\n ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{hi(i)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ie(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ae(e)))return!1;let i=ve(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,r=-1!==n.indexOf(o);if(void 0!==s&&(i=ve(s)),null==i)return!1;if(null!=i.imports&&!r){let e;n.push(o);try{ti(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:i}=e[t];ti(i,e=>this.processProvider(e,n,i||or))}}this.injectorDefTypes.add(o);const a=lt(o)||(()=>new o);this.records.set(o,hr(a,ir));const l=i.providers;if(null!=l&&!r){const t=e;ti(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let i=gr(e=ae(e))?e:ae(e&&e.provide);const s=function(e,t,n){return pr(e)?hr(void 0,e.useValue):hr(ur(e),ir)}(e);if(gr(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=hr(void 0,ir,!0),t.factory=()=>mi(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,s)}hydrate(e,t){var n;return t.value===ir&&(t.value=sr,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}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function dr(e){const t=me(e),n=null!==t?t.factory:lt(e);if(null!==n)return n;if(e instanceof Xn)throw new Error(`Token ${ie(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=si(t,"?");throw new Error(`Can't resolve all parameters for ${ie(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ye]||e[_e]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ur(e,t,n){let i=void 0;if(gr(e)){const t=ae(e);return lt(t)||dr(t)}if(pr(e))i=()=>ae(e.useValue);else if((s=e)&&s.useFactory)i=()=>e.useFactory(...mi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>gi(ae(e.useExisting));else{const t=ae(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return lt(t)||dr(t);i=()=>new t(...mi(e.deps))}var s;return i}function hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pr(e){return null!==e&&"object"==typeof e&&di in e}function gr(e){return"function"==typeof e}const fr=function(e,t,n){return function(e,t=null,n=null,i){const s=lr(e,t,n,i);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let mr=(()=>{class e{static create(e,t){return Array.isArray(e)?fr(e,t,""):fr(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=li,e.NULL=new tr,e.\u0275prov=pe({token:e,providedIn:"any",factory:()=>gi(er)}),e.__NG_ELEMENT_ID__=-1,e})();function br(e,t){hn(St(e)[1],Ft())}function vr(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let s=void 0;if(at(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){i.push(s);const t=e;t.inputs=yr(e.inputs),t.declaredInputs=yr(e.declaredInputs),t.outputs=yr(e.outputs);const n=s.hostBindings;n&&xr(e,n);const o=s.viewQuery,r=s.contentQueries;if(o&&wr(e,o),r&&_r(e,r),ne(e.inputs,s.inputs),ne(e.declaredInputs,s.declaredInputs),ne(e.outputs,s.outputs),at(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let i=0;i<t.length;i++){const s=t[i];s&&s.ngInherit&&s(e),s===vr&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=xn(s.hostAttrs,n=xn(n,s.hostAttrs))}}(i)}function yr(e){return e===Le?{}:e===Be?[]:e}function wr(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function _r(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,s)=>{t(e,i,s),n(e,i,s)}:t}function xr(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let Cr=null;function Ar(){if(!Cr){const e=Re.Symbol;if(e&&e.iterator)Cr=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Cr=n)}}}return Cr}class Sr{constructor(e){this.wrapped=e}static wrap(e){return new Sr(e)}static unwrap(e){return Sr.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Sr}}function kr(e){return!!Er(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ar()in e)}function Er(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pr(e,t,n){return e[t]=n}function Dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Or(e,t,n,i){const s=Dr(e,t,n);return Dr(e,t+1,i)||s}function Mr(e,t,n,i,s){const o=Or(e,t,n,i);return Dr(e,t+2,s)||o}function Tr(e,t,n,i,s,o){const r=Or(e,t,n,i);return Or(e,t+2,s,o)||r}function Ir(e,t,n,i){const s=It();return Dr(s,Gt(),t)&&(Rt(),function(e,t,n,i,s,o){const r=_t(e,t);!function(e,t,n,i,s,o,r){if(null==o)bt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==r?de(o):r(o,i||"",s);bt(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[11],r,o,e.value,n,i,s)}(cn(),s,e,t,n,i)),Ir}function Rr(e,t,n,i){return Dr(e,Gt(),n)?t+de(n)+i:to}function Lr(e,t,n,i,s,o){const r=Or(e,Wt(),n,s);return $t(2),r?t+de(n)+i+de(s)+o:to}function Fr(e,t,n,i,s,o,r,a){const l=It(),c=Rt(),d=e+20,u=c.firstCreatePass?function(e,t,n,i,s,o,r,a,l){const c=t.consts,d=po(t,e,4,r||null,Pt(c,a));Eo(t,n,d,Pt(c,l)),hn(t,d);const u=d.tViews=Co(2,d,i,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,n,i,s,o,r):c.data[d];zt(u,!1);const h=l[11].createComment("");Ls(c,l,h,u),us(h,l),Ho(l,l[d]=Bo(h,l,h,u)),rt(u)&&wo(c,l,u),null!=r&&_o(l,u,a)}function Br(e){return Ct(Mt.lFrame.contextLView,20+e)}function zr(e,t=Ce.Default){const n=It();return null===n?gi(e,t):Bn(Ft(),n,ae(e),t)}function Vr(e,t,n){const i=It();return Dr(i,Gt(),t)&&ko(Rt(),cn(),i,e,t,i[11],n,!1),Vr}function Nr(e,t,n,i,s){const o=s?"class":"style";Xo(e,n,t.inputs[o],o,i)}function Hr(e,t,n,i){const s=It(),o=Rt(),r=20+e,a=s[11],l=s[r]=Cs(a,t,Mt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,i,s,o,r){const a=t.consts,l=po(t,e,2,s,Pt(a,o));return Eo(t,n,l,Pt(a,r)),null!==l.attrs&&Jo(l,l.attrs,!1),null!==l.mergedAttrs&&Jo(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(r,o,s,0,t,n,i):o.data[r];zt(c,!0);const d=c.mergedAttrs;null!==d&&yn(a,l,d);const u=c.classes;null!==u&&Us(a,l,u);const h=c.styles;null!==h&&js(a,l,h),64!=(64&c.flags)&&Ls(o,s,l,c),0===Mt.lFrame.elementDepthCount&&us(l,s),Mt.lFrame.elementDepthCount++,rt(c)&&(wo(o,s,c),yo(o,c,s)),null!==i&&_o(s,c)}function jr(){let e=Ft();Vt()?Nt():(e=e.parent,zt(e,!1));const t=e;Mt.lFrame.elementDepthCount--;const n=Rt();n.firstCreatePass&&(hn(n,e),st(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Nr(n,t,It(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Nr(n,t,It(),t.stylesWithoutHost,!1)}function Ur(e,t,n,i){Hr(e,t,n,i),jr()}function Wr(e,t,n){const i=It(),s=Rt(),o=e+20,r=s.firstCreatePass?function(e,t,n,i,s){const o=t.consts,r=Pt(o,i),a=po(t,e,8,"ng-container",r);return null!==r&&Jo(a,r,!0),Eo(t,n,a,Pt(o,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,s,i,t,n):s.data[o];zt(r,!0);const a=i[o]=i[11].createComment("");Ls(s,i,a,r),us(a,i),rt(r)&&(wo(s,i,r),yo(s,r,i)),null!=n&&_o(i,r)}function Gr(){let e=Ft();const t=Rt();Vt()?Nt():(e=e.parent,zt(e,!1)),t.firstCreatePass&&(hn(t,e),st(e)&&t.queries.elementEnd(e))}function $r(e,t,n){Wr(e,t,n),Gr()}function qr(){return It()}function Yr(e){return!!e&&"function"==typeof e.then}function Zr(e){return!!e&&"function"==typeof e.subscribe}const Qr=Zr;function Xr(e,t,n=!1,i){const s=It(),o=Rt(),r=Ft();return Jr(o,s,s[11],r,e,t,n,i),Xr}function Kr(e,t,n=!1,i){const s=Ft(),o=It(),r=Rt();return Jr(r,o,Zo(Zt(r.data),s,o),s,e,t,n,i),Kr}function Jr(e,t,n,i,s,o,r=!1,a){const l=rt(i),c=e.firstCreatePass&&Yo(e),d=qo(t);let u=!0;if(3&i.type){const h=_t(i,t),p=a?a(h):Le,g=p.target||h,f=d.length,m=a?e=>a(yt(e[i.index])).target:i.index;if(bt(n)){let r=null;if(!a&&l&&(r=function(e,t,n,i){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const e=s[o];if(e===n&&s[o+1]===i){const e=t[7],n=s[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,s,i.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,u=!1;else{o=ta(i,t,o,!1);const e=n.listen(p.name||g,s,o);d.push(o,e),c&&c.push(s,m,f,f+1)}}else o=ta(i,t,o,!0),g.addEventListener(s,o,r),d.push(o),c&&c.push(s,m,f,r)}else o=ta(i,t,o,!1);const h=i.outputs;let p;if(u&&null!==h&&(p=h[s])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(o),r=d.length;d.push(o,e),c&&c.push(s,i.index,r,-(r+1))}}}function ea(e,t,n){try{return!1!==t(n)}catch(i){return Qo(e,i),!1}}function ta(e,t,n,i){return function s(o){if(o===Function)return n;const r=2&e.flags?At(e.index,t):t;0==(32&t[2])&&jo(r);let a=ea(t,n,o),l=s.__ngNextListenerFn__;for(;l;)a=ea(t,l,o)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function na(e=1){return function(e){return(Mt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Mt.lFrame.contextLView))[8]}(e)}function ia(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const o=t[s];if("*"!==o){if(null===i?Xs(e,o,!0):Ks(i,o))return s}else n=s}return n}function sa(e){const t=It()[16][6];if(!t.projection){const n=t.projection=si(e?e.length:1,null),i=n.slice();let s=t.child;for(;null!==s;){const t=e?ia(s,e):0;null!==t&&(i[t]?i[t].projectionNext=s:n[t]=s,i[t]=s),s=s.next}}}function oa(e,t=0,n){const i=It(),s=Rt(),o=po(s,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Nt(),64!=(64&o.flags)&&function(e,t,n){Hs(t[11],0,t,n,Ps(e,n,t),Is(n.parent||t[6],n,t))}(s,i,o)}function ra(e,t,n){return aa(e,"",t,"",n),ra}function aa(e,t,n,i,s){const o=It(),r=Rr(o,t,n,i);return r!==to&&ko(Rt(),cn(),o,e,r,o[11],s,!1),aa}function la(e,t,n,i,s,o,r){const a=It(),l=Lr(a,t,n,i,s,o);return l!==to&&ko(Rt(),cn(),a,e,l,a[11],r,!1),la}function ca(e,t,n,i,s){const o=e[n+1],r=null===t;let a=i?oo(o):ao(o),l=!1;for(;0!==a&&(!1===l||r);){const n=e[a+1];da(e[a],t)&&(l=!0,e[a+1]=i?co(n):ro(n)),a=i?oo(n):ao(n)}l&&(e[n+1]=i?ro(o):co(o))}function da(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ai(e,t)>=0}const ua={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ha(e){return e.substring(ua.key,ua.keyEnd)}function pa(e,t){const n=ua.textEnd;return n===t?-1:(t=ua.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ua.key=t,n),ga(e,t,n))}function ga(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function fa(e,t,n){return ya(e,t,n,!1),fa}function ma(e,t){return ya(e,t,null,!0),ma}function ba(e){wa(oi,va,e,!0)}function va(e,t){for(let n=function(e){return function(e){ua.key=0,ua.keyEnd=0,ua.value=0,ua.valueEnd=0,ua.textEnd=e.length}(e),pa(e,ga(e,0,ua.textEnd))}(t);n>=0;n=pa(t,n))oi(e,ha(t),!0)}function ya(e,t,n,i){const s=It(),o=Rt(),r=$t(2);o.firstUpdatePass&&xa(o,e,r,i),t!==to&&Dr(s,r,t)&&Sa(o,o.data[an()],s,s[11],e,s[r+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Mi(e)))),e}(t,n),i,r)}function wa(e,t,n,i){const s=Rt(),o=$t(2);s.firstUpdatePass&&xa(s,null,o,i);const r=It();if(n!==to&&Dr(r,o,n)){const a=s.data[an()];if(Pa(a,i)&&!_a(s,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=se(e,n||"")),Nr(s,a,r,n,i)}else!function(e,t,n,i,s,o,r,a){s===to&&(s=Fe);let l=0,c=0,d=0<s.length?s[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const h=l<s.length?s[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let g=null,f=void 0;d===u?(l+=2,c+=2,h!==p&&(g=u,f=p)):null===u||null!==d&&d<u?(l+=2,g=d):(c+=2,g=u,f=p),null!==g&&Sa(e,t,n,i,g,f,r,a),d=l<s.length?s[l]:null,u=c<o.length?o[c]:null}}(s,a,r,r[11],r[o+1],r[o+1]=function(e,t,n){if(null==n||""===n)return Fe;const i=[],s=Mi(n);if(Array.isArray(s))for(let o=0;o<s.length;o++)e(i,s[o],!0);else if("object"==typeof s)for(const o in s)s.hasOwnProperty(o)&&e(i,o,s[o]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,o)}}function _a(e,t){return t>=e.expandoStartIndex}function xa(e,t,n,i){const s=e.data;if(null===s[n+1]){const o=s[an()],r=_a(e,n);Pa(o,i)&&null===t&&!r&&(t=!1),t=function(e,t,n,i){const s=Zt(e);let o=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Aa(n=Ca(null,e,t,n,i),t.attrs,i),o=null);else{const r=t.directiveStylingLast;if(-1===r||e[r]!==s)if(n=Ca(s,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ao(i))return e[oo(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=Ca(null,e,t,n[1],i),n=Aa(n,t.attrs,i),function(e,t,n,i){e[oo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i=void 0;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<s;o++)i=Aa(i,e[o].hostAttrs,n);return Aa(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(s,o,t,i),function(e,t,n,i,s,o){let r=o?t.classBindings:t.styleBindings,a=oo(r),l=ao(r);e[i]=n;let c,d=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||ai(e,c)>0)&&(d=!0)}else c=n;if(s)if(0!==l){const t=oo(e[a+1]);e[i+1]=so(t,a),0!==t&&(e[t+1]=lo(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=so(a,0),0!==a&&(e[a+1]=lo(e[a+1],i)),a=i;else e[i+1]=so(l,0),0===a?a=i:e[l+1]=lo(e[l+1],i),l=i;d&&(e[i+1]=ro(e[i+1])),ca(e,c,i,!0),ca(e,c,i,!1),function(e,t,n,i,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ai(o,t)>=0&&(n[i+1]=co(n[i+1]))}(t,c,e,i,o),r=so(a,l),o?t.classBindings=r:t.styleBindings=r}(s,o,t,n,r,i)}}function Ca(e,t,n,i,s){let o=null;const r=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<r&&(o=t[a],i=Aa(i,o.hostAttrs,s),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Aa(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let o=0;o<t.length;o++){const r=t[o];"number"==typeof r?s=r:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),oi(e,r,!!n||t[++o]))}return void 0===e?null:e}function Sa(e,t,n,i,s,o,r,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];Ea(1==(1&c)?ka(l,t,n,s,ao(c),r):void 0)||(Ea(o)||2==(2&c)&&(o=ka(l,null,n,s,a,r)),function(e,t,n,i,s){const o=bt(e);if(t)s?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{let t=-1===i.indexOf("-")?void 0:ms.DashCase;if(null==s)o?e.removeStyle(n,i,t):n.style.removeProperty(i);else{const r="string"==typeof s&&s.endsWith("!important");r&&(s=s.slice(0,-10),t|=ms.Important),o?e.setStyle(n,i,s,t):n.style.setProperty(i,s,r?"important":"")}}}(i,r,wt(an(),n),s,o))}function ka(e,t,n,i,s,o){const r=null===t;let a=void 0;for(;s>0;){const t=e[s],o=Array.isArray(t),l=o?t[1]:t,c=null===l;let d=n[s+1];d===to&&(d=c?Fe:void 0);let u=c?ri(d,i):l===i?d:void 0;if(o&&!Ea(u)&&(u=ri(t,i)),Ea(u)&&(a=u,r))return a;const h=e[s+1];s=r?oo(h):ao(h)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=ri(e,i))}return a}function Ea(e){return void 0!==e}function Pa(e,t){return 0!=(e.flags&(t?16:32))}function Da(e,t=""){const n=It(),i=Rt(),s=e+20,o=i.firstCreatePass?po(i,s,1,t,null):i.data[s],r=n[s]=function(e,t){return bt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Ls(i,n,r,o),zt(o,!1)}function Oa(e){return Ma("",e,""),Oa}function Ma(e,t,n){const i=It(),s=Rr(i,e,t,n);return s!==to&&Ko(i,an(),s),Ma}function Ta(e,t,n,i,s){const o=It(),r=Lr(o,e,t,n,i,s);return r!==to&&Ko(o,an(),r),Ta}function Ia(e,t,n,i,s,o,r){const a=It(),l=function(e,t,n,i,s,o,r,a){const l=Mr(e,Wt(),n,s,r);return $t(3),l?t+de(n)+i+de(s)+o+de(r)+a:to}(a,e,t,n,i,s,o,r);return l!==to&&Ko(a,an(),l),Ia}function Ra(e,t,n,i,s,o,r,a,l){const c=It(),d=function(e,t,n,i,s,o,r,a,l,c){const d=Tr(e,Wt(),n,s,r,l);return $t(4),d?t+de(n)+i+de(s)+o+de(r)+a+de(l)+c:to}(c,e,t,n,i,s,o,r,a,l);return d!==to&&Ko(c,an(),d),Ra}function La(e,t,n){wa(oi,va,Rr(It(),e,t,n),!0)}function Fa(e,t,n){const i=It();return Dr(i,Gt(),t)&&ko(Rt(),cn(),i,e,t,i[11],n,!0),Fa}function Ba(e,t,n){const i=It();if(Dr(i,Gt(),t)){const s=Rt(),o=cn();ko(s,o,i,e,t,Zo(Zt(s.data),o,i),n,!0)}return Ba}const za=void 0;var Va=["en",[["a","p"],["AM","PM"],za],[["AM","PM"],za,za],[["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"]],za,[["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"]],za,[["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}",za,"{1} 'at' {0}",za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Na={};function Ha(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ja(t);if(n)return n;const i=t.split("-")[0];if(n=ja(i),n)return n;if("en"===i)return Va;throw new Error(`Missing locale data for the locale "${e}".`)}function ja(e){return e in Na||(Na[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),Na[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});let Wa="en-US";function Ga(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Wa=e.toLowerCase().replace(/_/g,"-"))}function $a(e,t,n,i,s){if(e=ae(e),Array.isArray(e))for(let o=0;o<e.length;o++)$a(e[o],t,n,i,s);else{const o=Rt(),r=It();let a=gr(e)?e:ae(e.provide),l=ur(e);const c=Ft(),d=1048575&c.providerIndexes,u=c.directiveStart,h=c.providerIndexes>>20;if(gr(e)||!e.multi){const i=new vn(l,s,zr),p=Za(a,t,s?d:d+h,u);-1===p?(Rn(On(c,r),o,a),qa(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),r.push(i)):(n[p]=i,r[p]=i)}else{const p=Za(a,t,d+h,u),g=Za(a,t,d,d+h),f=p>=0&&n[p],m=g>=0&&n[g];if(s&&!m||!s&&!f){Rn(On(c,r),o,a);const d=function(e,t,n,i,s){const o=new vn(e,n,zr);return o.multi=[],o.index=t,o.componentProviders=0,Ya(o,s,i&&!n),o}(s?Xa:Qa,n.length,s,i,l);!s&&m&&(n[g].providerFactory=d),qa(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(d),r.push(d)}else qa(o,e,p>-1?p:g,Ya(n[s?g:p],l,!s&&i));!s&&i&&m&&n[g].componentProviders++}}}function qa(e,t,n,i){const s=gr(t);if(s||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const r=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const e=r.indexOf(n);-1===e?r.push(n,[i,o]):r[e+1].push(i,o)}else r.push(n,o)}}}function Ya(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Za(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function Qa(e,t,n,i){return Ka(this.multi,[])}function Xa(e,t,n,i){const s=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=jn(n,n[1],this.providerFactory.index,i);o=t.slice(0,e),Ka(s,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],Ka(s,o);return o}function Ka(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ja(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=Rt();if(i.firstCreatePass){const s=at(e);$a(n,i.data,i.blueprint,s,!0),$a(t,i.data,i.blueprint,s,!1)}}(n,i?i(e):e,t)}}class el{}class tl{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let nl=(()=>{class e{}return e.NULL=new tl,e})();function il(...e){}function sl(e,t){return new rl(_t(e,t))}const ol=function(){return sl(Ft(),It())};let rl=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=ol,e})();function al(e){return e instanceof rl?e.nativeElement:e}class ll{}let cl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>dl(),e})();const dl=function(){const e=It(),t=At(Ft().index,e);return function(e){return e[11]}(nt(t)?t:e)};let ul=(()=>{class e{}return e.\u0275prov=pe({token:e,providedIn:"root",factory:()=>null}),e})();class hl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const pl=new hl("11.2.6");class gl{constructor(){}supports(e){return kr(e)}create(e){return new ml(e)}}const fl=(e,t)=>t;class ml{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||fl}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<wl(n,i,s)?t:n,r=wl(o,i,s),a=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{s||(s=[]);const e=r-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<s.length?s[n]:s[n]=0,o=i+n;t<=o&&o<e&&(s[n]=i+1)}s[o.previousIndex]=t-e}}r!==a&&e(o,r,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!kr(e))throw new Error(`Error trying to diff '${ie(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,i)?(o&&(s=this._verifyReinsertion(s,n,i,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ar()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,i)?(o&&(s=this._verifyReinsertion(s,e,i,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,i,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,i)):e=this._addAfter(new bl(t,n),s,i),e}_verifyReinsertion(e,t,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,s=e._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new yl),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class bl{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class vl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class yl{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new vl,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function wl(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class _l{constructor(){}supports(e){return e instanceof Map||Er(e)}create(){return new xl}}class xl{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Er(e)))throw new Error(`Error trying to diff '${ie(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Cl(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Cl{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Al(){return new Sl([new gl])}let Sl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Al()),deps:[[e,new wi,new yi]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=pe({token:e,providedIn:"root",factory:Al}),e})();function kl(){return new El([new _l])}let El=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||kl()),deps:[[e,new wi,new yi]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=pe({token:e,providedIn:"root",factory:kl}),e})();function Pl(e,t,n,i,s=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(yt(o)),it(o))for(let e=10;e<o.length;e++){const t=o[e],n=t[1].firstChild;null!==n&&Pl(t[1],t,n,i)}const r=n.type;if(8&r)Pl(e,t,n.child,i);else if(32&r){const e=bs(n,t);let s;for(;s=e();)i.push(s)}else if(16&r){const e=Bs(t,n);if(Array.isArray(e))i.push(...e);else{const n=vs(t[16]);Pl(n[1],n,e,i,!0)}}n=s?n.projectionNext:n.next}return i}class Dl{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Pl(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(it(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Ss(e,n),ii(t,n))}this._attachedToViewContainer=!1}ks(this._lView[1],this._lView)}onDestroy(e){Ao(this._lView[1],this._lView,null,e)}markForCheck(){jo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Uo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){jt(!0);try{Uo(e,t,n)}finally{jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Ns(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ol extends Dl{constructor(e){super(e),this._view=e}detectChanges(){Wo(this._view)}checkNoChanges(){!function(e){jt(!0);try{Wo(e)}finally{jt(!1)}}(this._view)}get context(){return null}}const Ml=Il;let Tl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ml,e.__ChangeDetectorRef__=!0,e})();function Il(e=!1){return function(e,t,n){if(!n&&ot(e)){const n=At(e.index,t);return new Dl(n,n)}return 47&e.type?new Dl(t[16],t):null}(Ft(),It(),e)}const Rl=[new _l],Ll=new Sl([new gl]),Fl=new El(Rl),Bl=function(){return Hl(Ft(),It())};let zl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bl,e})();const Vl=zl,Nl=class extends Vl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=ho(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),fo(t,n,e),new Dl(n)}};function Hl(e,t){return 4&e.type?new Nl(t,e,sl(e,t)):null}class jl{}class Ul{}const Wl=function(){return Ql(Ft(),It())};let Gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Wl,e})();const $l=Gl,ql=class extends $l{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return sl(this._hostTNode,this._hostLView)}get injector(){return new Gn(this._hostTNode,this._hostLView)}get parentInjector(){const e=In(this._hostTNode,this._hostLView);if(An(e)){const t=kn(e,this._hostLView),n=Sn(e);return new Gn(t[1].data[n+8],t)}return new Gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Yl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,s){const o=n||this.parentInjector;if(!s&&null==e.ngModule&&o){const e=o.get(jl,null);e&&(s=e)}const r=e.create(o,i,void 0,s);return this.insert(r.hostView,t),r}insert(e,t){const n=e._lView,i=n[1];if(it(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new ql(t,t[6],t[3]);i.detach(i.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,i){const s=10+i,o=n.length;i>0&&(n[s-1][4]=t),i<o-10?(t[4]=n[s],ni(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const r=t[17];null!==r&&n!==r&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(r,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,n,o,s);const r=zs(s,o),a=n[11],l=Ts(a,o[7]);return null!==l&&function(e,t,n,i,s,o){i[0]=s,i[6]=t,Ns(e,i,n,1,s,o)}(i,o[6],a,n,l,r),e.attachToViewContainerRef(),ni(Zl(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Yl(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Ss(this._lContainer,t);n&&(ii(Zl(this._lContainer),t),ks(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Ss(this._lContainer,t);return n&&null!=ii(Zl(this._lContainer),t)?new Dl(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Yl(e){return e[8]}function Zl(e){return e[8]||(e[8]=[])}function Ql(e,t){let n;const i=t[e.index];if(it(i))n=i;else{let s;if(8&e.type)s=yt(i);else{const n=t[11];s=n.createComment("");const i=_t(e,t);Ds(n,Ts(n,i),s,function(e,t){return bt(e)?e.nextSibling(t):t.nextSibling}(n,i),!1)}t[e.index]=n=Bo(i,t,s,e),Ho(t,n)}return new ql(n,e,t)}const Xl={};class Kl extends nl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=et(e);return new tc(t,this.ngModule)}}function Jl(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const ec=new Xn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hs});class tc extends el{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(eo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Jl(this.componentDef.inputs)}get outputs(){return Jl(this.componentDef.outputs)}create(e,t,n,i){const s=(i=i||this.ngModule)?function(e,t){return{get:(n,i,s)=>{const o=e.get(n,Xl,s);return o!==Xl||i===Xl?o:t.get(n,i,s)}}}(e,i.injector):e,o=s.get(ll,vt),r=s.get(ul,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(bt(e))return e.selectRootElement(t,n===De.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Cs(o.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:hs,clean:$o,playerHandler:null,flags:0},h=Co(0,null,null,1,0,null,null,null,null,null),p=ho(null,h,u,d,null,null,o,a,r,s);let g,f;en(p);try{const e=function(e,t,n,i,s,o){const r=n[1];n[20]=e;const a=po(r,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Jo(a,l,!0),null!==e&&(yn(s,e,l),null!==a.classes&&Us(s,e,a.classes),null!==a.styles&&js(s,e,a.styles)));const c=i.createRenderer(e,t),d=ho(n,xo(t),null,t.onPush?64:16,n[20],a,i,c,null,null);return r.firstCreatePass&&(Rn(On(a,n),r,t.type),Oo(r,a),To(a,n.length,1)),Ho(n,d),n[20]=d}(c,this.componentDef,p,o,a);if(c)if(n)yn(a,c,["ng-version",pl.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++i]):8===s&&n.push(o);else{if(!Zs(s))break;s=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(a,c,e),t&&t.length>0&&Us(a,c,t.join(" "))}if(f=xt(h,20),void 0!==t){const e=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=t[n];e.push(null!=i?Array.from(i):null)}}g=function(e,t,n,i,s){const o=n[1],r=function(e,t,n){const i=Ft();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Io(e,i,t,go(e,t,1,null),n));const s=jn(t,e,i.directiveStart,i);us(s,t);const o=_t(i,t);return o&&us(o,t),s}(o,n,t);if(i.components.push(r),e[8]=r,s&&s.forEach(e=>e(r,t)),t.contentQueries){const e=Ft();t.contentQueries(1,r,e.directiveStart)}const a=Ft();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ln(a.index),Po(n[1],a,0,a.directiveStart,a.directiveEnd,t),Do(t,r)),r}(e,this.componentDef,p,u,[br]),fo(h,p,null)}finally{rn()}return new nc(this.componentType,g,sl(f,p),p,f)}}class nc extends class{}{constructor(e,t,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new Ol(i),this.componentType=e}get injector(){return new Gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const ic=new Map;class sc extends jl{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Kl(this);const n=tt(e),i=e[je]||null;i&&Ga(i),this._bootstrapComponents=fs(n.bootstrap),this._r3Injector=lr(e,t,[{provide:jl,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],ie(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=mr.THROW_IF_NOT_FOUND,n=Ce.Default){return e===mr||e===jl||e===er?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class oc extends Ul{constructor(e){super(),this.moduleType=e,null!==tt(e)&&function(e){const t=new Set;!function e(n){const i=tt(n,!0),s=i.id;null!==s&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ie(t)} vs ${ie(t.name)}`)}(s,ic.get(s),n),ic.set(s,n));const o=fs(i.imports);for(const r of o)t.has(r)||(t.add(r),e(r))}(e)}(e)}create(e){return new sc(this.moduleType,e)}}function rc(e,t,n){const i=Ut()+e,s=It();return s[i]===to?Pr(s,i,n?t.call(n):t()):function(e,t){return e[t]}(s,i)}function ac(e,t,n,i){return dc(It(),Ut(),e,t,n,i)}function lc(e,t,n,i,s){return uc(It(),Ut(),e,t,n,i,s)}function cc(e,t){const n=e[t];return n===to?void 0:n}function dc(e,t,n,i,s,o){const r=t+n;return Dr(e,r,s)?Pr(e,r+1,o?i.call(o,s):i(s)):cc(e,r+1)}function uc(e,t,n,i,s,o,r){const a=t+n;return Or(e,a,s,o)?Pr(e,a+2,r?i.call(r,s,o):i(s,o)):cc(e,a+2)}function hc(e,t){const n=Rt();let i;const s=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new ce("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const o=i.factory||(i.factory=lt(i.type)),r=Se(zr);try{const e=Pn(!1),t=o();return Pn(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,It(),s,t),t}finally{Se(r)}}function pc(e,t,n){const i=e+20,s=It(),o=Ct(s,i);return vc(s,bc(s,i)?dc(s,Ut(),t,o.transform,n,o):o.transform(n))}function gc(e,t,n,i){const s=e+20,o=It(),r=Ct(o,s);return vc(o,bc(o,s)?uc(o,Ut(),t,r.transform,n,i,r):r.transform(n,i))}function fc(e,t,n,i,s){const o=e+20,r=It(),a=Ct(r,o);return vc(r,bc(r,o)?function(e,t,n,i,s,o,r,a){const l=t+n;return Mr(e,l,s,o,r)?Pr(e,l+3,a?i.call(a,s,o,r):i(s,o,r)):cc(e,l+3)}(r,Ut(),t,a.transform,n,i,s,a):a.transform(n,i,s))}function mc(e,t,n,i,s,o){const r=e+20,a=It(),l=Ct(a,r);return vc(a,bc(a,r)?function(e,t,n,i,s,o,r,a,l){const c=t+n;return Tr(e,c,s,o,r,a)?Pr(e,c+4,l?i.call(l,s,o,r,a):i(s,o,r,a)):cc(e,c+4)}(a,Ut(),t,l.transform,n,i,s,o,l):l.transform(n,i,s,o))}function bc(e,t){return e[1].data[t].pure}function vc(e,t){return Sr.isWrapped(t)&&(t=Sr.unwrap(t),e[Wt()]=to),t}const yc=class extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,s=e=>null,o=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const r=super.subscribe(i,s,o);return e instanceof u&&e.add(r),r}};function wc(){return this._results[Ar()]()}class _c{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Ar(),n=_c.prototype;n[t]||(n[t]=wc)}get changes(){return this._changes||(this._changes=new yc)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=ei(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],o=t[i];if(n&&(s=n(s),o=n(o)),o!==s)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class xc{constructor(e){this.queryList=e,this.matches=null}clone(){return new xc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);i.push(this.queries[n.indexInDeclarationView].clone())}return new Cc(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Bc(e,t).matches&&this.queries[t].setDirty()}}class Ac{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class Sc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,i);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new Sc(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class kc{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new kc(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const s=n[i];this.matchTNodeWithReadOption(e,t,Ec(t,s)),this.matchTNodeWithReadOption(e,t,Hn(t,e,s,!1,!1))}else n===zl?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Hn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===rl||i===Gl||i===zl&&4&t.type)this.addMatch(t.index,-2);else{const n=Hn(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Ec(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Pc(e,t,n,i){return-1===n?function(e,t){return 11&e.type?sl(e,t):4&e.type?Hl(e,t):null}(t,e):-2===n?function(e,t,n){return n===rl?sl(t,e):n===zl?Hl(t,e):n===Gl?Ql(t,e):void 0}(e,t,i):jn(e,e[1],n,t)}function Dc(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const i=e.data,o=n.matches,r=[];for(let e=0;e<o.length;e+=2){const s=o[e];r.push(s<0?null:Pc(t,i[s],o[e+1],n.metadata.read))}s.matches=r}return s.matches}function Oc(e,t,n,i){const s=e.queries.getByIndex(n),o=s.matches;if(null!==o){const r=Dc(e,t,s,n);for(let e=0;e<o.length;e+=2){const n=o[e];if(n>0)i.push(r[e/2]);else{const s=o[e+1],r=t[-n];for(let e=10;e<r.length;e++){const t=r[e];t[17]===t[3]&&Oc(t[1],t,s,i)}if(null!==r[9]){const e=r[9];for(let t=0;t<e.length;t++){const n=e[t];Oc(n[1],n,s,i)}}}}}return i}function Mc(e){const t=It(),n=Rt(),i=Qt();Xt(i+1);const s=Bc(n,i);if(e.dirty&&kt(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const o=s.crossesNgTemplate?Oc(n,t,i,[]):Dc(n,t,s,i);e.reset(o,al),e.notifyOnChanges()}return!0}return!1}function Tc(e,t,n){const i=Rt();i.firstCreatePass&&(Fc(i,new Ac(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Lc(i,It(),t)}function Ic(e,t,n,i){const s=Rt();if(s.firstCreatePass){const o=Ft();Fc(s,new Ac(t,n,i),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Lc(s,It(),n)}function Rc(){return e=It(),t=Qt(),e[19].queries[t].queryList;var e,t}function Lc(e,t,n){const i=new _c(4==(4&n));Ao(e,t,i,i.destroy),null===t[19]&&(t[19]=new Cc),t[19].queries.push(new xc(i))}function Fc(e,t,n){null===e.queries&&(e.queries=new Sc),e.queries.track(new kc(t,n))}function Bc(e,t){return e.queries.getByIndex(t)}function zc(e,t){return Hl(e,t)}function Vc(e=Ce.Default){const t=Il(!0);if(null!=t||e&Ce.Optional)return t;he("ChangeDetectorRef")}const Nc=new Xn("Application Initializer");let Hc=(()=>{class e{constructor(e){this.appInits=e,this.resolve=il,this.reject=il,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Yr(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(gi(Nc,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const jc=new Xn("AppId"),Uc={provide:jc,useFactory:function(){return`${Wc()}${Wc()}${Wc()}`},deps:[]};function Wc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gc=new Xn("Platform Initializer"),$c=new Xn("Platform ID"),qc=new Xn("appBootstrapListener");let Yc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Zc=new Xn("LocaleId"),Qc=new Xn("DefaultCurrencyCode");class Xc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Kc=function(e){return new oc(e)},Jc=Kc,ed=function(e){return Promise.resolve(Kc(e))},td=function(e){const t=Kc(e),n=fs(tt(e).declarations).reduce((e,t)=>{const n=et(t);return n&&e.push(new tc(n)),e},[]);return new Xc(t,n)},nd=td,id=function(e){return Promise.resolve(td(e))};let sd=(()=>{class e{constructor(){this.compileModuleSync=Jc,this.compileModuleAsync=ed,this.compileModuleAndAllComponentsSync=nd,this.compileModuleAndAllComponentsAsync=id}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const od=(()=>Promise.resolve(0))();function rd(e){"undefined"==typeof Zone?od.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ad{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yc(!1),this.onMicrotaskEmpty=new yc(!1),this.onStable=new yc(!1),this.onError=new yc(!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.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&t,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,dd(e),cd(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),dd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,o,r,a)=>{try{return ud(e),n.invokeTask(s,o,r,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),hd(e)}},onInvoke:(n,i,s,o,r,a,l)=>{try{return ud(e),n.invoke(s,o,r,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),hd(e)}},onHasTask:(t,n,i,s)=>{t.hasTask(i,s),n===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,dd(e),cd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,i,s)=>(t.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ad.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ad.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,ld,il,il);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const ld={};function cd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function dd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ud(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hd(e){e._nesting--,cd(e)}class pd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yc,this.onMicrotaskEmpty=new yc,this.onStable=new yc,this.onError=new yc}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let gd=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ad.assertNotInAngularZone(),rd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())rd(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),fd=(()=>{class e{constructor(){this._applications=new Map,vd.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return vd.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class md{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let bd,vd=new md,yd=!0,wd=!1;function _d(){return wd=!0,yd}const xd=new Xn("AllowMultipleToken");class Cd{constructor(e,t){this.name=e,this.token=t}}function Ad(e,t,n=[]){const i="Platform: "+t,s=new Xn(i);return(t=[])=>{let o=Sd();if(!o||o.injector.get(xd,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:nr,useValue:"platform"});!function(e){if(bd&&!bd.destroyed&&!bd.injector.get(xd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");bd=e.get(kd);const t=e.get(Gc,null);t&&t.forEach(e=>e())}(mr.create({providers:e,name:i}))}return function(e){const t=Sd();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}(s)}}function Sd(){return bd&&!bd.destroyed?bd:null}let kd=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new pd:("zone.js"===e?void 0:e)||new ad({enableLongStackTrace:_d(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:ad,useValue:n}];return n.run(()=>{const t=mr.create({providers:i,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(ds,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});s.onDestroy(()=>{Dd(this._modules,s),e.unsubscribe()})}),function(e,t,n){try{const i=n();return Yr(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=s.injector.get(Hc);return e.runInitializers(),e.donePromise.then(()=>(Ga(s.injector.get(Zc,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Ed({},t);return function(e,t,n){const i=new oc(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Pd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ie(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)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Ed(e,t){return Array.isArray(t)?t.reduce(Ed,e):Object.assign(Object.assign({},e),t)}let Pd=(()=>{class e{constructor(e,t,n,i,s){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),r=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{ad.assertNotInAngularZone(),rd(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ad.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=G(o,r.pipe(ee()))}bootstrap(e,t){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.");let n;n=e instanceof el?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(jl),s=n.create(mr.NULL,[],t||n.selector,i),o=s.location.nativeElement,r=s.injector.get(gd,null),a=r&&s.injector.get(fd);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),Dd(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Dd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(qc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(mr),gi(ds),gi(nl),gi(Hc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Od{}class Md{}const Td={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Id=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Td}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("MYvV")(t).then(e=>e[i]).then(e=>Rd(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n("MYvV")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+s]).then(e=>Rd(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(gi(sd),gi(Md,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Rd(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Ld=Ad(null,"core",[{provide:$c,useValue:"unknown"},{provide:kd,deps:[mr]},{provide:fd,deps:[]},{provide:Yc,deps:[]}]),Fd=[{provide:Pd,useClass:Pd,deps:[ad,mr,ds,nl,Hc]},{provide:ec,deps:[ad],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Hc,useClass:Hc,deps:[[new yi,Nc]]},{provide:sd,useClass:sd,deps:[]},Uc,{provide:Sl,useFactory:function(){return Ll},deps:[]},{provide:El,useFactory:function(){return Fl},deps:[]},{provide:Zc,useFactory:function(e){return Ga(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new vi(Zc),new yi,new wi]]},{provide:Qc,useValue:"USD"}];let Bd=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(gi(Pd))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Fd}),e})();const zd={production:!0,VERSION:n("kiQV").version,AUTHOR:n("kiQV").author};let Vd=null;function Nd(){return Vd}const Hd=new Xn("DocumentToken");let jd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:Ud,token:e,providedIn:"platform"}),e})();function Ud(){return gi(Gd)}const Wd=new Xn("Location Initialized");let Gd=(()=>{class e extends jd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Nd().getLocation(),this._history=Nd().getHistory()}getBaseHrefFromDOM(){return Nd().getBaseHref(this._doc)}onPopState(e){Nd().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Nd().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){$d()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){$d()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:qd,token:e,providedIn:"platform"}),e})();function $d(){return!!window.history.pushState}function qd(){return new Gd(gi(Hd))}function Yd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Zd(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Qd(e){return e&&"?"!==e[0]?"?"+e:e}let Xd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:Kd,token:e,providedIn:"root"}),e})();function Kd(e){const t=gi(Hd).location;return new eu(gi(jd),t&&t.origin||"")}const Jd=new Xn("appBaseHref");let eu=(()=>{class e extends Xd{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Yd(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Qd(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const s=this.prepareExternalUrl(n+Qd(i));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,i){const s=this.prepareExternalUrl(n+Qd(i));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(jd),gi(Jd,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),tu=(()=>{class e extends Xd{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Yd(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let s=this.prepareExternalUrl(n+Qd(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,i){let s=this.prepareExternalUrl(n+Qd(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(jd),gi(Jd,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),nu=(()=>{class e{constructor(e,t){this._subject=new yc,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Zd(su(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Qd(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,su(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qd(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qd(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xd),gi(jd))},e.normalizeQueryParams=Qd,e.joinWithSlash=Yd,e.stripTrailingSlash=Zd,e.\u0275prov=pe({factory:iu,token:e,providedIn:"root"}),e})();function iu(){return new nu(gi(Xd),gi(jd))}function su(e){return e.replace(/\/index.html$/,"")}var ou=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),ru=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),au=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),lu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),cu=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function du(e,t){return fu(Ha(e)[Ua.DateFormat],t)}function uu(e,t){return fu(Ha(e)[Ua.TimeFormat],t)}function hu(e,t){return fu(Ha(e)[Ua.DateTimeFormat],t)}function pu(e,t){const n=Ha(e),i=n[Ua.NumberSymbols][t];if(void 0===i){if(t===cu.CurrencyDecimal)return n[Ua.NumberSymbols][cu.Decimal];if(t===cu.CurrencyGroup)return n[Ua.NumberSymbols][cu.Group]}return i}function gu(e){if(!e[Ua.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ua.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fu(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function mu(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const bu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,vu={},yu=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var wu=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),_u=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),xu=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Cu(e,t,n,i){let s=function(e){if(Fu(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return Au(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(bu))return function(e){const t=new Date(0);let n=0,i=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const r=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,r,a,l,c),t}(n)}const t=new Date(e);if(!Fu(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=Su(n,t)||t;let o,r=[];for(;t;){if(o=yu.exec(t),!o){r.push(t);break}{r=r.concat(o.slice(1));const e=r.pop();if(!e)break;t=e}}let a=s.getTimezoneOffset();i&&(a=Lu(i,a),s=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Lu(t,i)-i))}(s,i));let l="";return r.forEach(e=>{const t=function(e){if(Ru[e])return Ru[e];let t;switch(e){case"G":case"GG":case"GGG":t=Du(xu.Eras,au.Abbreviated);break;case"GGGG":t=Du(xu.Eras,au.Wide);break;case"GGGGG":t=Du(xu.Eras,au.Narrow);break;case"y":t=Pu(_u.FullYear,1,0,!1,!0);break;case"yy":t=Pu(_u.FullYear,2,0,!0,!0);break;case"yyy":t=Pu(_u.FullYear,3,0,!1,!0);break;case"yyyy":t=Pu(_u.FullYear,4,0,!1,!0);break;case"Y":t=Iu(1);break;case"YY":t=Iu(2,!0);break;case"YYY":t=Iu(3);break;case"YYYY":t=Iu(4);break;case"M":case"L":t=Pu(_u.Month,1,1);break;case"MM":case"LL":t=Pu(_u.Month,2,1);break;case"MMM":t=Du(xu.Months,au.Abbreviated);break;case"MMMM":t=Du(xu.Months,au.Wide);break;case"MMMMM":t=Du(xu.Months,au.Narrow);break;case"LLL":t=Du(xu.Months,au.Abbreviated,ru.Standalone);break;case"LLLL":t=Du(xu.Months,au.Wide,ru.Standalone);break;case"LLLLL":t=Du(xu.Months,au.Narrow,ru.Standalone);break;case"w":t=Tu(1);break;case"ww":t=Tu(2);break;case"W":t=Tu(1,!0);break;case"d":t=Pu(_u.Date,1);break;case"dd":t=Pu(_u.Date,2);break;case"E":case"EE":case"EEE":t=Du(xu.Days,au.Abbreviated);break;case"EEEE":t=Du(xu.Days,au.Wide);break;case"EEEEE":t=Du(xu.Days,au.Narrow);break;case"EEEEEE":t=Du(xu.Days,au.Short);break;case"a":case"aa":case"aaa":t=Du(xu.DayPeriods,au.Abbreviated);break;case"aaaa":t=Du(xu.DayPeriods,au.Wide);break;case"aaaaa":t=Du(xu.DayPeriods,au.Narrow);break;case"b":case"bb":case"bbb":t=Du(xu.DayPeriods,au.Abbreviated,ru.Standalone,!0);break;case"bbbb":t=Du(xu.DayPeriods,au.Wide,ru.Standalone,!0);break;case"bbbbb":t=Du(xu.DayPeriods,au.Narrow,ru.Standalone,!0);break;case"B":case"BB":case"BBB":t=Du(xu.DayPeriods,au.Abbreviated,ru.Format,!0);break;case"BBBB":t=Du(xu.DayPeriods,au.Wide,ru.Format,!0);break;case"BBBBB":t=Du(xu.DayPeriods,au.Narrow,ru.Format,!0);break;case"h":t=Pu(_u.Hours,1,-12);break;case"hh":t=Pu(_u.Hours,2,-12);break;case"H":t=Pu(_u.Hours,1);break;case"HH":t=Pu(_u.Hours,2);break;case"m":t=Pu(_u.Minutes,1);break;case"mm":t=Pu(_u.Minutes,2);break;case"s":t=Pu(_u.Seconds,1);break;case"ss":t=Pu(_u.Seconds,2);break;case"S":t=Pu(_u.FractionalSeconds,1);break;case"SS":t=Pu(_u.FractionalSeconds,2);break;case"SSS":t=Pu(_u.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ou(wu.Short);break;case"ZZZZZ":t=Ou(wu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ou(wu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ou(wu.Long);break;default:return null}return Ru[e]=t,t}(e);l+=t?t(s,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Au(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Su(e,t){const n=function(e){return Ha(e)[Ua.LocaleId]}(e);if(vu[n]=vu[n]||{},vu[n][t])return vu[n][t];let i="";switch(t){case"shortDate":i=du(e,lu.Short);break;case"mediumDate":i=du(e,lu.Medium);break;case"longDate":i=du(e,lu.Long);break;case"fullDate":i=du(e,lu.Full);break;case"shortTime":i=uu(e,lu.Short);break;case"mediumTime":i=uu(e,lu.Medium);break;case"longTime":i=uu(e,lu.Long);break;case"fullTime":i=uu(e,lu.Full);break;case"short":const t=Su(e,"shortTime"),n=Su(e,"shortDate");i=ku(hu(e,lu.Short),[t,n]);break;case"medium":const s=Su(e,"mediumTime"),o=Su(e,"mediumDate");i=ku(hu(e,lu.Medium),[s,o]);break;case"long":const r=Su(e,"longTime"),a=Su(e,"longDate");i=ku(hu(e,lu.Long),[r,a]);break;case"full":const l=Su(e,"fullTime"),c=Su(e,"fullDate");i=ku(hu(e,lu.Full),[l,c])}return i&&(vu[n][t]=i),i}function ku(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Eu(e,t,n="-",i,s){let o="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,o=n));let r=String(e);for(;r.length<t;)r="0"+r;return i&&(r=r.substr(r.length-t)),o+r}function Pu(e,t,n=0,i=!1,s=!1){return function(o,r){let a=function(e,t){switch(e){case _u.FullYear:return t.getFullYear();case _u.Month:return t.getMonth();case _u.Date:return t.getDate();case _u.Hours:return t.getHours();case _u.Minutes:return t.getMinutes();case _u.Seconds:return t.getSeconds();case _u.FractionalSeconds:return t.getMilliseconds();case _u.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===_u.Hours)0===a&&-12===n&&(a=12);else if(e===_u.FractionalSeconds)return l=t,Eu(a,3).substr(0,l);var l;const c=pu(r,cu.MinusSign);return Eu(a,t,c,i,s)}}function Du(e,t,n=ru.Format,i=!1){return function(s,o){return function(e,t,n,i,s,o){switch(n){case xu.Months:return function(e,t,n){const i=Ha(e),s=fu([i[Ua.MonthsFormat],i[Ua.MonthsStandalone]],t);return fu(s,n)}(t,s,i)[e.getMonth()];case xu.Days:return function(e,t,n){const i=Ha(e),s=fu([i[Ua.DaysFormat],i[Ua.DaysStandalone]],t);return fu(s,n)}(t,s,i)[e.getDay()];case xu.DayPeriods:const r=e.getHours(),a=e.getMinutes();if(o){const e=function(e){const t=Ha(e);return gu(t),(t[Ua.ExtraData][2]||[]).map(e=>"string"==typeof e?mu(e):[mu(e[0]),mu(e[1])])}(t),n=function(e,t,n){const i=Ha(e);gu(i);const s=fu([i[Ua.ExtraData][0],i[Ua.ExtraData][1]],t)||[];return fu(s,n)||[]}(t,s,i),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=r>=t.hours&&a>=t.minutes,s=r<n.hours||r===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&s)return!0}else if(i||s)return!0}else if(e.hours===r&&e.minutes===a)return!0;return!1});if(-1!==o)return n[o]}return function(e,t,n){const i=Ha(e),s=fu([i[Ua.DayPeriodsFormat],i[Ua.DayPeriodsStandalone]],t);return fu(s,n)}(t,s,i)[r<12?0:1];case xu.Eras:return function(e,t){return fu(Ha(e)[Ua.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,e,t,n,i)}}function Ou(e){return function(t,n,i){const s=-1*i,o=pu(n,cu.MinusSign),r=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case wu.Short:return(s>=0?"+":"")+Eu(r,2,o)+Eu(Math.abs(s%60),2,o);case wu.ShortGMT:return"GMT"+(s>=0?"+":"")+Eu(r,1,o);case wu.Long:return"GMT"+(s>=0?"+":"")+Eu(r,2,o)+":"+Eu(Math.abs(s%60),2,o);case wu.Extended:return 0===i?"Z":(s>=0?"+":"")+Eu(r,2,o)+":"+Eu(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function Mu(e){return Au(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Tu(e,t=!1){return function(n,i){let s;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();s=1+Math.floor((t+e)/7)}else{const e=Mu(n),t=function(e){const t=Au(e,0,1).getDay();return Au(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();s=1+Math.round(i/6048e5)}return Eu(s,e,pu(i,cu.MinusSign))}}function Iu(e,t=!1){return function(n,i){return Eu(Mu(n).getFullYear(),e,pu(i,cu.MinusSign),t)}}const Ru={};function Lu(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Fu(e){return e instanceof Date&&!isNaN(e.valueOf())}class Bu{}let zu=(()=>{class e extends Bu{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Ha(e)[Ua.PluralCase]}(t||this.locale)(e)){case ou.Zero:return"zero";case ou.One:return"one";case ou.Two:return"two";case ou.Few:return"few";case ou.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(gi(Zc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Vu(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}let Nu=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(kr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ie(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Sl),zr(El),zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Hu{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ju=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Hu(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new Uu(e,n);t.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const o=new Uu(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=i,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Sl))},e.\u0275dir=Ke({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Uu{constructor(e,t){this.record=e,this.view=t}}let Wu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Gu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$u("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$u("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Gu{constructor(){this.$implicit=null,this.ngIf=null}}function $u(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ie(t)}'.`)}class qu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Yu=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Zu=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new qu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Yu,1))},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Qu=(()=>{class e{constructor(e,t,n){n._addDefault(new qu(e,t))}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Yu,1))},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Xu=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(El),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Ku=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl))},e.\u0275dir=Ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[dt]}),e})();function Ju(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ie(e)}'`)}class eh{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class th{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const nh=new th,ih=new eh;let sh=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Yr(t))return nh;if(Zr(t))return ih;throw Ju(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Vc())},e.\u0275pipe=Je({name:"async",type:e,pure:!1}),e})();const oh=/(?:[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;let rh=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Ju(e,t);return t.replace(oh,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"titlecase",type:e,pure:!0}),e})(),ah=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Ju(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"uppercase",type:e,pure:!0}),e})(),lh=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,s){if(null==t||""===t||t!=t)return null;try{return Cu(t,n,s||this.locale,i)}catch(o){throw Ju(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(zr(Zc))},e.\u0275pipe=Je({name:"date",type:e,pure:!0}),e})(),ch=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=dh){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(zr(El))},e.\u0275pipe=Je({name:"keyvalue",type:e,pure:!1}),e})();function dh(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const s=String(n),o=String(i);return s==o?0:s<o?-1:1}let uh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[{provide:Bu,useClass:zu}]}),e})();function hh(e){return"browser"===e}let ph=(()=>{class e{}return e.\u0275prov=pe({token:e,providedIn:"root",factory:()=>new gh(gi(Hd),window)}),e})();class gh{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=fh(this.window.history)||fh(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function fh(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class mh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new mh,Vd||(Vd=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=vh||(vh=document.querySelector("base"),vh)?vh.getAttribute("href"):null;return null==t?null:(n=t,bh||(bh=document.createElement("a")),bh.setAttribute("href",n),"/"===bh.pathname.charAt(0)?bh.pathname:"/"+bh.pathname);var n}resetBaseElement(){vh=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Vu(document.cookie,e)}}let bh,vh=null;const yh=new Xn("TRANSITION_ID"),wh=[{provide:Nc,useFactory:function(e,t,n){return()=>{n.get(Hc).donePromise.then(()=>{const n=Nd();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[yh,Hd,mr],multi:!0}];class _h{static init(){var e;e=new _h,vd=e}addToWindow(e){Re.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Re.getAllAngularTestabilities=()=>e.getAllTestabilities(),Re.getAllAngularRootElements=()=>e.getAllRootElements(),Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(e=>{const t=Re.getAllAngularTestabilities();let n=t.length,i=!1;const s=function(t){i=i||t,n--,0==n&&e(i)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Nd().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const xh=new Xn("EventManagerPlugins");let Ch=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i<n.length;i++){const t=n[i];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(gi(xh),gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Ah{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=Nd().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}let Sh=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),kh=(()=>{class e extends Sh{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Nd().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ph=/%COMP%/g;function Dh(e,t,n){for(let i=0;i<t.length;i++){let s=t[i];Array.isArray(s)?Dh(e,s,n):(s=s.replace(Ph,e),n.push(s))}return n}function Oh(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Mh=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Th(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case De.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ih(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case De.ShadowDom:return new Rh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Dh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(gi(Ch),gi(kh),gi(jc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Th{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Eh[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const s=Eh[i];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=Eh[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(ms.DashCase|ms.Important)?e.style.setProperty(t,n,i&ms.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&ms.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Oh(n)):this.eventManager.addEventListener(e,t,Oh(n))}}class Ih extends Th{constructor(e,t,n,i){super(e),this.component=n;const s=Dh(i+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Ph,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Ph,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Rh extends Th{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Dh(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Lh=(()=>{class e extends Ah{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Fh={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Bh=new Xn("HammerGestureConfig"),zh=new Xn("HammerLoader");let Vh=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Nh=[{provide:xh,useClass:(()=>{class e extends Ah{constructor(e,t,n,i){super(e),this._config=t,this.console=n,this.loader=i,this._loaderPromise=null}supports(e){return!(!Fh.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,n){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let i=!1,s=()=>{i=!0};return this._loaderPromise.then(()=>{window.Hammer?i||(s=this.addEventListener(e,t,n)):s=()=>{}}).catch(()=>{s=()=>{}}),()=>{s()}}return i.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){i.runGuarded(function(){n(e)})};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(Bh),gi(Yc),gi(zh,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),multi:!0,deps:[Hd,Bh,Yc,[new yi,zh]]},{provide:Bh,useClass:Vh,deps:[]}];let Hh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Nh}),e})();const jh=["alt","control","meta","shift"],Uh={"\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"},Wh={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"},Gh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $h=(()=>{class e extends Ah{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nd().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=e._normalizeKey(n.pop());let o="";if(jh.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const r={};return r.domEventName=i,r.fullKey=o,r}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Wh.hasOwnProperty(t)&&(t=Wh[t]))}return Uh[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),jh.forEach(i=>{i!=n&&(0,Gh[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return s=>{e.getEventFullKey(s)===t&&i.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),qh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return gi(Yh)},token:e,providedIn:"root"}),e})(),Yh=(()=>{class e extends qh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case is.NONE:return t;case is.HTML:return Ti(t,"HTML")?Mi(t):ts(this._doc,String(t)).toString();case is.STYLE:return Ti(t,"Style")?Mi(t):t;case is.SCRIPT:if(Ti(t,"Script"))return Mi(t);throw new Error("unsafe value used in a script context");case is.URL:return Ii(t),Ti(t,"URL")?Mi(t):zi(String(t));case is.RESOURCE_URL:if(Ti(t,"ResourceURL"))return Mi(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new ki(e)}bypassSecurityTrustStyle(e){return new Ei(e)}bypassSecurityTrustScript(e){return new Pi(e)}bypassSecurityTrustUrl(e){return new Di(e)}bypassSecurityTrustResourceUrl(e){return new Oi(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return e=gi(er),new Yh(e.get(Hd));var e},token:e,providedIn:"root"}),e})();const Zh=Ad(Ld,"browser",[{provide:$c,useValue:"browser"},{provide:Gc,useValue:function(){mh.makeCurrent(),_h.init()},multi:!0},{provide:Hd,useFactory:function(){return function(e){ft=e}(document),document},deps:[]}]),Qh=[[],{provide:nr,useValue:"root"},{provide:ds,useFactory:function(){return new ds},deps:[]},{provide:xh,useClass:Lh,multi:!0,deps:[Hd,ad,$c]},{provide:xh,useClass:$h,multi:!0,deps:[Hd]},[],{provide:Mh,useClass:Mh,deps:[Ch,kh,jc]},{provide:ll,useExisting:Mh},{provide:Sh,useExisting:kh},{provide:kh,useClass:kh,deps:[Hd]},{provide:gd,useClass:gd,deps:[ad]},{provide:Ch,useClass:Ch,deps:[xh,ad]},[]];let Xh=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:jc,useValue:t.appId},{provide:yh,useExisting:jc},wh]}}}return e.\u0275fac=function(t){return new(t||e)(gi(e,12))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Qh,imports:[uh,Bd]}),e})();"undefined"!=typeof window&&window;class Kh{}function Jh(e,t){return{type:7,name:e,definitions:t,options:{}}}function ep(e,t=null){return{type:4,styles:t,timings:e}}function tp(e,t=null){return{type:2,steps:e,options:t}}function np(e){return{type:6,styles:e,offset:null}}function ip(e,t,n){return{type:0,name:e,styles:t,options:n}}function sp(e){return{type:5,steps:e}}function op(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function rp(e=null){return{type:9,options:e}}function ap(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function lp(e){Promise.resolve(null).then(e)}class cp{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){lp(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class dp{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const s=this.players.length;0==s?lp(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==s&&this._onFinish()}),e.onDestroy(()=>{++n==s&&this._onDestroy()}),e.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function up(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function hp(e){switch(e.length){case 0:return new cp;case 1:return e[0];default:return new dp(e)}}function pp(e,t,n,i,s={},o={}){const r=[],a=[];let l=-1,c=null;if(i.forEach(e=>{const n=e.offset,i=n==l,d=i&&c||{};Object.keys(e).forEach(n=>{let i=n,a=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,r),a){case"!":a=s[n];break;case"*":a=o[n];break;default:a=t.normalizeStyleValue(n,i,a,r)}d[i]=a}),i||a.push(d),c=d,l=n}),r.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${r.join(e)}`)}return a}function gp(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&fp(n,"start",e)));break;case"done":e.onDone(()=>i(n&&fp(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&fp(n,"destroy",e)))}}function fp(e,t,n){const i=n.totalTime,s=mp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(s._data=o),s}function mp(e,t,n,i,s="",o=0,r){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:s,totalTime:o,disabled:!!r}}function bp(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function vp(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let yp=(e,t)=>!1,wp=(e,t)=>!1,_p=(e,t,n)=>[];const xp=up();(xp||"undefined"!=typeof Element)&&(yp=(e,t)=>e.contains(t),wp=(()=>{if(xp||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):wp}})(),_p=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)i.push(n[e])}else{const n=e.querySelector(t);n&&i.push(n)}return i});let Cp=null,Ap=!1;function Sp(e){Cp||(Cp=("undefined"!=typeof document?document.body:null)||{},Ap=!!Cp.style&&"WebkitAppearance"in Cp.style);let t=!0;return Cp.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Cp.style,!t&&Ap)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Cp.style),t}const kp=wp,Ep=yp,Pp=_p;function Dp(e){const t={};return Object.keys(e).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let Op=(()=>{class e{validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,s,o=[],r){return new cp(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Mp=(()=>{class e{}return e.NOOP=new Op,e})();function Tp(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Ip(parseFloat(t[1]),t[2])}function Ip(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Rp(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,s=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=Ip(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(s=Ip(parseFloat(r),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:s,easing:o}}(e,t,n)}function Lp(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Fp(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else Lp(e,n);return n}function Bp(e,t,n){return n?t+":"+n+";":""}function zp(e){let t="";for(let n=0;n<e.style.length;n++){const i=e.style.item(n);t+=Bp(0,i,e.style.getPropertyValue(i))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Bp(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Vp(e,t,n){e.style&&(Object.keys(t).forEach(i=>{const s=qp(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[s]),e.style[s]=t[i]}),up()&&zp(e))}function Np(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=qp(t);e.style[n]=""}),up()&&zp(e))}function Hp(e){return Array.isArray(e)?1==e.length?e[0]:tp(e):e}const jp=new RegExp("{{\\s*(.+?)\\s*}}","g");function Up(e){let t=[];if("string"==typeof e){let n;for(;n=jp.exec(e);)t.push(n[1]);jp.lastIndex=0}return t}function Wp(e,t,n){const i=e.toString(),s=i.replace(jp,(e,i)=>{let s=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),s=""),s.toString()});return s==i?e:s}function Gp(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const $p=/-+([a-z0-9])/g;function qp(e){return e.replace($p,(...e)=>e[1].toUpperCase())}function Yp(e,t){return 0===e||0===t}function Zp(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],r=[];if(i.forEach(e=>{o.hasOwnProperty(e)||r.push(e),o[e]=n[e]}),r.length)for(var s=1;s<t.length;s++){let n=t[s];r.forEach(function(t){n[t]=Xp(e,t)})}}return t}function Qp(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 Xp(e,t){return window.getComputedStyle(e)[t]}function Kp(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const s=i[1],o=i[2],r=i[3];t.push(tg(s,r)),"<"!=o[0]||"*"==s&&"*"==r||t.push(tg(r,s))}(e,n,t)):n.push(e),n}const Jp=new Set(["true","1"]),eg=new Set(["false","0"]);function tg(e,t){const n=Jp.has(e)||eg.has(e),i=Jp.has(t)||eg.has(t);return(s,o)=>{let r="*"==e||e==s,a="*"==t||t==o;return!r&&n&&"boolean"==typeof s&&(r=s?Jp.has(e):eg.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Jp.has(t):eg.has(t)),r&&a}}const ng=new RegExp("s*:selfs*,?","g");function ig(e,t,n){return new sg(e).build(t,n)}class sg{constructor(e){this._driver=e}build(e,t){const n=new og(t);return this._resetContextStyleTimingState(n),Qp(this,Hp(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,s.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const s=this.visitTransition(e,t);n+=s.queryCount,i+=s.depCount,o.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const s=new Set,o=i||{};if(n.styles.forEach(e=>{if(rg(e)){const t=e;Object.keys(t).forEach(e=>{Up(t[e]).forEach(e=>{o.hasOwnProperty(e)||s.add(e)})})}}),s.size){const n=Gp(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Qp(this,Hp(e.animation),t);return{type:1,matchers:Kp(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ag(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Qp(this,e,t)),options:ag(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const s=e.steps.map(e=>{t.currentTime=n;const s=Qp(this,e,t);return i=Math.max(i,t.currentTime),s});return t.currentTime=i,{type:3,steps:s,options:ag(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return lg(Rp(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=lg(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||Rp(i,t),lg(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let s=e.styles?e.styles:np({});if(5==s.type)i=this.visitKeyframes(s,t);else{let s=e.styles,o=!1;if(!s){o=!0;const e={};n.easing&&(e.easing=n.easing),s=np(e)}t.currentTime+=n.duration+n.delay;const r=this.visitStyle(s,t);r.isEmptyStep=o,i=r}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?"*"==e?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,s=null;return n.forEach(e=>{if(rg(e)){const t=e,n=t.easing;if(n&&(s=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,s=t.currentTime;n&&s>0&&(s-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],r=o[n];let a=!0;r&&(s!=i&&s>=r.startTime&&i<=r.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=r.startTime),a&&(o[n]={startTime:s,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},s=Up(e);s.length&&s.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let o=!1,r=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(rg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(rg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),r=r||c<0||c>1,o=o||c<a,a=c,s.push(c),n});r&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let d=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));const u=c-1,h=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return l.forEach((e,i)=>{const o=d>0?i==u?1:d*i:s[i],r=o*g;t.currentTime=h+p.delay+r,p.duration=r,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Qp(this,Hp(e.animation),t),options:ag(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ag(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ag(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(ng,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+s:s,bp(t.collectedStyles,t.currentQuerySelector,{});const r=Qp(this,Hp(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:r,originalSelector:e.selector,options:ag(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Rp(e.timings,t.errors,!0);return{type:12,animation:Qp(this,Hp(e.animation),t),timings:n,options:null}}}class og{constructor(e){this.errors=e,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 rg(e){return!Array.isArray(e)&&"object"==typeof e}function ag(e){var t;return e?(e=Lp(e)).params&&(e.params=(t=e.params)?Lp(t):null):e={},e}function lg(e,t,n){return{duration:e,delay:t,easing:n}}function cg(e,t,n,i,s,o,r=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class dg{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ug=new RegExp(":enter","g"),hg=new RegExp(":leave","g");function pg(e,t,n,i,s,o={},r={},a,l,c=[]){return(new gg).buildKeyframes(e,t,n,i,s,o,r,a,l,c)}class gg{buildKeyframes(e,t,n,i,s,o,r,a,l,c=[]){l=l||new dg;const d=new mg(e,t,l,i,s,c,[]);d.options=a,d.currentTimeline.setStyles([o],null,d.errors,a),Qp(this,n,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(r).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([r],null,d.errors,a)}return u.length?u.map(e=>e.buildKeyframes()):[cg(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const s=null!=n.duration?Tp(n.duration):null,o=null!=n.delay?Tp(n.delay):null;return 0!==s&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,s,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),Qp(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const s=e.options;if(s&&(s.params||s.delay)&&(i=t.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=fg);const e=Tp(s.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Qp(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?Tp(e.options.delay):0;e.steps.forEach(o=>{const r=t.createSubContext(e.options);s&&r.delayNextStep(s),Qp(this,o,r),i=Math.max(i,r.currentTimeline.currentTime),n.push(r.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Rp(t.params?Wp(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(n.duration),this.visitStyle(s,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(s):n.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,s=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*s),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+s),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},s=i.delay?Tp(i.delay):0;s&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fg);let o=n;const r=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=r.length;let a=null;r.forEach((n,i)=>{t.currentQueryIndex=i;const r=t.createSubContext(e.options,n);s&&r.delayNextStep(s),n===t.element&&(a=r.currentTimeline),Qp(this,e.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),r=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Qp(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const fg={};class mg{constructor(e,t,n,i,s,o,r,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new bg(this._driver,t,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=Tp(n.duration)),null!=n.delay&&(i.delay=Tp(n.delay));const s=n.params;if(s){let e=i.params;e||(e=this.options.params={}),Object.keys(s).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Wp(s[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,s=new mg(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=fg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},s=new vg(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,s,o){let r=[];if(i&&r.push(this.element),e.length>0){e=(e=e.replace(ug,"."+this._enterClassName)).replace(hg,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),r.push(...t)}return s||0!=r.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),r}}class bg{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new bg(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||"*",this._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const s=i&&i.params||{},o=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]="*"})):Fp(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=Wp(o[e],s,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:"*"),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const r=Fp(s,!0);Object.keys(r).forEach(n=>{const i=r[n];"!"==i?e.add(n):"*"==i&&t.add(n)}),n||(r.offset=o/this.duration),i.push(r)});const s=e.size?Gp(e.values()):[],o=t.size?Gp(t.values()):[];if(n){const e=i[0],t=Lp(e);e.offset=0,t.offset=1,i=[e,t]}return cg(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class vg extends bg{constructor(e,t,n,i,s,o,r=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=n+t,r=t/o,a=Fp(e[0],!1);a.offset=0,s.push(a);const l=Fp(e[0],!1);l.offset=yg(r),s.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let r=Fp(e[i],!1);r.offset=yg((t+r.offset*n)/o),s.push(r)}n=o,t=0,i="",e=s}return cg(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function yg(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class wg{}class _g extends wg{normalizePropertyName(e,t){return qp(e)}normalizeStyleValue(e,t,n,i){let s="";const o=n.toString().trim();if(xg[t]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+s}}const xg=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Cg(e,t,n,i,s,o,r,a,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:n,fromStyles:o,toState:i,toStyles:r,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const Ag={};class Sg{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,s){return e.some(e=>e(t,n,i,s))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],s=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return s?s.buildStyles(t,n):o}build(e,t,n,i,s,o,r,a,l,c){const d=[],u=this.ast.options&&this.ast.options.params||Ag,h=this.buildStyles(n,r&&r.params||Ag,d),p=a&&a.params||Ag,g=this.buildStyles(i,p,d),f=new Set,m=new Map,b=new Map,v="void"===i,y={params:Object.assign(Object.assign({},u),p)},w=c?[]:pg(e,t,this.ast.animation,s,o,h,g,y,l,d);let _=0;if(w.forEach(e=>{_=Math.max(e.duration+e.delay,_)}),d.length)return Cg(t,this._triggerName,n,i,v,h,g,[],[],m,b,_,d);w.forEach(e=>{const n=e.element,i=bp(m,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const s=bp(b,n,{});e.postStyleProps.forEach(e=>s[e]=!0),n!==t&&f.add(n)});const x=Gp(f.values());return Cg(t,this._triggerName,n,i,v,h,g,w,x,m,b,_)}}class kg{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=Lp(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach(e=>{let o=s[e];o.length>1&&(o=Wp(o,i,t)),n[e]=o})}}),n}}class Eg{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new kg(e.style,e.options&&e.options.params||{})}),Pg(this.states,"true","1"),Pg(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Sg(e,t,this.states))}),this.fallbackTransition=new Sg(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(s=>s.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Pg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Dg=new dg;class Og{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=ig(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]=i}_buildPlayer(e,t,n){const i=e.element,s=pp(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],s=this._animations[e];let o;const r=new Map;if(s?(o=pg(this._driver,t,s,"ng-enter","ng-leave",{},{},n,Dg,i),o.forEach(e=>{const t=bp(r,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));r.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,"*")})});const a=hp(o.map(e=>{const t=r.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,i){const s=mp(t,"","","");return gp(this._getPlayer(e),n,s,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const s=this._getPlayer(e);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Mg=[],Tg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ig={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Rg{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=Lp(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Lg=new Rg("void");class Fg{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ug(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var s;const o=bp(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};o.push(r);const a=bp(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ug(e,"ng-trigger"),Ug(e,"ng-trigger-"+t),a[t]=Lg),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(r);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const s=this._getTrigger(t),o=new zg(this.id,t,e);let r=this._engine.statesByElement.get(e);r||(Ug(e,"ng-trigger"),Ug(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,r={}));let a=r[t];const l=new Rg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),r[t]=l,a||(a=Lg),"void"!==l.value&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(a.params,l.params)){const t=[],n=s.matchStyles(a.value,a.params,t),i=s.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Np(e,n),Vp(e,i)})}return}const c=bp(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=s.matchTransition(a.value,l.value,e,l.params),u=!1;if(!d){if(!i)return;d=s.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:a,toState:l,player:o,isFallbackTransition:u}),u||(Ug(e,"ng-animate-queued"),o.onStart(()=>{Wg(e,"ng-animate-queued")})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),c.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const s=this._engine.statesByElement.get(e);if(s){const o=[];if(Object.keys(s).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&hp(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const i=new Set;t.forEach(t=>{const s=t.name;if(i.has(s))return;i.add(s);const o=this._triggers[s].fallbackTransition,r=n[s]||Lg,a=new Rg("void"),l=new zg(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:o,fromState:r,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==Tg||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ug(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,o=this._elementListeners.get(s);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=mp(s,n.triggerName,n.fromState.value,n.toState.value);i._data=e,gp(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Bg{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Fg(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,t)){this._namespaceList.splice(s+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i<e.length;i++){const s=n[e[i]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,n,i){if(Vg(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Vg(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ug(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Wg(e,"ng-animate-disabled"))}removeNode(e,t,n,i){if(Vg(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,s){return Vg(t)?this._fetchNamespace(e).listen(t,n,i,s):()=>{}}_buildInstruction(e,t,n,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return hp(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Tg,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ug(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?hp(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new dg,i=[],s=new Map,o=[],r=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)c.add(t[n])});const d=this.bodyNode,u=Array.from(this.statesByElement.keys()),h=jg(u,this.collectedEnterElements),p=new Map;let g=0;h.forEach((e,t)=>{const n="ng-enter"+g++;p.set(t,n),e.forEach(e=>Ug(e,n))});const f=[],m=new Set,b=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const e=this.collectedLeaveElements[O],t=e.__ng_removed;t&&t.setForRemoval&&(f.push(e),m.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>m.add(e)):b.add(e))}const v=new Map,y=jg(u,Array.from(m));y.forEach((e,t)=>{const n="ng-leave"+g++;v.set(t,n),e.forEach(e=>Ug(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Wg(e,n))}),y.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>Wg(e,n))}),f.forEach(e=>{this.processLeaveNode(e)})});const w=[],_=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(e=>{const t=e.player,s=e.element;if(w.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!d||!this.driver.containsElement(d,s),u=v.get(s),h=p.get(s),g=this._buildInstruction(e,n,h,u,c);if(g.errors&&g.errors.length)_.push(g);else{if(c)return t.onStart(()=>Np(s,g.fromStyles)),t.onDestroy(()=>Vp(s,g.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>Np(s,g.fromStyles)),t.onDestroy(()=>Vp(s,g.toStyles)),void i.push(t);g.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(s,g.timelines),o.push({instruction:g,player:t,element:s}),g.queriedElements.forEach(e=>bp(r,e,[]).push(t)),g.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),g.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=l.get(t);i||l.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(_.length){const e=[];_.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,C=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{bp(x,t,[]).push(e),e.destroy()})});const A=f.filter(e=>qg(e,a,l)),S=new Map;Hg(S,this.driver,b,l,"*").forEach(e=>{qg(e,a,l)&&A.push(e)});const k=new Map;h.forEach((e,t)=>{Hg(k,this.driver,new Set(e),a,"!")}),A.forEach(e=>{const t=S.get(e),n=k.get(e);S.set(e,Object.assign(Object.assign({},t),n))});const E=[],P=[],D={};o.forEach(e=>{const{element:t,player:o,instruction:r}=e;if(n.has(t)){if(c.has(t))return o.onDestroy(()=>Vp(t,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void i.push(o);let e=D;if(C.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>C.set(t,e))}const n=this._buildAnimation(o.namespaceId,r,x,s,k,S);if(o.setRealPlayer(n),e===D)E.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=hp(t)),i.push(o)}}else Np(t,r.fromStyles),o.onDestroy(()=>Vp(t,r.toStyles)),P.push(o),c.has(t)&&i.push(o)}),P.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const n=hp(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let O=0;O<f.length;O++){const e=f[O],t=e.__ng_removed;if(Wg(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(r.size){let t=r.get(e);t&&t.length&&n.push(...t);let i=this.driver.query(e,".ng-animating",!0);for(let e=0;e<i.length;e++){let t=r.get(i[e]);t&&t.length&&n.push(...t)}}const i=n.filter(e=>!e.destroyed);i.length?Gg(this,e,i):this.processLeaveNode(e)}return f.length=0,E.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),E}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.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}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,s){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||"void"==s;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const r of t.timelines){const e=r.element,a=e!==i,l=bp(n,e,[]);this._getPreviousPlayers(e,a,s,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Np(i,t.fromStyles)}_buildAnimation(e,t,n,i,s,o){const r=t.triggerName,a=t.element,l=[],c=new Set,d=new Set,u=t.timelines.map(t=>{const u=t.element;c.add(u);const h=u.__ng_removed;if(h&&h.removedBeforeQueried)return new cp(t.duration,t.delay);const p=u!==a,g=function(e){const t=[];return $g(e,t),t}((n.get(u)||Mg).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===u),f=s.get(u),m=o.get(u),b=pp(0,this._normalizer,0,t.keyframes,f,m),v=this._buildPlayer(t,b,g);if(t.subTimeline&&i&&d.add(u),p){const t=new zg(e,r,u);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{bp(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>Ug(e,"ng-animating"));const h=hp(u);return h.onDestroy(()=>{c.forEach(e=>Wg(e,"ng-animating")),Vp(a,t.toStyles)}),d.forEach(e=>{bp(i,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new cp(e.duration,e.delay)}}class zg{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new cp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>gp(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){bp(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Vg(e){return e&&1===e.nodeType}function Ng(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Hg(e,t,n,i,s){const o=[];n.forEach(e=>o.push(Ng(e)));const r=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,s);n&&0!=n.length||(i.__ng_removed=Ig,r.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>Ng(e,o[a++])),r}function jg(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),s=new Map;function o(e){if(!e)return 1;let t=s.get(e);if(t)return t;const r=e.parentNode;return t=n.has(r)?r:i.has(r)?1:o(r),s.set(e,t),t}return t.forEach(e=>{const t=o(e);1!==t&&n.get(t).push(e)}),n}function Ug(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Wg(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Gg(e,t,n){hp(n).onDone(()=>e.processLeaveNode(t))}function $g(e,t){for(let n=0;n<e.length;n++){const i=e[n];i instanceof dp?$g(i.players,t):t.push(i)}}function qg(e,t,n){const i=n.get(e);if(!i)return!1;let s=t.get(e);return s?i.forEach(e=>s.add(e)):t.set(e,i),n.delete(e),!0}class Yg{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Bg(e,t,n),this._timelineEngine=new Og(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,s){const o=e+"-"+i;let r=this._triggerCache[o];if(!r){const e=[],t=ig(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);r=function(e,t){return new Eg(e,t)}(i,t),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(t,i,r)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,s]=vp(n);this._timelineEngine.command(e,t,s,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,s){if("@"==n.charAt(0)){const[e,i]=vp(n);return this._timelineEngine.listen(e,t,i,s)}return this._transitionEngine.listen(e,t,n,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Zg(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=Xg(t[0]),t.length>1&&(i=Xg(t[t.length-1]))):t&&(n=Xg(t)),n||i?new Qg(e,n,i):null}let Qg=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Vp(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vp(this._element,this._initialStyles),this._endStyles&&(Vp(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Np(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Np(this._element,this._endStyles),this._endStyles=null),Vp(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Xg(e){let t=null;const n=Object.keys(e);for(let i=0;i<n.length;i++){const s=n[i];Kg(s)&&(t=t||{},t[s]=e[s])}return t}function Kg(e){return"display"===e||"position"===e}class Jg{constructor(e,t,n,i,s,o,r){this._element=e,this._name=t,this._duration=n,this._delay=i,this._easing=s,this._fillMode=o,this._onDoneFn=r,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=rf(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i<e.length;i++)","===e.charAt(i)&&n++}(n),t=`${n}, ${t}`),of(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),sf(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ef(this._element,this._name,"paused")}resume(){ef(this._element,this._name,"running")}setPosition(e){const t=tf(this._element,this._name);this._position=e*this._duration,of(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const 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()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),sf(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=rf(e,"").split(","),i=nf(n,t);i>=0&&(n.splice(i,1),of(e,"",n.join(",")))}(this._element,this._name))}}function ef(e,t,n){of(e,"PlayState",n,tf(e,t))}function tf(e,t){const n=rf(e,"");return n.indexOf(",")>0?nf(n.split(","),t):nf([n],t)}function nf(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function sf(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function of(e,t,n,i){const s="animation"+t;if(null!=i){const t=e.style[s];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[s]=n}function rf(e,t){return e.style["animation"+t]||""}class af{constructor(e,t,n,i,s,o,r,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Jg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:Xp(this.element,n))})}this.currentSnapshot=e}}class lf extends cp{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Dp(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class cf{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Dp(e));let i=`@keyframes ${t} {\n`,s="";n.forEach(e=>{s=" ";const t=parseFloat(e.offset);i+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${t}: ${n};\n`)}}),i+=s+"}\n"}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(e,t,n,i,s,o=[],r){const a=o.filter(e=>e instanceof af),l={};Yp(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Zp(e,t,l));if(0==n)return new lf(e,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=Zg(e,t),p=new af(e,t,d,n,i,s,c,h);return p.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),p}}class df{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:Xp(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class uf{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(hf().toString()),this._cssKeyframesDriver=new cf}validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,s,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=o.filter(e=>e instanceof df);Yp(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=Zg(e,t=Zp(e,t=t.map(e=>Fp(e,!1)),l));return new df(e,t,a,d)}}function hf(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let pf=(()=>{class e extends Kh{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:De.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?tp(e):e;return mf(this._renderer,null,t,"register",[n]),new gf(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(gi(ll),gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class gf extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ff(this._id,e,t||{},this._renderer)}}class ff{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return mf(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function mf(e,t,n,i,s){return e.setProperty(t,`@@${n}:${i}`,s)}let bf=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new vf("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,s,e,t.name,t)};return t.data.animation.forEach(o),new yf(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(gi(ll),gi(Yg),gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class vf{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class yf extends vf{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(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)}listen(e,t,n){if("@"==t.charAt(0)){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let wf=(()=>{class e extends Yg{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(Mp),gi(wg))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const _f=new Xn("AnimationModuleType"),xf=[{provide:Mp,useFactory:function(){return"function"==typeof hf()?new uf:new cf}},{provide:_f,useValue:"BrowserAnimations"},{provide:Kh,useClass:pf},{provide:wg,useFactory:function(){return new _g}},{provide:Yg,useClass:wf},{provide:ll,useFactory:function(e,t,n){return new bf(e,t,n)},deps:[Mh,Yg,ad]}];let Cf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:xf,imports:[Xh]}),e})();function Af(...e){if(1===e.length){const t=e[0];if(l(t))return Sf(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Sf(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return Sf(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(k(e=>t(...e)))}return Sf(e,null)}function Sf(e,t){return new v(n=>{const i=e.length;if(0===i)return void n.complete();const s=new Array(i);let o=0,r=0;for(let a=0;a<i;a++){const l=F(e[a]);let c=!1;n.add(l.subscribe({next:e=>{c||(c=!0,r++),s[a]=e},error:e=>n.error(e),complete:()=>{o++,o!==i&&c||(r===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=s[n],e),{}):s),n.complete())}}))}})}class kf{}const Ef=new Xn("NgValueAccessor"),Pf={provide:Ef,useExisting:re(()=>Df),multi:!0};let Df=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[Ja([Pf]),vr]}),e})();const Of={provide:Ef,useExisting:re(()=>Tf),multi:!0},Mf=new Xn("CompositionEventMode");let Tf=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Nd()?Nd().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl),zr(Mf,8))},e.\u0275dir=Ke({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Xr("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[Ja([Of])]}),e})();function If(e){return null==e||0===e.length}function Rf(e){return null!=e&&"number"==typeof e.length}const Lf=new Xn("NgValidators"),Ff=new Xn("NgAsyncValidators"),Bf=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zf{static min(e){return function(e){return t=>{if(If(t.value)||If(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)}static max(e){return function(e){return t=>{if(If(t.value)||If(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}static required(e){return Vf(e)}static requiredTrue(e){return function(e){return!0===e.value?null:{required:!0}}(e)}static email(e){return function(e){return If(e.value)||Bf.test(e.value)?null:{email:!0}}(e)}static minLength(e){return function(e){return t=>If(t.value)||!Rf(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(e)}static maxLength(e){return Nf(e)}static pattern(e){return Hf(e)}static nullValidator(e){return null}static compose(e){return Yf(e)}static composeAsync(e){return Qf(e)}}function Vf(e){return If(e.value)?{required:!0}:null}function Nf(e){return t=>Rf(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function Hf(e){if(!e)return jf;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(If(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function jf(e){return null}function Uf(e){return null!=e}function Wf(e){const t=Yr(e)?F(e):e;return Qr(t),t}function Gf(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function $f(e,t){return t.map(t=>t(e))}function qf(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function Yf(e){if(!e)return null;const t=e.filter(Uf);return 0==t.length?null:function(e){return Gf($f(e,t))}}function Zf(e){return null!=e?Yf(qf(e)):null}function Qf(e){if(!e)return null;const t=e.filter(Uf);return 0==t.length?null:function(e){return Af($f(e,t).map(Wf)).pipe(k(Gf))}}function Xf(e){return null!=e?Qf(qf(e)):null}function Kf(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Jf(e){return e._rawValidators}function em(e){return e._rawAsyncValidators}let tm=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Zf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Xf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e}),e})(),nm=(()=>{class e extends tm{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return im(t||e)},e.\u0275dir=Ke({type:e,features:[vr]}),e})();const im=$n(nm);class sm extends tm{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class om{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let rm=(()=>{class e extends om{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(sm,2))},e.\u0275dir=Ke({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ma("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vr]}),e})(),am=(()=>{class e extends om{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,10))},e.\u0275dir=Ke({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&ma("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vr]}),e})();function lm(e,t){return[...t.path,e]}function cm(e,t){hm(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&gm(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&gm(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function dm(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),pm(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function um(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function hm(e,t,n){const i=Jf(e);null!==t.validator?e.setValidators(Kf(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const s=em(e);if(null!==t.asyncValidator?e.setAsyncValidators(Kf(s,t.asyncValidator)):"function"==typeof s&&e.setAsyncValidators([s]),n){const n=()=>e.updateValueAndValidity();um(t._rawValidators,n),um(t._rawAsyncValidators,n)}}function pm(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=Jf(e);if(Array.isArray(n)&&n.length>0){const s=n.filter(e=>e!==t.validator);s.length!==n.length&&(i=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const n=em(e);if(Array.isArray(n)&&n.length>0){const s=n.filter(e=>e!==t.asyncValidator);s.length!==n.length&&(i=!0,e.setAsyncValidators(s))}}}if(n){const e=()=>{};um(t._rawValidators,e),um(t._rawAsyncValidators,e)}return i}function gm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function fm(e,t){hm(e,t,!1)}function mm(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function bm(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function vm(e,t){if(!t)return null;Array.isArray(t);let n=void 0,i=void 0,s=void 0;return t.forEach(e=>{e.constructor===Tf?n=e:Object.getPrototypeOf(e.constructor)===kf?i=e:s=e}),s||i||n||null}function ym(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wm(e){return(Am(e)?e.validators:e)||null}function _m(e){return Array.isArray(e)?Zf(e):e||null}function xm(e,t){return(Am(t)?t.asyncValidators:e)||null}function Cm(e){return Array.isArray(e)?Xf(e):e||null}function Am(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Sm{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=_m(this._rawValidators),this._composedAsyncValidatorFn=Cm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=_m(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Cm(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){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)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=Wf(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof Em?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Pm&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new yc,this.statusChanges=new yc}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Am(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class km extends Sm{constructor(e=null,t,n){super(wm(t),xm(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ym(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ym(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(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}}class Em extends Sm{constructor(e,t,n){super(wm(t),xm(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof km?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Pm extends Sm{constructor(e,t,n){super(wm(t),xm(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof km?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Dm={provide:nm,useExisting:re(()=>Mm)},Om=(()=>Promise.resolve(null))();let Mm=(()=>{class e extends nm{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new yc,this.form=new Em({},Zf(e),Xf(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Om.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),cm(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Om.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ym(this._directives,e)})}addFormGroup(e){Om.then(()=>{const t=this._findContainer(e.path),n=new Em({});fm(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Om.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Om.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,bm(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10))},e.\u0275dir=Ke({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Xr("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([Dm]),vr]}),e})();const Tm={provide:sm,useExisting:re(()=>Rm)},Im=(()=>Promise.resolve(null))();let Rm=(()=>{class e extends sm{constructor(e,t,n,i){super(),this.control=new km,this._registered=!1,this.update=new yc,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=vm(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),mm(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?lm(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){cm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Im.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Im.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,9),zr(Lf,10),zr(Ff,10),zr(Ef,10))},e.\u0275dir=Ke({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ja([Tm]),vr,dt]}),e})(),Lm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Fm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();const Bm=new Xn("NgModelWithFormControlWarning"),zm={provide:sm,useExisting:re(()=>Vm)};let Vm=(()=>{class e extends sm{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new yc,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=vm(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&dm(t,this,!1),cm(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}mm(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10),zr(Ef,10),zr(Bm,8))},e.\u0275dir=Ke({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ja([zm]),vr,dt]}),e._ngModelWarningSentOnce=!1,e})();const Nm={provide:nm,useExisting:re(()=>Hm)};let Hm=(()=>{class e extends nm{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new yc,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(pm(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return cm(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){dm(e.control||null,e,!1),ym(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,bm(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(dm(t||null,e),n instanceof km&&(cm(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);fm(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return pm(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hm(this.form,this,!1),this._oldForm&&pm(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10))},e.\u0275dir=Ke({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Xr("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([Nm]),vr,dt]}),e})();const jm={provide:sm,useExisting:re(()=>Um)};let Um=(()=>{class e extends sm{constructor(e,t,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new yc,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=vm(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),mm(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return lm(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,13),zr(Lf,10),zr(Ff,10),zr(Ef,10),zr(Bm,8))},e.\u0275dir=Ke({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ja([jm]),vr,dt]}),e._ngModelWarningSentOnce=!1,e})();const Wm={provide:Ef,useExisting:re(()=>$m),multi:!0};function Gm(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let $m=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Gm(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ja([Wm]),vr]}),e})(),qm=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Gm(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr($m,9))},e.\u0275dir=Ke({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Ym={provide:Ef,useExisting:re(()=>Qm),multi:!0};function Zm(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Qm=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const i=e.item(t),s=this._getOptionValue(i.value);n.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e.item(t);if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ja([Ym]),vr]}),e})(),Xm=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Zm(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Zm(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr(Qm,9))},e.\u0275dir=Ke({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Km={provide:Lf,useExisting:re(()=>Jm),multi:!0};let Jm=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?Vf(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("required",t.required?"":null)},inputs:{required:"required"},features:[Ja([Km])]}),e})();const eb={provide:Lf,useExisting:re(()=>tb),multi:!0};let tb=(()=>{class e{constructor(){this._validator=jf}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Nf("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ja([eb]),dt]}),e})();const nb={provide:Lf,useExisting:re(()=>ib),multi:!0};let ib=(()=>{class e{constructor(){this._validator=jf}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Hf(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[Ja([nb]),dt]}),e})(),sb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[Fm]]}),e})(),ob=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[sb]}),e})(),rb=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Bm,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[sb]}),e})(),ab=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i=null,s=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new Em(n,{asyncValidators:s,updateOn:o,validators:i})}control(e,t,n){return new km(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new Pm(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof km||e instanceof Em||e instanceof Pm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:rb}),e})();function lb(...e){let t=e[e.length-1];return S(t)?(e.pop(),L(e,t)):W(e)}function cb(e,t){return N(e,t,1)}function db(e,t){return function(n){return n.lift(new ub(e,t))}}class ub{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new hb(e,this.predicate,this.thisArg))}}class hb extends g{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class pb{}class gb{}class fb{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof fb?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new fb;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof fb?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class mb{encodeKey(e){return bb(e)}encodeValue(e){return bb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function bb(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,"/")}class vb{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new mb,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[s,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],r=n.get(s)||[];r.push(o),n.set(s,r)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new vb({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function yb(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function wb(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class xb{constructor(e,t,n,i){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new fb),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new vb,this.urlWithParams=t}serializeBody(){return null===this.body?null:yb(this.body)||wb(this.body)||_b(this.body)||"string"==typeof this.body?this.body:this.body instanceof vb?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_b(this.body)?null:wb(this.body)?this.body.type||null:yb(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof vb?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,r=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new xb(t,n,s,{params:l,headers:a,reportProgress:r,responseType:i,withCredentials:o})}}var Cb=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class Ab{constructor(e,t=200,n="OK"){this.headers=e.headers||new fb,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Sb extends Ab{constructor(e={}){super(e),this.type=Cb.ResponseHeader}clone(e={}){return new Sb({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class kb extends Ab{constructor(e={}){super(e),this.type=Cb.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new kb({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Eb extends Ab{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Pb(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Db=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof xb)i=e;else{let s=void 0;s=n.headers instanceof fb?n.headers:new fb(n.headers);let o=void 0;n.params&&(o=n.params instanceof vb?n.params:new vb({fromObject:n.params})),i=new xb(e,t,void 0!==n.body?n.body:null,{headers:s,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=lb(i).pipe(cb(e=>this.handler.handle(e)));if(e instanceof xb||"events"===n.observe)return s;const o=s.pipe(db(e=>e instanceof kb));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe(k(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe(k(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new vb).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,Pb(n,t))}post(e,t,n={}){return this.request("POST",e,Pb(n,t))}put(e,t,n={}){return this.request("PUT",e,Pb(n,t))}}return e.\u0275fac=function(t){return new(t||e)(gi(pb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Ob{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Mb=new Xn("HTTP_INTERCEPTORS");let Tb=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Ib=/^\)\]\}',?\n/;class Rb{}let Lb=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Fb=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new fb(n.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new Sb({headers:o,status:t,statusText:i,url:r}),s},r=()=>{let{headers:i,status:s,statusText:r,url:a}=o(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(Ib,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new kb({body:l,headers:i,status:s,statusText:r,url:a||void 0})),t.complete()):t.error(new Eb({error:l,headers:i,status:s,statusText:r,url:a||void 0}))},a=e=>{const{url:i}=o(),s=new Eb({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(s)};let l=!1;const c=i=>{l||(t.next(o()),l=!0);let s={type:Cb.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},d=e=>{let n={type:Cb.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",r),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),t.next({type:Cb.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",r),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(gi(Rb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Bb=new Xn("XSRF_COOKIE_NAME"),zb=new Xn("XSRF_HEADER_NAME");class Vb{}let Nb=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi($c),gi(Bb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Hb=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Vb),gi(zb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),jb=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Mb,[]);this.chain=e.reduceRight((e,t)=>new Ob(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(gb),gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Ub=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Hb,useClass:Tb}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Bb,useValue:t.cookieName}:[],t.headerName?{provide:zb,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[Hb,{provide:Mb,useExisting:Hb,multi:!0},{provide:Vb,useClass:Nb},{provide:Bb,useValue:"XSRF-TOKEN"},{provide:zb,useValue:"X-XSRF-TOKEN"}]}),e})(),Wb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[Db,{provide:pb,useClass:jb},Fb,{provide:gb,useExisting:Fb},Lb,{provide:Rb,useExisting:Lb}],imports:[[Ub.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();class Gb extends C{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}class $b extends g{notifyNext(e,t,n,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class qb extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Yb(e,t,n,i,s=new qb(e,n,i)){if(!s.closed)return t instanceof v?t.subscribe(s):R(t)(s)}const Zb={};function Qb(...e){let t=void 0,n=void 0;return S(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),W(e,n).lift(new Xb(t))}class Xb{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Kb(e,this.resultSelector))}}class Kb extends $b{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Zb),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(Yb(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const i=this.values,s=this.toRespond?i[n]===Zb?--this.toRespond:this.toRespond:0;i[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const Jb=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function ev(...e){return U(1)(lb(...e))}const tv=new v(e=>e.complete());function nv(e){return e?function(e){return new v(t=>e.schedule(()=>t.complete()))}(e):tv}function iv(e){return new v(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?F(n):nv()).subscribe(t)})}function sv(e,t){return"function"==typeof t?n=>n.pipe(sv((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))))):t=>t.lift(new ov(e))}class ov{constructor(e){this.project=e}call(e,t){return t.subscribe(new rv(e,this.project))}}class rv extends z{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new B(this),i=this.destination;i.add(n),this.innerSubscription=V(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const av=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function lv(e){return t=>0===e?nv():t.lift(new cv(e))}class cv{constructor(e){if(this.total=e,this.total<0)throw new av}call(e,t){return t.subscribe(new dv(e,this.total))}}class dv extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function uv(...e){const t=e[e.length-1];return S(t)?(e.pop(),n=>ev(e,n,t)):t=>ev(e,t)}function hv(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new pv(e,t,n))}}class pv{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new gv(e,this.accumulator,this.seed,this.hasSeed))}}class gv extends g{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function fv(e){return function(t){const n=new mv(e),i=t.lift(n);return n.caught=i}}class mv{constructor(e){this.selector=e}call(e,t){return t.subscribe(new bv(e,this.selector,this.caught))}}class bv extends z{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new B(this);this.add(i);const s=V(n,i);s!==i&&this.add(s)}}}function vv(e){return function(t){return 0===e?nv():t.lift(new yv(e))}}class yv{constructor(e){if(this.total=e,this.total<0)throw new av}call(e,t){return t.subscribe(new wv(e,this.total))}}class wv extends g{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(i[s])}}e.complete()}}function _v(e=Av){return t=>t.lift(new xv(e))}class xv{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Cv(e,this.errorFactory))}}class Cv extends g{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Av(){return new Jb}function Sv(e=null){return t=>t.lift(new kv(e))}class kv{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Ev(e,this.defaultValue))}}class Ev extends g{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Pv(e,t){const n=arguments.length>=2;return i=>i.pipe(e?db((t,n)=>e(t,n,i)):b,lv(1),n?Sv(t):_v(()=>new Jb))}function Dv(){}function Ov(e,t,n){return function(i){return i.lift(new Mv(e,t,n))}}class Mv{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Tv(e,this.nextOrObserver,this.error,this.complete))}}class Tv extends g{constructor(e,t,n,s){super(e),this._tapNext=Dv,this._tapError=Dv,this._tapComplete=Dv,this._tapError=n||Dv,this._tapComplete=s||Dv,i(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Dv,this._tapError=t.error||Dv,this._tapComplete=t.complete||Dv)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Iv(e){return t=>t.lift(new Rv(e))}class Rv{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Lv(e,this.callback))}}class Lv extends g{constructor(e,t){super(e),this.add(new u(t))}}class Fv{constructor(e,t){this.id=e,this.url=t}}class Bv extends Fv{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zv extends Fv{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vv extends Fv{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Nv extends Fv{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Uv extends Fv{constructor(e,t,n,i,s){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Wv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $v{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class qv{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yv{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zv{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qv{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xv{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kv{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Jv{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ey(e){return new Jv(e)}function ty(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ny(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const s={};for(let o=0;o<i.length;o++){const t=i[o],n=e[o];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,i.length),posParams:s}}function iy(e,t){const n=e?Object.keys(e):void 0,i=t?Object.keys(t):void 0;if(!n||!i||n.length!=i.length)return!1;let s;for(let o=0;o<n.length;o++)if(s=n[o],!sy(e[s],t[s]))return!1;return!0}function sy(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),i=[...t].sort();return n.every((e,t)=>i[t]===e)}return e===t}function oy(e){return Array.prototype.concat.apply([],e)}function ry(e){return e.length>0?e[e.length-1]:null}function ay(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ly(e){return Qr(e)?e:Yr(e)?F(Promise.resolve(e)):lb(e)}function cy(e,t,n){return n?function(e,t){return iy(e,t)}(e.queryParams,t.queryParams)&&dy(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>sy(e[n],t[n]))}(e.queryParams,t.queryParams)&&uy(e.root,t.root)}function dy(e,t){if(!my(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!dy(e.children[n],t.children[n]))return!1}return!0}function uy(e,t){return hy(e,t,t.segments)}function hy(e,t,n){if(e.segments.length>n.length)return!!my(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!my(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!uy(e.children[n],t.children[n]))return!1}return!0}{const i=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!my(e.segments,i)&&!!e.children.primary&&hy(e.children.primary,t,s)}}class py{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}toString(){return yy.serialize(this)}}class gy{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ay(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wy(this)}}class fy{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ey(this.parameters)),this._parameterMap}toString(){return Ey(this)}}function my(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class by{}class vy{parse(e){const t=new Ty(e);return new py(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+_y(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Cy(t)}=${Cy(e)}`).join("&"):`${Cy(t)}=${Cy(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const yy=new vy;function wy(e){return e.segments.map(e=>Ey(e)).join("/")}function _y(e,t){if(!e.hasChildren())return wy(e);if(t){const t=e.children.primary?_y(e.children.primary,!1):"",n=[];return ay(e.children,(e,t)=>{"primary"!==t&&n.push(`${t}:${_y(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ay(e.children,(e,i)=>{"primary"===i&&(n=n.concat(t(e,i)))}),ay(e.children,(e,i)=>{"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>"primary"===n?[_y(e.children.primary,!1)]:[`${n}:${_y(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${wy(e)}/${t[0]}`:`${wy(e)}/(${t.join("//")})`}}function xy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cy(e){return xy(e).replace(/%3B/gi,";")}function Ay(e){return xy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Sy(e){return decodeURIComponent(e)}function ky(e){return Sy(e.replace(/\+/g,"%20"))}function Ey(e){return`${Ay(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ay(e)}=${Ay(t[e])}`).join("")}`;var t}const Py=/^[^\/()?;=#]+/;function Dy(e){const t=e.match(Py);return t?t[0]:""}const Oy=/^[^=?&#]+/,My=/^[^?&#]+/;class Ty{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gy([],{}):new gy([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new gy(e,t)),n}parseSegment(){const e=Dy(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new fy(Sy(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Dy(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Dy(this.remaining);e&&(n=e,this.capture(n))}e[Sy(t)]=Sy(n)}parseQueryParam(e){const t=function(e){const t=e.match(Oy);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(My);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=ky(t),s=ky(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(s)}else e[i]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Dy(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s="primary");const o=this.parseChildren();t[s]=1===Object.keys(o).length?o.primary:new gy([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Iy{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ry(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ry(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ly(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ly(e,this._root).map(e=>e.value)}}function Ry(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ry(e,n);if(t)return t}return null}function Ly(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Ly(e,n);if(i.length)return i.unshift(t),i}return[]}class Fy{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function By(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class zy extends Iy{constructor(e,t){super(e),this.snapshot=t,Wy(this,e)}toString(){return this.snapshot.toString()}}function Vy(e,t){const n=function(e,t){const n=new jy([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Uy("",new Fy(n,[]))}(e,t),i=new Gb([new fy("",{})]),s=new Gb({}),o=new Gb({}),r=new Gb({}),a=new Gb(""),l=new Ny(i,s,r,a,o,"primary",t,n.root);return l.snapshot=n.root,new zy(new Fy(l,[]),n)}class Ny{constructor(e,t,n,i,s,o,r,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(k(e=>ey(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(k(e=>ey(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hy(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class jy{constructor(e,t,n,i,s,o,r,a,l,c,d){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ey(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Uy extends Iy{constructor(e,t){super(t),this.url=e,Wy(this,t)}toString(){return Gy(this._root)}}function Wy(e,t){t.value._routerState=e,t.children.forEach(t=>Wy(e,t))}function Gy(e){const t=e.children.length>0?` { ${e.children.map(Gy).join(", ")} } `:"";return`${e.value}${t}`}function $y(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,iy(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),iy(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!iy(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),iy(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function qy(e,t){var n,i;return iy(e.params,t.params)&&my(n=e.url,i=t.url)&&n.every((e,t)=>iy(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||qy(e.parent,t.parent))}function Yy(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const s=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return Yy(e,t,i);return Yy(e,t)})}(e,t,n);return new Fy(i,s)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Zy(t,e),e}{const n=new Ny(new Gb((i=t.value).url),new Gb(i.params),new Gb(i.queryParams),new Gb(i.fragment),new Gb(i.data),i.outlet,i.component,i),s=t.children.map(t=>Yy(e,t));return new Fy(n,s)}}var i}function Zy(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)Zy(e.children[n],t.children[n])}function Qy(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Xy(e){return"object"==typeof e&&null!=e&&e.outlets}function Ky(e,t,n,i,s){let o={};return i&&ay(i,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new py(n.root===e?t:Jy(n.root,e,t),o,s)}function Jy(e,t,n){const i={};return ay(e.children,(e,s)=>{i[s]=e===t?n:Jy(e,t,n)}),new gy(e.segments,i)}class ew{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Qy(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Xy);if(i&&i!==ry(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class tw{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function nw(e,t,n){if(e||(e=new gy([],{})),0===e.segments.length&&e.hasChildren())return iw(e,t,n);const i=function(e,t,n){let i=0,s=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(i>=n.length)return o;const t=e.segments[s],r=n[i];if(Xy(r))break;const a=""+r,l=i<n.length-1?n[i+1]:null;if(s>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!aw(a,l,t))return o;i+=2}else{if(!aw(a,{},t))return o;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(e,t,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new gy(e.segments.slice(0,i.pathIndex),{});return t.children.primary=new gy(e.segments.slice(i.pathIndex),e.children),iw(t,0,s)}return i.match&&0===s.length?new gy(e.segments,{}):i.match&&!e.hasChildren()?sw(e,t,n):i.match?iw(e,0,s):sw(e,t,n)}function iw(e,t,n){if(0===n.length)return new gy(e.segments,{});{const i=function(e){return Xy(e[0])?e[0].outlets:{primary:e}}(n),s={};return ay(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=nw(e.children[i],t,n))}),ay(e.children,(e,t)=>{void 0===i[t]&&(s[t]=e)}),new gy(e.segments,s)}}function sw(e,t,n){const i=e.segments.slice(0,t);let s=0;for(;s<n.length;){const o=n[s];if(Xy(o)){const e=ow(o.outlets);return new gy(i,e)}if(0===s&&Qy(n[0])){i.push(new fy(e.segments[t].path,rw(n[0]))),s++;continue}const r=Xy(o)?o.outlets.primary:""+o,a=s<n.length-1?n[s+1]:null;r&&a&&Qy(a)?(i.push(new fy(r,rw(a))),s+=2):(i.push(new fy(r,{})),s++)}return new gy(i,{})}function ow(e){const t={};return ay(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=sw(new gy([],{}),0,e))}),t}function rw(e){const t={};return ay(e,(e,n)=>t[n]=""+e),t}function aw(e,t,n){return e==n.path&&iy(t,n.parameters)}class lw{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),$y(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=By(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),ay(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,s=t?t.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,s=By(e);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const i=By(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Xv(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Zv(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,s=t?t.value:null;if($y(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),cw(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=s,t.outlet&&t.outlet.activateWith(i,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function cw(e){$y(e.value),e.children.forEach(cw)}class dw{constructor(e,t){this.routes=e,this.module=t}}function uw(e){return"function"==typeof e}function hw(e){return e instanceof py}const pw=Symbol("INITIAL_VALUE");function gw(){return sv(e=>Qb(e.map(e=>e.pipe(lv(1),uv(pw)))).pipe(hv((e,t)=>{let n=!1;return t.reduce((e,i,s)=>{if(e!==pw)return e;if(i===pw&&(n=!0),!n){if(!1===i)return i;if(s===t.length-1||hw(i))return i}return e},e)},pw),db(e=>e!==pw),k(e=>hw(e)?e:!0===e),lv(1)))}let fw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ur(0,"router-outlet")},directives:function(){return[d_]},encapsulation:2}),e})();function mw(e,t=""){for(let n=0;n<e.length;n++){const i=e[n];bw(i,vw(t,i))}}function bw(e,t){e.children&&mw(e.children,t)}function vw(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function yw(e){const t=e.children&&e.children.map(yw),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=fw),n}function ww(e){return e.outlet||"primary"}function _w(e,t){const n=e.filter(e=>ww(e)===t);return n.push(...e.filter(e=>ww(e)!==t)),n}const xw={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Cw(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xw):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(t.matcher||ny)(n,e,t);if(!s)return Object.assign({},xw);const o={};ay(s.posParams,(e,t)=>{o[t]=e.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Aw(e,t,n,i,s="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Sw(e,t,n)&&"primary"!==ww(n))}(e,n,i)){const s=new gy(t,function(e,t,n,i){const s={};s.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&"primary"!==ww(o)){const n=new gy([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[ww(o)]=n}return s}(e,t,i,new gy(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Sw(e,t,n))}(e,n,i)){const o=new gy(e.segments,function(e,t,n,i,s,o){const r={};for(const a of i)if(Sw(e,n,a)&&!s[ww(a)]){const n=new gy([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,r[ww(a)]=n}return Object.assign(Object.assign({},s),r)}(e,t,n,i,e.children,s));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new gy(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Sw(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function kw(e,t,n,i){return!!(ww(e)===i||"primary"!==i&&Sw(t,n,e))&&("**"===e.path||Cw(t,e,n).matched)}function Ew(e,t,n){return 0===t.length&&!e.children[n]}class Pw{constructor(e){this.segmentGroup=e||null}}class Dw{constructor(e){this.urlTree=e}}function Ow(e){return new v(t=>t.error(new Pw(e)))}function Mw(e){return new v(t=>t.error(new Dw(e)))}function Tw(e){return new v(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Iw{constructor(e,t,n,i,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(jl)}apply(){const e=Aw(this.urlTree.root,[],[],this.config).segmentGroup,t=new gy(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,"primary").pipe(k(e=>this.createUrlTree(Rw(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(fv(e=>{if(e instanceof Dw)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Pw)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(k(t=>this.createUrlTree(Rw(t),e.queryParams,e.fragment))).pipe(fv(e=>{if(e instanceof Pw)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new gy([],{primary:e}):e;return new py(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(k(e=>new gy([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return F(i).pipe(cb(i=>{const s=n.children[i],o=_w(t,i);return this.expandSegmentGroup(e,o,s,i).pipe(k(e=>({segment:e,outlet:i})))}),hv((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?db((t,n)=>e(t,n,i)):b,vv(1),n?Sv(t):_v(()=>new Jb))}())}expandSegment(e,t,n,i,s,o){return F(n).pipe(cb(r=>this.expandSegmentAgainstRoute(e,t,n,r,i,s,o).pipe(fv(e=>{if(e instanceof Pw)return lb(null);throw e}))),Pv(e=>!!e),fv((e,n)=>{if(e instanceof Jb||"EmptyError"===e.name){if(Ew(t,i,s))return lb(new gy([],{}));throw new Pw(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,s,o,r){return kw(i,t,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o):Ow(t):Ow(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Mw(s):this.lineralizeSegments(n,s).pipe(N(n=>{const s=new gy(n,{});return this.expandSegment(e,s,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o){const{matched:r,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Cw(t,i,s);if(!r)return Ow(t);const d=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Mw(d):this.lineralizeSegments(i,d).pipe(N(i=>this.expandSegment(e,t,n,i.concat(s.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?lb(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(k(e=>(n._loadedConfig=e,new gy(i,{})))):lb(new gy(i,{}));const{matched:o,consumedSegments:r,lastChild:a}=Cw(t,n,i);if(!o)return Ow(t);const l=i.slice(a);return this.getChildConfig(e,n,i).pipe(N(e=>{const i=e.module,o=e.routes,{segmentGroup:a,slicedSegments:c}=Aw(t,r,l,o),d=new gy(a.segments,a.children);if(0===c.length&&d.hasChildren())return this.expandChildren(i,o,d).pipe(k(e=>new gy(r,e)));if(0===o.length&&0===c.length)return lb(new gy(r,{}));const u=ww(n)===s;return this.expandSegment(i,d,o,c,u?"primary":s,!0).pipe(k(e=>new gy(r.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?lb(new dw(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?lb(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(N(n=>n?this.configLoader.load(e.injector,t).pipe(k(e=>(t._loadedConfig=e,e))):function(e){return new v(t=>t.error(ty(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):lb(new dw([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;return i&&0!==i.length?lb(i.map(i=>{const s=e.get(i);let o;if(function(e){return e&&uw(e.canLoad)}(s))o=s.canLoad(t,n);else{if(!uw(s))throw new Error("Invalid CanLoad guard");o=s(t,n)}return ly(o)})).pipe(gw(),Ov(e=>{if(!hw(e))return;const t=ty(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),k(e=>!0===e)):lb(!0)}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return lb(n);if(i.numberOfChildren>1||!i.children.primary)return Tw(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const s=this.createSegmentGroup(e,t.root,n,i);return new py(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ay(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[i]=t[s]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const s=this.createSegments(e,t.segments,n,i);let o={};return ay(t.children,(t,s)=>{o[s]=this.createSegmentGroup(e,t,n,i)}),new gy(s,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function Rw(e){const t={};for(const n of Object.keys(e.children)){const i=Rw(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new gy(e.segments.concat(t.segments),t.children)}return e}(new gy(e.segments,t))}class Lw{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Fw{constructor(e,t){this.component=e,this.route=t}}function Bw(e,t,n){const i=e._root;return Vw(i,t?t._root:null,n,[i.value])}function zw(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function Vw(e,t,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=By(t);return e.children.forEach(e=>{!function(e,t,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,r=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!my(e.url,t.url);case"pathParamsOrQueryParamsChange":return!my(e.url,t.url)||!iy(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qy(e,t)||!iy(e.queryParams,t.queryParams);case"paramsChange":default:return!qy(e,t)}}(r,o,o.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Lw(i)):(o.data=r.data,o._resolvedData=r._resolvedData),Vw(e,t,o.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Fw(a.outlet.component,r))}else r&&Nw(t,a,s),s.canActivateChecks.push(new Lw(i)),Vw(e,null,o.component?a?a.children:null:n,i,s)}(e,o[e.value.outlet],n,i.concat([e.value]),s),delete o[e.value.outlet]}),ay(o,(e,t)=>Nw(e,n.getContext(t),s)),s}function Nw(e,t,n){const i=By(e),s=e.value;ay(i,(e,i)=>{Nw(e,s.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Fw(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}class Hw{}function jw(e){return new v(t=>t.error(e))}class Uw{constructor(e,t,n,i,s,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const e=Aw(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;const n=new jy([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Fy(n,t),s=new Uy(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(e){const t=e.value,n=Hy(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const s of Object.keys(t.children)){const i=t.children[s],o=_w(e,s),r=this.processSegmentGroup(o,i,s);if(null===r)return null;n.push(...r)}const i=function(e){const t=[];for(const n of e){if(!Ww(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const s of e){const e=this.processSegmentAgainstRoute(s,t,n,i);if(null!==e)return e}return Ew(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!kw(e,t,n,i))return null;let s,o=[],r=[];if("**"===e.path){const i=n.length>0?ry(n).parameters:{};s=new jy(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qw(e),ww(e),e.component,e,Gw(t),$w(t)+n.length,Yw(e))}else{const i=Cw(t,e,n);if(!i.matched)return null;o=i.consumedSegments,r=n.slice(i.lastChild),s=new jy(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qw(e),ww(e),e.component,e,Gw(t),$w(t)+o.length,Yw(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Aw(t,o,r,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Fy(s,e)]}if(0===a.length&&0===c.length)return[new Fy(s,[])];const d=ww(e)===i,u=this.processSegment(a,l,c,d?"primary":i);return null===u?null:[new Fy(s,u)]}}function Ww(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Gw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function $w(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function qw(e){return e.data||{}}function Yw(e){return e.resolve||{}}function Zw(e){return sv(t=>{const n=e(t);return n?F(n).pipe(k(()=>t)):lb(t)})}class Qw{}class Xw extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Kw=new Xn("ROUTES");class Jw{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(k(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new dw(oy(i.injector.get(Kw,void 0,Ce.Self|Ce.Optional)).map(yw),i)}),fv(e=>{throw t._loader$=void 0,e}));return t._loader$=new Q(n,()=>new C).pipe(q()),t._loader$}loadModuleFactory(e){return"string"==typeof e?F(this.loader.load(e)):ly(e()).pipe(N(e=>e instanceof Ul?lb(e):F(this.compiler.compileModuleAsync(e))))}}class e_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new t_,this.attachRef=null}}class t_{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new e_,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class n_{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function i_(e){throw e}function s_(e,t,n){return t.parse("/")}function o_(e,t){return lb(null)}let r_=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=i_,this.malformedUriErrorHandler=s_,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:o_,afterPreactivation:o_},this.urlHandlingStrategy=new n_,this.routeReuseStrategy=new Xw,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(jl),this.console=s.get(Yc);const l=s.get(ad);this.isNgZoneEnabled=l instanceof ad&&ad.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new py(new gy([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Jw(o,r,e=>this.triggerEvent(new $v(e)),e=>this.triggerEvent(new qv(e))),this.routerState=Vy(this.currentUrlTree,this.rootComponentType),this.transitions=new Gb({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()}setupNavigations(e){const t=this.events;return e.pipe(db(e=>0!==e.id),k(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),sv(e=>{let n=!1,i=!1;return lb(e).pipe(Ov(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),sv(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return lb(e).pipe(sv(e=>{const n=this.transitions.getValue();return t.next(new Bv(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?tv:Promise.resolve(e)}),(i=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,r=this.config,sv(e=>function(e,t,n,i,s){return new Iw(e,t,n,i,s).apply()}(i,s,o,e.extractedUrl,r).pipe(k(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Ov(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,s){return N(o=>function(e,t,n,i,s="emptyOnly",o="legacy"){try{const r=new Uw(e,t,n,i,s,o).recognize();return null===r?jw(new Hw):lb(r)}catch(r){return jw(r)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,s).pipe(k(e=>Object.assign(Object.assign({},o),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ov(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new Hv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,s,o,r;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:o,extras:r}=e,a=new Bv(n,this.serializeUrl(i),s,o);t.next(a);const l=Vy(i,this.rootComponentType).snapshot;return lb(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},r),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),tv}),Zw(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),Ov(e=>{const t=new jv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),k(e=>Object.assign(Object.assign({},e),{guards:Bw(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return N(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:r}}=n;return 0===r.length&&0===o.length?lb(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return F(e).pipe(N(e=>function(e,t,n,i,s){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?lb(o.map(o=>{const r=zw(o,t,s);let a;if(function(e){return e&&uw(e.canDeactivate)}(r))a=ly(r.canDeactivate(e,t,n,i));else{if(!uw(r))throw new Error("Invalid CanDeactivate guard");a=ly(r(e,t,n,i))}return a.pipe(Pv())})).pipe(gw()):lb(!0)}(e.component,e.route,n,t,i)),Pv(e=>!0!==e,!0))}(r,i,s,e).pipe(N(n=>n&&"boolean"==typeof n?function(e,t,n,i){return F(t).pipe(cb(t=>ev(function(e,t){return null!==e&&t&&t(new Yv(e)),lb(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Qv(e)),lb(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>iv(()=>lb(t.guards.map(s=>{const o=zw(s,t.node,n);let r;if(function(e){return e&&uw(e.canActivateChild)}(o))r=ly(o.canActivateChild(i,e));else{if(!uw(o))throw new Error("Invalid CanActivateChild guard");r=ly(o(i,e))}return r.pipe(Pv())})).pipe(gw())));return lb(s).pipe(gw())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?lb(i.map(i=>iv(()=>{const s=zw(i,t,n);let o;if(function(e){return e&&uw(e.canActivate)}(s))o=ly(s.canActivate(t,e));else{if(!uw(s))throw new Error("Invalid CanActivate guard");o=ly(s(t,e))}return o.pipe(Pv())}))).pipe(gw()):lb(!0)}(e,t.route,n))),Pv(e=>!0!==e,!0))}(i,o,e,t):lb(n)),k(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Ov(e=>{if(hw(e.guardsResult)){const t=ty(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new Uv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),db(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Zw(e=>{if(e.guards.canActivateChecks.length)return lb(e).pipe(Ov(e=>{const t=new Wv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),sv(e=>{let n=!1;return lb(e).pipe((i=this.paramsInheritanceStrategy,s=this.ngModule.injector,N(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return lb(e);let o=0;return F(n).pipe(cb(e=>function(e,t,n,i){return function(e,t,n,i){const s=Object.keys(e);if(0===s.length)return lb({});const o={};return F(s).pipe(N(s=>function(e,t,n,i){const s=zw(e,t,i);return ly(s.resolve?s.resolve(t,n):s(t,n))}(e[s],t,n,i).pipe(Ov(e=>{o[s]=e}))),vv(1),N(()=>Object.keys(o).length===s.length?lb(o):tv))}(e._resolve,e,t,i).pipe(k(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Hy(e,n).resolve),null)))}(e.route,t,i,s)),Ov(()=>o++),vv(1),N(t=>o===n.length?lb(e):tv))})),Ov({next:()=>n=!0,complete:()=>{if(!n){const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,s}),Ov(e=>{const t=new Gv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Zw(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),k(e=>{const t=function(e,t,n){const i=Yy(e,t._root,n?n._root:void 0);return new zy(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Ov(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,r=e=>this.triggerEvent(e),k(e=>(new lw(o,e.targetRouterState,e.currentRouterState,r).activate(s),e))),Ov({next(){n=!0},complete(){n=!0}}),Iv(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),fv(n=>{if(i=!0,(s=n)&&s.ngNavigationCancelingError){const i=hw(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new Vv(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new Nv(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var s;return tv}));var s,o,r}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,s={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(s.state=e)}this.scheduleNavigation(i,e,n,s)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){mw(e),this.config=e.map(yw),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:o,preserveFragment:r}=t,a=n||this.routerState.root,l=r?this.currentUrlTree.fragment:s;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,i,s){if(0===n.length)return Ky(t.root,t.root,t,i,s);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ew(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return ay(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new ew(n,t,i)}(n);if(o.toRoot())return Ky(t.root,new gy([],{}),t,i,s);const r=function(e,t,n){if(e.isAbsolute)return new tw(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new tw(e,e===t.root,0)}const i=Qy(e.commands[0])?0:1;return function(e,t,n){let i=e,s=t,o=n;for(;o>s;){if(o-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new tw(i,!1,s-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=r.processChildren?iw(r.segmentGroup,r.index,o.commands):nw(r.segmentGroup,r.index,o.commands);return Ky(r.segmentGroup,a,t,i,s)}(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=hw(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(hw(e))return cy(this.currentUrlTree,e,t);const n=this.parseUrl(e);return cy(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new zv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(r&&a)return Promise.resolve(!0);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((e,t)=>{l=e,c=t});const u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const s=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(gi(Jn),gi(by),gi(t_),gi(nu),gi(mr),gi(Od),gi(sd),gi(void 0))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),a_=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.route=t,this.commands=[],this.onChanges=new C,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:c_(this.skipLocationChange),replaceUrl:c_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:c_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Ny),Yn("tabindex"),zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Xr("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[dt]}),e})(),l_=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new C,this.subscription=e.events.subscribe(e=>{e instanceof zv&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,s){if(0!==e||t||n||i||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:c_(this.skipLocationChange),replaceUrl:c_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:c_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Ny),zr(Xd))},e.\u0275dir=Ke({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(Fa("href",t.href,os),Ir("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[dt]}),e})();function c_(e){return""===e||!!e}let d_=(()=>{class e{constructor(e,t,n,i,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new yc,this.deactivateEvents=new yc,this.name=i||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new u_(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(zr(t_),zr(Gl),zr(nl),Yn("name"),zr(Tl))},e.\u0275dir=Ke({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class u_{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ny?this.route:e===t_?this.childContexts:this.parent.get(e,t)}}class h_{}class p_{preload(e,t){return lb(null)}}let g_=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=new Jw(t,n,t=>e.triggerEvent(new $v(t)),t=>e.triggerEvent(new qv(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(db(e=>e instanceof zv),cb(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(jl);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return F(n).pipe(U(),k(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?lb(t._loadedConfig):this.loader.load(e.injector,t)).pipe(N(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(r_),gi(Od),gi(sd),gi(mr),gi(h_))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),f_=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Bv?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof zv&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Kv&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Kv(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(gi(r_),gi(ph),gi(void 0))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const m_=new Xn("ROUTER_CONFIGURATION"),b_=new Xn("ROUTER_FORROOT_GUARD"),v_=[nu,{provide:by,useClass:vy},{provide:r_,useFactory:function(e,t,n,i,s,o,r,a={},l,c){const d=new r_(null,e,t,n,i,s,o,oy(r));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(a,d),a.enableTracing){const e=Nd();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return d},deps:[by,t_,nu,mr,Od,sd,Kw,m_,[class{},new yi],[Qw,new yi]]},t_,{provide:Ny,useFactory:function(e){return e.routerState.root},deps:[r_]},{provide:Od,useClass:Id},g_,p_,class{preload(e,t){return t().pipe(fv(()=>lb(null)))}},{provide:m_,useValue:{enableTracing:!1}}];function y_(){return new Cd("Router",r_)}let w_=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[v_,A_(t),{provide:b_,useFactory:C_,deps:[[r_,new yi,new wi]]},{provide:m_,useValue:n||{}},{provide:Xd,useFactory:x_,deps:[jd,[new vi(Jd),new yi],m_]},{provide:f_,useFactory:__,deps:[r_,ph,m_]},{provide:h_,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:p_},{provide:Cd,multi:!0,useFactory:y_},[S_,{provide:Nc,multi:!0,useFactory:k_,deps:[S_]},{provide:P_,useFactory:E_,deps:[S_]},{provide:qc,multi:!0,useExisting:P_}]]}}static forChild(t){return{ngModule:e,providers:[A_(t)]}}}return e.\u0275fac=function(t){return new(t||e)(gi(b_,8),gi(r_,8))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();function __(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new f_(e,t,n)}function x_(e,t,n={}){return n.useHash?new tu(e,t):new eu(e,t)}function C_(e){return"guarded"}function A_(e){return[{provide:Kn,multi:!0,useValue:e},{provide:Kw,multi:!0,useValue:e}]}let S_=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new C}appInitializer(){return this.injector.get(Wd,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(r_),i=this.injector.get(m_);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?lb(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(m_),n=this.injector.get(g_),i=this.injector.get(f_),s=this.injector.get(r_),o=this.injector.get(Pd);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function k_(e){return e.appInitializer.bind(e)}function E_(e){return e.bootstrapListener.bind(e)}const P_=new Xn("Router Initializer");function D_(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function O_(e,t){return function(n,i){t(n,i,e)}}function M_(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function T_(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})}n("meiF"),n("lTIg"),n("RQGG"),n("bC4P"),n("iWo5");var I_=n("E/Mt"),R_=n("1vRN"),L_=(n("39oe"),n("k4ps")),F_=n("r7QR"),B_=n("7OTs"),z_=(n("y08P"),n("wEJo"));function V_(e,t,n,s){return i(n)&&(s=n,n=void 0),s?V_(e,t,n).pipe(k(e=>l(e)?s(...e):s(e))):new v(i=>{N_(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function N_(e,t,n,i,s){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,s),o=()=>i.removeEventListener(t,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),o=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),o=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,r=e.length;o<r;o++)N_(e[o],t,n,i,s)}i.add(o)}function H_(e,t){return n=>n.lift(new j_(e,t))}n("B4Jq");class j_{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new U_(e,this.compare,this.keySelector))}}class U_ extends g{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}const W_=I_.e,G_=["*"],$_=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e);let q_=(()=>{class e{constructor(e,t){this.injector=e,this.el=t,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,Y_(this.el)}handleChangeEvent(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),Y_(this.el))}_handleBlurEvent(e){e===this.el.nativeElement&&(this.onTouched(),Y_(this.el))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.nativeElement.disabled=e}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let e;try{e=this.injector.get(sm)}catch(n){}if(!e)return;e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(()=>Y_(this.el)));const t=e.control;t&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(e=>{if(t[e]){const n=t[e].bind(t);t[e]=(...e)=>{n(...e),Y_(this.el)}}})}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=Ke({type:e,hostBindings:function(e,t){1&e&&Xr("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),e})();const Y_=e=>{$_(()=>{const t=e.nativeElement,n=Z_(t);Q_(t,n);const i=t.closest("ion-item");i&&Q_(i,n)})},Z_=e=>{const t=e.classList,n=[];for(let i=0;i<t.length;i++){const e=t.item(i);null!==e&&X_(e,"ng-")&&n.push("ion-"+e.substr(3))}return n},Q_=(e,t)=>{const n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(e=>n.remove(e)),t.forEach(e=>n.add(e))},X_=(e,t)=>e.substr(0,t.length)===t;var K_;let J_=(()=>{let e=K_=class extends q_{constructor(e,t){super(e,t)}writeValue(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,Y_(this.el)}_handleIonChange(e){this.handleChangeEvent(e,e.checked)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleIonChange(e.target)})},features:[Ja([{provide:Ef,useExisting:K_,multi:!0}]),vr]}),e})();var ex;let tx=(()=>{let e=ex=class extends q_{constructor(e,t){super(e,t)}_handleIonChange(e){this.handleChangeEvent(e,e.value)}registerOnChange(e){super.registerOnChange(t=>{e(""===t?null:parseFloat(t))})}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleIonChange(e.target)})},features:[Ja([{provide:Ef,useExisting:ex,multi:!0}]),vr]}),e})();var nx;let ix=(()=>{let e=nx=class extends q_{constructor(e,t){super(e,t)}_handleIonSelect(e){this.handleChangeEvent(e,e.checked)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&Xr("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[Ja([{provide:Ef,useExisting:nx,multi:!0}]),vr]}),e})();var sx;let ox=(()=>{let e=sx=class extends q_{constructor(e,t){super(e,t)}_handleChangeEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[Ja([{provide:Ef,useExisting:sx,multi:!0}]),vr]}),e})();var rx;let ax=(()=>{let e=rx=class extends q_{constructor(e,t){super(e,t)}_handleInputEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[Ja([{provide:Ef,useExisting:rx,multi:!0}]),vr]}),e})(),lx=(()=>{let e=class{constructor(e,t){this.doc=e,this.backButton=new C,this.keyboardDidShow=new C,this.keyboardDidHide=new C,this.pause=new C,this.resume=new C,this.resize=new C,t.run(()=>{let n;this.win=e.defaultView,this.backButton.subscribeWithPriority=function(e,n){return this.subscribe(i=>i.register(e,e=>t.run(()=>n(e))))},dx(this.pause,e,"pause"),dx(this.resume,e,"resume"),dx(this.backButton,e,"ionBackButton"),dx(this.resize,this.win,"resize"),dx(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),dx(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(e=>{n=e}),this.win&&this.win.cordova?e.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(e){return Object(I_.a)(this.win,e)}platforms(){return Object(I_.d)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(e){return cx(this.win.location.href,e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}testUserAgent(e){const t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(ad))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e(gi(Hd),gi(ad))},token:e,providedIn:"root"}),e=D_([O_(0,vi(Hd))],e),e})();const cx=(e,t)=>{t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},dx=(e,t,n)=>{t&&t.addEventListener(n,t=>{e.next(null!=t?t.detail:void 0)})};let ux=(()=>{let e=class{constructor(e,t,n,i){this.location=t,this.serializer=n,this.router=i,this.direction=px,this.animated=gx,this.guessDirection="forward",this.lastNavId=-1,i&&i.events.subscribe(e=>{if(e instanceof Bv){const t=e.restoredState?e.restoredState.navigationId:e.id;this.guessDirection=t<this.lastNavId?"back":"forward",this.guessAnimation=e.restoredState?void 0:this.guessDirection,this.lastNavId="forward"===this.guessDirection?e.id:t}}),e.backButton.subscribeWithPriority(0,e=>{this.pop(),e()})}navigateForward(e,t={}){return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateBack(e,t={}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateRoot(e,t={}){return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}back(e={animated:!0,animationDirection:"back"}){return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}pop(){return T_(this,void 0,void 0,function*(){let e=this.topOutlet;for(;e&&!(yield e.pop());)e=e.parentOutlet})}setDirection(e,t,n,i){this.direction=e,this.animated=hx(e,t,n),this.animationBuilder=i}setTopOutlet(e){this.topOutlet=e}consumeTransition(){let e,t="root";const n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=px,this.animated=gx,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}navigate(e,t){if(Array.isArray(e))return this.router.navigate(e,t);{const n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}};return e.\u0275fac=function(t){return new(t||e)(gi(lx),gi(nu),gi(by),gi(r_,8))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e(gi(lx),gi(nu),gi(by),gi(r_,8))},token:e,providedIn:"root"}),e=D_([O_(3,yi())],e),e})();const hx=(e,t,n)=>{if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},px="auto",gx=void 0,fx=(e,t)=>{const n=e.prototype;t.forEach(e=>{Object.defineProperty(n,e,{get(){return this.el[e]},set(t){this.z.runOutsideAngular(()=>this.el[e]=t)}})})},mx=(e,t)=>{const n=e.prototype;t.forEach(e=>{n[e]=function(){const t=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,t))}})},bx=(e,t,n)=>{n.forEach(n=>e[n]=V_(t,n))};function vx(e){return function(t){return e.inputs&&fx(t,e.inputs),e.methods&&mx(t,e.methods),t}}let yx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-app"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),wx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-avatar"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),_x=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],e),e})(),xx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),Cx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],e),e})(),Ax=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["collapse"]})],e),e})(),Sx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),kx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode"]})],e),e})(),Ex=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode","translucent"]})],e),e})(),Px=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),Dx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],e),e})(),Ox=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","outline"]})],e),e})(),Mx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],e),e})(),Tx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],e),e})(),Ix=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",dayNames:"dayNames",dayShortNames:"dayShortNames",dayValues:"dayValues",disabled:"disabled",displayFormat:"displayFormat",displayTimezone:"displayTimezone",doneText:"doneText",hourValues:"hourValues",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthNames:"monthNames",monthShortNames:"monthShortNames",monthValues:"monthValues",name:"name",pickerFormat:"pickerFormat",pickerOptions:"pickerOptions",placeholder:"placeholder",readonly:"readonly",value:"value",yearValues:"yearValues"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","displayTimezone","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"],methods:["open"]})],e),e})(),Rx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],e),e})(),Lx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],e),e})(),Fx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","side"]})],e),e})(),Bx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-footer"]],inputs:{mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode","translucent"]})],e),e})(),zx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["fixed"]})],e),e})(),Vx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["collapse","mode","translucent"]})],e),e})(),Nx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],e),e})(),Hx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["alt","src"]})],e),e})(),jx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInfinite"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","position","threshold"],methods:["complete"]})],e),e})(),Ux=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["loadingSpinner","loadingText"]})],e),e})(),Wx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),Gx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),$x=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],e),e})(),qx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSwipe"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["side"]})],e),e})(),Yx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionDrag"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],e),e})(),Zx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode","position"]})],e),e})(),Qx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],e),e})(),Xx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","lines","mode"]})],e),e})(),Kx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],e),e})(),Jx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["autoHide","color","disabled","menu","mode","type"]})],e),e})(),eC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["autoHide","menu"]})],e),e})(),tC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),nC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-radio"]],inputs:{color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","name","value"]})],e),e})(),iC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["allowEmptySelection","name","value"]})],e),e})(),sC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-range"]],inputs:{color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]})],e),e})(),oC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-reorder"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),rC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionItemReorder"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled"],methods:["complete"]})],e),e})(),aC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-row"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),lC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),cC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],e),e})(),dC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","layout","mode","type","value"]})],e),e})(),uC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],e),e})(),hC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","value"]})],e),e})(),pC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-slide"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),gC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],e),e})(),fC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","duration","name","paused"]})],e),e})(),mC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSplitPaneVisible"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["contentId","disabled","when"]})],e),e})(),bC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","size"]})],e),e})(),vC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["checked","color","disabled","mode","name","value"]})],e),e})(),yC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),wC=(()=>{let e=class{get(e,t){const n=xC();return n?n.get(e,t):null}getBoolean(e,t){const n=xC();return!!n&&n.getBoolean(e,t)}getNumber(e,t){const n=xC();return n?n.getNumber(e,t):0}set(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");const n=xC();n&&n.set(e,t)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const _C=new Xn("USERCONFIG"),xC=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null};class CC{constructor(e={}){this.data=e}get(e){return this.data[e]}}let AC=(()=>{let e=class{constructor(e,t){this.zone=e,this.appRef=t}create(e,t,n){return new SC(e,t,n,this.appRef,this.zone)}};return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(Pd))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})();class SC{constructor(e,t,n,i,s){this.resolver=e,this.injector=t,this.location=n,this.appRef=i,this.zone=s,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(e,t,n,i){return this.zone.run(()=>new Promise(s=>{s(kC(this.zone,this.resolver,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,e,t,n,i))}))}removeViewFromDom(e,t){return this.zone.run(()=>new Promise(e=>{const n=this.elRefMap.get(t);if(n){n.destroy(),this.elRefMap.delete(t);const e=this.elEventsMap.get(t);e&&(e(),this.elEventsMap.delete(t))}e()}))}}const kC=(e,t,n,i,s,o,r,a,l,c,d)=>{const u=t.resolveComponentFactory(l),h=mr.create({providers:OC(c),parent:n}),p=i?i.createComponent(u,i.length,h):u.create(h),g=p.instance,f=p.location.nativeElement;if(c&&Object.assign(g,c),d)for(const b of d)f.classList.add(b);const m=PC(e,g,f);return a.appendChild(f),i||s.attachView(p.hostView),p.changeDetectorRef.reattach(),o.set(f,p),r.set(f,m),f},EC=[L_.a,L_.b,L_.c,L_.d,L_.e],PC=(e,t,n)=>e.run(()=>{const e=EC.filter(e=>"function"==typeof t[e]).map(e=>{const i=n=>t[e](n.detail);return n.addEventListener(e,i),()=>n.removeEventListener(e,i)});return()=>e.forEach(e=>e())}),DC=new Xn("NavParamsToken"),OC=e=>[{provide:DC,useValue:e},{provide:CC,useFactory:MC,deps:[DC]}],MC=e=>new CC(e),TC=(e,t)=>((e=e.filter(e=>e.stackId!==t.stackId)).push(t),e),IC=(e,t)=>{const n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},RC=(e,t)=>{if(!e)return;const n=LC(t);for(let i=0;i<n.length;i++){if(i>=e.length)return n[i];if(n[i]!==e[i])return}},LC=e=>e.split("/").map(e=>e.trim()).filter(e=>""!==e),FC=e=>{e&&(e.ref.destroy(),e.unlistenEvents())};class BC{constructor(e,t,n,i,s,o){this.containerEl=t,this.router=n,this.navCtrl=i,this.zone=s,this.location=o,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?LC(e):void 0}createView(e,t){const n=IC(this.router,t),i=e&&e.location&&e.location.nativeElement,s=PC(this.zone,e.instance,i);return{id:this.nextId++,stackId:RC(this.tabsPrefix,n),unlistenEvents:s,element:i,ref:e,url:n}}getExistingView(e){const t=IC(this.router,e),n=this.views.find(e=>e.url===t);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){const t=this.navCtrl.consumeTransition();let{direction:n,animation:i,animationBuilder:s}=t;const o=this.activeView,r=((e,t)=>!t||e.stackId!==t.stackId)(e,o);r&&(n="back",i=void 0);const a=this.views.slice();let l;const c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const d=this.views.includes(e),u=this.insertView(e,n);d||e.ref.changeDetectorRef.detectChanges();const h=e.animationBuilder;return void 0!==s||"back"!==n||r||void 0===h||(s=h),o&&(o.animationBuilder=s),this.zone.runOutsideAngular(()=>this.wait(()=>(o&&o.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,o,i,this.canGoBack(1),!1,s).then(()=>zC(e,u,a,this.location)).then(()=>({enteringView:e,direction:n,animation:i,tabSwitch:r})))))}canGoBack(e,t=this.getActiveStackId()){return this.getStack(t).length>e}pop(e,t=this.getActiveStackId()){return this.zone.run(()=>{const n=this.getStack(t);if(n.length<=e)return Promise.resolve(!1);const i=n[n.length-e-1];let s=i.url;const o=i.savedData;if(o){const e=o.get("primary");e&&e.route&&e.route._routerState&&e.route._routerState.snapshot&&e.route._routerState.snapshot.url&&(s=e.route._routerState.snapshot.url)}const{animationBuilder:r}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(s,Object.assign({},i.savedExtras,{animation:r})).then(()=>!0)})}startBackTransition(){const e=this.activeView;if(e){const t=this.getStack(e.stackId),n=t[t.length-2],i=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,i))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&VC(this.activeView,this.views,this.views,this.location)}getLastUrl(e){const t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}getRootUrl(e){const t=this.getStack(e);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}destroy(){this.containerEl=void 0,this.views.forEach(FC),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(t=>t.stackId===e)}insertView(e,t){return this.activeView=e,this.views=((e,t,n)=>"root"===n?TC(e,t):"forward"===n?((e,t)=>(e.indexOf(t)>=0?e=e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):e.push(t),e))(e,t):((e,t)=>e.indexOf(t)>=0?e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):TC(e,t))(e,t))(this.views,e,t),this.views.slice()}transition(e,t,n,i,s,o){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);const r=e?e.element:void 0,a=t?t.element:void 0,l=this.containerEl;return r&&r!==a&&(r.classList.add("ion-page"),r.classList.add("ion-page-invisible"),r.parentElement!==l&&l.appendChild(r),l.commit)?l.commit(r,a,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:i,progressAnimation:s,animationBuilder:o}):Promise.resolve(!1)}wait(e){return T_(this,void 0,void 0,function*(){return void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0),this.runningTask=e()})}}const zC=(e,t,n,i)=>"function"==typeof requestAnimationFrame?new Promise(s=>{requestAnimationFrame(()=>{VC(e,t,n,i),s()})}):Promise.resolve(),VC=(e,t,n,i)=>{n.filter(e=>!t.includes(e)).forEach(FC),t.forEach(t=>{const n=i.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){const e=t.element;e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})};let NC=(()=>{let e=class{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h){this.parentContexts=e,this.location=t,this.resolver=n,this.config=o,this.navCtrl=r,this.parentOutlet=h,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Gb(null),this.stackEvents=new yc,this.activateEvents=new yc,this.deactivateEvents=new yc,this.nativeEl=l.nativeElement,this.name=i||"primary",this.tabsPrefix="true"===s?IC(c,u):void 0,this.stackCtrl=new BC(this.tabsPrefix,this.nativeEl,c,r,d,a),e.onChildOutletCreated(this.name,this)}set animation(e){this.nativeEl.animation=e}set animated(e){this.nativeEl.animated=e}set swipeGesture(e){this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:()=>this.stackCtrl.canGoBack(1),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}new Promise(e=>Object(R_.c)(this.nativeEl,e)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(e,t){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};const e=this.getContext();if(e.route){const t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}const e=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");let n;this._activatedRoute=e;let i=this.stackCtrl.getExistingView(e);if(i){n=this.activated=i.ref;const t=i.savedData;t&&(this.getContext().children.contexts=t),this.updateActivatedRouteProxy(n.instance,e)}else{const s=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),o=this.parentContexts.getOrCreateContext(this.name).children,r=new Gb(null),a=this.createActivatedRouteProxy(r,e),l=new HC(a,o,this.location.injector);n=this.activated=this.location.createComponent(s,this.location.length,l),r.next(n.instance),i=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,a),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=i,this.stackCtrl.setActive(i).then(e=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(n.instance),this.stackEvents.emit(e)})}canGoBack(e=1,t){return this.stackCtrl.canGoBack(e,t)}pop(e=1,t){return this.stackCtrl.pop(e,t)}getLastUrl(e){const t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}getLastRouteView(e){return this.stackCtrl.getLastUrl(e)}getRootView(e){return this.stackCtrl.getRootUrl(e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(e,t){const n=new Ny;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}proxyObservable(e,t){return e.pipe(db(e=>!!e),sv(e=>this.currentActivatedRoute$.pipe(db(t=>null!==t&&t.component===e),sv(e=>e&&e.activatedRoute[t]),H_())))}updateActivatedRouteProxy(e,t){const n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}};return e.\u0275fac=function(t){return new(t||e)(zr(t_),zr(Gl),zr(nl),Yn("name"),Yn("tabs"),zr(wC),zr(ux),zr(nu),zr(rl),zr(r_),zr(ad),zr(Ny),zr(e,12))},e.\u0275dir=Ke({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e=D_([O_(3,Qn("name")),O_(4,yi()),O_(4,Qn("tabs")),O_(12,wi()),O_(12,yi())],e),e})();class HC{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ny?this.route:e===t_?this.childContexts:this.parent.get(e,t)}}let jC=(()=>{let e=class{constructor(e,t,n){this.routerOutlet=e,this.navCtrl=t,this.config=n}onClick(e){const t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}};return e.\u0275fac=function(t){return new(t||e)(zr(NC,8),zr(ux),zr(wC))},e.\u0275dir=Ke({type:e,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),e=D_([O_(0,yi())],e),e})(),UC=(()=>{let e=class{constructor(e,t,n,i,s){this.locationStrategy=e,this.navCtrl=t,this.elementRef=n,this.router=i,this.routerLink=s,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateTargetUrlAndHref(){if(this.routerLink){const e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}onClick(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}};return e.\u0275fac=function(t){return new(t||e)(zr(Xd),zr(ux),zr(rl),zr(r_),zr(a_,8))},e.\u0275dir=Ke({type:e,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[dt]}),e=D_([O_(4,yi())],e),e})(),WC=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualFooter",""]]}),e})(),GC=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualHeader",""]]}),e})(),$C=(()=>{let e=class{constructor(e,t){this.templateRef=e,this.viewContainer=t}};return e.\u0275fac=function(t){return new(t||e)(zr(zl),zr(Gl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualItem",""]]}),e})(),qC=(()=>{let e=class{constructor(e,t,n){this.z=e,this.iterableDiffers=t,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}ngOnChanges(e){if(this.trackBy&&"items"in e){const n=e.items.currentValue;if(void 0===this.differ&&null!=n)try{this.differ=this.iterableDiffers.find(n).create(this.trackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}'. VirtualScroll only supports binding to Iterables such as Arrays.`)}}}ngDoCheck(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}nodeRender(e,t,n){return this.z.run(()=>{let i;if(e){i=this.refMap.get(e);const n=i.context;n.$implicit=t.value,n.index=t.index}else i=this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(t.type),{$implicit:t.value,index:n},n),e=YC(i),this.refMap.set(e,i);return i.detectChanges(),e})}getComponent(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}};return e.\u0275fac=function(t){return new(t||e)(zr(ad),zr(Sl),zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,$C,1),Ic(n,GC,1),Ic(n,WC,1)),2&e){let e;Mc(e=Rc())&&(t.itmTmp=e.first),Mc(e=Rc())&&(t.hdrTmp=e.first),Mc(e=Rc())&&(t.ftrTmp=e.first)}},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[dt],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],e),e})();const YC=e=>{const t=e.rootNodes;for(let n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")};class ZC{constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,t,n){return this.ctrl.dismiss(e,t,n)}getTop(){return this.ctrl.getTop()}}let QC=(()=>{let e=class extends ZC{constructor(){super(B_.c)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),XC=(()=>{let e=class extends ZC{constructor(){super(B_.b)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),KC=(()=>{let e=class extends ZC{constructor(){super(B_.k)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),JC=(()=>{let e=class{open(e){return F_.a.open(e)}close(e){return F_.a.close(e)}toggle(e){return F_.a.toggle(e)}enable(e,t){return F_.a.enable(e,t)}swipeGesture(e,t){return F_.a.swipeGesture(e,t)}isOpen(e){return F_.a.isOpen(e)}isEnabled(e){return F_.a.isEnabled(e)}get(e){return F_.a.get(e)}getOpen(){return F_.a.getOpen()}getMenus(){return F_.a.getMenus()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),eA=(()=>{let e=class extends ZC{constructor(e,t,n){super(B_.l),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(gi(AC),gi(nl),gi(mr))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),tA=(()=>{let e=class extends ZC{constructor(e,t,n){super(B_.d),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(gi(AC),gi(nl),gi(mr))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),nA=(()=>{let e=class extends ZC{constructor(){super(B_.o)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();class iA{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,t){}retrieve(e){return null}shouldReuseRoute(e,t){if(e.routeConfig!==t.routeConfig)return!1;const n=e.params,i=t.params,s=Object.keys(n),o=Object.keys(i);if(s.length!==o.length)return!1;for(const r of s)if(i[r]!==n[r])return!1;return!0}}let sA=!1;const oA=(e,t,i)=>()=>{const s=t.defaultView;if(s&&"undefined"!=typeof window){sA&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),sA=!0,(s.Ionic=s.Ionic||{}).config=Object.assign({},e,{_zoneGate:e=>i.run(e)});const o="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(7).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(5).then(n.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(()=>{return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:$_,jmp:e=>i.runOutsideAngular(e),ael(e,t,n,i){e[o](t,n,i)},rel(e,t,n,i){e.removeEventListener(t,n,i)}},"undefined"==typeof window?Promise.resolve():(z_.b&&z_.b.supports&&z_.b.supports("color","var(--c)")?Object(z_.d)():n.e(6).then(n.t.bind(null,"9qUq",7)).then(()=>(z_.n.$cssShim$=z_.q.__cssshim)?z_.n.$cssShim$.i():0)).then(()=>(W_(),Object(z_.e)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[1],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[1]}],[33,"ion-card-title",{"color":[1]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[1],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["ion-range",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[1],"lines":[1]}]]]]'),e)));var e})}};var rA;let aA=(()=>{let e=rA=class{static forRoot(e){return{ngModule:rA,providers:[{provide:_C,useValue:e},{provide:Nc,useFactory:oA,multi:!0,deps:[_C,Hd,ad]}]}}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[AC,eA,tA],imports:[[uh]]}),e})();var lA=n("Hfs6"),cA=n.n(lA);function dA(e){return!!e&&(e instanceof v||"function"==typeof e.lift&&"function"==typeof e.subscribe)}class uA extends u{constructor(e,t){super()}schedule(e,t=0){return this}}class hA extends uA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class pA extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}let gA=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class fA extends gA{constructor(e,t=gA.now){super(e,()=>fA.delegate&&fA.delegate!==this?fA.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return fA.delegate&&fA.delegate!==this?fA.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let 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}}}class mA extends fA{}const bA=new mA(pA);function vA(e,t){return new v(t?n=>t.schedule(yA,0,{error:e,subscriber:n}):t=>t.error(e))}function yA({error:e,subscriber:t}){t.error(e)}let wA=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(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()}}do(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()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return lb(this.value);case"E":return vA(this.error);case"C":return nv()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class _A extends g{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(_A.dispatch,this.delay,new xA(e,this.destination)))}_next(e){this.scheduleMessage(wA.createNext(e))}_error(e){this.scheduleMessage(wA.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(wA.createComplete()),this.unsubscribe()}}class xA{constructor(e,t){this.notification=e,this.destination=t}}class CA extends C{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new AA(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let o;if(this.closed)throw new w;if(this.isStopped||this.hasError?o=u.EMPTY:(this.observers.push(e),o=new _(this,e)),i&&e.add(e=new _A(e,i)),t)for(let r=0;r<s&&!e.closed;r++)e.next(n[r]);else for(let r=0;r<s&&!e.closed;r++)e.next(n[r].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||bA).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let o=0;for(;o<s&&!(e-i[o].time<n);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&i.splice(0,o),i}}class AA{constructor(e,t){this.time=e,this.value=t}}function SA(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let s,o,r=0,a=!1,l=!1;return function(c){let d;r++,!s||a?(a=!1,s=new CA(e,t,i),d=s.subscribe(this),o=c.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){l=!0,o=void 0,s.complete()}}),l&&(o=void 0)):d=s.subscribe(this),this.add(()=>{r--,d.unsubscribe(),d=void 0,o&&!l&&n&&0===r&&(o.unsubscribe(),o=void 0,s=void 0)})}}(i))}class kA{}let EA=(()=>{class e extends kA{getTranslation(e){return lb({})}}return e.\u0275fac=function(t){return PA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const PA=$n(EA);class DA{}let OA=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function MA(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,i,s,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in s=Object.create(null),e){if(!MA(e[i],t[i]))return!1;s[i]=!0}for(i in t)if(!(i in s)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!MA(e[i],t[i]))return!1;return!0}}return!1}function TA(e){return null!=e}function IA(e){return e&&"object"==typeof e&&!Array.isArray(e)}function RA(e,t){let n=Object.assign({},e);return IA(e)&&IA(t)&&Object.keys(t).forEach(i=>{IA(t[i])?i in e?n[i]=RA(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}class LA{}let FA=(()=>{class e extends LA{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!TA(e)||!TA(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let i=this.getValue(t,n);return TA(i)?i:e}):e}}return e.\u0275fac=function(t){return BA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const BA=$n(FA);class zA{}let VA=(()=>{class e extends zA{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return NA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const NA=$n(VA);class HA{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new yc,this.onLangChange=new yc,this.onDefaultLangChange=new yc}}const jA=new Xn("USE_STORE"),UA=new Xn("USE_DEFAULT_LANG"),WA=new Xn("DEFAULT_LANGUAGE"),GA=new Xn("USE_EXTEND");let $A=(()=>{class e{constructor(e,t,n,i,s,o=!0,r=!1,a=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=i,this.missingTranslationHandler=s,this.useDefaultLang=o,this.isolate=r,this.extend=a,this.pending=!1,this._onTranslationChange=new yc,this._onLangChange=new yc,this._onDefaultLangChange=new yc,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(lv(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return lb(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(lv(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),lb(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(SA(1),lv(1));return this.loadingTranslations=t.pipe(k(t=>this.compiler.compileTranslations(t,e)),SA(1),lv(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?RA(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let i;if(t instanceof Array){let i={},s=!1;for(let o of t)i[o]=this.getParsedResult(e,o,n),dA(i[o])&&(s=!0);return s?Af(t.map(e=>dA(i[e])?i[e]:lb(i[e]))).pipe(k(e=>{let n={};return e.forEach((e,i)=>{n[t[i]]=e}),n})):i}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),i=this.missingTranslationHandler.handle(e)}return void 0!==i?i:t}get(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(cb(n=>dA(n=this.getParsedResult(n,e,t))?n:lb(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return dA(n)?n:lb(n)}}getStreamOnTranslationChange(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');return ev(iv(()=>this.get(e,t)),this.onTranslationChange.pipe(sv(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:lb(i)})))}stream(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');return ev(iv(()=>this.get(e,t)),this.onLangChange.pipe(sv(n=>{const i=this.getParsedResult(n.translations,e,t);return dA(i)?i:lb(i)})))}instant(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(dA(n)){if(e instanceof Array){let t={};return e.forEach((n,i)=>{t[e[i]]=e[i]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(gi(HA),gi(kA),gi(zA),gi(LA),gi(DA),gi(UA),gi(jA),gi(GA),gi(WA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),qA=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let i=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let s=this.translate.getParsedResult(n,e,t);dA(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(MA(e,this.lastKey)&&MA(t,this.lastParams))return this.value;let n;if(TA(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(i){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+t[0])}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(zr($A),Vc())},e.\u0275pipe=Je({name:"translate",type:e,pure:!1}),e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),YA=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:kA,useClass:EA},t.compiler||{provide:zA,useClass:VA},t.parser||{provide:LA,useClass:FA},t.missingTranslationHandler||{provide:DA,useClass:OA},HA,{provide:jA,useValue:t.isolate},{provide:UA,useValue:t.useDefaultLang},{provide:GA,useValue:t.extend},{provide:WA,useValue:t.defaultLanguage},$A]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:kA,useClass:EA},t.compiler||{provide:zA,useClass:VA},t.parser||{provide:LA,useClass:FA},t.missingTranslationHandler||{provide:DA,useClass:OA},{provide:jA,useValue:t.isolate},{provide:UA,useValue:t.useDefaultLang},{provide:GA,useValue:t.extend},{provide:WA,useValue:t.defaultLanguage},$A]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();var ZA=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let QA=(()=>{class e{constructor(e,t,n){this.translate=e,this.router=t,this.toastController=n}success(e){return ZA(this,void 0,void 0,function*(){const t=e.includes("lang.")?this.translate.instant(e):e;(yield this.toastController.create({cssClass:"notif-success",duration:3e3,message:t,position:"top"})).present()})}error(e){return ZA(this,void 0,void 0,function*(){const t=e.includes("lang.")?this.translate.instant(e):e;(yield this.toastController.create({cssClass:"notif-error",duration:3e3,message:t,position:"top"})).present()})}handleErrors(e){console.log(e),0===e.status&&"Unknown Error"===e.statusText?this.error("lang.connectionServerFailed"):void 0!==e.error.errors?(this.error(void 0!==e.error.lang?"lang."+e.error.lang:e.error.errors),403!==e.status&&404!==e.status||this.router.navigate(["/home"])):this.error(void 0!==e.error.exception?e.error.exception[0].message:void 0!==e.error.error&&void 0!==e.error.error.message?e.error.error.message:void 0!==e.error.error[0]?e.error.error[0].message:e.message)}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(r_),gi(nA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class XA{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class KA extends XA{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class JA extends XA{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class eS extends XA{constructor(e){super(),this.element=e instanceof rl?e.nativeElement:e}}class tS{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof KA?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof JA?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof eS?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nS extends tS{constructor(e,t,n,i,s){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=s}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let iS=(()=>{class e extends tS{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new yc,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(zr(nl),zr(Gl),zr(Hd))},e.\u0275dir=Ke({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vr]}),e})(),sS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),oS=(()=>{class e{constructor(e,t,n){this.componentFactoryResolver=e,this.injector=t,this.appRef=n,this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentToobal="mainDocumentDetail",this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.mobileMode=!0,this.smartphoneMode=!0,this.mode="",this.scale=1,this.x=0,this.y=90,this.dragging=!1,this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}reset(){this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.currentToobal="mainDocumentDetail",this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.mode="",this.scale=1,this.x=0,this.y=90}getAppSession(){this.appSession="AD098AD9ADA0D9IAXKJ90AKS099S"}initTemplate(e,t,n="adminMenu",i=""){document.getElementById(""+n).innerHTML="",this.portalHost=new nS(document.querySelector("#"+n),this.componentFactoryResolver,this.appRef,this.injector);const s=new JA(e,t);this.portalHost.attach(s)}detachTemplate(e="adminMenu"){this.portalHost.detach()}}return e.\u0275fac=function(t){return new(t||e)(gi(nl),gi(mr),gi(Pd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),rS=(()=>{class e{constructor(){}setAppSession(e){this.appSession=e}getAppSession(){return this.appSession}save(e,t){localStorage.setItem(e+"_"+this.getAppSession(),t)}get(e){return localStorage.getItem(e+"_"+this.getAppSession())}remove(e){localStorage.removeItem(e+"_"+this.getAppSession())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),aS=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.router=t,this.notificationService=n,this.signaturesService=i,this.localStorage=s,this.navCtrl=o,this.authMode="default",this.changeKey=!1,this.coreUrl="",this.user={},this.signatureRoles=[],this.authFailed=!1}getToken(){return this.localStorage.get("MaarchParapheurToken")}setToken(e){this.localStorage.save("MaarchParapheurToken",e)}getRefreshToken(){return this.localStorage.get("MaarchParapheurRefreshToken")}setRefreshToken(e){this.localStorage.save("MaarchParapheurRefreshToken",e)}clearTokens(){this.localStorage.remove("MaarchParapheurToken"),this.localStorage.remove("MaarchParapheurRefreshToken")}refreshToken(){return this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).pipe(Ov(e=>{this.setToken(e.token),this.updateUserInfo(e.token)}),fv(e=>(this.logout(),this.notificationService.error("lang.sessionExpired"),lb(!1))))}logout(){if(null===this.getRefreshToken())return this.clearTokens(),void this.navCtrl.navigateRoot("/login");this.http.get("../rest/authenticate/logout").pipe(Ov(()=>{this.clearTokens(),this.navCtrl.navigateRoot("/login")}),fv(e=>(this.notificationService.handleErrors(e),this.clearTokens(),this.navCtrl.navigateRoot("/login"),lb(!1)))).subscribe()}saveTokens(e,t){this.setToken(e),this.setRefreshToken(t)}isAuth(){return null!==this.getToken()}updateUserInfo(e){const t=this.user.picture,n=JSON.parse(atob(e.split(".")[1]));this.user=n.user,this.authMode=n.connection,this.user.picture=t}updateUserInfoWithTokenRefresh(){this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).subscribe({next:e=>{this.setToken(e.token),this.updateUserInfo(this.getToken())},error:e=>{this.notificationService.handleErrors(e)}})}setUser(e){this.user=e}getSignatureMode(e){return"visa"===e?"stamp":e}getWorkflowMode(e){return this.signatureRoles.filter(t=>t.id===e)[0].type}setCachedUrl(e){this.localStorage.save("MaarchParapheurCacheUrl",e)}getCachedUrl(){return this.localStorage.get("MaarchParapheurCacheUrl")}cleanCachedUrl(){return this.localStorage.remove("MaarchParapheurCacheUrl")}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(r_),gi(QA),gi(oS),gi(rS),gi(ux))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),lS=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.router=t,this.notificationService=n,this.signaturesService=i,this.authService=s,this.excludeUrls=["../rest/authenticate","../rest/authenticate/token","../rest/authenticationInformations","../rest/password","../rest/passwordRules","../rest/languages/fr","../rest/languages/en"],this.frontUrl=["../rest/documents/","../rest/users/","../rest/groups/","../rest/configurations/"],this.byPassHandleErrors=[{route:"/password",method:["PUT"]},{route:"/logout",method:["GET"]}],this.isRefreshing=!1,this.refreshTokenSubject=new Gb(null)}addAuthHeader(e){const t=this.authService.getToken();return e.clone({setHeaders:{Authorization:"Bearer "+t}})}intercept(e,t){return(this.excludeUrls.indexOf(e.url)>-1||e.url.indexOf("/password")>-1)&&-1===e.url.indexOf("/passwordRules")&&-1===e.method.indexOf("PUT")?t.handle(e):(e=this.addAuthHeader(e),t.handle(e).pipe(fv(n=>{if(this.byPassHandleErrors.filter(t=>e.url.indexOf(t.route)>-1&&t.method.indexOf(e.method)>-1).length>0)return t.handle(e);if(401===n.status)return this.handle401Error(e,t);if("Password expired : User must change his password"===n.error.errors)return this.router.navigate(["/password-modification"]);{let t;return"GET"===e.method&&this.frontUrl.forEach(i=>{if(e.url.indexOf(i)>-1)return"../rest/documents/"===i&&(this.signaturesService.mainDocumentId=null),t=new Eb({error:n.error,status:n.status,statusText:n.statusText,headers:n.headers,url:n.url}),Promise.reject(t)}),t=new Eb({error:n.error,status:n.status,statusText:n.statusText,headers:n.headers,url:n.url}),Promise.reject(t)}})))}handle401Error(e,t){return this.isRefreshing?this.refreshTokenSubject.pipe(db(e=>null!=e),lv(1),sv(()=>(e=this.addAuthHeader(e),t.handle(e)))):(this.isRefreshing=!0,this.refreshTokenSubject.next(null),this.authService.refreshToken().pipe(sv(n=>(this.isRefreshing=!1,this.refreshTokenSubject.next(n.token),e=this.addAuthHeader(e),t.handle(e)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(r_),gi(QA),gi(oS),gi(aS))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function cS(e,t){if(1&e){const e=qr();Hr(0,"div",2),Hr(1,"div",3),Hr(2,"button",4),dn(),Hr(3,"svg",5),Ur(4,"path",6),jr(),un(),Hr(5,"span",7),Da(6,"Presentation Mode"),jr(),jr(),Hr(7,"button",8),dn(),Hr(8,"svg",5),Ur(9,"path",9),jr(),un(),Hr(10,"span",10),Da(11,"Open"),jr(),jr(),Hr(12,"button",11),dn(),Hr(13,"svg",5),Ur(14,"path",12),jr(),un(),Hr(15,"span",13),Da(16,"Print"),jr(),jr(),Hr(17,"button",14),dn(),Hr(18,"svg",5),Ur(19,"path",15),jr(),un(),Hr(20,"span",16),Da(21,"Download"),jr(),jr(),Hr(22,"a",17),dn(),Hr(23,"svg",5),Ur(24,"path",18),jr(),un(),Hr(25,"span",19),Da(26,"Current View"),jr(),jr(),Hr(27,"button",20),dn(),Hr(28,"svg",21),Ur(29,"path",22),jr(),un(),Hr(30,"span",23),Da(31,"Go to First Page"),jr(),jr(),Hr(32,"button",24),Xr("click",function(){return Lt(e),na().previousPage()}),dn(),Hr(33,"svg",21),Ur(34,"path",25),jr(),un(),Hr(35,"span",26),Da(36,"Go to Previous Page"),jr(),jr(),Hr(37,"button",27),Xr("click",function(){return Lt(e),na().nextPage()}),dn(),Hr(38,"svg",21),Ur(39,"path",28),jr(),un(),Hr(40,"span",29),Da(41,"Go to Next Page"),jr(),jr(),Hr(42,"button",30),dn(),Hr(43,"svg",21),Ur(44,"path",31),jr(),un(),Hr(45,"span",32),Da(46,"Go to Last Page"),jr(),jr(),Hr(47,"button",33),dn(),Hr(48,"svg",5),Ur(49,"path",34),jr(),un(),Hr(50,"span",35),Da(51,"Rotate Clockwise"),jr(),jr(),Hr(52,"button",36),dn(),Hr(53,"svg",5),Ur(54,"path",37),jr(),un(),Hr(55,"span",38),Da(56,"Rotate Counterclockwise"),jr(),jr(),Hr(57,"button",39),dn(),Hr(58,"svg",5),Ur(59,"path",40),jr(),un(),Hr(60,"span",41),Da(61,"Text Selection Tool"),jr(),jr(),Hr(62,"button",42),dn(),Hr(63,"svg",5),Ur(64,"path",43),jr(),un(),Hr(65,"span",44),Da(66,"Hand Tool"),jr(),jr(),Hr(67,"button",45),dn(),Hr(68,"svg",46),Ur(69,"path",47),jr(),un(),Hr(70,"span",48),Da(71,"Vertical Scrolling"),jr(),jr(),Hr(72,"button",49),dn(),Hr(73,"svg",46),Ur(74,"path",50),jr(),un(),Hr(75,"span",51),Da(76,"Horizontal Scrolling"),jr(),jr(),Hr(77,"button",52),dn(),Hr(78,"svg",46),Ur(79,"path",53),jr(),un(),Hr(80,"span",54),Da(81,"Wrapped Scrolling"),jr(),jr(),Hr(82,"button",55),Xr("click",function(){return Lt(e),na().onSpreadChange("off")}),dn(),Hr(83,"svg",56),Ur(84,"path",57),jr(),un(),Hr(85,"span",58),Da(86,"No Spreads"),jr(),jr(),Hr(87,"button",59),Xr("click",function(){return Lt(e),na().onSpreadChange("odd")}),dn(),Hr(88,"svg",46),Ur(89,"path",60),jr(),un(),Hr(90,"span",61),Da(91,"Odd Spreads"),jr(),jr(),Hr(92,"button",62),Xr("click",function(){return Lt(e),na().onSpreadChange("even")}),dn(),Hr(93,"svg",46),Ur(94,"path",63),jr(),un(),Hr(95,"span",64),Da(96,"Even Spreads"),jr(),jr(),Hr(97,"button",65),dn(),Hr(98,"svg",66),Ur(99,"path",67),Ur(100,"path",68),Ur(101,"circle",69),jr(),un(),Hr(102,"span",70),Da(103,"Document Properties\u2026"),jr(),jr(),jr(),jr()}if(2&e){const e=na();fa("top",e.secondaryToolbarTop)("transform","scale("+e.mobileFriendlyZoomScale+")")("transform-origin","right top"),no(2),ma("invisible",!e.showPresentationModeButton),no(5),ma("invisible",!e.showOpenFileButton),no(5),ma("invisible",!e.showPrintButton),no(5),ma("invisible",!e.showDownloadButton),no(5),ma("invisible",!e.showBookmarkButton),no(5),ma("invisible",!e.showPagingButtons),no(5),ma("invisible",!e.showPagingButtons),Vr("disabled",e.disablePreviousPage),no(5),ma("invisible",!e.showPagingButtons),Vr("disabled",e.disableNextPage),no(5),ma("invisible",!e.showPagingButtons),no(5),ma("invisible",!e.showRotateButton),no(5),ma("invisible",!e.showRotateButton),no(5),ma("invisible",!e.showHandToolButton),no(5),ma("invisible",!e.showHandToolButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showPropertiesButton)}}function dS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customSidebar ? customSidebar : defaultSidebar"])}function uS(e,t){if(1&e){const e=qr();Hr(0,"div",2),Hr(1,"div",3),Ur(2,"pdf-sidebar-toolbar"),jr(),Hr(3,"pdf-sidebar-content",4),Xr("thumbnailDrawn",function(t){return Lt(e),na().thumbnailDrawn.emit(t)}),jr(),Ur(4,"div",5),jr()}if(2&e){const e=na();fa("top",e.sidebarPositionTop),no(1),fa("display",e.hideSidebarToolbar?"none":""),no(2),Vr("customThumbnail",e.customThumbnail)("hideSidebarToolbar",e.hideSidebarToolbar)}}const hS=["*"],pS=["root"],gS=["pdfSecondaryToolbarComponent"],fS=["pdfsidebar"];function mS(e,t){1&e&&Ur(0,"link",48)}function bS(e,t){1&e&&Ur(0,"pdf-dark-theme")}function vS(e,t){1&e&&Ur(0,"pdf-light-theme")}function yS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customFreeFloatingBar ? customFreeFloatingBar : defaultFreeFloatingBar"])}function wS(e,t){}function _S(e,t){if(1&e&&(Hr(0,"div",3),$r(1,0),jr()),2&e){const e=na(),t=Br(4);fa("transform","scale("+e.mobileFriendlyZoomScale+")")("transform-origin","left center")("left",e.findbarLeft)("top",e.findbarTop),ma("invisible",!e.showFindButton),no(1),Vr("ngTemplateOutlet",e.customFindbarButtons?e.customFindbarButtons:t)}}function xS(e,t){1&e&&(Ur(0,"pdf-find-input-area",4),Ur(1,"pdf-findbar-options-one-container"),Ur(2,"pdf-findbar-options-two-container"),Ur(3,"pdf-findbar-options-three-container"),Ur(4,"pdf-findbar-message-container")),2&e&&Vr("customFindbarInputArea",na().customFindbarInputArea)}function CS(e,t){1&e&&(Hr(0,"div",2),Ur(1,"pdf-search-input-field"),Ur(2,"pdf-find-previous"),Ur(3,"pdf-find-next"),jr())}const AS=["button"],SS="[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",kS=["button1"],ES=["button2"],PS="[_nghost-%COMP%]{margin-top:-1px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",DS="button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:-2px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}";function OS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customToolbar ? customToolbar : defaultToolbar"])}function MS(e,t){if(1&e&&(Hr(0,"div",7),Hr(1,"div",8),Ur(2,"pdf-toggle-sidebar",9),Ur(3,"pdf-find-button",10),Ur(4,"pdf-paging-area",11),jr(),Ur(5,"pdf-zoom-toolbar",12),Hr(6,"div",13),Ur(7,"pdf-hand-tool",14),Ur(8,"pdf-select-tool",15),Ur(9,"pdf-rotate-page",16),Ur(10,"pdf-presentation-mode",17),Ur(11,"pdf-open-file",18),Ur(12,"pdf-print",19),Ur(13,"pdf-download",20),Ur(14,"pdf-bookmark",21),Ur(15,"pdf-toggle-secondary-toolbar",22),jr(),jr()),2&e){const e=na();no(2),Vr("showSidebarButton",e.showSidebarButton),no(1),Vr("showFindButton",e.showFindButton)("textLayer",e.textLayer),no(1),Vr("showPagingButtons",e.showPagingButtons),no(1),Vr("showZoomButtons",e.showZoomButtons)("zoomLevels",e.zoomLevels),no(2),Vr("showHandToolButton",e.showHandToolButton),no(1),Vr("showSelectToolButton",e.showHandToolButton),no(1),Vr("showRotateButton",e.showRotateButton),no(1),Vr("showPresentationModeButton",e.showPresentationModeButton),no(1),Vr("showOpenFileButton",e.showOpenFileButton),no(1),Vr("showPrintButton",e.showPrintButton),no(1),Vr("showDownloadButton",e.showDownloadButton),no(1),Vr("showBookmarkButton",e.showBookmarkButton),no(1),Vr("showSecondaryToolbarButton",e.showSecondaryToolbarButton)}}const TS=["sizeSelector"];function IS(e,t){if(1&e&&(Hr(0,"option",5),Da(1),jr()),2&e){const e=t.$implicit;Vr("id",e.id),Ir("value",e.value)("data-l10n-id",e.dataL10nId)("data-l10n-args",e.dataL10nArgs),no(1),Ma(" ",e.displayValue," ")}}const RS=["thumbnailViewTemplate"];function LS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customThumbnail ? customThumbnail : defaultThumbnail"])}function FS(e,t){1&e&&(Hr(0,"a",8),Hr(1,"div",9),Ur(2,"div",10),jr(),jr())}const BS="undefined"!=typeof window&&!!window.MSInputMethodContext&&!!document.documentMode,zS=/Edge\/\d./i.test(navigator.userAgent),VS="undefined"==typeof ReadableStream||void 0===Promise.allSettled;let NS={cursorToolOnLoad:0,defaultUrl:"",defaultZoomValue:"",disableHistory:!1,disablePageLabels:!1,enablePrintAutoRotate:!1,enableWebGL:!1,eventBusDispatchToDOM:!1,externalLinkRel:"noopener noreferrer nofollow",externalLinkTarget:0,historyUpdateUrl:!1,imageResourcesPath:"./images/",maxCanvasPixels:16777216,pdfBugEnabled:!1,removePageBorders:!1,renderer:"canvas",renderInteractiveForms:!0,sidebarViewOnLoad:-1,scrollModeOnLoad:-1,spreadModeOnLoad:-1,textLayerMode:1,useOnlyCssZoom:!1,viewOnLoad:0,cMapPacked:!0,cMapUrl:()=>"./"+NS.assetsFolder+"/cmaps/",disableAutoFetch:!1,disableCreateObjectURL:!1,disableFontFace:!1,disableRange:!1,disableStream:!1,isEvalSupported:!0,maxImageSize:-1,pdfBug:!1,postMessageTransfers:!0,verbosity:1,workerPort:null,assetsFolder:"assets",workerSrc:()=>BS||zS||VS?"./"+NS.assetsFolder+"/pdf.worker-es5.js":"./"+NS.assetsFolder+"/pdf.worker.js"};window.pdfDefaultOptions?NS=window.pdfDefaultOptions:window.pdfDefaultOptions=NS;const HS={ERRORS:0,WARNINGS:1,INFOS:5};HS[HS.ERRORS]="ERRORS",HS[HS.WARNINGS]="WARNINGS",HS[HS.INFOS]="INFOS";const jS={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};jS[jS.FOUND]="FOUND",jS[jS.NOT_FOUND]="NOT_FOUND",jS[jS.WRAPPED]="WRAPPED",jS[jS.PENDING]="PENDING";const US=["toolbarViewer","numPages","pageNumber","scaleSelectContainer","customScaleOption","previous","next","zoomIn","zoomOut","viewFind","openFile","print","presentationMode","download","viewBookmark","secondaryToolbar","secondaryToolbarToggle","secondaryToolbarButtonContainer","secondaryPresentationMode","secondaryOpenFile","secondaryPrint","secondaryDownload","secondaryViewBookmark","firstPage","lastPage","pageRotateCw","pageRotateCcw","cursorSelectTool","cursorHandTool","scrollVertical","scrollHorizontal","scrollWrapped","spreadNone","spreadOdd","spreadEven","documentProperties","contextFirstPage","contextLastPage","contextPageRotateCw","contextPageRotateCcw","outerContainer","viewerContainer","sidebarToggle","viewThumbnail","viewOutline","viewAttachments","thumbnailView","outlineView","attachmentsView","outerContainer","sidebarResizer","findbar","viewFind","findInput","findInputMultiline","findHighlightAll","findMatchCase","findEntireWord","findMultipleSearchTexts","findIgnoreAccents","findMsg","findResultsCount","findPrevious","findNext","findFuzzy","passwordOverlay","passwordText","password","passwordSubmit","passwordCancel","documentPropertiesOverlay","documentPropertiesClose","fileNameField","fileSizeField","titleField","authorField","subjectField","keywordsField","creationDateField","modificationDateField","creatorField","producerField","versionField","pageCountField","pageSizeField","linearizedField","errorWrapper","errorMessage","errorClose","errorMoreInfo","errorShowMore","errorShowLess","scaleSelectContainer","viewAttachments","viewLayers","viewThumbnail","viewOutline"];let WS=(()=>{class e{addMissingStandardWidgets(){this.dummyComponentsContainer=document.getElementsByClassName("dummy-pdf-viewer-components")[0];const e=this.dummyComponentsContainer;if(e)for(let t=0;t<e.children.length;t++){const t=e.firstChild;t&&e.removeChild(t)}if(US.forEach(e=>{if(this.needsDummyWidget(e)){const t=document.createElement("span");t.id=e,t.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(t)}}),this.needsDummyWidget("scaleSelect")){const e=document.createElement("select");e.id="scaleSelect",e.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(e)}}needsDummyWidget(e){return!document.getElementById(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-dummy-components"]],decls:1,vars:0,consts:[[1,"invisible","dummy-pdf-viewer-components"]],template:function(e,t){1&e&&Ur(0,"span",0)},encapsulation:2}),e})(),GS=(()=>{class e{constructor(){this.onPDFJSInit=new C,this.pdfjsVersion=new CA(1),window.pdfjsLib&&window.pdfjsLib.version?this.pdfjsVersion.next(window.pdfjsLib.version):this.onPDFJSInit.subscribe(()=>{this.pdfjsVersion.next(window.pdfjsLib.version)})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ge({factory:function(){return new e},token:e,providedIn:"root"}),e})(),$S=(()=>{class e{constructor(e,t){this.element=e,this.notificationService=t,this.showPresentationModeButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.showPagingButtons=!0,this.showRotateButton=!0,this.showHandToolButton=!0,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.spreadChange=new yc,this.secondaryMenuIsEmpty=new yc,this.disablePreviousPage=!0,this.disableNextPage=!0;const n=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),n.unsubscribe()})}onPdfJsInit(){const e=window.PDFViewerApplication;e.eventBus.on("pagechanging",()=>{this.updateUIState()}),e.eventBus.on("pagerendered",()=>{this.updateUIState()})}updateUIState(){setTimeout(()=>{const e=window.PDFViewerApplication,t=e.pdfViewer.currentPageNumber,n=document.getElementById("previousPage");n&&(this.disablePreviousPage=Number(t)<=1,n.disabled=this.disablePreviousPage);const i=document.getElementById("nextPage");i&&(this.disableNextPage=t===e.pagesCount,i.disabled=this.disableNextPage)})}onSpreadChange(e){this.spreadChange.emit(e)}ngOnChanges(e){setTimeout(()=>this.checkVisibility())}onResize(){setTimeout(()=>this.checkVisibility())}ngAfterViewInit(){setTimeout(()=>this.checkVisibility())}ngOnInit(){setTimeout(()=>this.checkVisibility())}checkVisibility(){let e=0;const t=this.element.nativeElement.children.item(0);if(t){const n=t.children.item(0);n&&n instanceof HTMLElement&&(e=this.checkVisibilityRecursively(n))}this.secondaryMenuIsEmpty.emit(0===e)}checkVisibilityRecursively(e){if("none"===e.style.display)return 0;if(e.classList.contains("hidden"))return 0;if(e.classList.contains("invisible"))return 0;if("none"===window.getComputedStyle(e).display)return 0;if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement)return 1;let t=0;const n=e.children;if(n&&n.length)for(let i=0;i<n.length&&0===t;i++){const e=n.item(i);e&&e instanceof HTMLElement&&(t+=this.checkVisibilityRecursively(e))}return t}previousPage(){window.PDFViewerApplication.eventBus.dispatch("previouspage")}nextPage(){window.PDFViewerApplication.eventBus.dispatch("nextpage")}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-secondary-toolbar"]],hostBindings:function(e,t){1&e&&Xr("resize",function(){return t.onResize()},!1,ps)},inputs:{showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",showPagingButtons:"showPagingButtons",showRotateButton:"showRotateButton",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",customSecondaryToolbar:"customSecondaryToolbar",secondaryToolbarTop:"secondaryToolbarTop",mobileFriendlyZoomScale:"mobileFriendlyZoomScale"},outputs:{spreadChange:"spreadChange",secondaryMenuIsEmpty:"secondaryMenuIsEmpty"},features:[dt],decls:3,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultSecondaryToolbar",""],["id","secondaryToolbar",1,"secondaryToolbar","hidden","doorHangerRight"],["id","secondaryToolbarButtonContainer"],["type","button","id","secondaryPresentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"secondaryToolbarButton","visibleLargeView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"],["type","button","id","secondaryOpenFile","title","Open File","data-l10n-id","open_file",1,"secondaryToolbarButton","visibleMediumView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"],["type","button","id","secondaryPrint","title","Print","data-l10n-id","print",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"],["type","button","id","secondaryDownload","title","Download","data-l10n-id","download",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"],["href","#","id","secondaryViewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"secondaryToolbarButton","bookmark","visibleTinyView"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"],["type","button","id","firstPage","title","Go to First Page","data-l10n-id","first_page",1,"secondaryToolbarButton","firstPage","visibleLargeView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"],["type","button","id","previousPage","title","Go to Previous Page","data-l10n-id","previous",1,"secondaryToolbarButton","previousPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"],["type","button","id","nextPage","title","Go to Next Page","data-l10n-id","next",1,"secondaryToolbarButton","nextPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"],["type","button","id","lastPage","title","Go to Last Page","data-l10n-id","last_page",1,"secondaryToolbarButton","lastPage","visibleLargeView"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"],["type","button","id","pageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"secondaryToolbarButton","rotateCw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["data-l10n-id","page_rotate_cw_label"],["type","button","id","pageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"secondaryToolbarButton","rotateCcw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"],["data-l10n-id","page_rotate_ccw_label"],["type","button","id","cursorSelectTool","title","Enable Text Selection Tool","data-l10n-id","cursor_text_select_tool",1,"secondaryToolbarButton","toggled","visibleXXLView"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"],["type","button","id","cursorHandTool","title","Enable Hand Tool","data-l10n-id","cursor_hand_tool",1,"secondaryToolbarButton","visibleXXLView"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"],["type","button","id","scrollVertical","title","Use Vertical Scrolling","data-l10n-id","scroll_vertical",1,"secondaryToolbarButton","scrollVertical","toggled"],[2,"width","24px","height","24px","margin-top","3px"],["fill","currentColor","d","M9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM11 0v.5c0 1-.5 1.5-1.5 1.5h-3C5.5 2 5 1.5 5 .5V0h6zM11 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6z"],["data-l10n-id","scroll_vertical_label"],["type","button","id","scrollHorizontal","title","Use Horizontal Scrolling","data-l10n-id","scroll_horizontal",1,"secondaryToolbarButton","scrollHorizontal"],["fill","currentColor","d","M0 4h1.5c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5H0zM9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM16 4h-1.5c-1 0-1.5.5-1.5 1.5v5c0 1 .5 1.5 1.5 1.5H16z"],["data-l10n-id","scroll_horizontal_label"],["type","button","id","scrollWrapped","title","Use Wrapped Scrolling","data-l10n-id","scroll_wrapped",1,"secondaryToolbarButton","scrollWrapped"],["fill","currentColor","d","M5.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C1 4.5 1.5 4 2.5 4zM7 0v.5C7 1.5 6.5 2 5.5 2h-3C1.5 2 1 1.5 1 .5V0h6zM7 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6zM13.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5c0-1 .5-1.5 1.5-1.5zM15 0v.5c0 1-.5 1.5-1.5 1.5h-3C9.5 2 9 1.5 9 .5V0h6zM15 16v-.507c0-1-.5-1.5-1.5-1.5h-3C9.5 14 9 14.5 9 15.5v.5h6z"],["data-l10n-id","scroll_wrapped_label"],["type","button","id","spreadNone","title","Do not join page spreads","data-l10n-id","spread_none",1,"secondaryToolbarButton","spreadNone","toggled",3,"click"],["height","16","width","16"],["fill","currentColor","d","M6 3c-1 0-1.5.5-1.5 1.5v7c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5z"],["data-l10n-id","spread_none_label"],["type","button","id","spreadOdd","title","Join page spreads starting with odd-numbered pages","data-l10n-id","spread_odd",1,"secondaryToolbarButton","spreadOdd",3,"click"],["fill","currentColor","d","M10.56 3.5C9.56 3.5 9 4 9 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.93 1.2c.8 0 1.4.2 1.8.64.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.44-.2.3-.6.6-1 .93l-.6.4c-.4.3-.6.4-.7.55-.1.1-.2.2-.3.4h3.2v1.27h-5c0-.5.1-1 .3-1.43.2-.49.7-1 1.5-1.54.7-.5 1.1-.8 1.3-1.02.3-.3.4-.7.4-1.05 0-.3-.1-.6-.3-.77-.2-.2-.4-.3-.7-.3-.4 0-.7.2-.9.5-.1.2-.1.5-.2.9h-1.4c0-.6.2-1.1.3-1.5.4-.7 1.1-1.1 2-1.1zM1.54 3.5C.54 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.54 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.8 1.125H4.5V12H3V6.9H1.3v-1c.5 0 .8 0 .97-.03.33-.07.53-.17.73-.37.1-.2.2-.3.25-.5.05-.2.05-.3.05-.3z"],["data-l10n-id","spread_odd_label"],["type","button","id","spreadEven","title","Join page spreads starting with even-numbered pages","data-l10n-id","spread_even",1,"secondaryToolbarButton","spreadEven",3,"click"],["fill","currentColor","d","M1.5 3.5C.5 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm2 1.2c.8 0 1.4.2 1.8.6.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.4-.2.3-.5.7-1 1l-.6.4c-.4.3-.6.4-.75.56-.15.14-.25.24-.35.44H6v1.3H1c0-.6.1-1.1.3-1.5.3-.6.7-1 1.5-1.6.7-.4 1.1-.8 1.28-1 .32-.3.42-.6.42-1 0-.3-.1-.6-.23-.8-.17-.2-.37-.3-.77-.3s-.7.1-.9.5c-.04.2-.1.5-.1.9H1.1c0-.6.1-1.1.3-1.5.4-.7 1.1-1.1 2.1-1.1zM10.54 3.54C9.5 3.54 9 4 9 5v6.5c0 1 .5 1.5 1.54 1.5h4c.96 0 1.46-.5 1.46-1.5V5c0-1-.5-1.46-1.5-1.46zm1.9.95c.7 0 1.3.2 1.7.5.4.4.6.8.6 1.4 0 .4-.1.8-.4 1.1-.2.2-.3.3-.5.4.1 0 .3.1.6.3.4.3.5.8.5 1.4 0 .6-.2 1.2-.6 1.6-.4.5-1.1.7-1.9.7-1 0-1.8-.3-2.2-1-.14-.29-.24-.69-.24-1.29h1.4c0 .3 0 .5.1.7.2.4.5.5 1 .5.3 0 .5-.1.7-.3.2-.2.3-.5.3-.8 0-.5-.2-.8-.6-.95-.2-.05-.5-.15-1-.15v-1c.5 0 .8-.1 1-.14.3-.1.5-.4.5-.9 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.7-.3-.3 0-.6.1-.75.3-.2.2-.2.5-.2.86h-1.34c0-.4.1-.7.19-1.1 0-.12.2-.32.4-.62.2-.2.4-.3.7-.4.3-.1.6-.1 1-.1z"],["data-l10n-id","spread_even_label"],["type","button","id","documentProperties","title","Document Properties\u2026","data-l10n-id","document_properties",1,"secondaryToolbarButton","documentProperties"],["viewBox","0 0 16 16",2,"width","16px","height","16px","margin-top","3px"],["fill","currentColor","d","M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z"],["fill","currentColor","d","M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z"],["fill","currentColor","cx","8","cy","5","r","1.188"],["data-l10n-id","document_properties_label"]],template:function(e,t){if(1&e&&($r(0,0),Fr(1,cS,104,48,"ng-template",null,1,zc)),2&e){const e=Br(2);Vr("ngTemplateOutlet",t.customSecondaryToolbar?t.customSecondaryToolbar:e)}},directives:[Ku],styles:["svg[_ngcontent-%COMP%]{position:absolute;display:inline-block;top:0;left:0}"]}),e})();const qS={SELECT:0,HAND:1,ZOOM:2};qS[qS.SELECT]="SELECT",qS[qS.HAND]="HAND",qS[qS.ZOOM]="ZOOM";class YS{constructor(e){this._zone=e,this.startX=0,this.startY=0,this.initialPinchDistance=0,this.pinchScale=1,this.isMobile()&&this.initializePinchZoom()}isMobile(){return"ontouchstart"in document.documentElement}onViewerTouchStart(e){if(this.initialPinchDistance=0,2===e.touches.length){const t=this.container.getBoundingClientRect();e.touches[0].pageX>=t.left&&e.touches[0].pageX<=t.right&&e.touches[0].pageY>=t.top&&e.touches[1].pageX>=t.left&&e.touches[1].pageX<=t.right&&e.touches[1].pageY>=t.top&&(this.startX=(e.touches[0].pageX+e.touches[1].pageX)/2,this.startY=(e.touches[0].pageY+e.touches[1].pageY)/2,this.initialPinchDistance=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),e.preventDefault(),e.stopPropagation())}}onViewerTouchMove(e){const t=window.PDFViewerApplicationOptions;if(this.initialPinchDistance<=0||2!==e.touches.length)return;1!==this.pinchScale&&e.preventDefault();const n=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),i=this.startX+this.container.scrollLeft,s=this.startY+this.container.scrollTop;this.pinchScale=n/this.initialPinchDistance;let o=Number(t.get("minZoom"));o||(o=.1),this.pinchScale<o&&(this.pinchScale=o);let r=Number(t.get("maxZoom"));r||(r=10),this.pinchScale>r&&(this.pinchScale=r),this.viewer.style.transform=`scale(${this.pinchScale})`,this.viewer.style.transformOrigin=`${i}px ${s}px`,e.preventDefault(),e.stopPropagation()}onViewerTouchEnd(e){const t=window.PDFViewerApplication;if(this.initialPinchDistance<=0)return;this.viewer.style.transform="none",this.viewer.style.transformOrigin="unset",t.pdfViewer.currentScale*=this.pinchScale;const n=this.container.getBoundingClientRect(),i=this.startY-n.top;this.container.scrollLeft+=(this.startX-n.left)*(this.pinchScale-1),this.container.scrollTop+=i*(this.pinchScale-1),this.resetPinchZoomParams(),e.preventDefault(),e.stopPropagation()}resetPinchZoomParams(){this.startX=this.startY=this.initialPinchDistance=0,this.pinchScale=1}initializePinchZoom(){this.viewer=document.getElementById("viewer"),this.container=document.getElementById("viewerContainer"),this._zone.runOutsideAngular(()=>{document.addEventListener("touchstart",this.onViewerTouchStart.bind(this)),document.addEventListener("touchmove",this.onViewerTouchMove.bind(this),{passive:!1}),document.addEventListener("touchend",this.onViewerTouchEnd.bind(this))})}destroyPinchZoom(){this.isMobile()&&(document.removeEventListener("touchstart",this.onViewerTouchStart),document.removeEventListener("touchmove",this.onViewerTouchMove),document.removeEventListener("touchend",this.onViewerTouchEnd))}}let ZS=(()=>{class e{constructor(e,t){this.elementRef=e,this.ref=t,this.sidebarVisible=!0,this.showSidebarButton=!0,this.thumbnailDrawn=new yc,this.hideSidebarToolbar=!0}showToolbarWhenNecessary(){const e=this.elementRef.nativeElement.querySelectorAll("button");let t=0;e.forEach(e=>{e.hidden||t++}),this.hideSidebarToolbar=t<=1,this.ref.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl))},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar"]],inputs:{sidebarVisible:"sidebarVisible",showSidebarButton:"showSidebarButton",sidebarPositionTop:"sidebarPositionTop",customSidebar:"customSidebar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:hS,decls:4,vars:1,consts:[[4,"ngTemplateOutlet"],["defaultSidebar",""],["id","sidebarContainer"],["id","additionalSidebarContainer"],[3,"customThumbnail","hideSidebarToolbar","thumbnailDrawn"],["id","sidebarResizer",1,"hidden"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div"),Fr(1,dS,1,0,"ng-content",0),jr(),Fr(2,uS,5,6,"ng-template",null,1,zc)),2&e){const e=Br(3);no(1),Vr("ngTemplateOutlet",t.customSidebar?t.customSidebar:e)}},directives:function(){return[Ku,Hk,Nk]},styles:[""]}),e})(),QS=(()=>{class e{constructor(e,t,n,i){this.ngZone=e,this.platformId=t,this.notificationService=n,this.location=i,this.customFindbarButtons=void 0,this.srcChange=new yc,this.authorization=void 0,this.httpHeaders=void 0,this.contextMenuAllowed=!0,this.afterPrint=new yc,this.beforePrint=new yc,this.currentZoomFactor=new yc,this.enablePrint=!0,this.delayFirstView=0,this.logLevel=HS.WARNINGS,this.enablePinchOnMobile=!1,this.minifiedJSLibraries=!0,this.primaryMenuVisible=!0,this.printResolution=null,this.rotationChange=new yc,this.minHeight=void 0,this._height="100%",this.useBrowserLocale=!1,this.backgroundColor="#e8e8eb",this.filenameForDownload="document.pdf",this.ignoreKeyboard=!1,this.ignoreKeys=[],this.acceptKeys=[],this.imageResourcesPath="./"+NS.assetsFolder+"/images/",this.language=void 0,this.listenToURL=!1,this.nameddest=void 0,this.password=void 0,this._showSidebarButton=!0,this.viewerPositionTop="32px",this.showUnverifiedSignatures=!1,this.showSidebarOnLoad=void 0,this.sidebarVisible=void 0,this.sidebarVisibleChange=new yc,this.showFindButton=void 0,this.showPagingButtons=!0,this.showZoomButtons=!0,this.showPresentationModeButton=!1,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.theme="light",this.showSecondaryToolbarButton=!0,this.hideKebabMenuForSecondaryToolbar=!1,this.showRotateButton=!0,this.handTool=!0,this.handToolChange=new yc,this.showHandToolButton=!1,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.showBorders=!0,this.spreadChange=new yc,this.thumbnailDrawn=new yc,this._page=void 0,this.pageChange=new yc,this.pageLabel=void 0,this.pageLabelChange=new yc,this.pagesLoaded=new yc,this.pageRendered=new yc,this.pdfDownloaded=new yc,this.pdfLoaded=new yc,this.pdfLoadingFailed=new yc,this.textLayer=void 0,this.textlayerRendered=new yc,this.textLayerRendered=new yc,this.updateFindMatchesCount=new yc,this.updateFindState=new yc,this.zoom=void 0,this.zoomChange=new yc,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,1,1.25,1.5,2,3,4],this.maxZoom=10,this.minZoom=.1,this._mobileFriendlyZoom="100%",this.mobileFriendlyZoomScale=1,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.toolbarWidthInPixels=100,this.secondaryToolbarTop=void 0,this.findbarTop=void 0,this.findbarLeft=void 0,this._top=void 0,this.shuttingDown=!1}set src(e){e instanceof Uint8Array?this._src=e.buffer:e instanceof Blob?this._src=URL.createObjectURL(e):"string"==typeof e?(this._src=e,e.length>980&&e.length%4==0&&/^[a-zA-Z\d\/+]+={0,2}$/.test(e)&&console.error("The URL looks like a base64 encoded string. If so, please use the attribute base64 instead of src")):this._src=e}set base64Src(e){const t=window.atob(e),n=t.length,i=new Uint8Array(n);for(let s=0;s<n;s++)i[s]=t.charCodeAt(s);this.src=i.buffer}set height(e){this.minHeight=void 0,e?this._height=e:this.height="100%",setTimeout(()=>{this.checkHeight()})}get height(){return this._height}get showSidebarButton(){return this._showSidebarButton}set showSidebarButton(e){this._showSidebarButton=e;let t=1;/msie\s|trident\//i.test(window.navigator.userAgent)&&(t=Number((this._mobileFriendlyZoom||"100").replace("%",""))/100),this.findbarLeft=this._showSidebarButton?(68*t).toString()+"px":"0px"}get page(){return this._page}set page(e){this._page=e?Number(e):void 0}get mobileFriendlyZoom(){return this._mobileFriendlyZoom}set mobileFriendlyZoom(e){"true"==e?e="150%":"false"!=e&&null!=e||(e="100%"),this._mobileFriendlyZoom=e;let t=1;String(e).includes("%")||(e=100*Number(e)+"%"),t=Number((e||"100").replace("%",""))/100,this.mobileFriendlyZoomScale=t,this.toolbarWidth=(100/t).toString()+"%",this.toolbarPaddingTop=8*(t-1)+"px",this.findbarLeft=this.showSidebarButton?(68*t).toString()+"px":"0px",this.secondaryToolbarTop=(36+36*(t-1)).toString()+"px",this.findbarTop=(36+52*(t-1)).toString()+"px"}set mobileZoom(e){this.mobileFriendlyZoom=e}get sidebarPositionTop(){return this._top?this._top:this.mobileFriendlyZoom?this.mobileFriendlyZoom.endsWith("%")?(2+.29*Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1))).toString()+"px":this.mobileFriendlyZoom.endsWith("px")?this.mobileFriendlyZoom:(16+.16*Number(this.mobileFriendlyZoom)).toString()+"px":"32px"}calcViewerPositionTop(){if(this._top)this.viewerPositionTop=this._top;else{if(this.mobileFriendlyZoom){if(this.mobileFriendlyZoom.endsWith("%")){const e=Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1));return void(this.viewerPositionTop=this.isPrimaryMenuVisible()?(1+.32*e).toString()+"px":"0")}if(this.mobileFriendlyZoom.endsWith("px"))return void(this.viewerPositionTop=this.mobileFriendlyZoom)}this.viewerPositionTop=this.isPrimaryMenuVisible()?"32px":"0"}}iOSVersionRequiresES5(){const e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return null!=e&&parseInt(e[1],10)<13}loadViewer(){if(window["pdfjs-dist/build/pdf"]){const e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n=this.iOSVersionRequiresES5(),i="undefined"==typeof ReadableStream||void 0===Promise.allSettled,s=this.minifiedJSLibraries?".min.js":".js",o=document.createElement("script"),r=NS.assetsFolder;i&&console.log("Using the ES5 version of the PDF viewer."),o.src=this.location.normalize(e||t||n||i?r+"/viewer-es5"+s:r+"/viewer"+s),o.type="text/javascript",o.async=!0,document.getElementsByTagName("head")[0].appendChild(o)}else setTimeout(()=>this.loadViewer(),25)}ngOnInit(){if(this.onResize(),hh(this.platformId)){if(!window["pdfjs-dist/build/pdf"]){const e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n="undefined"==typeof ReadableStream||void 0===Promise.allSettled,i=this.iOSVersionRequiresES5(),s=this.minifiedJSLibraries?".min.js":".js";if(this.minifiedJSLibraries&&!NS.workerSrc().endsWith(".min.js")){const e=NS.workerSrc();NS.workerSrc=()=>e.replace(".js",".min.js")}const o=NS.assetsFolder,r=document.createElement("script");r.src=this.location.normalize(e||t||i||n?o+"/pdf-es5"+s:o+"/pdf"+s),r.type="text/javascript",r.async=!0,document.getElementsByTagName("head")[0].appendChild(r)}window.webViewerLoad||this.loadViewer()}}ngAfterViewInit(){this.shuttingDown||(window.webViewerLoad?this.doInitPDFViewer():setTimeout(()=>this.ngAfterViewInit(),50))}assignTabindexes(){if(this.startTabindex){const e=this.root.nativeElement.cloneNode(!0);e.classList.add("offscreen"),this.showElementsRecursively(e),document.body.appendChild(e);const t=this.collectElementPositions(e,this.root.nativeElement,[]);document.body.removeChild(e);const n=t.sort((e,t)=>e.y-t.y>15?1:t.y-e.y>15?-1:e.x-t.x);for(let i=0;i<n.length;i++)n[i].element.tabIndex=this.startTabindex+i}}showElementsRecursively(e){if(e.classList.remove("hidden"),e.classList.remove("invisible"),e.classList.remove("hiddenXXLView"),e.classList.remove("hiddenXLView"),e.classList.remove("hiddenLargeView"),e.classList.remove("hiddenMediumView"),e.classList.remove("hiddenSmallView"),e.classList.remove("hiddenTinyView"),e.classList.remove("visibleXXLView"),e.classList.remove("visibleXLView"),e.classList.remove("visibleLargeView"),e.classList.remove("visibleMediumView"),e.classList.remove("visibleSmallView"),e.classList.remove("visibleTinyView"),!(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement)&&e.childElementCount>0)for(let t=0;t<e.childElementCount;t++){const n=e.children.item(t);n&&this.showElementsRecursively(n)}}collectElementPositions(e,t,n){if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement){const i=e.getBoundingClientRect(),s={element:t,x:Math.round(i.left),y:Math.round(i.top)};n.push(s)}else if(e.childElementCount>0)for(let i=0;i<e.childElementCount;i++){const s=e.children.item(i),o=t.children.item(i);s&&o&&(n=this.collectElementPositions(s,o,n))}return n}doInitPDFViewer(){const t=document.querySelectorAll('link[type="application/l10n"]');if(0===t.length)document.querySelector('script[type="application/l10n"]')?this.useBrowserLocale&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag."):this.useBrowserLocale||(console.error("If you set the attribute 'useBrowserLocale' to false, you must provide the translations yourself in a script or link tag."),console.error("The easiest way to do this is to add them to the index.html."));else if(this.useBrowserLocale){const e=t[0].attributes.origin;e&&"ngx-extended-pdf-viewer"!==e.value&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag.")}const n=e=>{document.removeEventListener("localized",n),this.initTimeout=setTimeout(()=>{this.shuttingDown||(this.afterLibraryInit(),this.openPDF(),this.assignTabindexes())},this.delayFirstView)};window.addEventListener("afterprint",e=>{this.afterPrint.emit()}),window.addEventListener("beforeprint",e=>{this.beforePrint.emit()}),document.addEventListener("localized",n),e.ngxExtendedPdfViewerInitialized&&console.error("You're trying to open two instances of the PDF viewer. Most likely, this will result in errors.");const i=()=>{this.overrideDefaultSettings(),document.removeEventListener("webviewerloaded",i),this.enablePinchOnMobile&&(this.pinchOnMobileSupport=new YS(this.ngZone))};document.addEventListener("webviewerloaded",i),this.activateTextlayerIfNecessary(null),setTimeout(()=>{if(!this.shuttingDown){this.primaryMenuVisible=!0,this.hideKebabMenuForSecondaryToolbar&&!this.showSecondaryToolbarButton&&(this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1)),this.calcViewerPositionTop(),this.dummyComponents.addMissingStandardWidgets(),window.webViewerLoad();const e=window.PDFViewerApplication;e.appConfig.defaultUrl="",e.appConfig.filenameForDownload=this.filenameForDownload;const t=window.PDFViewerApplicationOptions;t.set("locale",this.language),t.set("imageResourcesPath",this.imageResourcesPath),t.set("minZoom",this.minZoom),t.set("maxZoom",this.maxZoom),e.isViewerEmbedded=!0,e.printKeyDownListener&&window.addEventListener("keydown",e.printKeyDownListener,!0);const n=document.getElementById("printContainer");n&&document.getElementsByTagName("body")[0].appendChild(n)}},0)}afterLibraryInit(){this.notificationService.onPDFJSInit.next()}checkHeight(){const e=document.getElementsByClassName("zoom")[0];if(e&&0===e.clientHeight&&this._height.includes("%")){let t=window.innerHeight-e.getBoundingClientRect().top;t=t*Number(this._height.replace("%",""))/100,this.minHeight=t>100?t+"px":"100px"}}onSpreadChange(e){this.spreadChange.emit(e)}activateTextlayerIfNecessary(e){void 0===this.textLayer?this.handTool?(e&&e.set("textLayerMode",this.showHandToolButton?1:0),this.showHandToolButton||((this.showFindButton||void 0===this.showFindButton)&&(this.ngZone.run(()=>{this.showFindButton=!1}),this.logLevel>=HS.WARNINGS&&console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.')),this.showHandToolButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))):(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(()=>{const e=document.getElementById("viewFind");e&&e.classList.remove("invisible");const t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):this.textLayer?(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(()=>{const e=document.getElementById("viewFind");e&&e.classList.remove("invisible");const t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):(e&&e.set("textLayerMode",0),this.textLayer=!1,this.showFindButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.'),this.ngZone.run(()=>{this.showFindButton=!1})),this.showHandToolButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))}overrideDefaultSettings(){const e=window.PDFViewerApplicationOptions;for(const i in NS)e.set(i,NS[i]);e.set("disablePreferences",!0),this.setZoom(),e.set("ignoreKeyboard",this.ignoreKeyboard),e.set("ignoreKeys",this.ignoreKeys),e.set("acceptKeys",this.acceptKeys),this.activateTextlayerIfNecessary(e);let t=this.sidebarVisible;void 0===t&&(t=this.showSidebarOnLoad);const n=window.PDFViewerApplication;void 0!==t&&(n.sidebarViewOnLoad=t?1:0,n.appConfig&&(n.appConfig.sidebarViewOnLoad=t?1:0),e.set("sidebarViewOnLoad",this.sidebarVisible?1:0)),"even"===this.spread?(e.set("spreadModeOnLoad",2),n.pdfViewer&&(n.pdfViewer.spreadMode=2),this.onSpreadChange("even")):"odd"===this.spread?(e.set("spreadModeOnLoad",1),n.pdfViewer&&(n.pdfViewer.spreadMode=1),this.onSpreadChange("odd")):(e.set("spreadModeOnLoad",0),n.pdfViewer&&(n.pdfViewer.spreadMode=0),this.onSpreadChange("off")),this.printResolution&&e.set("printResolution",this.printResolution),!1===this.showBorders&&e.set("removePageBorders",!this.showBorders)}openPDF(){ServiceWorkerOptions.showUnverifiedSignatures=this.showUnverifiedSignatures;const t=window.PDFViewerApplication;t.enablePrint=this.enablePrint,e.ngxExtendedPdfViewerInitialized=!0,this.onResize(),this.listenToURL||(t.pdfLinkService.setHash=function(){}),this.initTimeout=null,this.selectCursorTool(),t.eventBus.on("textlayerrendered",e=>{this.textlayerRendered.emit(e),this.textLayerRendered.emit(e)}),t.eventBus.on("pagesloaded",e=>{if(this.pagesLoaded.emit(e),this.rotation){const e=Number(this.rotation);0!==e&&90!==e&&180!==e&&270!==e||(t.pdfViewer.pagesRotation=e)}else t.pdfViewer.pagesRotation=0;setTimeout(()=>{this.shuttingDown||(this.nameddest?t.pdfLinkService.navigateTo(this.nameddest):this.page?t.page=Number(this.page):this.pageLabel&&(t.pdfViewer.currentPageLabel=this.pageLabel))}),this.setZoom()}),t.eventBus.on("pagerendered",e=>{this.ngZone.run(()=>{this.pageRendered.emit(e)})}),t.eventBus.on("download",e=>{this.ngZone.run(()=>{this.pdfDownloaded.emit(e)})}),t.eventBus.on("scalechanging",e=>{setTimeout(()=>{this.ngZone.run(()=>{this.currentZoomFactor.emit(e.scale);const t=this.root.nativeElement.querySelector("#scaleSelect");let n=this.zoom;t&&(n=t.value),"auto"!==n&&"page-fit"!==n&&"page-actual"!==n&&"page-width"!==n&&this.zoomChange.emit(100*e.scale)})})}),t.eventBus.on("rotationchanging",e=>{this.ngZone.run(()=>{this.rotationChange.emit(e.pagesRotation)})}),t.eventBus.on("fileinputchange",e=>{this.ngZone.run(()=>{const t=e.fileInput.value.replace("C:\\fakepath\\","");this.srcChange.emit(t)})}),t.eventBus.on("cursortoolchanged",e=>{this.ngZone.run(()=>{this.handToolChange.emit(e.tool===qS.HAND)})}),t.eventBus.on("sidebarviewchanged",e=>{this.ngZone.run(()=>{this.sidebarVisibleChange.emit(e.view>0),this.sidebarComponent&&this.sidebarComponent.showToolbarWhenNecessary()})});const n=()=>{this.ngZone.run(()=>{this.sidebarComponent&&this.sidebarComponent.showToolbarWhenNecessary()})};if(t.eventBus.on("outlineloaded",n),t.eventBus.on("attachmentsloaded",n),t.eventBus.on("layersloaded",n),t.eventBus.on("updatefindcontrolstate",e=>{this.updateFindMatchesCount&&(e.state===jS.NOT_FOUND?this.updateFindMatchesCount.emit({current:0,total:0}):e.matchesCount.total&&this.updateFindMatchesCount.emit(e.matchesCount)),this.updateFindState&&this.updateFindState.emit(e.state)}),t.eventBus.on("updatefindmatchescount",e=>{this.updateFindMatchesCount&&e.matchesCount.total&&this.updateFindMatchesCount.emit(e.matchesCount)}),t.eventBus.on("pagechanging",e=>{this.shuttingDown||this.ngZone.run(()=>{const e=t.pdfViewer.currentPageNumber,n=t.pdfViewer.currentPageLabel;e!==this.page&&this.pageChange.emit(e),n!==this.pageLabel&&this.pageLabelChange.emit(n)})}),this.checkHeight(),this._src){const e={password:this.password,verbosity:this.logLevel};this._src.range&&(e.range=this._src.range),this.httpHeaders&&(e.httpHeaders=this.httpHeaders),this.authorization&&(e.withCredentials=!0,e.httpHeaders?e.httpHeaders.Authorization||(e.httpHeaders.Authorization=this.authorization):e.httpHeaders={Authorization:this.authorization}),t.onError=e=>this.pdfLoadingFailed.emit(e),t.open(this._src,e).then(()=>this.pdfLoaded.emit({pagesCount:t.pagesCount}))}setTimeout(()=>{this.shuttingDown||this.page&&(t.page=Number(this.page))},100)}selectCursorTool(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:this.handTool?1:0})}ngOnDestroy(){const t=window.PDFViewerApplication;if(this.shuttingDown=!0,e.ngxExtendedPdfViewerInitialized=!1,this.initTimeout&&(clearTimeout(this.initTimeout),this.initTimeout=void 0),t){this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0),t.cleanup(),t.close(),t.printKeyDownListener&&removeEventListener("keydown",t.printKeyDownListener,!0),t._boundEvents&&t.unbindWindowEvents();const e=t.eventBus;if(e){t.unbindEvents();for(const t in e._listeners)if(e._listeners[t]){const n=e._listeners[t];for(let e=0;e<n.length;e++)n[e]=void 0;e._listeners[t]=void 0}}t.eventBus=null}const n=document.getElementsByTagName("body");if(n[0]){const e=n[0].children;for(let t=e.length-1;t>=0;t--){const i=e.item(t);(i&&"printContainer"===i.id||i&&"fileInput"===i.id)&&n[0].removeChild(i)}}}isPrimaryMenuVisible(){return!!(this.showBookmarkButton||this.showDownloadButton||this.showFindButton||this.showOpenFileButton||this.showPagingButtons||this.showPresentationModeButton||this.showPrintButton||this.showPropertiesButton||this.showSidebarButton||this.showZoomButtons)}ngOnChanges(t){const n=window.PDFViewerApplication,i=window.PDFViewerApplicationOptions;if(e.ngxExtendedPdfViewerInitialized){if(("src"in t||"base64Src"in t)&&this._src){this.overrideDefaultSettings();const e={password:this.password,verbosity:this.logLevel};this._src.range&&(e.range=this._src.range),this.httpHeaders&&(e.httpHeaders=this.httpHeaders),this.authorization&&(e.withCredentials=!0,e.httpHeaders?e.httpHeaders.Authorization||(e.httpHeaders.Authorization=this.authorization):e.httpHeaders={Authorization:this.authorization}),n.open(this._src,e).then(()=>this.pdfLoaded.emit({pagesCount:n.pagesCount}),e=>this.pdfLoadingFailed.emit(e))}if("zoom"in t&&this.setZoom(),"maxZoom"in t&&i.set("maxZoom",this.maxZoom),"minZoom"in t&&i.set("minZoom",this.minZoom),"handTool"in t&&this.selectCursorTool(),"page"in t&&this.page&&this.page!=n.page&&(n.page=this.page),"pageLabel"in t&&this.pageLabel&&this.pageLabel!==n.pdfViewer.currentPageLabel&&(n.pdfViewer.currentPageLabel=this.pageLabel),"rotation"in t)if(this.rotation){const e=Number(this.rotation);0!==e&&90!==e&&180!==e&&270!==e||(n.pdfViewer.pagesRotation=e)}else n.pdfViewer.pagesRotation=0;"sidebarVisible"in t&&(this.sidebarVisible?n.pdfSidebar.open():n.pdfSidebar.close()),"filenameForDownload"in t&&(n.appConfig.filenameForDownload=this.filenameForDownload),"nameddest"in t&&this.nameddest&&n.pdfLinkService.navigateTo(this.nameddest),"spread"in t&&("even"===this.spread?(n.spreadModeOnLoad=2,n.pdfViewer.spreadMode=2,this.onSpreadChange("even")):"odd"===this.spread?(n.spreadModeOnLoad=1,n.pdfViewer.spreadMode=1,this.onSpreadChange("odd")):(n.spreadModeOnLoad=0,n.pdfViewer.spreadMode=0,this.onSpreadChange("off"))),"enablePinchOnMobile"in t&&(t.enablePinchOnMobile.isFirstChange()||t.enablePinchOnMobile.currentValue!==t.enablePinchOnMobile.previousValue&&(this.enablePinchOnMobile?this.pinchOnMobileSupport=new YS(this.ngZone):this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0))),this.primaryMenuVisible=!0,this.showSecondaryToolbarButton&&!this.hideKebabMenuForSecondaryToolbar||this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1),this.calcViewerPositionTop()}if(this.onResize(),"printResolution"in t){const e=i;e&&e.set("printResolution",this.printResolution)}if("ignoreKeyboard"in t&&i&&this.overrideDefaultSettings(),"ignoreKeys"in t&&i&&this.overrideDefaultSettings(),"acceptKeys"in t&&i&&this.overrideDefaultSettings(),"showBorders"in t&&!t.showBorders.isFirstChange()&&i){this.overrideDefaultSettings();const e=document.getElementById("viewer");this.showBorders?e.classList.remove("removePageBorders"):e.classList.add("removePageBorders"),n.pdfViewer&&(n.pdfViewer.removePageBorders=!this.showBorders);const t={source:e,scale:(100|Number(this.zoom))/100,presetValue:this.zoom};n.eventBus.dispatch("scalechanging",t)}"showUnverifiedSignatures"in t&&n&&n.pdfDocument&&n.pdfDocument._transport.messageHandler.send("showUnverifiedSignatures",this.showUnverifiedSignatures),"enablePrint"in t&&(t.enablePrint.isFirstChange()||(n.enablePrint=this.enablePrint)),("customFindbar"in t&&!t.customFindbar.isFirstChange()||"customFindbarButtons"in t&&!t.customFindbarButtons.isFirstChange()||"customFindbarInputArea"in t&&!t.customFindbarInputArea.isFirstChange()||"customToolbar"in t&&!t.customToolbar.isFirstChange())&&this.dummyComponents&&this.dummyComponents.addMissingStandardWidgets()}setZoom(){let e=this.zoom;String(e).endsWith("%")?e=Number(String(e).replace("%",""))/100:isNaN(Number(e))||(e=Number(e)/100),e||(e="auto");const t=window.PDFViewerApplication;t&&window.PDFViewerApplicationOptions.set("defaultZoomValue",e),t.pdfViewer&&(t.pdfViewer.currentScaleValue=e)}onResize(){const e=document.getElementsByClassName("html");if(e&&e.length>0){const e=document.getElementById("outerContainer");e&&(this.toolbarWidthInPixels=e.clientWidth,this.secondaryToolbarComponent&&this.secondaryToolbarComponent.checkVisibility())}}onContextMenu(){return this.contextMenuAllowed}onSecondaryMenuIsEmpty(e){this.hideKebabMenuForSecondaryToolbar=e}}return e.\u0275fac=function(t){return new(t||e)(zr(ad),zr($c),zr(GS),zr(nu))},e.\u0275cmp=$e({type:e,selectors:[["ngx-extended-pdf-viewer"]],viewQuery:function(e,t){if(1&e&&(Tc(WS,1),Tc(pS,1),Tc(gS,1),Tc(fS,1)),2&e){let e;Mc(e=Rc())&&(t.dummyComponents=e.first),Mc(e=Rc())&&(t.root=e.first),Mc(e=Rc())&&(t.secondaryToolbarComponent=e.first),Mc(e=Rc())&&(t.sidebarComponent=e.first)}},hostBindings:function(e,t){1&e&&Xr("contextmenu",function(){return t.onContextMenu()})},inputs:{customFindbarButtons:"customFindbarButtons",authorization:"authorization",httpHeaders:"httpHeaders",contextMenuAllowed:"contextMenuAllowed",enablePrint:"enablePrint",delayFirstView:"delayFirstView",logLevel:"logLevel",enablePinchOnMobile:"enablePinchOnMobile",minifiedJSLibraries:"minifiedJSLibraries",printResolution:"printResolution",useBrowserLocale:"useBrowserLocale",backgroundColor:"backgroundColor",filenameForDownload:"filenameForDownload",ignoreKeyboard:"ignoreKeyboard",ignoreKeys:"ignoreKeys",acceptKeys:"acceptKeys",imageResourcesPath:"imageResourcesPath",language:"language",listenToURL:"listenToURL",nameddest:"nameddest",password:"password",showUnverifiedSignatures:"showUnverifiedSignatures",showSidebarOnLoad:"showSidebarOnLoad",sidebarVisible:"sidebarVisible",showFindButton:"showFindButton",showPagingButtons:"showPagingButtons",showZoomButtons:"showZoomButtons",showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",theme:"theme",showSecondaryToolbarButton:"showSecondaryToolbarButton",showRotateButton:"showRotateButton",handTool:"handTool",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",showBorders:"showBorders",pageLabel:"pageLabel",textLayer:"textLayer",zoom:"zoom",zoomLevels:"zoomLevels",maxZoom:"maxZoom",minZoom:"minZoom",_mobileFriendlyZoom:"_mobileFriendlyZoom",src:"src",base64Src:"base64Src",height:"height",showSidebarButton:"showSidebarButton",page:"page",mobileFriendlyZoom:"mobileFriendlyZoom",mobileZoom:"mobileZoom",customFindbarInputArea:"customFindbarInputArea",customToolbar:"customToolbar",customFindbar:"customFindbar",customSecondaryToolbar:"customSecondaryToolbar",customSidebar:"customSidebar",customThumbnail:"customThumbnail",customFreeFloatingBar:"customFreeFloatingBar",rotation:"rotation",startTabindex:"startTabindex",spread:"spread"},outputs:{srcChange:"srcChange",afterPrint:"afterPrint",beforePrint:"beforePrint",currentZoomFactor:"currentZoomFactor",rotationChange:"rotationChange",sidebarVisibleChange:"sidebarVisibleChange",handToolChange:"handToolChange",spreadChange:"spreadChange",thumbnailDrawn:"thumbnailDrawn",pageChange:"pageChange",pageLabelChange:"pageLabelChange",pagesLoaded:"pagesLoaded",pageRendered:"pageRendered",pdfDownloaded:"pdfDownloaded",pdfLoaded:"pdfLoaded",pdfLoadingFailed:"pdfLoadingFailed",textlayerRendered:"textlayerRendered",textLayerRendered:"textLayerRendered",updateFindMatchesCount:"updateFindMatchesCount",updateFindState:"updateFindState",zoomChange:"zoomChange"},features:[dt],ngContentSelectors:hS,decls:66,vars:60,consts:[["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer",4,"ngIf"],[4,"ngIf"],[3,"zoom","width"],[1,"zoom"],["root",""],[1,"html"],[1,"loadingInProgress","body"],["id","outerContainer",3,"resize"],[1,"free-floating-bar"],[4,"ngTemplateOutlet"],[3,"sidebarPositionTop","sidebarVisible","showSidebarButton","customSidebar","customThumbnail","thumbnailDrawn"],["pdfsidebar",""],["id","mainContainer"],[3,"customToolbar","mobileFriendlyZoomScale","primaryMenuVisible","showBookmarkButton","showDownloadButton","showFindButton","showHandToolButton","showOpenFileButton","showPrintButton","showPagingButtons","showPresentationModeButton","showRotateButton","showSecondaryToolbarButton","showSidebarButton","showZoomButtons","textLayer","toolbarPaddingTop","toolbarWidth","zoomLevels"],[3,"customSecondaryToolbar","secondaryToolbarTop","mobileFriendlyZoomScale","showPresentationModeButton","showOpenFileButton","showPrintButton","showDownloadButton","showBookmarkButton","showPagingButtons","showRotateButton","showHandToolButton","showScrollingButton","showSpreadButton","showPropertiesButton","spreadChange","secondaryMenuIsEmpty"],["pdfSecondaryToolbarComponent",""],[3,"findbarLeft","findbarTop","mobileFriendlyZoomScale","showFindButton","customFindbarInputArea","customFindbarButtons"],["id","viewerContainer"],["id","viewer",1,"pdfViewer"],["id","errorWrapper","hidden","true"],["id","errorMessageLeft"],["id","errorMessage"],["type","button","id","errorShowMore","data-l10n-id","error_more_info"],["type","button","id","errorShowLess","data-l10n-id","error_less_info","hidden","true"],["id","errorMessageRight"],["type","button","id","errorClose","data-l10n-id","error_close"],[1,"clearBoth"],["id","errorMoreInfo","hidden","true","readonly","readonly"],["id","overlayContainer",1,"hidden"],["id","passwordOverlay",1,"container","hidden"],[1,"dialog"],[1,"row"],["id","passwordText","data-l10n-id","password_label"],["id","password",1,"toolbarField"],[1,"buttonRow"],["type","button","id","passwordCancel",1,"overlayButton"],["data-l10n-id","password_cancel"],["type","button","id","passwordSubmit",1,"overlayButton"],["data-l10n-id","password_ok"],["id","documentPropertiesOverlay",1,"container","hidden"],["id","printServiceOverlay",1,"container","hidden"],["data-l10n-id","print_progress_message"],["value","0","max","100"],["data-l10n-id","print_progress_percent","data-l10n-args",'{ "progress": 0 }',1,"relative-progress"],["type","button","id","printCancel",1,"overlayButton"],["data-l10n-id","print_progress_close"],["id","printContainer"],["defaultFreeFloatingBar",""],["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer"]],template:function(e,t){if(1&e&&(sa(),Fr(0,mS,1,0,"link",0),Fr(1,bS,1,0,"pdf-dark-theme",1),Fr(2,vS,1,0,"pdf-light-theme",1),Ur(3,"pdf-dynamic-css",2),Hr(4,"div",3,4),Hr(6,"div",5),Hr(7,"div",6),Hr(8,"div",7),Xr("resize",function(){return t.onResize()},!1,ps),Hr(9,"div",8),Fr(10,yS,1,0,"ng-content",9),jr(),Hr(11,"pdf-sidebar",10,11),Xr("thumbnailDrawn",function(e){return t.thumbnailDrawn.emit(e)}),jr(),Hr(13,"div",12),Ur(14,"pdf-dummy-components"),Ur(15,"pdf-toolbar",13),Hr(16,"pdf-secondary-toolbar",14,15),Xr("spreadChange",function(e){return t.onSpreadChange(e)})("secondaryMenuIsEmpty",function(e){return t.onSecondaryMenuIsEmpty(e)}),jr(),Ur(18,"pdf-findbar",16),Ur(19,"pdf-context-menu"),Hr(20,"div",17),Ur(21,"div",18),jr(),Hr(22,"div",19),Hr(23,"div",20),Ur(24,"span",21),Hr(25,"button",22),Da(26," More Information "),jr(),Hr(27,"button",23),Da(28," Less Information "),jr(),jr(),Hr(29,"div",24),Hr(30,"button",25),Da(31,"Close"),jr(),jr(),Ur(32,"div",26),Ur(33,"textarea",27),jr(),jr(),Hr(34,"div",28),Hr(35,"div",29),Hr(36,"div",30),Hr(37,"div",31),Hr(38,"p",32),Da(39," Enter the password to open this PDF file: "),jr(),jr(),Hr(40,"div",31),Ur(41,"input",33),jr(),Hr(42,"div",34),Hr(43,"button",35),Hr(44,"span",36),Da(45,"Cancel"),jr(),jr(),Hr(46,"button",37),Hr(47,"span",38),Da(48,"OK"),jr(),jr(),jr(),jr(),jr(),Ur(49,"pdf-document-properties-overlay",39),Hr(50,"div",40),Hr(51,"div",30),Hr(52,"div",31),Hr(53,"span",41),Da(54,"Preparing document for printing\u2026"),jr(),jr(),Hr(55,"div",31),Ur(56,"progress",42),Hr(57,"span",43),Da(58,"0%"),jr(),jr(),Hr(59,"div",34),Hr(60,"button",44),Hr(61,"span",45),Da(62,"Cancel"),jr(),jr(),jr(),jr(),jr(),jr(),jr(),Ur(63,"div",46),jr(),jr(),jr(),Fr(64,wS,0,0,"ng-template",null,47,zc)),2&e){const e=Br(65);Vr("ngIf",t.useBrowserLocale),no(1),Vr("ngIf","dark"===t.theme),no(1),Vr("ngIf","light"===t.theme),no(1),Vr("zoom",t.mobileFriendlyZoomScale)("width",t.toolbarWidthInPixels),no(1),fa("height",t.height)("min-height",t.minHeight),no(3),fa("background-color",t.backgroundColor),no(3),Vr("ngTemplateOutlet",t.customFreeFloatingBar?t.customFreeFloatingBar:e),no(1),Vr("sidebarPositionTop",t.sidebarPositionTop)("sidebarVisible",t.sidebarVisible)("showSidebarButton",t.showSidebarButton)("customSidebar",t.customSidebar)("customThumbnail",t.customThumbnail),no(4),Vr("customToolbar",t.customToolbar)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("primaryMenuVisible",t.primaryMenuVisible)("showBookmarkButton",t.showBookmarkButton)("showDownloadButton",t.showDownloadButton)("showFindButton",t.showFindButton)("showHandToolButton",t.showHandToolButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showPagingButtons",t.showPagingButtons)("showPresentationModeButton",t.showPresentationModeButton)("showRotateButton",t.showRotateButton)("showSecondaryToolbarButton",t.showSecondaryToolbarButton&&!t.hideKebabMenuForSecondaryToolbar)("showSidebarButton",t.showSidebarButton)("showZoomButtons",t.showZoomButtons)("textLayer",t.textLayer)("toolbarPaddingTop",t.toolbarPaddingTop)("toolbarWidth",t.toolbarWidth)("zoomLevels",t.zoomLevels),no(1),Vr("customSecondaryToolbar",t.customSecondaryToolbar)("secondaryToolbarTop",t.secondaryToolbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showPresentationModeButton",t.showPresentationModeButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showDownloadButton",t.showDownloadButton)("showBookmarkButton",t.showBookmarkButton)("showPagingButtons",t.showPagingButtons)("showRotateButton",t.showRotateButton)("showHandToolButton",t.showHandToolButton)("showScrollingButton",t.showScrollingButton)("showSpreadButton",t.showSpreadButton)("showPropertiesButton",t.showPropertiesButton),no(2),Vr("findbarLeft",t.findbarLeft)("findbarTop",t.findbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showFindButton",t.showFindButton)("customFindbarInputArea",t.customFindbarInputArea)("customFindbarButtons",t.customFindbarButtons),no(2),fa("top",t.viewerPositionTop),no(1),fa("background-color",t.backgroundColor)}},directives:function(){return[Wu,Vk,Ku,ZS,WS,Ik,$S,ik,ek,tk,Uk,jk]},encapsulation:2,changeDetection:0}),e.ngxExtendedPdfViewerInitialized=!1,e})(),XS=(()=>{class e{constructor(){}findMultiple(e,t={}){t=Object.assign({},t,{findMultipleSearchTexts:!0});const n=e.join("\n")+"\n";return this.find(n,t)}find(e,t={}){if(QS.ngxExtendedPdfViewerInitialized){const n=document.getElementById("findHighlightAll");n&&(n.checked=t.highlightAll||!1);const i=document.getElementById("findMatchCase");i&&(i.checked=t.matchCase||!1);const s=document.getElementById("findEntireWord");s&&(s.checked=t.wholeWords||!1);const o=document.getElementById("findIgnoreAccents");o&&(o.checked=t.ignoreAccents||!1);const r=t.findMultipleSearchTexts||e.includes("\n")||!1,a=document.getElementById("findMultipleSearchTexts");a&&(a.checked=r);const l=document.getElementById("individualWordsMode");l&&(l.checked=!1);const c=document.getElementById("findFuzzy");c&&(c.checked=t.fuzzySearch||!1);const d=r?document.getElementById("findInputMultiline"):document.getElementById("findInput");return d?(d instanceof HTMLTextAreaElement?(d.value=e,d.classList.remove("hidden"),document.getElementById("findInput").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.remove("hidden"),document.getElementById("individualWordsMode").classList.remove("hidden")):d instanceof HTMLInputElement&&(d.value=e,d.classList.remove("hidden"),document.getElementById("findInputMultiline").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.add("hidden"),document.getElementById("individualWordsMode").classList.add("hidden")),d.dispatchEvent(new Event("input")),!0):(console.error("Unexpected error: the input field used to search isn't part of the DOM."),!1)}return console.error("The PDF viewer hasn't finished initializing. Please call find() later."),!1}findNext(){if(QS.ngxExtendedPdfViewerInitialized){const e=document.getElementById("findNext");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findNext() later."),!1}findPrevious(){if(QS.ngxExtendedPdfViewerInitialized){const e=document.getElementById("findPrevious");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findPrevious() later."),!1}print(e){const t=window.PDFViewerApplication,n=!!window.isInPDFPrintRange&&!e;n||(e||(e={}),this.setPrintRange(e)),window.printPDF(),n||t.eventBus.on("afterprint",()=>{this.removePrintRange()})}removePrintRange(){window.isInPDFPrintRange=void 0,window.filteredPageCount=void 0}setPrintRange(e){const t=window.PDFViewerApplication;window.isInPDFPrintRange=t=>this.isInPDFPrintRange(t,e),window.filteredPageCount=this.filteredPageCount(t.pagesCount,e)}filteredPageCount(e,t){let n=0;for(let i=1;i<=e;i++)this.isInPDFPrintRange(i,t)&&n++;return n}isInPDFPrintRange(e,t){const n=e+1;return!(t.from&&n<t.from||t.to&&n>t.to||t.excluded&&t.excluded.some(e=>e===n)||t.included&&!t.included.some(e=>e===n))}getPageAsText_preview(e,t){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>{e.getTextContent().then(e=>t(this.convertTextInfoToText(e)))})}getPageAsText(e){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>new Promise((t,n)=>{t(e.getTextContent())})).then(e=>new Promise((t,n)=>{t(this.convertTextInfoToText(e))}))}convertTextInfoToText(e){return e?e.items.map(e=>e.str).join(""):""}getPageAsImage_preview(e,t,n,i){window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>{this.draw_preview(e,t,n,i)}).catch(e=>{i?i({message:"Unable to initialize PDF page service",reason:e}):console.error("Unable to initialize PDF page service",e)})}getPageAsImage(e,t){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>new Promise((n,i)=>{n(this.draw(e,t))}))}draw(e,t){let n=1;t.scale?n=t.scale:t.width?n=t.width/e.getViewport({scale:1}).width:t.height&&(n=t.height/e.getViewport({scale:1}).height);const i=e.getViewport({scale:n}),{ctx:s,canvas:o}=this.getPageDrawContext(i.width,i.height),r=i.clone();return e.render({canvasContext:s,viewport:r}).promise.then(()=>new Promise((e,t)=>{e(o.toDataURL())}))}draw_preview(e,t,n,i){let s=1;t.scale?s=t.scale:t.width?s=t.width/e.getViewport({scale:1}).width:t.height&&(s=t.height/e.getViewport({scale:1}).height);const o=e.getViewport({scale:s}),{ctx:r,canvas:a}=this.getPageDrawContext(o.width,o.height),l=o.clone();e.render({canvasContext:r,viewport:l}).promise.then(function(){const e=a.toDataURL();n(e)},function(e){i&&i(e)})}getPageDrawContext(e,t){const n=document.createElement("canvas"),i=n.getContext("2d",{alpha:!1});if(!i)throw new Error("Couldn't create the 2d context");return n.width=e,n.height=t,n.style.width=e+"px",n.style.height=t+"px",{ctx:i,canvas:n}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),KS=(()=>{class e{constructor(e){this.notificationService=e,this.showHandToolButton=!0,this.isSelected=!1;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("cursortoolchanged",({tool:e})=>this.isSelected=e===qS.HAND)}onClick(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:qS.HAND})}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-hand-tool"]],inputs:{showHandToolButton:"showHandToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorHandTool","title","Enable hand tool","data-l10n-id","cursor_hand_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Xr("click",function(){return t.onClick()}),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Hand Tool"),jr(),jr()),2&e&&ma("invisible",!t.showHandToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),e})(),JS=(()=>{class e{constructor(){this.showBookmarkButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-bookmark"]],inputs:{showBookmarkButton:"showBookmarkButton"},decls:5,vars:2,consts:[["href","#","id","viewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"toolbarButton","hiddenTinyView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"]],template:function(e,t){1&e&&(Hr(0,"a",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Current View"),jr(),jr()),2&e&&ma("invisible",!t.showBookmarkButton)},styles:["[_nghost-%COMP%] a.toolbarButton[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:4px}[_nghost-%COMP%]:focus{outline:0}a[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),ek=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-context-menu"]],decls:5,vars:0,consts:[["type","context","id","viewerContextMenu",2,"display","none"],["id","contextFirstPage",2,"display","none"],["id","contextLastPage",2,"display","none"],["id","contextPageRotateCw",2,"display","none"],["id","contextPageRotateCcw",2,"display","none"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"div",1),Ur(2,"div",2),Ur(3,"div",3),Ur(4,"div",4),jr())},styles:["[_nghost-%COMP%]{margin-top:4px}"]}),e})(),tk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-document-properties-overlay"]],decls:77,vars:0,consts:[[1,"dialog"],[1,"row"],["data-l10n-id","document_properties_file_name"],["id","fileNameField"],["data-l10n-id","document_properties_file_size"],["id","fileSizeField"],["data-l10n-id","document_properties_title"],["id","titleField"],["data-l10n-id","document_properties_author"],["id","authorField"],["data-l10n-id","document_properties_subject"],["id","subjectField"],["data-l10n-id","document_properties_keywords"],["id","keywordsField"],["data-l10n-id","document_properties_creation_date"],["id","creationDateField"],["data-l10n-id","document_properties_modification_date"],["id","modificationDateField"],["data-l10n-id","document_properties_creator"],["id","creatorField"],["data-l10n-id","document_properties_producer"],["id","producerField"],["data-l10n-id","document_properties_version"],["id","versionField"],["data-l10n-id","document_properties_page_count"],["id","pageCountField"],["data-l10n-id","document_properties_page_size"],["id","pageSizeField"],[1,"separator"],["data-l10n-id","document_properties_linearized"],["id","linearizedField"],[1,"buttonRow"],["type","button","id","documentPropertiesClose",1,"overlayButton"],["data-l10n-id","document_properties_close"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"div",0),Hr(2,"div",1),Hr(3,"span",2),Da(4,"File name:"),jr(),Hr(5,"p",3),Da(6,"-"),jr(),jr(),Hr(7,"div",1),Hr(8,"span",4),Da(9,"File size:"),jr(),Hr(10,"p",5),Da(11,"-"),jr(),jr(),Hr(12,"div",1),Hr(13,"span",6),Da(14,"Title:"),jr(),Hr(15,"p",7),Da(16,"-"),jr(),jr(),Hr(17,"div",1),Hr(18,"span",8),Da(19,"Author:"),jr(),Hr(20,"p",9),Da(21,"-"),jr(),jr(),Hr(22,"div",1),Hr(23,"span",10),Da(24,"Subject:"),jr(),Hr(25,"p",11),Da(26,"-"),jr(),jr(),Hr(27,"div",1),Hr(28,"span",12),Da(29,"Keywords:"),jr(),Hr(30,"p",13),Da(31,"-"),jr(),jr(),Hr(32,"div",1),Hr(33,"span",14),Da(34,"Creation Date:"),jr(),Hr(35,"p",15),Da(36,"-"),jr(),jr(),Hr(37,"div",1),Hr(38,"span",16),Da(39,"Modification Date:"),jr(),Hr(40,"p",17),Da(41,"-"),jr(),jr(),Hr(42,"div",1),Hr(43,"span",18),Da(44,"Creator:"),jr(),Hr(45,"p",19),Da(46,"-"),jr(),jr(),Hr(47,"div",1),Hr(48,"span",20),Da(49,"PDF Producer:"),jr(),Hr(50,"p",21),Da(51,"-"),jr(),jr(),Hr(52,"div",1),Hr(53,"span",22),Da(54,"PDF Version:"),jr(),Hr(55,"p",23),Da(56,"-"),jr(),jr(),Hr(57,"div",1),Hr(58,"span",24),Da(59,"Page Count:"),jr(),Hr(60,"p",25),Da(61,"-"),jr(),jr(),Hr(62,"div",1),Hr(63,"span",26),Da(64,"Page Size:"),jr(),Hr(65,"p",27),Da(66,"-"),jr(),jr(),Ur(67,"div",28),Hr(68,"div",1),Hr(69,"span",29),Da(70,"Fast Web View:"),jr(),Hr(71,"p",30),Da(72,"-"),jr(),jr(),Hr(73,"div",31),Hr(74,"button",32),Hr(75,"span",33),Da(76,"Close"),jr(),jr(),jr(),jr(),jr())},styles:[""]}),e})(),nk=(()=>{class e{constructor(){this.showDownloadButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-download"]],inputs:{showDownloadButton:"showDownloadButton"},decls:5,vars:2,consts:[["type","button","id","download","title","Download","data-l10n-id","download",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Download"),jr(),jr()),2&e&&ma("invisible",!t.showDownloadButton)},styles:[SS]}),e})(),ik=(()=>{class e{constructor(){this.showFindButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar"]],inputs:{showFindButton:"showFindButton",mobileFriendlyZoomScale:"mobileFriendlyZoomScale",findbarLeft:"findbarLeft",findbarTop:"findbarTop",customFindbarInputArea:"customFindbarInputArea",customFindbar:"customFindbar",customFindbarButtons:"customFindbarButtons"},decls:5,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultFindbar",""],["defaultFindbarButtons",""],["id","findbar",1,"findbar","hidden","doorHanger"],[3,"customFindbarInputArea"]],template:function(e,t){if(1&e&&($r(0,0),Fr(1,_S,2,11,"ng-template",null,1,zc),Fr(3,xS,5,1,"ng-template",null,2,zc)),2&e){const e=Br(2);Vr("ngTemplateOutlet",t.customFindbar?t.customFindbar:e)}},directives:function(){return[Ku,pk,ok,ak,rk,sk]},styles:[""]}),e})(),sk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-message-container"]],decls:2,vars:0,consts:[["id","findbarMessageContainer"],["id","findMsg",1,"toolbarLabel"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"span",1),jr())},styles:[""]}),e})(),ok=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-one-container"]],decls:3,vars:0,consts:[["id","findbarOptionsOneContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-highlight-all"),Ur(2,"pdf-find-match-case"),jr())},directives:function(){return[uk,gk]},styles:[""]}),e})(),rk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-three-container"]],decls:4,vars:0,consts:[["id","findbarOptionsThreeContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-ignore-accents"),Ur(2,"pdf-find-fuzzily"),Ur(3,"pdf-find-results-count"),jr())},directives:function(){return[hk,dk,yk]},styles:[""]}),e})(),ak=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-two-container"]],decls:3,vars:0,consts:[["id","findbarOptionsTwoContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-entire-word"),Ur(2,"pdf-find-entire-phrase"),jr())},directives:function(){return[ck,mk]},styles:[""]}),e})(),lk=(()=>{class e{constructor(){this.showFindButton=void 0,this.textLayer=void 0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-button"]],inputs:{showFindButton:"showFindButton",textLayer:"textLayer"},decls:5,vars:2,consts:[["type","button","id","viewFind","title","Find in Document","data-l10n-id","findbar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"],["data-l10n-id","findbar_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Find"),jr(),jr()),2&e&&ma("invisible",!t.showFindButton||!t.textLayer)},styles:[DS]}),e})(),ck=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-entire-word"]],decls:3,vars:0,consts:[["type","checkbox","id","findEntireWord",1,"toolbarField"],["for","findEntireWord","data-l10n-id","find_entire_word_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Whole words\n"),jr())},styles:[""]}),e})(),dk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-fuzzily"]],decls:3,vars:0,consts:[["type","checkbox","id","findFuzzy",1,"toolbarField"],["for","findFuzzy","data-l10n-id","find_fuzzy",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Fuzzy search\n"),jr())},styles:[""]}),e})(),uk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-highlight-all"]],decls:3,vars:0,consts:[["type","checkbox","id","findHighlightAll",1,"toolbarField"],["for","findHighlightAll","data-l10n-id","find_highlight",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Highlight all\n"),jr())},styles:[""]}),e})(),hk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-ignore-accents"]],decls:3,vars:0,consts:[["type","checkbox","id","findIgnoreAccents",1,"toolbarField"],["for","findIgnoreAccents","data-l10n-id","find_ignore_accents",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Ignore accents and diacritics\n"),jr())},styles:[""]}),e})(),pk=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-input-area"]],inputs:{customFindbarInputArea:"customFindbarInputArea"},decls:2,vars:2,consts:[["id","findbarInputContainer",4,"ngIf"],[3,"ngTemplateOutlet"],["id","findbarInputContainer"]],template:function(e,t){1&e&&(Fr(0,CS,4,0,"div",0),$r(1,1)),2&e&&(Vr("ngIf",!t.customFindbarInputArea),no(1),Vr("ngTemplateOutlet",t.customFindbarInputArea))},directives:function(){return[Wu,Ku,Ok,vk,bk]},styles:[""]}),e})(),gk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-match-case"]],decls:3,vars:0,consts:[["type","checkbox","id","findMatchCase",1,"toolbarField"],["for","findMatchCase","data-l10n-id","find_match_case_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Match case\n"),jr())},styles:[""]}),e})(),fk=(()=>{class e{constructor(){this.individualWordsMode=!0,this.multipleSearchTexts=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ge({factory:function(){return new e},token:e,providedIn:"root"}),e})(),mk=(()=>{class e{constructor(e){this.pdfFindbarService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr(fk))},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-entire-phrase"]],decls:6,vars:6,consts:[["type","checkbox","id","findMultipleSearchTexts",1,"toolbarField",3,"ngModel","ngModelChange"],["for","findMultipleSearchTexts","data-l10n-id","find_multiple_texts_label",1,"toolbarLabel"],["type","checkbox","id","individualWordsMode",1,"toolbarField",3,"ngModel","ngModelChange"],["for","individualWordsMode","id","individualWordsModeLabel","data-l10n-id","find_individual_words_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Hr(0,"input",0),Xr("ngModelChange",function(e){return t.pdfFindbarService.multipleSearchTexts=e}),jr(),Hr(1,"label",1),Da(2," multiple search texts\n"),jr(),Hr(3,"input",2),Xr("ngModelChange",function(e){return t.pdfFindbarService.individualWordsMode=e}),jr(),Hr(4,"label",3),Da(5," separated by word boundaries\n"),jr()),2&e&&(Vr("ngModel",t.pdfFindbarService.multipleSearchTexts),no(3),ma("hidden",!t.pdfFindbarService.multipleSearchTexts),Vr("ngModel",t.pdfFindbarService.individualWordsMode),no(1),ma("hidden",!t.pdfFindbarService.multipleSearchTexts))},directives:[Df,rm,Rm],styles:[""]}),e})(),bk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-next"]],decls:5,vars:0,consts:[["type","button","id","findNext","title","Find the next occurrence of the phrase","data-l10n-id","find_next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","find_next_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Next"),jr(),jr())},styles:["button.toolbarButton#findNext[_ngcontent-%COMP%]{margin-top:0}"]}),e})(),vk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-previous"]],decls:5,vars:0,consts:[["type","button","id","findPrevious","title","Find the previous occurrence of the phrase","data-l10n-id","find_previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","find_previous_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Previous"),jr(),jr())},styles:["button.toolbarButton#findPrevious[_ngcontent-%COMP%]{margin-top:0}"]}),e})(),yk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-results-count"]],decls:1,vars:0,consts:[["id","findResultsCount",1,"toolbarLabel","hidden"]],template:function(e,t){1&e&&Ur(0,"span",0)},styles:[""]}),e})(),wk=(()=>{class e{constructor(e){this.notificationService=e,this.disableFirstPage=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}firstPage(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableFirstPage=e.pageNumber<=1,this.button.nativeElement.disabled=this.disableFirstPage}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-first-page"]],viewQuery:function(e,t){if(1&e&&Tc(AS,1),2&e){let e;Mc(e=Rc())&&(t.button=e.first)}},decls:6,vars:1,consts:[["type","button","title","First page","id","primaryFirstPage","data-l10n-id","first_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.firstPage()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),un(),Hr(4,"span",4),Da(5,"First page"),jr(),jr()),2&e&&Vr("disabled",t.disableFirstPage)},styles:[""]}),e})(),_k=(()=>{class e{constructor(e){this.notificationService=e,this.disableLastPage=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}firstPage(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableLastPage=e.pageNumber===e.pagesCount,this.button.nativeElement.disabled=this.disableLastPage}lastPage(){window.PDFViewerApplication.eventBus.dispatch("lastpage")}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-last-page"]],viewQuery:function(e,t){if(1&e&&Tc(AS,1),2&e){let e;Mc(e=Rc())&&(t.button=e.first)}},decls:6,vars:1,consts:[["type","button","title","Last page","id","primaryLastPage","data-l10n-id","last_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.lastPage()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),un(),Hr(4,"span",4),Da(5,"Last page"),jr(),jr()),2&e&&Vr("disabled",t.disableLastPage)},styles:[""]}),e})(),xk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-next-page"]],decls:5,vars:0,consts:[["type","button","title","Next Page","id","next","data-l10n-id","next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Next"),jr(),jr())},styles:[""]}),e})(),Ck=(()=>{class e{constructor(){this.showOpenFileButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-open-file"]],inputs:{showOpenFileButton:"showOpenFileButton"},decls:5,vars:2,consts:[["type","button","id","openFile","title","Open File","data-l10n-id","open_file",1,"toolbarButton","hiddenMediumView"],["viewBox","0 0 24 24",2,"width","24px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Open"),jr(),jr()),2&e&&ma("invisible",!t.showOpenFileButton)},styles:[SS]}),e})(),Ak=(()=>{class e{constructor(){this.showPagingButtons=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-page-number"]],inputs:{showPagingButtons:"showPagingButtons"},decls:2,vars:4,consts:[["type","number","id","pageNumber","title","Page","value","1","size","4","min","1","data-l10n-id","page",1,"toolbarField","pageNumber"],["id","numPages",1,"toolbarLabel","hiddenXLView"]],template:function(e,t){1&e&&(Ur(0,"input",0),Ur(1,"span",1)),2&e&&(ma("invisible",!t.showPagingButtons),no(1),ma("invisible",!t.showPagingButtons))},styles:[""]}),e})(),Sk=(()=>{class e{constructor(){this.showPagingButtons=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-paging-area"]],inputs:{showPagingButtons:"showPagingButtons"},decls:7,vars:5,consts:[[1,"paging-left","hiddenTinyView"],[2,"margin-right","-3px"],[2,"margin-left","-3px"],[3,"showPagingButtons"],[1,"paging-right","hiddenTinyView"],[2,"margin-right","-3px","margin-left","-3px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-first-page",1),Ur(2,"pdf-previous-page",2),jr(),Ur(3,"pdf-page-number",3),Hr(4,"div",4),Ur(5,"pdf-next-page",5),Ur(6,"pdf-last-page",2),jr()),2&e&&(ma("invisible",!t.showPagingButtons),no(3),Vr("showPagingButtons",t.showPagingButtons),no(1),ma("invisible",!t.showPagingButtons))},directives:function(){return[wk,Ek,Ak,xk,_k]},styles:[".paging-right[_ngcontent-%COMP%]{float:right;display:block;margin-top:-2px}.paging-left[_ngcontent-%COMP%]{float:left;display:block;margin-top:-2px}"]}),e})(),kk=(()=>{class e{constructor(){this.showPresentationModeButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-presentation-mode"]],inputs:{showPresentationModeButton:"showPresentationModeButton"},decls:5,vars:2,consts:[["type","button","id","presentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"toolbarButton","hiddenLargeView"],["viewBox","0 0 24 24",2,"width","27px","height","27px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Presentation Mode"),jr(),jr()),2&e&&ma("invisible",!t.showPresentationModeButton)},styles:["[_nghost-%COMP%] button.toolbarButton[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),Ek=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-previous-page"]],decls:5,vars:0,consts:[["type","button","title","Previous Page","id","previous","data-l10n-id","previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Previous"),jr(),jr())},styles:[""]}),e})(),Pk=(()=>{class e{constructor(){this.showPrintButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-print"]],inputs:{showPrintButton:"showPrintButton"},decls:5,vars:2,consts:[["type","button","id","print","title","Print","data-l10n-id","print",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Print"),jr(),jr()),2&e&&ma("invisible",!t.showPrintButton)},styles:[PS]}),e})(),Dk=(()=>{class e{constructor(e){this.notificationService=e,this.showRotateButton=!0,this.disableRotate=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}rotateCW(){window.PDFViewerApplication.eventBus.dispatch("rotatecw")}rotateCCW(){window.PDFViewerApplication.eventBus.dispatch("rotateccw")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableRotate=0===e.pagesCount,this.button1.nativeElement.disabled=this.disableRotate,this.button2.nativeElement.disabled=this.disableRotate}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-rotate-page"]],viewQuery:function(e,t){if(1&e&&(Tc(kS,1),Tc(ES,1)),2&e){let e;Mc(e=Rc())&&(t.button1=e.first),Mc(e=Rc())&&(t.button2=e.first)}},inputs:{showRotateButton:"showRotateButton"},decls:8,vars:6,consts:[["type","button","id","primaryPageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"toolbarButton","hiddenXLView","rotateCw",3,"disabled","click"],["button1",""],["viewBox","0 0 24 24",2,"width","23px","height","23px"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["type","button","id","primaryPageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"toolbarButton","hiddenXLView","rotateCcw",3,"disabled","click"],["button2",""],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.rotateCW()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),jr(),un(),Hr(4,"button",4,5),Xr("click",function(){return t.rotateCCW()}),dn(),Hr(6,"svg",2),Ur(7,"path",6),jr(),jr()),2&e&&(ma("invisible",!t.showRotateButton),Vr("disabled",t.disableRotate),no(4),ma("invisible",!t.showRotateButton),Vr("disabled",t.disableRotate))},styles:[PS]}),e})(),Ok=(()=>{class e{constructor(e){this.pdfFindbarService=e}}return e.\u0275fac=function(t){return new(t||e)(zr(fk))},e.\u0275cmp=$e({type:e,selectors:[["pdf-search-input-field"]],decls:2,vars:5,consts:[["autocomplete","search-input-field","id","findInput","title","Find","data-l10n-id","find_input","name","search-input-field",1,"toolbarField",3,"placeholder"],["id","findInputMultiline","type","checkbox","placeholder","Multiple search terms. Each line is a search term.","data-l10n-id","find_input_line_by_line","lines","3",1,"toolbarField"]],template:function(e,t){1&e&&(Ur(0,"input",0),Ur(1,"textarea",1)),2&e&&(ma("hidden",!t.pdfFindbarService.individualWordsMode),Vr("placeholder","Find in document\u2026"),no(1),ma("hidden",t.pdfFindbarService.individualWordsMode))},styles:["textarea[_ngcontent-%COMP%]{width:200px;height:3.5em}textarea[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#bfbfbf}textarea[_ngcontent-%COMP%]::-moz-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]:-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::placeholder{font-style:italic}"]}),e})(),Mk=(()=>{class e{constructor(){this.showSecondaryToolbarButton=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toggle-secondary-toolbar"]],inputs:{showSecondaryToolbarButton:"showSecondaryToolbarButton"},decls:5,vars:2,consts:[["type","button","id","secondaryToolbarToggle","title","Tools","data-l10n-id","tools",1,"toolbarButton"],["viewBox","0 0 24 24","onclick","event.preventDefault(); return false;",2,"width","27px","height","27px"],["fill","currentColor","d","M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"],["data-l10n-id","tools_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Tools"),jr(),jr()),2&e&&ma("invisible",!t.showSecondaryToolbarButton)},styles:["svg[_ngcontent-%COMP%]{margin-top:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),Tk=(()=>{class e{constructor(){this.showSidebarButton=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toggle-sidebar"]],inputs:{showSidebarButton:"showSidebarButton"},decls:5,vars:2,consts:[["type","button","id","sidebarToggle","title","Toggle Sidebar","data-l10n-id","toggle_sidebar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["data-l10n-id","toggle_sidebar_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Toggle Sidebar"),jr(),jr()),2&e&&ma("invisible",!t.showSidebarButton)},styles:[DS]}),e})(),Ik=(()=>{class e{constructor(){this.mobileFriendlyZoomScale=1,this.primaryMenuVisible=!0,this.showBookmarkButton=!0,this.showDownloadButton=!0,this.showFindButton=void 0,this.showHandToolButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showPagingButtons=!0,this.showPresentationModeButton=!1,this.showRotateButton=!0,this.showSecondaryToolbarButton=!0,this.showSidebarButton=!0,this.showZoomButtons=!0,this.textLayer=void 0,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toolbar"]],inputs:{mobileFriendlyZoomScale:"mobileFriendlyZoomScale",primaryMenuVisible:"primaryMenuVisible",showBookmarkButton:"showBookmarkButton",showDownloadButton:"showDownloadButton",showFindButton:"showFindButton",showHandToolButton:"showHandToolButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showPagingButtons:"showPagingButtons",showPresentationModeButton:"showPresentationModeButton",showRotateButton:"showRotateButton",showSecondaryToolbarButton:"showSecondaryToolbarButton",showSidebarButton:"showSidebarButton",showZoomButtons:"showZoomButtons",textLayer:"textLayer",toolbarPaddingTop:"toolbarPaddingTop",toolbarWidth:"toolbarWidth",zoomLevels:"zoomLevels",customToolbar:"customToolbar"},ngContentSelectors:hS,decls:8,vars:11,consts:[[1,"toolbar"],["id","toolbarContainer"],[4,"ngTemplateOutlet"],["id","loadingBar"],[1,"progress"],[1,"glimmer"],["defaultToolbar",""],["id","toolbarViewer"],["id","toolbarViewerLeft"],[3,"showSidebarButton"],[3,"showFindButton","textLayer"],[3,"showPagingButtons"],[3,"showZoomButtons","zoomLevels"],["id","toolbarViewerRight"],[3,"showHandToolButton"],[3,"showSelectToolButton"],[3,"showRotateButton"],[3,"showPresentationModeButton"],[3,"showOpenFileButton"],[3,"showPrintButton"],[3,"showDownloadButton"],[3,"showBookmarkButton"],[3,"showSecondaryToolbarButton"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",1),Fr(2,OS,1,0,"ng-content",2),Hr(3,"div",3),Hr(4,"div",4),Ur(5,"div",5),jr(),jr(),jr(),jr(),Fr(6,MS,16,15,"ng-template",null,6,zc)),2&e){const e=Br(7);ma("invisible",!t.primaryMenuVisible),no(1),fa("transform","scale("+t.mobileFriendlyZoomScale+")")("transform-origin","left center")("width",t.toolbarWidth)("padding-top",t.toolbarPaddingTop),no(1),Vr("ngTemplateOutlet",t.customToolbar?t.customToolbar:e)}},directives:function(){return[Ku,Tk,lk,Sk,Bk,KS,zk,Dk,kk,Ck,Pk,nk,JS,Mk]},styles:[""]}),e})(),Rk=(()=>{class e{constructor(){this._zoomLevels=[]}set zoomLevels(e){this._zoomLevels=e.map(e=>this.valueToZoomLevel(e))}ngOnInit(){}valueToZoomLevel(e){e.toString().endsWith("%")&&(e=e.toString().replace("%",""),e=Number(e)/100);const t=Number(e);if(!t){const t=String(e);return{id:this.snakeToCamel(e+"Option"),value:t,dataL10nId:"page_scale_"+t.replace("page-",""),dataL10nArgs:void 0,displayValue:t}}const n=Math.round(100*t);return{id:"scale_"+n,value:String(t),dataL10nId:"page_scale_percent",dataL10nArgs:`{ "scale": ${n} }`,displayValue:String(n)+"%"}}snakeToCamel(e){return e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace("-","").replace("_",""))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-dropdown"]],viewQuery:function(e,t){if(1&e&&Tc(TS,1),2&e){let e;Mc(e=Rc())&&(t.sizeSelector=e.first)}},inputs:{zoomLevels:"zoomLevels"},decls:5,vars:1,consts:[["id","scaleSelectContainer",1,"dropdownToolbarButton"],["id","scaleSelect","title","Zoom","data-l10n-id","zoom"],["sizeSelector",""],[3,"id",4,"ngFor","ngForOf"],["id","customScaleOption","title","","value","custom","disabled","disabled","hidden","true"],[3,"id"]],template:function(e,t){1&e&&(Hr(0,"span",0),Hr(1,"select",1,2),Fr(3,IS,2,5,"option",3),Ur(4,"option",4),jr(),jr()),2&e&&(no(3),Vr("ngForOf",t._zoomLevels))},directives:[ju,qm,Xm],styles:[".dropdownToolbarButton[_ngcontent-%COMP%]{display:table-cell;-webkit-appearance:none;width:150px;max-width:150px}.dropdownToolbarButton[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{width:170px}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){.dropdownToolbarButton[_ngcontent-%COMP%]::after{top:-1px}}"]}),e})(),Lk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-in"]],decls:4,vars:0,consts:[["type","button","id","zoomIn","title","Zoom In","data-l10n-id","zoom_in",1,"toolbarButton","zoomIn"],["data-l10n-id","zoom_in_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Da(1," + "),Hr(2,"span",1),Da(3,"Zoom In"),jr(),jr())},styles:[""]}),e})(),Fk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-out"]],decls:4,vars:0,consts:[["type","button","id","zoomOut","title","Zoom Out","data-l10n-id","zoom_out",1,"toolbarButton","zoomOut",2,"margin-top","2px"],["data-l10n-id","zoom_out_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Da(1," - "),Hr(2,"span",1),Da(3,"Zoom Out"),jr(),jr())},styles:[""]}),e})(),Bk=(()=>{class e{constructor(){this.showZoomButtons=!0,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-toolbar"]],inputs:{showZoomButtons:"showZoomButtons",zoomLevels:"zoomLevels"},decls:4,vars:3,consts:[["id","toolbarViewerMiddle"],[2,"width","unset","max-width","unset","padding-top","3px",3,"zoomLevels"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-zoom-out"),Ur(2,"pdf-zoom-in"),Ur(3,"pdf-zoom-dropdown",1),jr()),2&e&&(ma("invisible",!t.showZoomButtons),no(3),Vr("zoomLevels",t.zoomLevels))},directives:[Fk,Lk,Rk],styles:[""]}),e})(),zk=(()=>{class e{constructor(e){this.notificationService=e,this.showSelectToolButton=!0,this.isSelected=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("cursortoolchanged",({tool:e})=>this.isSelected=e===qS.SELECT)}onClick(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:qS.SELECT})}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-select-tool"]],inputs:{showSelectToolButton:"showSelectToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorSelectTool","title","Enable text selection tool","data-l10n-id","cursor_text_select_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Xr("click",function(){return t.onClick()}),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Text selection tool"),jr(),jr()),2&e&&ma("invisible",!t.showSelectToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0;margin-right:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),e})(),Vk=(()=>{class e{constructor(e,t){this.renderer=e,this.document=t,this.zoom=1,this.width=100,this.xs=490,this.sm=560,this.md=610,this.lg=660,this.xl=740,this.xxl=830}get style(){return`\n@media all and (max-width: ${this.xl}px) {\n #toolbarViewerMiddle {\n display: table;\n margin: auto;\n left: auto;\n position: inherit;\n transform: none;\n }\n}\n\n@media all and (max-width: 840px) {\n #sidebarContent {\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {\n left: 0px !important;\n }\n html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {\n right: 0px !important;\n }\n\n #outerContainer .hiddenLargeView,\n #outerContainer .hiddenMediumView {\n display: inherit;\n }\n #outerContainer .visibleLargeView,\n #outerContainer .visibleMediumView {\n display: none;\n }\n}\n\n@media all and (max-width: ${this.lg}px) {\n .toolbarButtonSpacer {\n width: 15px;\n }\n\n #outerContainer .hiddenLargeView {\n display: none;\n }\n #outerContainer .visibleLargeView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.md}px) {\n .toolbarButtonSpacer {\n display: none;\n }\n #outerContainer .hiddenMediumView {\n display: none;\n }\n #outerContainer .visibleMediumView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.sm}px) {\n .hiddenSmallView,\n .hiddenSmallView * {\n display: none;\n }\n .visibleSmallView {\n display: inherit;\n }\n .toolbarButtonSpacer {\n width: 0;\n }\n html[dir='ltr'] .findbar {\n left: 38px;\n }\n html[dir='rtl'] .findbar {\n right: 38px;\n }\n}\n\n@media all and (max-width: ${this.xs}px) {\n #scaleSelectContainer {\n display: none;\n }\n}\n\n.visibleXLView,\n.visibleXXLView,\n.visibleTinyView {\n display: none;\n}\n\n.hiddenXLView,\n.hiddenXXLView {\n display: unset;\n}\n\n@media all and (max-width: ${this.xl}px) {\n #outerContainer .hiddenXLView {\n display: none;\n }\n #outerContainer .visibleXLView {\n display: inherit;\n }\n\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-36%);\n transform: translateX(-36%);\n display: unset;\n margin: unset;\n left: 50%;\n position: absolute;\n }\n}\n\n@media all and (max-width: ${this.xxl}px) {\n #outerContainer .hiddenXXLView {\n display: none;\n }\n #outerContainer .visibleXXLView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.md}px) {\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-26%);\n transform: translateX(-26%);\n }\n}\n\n@media all and (max-width: ${this.xs}px) {\n .hiddenTinyView,\n .hiddenTinyView * {\n display: none;\n }\n .visibleTinyView {\n display: inherit;\n }\n}\n `}ngOnInit(){this.injectStyle()}ngOnChanges(){const e=this.document.body.clientWidth/this.width*(this.zoom?this.zoom:1);this.xs=490*e,this.sm=560*e,this.md=610*e,this.lg=660*e,this.xl=740*e,this.xxl=830*e;const t=this.document.getElementById("pdf-dynamic-css");t&&(t.innerHTML=this.style)}injectStyle(){const e=this.document.createElement("STYLE");e.id="pdf-dynamic-css",e.innerHTML=this.style,this.renderer.appendChild(this.document.head,e)}ngOnDestroy(){const e=this.document.getElementById("pdf-dynamic-css");e&&e.parentElement&&e.parentElement.removeChild(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(Hd))},e.\u0275cmp=$e({type:e,selectors:[["pdf-dynamic-css"]],inputs:{zoom:"zoom",width:"width"},features:[dt],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),Nk=(()=>{class e{constructor(){this.thumbnailDrawn=new yc,this.top="32px",this._hideSidebarToolbar=!1,window.pdfThumbnailGeneratorReady=()=>this.pdfThumbnailGeneratorReady(),window.pdfThumbnailGenerator=(e,t,n,i,s)=>this.createThumbnail(e,t,n,i,s)}ngOnDestroy(){this.linkService=void 0}pdfThumbnailGeneratorReady(){if(!this.thumbnailViewTemplate)return!1;const e=this.thumbnailViewTemplate.nativeElement;return!!e&&!!e.innerHTML&&e.innerHTML.length>0}createThumbnail(e,t,n,i,s){this.linkService=t;const o=this.thumbnailViewTemplate.nativeElement.innerHTML.split(/_ng\w+-\w+-\w+=""/g).join("").split(/ng-\w+-\w+/g).join("").split(/<!--[\s\S]*?-->/g).join(""),r=e.canvasWidth+2+"px",a=e.canvasHeight+2+"px",l=o.split("WIDTH_OF_RING").join(r).split("HEIGHT_OF_RING").join(a).split("PAGE_NUMBER").join(n),c=this.createElementFromHTML(l);c.classList.remove("pdf-viewer-template");const d=c;d.href=t.getAnchorUrl("#page="+n),s.then(e=>{d.title=e}),d.onclick=function(){return t.page=n,!1},e.anchor=d;const u=c.getElementsByClassName("image-container")[0];e.ring=u,e.div=c.getElementsByClassName("thumbnail")[0],i.appendChild(c),this.thumbnailDrawn.emit({thumbnail:c,container:i,pageId:n})}createElementFromHTML(e){const t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}onKeyDown(e){"ArrowDown"===e.code?this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=this.linkService.pagesCount:this.linkService.page<this.linkService.pagesCount&&(this.linkService.page=this.linkService.page+1),e.preventDefault()):"ArrowUp"===e.code&&this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=1:this.linkService.page>1&&(this.linkService.page=this.linkService.page-1),e.preventDefault())}set hideSidebarToolbar(e){this._hideSidebarToolbar=e,this.top=this._hideSidebarToolbar?"0":"32px"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar-content"]],viewQuery:function(e,t){if(1&e&&Tc(RS,1),2&e){let e;Mc(e=Rc())&&(t.thumbnailViewTemplate=e.first)}},inputs:{hideSidebarToolbar:"hideSidebarToolbar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:hS,decls:10,vars:3,consts:[["id","sidebarContent"],["thumbnailViewTemplate",""],[4,"ngTemplateOutlet"],["id","thumbnailView",3,"keydown"],["id","outlineView",1,"hidden"],["id","attachmentsView",1,"hidden"],["id","layersView",1,"hidden"],["defaultThumbnail",""],[1,"pdf-viewer-template"],["data-page-number","$page",1,"thumbnail"],[1,"thumbnailSelectionRing","image-container",2,"width","WIDTH_OF_RING","height","HEIGHT_OF_RING"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",null,1),Fr(3,LS,1,0,"ng-content",2),jr(),Hr(4,"div",3),Xr("keydown",function(e){return t.onKeyDown(e)}),jr(),Ur(5,"div",4),Ur(6,"div",5),Ur(7,"div",6),jr(),Fr(8,FS,3,0,"ng-template",null,7,zc)),2&e){const e=Br(9);fa("top",t.top),no(3),Vr("ngTemplateOutlet",t.customThumbnail?t.customThumbnail:e)}},directives:[Ku],styles:[""]}),e})(),Hk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar-toolbar"]],decls:21,vars:0,consts:[["id","toolbarSidebar"],["type","button","id","viewThumbnail","title","Show Thumbnails","data-l10n-id","thumbs",1,"toolbarButton","toggled"],["data-l10n-id","thumbs_label"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z"],["type","button","id","viewOutline","title","Show Document Outline (double-click to expand/collapse all items)","data-l10n-id","document_outline","hidden","true",1,"toolbarButton"],["data-l10n-id","document_outline_label"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["type","button","id","viewAttachments","title","Show Attachments","data-l10n-id","attachments","hidden","true",1,"toolbarButton"],["data-l10n-id","attachments_label"],["fill","currentColor","d","M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"],["id","viewLayers","title","Show Layers (double-click to reset all layers to the default state)","data-l10n-id","layers","hidden","true",1,"toolbarButton"],["data-l10n-id","layers_label"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 4.233 4.233",2,"width","20px","height","20px"],["d","M.15 2.992c-.198.1-.2.266-.002.365l1.604.802a.93.93 0 00.729-.001l1.602-.801c.198-.1.197-.264 0-.364l-.695-.348c-1.306.595-2.542 0-2.542 0m-.264.53l.658-.329c.6.252 1.238.244 1.754 0l.659.329-1.536.768zM.15 1.935c-.198.1-.198.265 0 .364l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363l-.694-.35c-1.14.56-2.546.001-2.546.001m-.264.53l.664-.332c.52.266 1.261.235 1.75.002l.659.33-1.537.768zM.15.877c-.198.099-.198.264 0 .363l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363L2.481.075a.926.926 0 00-.727 0zm.43.182L2.117.29l1.538.769-1.538.768z"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"button",1),Hr(2,"span",2),Da(3,"Thumbnails"),jr(),dn(),Hr(4,"svg",3),Ur(5,"path",4),jr(),jr(),un(),Hr(6,"button",5),Hr(7,"span",6),Da(8,"Document Outline"),jr(),dn(),Hr(9,"svg",3),Ur(10,"path",7),jr(),jr(),un(),Hr(11,"button",8),Hr(12,"span",9),Da(13,"Attachments"),jr(),dn(),Hr(14,"svg",3),Ur(15,"path",10),jr(),jr(),un(),Hr(16,"button",11),Hr(17,"span",12),Da(18,"Layers"),jr(),dn(),Hr(19,"svg",13),Ur(20,"path",14),jr(),jr(),jr())},styles:["button[_ngcontent-%COMP%]{margin-right:4px!important}div#toolbarSidebar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-child{margin-left:4px!important}"]}),e})(),jk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-light-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(90, 90, 90)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#5a5a5a;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#5a5a5a;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:#fff!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#f9f9f9}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:#e3e1e6}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid #ddd}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:var(#e3e1e6);color:#5a5a5a;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#f9f9f9}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#f9f9f9;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#5a5a5a;color:#f9f9f9;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#5a5a5a;margin:0;padding:3px 2px 2px;border:none;background-color:#fff}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#f9f9f9}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:#fff;background-clip:padding-box;color:#5a5a5a;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#5a5a5a;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#f9f9f9;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#5a5a5a;font-size:12px;line-height:14px;background-color:#f9f9f9;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#f9f9f9;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),e})(),Uk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-dark-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(217, 217, 217)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#474747;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#474747;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:rgba(255,255,255,.09)!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#000}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#000;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:rgba(0,0,0,.1)}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid rgba(0,0,0,.5)}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:#424242;color:#d9d9d9;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#474747}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#474747;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#d9d9d9;color:#474747;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#d9d9d9;margin:0;padding:3px 2px 2px;border:none;background-color:rgba(255,255,255,.09)}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#474747}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:rgba(255,255,255,.09);background-clip:padding-box;color:#d9d9d9;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#424242;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#000;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#d9d9d9;font-size:12px;line-height:14px;background-color:#474747;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#000;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),e})();function Wk(e,t,n){return!e||e.some(e=>function(e,t,n){let i=0,s=0;return(e=e.toLowerCase()).includes("ctrl+")&&(i|=1,e=e.replace("ctrl+","")),e.includes("cmd+")&&(i|=8,e=e.replace("cmd+","")),e.includes("alt+")&&(i|=2,e=e.replace("alt+","")),e.includes("shift+")&&(i|=4,e=e.replace("shift+","")),e.includes("meta+")&&(i|=8,e=e.replace("meta+","")),s="up"===e?38:"down"===e?40:"+"===e||'"+"'===e?171:"-"===e||'"-"'===e?173:"esc"===e?27:"enter"===e?13:"space"===e?32:"f4"===e?115:"backspace"===e?8:"home"===e?36:"end"===e?35:"left"===e?37:"right"===e?39:"pagedown"===e?34:"pageup"===e?33:e.toUpperCase().charCodeAt(0),"WHEEL"===n?"wheel"===e&&t===i:s===n&&t===i}(e,t,n))}Promise.allSettled||window.Zone&&!window["__zone_symbol__Promise.allSettled"]&&console.error("Please update zone.js to version 0.10.3 or higher. Otherwise, you'll run the slow ECMAScript 5 version even on modern browser that can run the fast ESMAScript 2015 version."),"undefined"!=typeof window&&(window.isKeyIgnored=function(e,t){const n=window.PDFViewerApplicationOptions,i=n.get("ignoreKeys"),s=n.get("acceptKeys");return"WHEEL"===t?!!Wk(i,e,"WHEEL")||!!(s&&s.length>0)&&!Wk(s,e,"WHEEL"):16===t||17===t||18===t||224===t||!!n.get("ignoreKeyboard")||!!(i&&i.length>0&&Wk(i,e,t))||!!(s&&s.length>0)&&!Wk(s,e,t)});let Gk=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[XS,GS,nu,{provide:Xd,useClass:eu}],imports:[[uh,ob]]}),e})();const $k=["contentRef"],qk=["*"];let Yk=(()=>{let e=class{constructor(e){this.display="inline-block",this._dragDisabled=!1,this._elementRef=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}};return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(e,t){2&e&&fa("display",t.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),e=D_([O_(0,vi(rl)),M_("design:paramtypes",[rl])],e),e})(),Zk=(()=>{let e=class{constructor(e,t,n){this._elementRef=e,this._renderer=t,this._document=n,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.dsInitialized=new yc,this.indexChanged=new yc,this.reachesLeftBound=new yc,this.reachesRightBound=new yc,this.snapAnimationFinished=new yc,this.dragStart=new yc,this.dragEnd=new yc,this.scrollbarWidth=this.getScrollbarWidth()+"px"}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(e){e!==this._index&&(this._index=e,this.indexChanged.emit(e))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(e){this._scrollbarHidden=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get xDisabled(){return this._xDisabled}set xDisabled(e){this._xDisabled=e}get yDisabled(){return this._yDisabled}set yDisabled(e){this._yDisabled=e}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(e){this._xWheelEnabled=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}get snapDisabled(){return this._snapDisabled}set snapDisabled(e){this._snapDisabled=e}get snapOffset(){return this._snapOffset}set snapOffset(e){this._snapOffset=e}get snapDuration(){return this._snapDuration}set snapDuration(e){this._snapDuration=e}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType="undefined"!=typeof window?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen("document","dragstart",e=>{e.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild()}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(e){this.onMouseMove(e)}onMouseMove(e){if(this.isPressed&&!this.disabled){if(!e.buttons&&!e.which)return this.onMouseUpHandler(e);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const t=e.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-t+this.downX,this.downX=t}if(!this.yDisabled&&!this.dragDisabled){const t=e.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-t+this.downY,this.downY=t}}}onMouseDownHandler(e){const t=this.locateDragScrollItem(e.target);if(t&&t.dragDisabled)return;this._startGlobalListening("touchstart"===e.type),this.isPressed=!0;const n=e;this.downX=n.clientX,this.downY=n.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(e){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const e=this.wrapper||this.parentNode,t=e?e.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex<this.maximumIndex(t,this._children.toArray())&&(this.currIndex++,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveTo(e){const t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;e>=0&&e!==this.currIndex&&this.currIndex<=this.maximumIndex(n,this._children.toArray())&&(this.currIndex=Math.min(e,this.maximumIndex(n,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const e=Boolean(this._children.length<=1),t=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);e||t?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(e){this._xWheelEnabled&&(e.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(e.deltaY,0):e.deltaY<0?this.moveLeft():e.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(e){this._isDragging!==e&&(this._isDragging=e,e?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(e){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",e?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",e?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"hidden")}enableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"auto")}hideScrollbar(){"none"===this._contentRef.nativeElement.style.display||this.wrapper||(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.setStyle(e,"visibility","hidden"),this._renderer.setStyle(e,"width","100px"),this._renderer.setStyle(e,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,e);const t=e.offsetWidth;this._renderer.setStyle(e,"overflow","scroll");const n=this._renderer.createElement("div");this._renderer.setStyle(n,"width","100%"),this._renderer.appendChild(e,n);const i=n.offsetWidth;return this._renderer.removeChild(this._document.body,e),t-i||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px"))}scrollTo(e,t,n){const i=this;i.isAnimating=!0;const s=e.scrollLeft,o=t-s-this.snapOffset;let r=0;const a=function(){var t,l,c;r+=20,e.scrollLeft=(t=r,l=s,c=o,(t/=n/2)<1?c/2*t*t+l:-c/2*(--t*(t-2)-1)+l),r<n?i.scrollToTimer=setTimeout(a,20):setTimeout(()=>{i.isAnimating=!1,i.snapAnimationFinished.emit(i.currIndex)},20)};a()}locateCurrentIndex(e){this.currentChildWidth((t,n,i,s,o)=>{this._contentRef.nativeElement.scrollLeft>=i&&this._contentRef.nativeElement.scrollLeft<=n?(n-this._contentRef.nativeElement.scrollLeft>t/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=s),e&&this.scrollTo(this._contentRef.nativeElement,i,this.snapDuration)):0!==this._contentRef.nativeElement.scrollLeft&&(this.isAnimating||(this.currIndex=s+1),e&&this.scrollTo(this._contentRef.nativeElement,i+t,this.snapDuration)),o()):s+1===this._children.length-1&&(this.isAnimating||(this.currIndex=s+1),o())})}currentChildWidth(e){let t=0,n=!1;const i=function(){n=!0},s=this._children.toArray();for(let o=0;o<s.length&&o!==s.length-1&&!n;o++){const n=s[o]._elementRef.nativeElement.clientWidth;e(n,t+s[o+1]._elementRef.nativeElement.clientWidth,t,o,i),t+=n}}toChildrenLocation(){let e=0;const t=this._children.toArray();for(let n=0;n<this.currIndex;n++)e+=t[n]._elementRef.nativeElement.clientWidth;return e}locateDragScrollItem(e){let t=null;const n=this._children.toArray();for(let i=0;i<n.length;i++)e===n[i]._elementRef.nativeElement&&(t=n[i]);return t}markElDimension(){this.wrapper?(this.elWidth=this.wrapper.style.width,this.elHeight=this.wrapper.style.height):(this.elWidth=this._elementRef.nativeElement.style.width||this._elementRef.nativeElement.offsetWidth+"px",this.elHeight=this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px");const e=this.wrapper||this.parentNode;this._children.length>1&&(this.indexBound=this.maximumIndex(e?e.clientWidth:0,this._children.toArray()))}maximumIndex(e,t){let n=0,i=0;for(let s=0;s<=t.length;s++){const o=t[t.length-1-s];if(!o)break;{const t=o._elementRef.nativeElement;let s=t.clientWidth;if(0===s&&t.firstElementChild&&(s=o._elementRef.nativeElement.firstElementChild.clientWidth),i+=s,!(i<e))break;n++}}return t.length-n}isScrollReachesRightEnd(){return this._contentRef.nativeElement.scrollLeft+this._contentRef.nativeElement.offsetWidth>=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const e=this._children.toArray();this._renderer.setStyle(e[e.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&e.length>1?this.scrollbarWidth:0)}}};return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr(Hd))},e.\u0275cmp=$e({type:e,selectors:[["drag-scroll"]],contentQueries:function(e,t,n){if(1&e&&Ic(n,Yk,0),2&e){let e;Mc(e=Rc())&&(t._children=e)}},viewQuery:function(e,t){if(1&e&&Tc($k,3),2&e){let e;Mc(e=Rc())&&(t._contentRef=e.first)}},hostVars:2,hostBindings:function(e,t){1&e&&Xr("wheel",function(e){return t.onWheel(e)})("resize",function(){return t.onWindowResize()},!1,ps),2&e&&fa("pointer-events",t._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[dt],ngContentSelectors:qk,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(e,t){1&e&&(sa(),Hr(0,"div",0,1),oa(2),jr())},styles:["[_nghost-%COMP%] {\n overflow: hidden;\n display: block;\n }\n .drag-scroll-content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n }"]}),e=D_([O_(0,vi(rl)),O_(1,vi(cl)),O_(2,vi(Hd)),M_("design:paramtypes",[rl,cl,Object])],e),e})(),Qk=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();class Xk{constructor(e,t){this.x=e,this.y=t}static fromEvent(e,t=null){if(this.isMouseEvent(e))return new Xk(e.clientX,e.clientY);if(null===t||1===e.changedTouches.length)return new Xk(e.changedTouches[0].clientX,e.changedTouches[0].clientY);for(let n=0;n<e.changedTouches.length;n++)if(e.changedTouches[n].target===t)return new Xk(e.changedTouches[n].clientX,e.changedTouches[n].clientY)}static isMouseEvent(e){return 8===Object.prototype.toString.apply(e).indexOf("MouseEvent")}static isIPosition(e){return!!e&&"x"in e&&"y"in e}static getCurrent(e){let t=new Xk(0,0);if(window){const n=window.getComputedStyle(e);if(n){let e=parseInt(n.getPropertyValue("left"),10),i=parseInt(n.getPropertyValue("top"),10);t.x=isNaN(e)?0:e,t.y=isNaN(i)?0:i}return t}return console.error("Not Supported!"),null}static copy(e){return new Xk(0,0).set(e)}get value(){return{x:this.x,y:this.y}}add(e){return this.x+=e.x,this.y+=e.y,this}subtract(e){return this.x-=e.x,this.y-=e.y,this}multiply(e){this.x*=e,this.y*=e}divide(e){this.x/=e,this.y/=e}reset(){return this.x=0,this.y=0,this}set(e){return this.x=e.x,this.y=e.y,this}}class Kk{constructor(e,t){this.parent=e,this.renderer=t,this._added=!1;let n=t.createElement("div");t.setStyle(n,"position","absolute"),t.setStyle(n,"width","100%"),t.setStyle(n,"height","100%"),t.setStyle(n,"background-color","transparent"),t.setStyle(n,"top","0"),t.setStyle(n,"left","0"),this._helper=n}add(){this.parent&&!this._added&&(this.parent.appendChild(this._helper),this._added=!0)}remove(){this.parent&&this._added&&(this.parent.removeChild(this._helper),this._added=!1)}dispose(){this._helper=null,this._added=!1}get el(){return this._helper}}let Jk=(()=>{class e{constructor(e,t){this.el=e,this.renderer=t,this.allowDrag=!0,this.moving=!1,this.orignal=null,this.oldTrans=new Xk(0,0),this.tempTrans=new Xk(0,0),this.currTrans=new Xk(0,0),this.oldZIndex="",this._zIndex="",this.needTransform=!1,this.draggingSub=null,this._helperBlock=null,this.started=new yc,this.stopped=new yc,this.edge=new yc,this.outOfBounds={top:!1,right:!1,bottom:!1,left:!1},this.gridSize=1,this.inBounds=!1,this.trackPosition=!0,this.scale=1,this.preventDefaultEvent=!1,this.position={x:0,y:0},this.lockAxis=null,this.movingOffset=new yc,this.endOffset=new yc,this._helperBlock=new Kk(e.nativeElement,t)}set zIndex(e){this.renderer.setStyle(this.el.nativeElement,"z-index",e),this._zIndex=e}set ngDraggable(e){if(null!=e&&""!==e){this.allowDrag=!!e;let t=this.getDragEl();this.allowDrag?this.renderer.addClass(t,"ng-draggable"):(this.putBack(),this.renderer.removeClass(t,"ng-draggable"))}}ngOnInit(){if(this.allowDrag){let e=this.getDragEl();this.renderer.addClass(e,"ng-draggable")}this.resetPosition()}ngOnDestroy(){this.bounds=null,this.handle=null,this.orignal=null,this.oldTrans=null,this.tempTrans=null,this.currTrans=null,this._helperBlock.dispose(),this._helperBlock=null,this.draggingSub&&this.draggingSub.unsubscribe()}ngOnChanges(e){if(e.position&&!e.position.isFirstChange()){let t=e.position.currentValue;this.moving?this.needTransform=!0:(Xk.isIPosition(t)?this.oldTrans.set(t):this.oldTrans.reset(),this.transform())}}ngAfterViewInit(){this.inBounds&&(this.boundsCheck(),this.oldTrans.add(this.tempTrans),this.tempTrans.reset())}getDragEl(){return this.handle?this.handle:this.el.nativeElement}resetPosition(){Xk.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.tempTrans.reset(),this.transform()}moveTo(e){this.orignal&&(e.subtract(this.orignal),this.tempTrans.set(e),this.tempTrans.divide(this.scale),this.transform(),this.bounds&&this.edge.emit(this.boundsCheck()),this.movingOffset.emit(this.currTrans.value))}transform(){let e=this.tempTrans.x+this.oldTrans.x,t=this.tempTrans.y+this.oldTrans.y;"x"===this.lockAxis?(e=this.oldTrans.x,this.tempTrans.x=0):"y"===this.lockAxis&&(t=this.oldTrans.y,this.tempTrans.y=0),this.gridSize>1&&(e=Math.round(e/this.gridSize)*this.gridSize,t=Math.round(t/this.gridSize)*this.gridSize);let n=`translate(${Math.round(e)}px, ${Math.round(t)}px)`;this.renderer.setStyle(this.el.nativeElement,"transform",n),this.renderer.setStyle(this.el.nativeElement,"-webkit-transform",n),this.renderer.setStyle(this.el.nativeElement,"-ms-transform",n),this.renderer.setStyle(this.el.nativeElement,"-moz-transform",n),this.renderer.setStyle(this.el.nativeElement,"-o-transform",n),this.currTrans.x=e,this.currTrans.y=t}pickUp(){if(this.oldZIndex=this.el.nativeElement.style.zIndex?this.el.nativeElement.style.zIndex:"",window&&(this.oldZIndex=window.getComputedStyle(this.el.nativeElement,null).getPropertyValue("z-index")),this.zIndexMoving&&this.renderer.setStyle(this.el.nativeElement,"z-index",this.zIndexMoving),!this.moving){this.started.emit(this.el.nativeElement),this.moving=!0;const e=this.getDragEl();this.renderer.addClass(e,"ng-dragging"),this.subscribeEvents()}}subscribeEvents(){this.draggingSub=V_(document,"mousemove",{passive:!1}).subscribe(e=>this.onMouseMove(e)),this.draggingSub.add(V_(document,"touchmove",{passive:!1}).subscribe(e=>this.onMouseMove(e))),this.draggingSub.add(V_(document,"mouseup",{passive:!1}).subscribe(()=>this.putBack())),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(V_(document,"mouseleave",{passive:!1}).subscribe(()=>this.putBack())),this.draggingSub.add(V_(document,"touchend",{passive:!1}).subscribe(()=>this.putBack())),this.draggingSub.add(V_(document,"touchcancel",{passive:!1}).subscribe(()=>this.putBack()))}unsubscribeEvents(){this.draggingSub.unsubscribe(),this.draggingSub=null}boundsCheck(){if(this.bounds){let e=this.bounds.getBoundingClientRect(),t=this.el.nativeElement.getBoundingClientRect(),n={top:!!this.outOfBounds.top||e.top<t.top,right:!!this.outOfBounds.right||e.right>t.right,bottom:!!this.outOfBounds.bottom||e.bottom>t.bottom,left:!!this.outOfBounds.left||e.left<t.left};return this.inBounds&&(n.top||(this.tempTrans.y-=(t.top-e.top)/this.scale),n.bottom||(this.tempTrans.y-=(t.bottom-e.bottom)/this.scale),n.right||(this.tempTrans.x-=(t.right-e.right)/this.scale),n.left||(this.tempTrans.x-=(t.left-e.left)/this.scale),this.transform()),n}}getCurrentOffset(){return this.currTrans.value}putBack(){if(this._zIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this._zIndex):this.zIndexMoving&&(this.oldZIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this.oldZIndex):this.el.nativeElement.style.removeProperty("z-index")),this.moving){this.stopped.emit(this.el.nativeElement),this._helperBlock.remove(),this.needTransform&&(Xk.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.transform(),this.needTransform=!1),this.bounds&&this.edge.emit(this.boundsCheck()),this.moving=!1,this.endOffset.emit(this.currTrans.value),this.trackPosition&&this.oldTrans.add(this.tempTrans),this.tempTrans.reset(),this.trackPosition||this.transform();const e=this.getDragEl();this.renderer.removeClass(e,"ng-dragging"),this.unsubscribeEvents()}}checkHandleTarget(e,t){if("BUTTON"===t.tagName)return!1;if(t===e)return!0;for(let n in t.children)if(t.children.hasOwnProperty(n)&&this.checkHandleTarget(e,t.children[n]))return!0;return!1}onMouseDown(e){e instanceof MouseEvent&&2===e.button||(void 0===this.handle||this.checkHandleTarget(e.target||e.srcElement,this.handle))&&!1!==this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this.orignal=Xk.fromEvent(e,this.getDragEl()),this.pickUp())}onMouseMove(e){this.moving&&this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._helperBlock.add(),this.moveTo(Xk.fromEvent(e,this.getDragEl())))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngDraggable",""]],hostBindings:function(e,t){1&e&&Xr("mousedown",function(e){return t.onMouseDown(e)})("touchstart",function(e){return t.onMouseDown(e)})},inputs:{outOfBounds:"outOfBounds",gridSize:"gridSize",inBounds:"inBounds",trackPosition:"trackPosition",scale:"scale",preventDefaultEvent:"preventDefaultEvent",position:"position",lockAxis:"lockAxis",zIndex:"zIndex",ngDraggable:"ngDraggable",bounds:"bounds",handle:"handle",zIndexMoving:"zIndexMoving"},outputs:{started:"started",stopped:"stopped",edge:"edge",movingOffset:"movingOffset",endOffset:"endOffset"},exportAs:["ngDraggable"],features:[dt]}),e})();class eE{constructor(e,t,n,i,s){this.parent=e,this.renderer=t,this.type=n,this.css=i,this.onMouseDown=s;let o=t.createElement("div");t.addClass(o,"ng-resizable-handle"),t.addClass(o,i),"se"===n&&t.addClass(o,"ng-resizable-diagonal"),this.parent&&e.appendChild(o),this._onResize=e=>{s(e,this)},o.addEventListener("mousedown",this._onResize,{passive:!1}),o.addEventListener("touchstart",this._onResize,{passive:!1}),this._handle=o}dispose(){this._handle.removeEventListener("mousedown",this._onResize),this._handle.removeEventListener("touchstart",this._onResize),this.parent&&this.parent.removeChild(this._handle),this._handle=null,this._onResize=null}get el(){return this._handle}}class tE{constructor(e,t){this.width=e,this.height=t}static getCurrent(e){let t=new tE(0,0);if(window){const n=window.getComputedStyle(e);return n&&(t.width=parseInt(n.getPropertyValue("width"),10),t.height=parseInt(n.getPropertyValue("height"),10)),t}return console.error("Not Supported!"),null}static copy(e){return new tE(0,0).set(e)}set(e){return this.width=e.width,this.height=e.height,this}}let nE=(()=>{class e{constructor(e,t){this.el=e,this.renderer=t,this._resizable=!0,this._handles={},this._handleType=[],this._handleResizing=null,this._direction=null,this._directionChanged=null,this._aspectRatio=0,this._containment=null,this._origMousePos=null,this._origSize=null,this._origPos=null,this._currSize=null,this._currPos=null,this._initSize=null,this._initPos=null,this._gridSize=null,this._bounding=null,this._helperBlock=null,this.draggingSub=null,this._adjusted=!1,this.rzHandles="e,s,se",this.rzAspectRatio=!1,this.rzContainment=null,this.rzGrid=null,this.rzMinWidth=null,this.rzMinHeight=null,this.rzMaxWidth=null,this.rzMaxHeight=null,this.preventDefaultEvent=!0,this.rzStart=new yc,this.rzResizing=new yc,this.rzStop=new yc,this._helperBlock=new Kk(e.nativeElement,t)}set ngResizable(e){null!=e&&""!==e&&(this._resizable=!!e,this.updateResizable())}ngOnChanges(e){e.rzHandles&&!e.rzHandles.isFirstChange()&&this.updateResizable(),e.rzAspectRatio&&!e.rzAspectRatio.isFirstChange()&&this.updateAspectRatio(),e.rzContainment&&!e.rzContainment.isFirstChange()&&this.updateContainment()}ngOnInit(){this.updateResizable()}ngOnDestroy(){this.removeHandles(),this._containment=null,this._helperBlock.dispose(),this._helperBlock=null}ngAfterViewInit(){const e=this.el.nativeElement;this._initSize=tE.getCurrent(e),this._initPos=Xk.getCurrent(e),this._currSize=tE.copy(this._initSize),this._currPos=Xk.copy(this._initPos),this.updateAspectRatio(),this.updateContainment()}resetSize(){this._currSize=tE.copy(this._initSize),this._currPos=Xk.copy(this._initPos),this.doResize()}getStatus(){return this._currPos&&this._currSize?{size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x}}:null}updateResizable(){const e=this.el.nativeElement;this.renderer.removeClass(e,"ng-resizable"),this.removeHandles(),this._resizable&&(this.renderer.addClass(e,"ng-resizable"),this.createHandles())}updateAspectRatio(){if("boolean"==typeof this.rzAspectRatio)this._aspectRatio=this.rzAspectRatio&&this._currSize.height?this._currSize.width/this._currSize.height:0;else{let e=Number(this.rzAspectRatio);this._aspectRatio=isNaN(e)?0:e}}updateContainment(){this._containment=this.rzContainment?"string"==typeof this.rzContainment?"parent"===this.rzContainment?this.el.nativeElement.parentElement:document.querySelector(this.rzContainment):this.rzContainment:null}createHandles(){if(!this.rzHandles)return;let e;if("string"==typeof this.rzHandles){e="all"===this.rzHandles?["n","e","s","w","ne","se","nw","sw"]:this.rzHandles.replace(/ /g,"").toLowerCase().split(",");for(let t of e){let e=this.createHandleByType(t,"ng-resizable-"+t);e&&(this._handleType.push(t),this._handles[t]=e)}}else{e=Object.keys(this.rzHandles);for(let t of e){let e=this.createHandleByType(t,this.rzHandles[t]);e&&(this._handleType.push(t),this._handles[t]=e)}}}createHandleByType(e,t){const n=this.el.nativeElement;return e.match(/^(se|sw|ne|nw|n|e|s|w)$/)?new eE(n,this.renderer,e,t,this.onMouseDown.bind(this)):(console.error("Invalid handle type:",e),null)}removeHandles(){for(let e of this._handleType)this._handles[e].dispose();this._handleType=[],this._handles={}}onMouseDown(e,t){e instanceof MouseEvent&&2===e.button||(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._handleResizing||(this._origMousePos=Xk.fromEvent(e),this.startResize(t),this.subscribeEvents()))}subscribeEvents(){this.draggingSub=V_(document,"mousemove",{passive:!1}).subscribe(e=>this.onMouseMove(e)),this.draggingSub.add(V_(document,"touchmove",{passive:!1}).subscribe(e=>this.onMouseMove(e))),this.draggingSub.add(V_(document,"mouseup",{passive:!1}).subscribe(()=>this.onMouseLeave())),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(V_(document,"mouseleave",{passive:!1}).subscribe(()=>this.onMouseLeave())),this.draggingSub.add(V_(document,"touchend",{passive:!1}).subscribe(()=>this.onMouseLeave())),this.draggingSub.add(V_(document,"touchcancel",{passive:!1}).subscribe(()=>this.onMouseLeave()))}unsubscribeEvents(){this.draggingSub.unsubscribe(),this.draggingSub=null}onMouseLeave(){this._handleResizing&&(this.stopResize(),this._origMousePos=null,this.unsubscribeEvents())}onMouseMove(e){this._handleResizing&&this._resizable&&this._origMousePos&&this._origPos&&this._origSize&&(this.resizeTo(Xk.fromEvent(e)),this.onResizing())}startResize(e){const t=this.el.nativeElement;this._origSize=tE.getCurrent(t),this._origPos=Xk.getCurrent(t),this._currSize=tE.copy(this._origSize),this._currPos=Xk.copy(this._origPos),this._containment&&this.getBounding(),this.getGridSize(),this._helperBlock.add(),this._handleResizing=e,this.updateDirection(),this.rzStart.emit(this.getResizingEvent())}stopResize(){this._helperBlock.remove(),this.rzStop.emit(this.getResizingEvent()),this._handleResizing=null,this._direction=null,this._origSize=null,this._origPos=null,this._containment&&this.resetBounding()}onResizing(){this.rzResizing.emit(this.getResizingEvent())}getResizingEvent(){return{host:this.el.nativeElement,handle:this._handleResizing?this._handleResizing.el:null,size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x},direction:Object.assign({},this._directionChanged)}}updateDirection(){this._direction={n:!!this._handleResizing.type.match(/n/),s:!!this._handleResizing.type.match(/s/),w:!!this._handleResizing.type.match(/w/),e:!!this._handleResizing.type.match(/e/)},this._directionChanged=Object.assign({},this._direction),this.rzAspectRatio&&(this._directionChanged.n&&!this._directionChanged.e&&(this._directionChanged.w=!0),this._directionChanged.s&&!this._directionChanged.w&&(this._directionChanged.e=!0),this._directionChanged.e&&!this._directionChanged.n&&(this._directionChanged.s=!0),this._directionChanged.w&&!this._directionChanged.n&&(this._directionChanged.s=!0))}resizeTo(e){e.subtract(this._origMousePos);const t=Math.round(e.x/this._gridSize.x)*this._gridSize.x,n=Math.round(e.y/this._gridSize.y)*this._gridSize.y;this._direction.n?(this._currPos.y=this._origPos.y+n,this._currSize.height=this._origSize.height-n):this._direction.s&&(this._currSize.height=this._origSize.height+n),this._direction.e?this._currSize.width=this._origSize.width+t:this._direction.w&&(this._currSize.width=this._origSize.width-t,this._currPos.x=this._origPos.x+t),this.checkBounds(),this.checkSize(),this.adjustByRatio(),this.doResize()}doResize(){const e=this.el.nativeElement;(!this._direction||this._direction.n||this._direction.s||this._aspectRatio)&&this.renderer.setStyle(e,"height",this._currSize.height+"px"),(!this._direction||this._direction.w||this._direction.e||this._aspectRatio)&&this.renderer.setStyle(e,"width",this._currSize.width+"px"),this.renderer.setStyle(e,"left",this._currPos.x+"px"),this.renderer.setStyle(e,"top",this._currPos.y+"px")}adjustByRatio(){if(this._aspectRatio&&!this._adjusted)if(this._direction.e||this._direction.w){const e=Math.floor(this._currSize.width/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-e),this._currSize.height=e}else{const e=Math.floor(this._aspectRatio*this._currSize.height);this._direction.n&&(this._currPos.x+=this._currSize.width-e),this._currSize.width=e}}checkBounds(){if(this._containment){const e=this._bounding.width-this._bounding.pr-this._bounding.deltaL-this._bounding.translateX-this._currPos.x,t=this._bounding.height-this._bounding.pb-this._bounding.deltaT-this._bounding.translateY-this._currPos.y;if(this._direction.n&&this._currPos.y+this._bounding.translateY<0&&(this._currPos.y=-this._bounding.translateY,this._currSize.height=this._origSize.height+this._origPos.y+this._bounding.translateY),this._direction.w&&this._currPos.x+this._bounding.translateX<0&&(this._currPos.x=-this._bounding.translateX,this._currSize.width=this._origSize.width+this._origPos.x+this._bounding.translateX),this._currSize.width>e&&(this._currSize.width=e),this._currSize.height>t&&(this._currSize.height=t),this._aspectRatio){if(this._adjusted=!1,(this._direction.w||this._direction.e)&&this._currSize.width/this._aspectRatio>=t){const e=Math.floor(t*this._aspectRatio);this._direction.w&&(this._currPos.x+=this._currSize.width-e),this._currSize.width=e,this._currSize.height=t,this._adjusted=!0}if((this._direction.n||this._direction.s)&&this._currSize.height*this._aspectRatio>=e){const t=Math.floor(e/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-t),this._currSize.width=e,this._currSize.height=t,this._adjusted=!0}}}}checkSize(){const e=this.rzMinHeight?this.rzMinHeight:1,t=this.rzMinWidth?this.rzMinWidth:1;this._currSize.height<e&&(this._currSize.height=e,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-e))),this._currSize.width<t&&(this._currSize.width=t,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-t))),this.rzMaxHeight&&this._currSize.height>this.rzMaxHeight&&(this._currSize.height=this.rzMaxHeight,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-this.rzMaxHeight))),this.rzMaxWidth&&this._currSize.width>this.rzMaxWidth&&(this._currSize.width=this.rzMaxWidth,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-this.rzMaxWidth)))}getBounding(){const e=this._containment,t=window.getComputedStyle(e);if(t){let n=t.getPropertyValue("position"),i=window.getComputedStyle(this.el.nativeElement).getPropertyValue("transform").replace(/[^-\d,]/g,"").split(",");this._bounding={},this._bounding.width=e.clientWidth,this._bounding.height=e.clientHeight,this._bounding.pr=parseInt(t.getPropertyValue("padding-right"),10),this._bounding.pb=parseInt(t.getPropertyValue("padding-bottom"),10),this._bounding.deltaL=this.el.nativeElement.offsetLeft-this._currPos.x,this._bounding.deltaT=this.el.nativeElement.offsetTop-this._currPos.y,i.length>=6?(this._bounding.translateX=parseInt(i[4],10),this._bounding.translateY=parseInt(i[5],10)):(this._bounding.translateX=0,this._bounding.translateY=0),this._bounding.position=t.getPropertyValue("position"),"static"===n&&this.renderer.setStyle(e,"position","relative")}}resetBounding(){this._bounding&&"static"===this._bounding.position&&this.renderer.setStyle(this._containment,"position","relative"),this._bounding=null}getGridSize(){this._gridSize={x:1,y:1},this.rzGrid&&("number"==typeof this.rzGrid?this._gridSize={x:this.rzGrid,y:this.rzGrid}:Array.isArray(this.rzGrid)&&(this._gridSize={x:this.rzGrid[0],y:this.rzGrid[1]}))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngResizable",""]],inputs:{rzHandles:"rzHandles",rzAspectRatio:"rzAspectRatio",rzContainment:"rzContainment",rzGrid:"rzGrid",rzMinWidth:"rzMinWidth",rzMinHeight:"rzMinHeight",rzMaxWidth:"rzMaxWidth",rzMaxHeight:"rzMaxHeight",preventDefaultEvent:"preventDefaultEvent",ngResizable:"ngResizable"},outputs:{rzStart:"rzStart",rzResizing:"rzResizing",rzStop:"rzStop"},exportAs:["ngResizable"],features:[dt]}),e})(),iE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})();function sE(e,t){return function(n,i){t(n,i,e)}}let oE=(()=>{let e=class{constructor(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=hh(this.platformId)}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}get(e){if(!this.documentIsAccessible||!this.check(e))return"";{e=encodeURIComponent(e);const n=this.getCookieRegExp(e).exec(this.document.cookie);try{return decodeURIComponent(n[1])}catch(t){return n[1]}}}getAll(){if(!this.documentIsAccessible)return{};const e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(t=>{const[n,i]=t.split("=");e[decodeURIComponent(n.replace(/^ /,""))]=decodeURIComponent(i)}),e}set(e,t,n,i,s,o,r="Lax"){if(!this.documentIsAccessible)return;let a=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";n&&(a+="number"==typeof n?"expires="+new Date((new Date).getTime()+1e3*n*60*60*24).toUTCString()+";":"expires="+n.toUTCString()+";"),i&&(a+="path="+i+";"),s&&(a+="domain="+s+";"),!1===o&&"None"===r&&(o=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),o&&(a+="secure;"),a+="sameSite="+r+";",this.document.cookie=a}delete(e,t,n,i,s="Lax"){this.documentIsAccessible&&this.set(e,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),t,n,i,s)}deleteAll(e,t,n,i="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const o in s)s.hasOwnProperty(o)&&this.delete(o,e,t,n,i)}getCookieRegExp(e){const t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}};return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi($c))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi($c))},token:e,providedIn:"root"}),e=function(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}([sE(0,vi(Hd)),sE(1,vi($c))],e),e})();function rE(e){return"string"==typeof e}let aE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),lE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),cE=(()=>{let e=class{transform(e,t=0,n="",i=!0){if(!rE(e))return e;if(e.length>t){if(i)return e.slice(0,t)+n;if(~e.indexOf(" ",t))return e.slice(0,e.indexOf(" ",t))+n}return e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"shorten",type:e,pure:!0}),e})(),dE=(()=>{let e=class{transform(e){return rE(e)?function(e){const[t,...n]=e.split(/\s/g);return[t.toLowerCase().split(/(?=['|-])/g).map(e=>e.indexOf("-")+e.indexOf("'")>-2?e.slice(0,2).toUpperCase()+e.slice(2):e.slice(0,1).toUpperCase()+e.slice(1)).join(""),...n].join(" ")}(e):e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"ucfirst",type:e,pure:!0}),e})(),uE=(()=>{let e=class{constructor(){this.latinMap={\u00c1:"A",\u0102:"A",\u1eae:"A",\u1eb6:"A",\u1eb0:"A",\u1eb2:"A",\u1eb4:"A",\u01cd:"A",\u00c2:"A",\u1ea4:"A",\u1eac:"A",\u1ea6:"A",\u1ea8:"A",\u1eaa:"A",\u00c4:"A",\u01de:"A",\u0226:"A",\u01e0:"A",\u1ea0:"A",\u0200:"A",\u00c0:"A",\u1ea2:"A",\u0202:"A",\u0100:"A",\u0104:"A",\u00c5:"A",\u01fa:"A",\u1e00:"A",\u023a:"A",\u00c3:"A",\ua732:"AA",\u00c6:"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",\u00c7:"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",\u00c9:"E",\u0114:"E",\u011a:"E",\u0228:"E",\u1e1c:"E",\u00ca:"E",\u1ebe:"E",\u1ec6:"E",\u1ec0:"E",\u1ec2:"E",\u1ec4:"E",\u1e18:"E",\u00cb:"E",\u0116:"E",\u1eb8:"E",\u0204:"E",\u00c8:"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",\u00cd:"I",\u012c:"I",\u01cf:"I",\u00ce:"I",\u00cf:"I",\u1e2e:"I",\u0130:"I",\u1eca:"I",\u0208:"I",\u00cc:"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:"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",\u00d1:"N",\u01ca:"NJ",\u00d3:"O",\u014e:"O",\u01d1:"O",\u00d4:"O",\u1ed0:"O",\u1ed8:"O",\u1ed2:"O",\u1ed4:"O",\u1ed6:"O",\u00d6:"O",\u022a:"O",\u022e:"O",\u0230:"O",\u1ecc:"O",\u0150:"O",\u020c:"O",\u00d2:"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",\u00d8:"O",\u01fe:"O",\u00d5:"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",\u1e9e:"SS",\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",\u00da:"U",\u016c:"U",\u01d3:"U",\u00db:"U",\u1e76:"U",\u00dc:"U",\u01d7:"U",\u01d9:"U",\u01db:"U",\u01d5:"U",\u1e72:"U",\u1ee4:"U",\u0170:"U",\u0214:"U",\u00d9:"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",\u00dd:"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",\u00e1:"a",\u0103:"a",\u1eaf:"a",\u1eb7:"a",\u1eb1:"a",\u1eb3:"a",\u1eb5:"a",\u01ce:"a",\u00e2:"a",\u1ea5:"a",\u1ead:"a",\u1ea7:"a",\u1ea9:"a",\u1eab:"a",\u00e4:"a",\u01df:"a",\u0227:"a",\u01e1:"a",\u1ea1:"a",\u0201:"a",\u00e0:"a",\u1ea3:"a",\u0203:"a",\u0101:"a",\u0105:"a",\u1d8f:"a",\u1e9a:"a",\u00e5:"a",\u01fb:"a",\u1e01:"a",\u2c65:"a",\u00e3:"a",\ua733:"aa",\u00e6:"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",\u00e7:"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",\u00e9:"e",\u0115:"e",\u011b:"e",\u0229:"e",\u1e1d:"e",\u00ea:"e",\u1ebf:"e",\u1ec7:"e",\u1ec1:"e",\u1ec3:"e",\u1ec5:"e",\u1e19:"e",\u00eb:"e",\u0117:"e",\u1eb9:"e",\u0205:"e",\u00e8:"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",\u00ed:"i",\u012d:"i",\u01d0:"i",\u00ee:"i",\u00ef:"i",\u1e2f:"i",\u1ecb:"i",\u0209:"i",\u00ec:"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",\u00f1:"n",\u01cc:"nj",\u00f3:"o",\u014f:"o",\u01d2:"o",\u00f4:"o",\u1ed1:"o",\u1ed9:"o",\u1ed3:"o",\u1ed5:"o",\u1ed7:"o",\u00f6:"o",\u022b:"o",\u022f:"o",\u0231:"o",\u1ecd:"o",\u0151:"o",\u020d:"o",\u00f2:"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",\u00f8:"o",\u01ff:"o",\u00f5:"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",\u00df:"ss",\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",\u00fa:"u",\u016d:"u",\u01d4:"u",\u00fb:"u",\u1e77:"u",\u00fc:"u",\u01d8:"u",\u01da:"u",\u01dc:"u",\u01d6:"u",\u1e73:"u",\u1ee5:"u",\u0171:"u",\u0215:"u",\u00f9:"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",\u00fd:"y",\u0177:"y",\u00ff:"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"}}transform(e,t="\\s"){return rE(e)?e.replace(/[^A-Za-z0-9]/g,e=>this.latinMap[e]||e):e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"latinise",type:e,pure:!0}),e})(),hE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),pE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),gE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),fE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),mE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[aE,hE,pE,gE,lE,fE]}),e})();function bE(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const vE=new fA(hA);function yE(e,t=vE){return n=>n.lift(new wE(e,t))}class wE{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new _E(e,this.dueTime,this.scheduler))}}class _E extends g{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(xE,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function xE(e){e.debouncedNext()}function CE(e){return null!=e&&""+e!="false"}function AE(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function SE(e){return Array.isArray(e)?e:[e]}function kE(e){return null==e?"":"string"==typeof e?e:e+"px"}function EE(e){return e instanceof rl?e.nativeElement:e}let PE;try{PE="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(WH){PE=!1}let DE,OE,ME,TE=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?hh(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&&!PE)&&"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.\u0275fac=function(t){return new(t||e)(gi($c))},e.\u0275prov=pe({factory:function(){return new e(gi($c))},token:e,providedIn:"root"}),e})(),IE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();function RE(e){return function(){if(null==DE&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>DE=!0}))}finally{DE=DE||!1}return DE}()?e:!!e.capture}function LE(){if(null==OE){if("object"!=typeof document||!document)return OE=!1,OE;if("scrollBehavior"in document.documentElement.style)OE=!0;else{const e=Element.prototype.scrollTo;OE=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return OE}function FE(e){if(function(){if(null==ME){const e="undefined"!=typeof document?document.head:null;ME=!(!e||!e.createShadowRoot&&!e.attachShadow)}return ME}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}let BE=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),zE=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=EE(e);return new v(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new C,n=this._mutationObserverFactory.create(e=>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}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(gi(BE))},e.\u0275prov=pe({factory:function(){return new e(gi(BE))},token:e,providedIn:"root"}),e})(),VE=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new yc,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=AE(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(yE(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(zE),zr(rl),zr(ad))},e.\u0275dir=Ke({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),NE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BE]}),e})();function HE(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}let jE=0;const UE=new Map;let WE=null,GE=(()=>{class e{constructor(e){this._document=e}describe(e,t,n){if(!this._canBeDescribed(e,t))return;const i=$E(t,n);"string"!=typeof t?(qE(t),UE.set(i,{messageElement:t,referenceCount:0})):UE.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,n){if(!t||!this._isElementNode(e))return;const i=$E(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=UE.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}WE&&0===WE.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");WE&&this._deleteMessagesContainer(),UE.clear()}_createMessageElement(e,t){const n=this._document.createElement("div");qE(n),n.textContent=e,t&&n.setAttribute("role",t),this._createMessagesContainer(),WE.appendChild(n),UE.set($E(e,t),{messageElement:n,referenceCount:0})}_deleteMessageElement(e){const t=UE.get(e),n=t&&t.messageElement;WE&&n&&WE.removeChild(n),UE.delete(e)}_createMessagesContainer(){if(!WE){const e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode&&e.parentNode.removeChild(e),WE=this._document.createElement("div"),WE.id="cdk-describedby-message-container",WE.style.visibility="hidden",WE.classList.add("cdk-visually-hidden"),this._document.body.appendChild(WE)}}_deleteMessagesContainer(){WE&&WE.parentNode&&(WE.parentNode.removeChild(WE),WE=null)}_removeCdkDescribedByReferenceIds(e){const t=HE(e,"aria-describedby").filter(e=>0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=UE.get(t);!function(e,t,n){const i=HE(e,t);i.some(e=>e.trim()==n.trim())||(i.push(n.trim()),e.setAttribute(t,i.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(e,t){const n=UE.get(t);n.referenceCount--,function(e,t,n){const i=HE(e,t).filter(e=>e!=n.trim());i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(e,t){const n=HE(e,"aria-describedby"),i=UE.get(t),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})();function $E(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function qE(e){e.id||(e.id="cdk-describedby-message-"+jE++)}class YE{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new C,this._typeaheadSubscription=u.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new C,this.change=new C,e instanceof _c&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ov(e=>this._pressedLetters.push(e)),yE(e),db(()=>this._pressedLetters.length>0),k(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n<t.length+1;n++){const i=(this._activeItemIndex+n)%t.length,s=t[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||bE(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof _c?this._items.toArray():this._items}}class ZE extends YE{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class QE extends YE{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let XE=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(WH){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===JE(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),s=JE(e);return e.hasAttribute("contenteditable")?-1!==s:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==s:"video"===i?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let 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")||KE(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(TE))},token:e,providedIn:"root"}),e})();function KE(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function JE(e){if(!KE(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class eP{constructor(e,t,n,i,s=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const 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,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${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-${e}', use 'cdkFocusRegion${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)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(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),!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=0;n<t.length;n++){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=t.length-1;n>=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const 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}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(lv(1)).subscribe(e)}}let tP=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new eP(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(gi(XE),gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(XE),gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&∈const nP=new Xn("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),iP=new Xn("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let sP=(()=>{class e{constructor(e,t,n,i){this._ngZone=t,this._defaultOptions=i,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let i,s;return 1===t.length&&"number"==typeof t[0]?s=t[0]:[i,s]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div");for(let 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.\u0275fac=function(t){return new(t||e)(gi(nP,8),gi(ad),gi(Hd),gi(iP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(nP,8),gi(ad),gi(Hd),gi(iP,8))},token:e,providedIn:"root"}),e})();function oP(e){return 0===e.buttons}function rP(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const aP=new Xn("cdk-focus-monitor-default-options"),lP=RE({passive:!0,capture:!0});let cP=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=oP(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{rP(e)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=dP(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=dP(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=EE(e);if(!this._platform.isBrowser||1!==n.nodeType)return lb(null);const i=FE(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return t&&(s.checkChildren=!0),s.subject;const o={checkChildren:t,subject:new C,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(e){const t=EE(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=EE(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=dP(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===dP(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,lP),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,lP)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,lP),e.addEventListener("mousedown",this._documentMousedownListener,lP),e.addEventListener("touchstart",this._documentTouchstartListener,lP),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,lP),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,lP),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,lP),e.removeEventListener("mousedown",this._documentMousedownListener,lP),e.removeEventListener("touchstart",this._documentTouchstartListener,lP),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(TE),gi(Hd,8),gi(aP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(TE),gi(Hd,8),gi(aP,8))},token:e,providedIn:"root"}),e})();function dP(e){return e.composedPath?e.composedPath()[0]:e.target}let uP=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(gi(TE),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(TE),gi(Hd))},token:e,providedIn:"root"}),e})(),hP=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275fac=function(t){return new(t||e)(gi(uP))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IE,NE]]}),e})();const pP=new Xn("cdk-dir-doc",{providedIn:"root",factory:function(){return fi(Hd)}});let gP=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new yc,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(gi(pP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(pP,8))},token:e,providedIn:"root"}),e})(),fP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();const mP=new hl("11.2.5");function bP(e,t){if(1&e&&Ur(0,"mat-pseudo-checkbox",4),2&e){const e=na();Vr("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function vP(e,t){if(1&e&&(Hr(0,"span",5),Da(1),jr()),2&e){const e=na();no(1),Ma("(",e.group.label,")")}}const yP=["*"];let wP=(()=>{class 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})(),_P=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const xP=new hl("11.2.5"),CP=new Xn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let AP,SP=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return _d()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const 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)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&xP.full!==mP.full&&console.warn("The Angular Material version ("+xP.full+") does not match the Angular CDK version ("+mP.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275fac=function(t){return new(t||e)(gi(uP),gi(CP,8),gi(Hd))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[fP],fP]}),e})();function kP(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e)}}}function EP(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}}function PP(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=CE(e)}}}function DP(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?AE(e):this.defaultTabIndex}}}function OP(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new C}updateErrorState(){const 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())}}}function MP(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new v(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}try{AP="undefined"!=typeof Intl}catch(WH){AP=!1}let TP=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),IP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})();class RP{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const LP={enterDuration:450,exitDuration:400},FP=RE({passive:!0}),BP=["mousedown","touchstart"],zP=["mouseup","mouseleave","touchend","touchcancel"];class VP{constructor(e,t,n,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=EE(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},LP),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const o=n.radius||function(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),s=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+s*s)}(e,t,i),r=e-i.left,a=t-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=r-o+"px",c.style.top=a-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new RP(this,c,n);return d.state=0,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,n.persistent||e&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,i=Object.assign(Object.assign({},LP),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=EE(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(BP))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(zP),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=oP(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!rP(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,FP)})})}_removeTriggerEvents(){this._triggerElement&&(BP.forEach(e=>{this._triggerElement.removeEventListener(e,this,FP)}),this._pointerUpEventsRegistered&&zP.forEach(e=>{this._triggerElement.removeEventListener(e,this,FP)}))}}const NP=new Xn("mat-ripple-global-options");let HP=(()=>{class e{constructor(e,t,n,i,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new VP(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TE),zr(NP,8),zr(_f,8))},e.\u0275dir=Ke({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&ma("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),jP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP,IE],SP]}),e})(),UP=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&ma("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),WP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP]]}),e})();const GP=new Xn("MAT_OPTION_PARENT_COMPONENT");class $P{}const qP=kP($P);let YP=0,ZP=(()=>{class e extends qP{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+YP++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(zr(GP,8))},e.\u0275dir=Ke({type:e,inputs:{label:"label"},features:[vr]}),e})();const QP=new Xn("MatOptgroup");let XP=0;class KP{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let JP=(()=>{class e{constructor(e,t,n,i){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+XP++,this.onSelectionChange=new yc,this._stateChanges=new C}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=CE(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){13!==e.keyCode&&32!==e.keyCode||bE(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new KP(this,e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(void 0),zr(ZP))},e.\u0275dir=Ke({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),eD=(()=>{class e extends JP{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(GP,8),zr(QP,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(Fa("id",t.id),Ir("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),ma("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vr],ngContentSelectors:yP,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(sa(),Fr(0,bP,1,2,"mat-pseudo-checkbox",0),Hr(1,"span",1),oa(2),jr(),Fr(3,vP,2,1,"span",2),Ur(4,"div",3)),2&e&&(Vr("ngIf",t.multiple),no(3),Vr("ngIf",t.group&&t.group._inert),no(1),Vr("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Wu,HP,UP],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function tD(e,t,n){if(n.length){let i=t.toArray(),s=n.toArray(),o=0;for(let t=0;t<e+1;t++)i[t].group&&i[t].group===s[o]&&o++;return o}return 0}let nD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,uh,SP,WP]]}),e})();class iD extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}class sD extends fA{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,n){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw n}}}const oD=new sD(iD);let rD=1;const aD=(()=>Promise.resolve())(),lD={};function cD(e){return e in lD&&(delete lD[e],!0)}const dD={setImmediate(e){const t=rD++;return lD[t]=!0,aD.then(()=>cD(t)&&e()),t},clearImmediate(e){cD(e)}};class uD extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=dD.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(dD.clearImmediate(t),e.scheduled=void 0)}}class hD extends fA{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,n){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw n}}}const pD=new hD(uD);class gD{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new fD(e,this.durationSelector))}}class fD extends z{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=V(n,new B(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function mD(e){return!l(e)&&e-parseFloat(e)+1>=0}function bD(e=0,t,n){let i=-1;return mD(t)?i=Number(t)<1?1:Number(t):S(t)&&(n=t),S(n)||(n=vE),new v(t=>{const s=mD(e)?e:+e-n.now();return n.schedule(vD,s,{index:0,period:i,subscriber:t})})}function vD(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function yD(e,t=vE){return n=()=>bD(e,t),function(e){return e.lift(new gD(n))};var n}function wD(e){return t=>t.lift(new _D(e))}class _D{constructor(e){this.notifier=e}call(e,t){const n=new xD(e),i=V(this.notifier,new B(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class xD extends z{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class CD{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new C,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}let AD=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new C,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new v(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(yD(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):lb()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(db(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=EE(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>V_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(TE),gi(Hd,8))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(TE),gi(Hd,8))},token:e,providedIn:"root"}),e})(),SD=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new C,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(yD(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(gi(TE),gi(ad),gi(Hd,8))},e.\u0275prov=pe({factory:function(){return new e(gi(TE),gi(ad),gi(Hd,8))},token:e,providedIn:"root"}),e})(),kD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),ED=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[fP,IE,kD],fP,kD]}),e})();class PD{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new DD(e,this.predicate,this.inclusive))}}class DD extends g{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}const OD=LE();class MD{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=kE(-this._previousScrollPosition.left),e.style.top=kE(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),OD&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),OD&&(t.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class TD{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ID{enable(){}disable(){}attach(){}}function RD(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function LD(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class FD{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();RD(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let BD=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new ID,this.close=e=>new TD(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new MD(this._viewportRuler,this._document),this.reposition=e=>new FD(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(gi(AD),gi(SD),gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(AD),gi(SD),gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();class zD{constructor(e){if(this.scrollStrategy=new ID,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class VD{constructor(e,t,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class ND{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let HD=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})(),jD=(()=>{class e extends HD{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})(),UD=(()=>{class e extends HD{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(t))break;s._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(TE))},token:e,providedIn:"root"}),e})();const WD=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let GD=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||WD){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),WD?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(TE))},token:e,providedIn:"root"}),e})();class $D{constructor(e,t,n,i,s,o,r,a,l){this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=o,this._document=r,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new C,this._attachments=new C,this._detachments=new C,this._locationChanges=u.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new C,this._outsidePointerEvents=new C,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(lv(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const 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._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),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()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=kE(this._config.width),e.height=kE(this._config.height),e.minWidth=kE(this._config.minWidth),e.minHeight=kE(this._config.minHeight),e.maxWidth=kE(this._config.maxWidth),e.maxHeight=kE(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;SE(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(wD(G(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const qD=/([A-Za-z%]+)$/;class YD{constructor(e,t,n,i,s){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=s,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 C,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){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(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(e,o),a=this._getOverlayPoint(r,t,o),l=this._getOverlayFit(a,t,n,o);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:o,origin:r,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:r,position:o,overlayRect:t})}if(i.length){let e=null,t=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>t&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ZD(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)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;n="start"==t.originX?i:s}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,s;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,s="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+s}}_getOverlayFit(e,t,n,i){const s=XD(t);let{x:o,y:r}=e,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(o+=a),l&&(r+=l);let c=0-r,d=r+s.height-n.height,u=this._subtractOverflows(s.width,0-o,o+s.width-n.width),h=this._subtractOverflows(s.height,c,d),p=u*h;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:h===s.height,fitsInViewportHorizontally:u==s.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,s=n.right-t.x,o=QD(this._overlayRef.getConfig().minHeight),r=QD(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=r&&r<=s;return(e.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=XD(t),s=this._viewportRect,o=Math.max(e.x+i.width-s.width,0),r=Math.max(e.y+i.height-s.height,0),a=Math.max(s.top-n.top-e.y,0),l=Math.max(s.left-n.left-e.x,0);let c=0,d=0;return c=i.width<=s.width?l||-o:e.x<this._viewportMargin?s.left-n.left-e.x:0,d=i.height<=s.height?a||-r:e.y<this._viewportMargin?s.top-n.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_applyPosition(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){const t=this._getScrollVisibility(),n=new ND(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,i=this._isRtl();let s,o,r,a,l,c;if("top"===t.overlayY)o=e.y,s=n.height-o+this._viewportMargin;else if("bottom"===t.overlayY)r=n.height-e.y+2*this._viewportMargin,s=n.height-r+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),i=this._lastBoundingBoxSize.height;s=2*t,o=e.y-t,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)c=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:o,left:l,bottom:r,right:c,width:a,height:s}}_setBoundingBoxStyles(e,t){const 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));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=kE(n.height),i.top=kE(n.top),i.bottom=kE(n.bottom),i.width=kE(n.width),i.left=kE(n.left),i.right=kE(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",e&&(i.maxHeight=kE(e)),s&&(i.maxWidth=kE(s))}this._lastBoundingBoxSize=n,ZD(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ZD(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ZD(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();ZD(n,this._getExactOverlayY(t,e,i)),ZD(n,this._getExactOverlayX(t,e,i))}else n.position="static";let r="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(r+=`translateX(${a}px) `),l&&(r+=`translateY(${l}px)`),n.transform=r.trim(),o.maxHeight&&(i?n.maxHeight=kE(o.maxHeight):s&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=kE(o.maxWidth):s&&(n.maxWidth="")),ZD(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=kE(s.y),i}_getExactOverlayX(e,t,n){let i,s={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=kE(o.x),s}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:LD(e,n),isOriginOutsideView:RD(e,n),isOverlayClipped:LD(t,n),isOverlayOutsideView:RD(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const 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}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&SE(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof rl)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const 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 ZD(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function QD(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(qD);return n&&"px"!==n?null:parseFloat(t)}return e||null}function XD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class KD{constructor(e,t,n,i,s,o,r){this._preferredPositions=[],this._positionStrategy=new YD(n,i,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const s=new VD(e,t,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class JD{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const 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}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:r}=n,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"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=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const 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}}let eO=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new JD}connectedTo(e,t,n){return new KD(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new YD(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(gi(SD),gi(Hd),gi(TE),gi(GD))},e.\u0275prov=pe({factory:function(){return new e(gi(SD),gi(Hd),gi(TE),gi(GD))},token:e,providedIn:"root"}),e})(),tO=0,nO=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),s=new zD(e);return s.direction=s.direction||this._directionality.value,new $D(i,t,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+tO++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Pd)),new nS(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(gi(BD),gi(GD),gi(nl),gi(eO),gi(jD),gi(mr),gi(ad),gi(Hd),gi(gP),gi(nu),gi(UD))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const iO=[{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"}],sO=new Xn("cdk-connected-overlay-scroll-strategy");let oO=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),rO=(()=>{class e{constructor(e,t,n,i,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.EMPTY,this._attachSubscription=u.EMPTY,this._detachSubscription=u.EMPTY,this._positionSubscription=u.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new yc,this.positionChange=new yc,this.attach=new yc,this.detach=new yc,this.overlayKeydown=new yc,this.overlayOutsideClick=new yc,this._templatePortal=new JA(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=CE(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=CE(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=CE(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=CE(e)}get push(){return this._push}set push(e){this._push=CE(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=iO);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),27!==e.keyCode||this.disableClose||bE(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new zD({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}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new PD(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(zl),zr(Gl),zr(sO),zr(gP,8))},e.\u0275dir=Ke({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[dt]}),e})();const aO={provide:sO,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let lO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[nO,aO],imports:[[fP,sS,ED],ED]}),e})();const cO=["underline"],dO=["connectionContainer"],uO=["inputContainer"],hO=["label"];function pO(e,t){1&e&&(Wr(0),Hr(1,"div",14),Ur(2,"div",15),Ur(3,"div",16),Ur(4,"div",17),jr(),Hr(5,"div",18),Ur(6,"div",15),Ur(7,"div",16),Ur(8,"div",17),jr(),Gr())}function gO(e,t){1&e&&(Hr(0,"div",19),oa(1,1),jr())}function fO(e,t){if(1&e&&(Wr(0),oa(1,2),Hr(2,"span"),Da(3),jr(),Gr()),2&e){const e=na(2);no(3),Oa(e._control.placeholder)}}function mO(e,t){1&e&&oa(0,3,["*ngSwitchCase","true"])}function bO(e,t){1&e&&(Hr(0,"span",23),Da(1," *"),jr())}function vO(e,t){if(1&e){const e=qr();Hr(0,"label",20,21),Xr("cdkObserveContent",function(){return Lt(e),na().updateOutlineGap()}),Fr(2,fO,4,1,"ng-container",12),Fr(3,mO,1,0,"ng-content",12),Fr(4,bO,2,0,"span",22),jr()}if(2&e){const e=na();ma("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Vr("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Ir("for",e._control.id)("aria-owns",e._control.id),no(2),Vr("ngSwitchCase",!1),no(1),Vr("ngSwitchCase",!0),no(1),Vr("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yO(e,t){1&e&&(Hr(0,"div",24),oa(1,4),jr())}function wO(e,t){if(1&e&&(Hr(0,"div",25,26),Ur(2,"span",27),jr()),2&e){const e=na();no(2),ma("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function _O(e,t){1&e&&(Hr(0,"div"),oa(1,5),jr()),2&e&&Vr("@transitionMessages",na()._subscriptAnimationState)}function xO(e,t){if(1&e&&(Hr(0,"div",31),Da(1),jr()),2&e){const e=na(2);Vr("id",e._hintLabelId),no(1),Oa(e.hintLabel)}}function CO(e,t){if(1&e&&(Hr(0,"div",28),Fr(1,xO,2,2,"div",29),oa(2,6),Ur(3,"div",30),oa(4,7),jr()),2&e){const e=na();Vr("@transitionMessages",e._subscriptAnimationState),no(1),Vr("ngIf",e.hintLabel)}}const AO=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],SO=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],kO=new Xn("MatError"),EO={transitionMessages:Jh("transitionMessages",[ip("enter",np({opacity:1,transform:"translateY(0%)"})),op("void => enter",[np({opacity:0,transform:"translateY(-5px)"}),ep("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let PO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e}),e})();const DO=new Xn("MatHint");let OO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["mat-label"]]}),e})(),MO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["mat-placeholder"]]}),e})();const TO=new Xn("MatPrefix"),IO=new Xn("MatSuffix");let RO=0;class LO{constructor(e){this._elementRef=e}}const FO=EP(LO,"primary"),BO=new Xn("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zO=new Xn("MatFormField");let VO=(()=>{class e extends FO{constructor(e,t,n,i,s,o,r,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new C,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+RO++,this._labelId="mat-form-field-label-"+RO++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=CE(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(uv(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(wD(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(wD(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),G(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(uv(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(uv(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(wD(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,V_(this._label.nativeElement,"transitionend").pipe(lv(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=e.children,a=this._getStartEnd(r[0].getBoundingClientRect());let l=0;for(let e=0;e<r.length;e++)l+=r[e].offsetWidth;t=Math.abs(a-o)-5,n=l>0?.75*l+10:0}for(let r=0;r<s.length;r++)s[r].style.width=t+"px";for(let r=0;r<o.length;r++)o[r].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(rl),zr(gP,8),zr(BO,8),zr(TE),zr(ad),zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,PO,1),Ic(n,PO,3),Ic(n,OO,1),Ic(n,OO,3),Ic(n,MO,1),Ic(n,kO,1),Ic(n,DO,1),Ic(n,TO,1),Ic(n,IO,1)),2&e){let e;Mc(e=Rc())&&(t._controlNonStatic=e.first),Mc(e=Rc())&&(t._controlStatic=e.first),Mc(e=Rc())&&(t._labelChildNonStatic=e.first),Mc(e=Rc())&&(t._labelChildStatic=e.first),Mc(e=Rc())&&(t._placeholderChild=e.first),Mc(e=Rc())&&(t._errorChildren=e),Mc(e=Rc())&&(t._hintChildren=e),Mc(e=Rc())&&(t._prefixChildren=e),Mc(e=Rc())&&(t._suffixChildren=e)}},viewQuery:function(e,t){if(1&e&&(Tc(cO,1),Tc(dO,3),Tc(uO,1),Tc(hO,1)),2&e){let e;Mc(e=Rc())&&(t.underlineRef=e.first),Mc(e=Rc())&&(t._connectionContainerRef=e.first),Mc(e=Rc())&&(t._inputContainerRef=e.first),Mc(e=Rc())&&(t._label=e.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&ma("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ja([{provide:zO,useExisting:e}]),vr],ngContentSelectors:SO,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(sa(AO),Hr(0,"div",0),Hr(1,"div",1,2),Xr("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),Fr(3,pO,9,0,"ng-container",3),Fr(4,gO,2,0,"div",4),Hr(5,"div",5,6),oa(7),Hr(8,"span",7),Fr(9,vO,5,16,"label",8),jr(),jr(),Fr(10,yO,2,0,"div",9),jr(),Fr(11,wO,3,4,"div",10),Hr(12,"div",11),Fr(13,_O,2,1,"div",12),Fr(14,CO,5,2,"div",13),jr(),jr()),2&e&&(no(3),Vr("ngIf","outline"==t.appearance),no(1),Vr("ngIf",t._prefixChildren.length),no(5),Vr("ngIf",t._hasFloatingLabel()),no(1),Vr("ngIf",t._suffixChildren.length),no(1),Vr("ngIf","outline"!=t.appearance),no(1),Vr("ngSwitch",t._getDisplayedMessages()),no(1),Vr("ngSwitchCase","error"),no(1),Vr("ngSwitchCase","hint"))},directives:[Wu,Yu,Zu,VE],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[EO.transitionMessages]},changeDetection:0}),e})(),NO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,NE],SP]}),e})();function HO(e,t=vE){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new jO(i,t))}class jO{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new UO(e,this.delay,this.scheduler))}}class UO extends g{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(UO.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new WO(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(wA.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(wA.createComplete()),this.unsubscribe()}}class WO{constructor(e,t){this.time=e,this.notification=t}}const GO={provide:new Xn("mat-autocomplete-scroll-strategy"),deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let $O=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[GO],imports:[[lO,nD,SP,uh],kD,nD,SP]}),e})(),qO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[hP,SP],SP]}),e})();class YO{constructor(e){this.total=e}call(e,t){return t.subscribe(new ZO(e,this.total))}}class ZO extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const QO=new Set;let XO,KO=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):JO}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!QO.has(e))try{XO||(XO=document.createElement("style"),XO.setAttribute("type","text/css"),document.head.appendChild(XO)),XO.sheet&&(XO.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),QO.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(TE))},token:e,providedIn:"root"}),e})();function JO(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let eM=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new C}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return tM(SE(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=Qb(tM(SE(e)).map(e=>this._registerQuery(e).observable));return t=ev(t.pipe(lv(1)),t.pipe(e=>e.lift(new YO(1)),yE(0))),t.pipe(k(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new v(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(uv(t),k(({matches:t})=>({query:e,matches:t})),wD(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(gi(KO),gi(ad))},e.\u0275prov=pe({factory:function(){return new e(gi(KO),gi(ad))},token:e,providedIn:"root"}),e})();function tM(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function nM(e,t){}const iM=new Xn("MatBottomSheetData");class sM{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}const oM={bottomSheetState:Jh("state",[ip("void, hidden",np({transform:"translateY(100%)"})),ip("visible",np({transform:"translateY(0%)"})),op("visible => void, visible => hidden",ep(`${_P.COMPLEX} ${wP.ACCELERATION_CURVE}`)),op("void => visible",ep(`${_P.EXITING} ${wP.DECELERATION_CURVE}`))])};let rM=(()=>{class e extends tS{constructor(e,t,n,i,s,o){super(),this._elementRef=e,this._changeDetectorRef=t,this._focusTrapFactory=n,this.bottomSheetConfig=o,this._animationState="void",this._animationStateChanged=new yc,this._elementFocusedBeforeOpened=null,this.attachDomPortal=e=>(this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(e)),this._document=s,this._breakpointSubscription=i.observe(["(min-width: 960px) and (max-width: 1279.98px)","(min-width: 1280px) and (max-width: 1919.98px)","(min-width: 1920px)"]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched("(min-width: 960px) and (max-width: 1279.98px)")),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched("(min-width: 1280px) and (max-width: 1919.98px)")),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched("(min-width: 1920px)"))})}attachComponentPortal(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){"hidden"===e.toState?this._restoreFocus():"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_toggleClass(e,t){const n=this._elementRef.nativeElement.classList;t?n.add(e):n.remove(e)}_validatePortalAttached(){this._portalOutlet.hasAttached()}_setPanelClass(){const e=this._elementRef.nativeElement,t=this.bottomSheetConfig.panelClass;Array.isArray(t)?t.forEach(t=>e.classList.add(t)):t&&e.classList.add(t)}_trapFocus(){const e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const t=this._getActiveElement();t===e||e.contains(t)||e.focus()}}_restoreFocus(){const e=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&e&&"function"==typeof e.focus){const t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=this._getActiveElement(),this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}_getActiveElement(){var e;const t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(tP),zr(eM),zr(Hd,8),zr(sM))},e.\u0275cmp=$e({type:e,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(e,t){if(1&e&&Tc(iS,3),2&e){let e;Mc(e=Rc())&&(t._portalOutlet=e.first)}},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(e,t){1&e&&Kr("@state.start",function(e){return t._onAnimationStart(e)})("@state.done",function(e){return t._onAnimationDone(e)}),2&e&&(Ir("aria-label",null==t.bottomSheetConfig?null:t.bottomSheetConfig.ariaLabel),Ba("@state",t._animationState))},features:[vr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fr(0,nM,0,0,"ng-template",0)},directives:[iS],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[oM.bottomSheetState]}}),e})(),aM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[lO,SP,sS],SP]}),e})();class lM{constructor(e,t){this._overlayRef=t,this._afterDismissed=new C,this._afterOpened=new C,this.containerInstance=e,this.disableClose=e.bottomSheetConfig.disableClose,e._animationStateChanged.pipe(db(e=>"done"===e.phaseName&&"visible"===e.toState),lv(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(db(e=>"done"===e.phaseName&&"hidden"===e.toState),lv(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),t.dispose()}),t.detachments().pipe(lv(1)).subscribe(()=>{this._afterDismissed.next(this._result),this._afterDismissed.complete()}),G(t.backdropClick(),t.keydownEvents().pipe(db(e=>27===e.keyCode))).subscribe(e=>{this.disableClose||"keydown"===e.type&&bE(e)||(e.preventDefault(),this.dismiss())})}dismiss(e){this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(db(e=>"start"===e.phaseName),lv(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100),this._overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit())}afterDismissed(){return this._afterDismissed}afterOpened(){return this._afterOpened}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}}const cM=new Xn("mat-bottom-sheet-default-options");let dM=(()=>{class e{constructor(e,t,n,i){this._overlay=e,this._injector=t,this._parentBottomSheet=n,this._defaultOptions=i,this._bottomSheetRefAtThisLevel=null}get _openedBottomSheetRef(){const e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}open(e,t){const n=function(e,t){return Object.assign(Object.assign({},e),t)}(this._defaultOptions||new sM,t),i=this._createOverlay(n),s=this._attachContainer(i,n),o=new lM(s,i);if(e instanceof zl)s.attachTemplatePortal(new JA(e,null,{$implicit:n.data,bottomSheetRef:o}));else{const t=new KA(e,void 0,this._createInjector(n,o)),i=s.attachComponentPortal(t);o.instance=i.instance}return o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef==o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}_attachContainer(e,t){const n=mr.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:sM,useValue:t}]}),i=new KA(rM,t.viewContainerRef,n);return e.attach(i).instance}_createOverlay(e){const t=new zD({direction:e.direction,hasBackdrop:e.hasBackdrop,disposeOnNavigation:e.closeOnNavigation,maxWidth:"100%",scrollStrategy:e.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return e.backdropClass&&(t.backdropClass=e.backdropClass),this._overlay.create(t)}_createInjector(e,t){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:lM,useValue:t},{provide:iM,useValue:e.data}];return!e.direction||n&&n.get(gP,null)||i.push({provide:gP,useValue:{value:e.direction,change:lb()}}),mr.create({parent:n||this._injector,providers:i})}}return e.\u0275fac=function(t){return new(t||e)(gi(nO),gi(mr),gi(e,12),gi(cM,8))},e.\u0275prov=pe({factory:function(){return new e(gi(nO),gi(er),gi(e,12),gi(cM,8))},token:e,providedIn:aM}),e})();const uM=["mat-button",""],hM=["*"],pM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class gM{constructor(e){this._elementRef=e}}const fM=EP(kP(PP(gM)));let mM=(()=>{class e extends fM{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of pM)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cP),zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&Tc(HP,1),2&e){let e;Mc(e=Rc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Ir("disabled",t.disabled||null),ma("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[vr],attrs:uM,ngContentSelectors:hM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(sa(),Hr(0,"span",0),oa(1),jr(),Ur(2,"span",1),Ur(3,"span",2)),2&e&&(no(2),ma("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Vr("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[HP],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e})(),bM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,SP],SP]}),e})(),vM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),yM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),wM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,SP,NE,yM],SP,yM]}),e})();function _M(e,t){}class xM{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const CM={dialogContainer:Jh("dialogContainer",[ip("void, exit",np({opacity:0,transform:"scale(0.7)"})),ip("enter",np({transform:"none"})),op("* => enter",ep("150ms cubic-bezier(0, 0, 0.2, 1)",np({transform:"none",opacity:1}))),op("* => void, * => exit",ep("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",np({opacity:0})))])};let AM=(()=>{class e extends tS{constructor(e,t,n,i,s,o){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new yc,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}_getActiveElement(){var e;const t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(tP),zr(Tl),zr(Hd,8),zr(xM),zr(cP))},e.\u0275dir=Ke({type:e,viewQuery:function(e,t){if(1&e&&Tc(iS,3),2&e){let e;Mc(e=Rc())&&(t._portalOutlet=e.first)}},features:[vr]}),e})(),SM=(()=>{class e extends AM{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return kM(t||e)},e.\u0275cmp=$e({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Kr("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(Fa("id",t._id),Ir("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Ba("@dialogContainer",t._state))},features:[vr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fr(0,_M,0,0,"ng-template",0)},directives:[iS],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[CM.dialogContainer]}}),e})();const kM=$n(SM);let EM=0;class PM{constructor(e,t,n="mat-dialog-"+EM++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new C,this._afterClosed=new C,this._beforeClosed=new C,this._state=0,t._id=n,t._animationStateChanged.pipe(db(e=>"opened"===e.state),lv(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(db(e=>"closed"===e.state),lv(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(db(e=>27===e.keyCode&&!this.disableClose&&!bE(e))).subscribe(e=>{e.preventDefault(),DM(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():DM(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(db(e=>"closing"===e.state),lv(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let 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}updateSize(e="",t=""){return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function DM(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const OM=new Xn("MatDialogData"),MM=new Xn("mat-dialog-default-options"),TM=new Xn("mat-dialog-scroll-strategy"),IM={provide:TM,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.block()}};let RM=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new C,this._afterOpenedAtThisLevel=new C,this._ariaHiddenElements=new Map,this.afterAllClosed=iv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(uv(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new xM)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),i=this._attachDialogContainer(n,t),s=this._attachDialogContent(e,i,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new zD({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}_attachDialogContainer(e,t){const n=mr.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:xM,useValue:t}]}),i=new KA(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,n,i){const s=new this._dialogRefConstructor(n,t,i.id);if(e instanceof zl)t.attachTemplatePortal(new JA(e,null,{$implicit:i.data,dialogRef:s}));else{const n=this._createInjector(i,s,t),o=t.attachComponentPortal(new KA(e,i.viewContainerRef,n));s.componentInstance=o.instance}return s.updateSize(i.width,i.height).updatePosition(i.position),s}_createInjector(e,t,n){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(gP,null)||s.push({provide:gP,useValue:{value:e.direction,change:lb()}}),mr.create({parent:i||this._injector,providers:s})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(mr),zr(void 0),zr(void 0),zr(GD),zr(void 0),zr(Jn),zr(Jn),zr(Xn))},e.\u0275dir=Ke({type:e}),e})(),LM=(()=>{class e extends RM{constructor(e,t,n,i,s,o,r){super(e,t,i,o,r,s,PM,SM,OM)}}return e.\u0275fac=function(t){return new(t||e)(gi(nO),gi(mr),gi(nu,8),gi(MM,8),gi(TM),gi(e,12),gi(GD))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),FM=0,BM=(()=>{class e{constructor(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+FM++}ngOnInit(){this._dialogRef||(this._dialogRef=function(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(e=>e.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(zr(PM,8),zr(rl),zr(LM))},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Fa("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),zM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),VM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})(),NM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[LM,IM],imports:[[lO,sS,SP],SP]}),e})(),HM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),jM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,HM,sS]]}),e})();const UM=["*"];function WM(e){return Error(`Unable to find icon with the name "${e}"`)}function GM(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function $M(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class qM{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}}let YM=(()=>{class e{constructor(e,t,n,i){this._httpClient=e,this._sanitizer=t,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}addSvgIconLiteral(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}addSvgIconInNamespace(e,t,n,i){return this._addSvgIconConfig(e,t,new qM(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,n,i){const s=this._sanitizer.sanitize(is.HTML,n);if(!s)throw $M(n);return this._addSvgIconConfig(e,t,new qM("",s,i))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,n){return this._addSvgIconSetConfig(e,new qM(t,null,n))}addSvgIconSetLiteralInNamespace(e,t,n){const i=this._sanitizer.sanitize(is.HTML,t);if(!i)throw $M(t);return this._addSvgIconSetConfig(e,new qM("",i,n))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(is.RESOURCE_URL,e);if(!t)throw GM(e);const n=this._cachedIconsByUrl.get(t);return n?lb(ZM(n)):this._loadSvgIconFromConfig(new qM(e,null)).pipe(Ov(e=>this._cachedIconsByUrl.set(t,e)),k(e=>ZM(e)))}getNamedSvgIcon(e,t=""){const n=QM(t,e);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):vA(WM(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?lb(ZM(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(e=>ZM(e)))}_getSvgFromIconSetConfigs(e,t){const n=this._extractIconWithNameFromAnySet(e,t);return n?lb(n):Af(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(fv(t=>{const n=this._sanitizer.sanitize(is.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${t.message}`)),lb(null)})))).pipe(k(()=>{const n=this._extractIconWithNameFromAnySet(e,t);if(!n)throw WM(e);return n}))}_extractIconWithNameFromAnySet(e,t){for(let n=t.length-1;n>=0;n--){const i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(t,e,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ov(t=>e.svgText=t),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?lb(null):this._fetchIcon(e).pipe(Ov(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,n){const i=e.querySelector(`[id="${t}"]`);if(!i)return null;const s=i.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,n);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),n);const o=this._svgElementFromString("<svg></svg>");return o.appendChild(s),this._setSvgAttributes(o,n)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(e){const t=this._svgElementFromString("<svg></svg>"),n=e.attributes;for(let i=0;i<n.length;i++){const{name:e,value:s}=n[i];"id"!==e&&t.setAttribute(e,s)}for(let i=0;i<e.childNodes.length;i++)e.childNodes[i].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[i].cloneNode(!0));return t}_setSvgAttributes(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}_fetchIcon(e){var t;const{url:n,options:i}=e,s=null!==(t=null==i?void 0:i.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(is.RESOURCE_URL,n);if(!o)throw GM(n);const r=this._inProgressUrlFetches.get(o);if(r)return r;const a=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe(Iv(()=>this._inProgressUrlFetches.delete(o)),ee());return this._inProgressUrlFetches.set(o,a),a}_addSvgIconConfig(e,t,n){return this._svgIconConfigs.set(QM(e,t),n),this}_addSvgIconSetConfig(e,t){const n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](t,e);if(s)return(n=s).url&&n.options?new qM(s.url,null,s.options):new qM(s,null)}var n}}return e.\u0275fac=function(t){return new(t||e)(gi(Db,8),gi(qh),gi(Hd,8),gi(ds))},e.\u0275prov=pe({factory:function(){return new e(gi(Db,8),gi(qh),gi(Hd,8),gi(ds))},token:e,providedIn:"root"}),e})();function ZM(e){return e.cloneNode(!0)}function QM(e,t){return e+":"+t}class XM{constructor(e){this._elementRef=e}}const KM=EP(XM),JM=new Xn("mat-icon-location",{providedIn:"root",factory:function(){const e=fi(Hd),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),eT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tT=eT.map(e=>`[${e}]`).join(", "),nT=/^url\(['"]?#(.*?)['"]?\)$/;let iT=(()=>{class e extends KM{constructor(e,t,n,i,s){super(e),this._iconRegistry=t,this._location=i,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.EMPTY,n||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=CE(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i<t.length;i++)t[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((t,n)=>{t.forEach(t=>{n.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(tT),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<t.length;i++)eT.forEach(e=>{const s=t[i],o=s.getAttribute(e),r=o?o.match(nT):null;if(r){let t=n.get(s);t||(t=[],n.set(s,t)),t.push({name:e,value:r[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,n]=this._splitIconName(e);t&&(this._svgNamespace=t),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,t).pipe(lv(1)).subscribe(e=>this._setSvgElement(e),e=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${n}! ${e.message}`))})}}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(YM),Yn("aria-hidden"),zr(JM),zr(ds))},e.\u0275cmp=$e({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Ir("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),ma("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[vr],ngContentSelectors:UM,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),sT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),oT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IE]]}),e})(),rT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[TP],imports:[[oT,NO,SP],oT,NO]}),e})(),aT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),lT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IP,jP,SP,WP,uh],IP,SP,WP,aT]}),e})();const cT=["trigger"],dT=["panel"];function uT(e,t){if(1&e&&(Hr(0,"span",8),Da(1),jr()),2&e){const e=na();no(1),Oa(e.placeholder)}}function hT(e,t){if(1&e&&(Hr(0,"span",12),Da(1),jr()),2&e){const e=na(2);no(1),Oa(e.triggerValue)}}function pT(e,t){1&e&&oa(0,0,["*ngSwitchCase","true"])}function gT(e,t){1&e&&(Hr(0,"span",9),Fr(1,hT,2,1,"span",10),Fr(2,pT,1,0,"ng-content",11),jr()),2&e&&(Vr("ngSwitch",!!na().customTrigger),no(2),Vr("ngSwitchCase",!0))}function fT(e,t){if(1&e){const e=qr();Hr(0,"div",13),Hr(1,"div",14,15),Xr("@transformPanel.done",function(t){return Lt(e),na()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return Lt(e),na()._handleKeydown(t)}),oa(3,1),jr(),jr()}if(2&e){const e=na();Vr("@transformPanelWrap",void 0),no(1),La("mat-select-panel ",e._getPanelTheme(),""),fa("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Vr("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Ir("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const mT=[[["mat-select-trigger"]],"*"],bT=["mat-select-trigger","*"],vT={transformPanelWrap:Jh("transformPanelWrap",[op("* => void",ap("@transformPanel",[rp()],{optional:!0}))]),transformPanel:Jh("transformPanel",[ip("void",np({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ip("showing",np({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ip("showing-multiple",np({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),op("void => *",ep("120ms cubic-bezier(0, 0, 0.2, 1)")),op("* => void",ep("100ms 25ms linear",np({opacity:0})))])};let yT=0;const wT=new Xn("mat-select-scroll-strategy"),_T=new Xn("MAT_SELECT_CONFIG"),xT={provide:wT,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class CT{constructor(e,t){this.source=e,this.value=t}}class AT{constructor(e,t,n,i,s){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}}const ST=PP(DP(kP(OP(AT)))),kT=new Xn("MatSelectTrigger");let ET=(()=>{class e extends ST{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p){var g,f,m;super(s,i,r,a,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=o,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=h,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+yT++,this._triggerAriaLabelledBy=null,this._destroy=new C,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+yT++,this._panelDoneAnimatingStream=new C,this._overlayPanelClass=(null===(g=this._defaultOptions)||void 0===g?void 0:g.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(m=null===(f=this._defaultOptions)||void 0===f?void 0:f.disableOptionCentering)&&void 0!==m&&m,this.ariaLabel="",this.optionSelectionChanges=iv(()=>{const e=this.options;return e?e.changes.pipe(uv(e),sv(()=>G(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(lv(1),sv(()=>this.optionSelectionChanges))}),this.openedChange=new yc,this._openedStream=this.openedChange.pipe(db(e=>e),k(()=>{})),this._closedStream=this.openedChange.pipe(db(e=>!e),k(()=>{})),this.selectionChange=new yc,this.valueChange=new yc,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==p?void 0:p.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=u,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=CE(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=CE(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=CE(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=AE(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new CD(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(H_(),wD(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(wD(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(uv(null),wD(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,s=this._keyManager;if(!s.isTyping()&&i&&!bE(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;s.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,i=40===n||38===n,s=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(s||13!==n&&32!==n||!t.activeItem||bE(e))if(!s&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(lv(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(e=>e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(e=>this._selectValue(e)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new ZE(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(wD(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(wD(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=G(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(wD(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),G(...this.options.map(e=>e._stateChanges)).pipe(wD(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const 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(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return e.\u0275fac=function(t){return new(t||e)(zr(SD),zr(Tl),zr(ad),zr(TP),zr(rl),zr(gP,8),zr(Mm,8),zr(Hm,8),zr(zO,8),zr(sm,10),Yn("tabindex"),zr(wT),zr(sP),zr(_T,8))},e.\u0275dir=Ke({type:e,viewQuery:function(e,t){if(1&e&&(Tc(cT,1),Tc(dT,1),Tc(rO,1)),2&e){let e;Mc(e=Rc())&&(t.trigger=e.first),Mc(e=Rc())&&(t.panel=e.first),Mc(e=Rc())&&(t.overlayDir=e.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[vr,dt]}),e})(),PT=(()=>{class e extends ET{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(wD(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(lv(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}_scrollOptionIntoView(e){const t=tD(e,this.options,this.optionGroups),n=this._getItemHeight();var i,s,o;this.panel.nativeElement.scrollTop=(s=n,256,(i=(e+t)*n)<(o=this.panel.nativeElement.scrollTop)?i:i+s>o+256?Math.max(0,i-256+s):o)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new CT(this,e)}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let e=this._selectionModel.selected[0]||this.options.first;s=e&&e.group?32:16}n||(s*=-1);const o=0-(e.left+s-(n?i:0)),r=e.right+s-t.width+(n?0:i);o>0?s+=o+8:r>0&&(s-=r+8),this.overlayDir.offsetX=Math.round(s),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,o=Math.floor(256/i);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-o))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const 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")}_adjustPanelDown(e,t,n){const i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=tD(s,this.options,this.optionGroups);const o=n/2;this._scrollTop=this._calculateOverlayScroll(s,o,i),this._offsetY=this._calculateOverlayOffsetY(s,o,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(t){return DT(t||e)},e.\u0275cmp=$e({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,kT,1),Ic(n,eD,1),Ic(n,QP,1)),2&e){let e;Mc(e=Rc())&&(t.customTrigger=e.first),Mc(e=Rc())&&(t.options=e),Mc(e=Rc())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Xr("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Ir("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),ma("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Ja([{provide:PO,useExisting:e},{provide:GP,useExisting:e}]),vr],ngContentSelectors:bT,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(sa(mT),Hr(0,"div",0,1),Xr("click",function(){return t.toggle()}),Hr(3,"div",2),Fr(4,uT,2,1,"span",3),Fr(5,gT,3,2,"span",4),jr(),Hr(6,"div",5),Ur(7,"div",6),jr(),jr(),Fr(8,fT,4,14,"ng-template",7),Xr("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=Br(1);Ir("aria-owns",t.panelOpen?t.id+"-panel":null),no(3),Vr("ngSwitch",t.empty),Ir("id",t._valueId),no(1),Vr("ngSwitchCase",!0),no(1),Vr("ngSwitchCase",!1),no(3),Vr("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[oO,Yu,Zu,rO,Qu,Nu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[vT.transformPanelWrap,vT.transformPanel]},changeDetection:0}),e})();const DT=$n(PT);let OT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[xT],imports:[[uh,lO,nD,SP],kD,NO,nD,SP]}),e})();const MT={tooltipState:Jh("state",[ip("initial, void, hidden",np({opacity:0,transform:"scale(0)"})),ip("visible",np({transform:"scale(1)"})),op("* => visible",ep("200ms cubic-bezier(0, 0, 0.2, 1)",sp([np({opacity:0,transform:"scale(0)",offset:0}),np({opacity:.5,transform:"scale(0.99)",offset:.5}),np({opacity:1,transform:"scale(1)",offset:1})]))),op("* => hidden",ep("100ms cubic-bezier(0, 0, 0.2, 1)",np({opacity:0})))])},TT=RE({passive:!0}),IT=new Xn("mat-tooltip-scroll-strategy"),RT={provide:IT,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},LT=new Xn("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let FT=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new C,this._handleKeydown=e=>{this._isTooltipVisible()&&27===e.keyCode&&!bE(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),s.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(wD(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,n])=>{e.removeEventListener(t,n,TT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new KA(BT,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(wD(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(wD(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(wD(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t||"below"==t?n={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t?n={overlayX:"center",overlayY:"bottom"}:"below"==t?n={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(lv(1),wD(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(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}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",e=>this._wheelListener(e)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,TT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(rl),zr(AD),zr(Gl),zr(ad),zr(TE),zr(GE),zr(cP),zr(IT),zr(gP,8),zr(LT,8),zr(Hd))},e.\u0275dir=Ke({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),BT=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new C,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(eM))},e.\u0275cmp=$e({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._handleBodyInteraction()},!1,gs)("auxclick",function(){return t._handleBodyInteraction()},!1,gs),2&e&&fa("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(Hr(0,"div",0),Xr("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),hc(1,"async"),Da(2),jr()),2&e){let e=null;ma("mat-tooltip-handset",null==(e=pc(1,5,t._isHandset))?null:e.matches),Vr("ngClass",t.tooltipClass)("@state",t._visibility),no(2),Oa(t.message)}},directives:[Nu],pipes:[sh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[MT.tooltipState]},changeDetection:0}),e})(),zT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[RT],imports:[[hP,uh,lO,SP],SP,kD]}),e})();function VT(e,t){if(1&e&&(Hr(0,"mat-option",19),Da(1),jr()),2&e){const e=t.$implicit;Vr("value",e),no(1),Ma(" ",e," ")}}function NT(e,t){if(1&e){const e=qr();Hr(0,"mat-form-field",16),Hr(1,"mat-select",17),Xr("selectionChange",function(t){return Lt(e),na(2)._changePageSize(t.value)}),Fr(2,VT,2,2,"mat-option",18),jr(),jr()}if(2&e){const e=na(2);Vr("appearance",e._formFieldAppearance)("color",e.color),no(1),Vr("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),no(1),Vr("ngForOf",e._displayedPageSizeOptions)}}function HT(e,t){if(1&e&&(Hr(0,"div",20),Da(1),jr()),2&e){const e=na(2);no(1),Oa(e.pageSize)}}function jT(e,t){if(1&e&&(Hr(0,"div",12),Hr(1,"div",13),Da(2),jr(),Fr(3,NT,3,6,"mat-form-field",14),Fr(4,HT,2,1,"div",15),jr()),2&e){const e=na();no(2),Ma(" ",e._intl.itemsPerPageLabel," "),no(1),Vr("ngIf",e._displayedPageSizeOptions.length>1),no(1),Vr("ngIf",e._displayedPageSizeOptions.length<=1)}}function UT(e,t){if(1&e){const e=qr();Hr(0,"button",21),Xr("click",function(){return Lt(e),na().firstPage()}),dn(),Hr(1,"svg",7),Ur(2,"path",22),jr(),jr()}if(2&e){const e=na();Vr("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Ir("aria-label",e._intl.firstPageLabel)}}function WT(e,t){if(1&e){const e=qr();dn(),un(),Hr(0,"button",23),Xr("click",function(){return Lt(e),na().lastPage()}),dn(),Hr(1,"svg",7),Ur(2,"path",24),jr(),jr()}if(2&e){const e=na();Vr("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Ir("aria-label",e._intl.lastPageLabel)}}let GT=(()=>{class e{constructor(){this.changes=new C,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,n)=>{if(0==n||0==t)return"0 of "+n;const i=e*t;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+t,n):i+t} of ${n}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const $T={provide:GT,deps:[[new yi,new wi,GT]],useFactory:function(e){return e||new GT}},qT=new Xn("MAT_PAGINATOR_DEFAULT_OPTIONS");class YT{}const ZT=kP(MP(YT));let QT=(()=>{class e extends ZT{constructor(e,t,n){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new yc,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:e,pageSizeOptions:t,hidePageSize:i,showFirstLastButtons:s}=n;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=i&&(this._hidePageSize=i),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(AE(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=AE(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(AE(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>AE(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=CE(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=CE(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){const t=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(t)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){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((e,t)=>e-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(zr(GT),zr(Tl),zr(void 0))},e.\u0275dir=Ke({type:e,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[vr]}),e})(),XT=(()=>{class e extends QT{constructor(e,t,n){super(e,t,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return e.\u0275fac=function(t){return new(t||e)(zr(GT),zr(Tl),zr(qT,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[vr],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"div",1),Fr(2,jT,5,3,"div",2),Hr(3,"div",3),Hr(4,"div",4),Da(5),jr(),Fr(6,UT,3,5,"button",5),Hr(7,"button",6),Xr("click",function(){return t.previousPage()}),dn(),Hr(8,"svg",7),Ur(9,"path",8),jr(),jr(),un(),Hr(10,"button",9),Xr("click",function(){return t.nextPage()}),dn(),Hr(11,"svg",7),Ur(12,"path",10),jr(),jr(),Fr(13,WT,3,5,"button",11),jr(),jr(),jr()),2&e&&(no(2),Vr("ngIf",!t.hidePageSize),no(3),Ma(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),no(1),Vr("ngIf",t.showFirstLastButtons),no(1),Vr("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Ir("aria-label",t._intl.previousPageLabel),no(3),Vr("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Ir("aria-label",t._intl.nextPageLabel),no(3),Vr("ngIf",t.showFirstLastButtons))},directives:[Wu,mM,FT,VO,PT,ju,eD],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),KT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[$T],imports:[[uh,bM,OT,zT,SP]]}),e})(),JT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP,uh],SP]}),e})(),eI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,IE,kD],kD,SP]}),e})(),tI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),nI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[tI,jP,SP,NE],tI,SP]}),e})(),iI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP],SP]}),e})(),sI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[lO,sS,uh,bM,SP],SP]}),e})();const oI=["mat-sort-header",""];function rI(e,t){if(1&e){const e=qr();Hr(0,"div",3),Xr("@arrowPosition.start",function(){return Lt(e),na()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Lt(e),na()._disableViewStateAnimation=!1}),Ur(1,"div",4),Hr(2,"div",5),Ur(3,"div",6),Ur(4,"div",7),Ur(5,"div",8),jr(),jr()}if(2&e){const e=na();Vr("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),no(2),Vr("@indicator",e._getArrowDirectionState()),no(1),Vr("@leftPointer",e._getArrowDirectionState()),no(1),Vr("@rightPointer",e._getArrowDirectionState())}}const aI=["*"],lI=new Xn("MAT_SORT_DEFAULT_OPTIONS");class cI{}const dI=MP(kP(cI));let uI=(()=>{class e extends dI{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new C,this.start="asc",this._direction="",this.sortChange=new yc}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=CE(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,n,i;if(!e)return"";const s=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear);let o=function(e,t){let n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(zr(lI,8))},e.\u0275dir=Ke({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[vr,dt]}),e})();const hI=_P.ENTERING+" "+wP.STANDARD_CURVE,pI={indicator:Jh("indicator",[ip("active-asc, asc",np({transform:"translateY(0px)"})),ip("active-desc, desc",np({transform:"translateY(10px)"})),op("active-asc <=> active-desc",ep(hI))]),leftPointer:Jh("leftPointer",[ip("active-asc, asc",np({transform:"rotate(-45deg)"})),ip("active-desc, desc",np({transform:"rotate(45deg)"})),op("active-asc <=> active-desc",ep(hI))]),rightPointer:Jh("rightPointer",[ip("active-asc, asc",np({transform:"rotate(45deg)"})),ip("active-desc, desc",np({transform:"rotate(-45deg)"})),op("active-asc <=> active-desc",ep(hI))]),arrowOpacity:Jh("arrowOpacity",[ip("desc-to-active, asc-to-active, active",np({opacity:1})),ip("desc-to-hint, asc-to-hint, hint",np({opacity:.54})),ip("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",np({opacity:0})),op("* => asc, * => desc, * => active, * => hint, * => void",ep("0ms")),op("* <=> *",ep(hI))]),arrowPosition:Jh("arrowPosition",[op("* => desc-to-hint, * => desc-to-active",ep(hI,sp([np({transform:"translateY(-25%)"}),np({transform:"translateY(0)"})]))),op("* => hint-to-desc, * => active-to-desc",ep(hI,sp([np({transform:"translateY(0)"}),np({transform:"translateY(25%)"})]))),op("* => asc-to-hint, * => asc-to-active",ep(hI,sp([np({transform:"translateY(25%)"}),np({transform:"translateY(0)"})]))),op("* => hint-to-asc, * => active-to-asc",ep(hI,sp([np({transform:"translateY(0)"}),np({transform:"translateY(-25%)"})]))),ip("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",np({transform:"translateY(0)"})),ip("hint-to-desc, active-to-desc, desc",np({transform:"translateY(-25%)"})),ip("hint-to-asc, active-to-asc, asc",np({transform:"translateY(25%)"}))]),allowChildren:Jh("allowChildren",[op("* <=> *",[ap("@*",rp(),{optional:!0})])])};let gI=(()=>{class e{constructor(){this.changes=new C,this.sortButtonLabel=e=>"Change sorting for "+e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const fI={provide:gI,deps:[[new yi,new wi,gI]],useFactory:function(e){return e||new gI}};class mI{}const bI=kP(mI);let vI=(()=>{class e extends bI{constructor(e,t,n,i,s,o){super(),this._intl=e,this._changeDetectorRef=t,this._sort=n,this._columnDef=i,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=CE(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_handleStateChanges(){this._rerenderSubscription=G(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(zr(gI),zr(Tl),zr(uI,8),zr("MAT_SORT_HEADER_COLUMN_DEF",8),zr(cP),zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(Ir("aria-sort",t._getAriaSortAttribute()),ma("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[vr],attrs:oI,ngContentSelectors:aI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",1),oa(2),jr(),Fr(3,rI,6,6,"div",2),jr()),2&e&&(ma("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Ir("tabindex",t._isDisabled()?null:0),no(3),Vr("ngIf",t._renderArrow()))},directives:[Wu],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[pI.indicator,pI.leftPointer,pI.rightPointer,pI.arrowOpacity,pI.arrowPosition,pI.allowChildren]},changeDetection:0}),e})(),yI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[fI],imports:[[uh,SP]]}),e})(),wI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[ED]]}),e})(),_I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[wI,SP],SP]}),e})(),xI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,sS,jP,NE,hP],SP]}),e})();const CI=["mat-menu-item",""],AI=["*"];function SI(e,t){if(1&e){const e=qr();Hr(0,"div",0),Xr("keydown",function(t){return Lt(e),na()._handleKeydown(t)})("click",function(){return Lt(e),na().closed.emit("click")})("@transformMenu.start",function(t){return Lt(e),na()._onAnimationStart(t)})("@transformMenu.done",function(t){return Lt(e),na()._onAnimationDone(t)}),Hr(1,"div",1),oa(2),jr(),jr()}if(2&e){const e=na();Vr("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Ir("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const kI={transformMenu:Jh("transformMenu",[ip("void",np({opacity:0,transform:"scale(0.8)"})),op("void => enter",ep("120ms cubic-bezier(0, 0, 0.2, 1)",np({opacity:1,transform:"scale(1)"}))),op("* => void",ep("100ms 25ms linear",np({opacity:0})))]),fadeInItems:Jh("fadeInItems",[ip("showing",np({opacity:1})),op("void => *",[np({opacity:0}),ep("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},EI=new Xn("MatMenuContent"),PI=new Xn("MAT_MENU_PANEL");class DI{}const OI=PP(kP(DI));let MI=(()=>{class e extends OI{constructor(e,t,n,i){super(),this._elementRef=e,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new C,this._focused=new C,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e,t;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s<i.length;s++){const t=i[s];null===(e=t.parentNode)||void 0===e||e.removeChild(t)}return(null===(t=n.textContent)||void 0===t?void 0:t.trim())||""}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Hd),zr(cP),zr(PI,8))},e.\u0275cmp=$e({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&Xr("click",function(e){return t._checkDisabled(e)})("mouseenter",function(){return t._handleMouseEnter()}),2&e&&(Ir("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),ma("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[vr],attrs:CI,ngContentSelectors:AI,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(sa(),oa(0),Ur(1,"div",0)),2&e&&(no(1),Vr("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[HP],encapsulation:2,changeDetection:0}),e})();const TI=new Xn("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let II=0,RI=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new _c,this._tabSubscription=u.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new C,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new yc,this.close=this.closed,this.panelId="mat-menu-panel-"+II++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=CE(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=CE(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new QE(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(uv(this._directDescendantItems),sv(e=>G(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(uv(this._directDescendantItems),sv(e=>G(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,n=this._keyManager;switch(t){case 27:bE(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==t&&40!==t||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(lv(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t="mat-elevation-z"+Math.min(4+e,24),n=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(uv(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TI))},e.\u0275dir=Ke({type:e,contentQueries:function(e,t,n){if(1&e&&(Ic(n,EI,1),Ic(n,MI,1),Ic(n,MI,0)),2&e){let e;Mc(e=Rc())&&(t.lazyContent=e.first),Mc(e=Rc())&&(t._allItems=e),Mc(e=Rc())&&(t.items=e)}},viewQuery:function(e,t){if(1&e&&Tc(zl,1),2&e){let e;Mc(e=Rc())&&(t.templateRef=e.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),LI=(()=>{class e extends RI{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TI))},e.\u0275cmp=$e({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Ir("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ja([{provide:PI,useExisting:e}]),vr],ngContentSelectors:AI,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(sa(),Fr(0,SI,3,6,"ng-template"))},directives:[Nu],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[kI.transformMenu,kI.fadeInItems]},changeDetection:0}),e})();const FI=new Xn("mat-menu-scroll-strategy"),BI={provide:FI,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},zI=RE({passive:!0});let VI=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this._overlay=e,this._element=t,this._viewContainerRef=n,this._menuItemInstance=o,this._dir=r,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=e=>{rP(e)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new yc,this.onMenuOpen=this.menuOpened,this.menuClosed=new yc,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=s instanceof RI?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,zI),o&&(o._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(e),"click"!==e&&"tab"!==e||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,zI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof RI&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,t instanceof RI?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(db(e=>"void"===e.toState),lv(1),wD(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new zD({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[i,s],[a,l]=[t,n],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",n=a="end"===t?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(o="top"===i?"bottom":"top",r="top"===s?"bottom":"top"),e.withPositions([{originX:t,originY:o,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:o,overlayX:l,overlayY:i,offsetY:c},{originX:t,originY:r,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:r,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return G(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:lb(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(db(e=>e!==this._menuItemInstance),db(()=>this._menuOpen)):lb(),t)}_handleMousedown(e){oP(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;13!==t&&32!==t||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(db(e=>e===this._menuItemInstance&&!e.disabled),HO(0,pD)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof RI&&this.menu._isAnimating?this.menu._animationDone.pipe(lv(1),HO(0,pD),wD(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new JA(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(rl),zr(Gl),zr(FI),zr(PI,8),zr(MI,10),zr(gP,8),zr(cP))},e.\u0275dir=Ke({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&Xr("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&Ir("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),NI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BI],imports:[SP]}),e})(),HI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BI],imports:[[uh,SP,jP,lO,NI],kD,SP,NI]}),e})();function jI(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function UI(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function WI(e,t){const n=t?"":"none";UI(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function GI(e,t){const n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function $I(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function qI(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function YI(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function ZI(e,t,n){const{top:i,bottom:s,left:o,right:r}=e;return n>=i&&n<=s&&t>=o&&t<=r}function QI(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function XI(e,t,n,i){const{top:s,right:o,bottom:r,left:a,width:l,height:c}=e,d=l*t,u=c*t;return i>s-u&&i<r+u&&n>a-d&&n<o+d}class KI{constructor(e,t){this._document=e,this._viewportRuler=t,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:YI(e)})})}handleScroll(e){const t=e.target,n=this.positions.get(t);if(!n)return null;const i=t===this._document?t.documentElement:t,s=n.scrollPosition;let o,r;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();o=e.top,r=e.left}else o=t.scrollTop,r=t.scrollLeft;const a=s.top-o,l=s.left-r;return this.positions.forEach((e,n)=>{e.clientRect&&t!==n&&i.contains(n)&&QI(e.clientRect,a,l)}),s.top=o,s.left=r,{top:a,left:l}}}function JI(e){const t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();t.removeAttribute("id");for(let s=0;s<n.length;s++)n[s].removeAttribute("id");return"canvas"===i?iR(e,t):"input"!==i&&"select"!==i&&"textarea"!==i||nR(e,t),eR("canvas",e,t,iR),eR("input, textarea, select",e,t,nR),t}function eR(e,t,n,i){const s=t.querySelectorAll(e);if(s.length){const t=n.querySelectorAll(e);for(let e=0;e<s.length;e++)i(s[e],t[e])}}let tR=0;function nR(e,t){"file"!==t.type&&(t.value=e.value),"radio"===t.type&&t.name&&(t.name=`mat-clone-${t.name}-${tR++}`)}function iR(e,t){const n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch(WH){}}const sR=RE({passive:!0}),oR=RE({passive:!1});class rR{constructor(e,t,n,i,s,o){this._config=t,this._document=n,this._ngZone=i,this._viewportRuler=s,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new C,this._pointerMoveSubscription=u.EMPTY,this._pointerUpSubscription=u.EMPTY,this._scrollSubscription=u.EMPTY,this._resizeSubscription=u.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new C,this.started=new C,this.released=new C,this.ended=new C,this.entered=new C,this.exited=new C,this.dropped=new C,this.moved=this._moveEvents,this._pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find(t=>{const n=e.target;return!!n&&(n===t||t.contains(n))});!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const t=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),n=this._dropContainer;if(!t)return void this._endDragSequence(e);n&&(n.isDragging()||n.isReceiving())||(e.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(e)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),e.preventDefault();const n=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,t);else{const e=this._activeTransform;e.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${e.x} ${e.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:e,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new KI(n,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=CE(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(e=>WI(e,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(e=>EE(e)),this._handles.forEach(e=>WI(e,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(e=>{this._handles.indexOf(e)>-1&&t.add(e)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=EE(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,oR),t.addEventListener("touchstart",this._pointerDown,sR)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?EE(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&cR(this._rootElement),cR(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),WI(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),WI(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&cR(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&cR(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(e){dR(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,i=this._preview=this._createPreviewElement(),s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),r=this._getShadowRoot();n.insertBefore(o,e),GI(e,!1),this._document.body.appendChild(n.replaceChild(s,e)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,r).appendChild(i),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const n=this.isDragging(),i=dR(t),s=!i&&0!==t.button,o=this._rootElement,r=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),n||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{this._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=YI(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){GI(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const t=this._dropContainer,n=t.getItemIndex(this),i=this._getPointerPositionOnPage(e),s=this._getDragDistance(this._getPointerPositionOnPage(e)),o=t._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:s}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s}),t.drop(this,n,this._initialIndex,this._initialContainer,o,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:n,y:i}){let s=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,e,t,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(n,i),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=aR(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,n=e?e.template:null;let i;if(n&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,s=e.viewContainer.createEmbeddedView(n,e.context);s.detectChanges(),i=uR(s,this._document),this._previewRef=s,e.matchSize?hR(i,t):i.style.transform=aR(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;i=JI(e),hR(i,e.getBoundingClientRect())}return UI(i.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),WI(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(e=>i.classList.add(e)):i.classList.add(t)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=aR(e.left,e.top);const t=function(e){const t=getComputedStyle(e),n=qI(t,"transition-property"),i=n.find(e=>"transform"===e||"all"===e);if(!i)return 0;const s=n.indexOf(i),o=qI(t,"transition-duration"),r=qI(t,"transition-delay");return $I(o[s])+$I(r[s])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(e=>{const n=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",n),e(),clearTimeout(i))},i=setTimeout(n,1.5*t);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let n;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),n=uR(this._placeholderRef,this._document)):n=JI(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,t){const n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,s=i?i.getBoundingClientRect():n,o=dR(t)?t.targetTouches[0]:t,r=this._getViewportScrollPosition();return{x:s.left-n.left+(o.pageX-s.left-r.left),y:s.top-n.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),n=dR(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,s=n.pageY-t.top;if(this._ownerSVGElement){const e=this._ownerSVGElement.getScreenCTM();if(e){const t=this._ownerSVGElement.createSVGPoint();return t.x=i,t.y=s,t.matrixTransform(e.inverse())}}return{x:i,y:s}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:i}=this.constrainPosition?this.constrainPosition(e,this):e;if("x"===this.lockAxis||"x"===t?i=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:t}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+t,a=s.bottom-(o.height-t);n=lR(n,s.left+e,s.right-(o.width-e)),i=lR(i,r,a)}return{x:n,y:i}}_updatePointerDirectionDelta(e){const{x:t,y:n}=e,i=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-s.x),r=Math.abs(n-s.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=t>s.x?1:-1,s.x=t),r>this._config.pointerDirectionChangeThreshold&&(i.y=n>s.y?1:-1,s.y=n),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,WI(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,oR),e.removeEventListener("touchstart",this._pointerDown,sR)}_applyRootElementTransform(e,t){const n=aR(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===i.width&&0===i.height)return;const s=n.left-i.left,o=i.right-n.right,r=n.top-i.top,a=i.bottom-n.bottom;n.width>i.width?(s>0&&(e+=s),o>0&&(e-=o)):e=0,n.height>i.height?(r>0&&(t+=r),a>0&&(t-=a)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:dR(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&QI(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=FE(this._rootElement)),this._cachedShadowRoot}}function aR(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function lR(e,t,n){return Math.max(t,Math.min(n,e))}function cR(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function dR(e){return"t"===e.type[0]}function uR(e,t){const n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];const i=t.createElement("div");return n.forEach(e=>i.appendChild(e)),i}function hR(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=aR(t.left,t.top)}function pR(e,t){return Math.max(0,Math.min(t,e))}class gR{constructor(e,t,n,i,s){this._dragDropRegistry=t,this._ngZone=i,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new C,this.entered=new C,this.exited=new C,this.dropped=new C,this.sorted=new C,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=u.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new C,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(e=0,t=vE){return(!mD(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=vE),new v(n=>(n.add(t.schedule(jI,e,{subscriber:n,counter:0,period:e})),n))}(0,oD).pipe(wD(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode,t=this.autoScrollStep;1===this._verticalScrollDirection?mR(e,-t):2===this._verticalScrollDirection&&mR(e,t),1===this._horizontalScrollDirection?bR(e,-t):2===this._horizontalScrollDirection&&bR(e,t)})},this.element=EE(e),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new KI(n,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,n,i){let s;this._draggingStarted(),null==i?(s=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(e,t,n))):s=i;const o=this._activeDraggables,r=o.indexOf(e),a=e.getPlaceholderElement();let l=o[s];if(l===e&&(l=o[s+1]),r>-1&&o.splice(r,1),l&&!this._dragDropRegistry.isDragging(l)){const t=l.getRootElement();t.parentElement.insertBefore(a,t),o.splice(s,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){const t=o[0].getRootElement();t.parentNode.insertBefore(a,t),o.unshift(e)}else EE(this.element).appendChild(a),o.push(e);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,n,i,s,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:s,distance:o})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(e=>e._withDropContainer(this)),this.isDragging()&&(t.filter(e=>e.isDragging()).every(t=>-1===e.indexOf(t))?this._reset():this._cacheItems()),this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=EE(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?fR("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,t=>t.drag===e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,n,i){if(this.sortingDisabled||!this._clientRect||!XI(this._clientRect,.05,t,n))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,n,i);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=fR(s,t=>t.drag===e),l=s[o],c=l.clientRect,d=a>o?1:-1,u=this._getItemOffsetPx(s[a].clientRect,c,d),h=this._getSiblingOffsetPx(a,s,d),p=s.slice();!function(e,t,n){const i=pR(t,e.length-1),s=pR(n,e.length-1);if(i===s)return;const o=e[i],r=s<i?-1:1;for(let a=i;a!==s;a+=r)e[a]=e[a+r];e[s]=o}(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:e}),s.forEach((t,n)=>{if(p[n]===t)return;const i=t.drag===e,s=i?u:h,o=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=s,r?(o.style.transform=`translate3d(${Math.round(t.offset)}px, 0, 0)`,QI(t.clientRect,0,s)):(o.style.transform=`translate3d(0, ${Math.round(t.offset)}px, 0)`,QI(t.clientRect,s,0))}),this._previousSwap.overlaps=ZI(c,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=r?i.x:i.y}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let n,i=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!n&&XI(o.clientRect,.05,e,t)&&([i,s]=function(e,t,n,i){const s=vR(t,i),o=yR(t,n);let r=0,a=0;if(s){const t=e.scrollTop;1===s?t>0&&(r=1):e.scrollHeight-t>e.clientHeight&&(r=2)}if(o){const t=e.scrollLeft;1===o?t>0&&(a=1):e.scrollWidth-t>e.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,e,t),(i||s)&&(n=r))}),!i&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};i=vR(a,t),s=yR(a,e),n=window}!n||i===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=s,this._scrollNode=n,(i||s)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=EE(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=EE(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,clientRect:YI(t)}}).sort((t,n)=>e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const e=EE(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{const t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,n){const i="horizontal"===this._orientation,s=t[e].clientRect,o=t[e+-1*n];let r=s[i?"width":"height"]*n;if(o){const e=i?"left":"top",t=i?"right":"bottom";-1===n?r-=o.clientRect[e]-s[t]:r+=s[e]-o.clientRect[t]}return r}_getItemOffsetPx(e,t,n){const i="horizontal"===this._orientation;let s=i?t.left-e.left:t.top-e.top;return-1===n&&(s+=i?t.width-e.width:t.height-e.height),s}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const s=n[n.length-1].clientRect;return i?e>=s.right:t>=s.bottom}{const s=n[0].clientRect;return i?e<=s.left:t<=s.top}}_getItemIndexFromPointerPosition(e,t,n,i){const s="horizontal"===this._orientation,o=fR(this._itemPositions,({drag:o,clientRect:r},a,l)=>{if(o===e)return l.length<2;if(i){const e=s?i.x:i.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&e===this._previousSwap.delta)return!1}return s?t>=Math.floor(r.left)&&t<Math.floor(r.right):n>=Math.floor(r.top)&&n<Math.floor(r.bottom)});return-1!==o&&this.sortPredicate(o,e,this)?o:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(e,t){return null!=this._clientRect&&ZI(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,n){return this._siblings.find(i=>i._canReceive(e,t,n))}_canReceive(e,t,n){if(!this._clientRect||!ZI(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;const i=this._getShadowRoot().elementFromPoint(t,n);if(!i)return!1;const s=EE(this.element);return i===s||s.contains(i)}_startReceiving(e,t){const n=this._activeSiblings;!n.has(e)&&t.every(e=>this.enterPredicate(e,this)||this._draggables.indexOf(e)>-1)&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach(({clientRect:e})=>{QI(e,t.top,t.left)}),this._itemPositions.forEach(({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=FE(EE(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function fR(e,t){for(let n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function mR(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function bR(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function vR(e,t){const{top:n,bottom:i,height:s}=e,o=.05*s;return t>=n-o&&t<=n+o?1:t>=i-o&&t<=i+o?2:0}function yR(e,t){const{left:n,right:i,width:s}=e,o=.05*s;return t>=n-o&&t<=n+o?1:t>=i-o&&t<=i+o?2:0}const wR=RE({passive:!1,capture:!0});let _R=(()=>{class e{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=e=>e.isDragging(),this.pointerMove=new C,this.pointerUp=new C,this.scroll=new C,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,wR)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,wR)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const e=t.type.startsWith("touch");this._globalListeners.set(e?"touchend":"mouseup",{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:wR}),e||this._globalListeners.set("mousemove",{handler:e=>this.pointerMove.next(e),options:wR}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((e,t)=>{this._document.addEventListener(t,e.handler,e.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();const xR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let CR=(()=>{class e{constructor(e,t,n,i){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=i}createDrag(e,t=xR){return new rR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new gR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(ad),gi(SD),gi(_R))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(ad),gi(SD),gi(_R))},token:e,providedIn:"root"}),e})();const AR=new Xn("CDK_DRAG_PARENT"),SR=new Xn("CDK_DRAG_CONFIG"),kR=new Xn("CdkDropList"),ER=new Xn("CdkDragHandle"),PR=new Xn("CdkDragPlaceholder"),DR=new Xn("CdkDragPreview");let OR=(()=>{class e{constructor(t,n,i,s,o,r,a,l,c,d,u){this.element=t,this.dropContainer=n,this._ngZone=s,this._viewContainerRef=o,this._dir=a,this._changeDetectorRef=c,this._selfHandle=d,this._parentDrag=u,this._destroyed=new C,this.started=new yc,this.released=new yc,this.ended=new yc,this.entered=new yc,this.exited=new yc,this.dropped=new yc,this.moved=new v(e=>{const t=this._dragRef.moved.pipe(k(e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}))).subscribe(e);return()=>{t.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:r&&null!=r.dragStartThreshold?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&null!=r.pointerDirectionChangeThreshold?r.pointerDirectionChangeThreshold:5,zIndex:null==r?void 0:r.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),r&&this._assignDefaults(r),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=CE(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(lv(1),wD(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(uv(this._handles),Ov(e=>{const t=e.filter(e=>e._parentDrag===this).map(e=>e.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),sv(e=>G(...e.map(e=>e._stateChanges.pipe(uv(e))))),wD(this._destroyed)).subscribe(e=>{const t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(e){const t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?MR(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?MR(this.element.nativeElement,e):EE(e):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:AE(n),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(s),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(lv(1)).subscribe(()=>{var n,i;if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(n=s.classList)||void 0===n?void 0:n.contains("cdk-drag")){t.withParent((null===(i=e._dragInstances.find(e=>e.element.nativeElement===s))||void 0===i?void 0:i._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:n,constrainPosition:i,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a}=e;this.disabled=null!=r&&r,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),s&&(this.previewClass=s),o&&(this.boundaryElement=o),a&&(this.rootElementSelector=a)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(kR,12),zr(Hd),zr(ad),zr(Gl),zr(SR,8),zr(gP,8),zr(CR),zr(Tl),zr(ER,10),zr(AR,12))},e.\u0275dir=Ke({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,DR,1),Ic(n,PR,1),Ic(n,ER,1)),2&e){let e;Mc(e=Rc())&&(t._previewTemplate=e.first),Mc(e=Rc())&&(t._placeholderTemplate=e.first),Mc(e=Rc())&&(t._handles=e)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&ma("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Ja([{provide:AR,useExisting:e}]),dt]}),e._dragInstances=[],e})();function MR(e,t){let n=e.parentElement;for(;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}let TR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[CR],imports:[kD]}),e})();const IR=(e,t,n)=>{if(0===n||0===t)return"";const i=e*t;return i<(n=Math.max(n,0))&&Math.min(i+t,n),`${e+1} / ${Math.ceil(n/t)}`};function RR(){const e=new GT;return e.itemsPerPageLabel="Afficher:",e.nextPageLabel="Page suivante",e.previousPageLabel="Page pr\xe9c\xe9dente",e.getRangeLabel=IR,e}let LR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[{provide:GT,useValue:RR()}],imports:[[eI,lT,NM,aM,jP,TR,sI,bM,sT,JT,vM,rT,jM,HI,xI,iI,OT,nI,qO,_I,KT,yI,$O,wM],eI,lT,NM,aM,jP,TR,sI,bM,sT,JT,vM,rT,jM,HI,xI,iI,OT,nI,qO,_I,KT,yI,$O,wM]}),e})(),FR=(()=>{class e{constructor(e,t,n){this.translate=e,this.data=t,this.dialogRef=n,null===this.data.mode&&(this.data.mode=""),null===this.data.msg&&(this.data.msg="")}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(OM),zr(PM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:10,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","red",3,"click"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"h1",0),Da(2),hc(3,"translate"),jr(),Ur(4,"div",1),hc(5,"translate"),Hr(6,"div",2),Hr(7,"button",3),Xr("click",function(){return t.dialogRef.close()}),Da(8),hc(9,"translate"),jr(),jr(),jr()),2&e&&(La("modalContent ",t.data.mode,""),no(2),Oa(pc(3,6,t.data.title)),no(2),Vr("innerHTML",pc(5,8,t.data.msg),ss),no(4),Oa(pc(9,10,"lang.ok")))},directives:[BM,zM,VM,mM],pipes:[qA],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),e})(),BR=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.translate=e,this.http=t,this.router=n,this.signaturesService=i,this.cookieService=s,this.authService=o,this.localStorage=r,this.dialog=a,this.menu=l}canActivate(e,t){if("login"===e.url.join("/"))return this.authService.isAuth()?(this.router.navigate(["/home"]),!1):(this.http.get("../rest/authenticationInformations").pipe(k(e=>{this.authService.authMode=e.connection,this.authService.changeKey=e.changeKey,this.authService.coreUrl=e.coreUrl,this.localStorage.setAppSession(e.instanceId)})).subscribe(),!0);if(!this.authService.authFailed){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu");let e=this.authService.getToken();if(null===e||this.authService.authFailed)return this.http.get("../rest/authenticationInformations").pipe(k(n=>(this.authService.authMode=n.connection,this.authService.changeKey=n.changeKey,this.authService.coreUrl=n.coreUrl,this.localStorage.setAppSession(n.instanceId),e=this.authService.getToken(),null!==e?(this.authService.user=JSON.parse(atob(e.split(".")[1])).user,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData(),this.authService.changeKey&&this.dialog.open(FR,{autoFocus:!1,disableClose:!0,data:{mode:"warning",title:"lang.warnPrivateKeyTitle",msg:"lang.warnPrivateKey"}}),!0):(this.authService.setCachedUrl(t.url.replace(/^\//g,"")),this.authService.logout(),!1))));if(void 0===this.authService.user.id){const t=JSON.parse(atob(e.split(".")[1]));this.authService.user=t.user,this.authService.authMode=t.connection,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData()}return!0}}setData(){0===this.authService.signatureRoles.length&&this.http.get("../rest/signatureModes").subscribe(e=>{this.authService.signatureRoles=[{id:"visa",type:"visa",color:"#135F7F"}],this.authService.signatureRoles=this.authService.signatureRoles.concat(e.map(e=>Object.assign(Object.assign({},e),{type:"sign"})))}),0===this.signaturesService.signaturesList.length&&this.http.get("../rest/users/"+this.authService.user.id+"/signatures").subscribe(e=>{this.signaturesService.signaturesList=e.signatures}),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(e=>{this.authService.user.picture=e.picture})}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(Db),gi(r_),gi(oS),gi(oE),gi(aS),gi(rS),gi(LM),gi(JC))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zR(e,t){if(1&e&&(Hr(0,"ion-col"),Hr(1,"ion-button",7),Hr(2,"div",8),Ur(3,"ion-icon",9),Hr(4,"ion-label",10),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-note",11),Da(8),hc(9,"translate"),jr(),jr(),jr(),jr()),2&e){const e=t.$implicit;no(1),Vr("routerLink",e.route),no(2),Vr("name",e.icon),no(2),Oa(pc(6,4,"lang."+e.id)),no(3),Ma(" ",pc(9,6,"lang."+e.id+"Desc"),"")}}const VR=function(e){return[e]};let NR=(()=>{class e{constructor(e,t,n){this.signaturesService=e,this.authService=t,this.menu=n}ngOnInit(){this.menu.enable(!1,"right-menu")}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(aS),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration"]],decls:12,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],[3,"ngClass"],[4,"ngFor","ngForOf"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,4),Hr(9,"ion-grid"),Hr(10,"ion-row",5),Fr(11,zR,10,8,"ion-col",6),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,4,"lang.administration")),no(5),Vr("ngClass",ac(6,VR,t.signaturesService.mobileMode?"repeatRowsMobile":"repeatRows")),no(1),Vr("ngForOf",t.authService.user.administrativePrivileges))},directives:[Vx,yC,Ax,Jx,bC,Tx,zx,aC,Nu,ju,Mx,Cx,UC,a_,Nx,Zx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".container[_ngcontent-%COMP%]{flex:1;overflow:auto}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;text-align:center;width:100%;display:inline-block}@media (min-width:768px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:33%}}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{border-color:#f99830;padding:10px;width:90%;height:160px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:50px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;flex-direction:column}.admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.repeatRows[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr)}.repeatRowsMobile[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));-ms-grid-row-align:10px}"]}),e})();function HR(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function jR(e,t){if(1&e&&(Wr(0),Fr(1,HR,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function UR(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function WR(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function GR(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,WR,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/users/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,4,"lang.delete")),Vr("disabled",e.id===n.authService.user.id)}}let $R=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.authService=r,this.alertController=a,this.userList=[],this.loading=!0,this.displayedColumns=this.signaturesService.mobileMode?["firstname","lastname","email"]:["firstname","lastname","email","actions"]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.userList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ionViewWillEnter(){this.http.get("../rest/users?mode=all").pipe(k(e=>e.users),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.userList=e,this.sortedData=this.userList.slice()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/users/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:t=>{const n=this.userList.findIndex(t=>t.id===e.id);this.userList.splice(n,1),this.sortedData=this.userList.slice(),this.notificationService.success("lang.userDeleted")},error:e=>{this.notificationService.handleErrors(e)}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.userList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-users-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/users/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"disabled","title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,jR,2,1,"ng-container",9),Fr(23,UR,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,GR,6,6,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_usersAlt"),""),no(6),Ma(" ",pc(13,14,"lang.userCreation")," "),no(3),Ta("",t.userList.length," ",pc(16,16,"lang.manage_usersAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[1]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function qR(e,t){1&e&&(Ur(0,"div",5),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,na().data.msg),ss)}let YR=(()=>{class e{constructor(e,t,n){this.translate=e,this.data=t,this.dialogRef=n,null===this.data.msg&&(this.data.msg="")}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(OM),zr(PM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","blue",3,"click"],["mat-button","",1,"actions","btn","red",3,"click"],["mat-dialog-content","",3,"innerHTML"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"h1",0),Da(2),hc(3,"translate"),jr(),Fr(4,qR,2,3,"div",1),Hr(5,"div",2),Hr(6,"button",3),Xr("click",function(){return t.dialogRef.close("yes")}),Da(7),hc(8,"translate"),jr(),Hr(9,"button",4),Xr("click",function(){return t.dialogRef.close("no")}),Da(10),hc(11,"translate"),jr(),jr(),jr()),2&e&&(La("modalContent ",t.data.mode,""),no(2),Oa(pc(3,7,t.data.title)),no(2),Vr("ngIf",null!==t.data.msg),no(3),Oa(pc(8,9,"lang.yes")),no(3),Oa(pc(11,11,"lang.no")))},directives:[BM,Wu,VM,mM,zM],pipes:[qA],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),e})();function ZR(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),Hr(4,"ion-checkbox",27),Xr("ionChange",function(t){Lt(e);const n=na().$implicit;return na(2).toggleSignMode(n,t.detail.checked)}),jr(),jr()}if(2&e){const e=na().$implicit,t=na(2);no(1),fa("color",e.color),no(1),Oa(pc(3,5,"lang."+e.id)),no(2),Vr("checked",t.user.signatureModes.indexOf(e.id)>-1)("disabled","stamp"===e.id)}}function QR(e,t){if(1&e&&(Wr(0),Fr(1,ZR,5,7,"ion-item",11),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","visa"!==e.id)}}function XR(e,t){if(1&e&&(Hr(0,"ion-note",33),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function KR(e,t){if(1&e){const e=qr();Hr(0,"ion-item",28),Hr(1,"ion-button",29),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPassword=!t.hideNewPassword}),Ur(2,"ion-icon",30),jr(),Hr(3,"ion-label",14),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-input",31),Xr("ngModelChange",function(t){return Lt(e),na(2).passwordRest.newPassword=t})("ionChange",function(){Lt(e);const t=na(2);return t.checkPasswordValidity(t.passwordRest.newPassword)}),jr(),Fr(7,XR,3,3,"ion-note",32),jr()}if(2&e){const e=na(2);no(2),Vr("name",e.hideNewPassword?"eye-outline":"eye-off-outline"),no(2),Oa(pc(5,5,"lang.newPassword")),no(2),Vr("type",e.hideNewPassword?"password":"text")("ngModel",e.passwordRest.newPassword),no(1),Vr("ngIf",e.handlePassword.error&&e.passwordRest.newPassword.length>0)}}function JR(e,t){1&e&&(Hr(0,"ion-note",33),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}function eL(e,t){1&e&&(Hr(0,"ion-note",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function tL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",28),Hr(1,"ion-button",29),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(2,"ion-icon",30),jr(),Hr(3,"ion-label",14),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-input",34),Xr("ngModelChange",function(t){return Lt(e),na(2).passwordRest.passwordConfirmation=t}),jr(),Fr(7,JR,3,3,"ion-note",32),Fr(8,eL,3,3,"ion-note",35),jr()}if(2&e){const e=na(2);no(2),Vr("name",e.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),no(2),Oa(pc(5,6,"lang.passwordConfirmation")),no(2),Vr("type",e.hideNewPasswordConfirm?"password":"text")("ngModel",e.passwordRest.passwordConfirmation),no(1),Vr("ngIf",e.passwordRest.passwordConfirmation!==e.passwordRest.newPassword&&e.passwordRest.passwordConfirmation.length>0),no(1),Vr("ngIf",e.passwordRest.passwordConfirmation===e.passwordRest.newPassword&&e.passwordRest.newPassword.length>0&&e.passwordRest.passwordConfirmation.length>0&&!e.handlePassword.error)}}function nL(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"form",12,13),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(3,"ion-content"),Hr(4,"ion-item"),Hr(5,"ion-label",14),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-input",15),Xr("ngModelChange",function(t){return Lt(e),na().user.login=t}),jr(),jr(),Hr(9,"ion-item"),Hr(10,"ion-label",14),Da(11),hc(12,"translate"),jr(),Hr(13,"ion-input",16),Xr("ngModelChange",function(t){return Lt(e),na().user.firstname=t}),jr(),jr(),Hr(14,"ion-item"),Hr(15,"ion-label",14),Da(16),hc(17,"translate"),jr(),Hr(18,"ion-input",17),Xr("ngModelChange",function(t){return Lt(e),na().user.lastname=t}),jr(),jr(),Hr(19,"ion-item"),Hr(20,"ion-label",14),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-input",18),Xr("ngModelChange",function(t){return Lt(e),na().user.email=t}),jr(),jr(),Hr(24,"ion-item"),Hr(25,"ion-label"),Da(26),hc(27,"translate"),jr(),Hr(28,"ion-toggle",19),Xr("ngModelChange",function(t){return Lt(e),na().user.isRest=t})("ionChange",function(t){return Lt(e),na().getPassRules(t)}),jr(),jr(),Hr(29,"ion-list"),Hr(30,"ion-list-header"),Hr(31,"ion-label",20),Da(32),hc(33,"translate"),jr(),jr(),Fr(34,QR,2,1,"ng-container",21),jr(),Fr(35,KR,8,7,"ion-item",22),Fr(36,tL,9,8,"ion-item",22),Hr(37,"ion-item",23),Hr(38,"div",24),Hr(39,"ion-button",25),Hr(40,"ion-label",26),Da(41),hc(42,"translate"),jr(),jr(),jr(),jr(),jr(),jr(),Gr()}if(2&e){const e=Br(2),t=na();no(6),Ma("",pc(7,23,"lang.login")," *"),no(2),Vr("maxlength",128)("readonly",!t.creationMode)("ngModel",t.user.login),no(3),Ma("",pc(12,25,"lang.firstname")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.firstname),no(3),Ma("",pc(17,27,"lang.lastname")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.lastname),no(3),Ma("",pc(22,29,"lang.email")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.email),no(3),Oa(pc(27,31,"lang.restUser")),no(2),Vr("disabled",!t.creationMode)("ngModel",t.user.isRest)("checked",t.user.isRest),no(4),Oa(pc(33,33,"lang.signatureModes")),no(2),Vr("ngForOf",t.authService.signatureRoles),no(1),Vr("ngIf",t.user.isRest),no(1),Vr("ngIf",t.user.isRest),no(3),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(42,35,"lang.validate"))}}function iL(e,t){if(1&e&&(Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),jr(),jr()),2&e){const e=t.$implicit;no(2),Oa(e.label)}}function sL(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,iL,3,1,"ion-item",21),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.user.groups)}}function oL(e,t){1&e&&(Hr(0,"ion-list",38),Hr(1,"ion-item",39),Hr(2,"ion-label",40),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noAssociatedGroup")))}function rL(e,t){if(1&e&&(Wr(0),Hr(1,"ion-content"),Fr(2,sL,2,1,"ion-list",11),Fr(3,oL,5,3,"ion-list",37),jr(),Gr()),2&e){const e=na();no(2),Vr("ngIf",e.user.groups.length>0),no(1),Vr("ngIf",0===e.user.groups.length)}}let aL=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.creationMode=!0,this.loading=!0,this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",isRest:!1,signatureModes:["stamp"]},this.title="",this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.currentTool="info",this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordRest={newPassword:"",passwordConfirmation:""},this.ruleText="",this.otherRuleText="",this.showPassword=!1,this.handlePassword={error:!1,errorMsg:""}}ngOnInit(){this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.userCreation"),this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",signatureModes:["stamp"],isRest:!1},this.loading=!1):(this.creationMode=!1,this.http.get("../rest/users/"+e.id).pipe(k(e=>e.user),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.user=e,this.userClone=JSON.parse(JSON.stringify(this.user)),this.title=this.user.firstname+" "+this.user.lastname,this.user.isRest&&this.getPassRules({detail:{checked:!0}})}}))})}canValidate(){return!(this.user.isRest&&""!==this.passwordRest.newPassword&&(this.handlePassword.error||this.passwordRest.passwordConfirmation!==this.passwordRest.newPassword)||JSON.stringify(this.user)===JSON.stringify(this.userClone)&&""===this.passwordRest.newPassword)}onSubmit(){this.creationMode?this.createUser():this.modifyUser()}modifyUser(){this.loading=!0,this.http.put("../rest/users/"+this.user.id,this.user).pipe(Iv(()=>this.loading=!1),Ov(()=>{this.authService.user.id===this.user.id&&this.authService.updateUserInfoWithTokenRefresh(),""!==this.passwordRest.newPassword&&this.updateRestUser(),this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userUpdated")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}updateRestUser(){const e=new fb({Authorization:"Bearer "+this.authService.getToken()});this.http.put("../rest/users/"+this.user.id+"/password",this.passwordRest,{headers:e}).subscribe(()=>{this.passwordRest.newPassword="",this.passwordRest.passwordConfirmation=""},e=>{this.notificationService.handleErrors(e)})}createUser(){this.loading=!0,this.http.post("../rest/users",this.user).pipe(Iv(()=>this.loading=!1),Ov(e=>{this.user.isRest&&(this.user.id=e.id,this.updateRestUser()),this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userAdded")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}delete(){this.dialog.open(YR,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(e=>{"yes"===e&&(this.loading=!0,this.http.delete("../rest/users/"+this.user.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userDeleted")}}))})}cancel(){this.router.navigate(["/administration/users"])}getPassRules(e){e.detail.checked&&(this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)}))}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}toggleSignMode(e,t){t?-1===this.user.signatureModes.indexOf(e.id)&&this.user.signatureModes.push(e.id):this.user.signatureModes=this.user.signatureModes.filter(t=>t!==e.id)}initTab(e){this.currentTool=e}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-user"]],decls:24,vars:13,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end"],[3,"src"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","groups",3,"disabled"],["name","people-sharp"],[4,"ngIf"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","login","required","","pattern","^[\\w.@-]*$",3,"maxlength","readonly","ngModel","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","ngModelChange"],["type","email","name","email","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"maxlength","ngModel","ngModelChange"],["slot","start","color","primary","name","isRest",3,"disabled","ngModel","checked","ngModelChange","ionChange"],["color","secondary"],[4,"ngFor","ngForOf"],["style","align-items: center;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["slot","start",3,"checked","disabled","ionChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","newPasswordRest",3,"type","ngModel","ngModelChange","ionChange"],["color","danger",4,"ngIf"],["color","danger"],["name","passwordConfirmation",3,"type","ngModel","ngModelChange"],["color","success",4,"ngIf"],["color","success"],["class","no-result",4,"ngIf"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),Hr(7,"ion-avatar",4),Ur(8,"img",5),jr(),jr(),jr(),Hr(9,"ion-header"),Hr(10,"ion-toolbar"),Hr(11,"ion-segment",6),Xr("ionChange",function(e){return t.initTab(e.detail.value)}),Hr(12,"ion-segment-button",7),Hr(13,"ion-label"),Da(14),hc(15,"translate"),jr(),Ur(16,"ion-icon",8),jr(),Hr(17,"ion-segment-button",9),Hr(18,"ion-label"),Da(19),hc(20,"translate"),jr(),Ur(21,"ion-icon",10),jr(),jr(),jr(),jr(),Fr(22,nL,43,37,"ng-container",11),Fr(23,rL,4,2,"ng-container",11)),2&e&&(Vr("translucent",!0),no(6),Oa(t.title),no(2),Vr("src",t.user.picture,os),no(3),Vr("value",t.currentTool),no(3),Oa(pc(15,9,"lang.informations")),no(3),Vr("disabled",t.creationMode),no(2),Oa(pc(20,11,"lang.manage_groups")),no(3),Vr("ngIf","info"===t.currentTool),no(1),Vr("ngIf","groups"===t.currentTool))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,wx,cC,ox,dC,Zx,Nx,Wu,Lm,am,Mm,Tx,Gx,Wx,ax,Jm,ib,tb,rm,Rm,vC,J_,Qx,Xx,ju,Cx,Dx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:30px}"]}),e})();function lL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function cL(e,t){if(1&e&&(Wr(0),Fr(1,lL,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function dL(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function uL(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function hL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,uL,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/groups/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.delete"))}}let pL=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.alertController=r,this.groupList=[],this.loading=!0,this.displayedColumns=["label","actions"]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.groupList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ionViewWillEnter(){this.http.get("../rest/groups").pipe(k(e=>e.groups),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.groupList=e,this.sortedData=this.groupList.slice()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/groups/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:t=>{const n=this.groupList.findIndex(t=>t.id===e.id);this.groupList.splice(n,1),this.sortedData=this.groupList.slice(),this.notificationService.success("lang.groupDeleted")}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.groupList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-groups-list"]],viewQuery:function(e,t){if(1&e&&(Tc(XT,3),Tc(uI,3)),2&e){let e;Mc(e=Rc())&&(t.paginator=e.first),Mc(e=Rc())&&(t.sort=e.first)}},decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/groups/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,cL,2,1,"ng-container",9),Fr(23,dL,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,hL,6,5,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_groupsAlt"),""),no(6),Ma(" ",pc(13,14,"lang.groupCreation")," "),no(3),Ta("",t.groupList.length," ",pc(16,16,"lang.manage_groupsAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[0]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function gL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",6),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).selectUser(n)}),Hr(1,"ion-label"),Da(2),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Ta(" ",e.firstname," ",e.lastname," ")}}function fL(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",4),Fr(2,gL,3,2,"ion-item",5),jr(),jr()),2&e){const e=na();no(1),Vr("items",e.usersList)}}function mL(e,t){1&e&&(Hr(0,"ion-item",7),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.emptyUsers")))}let bL=(()=>{class e{constructor(e,t){this.http=e,this.modalController=t,this.usersList=[]}ngOnInit(){this.http.get("../rest/users?mode=all").pipe(k(e=>e.users)).subscribe({next:e=>{this.usersList=e.filter(e=>-1===this.users.findIndex(t=>t.id===e.id))}})}selectUser(e){this.modalController.dismiss(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-users"]],inputs:{users:"users"},decls:8,vars:6,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 35%;",4,"ngIf"],["approxItemHeight","50px",2,"height","450px",3,"items"],["button","",3,"click",4,"virtualItem"],["button","",3,"click"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","35%"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),jr(),Hr(5,"ion-content"),Fr(6,fL,3,1,"ion-list",2),Fr(7,mL,4,3,"ion-item",3),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,4,"lang.users")),no(3),Vr("ngIf",t.usersList.length>0),no(1),Vr("ngIf",0===t.usersList.length))},directives:[Vx,yC,bC,Tx,Wu,Qx,qC,$C,Gx,Zx],pipes:[qA],encapsulation:2}),e})();var vL=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function yL(e,t){1&e&&(Hr(0,"ion-item",18),Hr(1,"ion-label",19),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Ma("",pc(3,1,"lang.privileges")," :"))}function wL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",20),Hr(1,"ion-toggle",21),Xr("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(){Lt(e);const n=t.$implicit;return na().togglePrivilege(n,!0)}),jr(),Hr(2,"ion-label",22),Xr("click",function(){Lt(e);const n=t.$implicit;return na().togglePrivilege(n,!1)}),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("name",e.id)("checked",e.checked)("ngModel",e.checked),no(2),Oa(pc(4,4,"lang."+e.id+"Admin"))}}function _L(e,t){1&e&&(Hr(0,"ion-item",18),Hr(1,"ion-label",19),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Ma("",pc(3,1,"lang.linkedUsers")," :"))}function xL(e,t){if(1&e&&(Hr(0,"div",34),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function CL(e,t){if(1&e&&(Wr(0),Fr(1,xL,3,4,"div",33),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function AL(e,t){if(1&e){const e=qr();Hr(0,"div",35),Hr(1,"ion-button",36),Xr("click",function(){return Lt(e),na(2).openUserList()}),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Ma(" ",pc(3,1,"lang.add")," "))}function SL(e,t){if(1&e&&(Hr(0,"div",42),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function kL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",37),Hr(1,"ion-label",38),Fr(2,SL,2,1,"div",39),jr(),Hr(3,"ion-button",40),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na(2);return n.stopPropagation(),s.unlinkUser(i)}),hc(4,"translate"),Ur(5,"ion-icon",41),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(1),aa("routerLink","/administration/users/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.unlinkUser"))}}function EL(e,t){if(1&e){const e=qr();Hr(0,"ion-infinite-scroll",43),Xr("ionInfinite",function(t){return Lt(e),na(2).loadData(t)}),Ur(1,"ion-infinite-scroll-content",44),hc(2,"translate"),jr()}2&e&&(no(1),Vr("loadingText",pc(2,1,"lang.loadingMoreData")))}function PL(e,t){1&e&&(Hr(0,"ion-item",45),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.emptyGroupUsers")))}function DL(e,t){if(1&e){const e=qr();Hr(0,"ion-content",23),Hr(1,"ion-list"),Hr(2,"ion-item",24),Wr(3,14),Hr(4,"ion-label",25),Xr("matSortChange",function(t){return Lt(e),na().sortData(t)}),Fr(5,CL,2,1,"ng-container",26),Fr(6,AL,4,3,"div",27),jr(),Gr(),Hr(7,"ion-button",28),Ur(8,"ion-icon"),jr(),jr(),Hr(9,"ion-virtual-scroll",29),Fr(10,kL,6,5,"ion-item",30),jr(),Fr(11,EL,3,3,"ion-infinite-scroll",31),jr(),Fr(12,PL,4,3,"ion-item",32),jr()}if(2&e){const e=na();no(4),Vr("matSortActive",e.displayedColumns[1]),no(1),Vr("ngForOf",e.displayedColumns),no(1),Vr("ngIf",e.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",e.sortedData),no(2),Vr("ngIf",e.group.users.length>7),no(1),Vr("ngIf",0===e.group.users.length)}}function OL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",46),Xr("click",function(){return Lt(e),na().deleteGroup()}),Hr(1,"ion-label",16),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Oa(pc(3,1,"lang.delete")))}let ML=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.popoverController=l,this.modalController=c,this.alertController=d,this.latinisePipe=u,this.creationMode=!0,this.loading=!0,this.title="",this.displayedColumns=["firstname","lastname","actions"],this.group={id:"",label:"",users:[],privileges:[]},this.groupClone=JSON.parse(JSON.stringify(this.group))}ngOnInit(){this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.groupCreation"),this.loading=!1,this.groupClone=JSON.parse(JSON.stringify(this.group))):(this.creationMode=!1,this.usersList=[],this.http.get("../rest/groups/"+e.id).pipe(k(e=>e.group),Iv(()=>{this.loading=!1})).subscribe({next:e=>{this.group=e,this.groupClone=JSON.parse(JSON.stringify(this.group)),this.title=this.group.label,this.updateDataTable()}}),this.http.get("../rest/users?mode=all").pipe(k(e=>e.users)).subscribe({next:e=>{this.usersList=e}}))})}updateDataTable(){this.sortedData=this.group.users.slice()}openUserList(e){return vL(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:bL,componentProps:{users:this.group.users}});yield e.present();const{data:t}=yield e.onWillDismiss();void 0!==t&&this.linkUser(t)})}canValidate(){return this.group.label!==this.groupClone.label}onSubmit(){this.creationMode?this.createGroup():this.modifyGroup()}linkUser(e){this.http.put("../rest/groups/"+this.group.id+"/users",{userId:e.id}).subscribe({next:()=>{this.group.users.push(e),this.updateDataTable(),this.notificationService.success("lang.userAdded")}})}unlinkUser(e){return vL(this,void 0,void 0,function*(){if(e.id===this.authService.user.id){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.deleteUser(e)}}]});yield t.present()}else this.deleteUser(e)})}deleteUser(e){this.http.delete("../rest/groups/"+this.group.id+"/users/"+e.id,{}).subscribe({next:()=>{const t=this.group.users.findIndex(t=>t.id===e.id);this.group.users.splice(t,1),this.updateDataTable(),this.notificationService.success("lang.userDeleted")}})}modifyGroup(){this.loading=!0,this.http.put("../rest/groups/"+this.group.id,this.group).subscribe({next:()=>{this.router.navigate(["/administration/groups"]),this.notificationService.success("lang.groupUpdated")}})}createGroup(){this.loading=!0,this.http.post("../rest/groups",this.group).subscribe({next:e=>{this.router.navigate(["/administration/groups/"+e.id]),this.notificationService.success("lang.groupAdded")}})}deleteGroup(){return vL(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/groups/"+this.group.id).subscribe({next:()=>{this.router.navigate(["/administration/groups"]),this.notificationService.success("lang.groupDeleted")}})}}]});yield e.present()})}togglePrivilege(e,t){return vL(this,void 0,void 0,function*(){if("manage_groups"===e.id&&e.checked){t||(e.checked=!e.checked);const n=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),message:this.translate.instant("lang.groupWarnMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{e.checked=!e.checked}},{text:this.translate.instant("lang.yes"),handler:()=>{this.updatePrivilege(e)}}]});yield n.present()}else t||(e.checked=!e.checked),setTimeout(()=>{this.updatePrivilege(e)},200)})}updatePrivilege(e){this.http.put("../rest/groups/"+this.group.id+"/privilege/"+e.id,{checked:e.checked}).subscribe({next:()=>{this.notificationService.success("lang.privilegeUpdated"),this.authService.updateUserInfoWithTokenRefresh()}})}cancel(){this.router.navigate(["/administration/groups"])}sortData(e){const t=this.group.users.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.group.users.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}loadData(e){this.http.get("../rest/groups/"+this.group.id).pipe(Ov(t=>{this.group.users=t.group.users,e.target.complete(),e.target.disabled=!0})).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS),zr(tA),zr(eA),zr(XC),zr(uE))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-group"]],viewQuery:function(e,t){if(1&e&&(Tc(XT,1),Tc(uI,1)),2&e){let e;Mc(e=Rc())&&(t.paginator=e.first),Mc(e=Rc())&&(t.sort=e.first)}},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"maxlength","ngModel","ngModelChange"],["lines","none",4,"ngIf"],[2,"display","grid","grid-gap","10px"],["style","cursor: pointer",4,"ngFor","ngForOf"],[2,"margin-left","4x","display","flex","width","50%",3,"placeholder","ionChange"],["style","height: 400px; overflow-y: auto;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click",4,"ngIf"],["lines","none"],["color","secondary"],[2,"cursor","pointer"],["slot","start","color","primary",3,"name","checked","ngModel","ngModelChange","click"],[3,"click"],[2,"height","400px","overflow-y","auto"],[2,"position","sticky","top","0px","z-index","1"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1;text-align: right;",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 5px;",4,"ngIf"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1","text-align","right"],["slot","end","color","primary","fille","outline","shape","round",3,"click"],[2,"display","flex"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","close-outline"],[2,"flex","1"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","5px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Hr(7,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-content"),Hr(10,"ion-item"),Hr(11,"ion-label",6),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",7),Xr("ngModelChange",function(e){return t.group.label=e}),jr(),jr(),Fr(15,yL,4,3,"ion-item",8),Hr(16,"div",9),Fr(17,wL,5,6,"ion-item",10),jr(),Fr(18,_L,4,3,"ion-item",8),Hr(19,"ion-searchbar",11),Xr("ionChange",function(e){return t.applyFilter(e.detail.value)}),hc(20,"translate"),jr(),Fr(21,DL,13,6,"ion-content",12),Hr(22,"ion-item",13),Hr(23,"div",14),Hr(24,"ion-button",15),Hr(25,"ion-label",16),Da(26),hc(27,"translate"),jr(),jr(),Fr(28,OL,4,3,"ion-button",17),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(6),Oa(t.title),no(6),Ma("",pc(13,17,"lang.label")," *"),no(2),Vr("maxlength",128)("ngModel",t.group.label),no(1),Vr("ngIf",!t.creationMode),no(1),ma("grid-2-col",t.signaturesService.mobileMode)("grid-3-col",!t.signaturesService.mobileMode),no(1),Vr("ngForOf",t.group.privileges),no(1),Vr("ngIf",!t.creationMode),no(1),Vr("placeholder",pc(20,19,"lang.filter")),no(2),Vr("ngIf",!t.creationMode),no(3),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(27,21,"lang.validate")),no(2),Vr("ngIf",!t.creationMode)}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,tb,rm,Rm,Wu,ju,lC,Cx,vC,J_,Qx,uI,Nx,qC,$C,vI,UC,a_,jx,Ux],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".privilegesList[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;display:inline-block;width:100%}@media (min-width:768px){.privilegesList[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.privilegesList[_ngcontent-%COMP%]{width:33%}}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center;margin-top:30px}legend[_ngcontent-%COMP%]{color:#f99830}.grid-2-col[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.grid-3-col[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}"]}),e})();function TL(e,t){if(1&e&&(Hr(0,"ion-select-option",10),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id)("disabled",!e.allowed),no(1),Ma(" ",pc(2,3,"lang."+e.id+"Connection"),"")}}function IL(e,t){if(1&e){const e=qr();Hr(0,"ion-select",8),Xr("ionChange",function(t){return Lt(e),na().changeConnection(t.detail.value)}),hc(1,"translate"),Fr(2,TL,3,5,"ion-select-option",9),jr()}if(2&e){const e=na();ra("cancelText",pc(1,3,"lang.cancel")),Vr("value",e.currentConnection.id),no(2),Vr("ngForOf",e.connectionList)}}function RL(e,t){if(1&e&&(Hr(0,"ion-col"),Hr(1,"ion-button",11),Hr(2,"div",12),Ur(3,"ion-icon",13),Hr(4,"ion-label",14),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-note",15),Da(8),hc(9,"translate"),jr(),jr(),jr(),jr()),2&e){const e=t.$implicit;no(1),Vr("routerLink",e.route),no(2),Vr("name",e.icon),no(2),Ma("",pc(6,4,"lang."+e.id)," "),no(3),Ma(" ",pc(9,6,"lang."+e.id+"Desc"),"")}}let LL=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.signaturesService=t,this.notificationService=n,this.alertController=i,this.authService=s,this.loading=!0,this.privileges=[{id:"manage_ldap_configurations",icon:"server-sharp",route:"/administration/connections/ldaps"}],this.id=0,this.label="",this.connectionList=[]}ngOnInit(){this.loading=!0,this.http.get("../rest/configurations",{params:{identifier:"connection"}}).pipe(Iv(()=>this.loading=!1)).subscribe({next:e=>{this.label=e.configurations.label,this.id=e.configurations.id,this.connectionList=e.configurations.availableConnections;const t=this.connectionList.findIndex(t=>t.id===e.configurations.value);this.currentConnection=void 0!==this.connectionList[t]?this.connectionList[t]:this.connectionList[0]}})}changeConnection(e){return t=this,void 0,i=function*(){this.http.patch("../rest/configurations/"+this.id,{label:this.label,value:e}).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.authService.updateUserInfoWithTokenRefresh(),this.notificationService.success("lang.connectionModeUpdated"),this.authService.authMode=e}})},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(QA),zr(XC),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-connection"]],decls:18,vars:9,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],["color","secondary"],[3,"value","cancelText","ionChange",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"value","cancelText","ionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content",null,4),Hr(10,"ion-item"),Hr(11,"ion-label",5),Da(12),hc(13,"translate"),jr(),Fr(14,IL,3,5,"ion-select",6),jr(),Hr(15,"ion-grid"),Hr(16,"ion-row"),Fr(17,RL,10,8,"ion-col",7),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,5,"lang.manage_connections")),no(6),Oa(pc(13,7,"lang.connectionMode")),no(2),Vr("ngIf",t.currentConnection),no(3),Vr("ngForOf",t.privileges))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Tx,Gx,Zx,Wu,zx,aC,ju,uC,ox,hC,Mx,Cx,UC,a_,Nx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}"]}),e})();function FL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function BL(e,t){if(1&e&&(Wr(0),Fr(1,FL,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function zL(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function VL(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function NL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,VL,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/connections/ldaps/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.delete"))}}let HL=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.authService=r,this.alertController=a,this.ldapList=[],this.loading=!0,this.displayedColumns=["label","actions"]}updateDataTable(){this.sortedData=this.ldapList.slice()}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.ldapList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ngOnInit(){}ionViewWillEnter(){this.http.get("../rest/configurations",{params:{identifier:"ldapServer"}}).pipe(Iv(()=>this.loading=!1)).subscribe({next:e=>{this.ldapList=e.configurations,this.updateDataTable()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/configurations/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{const t=this.ldapList.findIndex(t=>t.id===e.id);this.ldapList.splice(t,1),this.updateDataTable(),this.notificationService.success("lang.ldapDeleted")}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.ldapList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-ldap-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/connections/ldaps/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,BL,2,1,"ng-container",9),Fr(23,zL,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,NL,6,5,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_ldap_configurationsAlt")," "),no(6),Ma(" ",pc(13,14,"lang.ldapCreation")," "),no(3),Ta("",t.ldapList.length," ",pc(16,16,"lang.manage_ldap_configurationsAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[0]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function jL(e,t){return t?n=>n.pipe(jL((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))))):t=>t.lift(new UL(e))}class UL{constructor(e){this.project=e}call(e,t){return t.subscribe(new WL(e,this.project))}}class WL extends z{constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}_innerSub(e){const t=new B(this),n=this.destination;n.add(t);const i=V(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function GL(e,t){1&e&&(Wr(0),Da(1),hc(2,"translate"),Gr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.connectionInProgress"),"... "))}function $L(e,t){if(1&e&&(Wr(0),Da(1),Gr()),2&e){const e=na(2);no(1),Ma(" ",e.ldapTest.result," ")}}function qL(e,t){if(1&e&&(Hr(0,"div",16),Fr(1,GL,3,3,"ng-container",17),Fr(2,$L,2,1,"ng-container",17),jr()),2&e){const e=na();no(1),Vr("ngIf",e.loadingTest),no(1),Vr("ngIf",""!==e.ldapTest.result)}}let YL=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.notificationService=s,this.alertController=o,this.loadingTest=!1}ngOnInit(){}testLdap(){this.loadingTest=!0,this.ldapTest.result="",this.canValidate?this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(Ov(()=>{this.notificationService.success("lang.ldapUpdated")}),jL(()=>this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}})),Ov(e=>{this.ldapTest.result=e.informations,e.connection&&this.notificationService.success("lang.ldapConnectionSucceeded")}),Iv(()=>this.loadingTest=!1),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe():this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}}).pipe(Ov(e=>{this.ldapTest.result=e.informations,e.connection&&this.notificationService.success("lang.ldapConnectionSucceeded")}),Iv(()=>this.loadingTest=!1),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-check-connection"]],inputs:{ldapTest:"ldapTest",ldap:"ldap",canValidate:"canValidate"},decls:45,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","login","required","",3,"ngModel","ngModelChange"],["name","password","required","",3,"ngModel","ngModelChange"],["color","secondary"],["name","uri","readonly","",3,"ngModel","ngModelChange"],["name","pathLogin","readonly","",3,"value"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],[1,"bash"],[4,"ngIf"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"form",3,4),Xr("ngSubmit",function(){return t.testLdap()}),Hr(9,"ion-content",null,5),Hr(11,"ion-item"),Hr(12,"ion-label",6),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",7),Xr("ngModelChange",function(e){return t.ldapTest.login=e}),jr(),jr(),Hr(16,"ion-item"),Hr(17,"ion-label",6),Da(18),hc(19,"translate"),jr(),Hr(20,"ion-input",8),Xr("ngModelChange",function(e){return t.ldapTest.password=e}),jr(),jr(),Hr(21,"ion-card"),Hr(22,"ion-card-header"),Hr(23,"ion-card-subtitle",9),Da(24),hc(25,"translate"),jr(),jr(),Hr(26,"ion-card-content"),Hr(27,"ion-item"),Hr(28,"ion-label",1),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-input",10),Xr("ngModelChange",function(e){return t.ldap.value.uri=e}),jr(),jr(),Hr(32,"ion-item"),Hr(33,"ion-label",1),Da(34),hc(35,"translate"),jr(),Ur(36,"ion-input",11),jr(),Fr(37,qL,3,2,"div",12),jr(),jr(),jr(),Hr(38,"ion-footer",13),Hr(39,"ion-toolbar"),Hr(40,"ion-buttons",14),Hr(41,"ion-button",15),Hr(42,"ion-label"),Da(43),hc(44,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(5),Oa(pc(6,14,"lang.connectionTest")),no(8),Ma("",pc(14,16,"lang.login")," *"),no(2),Vr("ngModel",t.ldapTest.login),no(3),Ma("",pc(19,18,"lang.password")," *"),no(2),Vr("ngModel",t.ldapTest.password),no(4),Ma("",pc(25,20,"lang.ldapInformations")," :"),no(5),Ma("",pc(30,22,"lang.uri")," :"),no(2),Vr("ngModel",t.ldap.value.uri),no(3),Ma("",pc(35,24,"lang.login")," :"),no(2),Vr("value",t.ldap.value.prefix?t.ldap.value.prefix+"\\"+t.ldapTest.login+t.ldap.value.suffix:t.ldapTest.login+t.ldap.value.suffix),no(1),Vr("ngIf",""!==t.ldapTest.result||t.loadingTest),no(4),Vr("disabled",!e.form.valid||t.loadingTest),no(2),Oa(pc(44,26,"lang.connectionTest"))}},directives:[Vx,yC,Ax,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,rm,Rm,Sx,Ex,Px,kx,Wu,Bx,Cx],pipes:[qA],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),e})();function ZL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",18),Xr("click",function(){return Lt(e),na().checkConnection()}),Hr(1,"ion-label",15),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Oa(pc(3,1,"lang.connectionTest")))}function QL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",19),Xr("click",function(){return Lt(e),na().delete()}),Hr(1,"ion-label",15),Da(2),hc(3,"translate"),jr(),jr()}if(2&e){const e=na();Vr("disabled","ldap"===e.authService.authMode&&1===e.ldap.count),no(2),Oa(pc(3,2,"lang.delete"))}}let XL=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.modalController=l,this.creationMode=!0,this.loading=!0,this.loadingTest=!1,this.ldapTest={login:"",password:"",result:""},this.ldap={id:0,label:"",identifier:"ldapServer",value:{uri:"",ssl:!1,prefix:"",suffix:"",baseDN:""}},this.title=""}ngOnInit(){this.ldapTest.login=this.authService.user.login,this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.ldapCreation"),this.loading=!1):(this.creationMode=!1,this.http.get("../rest/configurations/"+e.id).pipe(k(e=>e.configuration),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.ldap=e,this.ldapClone=JSON.parse(JSON.stringify(this.ldap)),this.title=this.ldap.label}}))})}canValidate(){return JSON.stringify(this.ldap)!==JSON.stringify(this.ldapClone)}onSubmit(){this.creationMode?this.createLdap():this.modifyLdap()}modifyLdap(){this.loading=!0,this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapUpdated")}})}createLdap(){this.loading=!0,this.http.post("../rest/configurations",this.ldap).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapAdded")}})}delete(){this.dialog.open(YR,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(e=>{"yes"===e&&(this.loading=!0,this.http.delete("../rest/configurations/"+this.ldap.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapDeleted")}}))})}cancel(){this.router.navigate(["/administration/connections/ldaps"])}checkConnection(e){return t=this,void 0,i=function*(){const e=yield this.modalController.create({component:YL,componentProps:{ldapTest:this.ldapTest,ldap:this.ldap,canValidate:this.canValidate()}});yield e.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-ldap"]],decls:49,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"ngModel","ngModelChange"],["name","uri","required","",3,"ngModel","ngModelChange"],["name","baseDN",3,"ngModel","ngModelChange"],["name","prefix",3,"ngModel","ngModelChange"],["name","suffix",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Hr(7,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-content"),Hr(10,"ion-item"),Hr(11,"ion-label",6),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",7),Xr("ngModelChange",function(e){return t.ldap.label=e}),jr(),jr(),Hr(15,"ion-item"),Hr(16,"ion-label",6),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-input",8),Xr("ngModelChange",function(e){return t.ldap.value.uri=e}),jr(),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",6),Da(22),hc(23,"translate"),jr(),Hr(24,"ion-input",9),Xr("ngModelChange",function(e){return t.ldap.value.baseDN=e}),jr(),Hr(25,"ion-note"),Da(26,"ex: dc=maarch,dc=com"),jr(),jr(),Hr(27,"ion-item"),Hr(28,"ion-label",6),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-input",10),Xr("ngModelChange",function(e){return t.ldap.value.prefix=e}),jr(),Hr(32,"ion-note"),Da(33,"ex: MAARCH"),jr(),jr(),Hr(34,"ion-item"),Hr(35,"ion-label",6),Da(36),hc(37,"translate"),jr(),Hr(38,"ion-input",11),Xr("ngModelChange",function(e){return t.ldap.value.suffix=e}),jr(),Hr(39,"ion-note"),Da(40,"ex: @maarch.com"),jr(),jr(),Hr(41,"ion-item",12),Hr(42,"div",13),Hr(43,"ion-button",14),Hr(44,"ion-label",15),Da(45),hc(46,"translate"),jr(),jr(),Fr(47,ZL,4,3,"ion-button",16),Fr(48,QL,4,4,"ion-button",17),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(6),Oa(t.title),no(6),Ma("",pc(13,16,"lang.label")," *"),no(2),Vr("ngModel",t.ldap.label),no(3),Ma("",pc(18,18,"lang.uri")," *"),no(2),Vr("ngModel",t.ldap.value.uri),no(3),Oa(pc(23,20,"lang.baseDN")),no(2),Vr("ngModel",t.ldap.value.baseDN),no(5),Oa(pc(30,22,"lang.prefix")),no(2),Vr("ngModel",t.ldap.value.prefix),no(5),Oa(pc(37,24,"lang.suffix")),no(2),Vr("ngModel",t.ldap.value.suffix),no(5),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(46,26,"lang.validate")),no(2),Vr("ngIf",!t.creationMode),no(1),Vr("ngIf",!t.creationMode)}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,rm,Rm,tC,Cx,Wu],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function KL(e,t){if(1&e&&(Hr(0,"ion-item"),Ur(1,"ion-icon",13),Hr(2,"ion-label",14),Da(3),hc(4,"translate"),jr(),jr()),2&e){const e=na();no(1),Vr("color","close-outline"===e.emailSendResult.icon?"danger":"primary")("name",e.emailSendResult.icon),no(1),Vr("color","close-outline"===e.emailSendResult.icon?"danger":"primary"),no(1),Oa(pc(4,4,e.emailSendResult.msg))}}function JL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),jr()),2&e){const e=na();no(1),Ma(" ",e.emailSendResult.debug," ")}}let eF=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.translate=t,this.dialog=n,this.notificationService=i,this.alertController=s,this.emailSendLoading=!1,this.emailSendResult={icon:"",msg:"",debug:"",error:!1}}ngOnInit(){}testEmailSend(){this.emailSendResult={icon:"paper-plane-outline",msg:"lang.emailSendInProgress",debug:"",error:!1};const e={sender:this.sendmailFrom,recipients:[this.recipientTest],subject:"["+this.translate.instant("lang.doNotReply")+"] "+this.translate.instant("lang.emailSendTest"),status:"EXPRESS",body:this.translate.instant("lang.emailSendTest"),isHtml:!1};this.emailSendLoading=!0,this.http.post("../rest/emails",e).pipe(Ov(e=>{this.emailSendResult=e.isSent?{icon:"checkmark-outline",msg:"lang.emailSendSuccess",debug:"",error:!1}:{icon:"close-outline",msg:"lang.emailSendFailed",debug:e.informations,error:!0}}),Iv(()=>this.emailSendLoading=!1)).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(LM),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-check-email-connection"]],inputs:{profileInfo:"profileInfo",sendmailFrom:"sendmailFrom",recipientTest:"recipientTest"},decls:25,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","recipientTest","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],["slot","start",3,"color","name"],[3,"color"],[1,"bash"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"form",3,4),Xr("ngSubmit",function(){return t.testEmailSend()}),Hr(9,"ion-content",null,5),Hr(11,"ion-item"),Hr(12,"ion-label",6),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",7),Xr("ngModelChange",function(e){return t.recipientTest=e}),jr(),jr(),Fr(16,KL,5,6,"ion-item",8),Fr(17,JL,2,1,"div",9),jr(),Hr(18,"ion-footer",10),Hr(19,"ion-toolbar"),Hr(20,"ion-buttons",11),Hr(21,"ion-button",12),Hr(22,"ion-label"),Da(23),hc(24,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(5),Oa(pc(6,9,"lang.emailSendTest")),no(8),Ma("",pc(14,11,"lang.mailTo")," *"),no(2),Vr("ngModel",t.recipientTest)("disabled",t.emailSendLoading),no(1),Vr("ngIf",""!=t.emailSendResult.msg),no(1),Vr("ngIf",t.emailSendResult.error),no(4),Vr("disabled",!e.form.valid||t.emailSendLoading),no(2),Oa(pc(24,13,"lang.connectionTest"))}},directives:[Vx,yC,Ax,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,ib,rm,Rm,Wu,Bx,Cx,Nx],pipes:[qA],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),e})();function tF(e,t){if(1&e&&(Hr(0,"ion-select-option",27),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id),no(1),Ma("",pc(2,2,e.label)," ")}}function nF(e,t){if(1&e&&(Hr(0,"ion-select-option",27),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id),no(1),Ma(" ",pc(2,2,e.label)," ")}}function iF(e,t){if(1&e){const e=qr();Hr(0,"form",5,6),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(2,"ion-content"),Hr(3,"ion-item"),Hr(4,"ion-label",7),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-select",8),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.type=t}),Fr(8,tF,3,4,"ion-select-option",9),jr(),jr(),Hr(9,"ion-grid"),Hr(10,"ion-row"),Hr(11,"ion-col",10),Hr(12,"ion-item"),Hr(13,"ion-label",7),Da(14),hc(15,"translate"),jr(),Hr(16,"ion-select",11),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.secure=t}),Fr(17,nF,3,4,"ion-select-option",9),jr(),jr(),jr(),Hr(18,"ion-col",12),Hr(19,"ion-item"),Hr(20,"ion-label",7),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-input",13),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.host=t}),jr(),jr(),jr(),Hr(24,"ion-col",10),Hr(25,"ion-item"),Hr(26,"ion-label",7),Da(27),hc(28,"translate"),jr(),Hr(29,"ion-input",14),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.port=t}),jr(),jr(),jr(),jr(),jr(),Hr(30,"ion-item"),Hr(31,"ion-toggle",15),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.auth=t})("ngModelChange",function(){return Lt(e),na().cleanAuthInfo()}),jr(),Hr(32,"ion-label"),Da(33),hc(34,"translate"),jr(),jr(),Hr(35,"ion-item"),Hr(36,"ion-label",7),Da(37),hc(38,"translate"),jr(),Hr(39,"ion-input",16),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.user=t}),jr(),jr(),Hr(40,"ion-item",17),Hr(41,"ion-button",18),Xr("click",function(){Lt(e);const t=na();return t.hidePassword=!t.hidePassword}),Ur(42,"ion-icon",19),jr(),Hr(43,"ion-label",7),Da(44),jr(),Hr(45,"ion-input",20),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.password=t}),jr(),jr(),Hr(46,"ion-item"),Hr(47,"ion-label",7),Da(48),hc(49,"translate"),jr(),Hr(50,"ion-input",21),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.from=t}),jr(),jr(),Hr(51,"ion-item",22),Hr(52,"div",23),Hr(53,"ion-button",24),Xr("click",function(){return Lt(e),na().checkConnection()}),Hr(54,"ion-label",25),Da(55),hc(56,"translate"),jr(),jr(),Hr(57,"ion-button",26),Hr(58,"ion-label",25),Da(59),hc(60,"translate"),jr(),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=Br(1),t=na();no(5),Ma("",pc(6,34,"lang.configurationType")," *"),no(2),Vr("ngModel",t.sendmail.type),no(1),Vr("ngForOf",t.smtpTypeList),no(6),Ma("",pc(15,36,"lang.smtpAuth")," * "),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.secure)("value",t.sendmail.secure),no(1),Vr("ngForOf",t.smtpSecList),no(4),Ma("",pc(22,38,"lang.host")," *"),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.host),no(4),Ma("",pc(28,40,"lang.port")," *"),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.port),no(2),Vr("ngModel",t.sendmail.auth)("checked",t.sendmail.auth)("disabled","smtp"!=t.sendmail.type),no(2),Oa(pc(34,42,"lang.enableAuth")),no(4),Ma("",pc(38,44,"lang.id")," *"),no(2),Vr("ngModel",t.sendmail.user)("disabled",!t.sendmail.auth||"smtp"!=t.sendmail.type),no(3),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(2),Ta("",t.passwordLanguage," ",t.sendmail.passwordAlreadyExists?"":"*",""),no(1),Vr("type",t.hidePassword?"password":"text")("ngModel",t.sendmail.password)("disabled",!t.sendmail.auth||"smtp"!=t.sendmail.type)("required",!t.sendmail.passwordAlreadyExists),no(3),Oa(pc(49,46,"lang.mailFrom")),no(2),Vr("ngModel",t.sendmail.from)("disabled","smtp"!=t.sendmail.type),no(5),Oa(pc(56,48,"lang.connectionTest")),no(2),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(60,50,"lang.validate"))}}let sF=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.route=n,this.signaturesService=i,this.notificationService=s,this.dialog=o,this.authService=r,this.modalController=a,this.loading=!0,this.title="",this.passwordLanguage="",this.hidePassword=!0,this.smtpTypeList=[{id:"smtp",label:"lang.smtpclient"},{id:"sendmail",label:"lang.smtprelay"},{id:"qmail",label:"lang.qmail"},{id:"mail",label:"lang.phpmail"}],this.smtpSecList=[{id:"",label:"lang.none"},{id:"ssl",label:"ssl"},{id:"tls",label:"tls"}]}ngOnInit(){this.route.params.subscribe(()=>{this.http.get("../rest/configurations/1").pipe(k(e=>e.configuration),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.sendmail=e.value,this.sendmailLabel=e.label,this.sendmailClone=JSON.parse(JSON.stringify(this.sendmail)),this.title=this.translate.instant("lang.manage_email_configuration"),this.passwordLanguage=this.translate.instant(this.sendmail.passwordAlreadyExists?"lang.passwordModification":"lang.password")}})})}canValidate(){return JSON.stringify(this.sendmail)!==JSON.stringify(this.sendmailClone)}onSubmit(){this.loading=!0,this.http.patch("../rest/configurations/1",{value:this.sendmail,label:this.sendmailLabel}).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.sendmailClone=JSON.parse(JSON.stringify(this.sendmail)),this.notificationService.success("lang.emailConfigurationUpdated")}})}cleanAuthInfo(){this.sendmail.passwordAlreadyExists=!1,this.sendmail.user="",this.sendmail.password=""}checkConnection(e){return t=this,void 0,i=function*(){const e=JSON.parse(JSON.stringify(this.authService.user));JSON.stringify(this.sendmailClone)!==JSON.stringify(this.sendmail)&&this.onSubmit();const t=yield this.modalController.create({component:eF,componentProps:{sendmailFrom:this.sendmail.from,recipientTest:e.email}});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(oS),zr(QA),zr(LM),zr(aS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-sendmail"]],decls:8,vars:3,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","sendmailForm",3,"ngSubmit",4,"ngIf"],["id","sendmailForm",2,"display","contents",3,"ngSubmit"],["sendmailForm","ngForm"],["color","secondary","position","floating"],["name","smtpType","interface","popover","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["size","2"],["name","SMTPSecure","interface","popover","required","",3,"disabled","ngModel","value","ngModelChange"],["size","8"],["name","host","required","",3,"disabled","ngModel","ngModelChange"],["type","number","name","port","required","",3,"disabled","ngModel","ngModelChange"],["name","SMTPAuth",3,"ngModel","checked","disabled","ngModelChange"],["name","user","required","",3,"ngModel","disabled","ngModelChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","password",3,"type","ngModel","disabled","required","ngModelChange"],["name","mailFrom","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],[2,"font-size","13px"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[3,"value"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Fr(7,iF,61,52,"form",4)),2&e&&(Vr("translucent",!0),no(6),Oa(t.title),no(1),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Wu,Lm,am,Mm,Tx,Gx,Zx,uC,ox,Jm,rm,Rm,ju,zx,aC,Mx,Wx,ax,tx,vC,J_,Cx,Nx,ib,hC],pipes:[qA],styles:[".testSendTo[_ngcontent-%COMP%]{width:95%;margin-top:10px;margin-left:10px}.bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px;word-wrap:break-word}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:25px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.cancel[_ngcontent-%COMP%]{position:absolute;top:10px;left:0;height:65px;width:65px;font-size:35px;color:#fff}.auth-container[_ngcontent-%COMP%]{display:flex}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100px;padding-right:10px}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:50px;padding-left:10px}@media (max-width:360px){.auth-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100%;padding-right:0}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{width:100%;flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:100%;padding-left:0}}"]}),e})();function oF(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function rF(e,t,n,i){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=i}function aF(e,t){var n=this,i=t||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.throttle="throttle"in i?i.throttle:16,this.minDistance="minDistance"in i?i.minDistance:5,this._strokeMoveUpdate=this.throttle?function(e,t,n){var i,s,o,r=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:Date.now(),r=null,o=e.apply(i,s),r||(i=s=null)};return function(){var c=Date.now();a||!1!==n.leading||(a=c);var d=t-(c-a);return i=this,s=arguments,d<=0||d>t?(r&&(clearTimeout(r),r=null),a=c,o=e.apply(i,s),r||(i=s=null)):r||!1===n.trailing||(r=setTimeout(l,d)),o}}(aF.prototype._strokeUpdate,this.throttle):aF.prototype._strokeUpdate,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onBegin=i.onBegin,this.onEnd=i.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()}oF.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},oF.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},oF.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},rF.prototype.length=function(){for(var e=0,t=void 0,n=void 0,i=0;i<=10;i+=1){var s=i/10,o=this._point(s,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(s,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var a=o-t,l=r-n;e+=Math.sqrt(a*a+l*l)}t=o,n=r}return e},rF.prototype._point=function(e,t,n,i,s){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*i*(1-e)*e*e+s*e*e*e},aF.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},aF.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Image,s=n.ratio||window.devicePixelRatio||1,o=n.width||this._canvas.width/s,r=n.height||this._canvas.height/s;this._reset(),i.src=e,i.onload=function(){t._ctx.drawImage(i,0,0,o,r)},this._isEmpty=!1},aF.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return(t=this._canvas).toDataURL.apply(t,[e].concat(i))}},aF.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},aF.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)},aF.prototype.isEmpty=function(){return this._isEmpty},aF.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},aF.prototype._strokeUpdate=function(e){var t=this._createPoint(e.clientX,e.clientY),n=this._data[this._data.length-1],i=n&&n[n.length-1],s=i&&t.distanceTo(i)<this.minDistance;if(!i||!s){var o=this._addPoint(t),r=o.curve,a=o.widths;r&&a&&this._drawCurve(r,a.start,a.end),this._data[this._data.length-1].push({x:t.x,y:t.y,time:t.time,color:this.penColor})}},aF.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)},aF.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},aF.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)},aF.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},aF.prototype._createPoint=function(e,t,n){var i=this._canvas.getBoundingClientRect();return new oF(e-i.left,t-i.top,n||(new Date).getTime())},aF.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 i=(n=this._calculateCurveControlPoints(t[0],t[1],t[2])).c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var s=new rF(t[1],i,n.c1,t[2]),o=this._calculateCurveWidths(s);return t.shift(),{curve:s,widths:o}}return{}},aF.prototype._calculateCurveControlPoints=function(e,t,n){var i=e.x-t.x,s=e.y-t.y,o=t.x-n.x,r=t.y-n.y,a=(e.x+t.x)/2,l=(e.y+t.y)/2,c=(t.x+n.x)/2,d=(t.y+n.y)/2,u=Math.sqrt(i*i+s*s),h=Math.sqrt(o*o+r*r),p=h/(u+h),g=t.x-(c+(a-c)*p),f=t.y-(d+(l-d)*p);return{c1:new oF(a+g,l+f),c2:new oF(c+g,d+f)}},aF.prototype._calculateCurveWidths=function(e){var t={start:null,end:null},n=this.velocityFilterWeight*e.endPoint.velocityFrom(e.startPoint)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(n);return t.start=this._lastWidth,t.end=i,this._lastVelocity=n,this._lastWidth=i,t},aF.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},aF.prototype._drawPoint=function(e,t,n){var i=this._ctx;i.moveTo(e,t),i.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},aF.prototype._drawCurve=function(e,t,n){var i=this._ctx,s=n-t,o=Math.floor(e.length());i.beginPath();for(var r=0;r<o;r+=1){var a=r/o,l=a*a,c=l*a,d=1-a,u=d*d,h=u*d,p=h*e.startPoint.x;p+=3*u*a*e.control1.x,p+=3*d*l*e.control2.x;var g=h*e.startPoint.y;g+=3*u*a*e.control1.y,g+=3*d*l*e.control2.y,this._drawPoint(p+=c*e.endPoint.x,g+=c*e.endPoint.y,t+c*s)}i.closePath(),i.fill()},aF.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()},aF.prototype._fromData=function(e,t,n){for(var i=0;i<e.length;i+=1){var s=e[i];if(s.length>1)for(var o=0;o<s.length;o+=1){var r=s[o],a=new oF(r.x,r.y,r.time),l=r.color;if(0===o)this.penColor=l,this._reset(),this._addPoint(a);else if(o!==s.length-1){var c=this._addPoint(a),d=c.curve,u=c.widths;d&&u&&t(d,u,l)}}else this._reset(),n(s[0])}},aF.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,i=Math.max(window.devicePixelRatio||1,1),s=n.width/i,o=n.height/i,r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttributeNS(null,"width",n.width),r.setAttributeNS(null,"height",n.height),this._fromData(t,function(e,t,n){var i=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var s="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);i.setAttribute("d",s),i.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),i.setAttribute("stroke",n),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),r.appendChild(i)}},function(t){var n=document.createElement("circle"),i="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",i),n.setAttribute("cx",t.x),n.setAttribute("cy",t.y),n.setAttribute("fill",t.color),r.appendChild(n)});var a='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+s+" "+o+'" width="'+s+'" height="'+o+'">',l=r.innerHTML;if(void 0===l){var c=document.createElement("dummy"),d=r.childNodes;c.innerHTML="";for(var u=0;u<d.length;u+=1)c.appendChild(d[u].cloneNode(!0));l=c.innerHTML}return"data:image/svg+xml;base64,"+btoa(a+l+"</svg>")},aF.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},aF.prototype.toData=function(){return this._data};var lF=aF;let cF=(()=>{class e{constructor(e){this.elementRef=e,this.options=this.options||{},this.onBeginEvent=new yc,this.onEndEvent=new yc}ngAfterContentInit(){const 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 lF(e,this.options),this.signaturePad.onBegin=this.onBegin.bind(this),this.signaturePad.onEnd=this.onEnd.bind(this)}ngOnDestroy(){const e=this.elementRef.nativeElement.querySelector("canvas");e.width=0,e.height=0}resizeCanvas(){const 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()}toData(){return this.signaturePad?this.signaturePad.toData():[]}fromData(e){this.signaturePad.fromData(e)}toDataURL(e,t){return this.signaturePad.toDataURL(e,t)}fromDataURL(e,t={}){!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)}clear(){this.signaturePad.clear()}isEmpty(){return this.signaturePad.isEmpty()}off(){this.signaturePad.off()}on(){this.signaturePad.on()}set(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}}onBegin(){this.onBeginEvent.emit(!0)}onEnd(){this.onEndEvent.emit(!0)}queryPad(){return this.signaturePad}}return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["signature-pad"]],inputs:{options:"options"},outputs:{onBeginEvent:"onBeginEvent",onEndEvent:"onEndEvent"},decls:1,vars:0,template:function(e,t){1&e&&Ur(0,"canvas")},encapsulation:2}),e})(),dF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})();const uF=["signaturePad"],hF=function(e,t){return{"border-color":e,"background-color":t}};function pF(e,t){if(1&e){const e=qr();Wr(0,20),Hr(1,"input",21),Xr("change",function(){Lt(e);const n=t.$implicit;return na().onColorChange(n)}),jr(),Gr()}if(2&e){const e=t.$implicit,n=na();no(1),Vr("checked",0===n.idx)("value",e.id)("ngStyle",lc(3,hF,e.id,e.id))}}let gF=(()=>{class e{constructor(e,t,n,i,s,o,r){this.translate=e,this.http=t,this.signaturesService=n,this.notificationService=i,this.authService=s,this.localStorage=o,this.modalController=r,this.reloaded=new yc,this.penColors=[{id:"black"},{id:"#1a75ff"},{id:"#FF0000"}],this.disableState=!1,this.signaturePadOptions={minWidth:1,maxWidth:2.5,backgroundColor:"rgba(255, 255, 255, 0)",canvasWidth:600,canvasHeight:400}}ngAfterViewInit(){this.localStorage.get("signature")}onColorChange(e){this.selectedColor=Object.assign({},this.selectedColor,e),this.signaturePad.set("penColor",this.selectedColor.id)}onDotChange(e){this.signaturePad.set("minWidth",parseFloat(e)),this.signaturePad.set("maxWidth",parseFloat(e)+2)}drawComplete(){this.localStorage.save("signature",JSON.stringify(this.signaturePad.toData())),this.haveSigned=!0}drawClear(){this.signaturePad.clear(),this.haveSigned=!1}closePad(){this.modalController.dismiss("cancel")}saveSignature(){this.disableState=!0,this.haveSigned=!0;const e=this.signaturePad.toDataURL("image/png").replace("data:image/png;base64,","");this.localStorage.save("signature",JSON.stringify(e));const t={id:0,encodedSignature:e,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",t).pipe(Iv(()=>{this.disableState=!1})).subscribe(e=>{t.id=e.signatureId,this.signaturesService.signaturesList.unshift({id:t.id,encodedSignature:t.encodedSignature}),this.modalController.dismiss("reload"),this.notificationService.success("lang.signatureRegistered")})}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(QA),zr(aS),zr(rS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-pad"]],viewQuery:function(e,t){if(1&e&&Tc(uF,1),2&e){let e;Mc(e=Rc())&&(t.signaturePad=e.first)}},outputs:{reloaded:"reloaded"},decls:34,vars:16,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],["color","light",1,"pad"],[1,"pad-actions"],[1,"pad-actions-boxed"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"btn",3,"click"],["type","range","name","dot","min","1","max","10","step","1","value","1",1,"range",3,"input"],["padContent",""],[1,"pad"],[1,"pad-draw"],[1,"padContent",3,"options","onEndEvent"],["signaturePad",""],[1,"draw"],[1,"footer-buttons"],["color","danger",3,"click"],["color","success",3,"click"],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle","change"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.closePad()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header",0),Hr(9,"ion-toolbar",5),Hr(10,"section",6),Hr(11,"div",7),Fr(12,pF,2,6,"ng-container",8),jr(),Hr(13,"button",9),Xr("click",function(){return t.drawClear()}),Da(14),hc(15,"translate"),jr(),Hr(16,"div",7),Hr(17,"input",10),Xr("input",function(e){return t.onDotChange(e.target.value)}),jr(),jr(),jr(),jr(),jr(),Hr(18,"ion-content",null,11),Hr(20,"article",12),Hr(21,"section",13),Hr(22,"signature-pad",14,15),Xr("onEndEvent",function(){return t.drawComplete()}),jr(),jr(),Ur(24,"div",16),jr(),jr(),Hr(25,"ion-footer",17),Hr(26,"ion-button",18),Xr("click",function(){return t.closePad()}),Hr(27,"ion-label"),Da(28),hc(29,"translate"),jr(),jr(),Hr(30,"ion-button",19),Xr("click",function(){return t.saveSignature()}),Hr(31,"ion-label"),Da(32),hc(33,"translate"),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,8,"lang.createNewSignature")),no(5),Vr("translucent",!0),no(4),Vr("ngForOf",t.penColors),no(2),Oa(pc(15,10,"lang.erase")),no(8),Vr("options",t.signaturePadOptions),no(6),Oa(pc(29,12,"lang.cancel")),no(4),Oa(pc(33,14,"lang.save")))},directives:[Vx,yC,bC,Ax,Cx,Nx,ju,Tx,cF,Bx,Zx,Xu],pipes:[qA],styles:[".pad-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly;padding:10px 0}.pad-actions-boxed[_ngcontent-%COMP%]{border-radius:60px;height:60px;background:#f1f4f4;padding:0 20px}.pad-actions-boxed[_ngcontent-%COMP%], .pad-draw[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.pad-draw[_ngcontent-%COMP%]{background:#fff}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:checked, .pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.padContent[_ngcontent-%COMP%]{border:1px dashed hsla(0,0%,59.2%,.55)}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),e})();const fF=["slides"];function mF(e,t){if(1&e&&(Hr(0,"small",9),Da(1),hc(2,"translate"),jr()),2&e){const e=na();no(1),Ta("",e.currentWorflow.signaturePositions.length," ",pc(2,2,"lang.prePositionings"),"")}}function bF(e,t){1&e&&(Hr(0,"ion-label",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.substitutedSignature")))}function vF(e,t){if(1&e){const e=qr();Hr(0,"ion-card",27),Hr(1,"img",28),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).selectSignature(n)}),jr(),Hr(2,"ion-toolbar",29),Fr(3,bF,3,3,"ion-label",30),Hr(4,"ion-buttons",31),Hr(5,"ion-button",32),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).selectSignature(n)}),hc(6,"translate"),Ur(7,"ion-icon",33),jr(),jr(),Hr(8,"ion-buttons",3),Hr(9,"ion-button",34),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).removeSignature(n)}),hc(10,"translate"),Ur(11,"ion-icon",35),jr(),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(4);no(1),aa("id","imgSign_",n,""),Vr("src",i.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os),no(2),Vr("ngIf",e.substituted),no(2),Vr("title",pc(6,5,"lang.selectSignature")),no(4),Vr("title",pc(10,7,"lang.removeSignature"))}}function yF(e,t){if(1&e&&(Hr(0,"ion-slide",24),Hr(1,"div",25),Fr(2,vF,12,9,"ion-card",26),jr(),jr()),2&e){const e=t.$implicit;no(2),Vr("ngForOf",e)}}function wF(e,t){if(1&e&&(Hr(0,"ion-slides",21,22),Fr(2,yF,3,1,"ion-slide",23),jr()),2&e){const e=na(2);Vr("options",e.slideOpts),no(2),Vr("ngForOf",e.signaturesList)}}function _F(e,t){if(1&e){const e=qr();Wr(0),Fr(1,wF,3,2,"ion-slides",10),Hr(2,"ion-fab",11),Hr(3,"ion-fab-button",12),Ur(4,"ion-icon",13),jr(),Hr(5,"ion-fab-list",14),Hr(6,"ion-fab-button",15),Xr("click",function(){return Lt(e),na().addNewDate()}),hc(7,"translate"),Ur(8,"ion-icon",16),jr(),Hr(9,"ion-fab-button",15),Xr("click",function(){return Lt(e),Br(16).click()}),hc(10,"translate"),Ur(11,"ion-icon",17),jr(),Hr(12,"ion-fab-button",15),Xr("click",function(){return Lt(e),na().openSignatures()}),hc(13,"translate"),Ur(14,"ion-icon",18),jr(),jr(),jr(),Hr(15,"input",19,20),Xr("change",function(t){return Lt(e),na().handleFileInput(t.target.files)}),jr(),Gr()}if(2&e){const e=na();no(1),Vr("ngIf",!e.loading),no(5),Vr("title",pc(7,4,"lang.addNewDate")),no(3),Vr("title",pc(10,6,"lang.importNewSignature")),no(3),Vr("title",pc(13,8,"lang.createNewSignature"))}}function xF(e,t){1&e&&(Hr(0,"div",37),Ur(1,"ion-icon",38),Hr(2,"div"),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Ma(" ",pc(4,1,"lang.certifiedDocumentMsg")," "))}let CF=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.translate=e,this.http=t,this.signaturesService=n,this.bottomSheetRef=i,this.sanitization=s,this.notificationService=o,this.authService=r,this.localStorage=a,this.renderer=l,this.modalController=c,this.loading=!0,this.scrolling=!1,this.signPosMode=!1,this.datePosMode=!1,this.title="lang.signatures",this.slideOpts={initialSlide:0,speed:400,direction:"vertical"},this.signaturesList=[],this.inAllPage=!1,this.count=0}dismissModal(){this.modalController.dismiss("cancel")}scroll(e){this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(()=>{this.scrolling=!1},500))}ngOnInit(){this.initSignatures(),this.signPosMode=this.currentWorflow.signaturePositions.length>0&&this.emptySigns(),this.getImgDimensions(this.content)}initSignatures(){this.signaturesList=[];let e=[],t=0;this.signaturesService.signaturesListSubstituted.concat(this.signaturesService.signaturesList).forEach(n=>{6===t?(this.signaturesList.push(e),e=[n],t=0):(e.push(n),t++)}),e.length>0&&this.signaturesList.push(e)}ionViewDidEnter(){this.loading=!1}openSignatures(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:gF,cssClass:"my-custom-class"});yield e.present();const{data:t}=yield e.onWillDismiss();"reload"===t&&this.initSignatures()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}mustPrePosSignature(e,t){return!(!this.signPosMode||0===e.length&&0===t.length)}selectSignature(e){const t=document.getElementById("imgSign_"+this.signaturesList[0].indexOf(e).toString());this.signatureWidth=t.naturalWidth;let n=25;this.signatureScaling=void 0!==this.authService.user.preferences.signatureScaling&&this.authService.user.preferences.signatureScaling,n=!1===this.signatureScaling?this.signatureWidth>=this.documentWidth?100:100*this.signatureWidth/this.documentWidth:this.signatureScaling,e.width=n;const i=this.currentWorflow.signaturePositions.filter(e=>e.page===this.signaturesService.currentPage),s=this.currentWorflow.signaturePositions.filter(e=>e.page!==this.signaturesService.currentPage);this.mustPrePosSignature(i,s)?(i.length>0&&(e.positionX=i[0].positionX,e.positionY=i[0].positionY,this.storeSignature(e,this.signaturesService.currentPage)),s.length>0&&s.forEach(t=>{e.positionX=t.positionX,e.positionY=t.positionY,this.storeSignature(e,t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.signatureInDocAddedAlt"):this.translate.get("lang.signaturesInDocAdded",{0:this.currentWorflow.signaturePositions.map(e=>e.page)}).subscribe(e=>{this.notificationService.success(e)}),this.modalController.dismiss(0===i.length&&s.length>0?{redirectPage:s[0].page}:"success")):(e.positionX=60,e.positionY=80,this.storeSignature(e,this.signaturesService.currentPage),this.notificationService.success("lang.signatureInDocAdded"),this.modalController.dismiss("success"))}addNewDate(){const e=this.currentWorflow.datePositions.filter(e=>e.page===this.signaturesService.currentPage),t=this.currentWorflow.datePositions.filter(e=>e.page!==this.signaturesService.currentPage);if(0===e.length&&0===t.length){const e={width:13e3/this.signaturesService.workingAreaWidth,height:3e3/this.signaturesService.workingAreaHeight,positionX:0,positionY:0,font:"Arial",size:15,color:"#666",format:"d MMMM y"};e.positionX=60,e.positionY=80,this.storeDate(e,this.signaturesService.currentPage),this.notificationService.success("lang.dateInDocAdded"),this.modalController.dismiss("success")}else e.length>0&&this.storeDate({width:e[0].width,height:e[0].height,positionX:e[0].positionX,positionY:e[0].positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},this.signaturesService.currentPage),t.forEach(e=>{this.storeDate({width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},e.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.dateInDocAddedAlt"):this.translate.get("lang.dateInDocAdded",{0:this.currentWorflow.signaturePositions.map(e=>e.page)}).subscribe(e=>{this.notificationService.success(e)}),this.modalController.dismiss(0===e.length&&t.length>0?{redirectPage:t[0].page}:"success")}storeSignature(e,t){this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}storeDate(e,t){this.signaturesService.datesContent[t]||(this.signaturesService.datesContent[t]=[]),this.signaturesService.datesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}removeSignature(e){confirm(this.translate.instant("lang.wantDeleteSignature"))&&this.http.delete("../rest/users/"+this.authService.user.id+"/signatures/"+e.id).subscribe(()=>{this.signaturesService.signaturesList=this.signaturesService.signaturesList.filter(t=>t.id!==e.id),this.notificationService.success("lang.signatureDeleted"),this.initSignatures()},e=>{this.notificationService.error(e.error.errors)})}toggleAllPage(){this.inAllPage=!this.inAllPage}tapEvent(e,t,n){this.count++,setTimeout(()=>{1===this.count?this.count=0:this.count>1&&(this.count=0,this.selectSignature(e))},250)}handleFileInput(e){const t=e.item(0);if(t.size<=1e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(t.type)){const e=new FileReader;e.onloadend=n=>{const i=e.result.toString().replace("data:"+t.type+";base64,","");this.localStorage.save("signature",JSON.stringify(i));const s={id:0,encodedSignature:i,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",s).subscribe(e=>{s.id=e.signatureId,this.signaturesService.signaturesList.unshift({id:s.id,encodedSignature:s.encodedSignature}),this.initSignatures(),this.notificationService.success("lang.signatureRegistered")})},e.readAsDataURL(t)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.maxFileSizeReached")}emptySigns(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}getImgDimensions(e){const t=atob(e.slice(0,50)).slice(16,24),n=Uint8Array.from(t,e=>e.charCodeAt(0)),i=new DataView(n.buffer);this.documentWidth=i.getInt32(0)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(dM),zr(qh),zr(QA),zr(aS),zr(rS),zr(cl),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-signatures"]],viewQuery:function(e,t){if(1&e&&Tc(fF,1),2&e){let e;Mc(e=Rc())&&(t.slides=e.first)}},inputs:{currentWorflow:"currentWorflow",content:"content"},decls:13,vars:7,consts:[[3,"translucent"],["color","primary"],["class","secondary",4,"ngIf"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"wheel"],[4,"ngIf","ngIfElse"],["elseCertified",""],[1,"secondary"],["pager","true",3,"options",4,"ngIf"],["horizontal","start","vertical","bottom","slot","fixed"],["color","primary","close-icon","chevron-down"],["name","chevron-up-outline"],["side","top"],["color","light",3,"title","click"],["name","calendar-outline"],["name","download-outline"],["name","add-outline"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["pager","true",3,"options"],["slides",""],["style","display: grid;grid-template-columns: repeat(2, 1fr);",4,"ngFor","ngForOf"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],[2,"display","contents"],["class","sign-image",4,"ngFor","ngForOf"],[1,"sign-image"],[2,"width","190px","cursor","pointer",3,"id","src","click"],[2,"position","absolute","top","0px"],["color","secondary",4,"ngIf"],["slot","start"],["size","small","color","primary",3,"title","click"],["slot","icon-only","name","arrow-up-circle-outline"],["size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["color","secondary"],[1,"certified-msg"],["slot","start","name","ribbon-outline","color","success",2,"font-size","70px"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),Fr(5,mF,3,4,"small",2),jr(),Hr(6,"ion-buttons",3),Hr(7,"ion-button",4),Xr("click",function(){return t.dismissModal()}),Ur(8,"ion-icon",5),jr(),jr(),jr(),jr(),Hr(9,"ion-content",6),Xr("wheel",function(e){return t.scroll(e)}),Fr(10,_F,17,10,"ng-container",7),Fr(11,xF,5,3,"ng-template",null,8,zc),jr()),2&e){const e=Br(12);Vr("translucent",!0),no(3),Ma("",pc(4,5,"lang.signatures")," "),no(2),Vr("ngIf",t.signPosMode),no(5),Vr("ngIf",!t.signaturesService.stampLock)("ngIfElse",e)}},directives:[Vx,yC,bC,Wu,Ax,Cx,Nx,Tx,Rx,Lx,Fx,gC,ju,pC,Sx,Zx],pipes:[qA],styles:[".secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.signatures[_ngcontent-%COMP%]{flex-direction:column}.signatures[_ngcontent-%COMP%], .signatures-top[_ngcontent-%COMP%]{display:flex;align-items:center}.signatures-top[_ngcontent-%COMP%]{height:105px;width:100%;justify-content:space-around;border-bottom:1px solid #e9e8e8}.signatures[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{width:100%;padding-top:40px;overflow:auto;display:flex;justify-content:center;flex-wrap:wrap;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{transition:all .3s ease-in-out;height:190px;width:190px;margin:8px;border:1px solid hsla(0,0%,59.2%,.55);border-radius:5px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.04);display:flex;justify-content:center;align-items:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%] .substituteInfo[_ngcontent-%COMP%]{color:#f99830;font-size:10px;position:absolute;top:0;left:10px}.signatures[_ngcontent-%COMP%] .list-item.create[_ngcontent-%COMP%]{background-color:#f1f4f4;flex-direction:column;text-align:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:active, .signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{transform:translateY(-20px);cursor:pointer}.sign_icon[_ngcontent-%COMP%]{position:absolute;top:5px}.sign_icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff;height:auto}.add_icon[_ngcontent-%COMP%]{right:5px}.remove_icon[_ngcontent-%COMP%]{left:5px}.sign-image[_ngcontent-%COMP%]{height:95%}.certified-msg[_ngcontent-%COMP%], .sign-image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.certified-msg[_ngcontent-%COMP%]{height:100%;flex-direction:column;padding:40px}.certified-msg[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:30px;color:var(--ion-color-medium)}"]}),e})();const AF=["mainContent"],SF=["canvas"],kF=["img"],EF=["nav"],PF=function(e,t){return{"border-color":e,"background-color":t}};function DF(e,t){if(1&e&&(Wr(0,28),Ur(1,"input",29),Gr()),2&e){const e=t.$implicit,n=na(2);no(1),Vr("checked",0===n.idx)("value",e.id)("ngStyle",lc(3,PF,e.id,e.id))}}function OF(e,t){if(1&e){const e=qr();Hr(0,"ion-content",null,8),Hr(2,"div",9),Fr(3,DF,2,6,"ng-container",10),Ur(4,"hr"),Hr(5,"i",11),Xr("click",function(){return Lt(e),na().undo()}),jr(),jr(),Hr(6,"ion-fab",12),Hr(7,"ion-fab-button",13),Ur(8,"ion-icon",14),jr(),Hr(9,"ion-fab-list",15),Hr(10,"ion-fab-button",16),Xr("click",function(t){Lt(e);const n=na();return t.stopPropagation(),n.editMode=!n.editMode}),hc(11,"translate"),hc(12,"translate"),Ur(13,"ion-icon",17),jr(),Hr(14,"ion-fab-button",18),Xr("click",function(t){Lt(e);const n=na();return t.stopPropagation(),n.getImageDimensions(!n.originalSize)}),hc(15,"translate"),hc(16,"translate"),Ur(17,"ion-icon",17),jr(),jr(),jr(),Hr(18,"div",19),Hr(19,"drag-scroll",20,21),Hr(21,"div",22,23),Hr(23,"ion-img",24,25),Xr("ionImgDidLoad",function(t){return Lt(e),na().imageLoaded(t)}),jr(),Ur(25,"canvas",26,27),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(3),Vr("ngForOf",e.penColors),no(7),Vr("color",e.editMode?"danger":"success")("title",e.editMode?pc(11,19,"lang.lockEdition"):pc(12,21,"lang.unlockEdition")),no(3),Vr("name",e.editMode?"lock-closed-outline":"lock-open-outline"),no(1),Vr("title",e.originalSize?pc(15,23,"lang.originalSize"):pc(16,25,"lang.screenSize")),no(3),Vr("name",e.originalSize?"scan-outline":"crop-outline"),no(2),fa("max-width",e.areaWidth,"px"),no(2),fa("width",e.areaWidth,"px")("height",e.areaHeight,"px"),no(2),fa("width",e.areaWidth,"px")("height",e.areaHeight,"px"),Vr("src",e.content),no(2),fa("display",e.editMode?"initial":"none")}}let MF=(()=>{class e{constructor(e,t,n,i,s){this.signaturesService=e,this.notificationService=t,this.authService=n,this.localStorage=i,this.modalController=s,this.triggerEvent=new yc,this.penColors=[{id:"#000000"},{id:"#1a75ff"},{id:"#FF0000"}],this.areaWidth=0,this.areaHeight=0,this.editMode=!0,this.originalSize=!0,this.loading=!0}ngOnInit(){setTimeout(()=>{this.loading=!1},100)}imageLoaded(e){this.getImageDimensions(!1)}getImageDimensions(e=!1){this.originalSize=e;const t=new Image;t.onload=n=>{this.areaWidth=n.target.naturalWidth,this.areaHeight=n.target.naturalHeight,e||this.getAreaDimension(),this.editMode&&setTimeout(()=>{const e=$("#myBounds").offset();let n,i,s;n=1===Math.sign(e.top)||this.precentScrollTop<=Math.abs(e.top)?this.precentScrollTop-e.top:-1===Math.sign(e.top)&&this.precentScrollTop<=-Math.sign(e.top)?2*(this.precentScrollTop-e.top):100*(this.precentScrollTop-e.top);const o=this.precentScrollLeft-e.left;i=this.precentScrollLeft-document.documentElement.offsetLeft,s=this.precentScrollTop-document.documentElement.offsetTop,i=i/this.areaWidth*100,s=s/this.areaHeight*100,document.getElementsByClassName("drag-scroll-content")[1].scrollTo(o,n),t.style.transform="translate(-"+i+"%,-"+s+"%) scale(2)",this.initPad()},200)},t.src=this.content}getAreaDimension(){const e=100*this.mainContent.el.offsetWidth/this.areaWidth;this.areaWidth=e*this.areaWidth/100,this.areaHeight=e*this.areaHeight/100}dismissModal(){this.modalController.dismiss("cancel")}initPad(){$("#myCanvas").sign({mode:this.authService.user.preferences.writingMode,lineWidth:this.authService.user.preferences.writingSize,changeColor:$(".radio"),undo:$(".undo"),height:this.areaHeight,width:this.areaWidth,fixHeight:56,fixWidth:0,mobileMode:this.signaturesService.mobileMode}),$("input[value='"+this.authService.user.preferences.writingColor+"']").trigger("click")}validateAnnotation(){this.signaturesService.notesContent[this.signaturesService.currentPage]||(this.signaturesService.notesContent[this.signaturesService.currentPage]=[]),this.signaturesService.notesContent[this.signaturesService.currentPage].push({fullPath:this.canvas.nativeElement.toDataURL("image/png"),positionX:0,positionY:0,height:this.signaturesService.workingAreaHeight,width:this.signaturesService.workingAreaWidth}),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.modalController.dismiss(""),this.notificationService.success("lang.annotationAdded")}undo(){}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(QA),zr(aS),zr(rS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-note-pad"]],viewQuery:function(e,t){if(1&e&&(Tc(AF,1),Tc(SF,1),Tc(kF,1),Tc(EF,1,Zk)),2&e){let e;Mc(e=Rc())&&(t.mainContent=e.first),Mc(e=Rc())&&(t.canvas=e.first),Mc(e=Rc())&&(t.img=e.first),Mc(e=Rc())&&(t.ds=e.first)}},inputs:{content:"content",precentScrollTop:"precentScrollTop",precentScrollLeft:"precentScrollLeft"},outputs:{triggerEvent:"triggerEvent"},decls:16,vars:11,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],[2,"text-align","center"],["color","danger","shape","round","fill","outline","size","large",3,"click"],[2,"font-size","13px"],["color","success","shape","round","fill","outline","size","large",2,"margin-left","50px",3,"click"],["mainContent",""],[1,"tool-content","tool-content-right"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"fa","fa-undo","fa-2x","undo",3,"click"],["vertical","top","horizontal","start","slot","fixed","activated",""],["close-icon","chevron-up"],["name","chevron-down"],["side","bottom"],[3,"color","title","click"],[3,"name"],[3,"title","click"],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto"],["nav",""],[2,"position","relative"],["myBounds",""],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],["id","myCanvas",2,"position","absolute","top","0px","left","0px"],["canvas",""],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),jr(),Fr(5,OF,27,27,"ion-content",2),Hr(6,"ion-footer",3),Hr(7,"div",4),Hr(8,"ion-button",5),Xr("click",function(){return t.dismissModal()}),Hr(9,"ion-label",6),Da(10),hc(11,"translate"),jr(),jr(),Hr(12,"ion-button",7),Xr("click",function(){return t.validateAnnotation()}),Hr(13,"ion-label",6),Da(14),hc(15,"translate"),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,5,"lang.annotateDocument")),no(2),Vr("ngIf",!t.loading),no(5),Oa(pc(11,7,"lang.cancel")),no(4),Oa(pc(15,9,"lang.save")))},directives:[Vx,yC,bC,Wu,Bx,Cx,Zx,Tx,ju,Rx,Lx,Nx,Fx,Zk,Hx,Xu],pipes:[qA],styles:[".tool-content[_ngcontent-%COMP%]{position:fixed}.fullscreen[_ngcontent-%COMP%]{--width:100%;--height:100%}.tool-content[_ngcontent-%COMP%]{z-index:1;display:flex;position:absolute;background:hsla(0,0%,50.2%,.30196078431372547);border-radius:20px;top:170px;transform:translateY(-50%) rotate(-90deg);padding:10px}.tool-content-left[_ngcontent-%COMP%]{left:-40px}.tool-content-right[_ngcontent-%COMP%]{right:-40px}.undo[_ngcontent-%COMP%]{cursor:pointer;transform:rotate(90deg);transition:all .2s}.undo[_ngcontent-%COMP%]:active{transform:rotate(90deg) scale(1.5)}.radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.radio[_ngcontent-%COMP%]:checked, .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.footer-buttons[_ngcontent-%COMP%]{display:grid;padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),e})(),TF=(()=>{class e{constructor(e,t,n){this.http=e,this.signaturesService=t,this.router=n,this.currentIndex=0,this.offset=0,this.limit=10}resfreshDocuments(e=!1){this.http.get("../rest/documents?limit="+(this.limit+this.offset)+"&offset=0&mode="+this.signaturesService.mode).subscribe(t=>{this.signaturesService.documentsList=t.documents,this.signaturesService.documentsListCount=t.count,e&&this.router.navigate(void 0!==this.signaturesService.documentsList[this.currentIndex]?["/documents/"+this.signaturesService.documentsList[this.currentIndex].id]:this.signaturesService.documentsList.length>0?["/documents/"+this.signaturesService.documentsList[0].id]:["/home"])})}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(oS),gi(r_))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),IF=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.filtersService=t,this.authService=n,this.bottomSheetRef=i,this.date=new Date}ngOnInit(){setTimeout(()=>{this.signaturesService.currentToobal="mainDocumentDetail",this.filtersService.resfreshDocuments(!0),this.bottomSheetRef.dismiss()},2e3)}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(TF),zr(aS),zr(lM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"red",2,"text-align","center"],[1,"fa","fa-thumbs-down","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"h1"),Ur(2,"i",1),jr(),Hr(3,"p"),Da(4),hc(5,"translate"),jr(),Hr(6,"p",2),Da(7),jr(),Hr(8,"p",3),Da(9),hc(10,"translate"),hc(11,"date"),hc(12,"translate"),hc(13,"date"),jr(),jr()),2&e&&(no(4),Oa(pc(5,7,"lang.documentRefusedAs")),no(3),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(2),Ra("",pc(10,9,"lang.onRange")," ",gc(11,11,t.date,"dd/MM/yyyy")," ",pc(12,14,"lang.atRange")," ",gc(13,16,t.date,"HH:mm"),""))},pipes:[qA,lh],styles:[""]}),e})();const RF=["slides"];function LF(e,t){1&e&&(Hr(0,"span",16),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma("(",pc(2,1,"lang.mainDocument"),")"))}function FF(e,t){1&e&&(Hr(0,"span",16),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma("(",pc(2,1,"lang.attachment"),")"))}const BF=function(e){return{background:e}};function zF(e,t){if(1&e){const e=qr();Hr(0,"ion-slide"),Hr(1,"div",12),Hr(2,"div",13),Xr("click",function(){Lt(e);const n=t.index;return na(2).loadDoc(n)}),jr(),Hr(3,"div",14),Da(4),Fr(5,LF,3,3,"span",15),Fr(6,FF,3,3,"span",15),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(2);no(2),ma("current",n==i.currentDocId),Vr("ngStyle",ac(6,BF,"url("+e.imgContent[1]+") no-repeat scroll center center / contain")),no(2),Ma(" ",e.title,"\xa0"),no(1),Vr("ngIf",0==n),no(1),Vr("ngIf",n>0)}}function VF(e,t){if(1&e&&(Hr(0,"ion-slides",9,10),Fr(2,zF,7,8,"ion-slide",11),jr()),2&e){const e=na();Vr("options",e.slideOpts),no(2),Vr("ngForOf",e.docList)}}let NF=(()=>{class e{constructor(e,t,n,i){this.http=e,this.signaturesService=t,this.sanitizer=n,this.menu=i,this.triggerEvent=new yc,this.loading=!0,this.scrolling=!1,this.slideOpts={initialSlide:0,speed:400,direction:"vertical"}}ngOnInit(){this.docList.forEach((e,t)=>{void 0===e.imgContent[1]&&t>0&&this.http.get("../rest/attachments/"+e.id+"/thumbnails/1").subscribe(t=>{e.imgContent[1]="data:image/png;base64,"+t.fileContent})})}ngAfterViewInit(){this.loading=!1}loadDoc(e){this.triggerEvent.emit(e),this.menu.close("right-menu")}scroll(e){this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(()=>{this.scrolling=!1},500))}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(qh),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-document-list"]],viewQuery:function(e,t){if(1&e&&Tc(RF,1),2&e){let e;Mc(e=Rc())&&(t.slides=e.first)}},inputs:{docList:"docList",currentDocId:"currentDocId"},outputs:{triggerEvent:"triggerEvent"},decls:12,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","document-outline"],[1,"ion-text-center"],[1,"secondary"],[3,"wheel"],["pager","true",3,"options",4,"ngIf"],["pager","true",3,"options"],["slides",""],[4,"ngFor","ngForOf"],[2,"height","90%","width","100%","position","relative","padding","10px"],[2,"cursor","pointer","height","100%","width","100%","border-radius","4px","transition","box-shadow 280ms cubic-bezier(.4,0,.2,1)","border","solid 1px #E0E0E0",3,"ngStyle","click"],[1,"pjToolsContent"],["class","red",4,"ngIf"],[1,"red"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Hr(6,"b",6),Da(7),jr(),Da(8),hc(9,"translate"),jr(),jr(),jr(),Hr(10,"ion-content",7),Xr("wheel",function(e){return t.scroll(e)}),Fr(11,VF,3,2,"ion-slides",8),jr()),2&e&&(Vr("translucent",!0),no(7),Oa(t.docList.length),no(1),Ma("\xa0",pc(9,4,"lang.attachedElements"),""),no(3),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,gC,ju,pC,Xu],pipes:[qA],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.pjToolsContent[_ngcontent-%COMP%]{position:absolute;border:1px solid #e0e0e0;border-bottom-left-radius:5px;background:#fff;padding:10px;font-weight:600;color:#135f7f;font-size:14px;top:10px}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}"]}),e})(),HF=(()=>{class e{constructor(e,t){this.translate=e,this.latinisePipe=t}empty(e){return null==e||!1===e||(Array.isArray(e)?!(e.length>0):""===String(e))}isDate(e){return e instanceof Date&&!isNaN(e.valueOf())}formatFrenchDateToTechnicalDate(e){if(this.empty(e))return e;{let t=e.split("-");return t=t.concat(t[t.length-1].split(" ")),t.splice(2,1),this.empty(t[3])&&(t[3]="00:00:00"),`${t[2]}-${t[1]}-${t[0]} ${t[3]}`}}formatFrenchDateToObjectDate(e,t="-"){if(this.empty(e))return e;{let n=e.split(t);return n=n.concat(n[n.length-1].split(" ")),n.splice(2,1),this.empty(n[3])&&(n[3]="00:00:00"),new Date(`${n[2]}-${n[1]}-${n[0]} ${n[3]}`)}}formatDateObjectToDateString(e,t=!1,n="dd-mm-yyyy"){if(null!==e){const i=[];n.split("-").forEach(t=>{if("dd"===t){let t=e.getDate();t=("00"+t).slice(-2),i.push(t)}else if("mm"===t){let t=e.getMonth()+1;t=("00"+t).slice(-2),i.push(t)}else if("yyyy"===t){const t=e.getFullYear();i.push(t)}});let s="";return t&&(s=" 23:59:59"),`${i.join("-")}${s}`}return e}formatSerializedDateToDateString(e){return this.formatDateObjectToDateString(new Date(e))}listSortingDataAccessor(e,t){return"string"==typeof e[t]?e[t].toLowerCase():e[t]}filterUnSensitive(e,t,n){let i=!1;return t=this.latinisePipe.transform(t),n.forEach(n=>{let s=e[n];"string"!=typeof e[n]&&(s=void 0===s?"":JSON.stringify(s)),i=i||this.latinisePipe.transform(s.toLowerCase()).includes(t)}),i}formatBytes(e,t=2){if("number"==typeof e){if(0===e)return"0 Octet";const n=1024,i=t<0?0:t,s=["Octets","KO","MO","GO","TO","PO","EO","ZO","YO"],o=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,o)).toFixed(i))+" "+s[o]}return e}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(uE))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var jF=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let UF=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.notificationService=n,this.signaturesService=i,this.functionsService=s,this.alertController=o}sendDocument(e,t,n=null,i=null,s=null,o=null){return new Promise(r=>jF(this,void 0,void 0,function*(){let a={};this.signaturesService.currentAction>0?(a.signatures=null===o?yield this.getElementsFromDoc():o,null!==n&&(a=Object.assign(Object.assign({},a),n),a.step="hashCertificate"),null!==t&&(a.note=t),null!==i&&(a.signatureLength=i),this.functionsService.empty(s)||(a.tmpUniqueId=s),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,a).pipe(Ov(e=>{r(null===n||{hashDocument:e.dataToSign,signatureContentLength:e.signatureContentLength,signatureFieldName:e.signatureFieldName,tmpUniqueId:e.tmpUniqueId})}),fv(e=>(this.notificationService.handleErrors(e),r(403===e.status&&null),lb(!1)))).subscribe()):r(!1)}))}getElementsFromDoc(){return jF(this,void 0,void 0,function*(){return new Promise(e=>jF(this,void 0,void 0,function*(){const t=[];for(let e=1;e<=this.signaturesService.totalPage;e++){if(this.signaturesService.datesContent[e])for(let n=0;n<this.signaturesService.datesContent[e].length;n++){const i=this.signaturesService.datesContent[e][n],s=yield this.getSvgContent(n);t.push({encodedImage:s.replace("data:image/svg+xml;base64,",""),width:i.width,height:i.height,positionX:i.positionX,positionY:i.positionY,type:"SVG",page:e})}this.signaturesService.signaturesContent[e]&&this.signaturesService.signaturesContent[e].forEach(n=>{t.push({encodedImage:n.encodedSignature,width:n.width,positionX:n.positionX,positionY:n.positionY,type:"PNG",page:e})}),this.signaturesService.notesContent[e]&&this.signaturesService.notesContent[e].forEach(n=>{t.push({encodedImage:n.fullPath.replace("data:image/png;base64,",""),width:n.width,positionX:n.positionX,positionY:n.positionY,type:"PNG",page:e})})}e(t)}))})}getSvgContent(e){return new Promise(t=>{const n=document.getElementById("testSVG_"+e),i=(new XMLSerializer).serializeToString(n),s=new Blob([i],{type:"image/svg+xml"}),o=new FileReader;o.readAsDataURL(s),o.onloadend=()=>{t(o.result)}})}checkGroupMail(e,t){return new Promise(n=>jF(this,void 0,void 0,function*(){this.functionsService.empty(e.mailingId)?n([this.signaturesService.mainDocumentId]):this.http.get(`../rest/documents/${this.signaturesService.mainDocumentId}/linkedMailing`).pipe(Ov(e=>jF(this,void 0,void 0,function*(){if(e.documents.length>1){const i=yield this.alertController.create({header:this.translate.instant("lang.mailing"),message:this.translate.instant("validate"===t?"lang.makeActionOnDocInMailGroup":"lang.refuseActionDocInMailGroup"),backdropDismiss:!1,buttons:[{text:this.translate.instant("lang.yes"),handler:()=>{n(e.documents)}},{role:"cancel",text:this.translate.instant("lang.no"),cssClass:"secondary",handler:()=>{n([this.signaturesService.mainDocumentId])}}]});yield i.present()}else n([this.signaturesService.mainDocumentId])})),fv(e=>(this.notificationService.handleErrors(e),n([]),lb(!1)))).subscribe()}))}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi($A),gi(QA),gi(oS),gi(HF),gi(XC))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var WF=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let GF=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.modalController=e,this.http=t,this.translate=n,this.notificationService=i,this.loadingController=s,this.signaturesService=o,this.actionsService=r,this.functionsService=a,this.authService=l,this.filters={expired:!1,keyUsage:[],onlyWithPrivateKey:!0},this.provider=null,this.cert=null,this.certPem=null,this.privateKey=null,this.signatures=[],this.signatureLength=null,this.server=null}ngOnInit(){return WF(this,void 0,void 0,function*(){const e=this.authService.signatureRoles.filter(e=>e.id===this.signatureMode)[0];this.functionsService.empty(e.issuer)||(this.filters.issuerDNMatch=new RegExp(e.issuer,"i")),this.functionsService.empty(e.subject)||(this.filters.subjectDNMatch=new RegExp(e.subject,"i")),this.functionsService.empty(e.keyUsage)||this.filters.keyUsage.push(e.keyUsage)})}certificateChosen(e){return WF(this,void 0,void 0,function*(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(t=>WF(this,void 0,void 0,function*(){t.present();try{this.server=e.detail.server,this.checkWebsocketSession(),this.provider=yield e.detail.server.getCrypto(e.detail.providerId),this.checkWebsocketSession(),this.cert=yield this.provider.certStorage.getItem(e.detail.certificateId),this.checkWebsocketSession(),this.certPem=yield this.provider.certStorage.exportCert("pem",this.cert),this.checkWebsocketSession(),this.privateKey=yield this.provider.keyStorage.getItem(e.detail.privateKeyId)}catch(i){return this.notificationService.error(i),t.dismiss(),void this.modalController.dismiss(!1)}this.certificate={certificate:this.certPem};let n=!1;for(let e=0;e<this.idsToProcess.length;e++)this.signatures=yield this.actionsService.getElementsFromDoc(),n=yield this.sendAndSign(this.idsToProcess[e]);t.dismiss(),this.modalController.dismiss(n)}))})}checkWebsocketSession(){return WF(this,void 0,void 0,function*(){for(;this.server.client.state!==WebSocket.OPEN;)yield this.server.connect(),yield new Promise(e=>setTimeout(e,150))})}sendAndSign(e){return WF(this,void 0,void 0,function*(){let t=!1,n={};for(;!t;){let i=!1;for(;!1===i;){if(n=yield this.fusionStampAndGenerateSignature(e,n.tmpUniqueId),null===n)return!1;if(!1===n)return!1;if(i=yield this.signDocument(e,n.hashDocument,n.signatureContentLength,n.signatureFieldName,n.tmpUniqueId),!0!==i)return!1;this.signatures.shift(),t=0===this.signatures.length}}return t})}fusionStampAndGenerateSignature(e,t=null){return WF(this,void 0,void 0,function*(){let n={};return n=yield this.actionsService.sendDocument(e,null,this.certificate,this.signatureLength,t,this.signatures),n})}signDocument(e,t,n,i,s){return new Promise(o=>WF(this,void 0,void 0,function*(){const r={name:this.privateKey.algorithm.name,hash:"SHA-256"},a=this.fromHex(t);let l;try{this.checkWebsocketSession(),l=yield this.provider.subtle.sign(r,this.privateKey,a)}catch(h){return this.notificationService.error(h),o(!1),lb(!1)}const c={note:this.note},d={signatures:this.signatures,certificate:this.certPem,hashSignature:this.toHex(l),signatureContentLength:n,signatureFieldName:i,tmpUniqueId:s},u=Object.assign(Object.assign({},c),d);this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,u).pipe(Ov(()=>{o(!0)}),fv(e=>(void 0!==e.error.newSignatureLength?(this.signatureLength=e.error.newSignatureLength,o(!1)):(this.notificationService.handleErrors(e),o("error")),lb(!1)))).subscribe()}))}cancelSign(){this.modalController.dismiss(!1)}toHex(e){const t=new Uint8Array(e),n=[],i=t.length;for(let s=0;s<i;s++){const e=t[s].toString(16);n.push(1===e.length?"0"+e:e)}return n.join("")}fromHex(e){const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}}return e.\u0275fac=function(t){return new(t||e)(zr(eA),zr(Db),zr($A),zr(QA),zr(KC),zr(oS),zr(UF),zr(HF),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["signature-method-modal"]],inputs:{note:"note",signatureMode:"signatureMode",idsToProcess:"idsToProcess"},decls:2,vars:1,consts:[["language","fr","hide-footer","",2,"height","100%","width","100%",3,"filters","continue","cancel"]],template:function(e,t){1&e&&(Hr(0,"ion-content"),Hr(1,"peculiar-fortify-certificates",0),Xr("continue",function(e){return t.certificateChosen(e)})("cancel",function(){return t.cancelSign()}),jr(),jr()),2&e&&(no(1),Vr("filters",t.filters))},directives:[Tx],styles:[".content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:30px!important;height:100%;flex-direction:column}.content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:130px;color:var(--ion-color-primary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)!important}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)!important}@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:bounce;animation-name:bounce;transform-origin:center bottom;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}"]}),e})();var $F=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let qF=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.modalController=t,this.actionsService=n,this.loadingController=i,this.translate=s,this.authService=o,this.notificationService=r}checkAuthenticationAndLaunchAction(e,t=null,n){return $F(this,void 0,void 0,function*(){return["rgs_2stars","rgs_2stars_timestamped","inca_card","inca_card_eidas"].indexOf(e.signatureMode)>-1?0!==this.authService.coreUrl.indexOf("https://")?(yield this.notificationService.error("lang.securedUrlNeeded"),null):yield this.openRgsAuth(t,e.signatureMode,n):yield this.launchDefaultMode(t,n)})}launchDefaultMode(e,t){return $F(this,void 0,void 0,function*(){return new Promise(n=>$F(this,void 0,void 0,function*(){const i=yield this.loadingController.create({message:this.translate.instant("lang.loadingValidation"),spinner:"dots"});i.present();let s=!0;for(let n=0;n<t.length;n++)s=yield this.actionsService.sendDocument(t[n],e);i.dismiss(),n(s)}))})}openRgsAuth(e,t,n){return $F(this,void 0,void 0,function*(){return new Promise(i=>$F(this,void 0,void 0,function*(){const s=yield this.modalController.create({component:GF,componentProps:{note:e,signatureMode:t,idsToProcess:n}});yield s.present();const{data:o}=yield s.onWillDismiss();i(o)}))})}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(eA),gi(UF),gi(KC),gi($A),gi(aS),gi(QA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YF=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.filtersService=t,this.authService=n,this.bottomSheetRef=i,this.date=new Date}ngOnInit(){setTimeout(()=>{this.signaturesService.currentToobal="mainDocumentDetail",this.filtersService.resfreshDocuments(!0),this.bottomSheetRef.dismiss()},2e3)}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(TF),zr(aS),zr(lM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"green",2,"text-align","center"],[1,"fa","fa-thumbs-up","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"h1"),Ur(2,"i",1),jr(),Hr(3,"p"),Da(4),hc(5,"translate"),jr(),Hr(6,"p",2),Da(7),jr(),Hr(8,"p",3),Da(9),hc(10,"translate"),hc(11,"date"),hc(12,"translate"),hc(13,"date"),jr(),jr()),2&e&&(no(4),Oa(pc(5,7,"lang.documentValidateAs")),no(3),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(2),Ra("",pc(10,9,"lang.onRange")," ",gc(11,11,t.date,"dd/MM/yyyy")," ",pc(12,14,"lang.atRange")," ",gc(13,16,t.date,"HH:mm"),""))},pipes:[qA,lh],styles:[""]}),e})();function ZF(e,t){if(1&e&&(Wr(0),Hr(1,"div",1),Ur(2,"img",2),jr(),Gr()),2&e){const e=t.$implicit,n=na();no(1),fa("width",n.signaturesService.workingAreaWidth,"px")("height",n.signaturesService.workingAreaHeight,"px"),no(1),fa("width",100,"%"),Vr("src",n.sanitization.bypassSecurityTrustUrl(e.fullPath),os)}}let QF=(()=>{class e{constructor(e,t,n){this.translate=e,this.sanitization=t,this.signaturesService=n}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(qh),zr(oS))},e.\u0275cmp=$e({type:e,selectors:[["app-document-note-list"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[2,"top","0","left","0","position","absolute"],[3,"src"]],template:function(e,t){1&e&&Fr(0,ZF,3,7,"ng-container",0),2&e&&Vr("ngForOf",t.signaturesService.notesContent[t.signaturesService.currentPage])},directives:[ju],encapsulation:2}),e})();const XF=["menuTrigger"],KF=["test"],JF=function(e,t){return{x:e,y:t}};function eB(e,t){if(1&e){const e=qr();Hr(0,"div",1,2),Xr("rzResizing",function(n){Lt(e);const i=t.index;return na().onResizing(n,i)})("rzStart",function(){return Lt(e),na().signaturesService.resizing=!0})("movingOffset",function(){return Lt(e),na().signaturesService.dragging=!0})("endOffset",function(n){Lt(e);const i=t.index;return na().moveSign(n,i)})("rzStop",function(n){Lt(e);const i=t.index,s=na();return s.onResizeStop(n,i),s.signaturesService.resizing=!1}),Hr(2,"ion-item",3),Hr(3,"ion-select",4),Xr("click",function(e){return e.stopPropagation()})("ionChange",function(n){Lt(e);const i=t.index;return na().select(n,i)}),Hr(4,"ion-select-option",5),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-select-option",6),Da(8),hc(9,"translate"),jr(),jr(),jr(),Ur(10,"img",7),jr()}if(2&e){const e=t.$implicit,n=na();fa("width",e.width,"%")("height",n.fix),Vr("position",lc(20,JF,e.positionX*n.signaturesService.workingAreaWidth/100,e.positionY*n.signaturesService.workingAreaHeight/100))("ngDraggable",!n.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",n.bounds)("inBounds",!0),no(5),Ma("",pc(6,16,"lang.delete")," "),no(2),Vr("disabled",e.inAllPage),no(1),Ma(" ",pc(9,18,"lang.replicate"),""),no(2),fa("width",100,"%"),Vr("src",n.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os)}}let tB=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.translate=e,this.sanitization=t,this.signaturesService=n,this.notificationService=i,this.localStorage=s,this.dialog=o,this.popoverController=r,this.modalController=a,this.fix="auto",this.today=new Date}ngOnInit(){}select(e,t){this[e.detail.value](t)}moveSign(e,t){const n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}onResizing(e,t){this.test.nativeElement.style.height="auto"}onResizeStop(e,t){this.test.nativeElement.style.height="auto",this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}cloneSign(e){this.dialog.open(YR,{autoFocus:!1,width:"450px",data:{title:"lang.wantSignOtherPage",msg:""}}).afterClosed().subscribe(t=>{if("yes"===t){this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage=!0,this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token=Math.random().toString(36).substr(2,9);for(let t=1;t<=this.signaturesService.totalPage;t++)this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),t!==this.signaturesService.currentPage&&this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(this.signaturesService.signaturesContent[this.signaturesService.currentPage][e])));this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}}),this.menuSign.closeMenu()}deleteSignature(e){if(!0===this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage){const t=this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token;if(confirm(this.translate.instant("lang.wantDeleteSignatureOtherPage")))for(let e=1;e<=this.signaturesService.totalPage;e++){this.signaturesService.signaturesContent[e]||(this.signaturesService.signaturesContent[e]=[]);for(let n=0;n<=this.signaturesService.signaturesContent[e].length;n++)this.signaturesService.signaturesContent[e][n]&&t===this.signaturesService.signaturesContent[e][n].token&&this.signaturesService.signaturesContent[e].splice(n,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1);this.emptySigns()&&(this.signaturesService.signaturesContent=[]),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}emptySigns(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(qh),zr(oS),zr(QA),zr(rS),zr(LM),zr(tA),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-sign-list"]],viewQuery:function(e,t){if(1&e&&(Tc(XF,1),Tc(KF,1)),2&e){let e;Mc(e=Rc())&&(t.menuSign=e.first),Mc(e=Rc())&&(t.test=e.first)}},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["ngResizable","","style","position:absolute;border: dashed 1px grey;background: rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%;",3,"position","width","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","height","rzResizing","rzStart","movingOffset","endOffset","rzStop",4,"ngFor","ngForOf"],["ngResizable","",2,"position","absolute","border","dashed 1px grey","background","rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%",3,"position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop"],["test",""],[2,"position","absolute","--background","none","right","0","--border-width","0"],["selectedText"," ","value","","interface","popover",3,"click","ionChange"],["value","deleteSignature",1,"action-item"],["value","cloneSign",1,"action-item",3,"disabled"],[1,"img-content",3,"src"]],template:function(e,t){1&e&&Fr(0,eB,11,23,"div",0),2&e&&Vr("ngForOf",t.signaturesService.signaturesContent[t.signaturesService.currentPage])},directives:[ju,nE,Jk,Gx,uC,ox,hC],pipes:[qA],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}"]}),e})();function nB(e,t){if(1&e&&(Hr(0,"ion-select-option",19),Da(1),hc(2,"date"),hc(3,"translate"),jr()),2&e){const e=t.$implicit,n=na();Vr("value",e),no(1),Ma(" ",mc(2,2,n.today,e,void 0,pc(3,7,"lang.langISO"))," ")}}function iB(e,t){if(1&e&&(Hr(0,"ion-select-option",19),Da(1),jr()),2&e){const e=t.$implicit;ba(na().getFontLabel(e)),Vr("value",e),no(1),Ma(" ",e," ")}}const sB=function(){return{cssClass:"selectFormat"}};let oB=(()=>{class e{constructor(e){this.modalController=e,this.today=new Date,this.dateformats=["dd/MM/y","dd-MM-y","dd.MM.y","d MMM y","d MMMM y"],this.datefonts=["Arial","Verdana","Helvetica","Tahoma","Times New Roman","Courier New"],this.size={Arial:15,Verdana:13,Helvetica:13,Tahoma:13,"Times New Roman":15,"Courier New":13}}ngOnInit(){this.date=JSON.parse(JSON.stringify(this.currentDate))}dismissModal(){this.modalController.dismiss()}getFontLabel(e){return e.replace(" ","_")}onSubmit(){this.modalController.dismiss(this.date)}select(e){this.date.size=this.size[e]}}return e.\u0275fac=function(t){return new(t||e)(zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],inputs:{currentDate:"currentDate"},decls:45,vars:43,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[2,"text-align","center","font-weight","normal","font-size","50px","padding","50px"],["color","secondary"],["interface","popover",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["button","","lines","full",3,"click"],["type","color",2,"display","none",3,"ngModel","ngModelChange"],["colorPicker",""],["slot","end","name","ellipse"],[3,"ngModel","interfaceOptions","cancelText","ngModelChange","ionChange"],[3,"value","class",4,"ngFor","ngForOf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"click"],["type","button",3,"click"],[3,"value"]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-content"),Hr(9,"ion-toolbar"),Hr(10,"ion-title",5),Da(11),hc(12,"date"),hc(13,"translate"),jr(),jr(),Hr(14,"ion-item"),Hr(15,"ion-label",6),Da(16),hc(17,"translate"),jr(),Hr(18,"ion-select",7),Xr("ngModelChange",function(e){return t.date.format=e}),Fr(19,nB,4,9,"ion-select-option",8),jr(),jr(),Hr(20,"ion-item",9),Xr("click",function(){return Lt(e),Br(22).click()}),Hr(21,"input",10,11),Xr("ngModelChange",function(e){return t.date.color=e}),jr(),Hr(23,"ion-label",6),Da(24),hc(25,"translate"),jr(),Ur(26,"ion-icon",12),jr(),Hr(27,"ion-item"),Hr(28,"ion-label",6),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-select",13),Xr("ngModelChange",function(e){return t.date.font=e})("ionChange",function(e){return t.select(e.detail.value)}),hc(32,"translate"),Fr(33,iB,2,4,"ion-select-option",14),jr(),jr(),jr(),Hr(34,"ion-footer",15),Hr(35,"ion-toolbar"),Hr(36,"ion-buttons",16),Hr(37,"ion-button",17),Xr("click",function(){return t.onSubmit()}),Hr(38,"ion-label"),Da(39),hc(40,"translate"),jr(),jr(),Hr(41,"ion-button",18),Xr("click",function(){return t.dismissModal()}),Hr(42,"ion-label"),Da(43),hc(44,"translate"),jr(),jr(),jr(),jr(),jr()}2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,21,"lang.options")),no(7),ba(t.getFontLabel(t.date.font)),fa("color",t.date.color),no(1),Oa(mc(12,23,t.today,t.date.format,void 0,pc(13,28,"lang.langISO"))),no(5),Oa(pc(17,30,"lang.format")),no(2),Vr("ngModel",t.date.format),no(1),Vr("ngForOf",t.dateformats),no(2),Vr("ngModel",t.date.color),no(3),Oa(pc(25,32,"lang.color")),no(2),fa("color",t.date.color),no(3),Oa(pc(30,34,"lang.font")),no(2),Vr("ngModel",t.date.font)("interfaceOptions",rc(42,sB))("cancelText",pc(32,36,"lang.cancel")),no(2),Vr("ngForOf",t.datefonts),no(6),Oa(pc(40,38,"lang.save")),no(4),Oa(pc(44,40,"lang.cancel")))},directives:[Vx,yC,bC,Ax,Cx,Nx,Tx,Gx,Zx,uC,ox,rm,Rm,ju,Tf,Bx,hC],pipes:[qA,lh],styles:[".Arial{font-family:Arial,sans-serif} .Verdana{font-family:Verdana,sans-serif} .Helvetica{font-family:Helvetica,sans-serif} .Tahoma{font-family:Tahoma,sans-serif} .Times_New_Roman{font-family:Times New Roman,serif} .Courier_New{font-family:Courier New,monospace}"]}),e})();const rB=["menuTrigger"],aB=["test2"],lB=function(e,t){return{x:e,y:t}};function cB(e,t){if(1&e){const e=qr();Hr(0,"div",1,2),Xr("rzResizing",function(n){Lt(e);const i=t.index;return na().onResizingDate(n,i)})("rzStart",function(){return Lt(e),na().signaturesService.resizing=!0})("movingOffset",function(){return Lt(e),na().signaturesService.dragging=!0})("endOffset",function(n){Lt(e);const i=t.index;return na().moveDate(n,i)})("rzStop",function(n){Lt(e);const i=t.index,s=na();return s.onResizeDateStop(n,i),s.signaturesService.resizing=!1})("click",function(e){return e.stopPropagation()}),Hr(2,"ion-buttons",3),Hr(3,"ion-button",4),Ur(4,"ion-icon",5),jr(),jr(),Hr(5,"mat-menu",null,6),Hr(7,"button",7),Xr("click",function(){Lt(e);const n=t.index;return na().openDateSettings(n)}),Da(8),hc(9,"translate"),jr(),Hr(10,"button",7),Xr("click",function(){Lt(e);const n=t.index;return na().deleteDate(n)}),Da(11),hc(12,"translate"),jr(),jr(),dn(),Hr(13,"svg",8),Hr(14,"text",9),Da(15),hc(16,"date"),hc(17,"translate"),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=Br(6),s=na();fa("width",e.width,"%")("height",e.height,"%")("height",s.fix),Vr("id","dateDiv_"+n)("position",lc(34,lB,e.positionX*s.signaturesService.workingAreaWidth/100,e.positionY*s.signaturesService.workingAreaHeight/100))("ngDraggable",!s.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",s.bounds)("inBounds",!0),no(3),Vr("matMenuTriggerFor",i),no(5),Oa(pc(9,23,"lang.options")),no(3),Oa(pc(12,25,"lang.delete")),no(2),Vr("id","testSVG_"+n),no(1),fa("font-family",e.font)("fill",e.color),Ir("font-size",e.size),no(1),Oa(mc(16,27,s.today,e.format,void 0,pc(17,32,"lang.langISO")))}}let dB=(()=>{class e{constructor(e,t,n,i,s,o,r){this.translate=e,this.signaturesService=t,this.notificationService=n,this.localStorage=i,this.dialog=s,this.popoverController=o,this.modalController=r,this.fix="auto",this.today=new Date}ngOnInit(){}moveDate(e,t){const n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}onResizingDate(e,t){this.test2.nativeElement.style.height="auto"}onResizeDateStop(e,t){this.test2.nativeElement.style.height="auto",this.signaturesService.datesContent[this.signaturesService.currentPage][t].height=100*e.size.height/this.signaturesService.workingAreaHeight,this.signaturesService.datesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}deleteDate(e){this.signaturesService.datesContent[this.signaturesService.currentPage].splice(e,1),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}openDateSettings(e){return t=this,void 0,i=function*(){const t=yield this.modalController.create({component:oB,componentProps:{currentDate:this.signaturesService.datesContent[this.signaturesService.currentPage][e]}});yield t.present();const{data:n}=yield t.onWillDismiss();void 0!==n&&(this.signaturesService.datesContent[this.signaturesService.currentPage][e]=n)},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(oS),zr(QA),zr(rS),zr(LM),zr(tA),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-date-list"]],viewQuery:function(e,t){if(1&e&&(Tc(rB,1),Tc(aB,1)),2&e){let e;Mc(e=Rc())&&(t.menuSign=e.first),Mc(e=Rc())&&(t.test2=e.first)}},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["class","test","ngResizable","",3,"id","position","width","height","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click",4,"ngFor","ngForOf"],["ngResizable","",1,"test",3,"id","position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click"],["test2",""],[2,"position","absolute","top","-30px","right","0px"],["slot","icon-only","shape","round","color","secondary",3,"matMenuTriggerFor"],["name","ellipsis-vertical"],["menu","matMenu"],["mat-menu-item","",3,"click"],["viewBox","0 0 130 30","preserveAspectRatio","xMinYMin meet",3,"id"],["y","21"]],template:function(e,t){1&e&&Fr(0,cB,18,37,"div",0),2&e&&Vr("ngForOf",t.signaturesService.datesContent[t.signaturesService.currentPage])},directives:[ju,nE,Jk,Ax,Cx,VI,Nx,LI,MI],pipes:[qA,lh],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}svg.text[_ngcontent-%COMP%]{display:block;font-size:inherit}"]}),e})();var uB=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function hB(e,t){if(1&e){const e=qr();Hr(0,"ion-item",6),Xr("click",function(){Lt(e);const n=t.$implicit;return na().loadVisaWorkflow(n)}),Hr(1,"ion-label"),Da(2),jr(),Hr(3,"ion-buttons",7),Hr(4,"ion-button",8),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.removeModel(i)}),Ur(5,"ion-icon",9),jr(),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(e.title)}}let pB=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.popoverController=n,this.alertController=i,this.notificationService=s,this.authService=o,this.currentWorkflow=[],this.visaWorkflowModels=[]}ngOnInit(){this.getVisaUserModels()}createModel(){return uB(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.newTemplate"),message:this.translate.instant("lang.newTemplateDesc"),inputs:[{name:"title",type:"text",placeholder:this.translate.instant("lang.label")+" *"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:e=>""!==e.title?(this.saveModel(e.title),!0):(this.notificationService.error(this.translate.instant("lang.label")+" "+this.translate.instant("lang.mandatory")),!1)}]});yield e.present()})}saveModel(e){const t={title:e,items:this.currentWorkflow.map(e=>({userId:e.userId,mode:this.authService.getWorkflowMode(e.role),signatureMode:this.authService.getSignatureMode(e.role)}))};this.http.post("../rest/workflowTemplates",t).pipe(Ov(t=>{this.notificationService.success("lang.modelCreated"),this.visaWorkflowModels.push({id:t.id,title:e})}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}removeModel(e){return uB(this,void 0,void 0,function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.delete"),message:this.translate.instant("lang.deleteTemplate"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/workflowTemplates/"+e.id).pipe(Ov(()=>{this.visaWorkflowModels=this.visaWorkflowModels.filter(t=>t.id!==e.id),this.notificationService.success(`Mod\xe8le ${e.title} supprim\xe9`)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}]});yield t.present()})}getVisaUserModels(){this.http.get("../rest/workflowTemplates").pipe(Ov(e=>{this.visaWorkflowModels=e.workflowTemplates}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}loadVisaWorkflow(e){this.http.get("../rest/workflowTemplates/"+e.id).pipe(Ov(e=>{const t=e.workflowTemplate.items.map(e=>({userId:e.userId,userDisplay:e.userLabel,role:"visa"===e.mode?"visa":e.signatureMode,processDate:null,current:!1,modes:["visa"].concat(e.userSignatureModes)}));this.popoverController.dismiss(t)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(tA),zr(XC),zr(QA),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-visa-workflow-models"]],inputs:{currentWorkflow:"currentWorkflow"},decls:11,vars:8,consts:[["lines","none"],["color","secondary"],["button","",3,"click",4,"ngFor","ngForOf"],["button","",3,"disabled","click"],["color","primary","slot","start","name","add-circle-outline"],["color","primary"],["button","",3,"click"],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-list",0),Hr(1,"ion-list-header"),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,hB,6,1,"ion-item",2),Hr(6,"ion-item",3),Xr("click",function(){return t.createModel()}),Ur(7,"ion-icon",4),Hr(8,"ion-label",5),Da(9),hc(10,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,4,"lang.circuitModels")),no(2),Vr("ngForOf",t.visaWorkflowModels),no(1),Vr("disabled",0===t.currentWorkflow.length),no(3),Oa(pc(10,6,"lang.newTemplate")))},directives:[Qx,Xx,Zx,ju,Gx,Nx,Ax,Cx],pipes:[qA],styles:[""]}),e})();function gB(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",19),Xr("ionChange",function(t){Lt(e),na(2);const n=Br(3);return na().addUser(t.detail.value,n)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Hr(4,"ion-note",13),Da(5),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(2),Oa(e.email)}}function fB(e,t){if(1&e&&(Hr(0,"ion-list",17),Fr(1,gB,6,4,"ion-item",18),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.visaUsersList)}}function mB(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-item",10),Hr(2,"ion-searchbar",11,12),Xr("ngModelChange",function(t){return Lt(e),na().visaUsersSearchVal=t})("ionChange",function(t){return Lt(e),na().getVisaUsers(t)})("ionFocus",function(){return Lt(e),na().visaUsersSearchVal=""}),hc(4,"translate"),jr(),Hr(5,"ion-buttons",13),Hr(6,"ion-button",14),Xr("click",function(t){return Lt(e),na().openVisaWorkflowModels(t)}),hc(7,"translate"),Ur(8,"ion-icon",15),jr(),jr(),jr(),Fr(9,fB,2,1,"ion-list",16),Gr()}if(2&e){const e=na();no(2),Vr("ngModel",e.visaUsersSearchVal)("placeholder",pc(4,4,"lang.searchUser")),no(4),Vr("title",pc(7,6,"lang.circuitModels")),no(3),Vr("ngIf",e.visaUsersList.length>0)}}function bB(e,t){1&e&&(Hr(0,"ion-list"),Hr(1,"ion-item",10),Hr(2,"ion-label",20),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noUserInWorkflow")))}function vB(e,t){1&e&&(Hr(0,"p",31),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.substituteMsg"),""))}function yB(e,t){if(1&e&&(Hr(0,"h2",32),Da(1),jr()),2&e){const e=na().$implicit;Vr("title",e.userDisplay),no(1),Oa(e.userDisplay)}}function wB(e,t){1&e&&(Hr(0,"h2",33),Da(1),hc(2,"translate"),jr()),2&e&&(Vr("title",na().$implicit.userDisplay),no(1),Ma(" ",pc(2,2,"lang.userDeleted"),""))}function _B(e,t){if(1&e&&(Hr(0,"ion-select-option",37),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit,n=na(2),i=n.index,s=n.$implicit,o=na();Vr("value",e)("disabled",!o.isValidRole(i,e,s.role)),no(1),Ma(" ",pc(2,3,"lang."+e+"User")," ")}}function xB(e,t){if(1&e){const e=qr();Hr(0,"p",34),Hr(1,"ion-select",35),Xr("ngModelChange",function(t){return Lt(e),na().$implicit.role=t}),hc(2,"translate"),Fr(3,_B,3,5,"ion-select-option",36),jr(),jr()}if(2&e){const e=na().$implicit,t=na();let n=null;no(1),fa("color",null==(n=t.getRole(e.role))?null:n.color),Vr("ngModel",e.role)("title",pc(2,7,"lang."+e.role+"User"))("interfaceOptions",t.customPopoverOptions)("disabled",!t.editMode),no(2),Vr("ngForOf",e.modes)}}function CB(e,t){if(1&e&&(Hr(0,"ion-note",41),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang."+e.mode+"ProcessInfo")," ",e.processDate," ")}}function AB(e,t){if(1&e&&(Hr(0,"ion-note",42),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang.refProcessInfo")," ",e.processDate," ")}}function SB(e,t){if(1&e&&(Hr(0,"ion-note",43),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang.stopProcessInfo")," ",e.processDate," ")}}function kB(e,t){if(1&e&&(Hr(0,"p",32),Fr(1,CB,3,4,"ion-note",38),Fr(2,AB,3,4,"ion-note",39),Fr(3,SB,3,4,"ion-note",40),jr()),2&e){const e=na().$implicit;Vr("title",e.processDate),no(1),Vr("ngIf","VAL"===e.status),no(1),Vr("ngIf","REF"===e.status),no(1),Vr("ngIf","STOP"===e.status)}}function EB(e,t){1&e&&Ur(0,"ion-icon",44)}function PB(e,t){if(1&e){const e=qr();Hr(0,"ion-button",45),Xr("click",function(t){Lt(e);const n=na().index,i=na();return t.stopPropagation(),i.removeUser(n)}),Ur(1,"ion-icon",46),jr()}}function DB(e,t){if(1&e&&(Hr(0,"ion-item",21),Hr(1,"ion-reorder",2),Ur(2,"ion-icon",22),hc(3,"translate"),jr(),Hr(4,"ion-avatar",23),Xr("click",function(e){return e.stopPropagation()}),Ur(5,"img",24),jr(),Hr(6,"ion-label"),Fr(7,vB,3,3,"p",25),Fr(8,yB,2,2,"h2",26),Fr(9,wB,3,4,"h2",27),Fr(10,xB,4,9,"p",28),Fr(11,kB,4,4,"p",26),jr(),Fr(12,EB,1,0,"ion-icon",29),Hr(13,"ion-buttons",13),Fr(14,PB,2,0,"ion-button",30),jr(),jr()),2&e){const e=t.$implicit,n=na();ma("current",e.current),no(2),Vr("title",pc(3,11,"lang.reorder")),no(3),Vr("src",e.userPicture,os),no(2),Vr("ngIf",n.userDelegated&&e.current),no(1),Vr("ngIf",""!==e.userDisplay),no(1),Vr("ngIf",""===e.userDisplay),no(1),Vr("ngIf",null===e.processDate),no(1),Vr("ngIf",null!==e.processDate),no(1),Vr("ngIf",!n.editMode&&e.current),no(2),Vr("ngIf",n.editMode)}}let OB=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.signaturesService=t,this.authService=n,this.notificationService=i,this.popoverController=s,this.editMode=!1,this.visaWorkflow=[],this.userDelegated=!1,this.loading=!1,this.visaUsersSearchVal="",this.visaUsersList=[],this.showVisaUsersList=!1,this.customPopoverOptions={header:"Roles"},this.roles=[]}ngOnInit(){this.visaWorkflow.forEach((e,t)=>{this.getAvatarUser(t)})}doReorder(e){this.canMoveUser(e)?this.visaWorkflow=e.detail.complete(this.visaWorkflow):(this.notificationService.error("lang.errorUserSignType"),e.detail.complete(!1))}canMoveUser(e){let t=this.array_move(this.visaWorkflow.slice(),e.detail.from,e.detail.to);return t=t.filter(e=>void 0!==e),this.isValidWorkflow(t)}isValidWorkflow(e=this.visaWorkflow){let t=!0;return e.forEach((n,i)=>{-1===["visa","stamp"].indexOf(n.role)&&e.filter((e,t)=>t>i&&"stamp"===e.role).length>0&&(t=!1)}),t}array_move(e,t,n){if(n>=e.length){let t=n-e.length+1;for(;t--;)e.push(void 0)}return e.splice(n,0,e.splice(t,1)[0]),e}getVisaUsers(e){this.showVisaUsersList=!0,""===e.detail.value?this.resetVisaUsersList():e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.visaUsersList=e}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}addUser(e,t){this.resetVisaUsersList(),e.signatureModes.unshift("visa"),this.visaWorkflow.push({userId:e.id,userDisplay:`${e.firstname} ${e.lastname}`,role:e.signatureModes[e.signatureModes.length-1],processDate:null,current:!1,modes:e.signatureModes}),this.isValidWorkflow()||(this.visaWorkflow[this.visaWorkflow.length-1].role="visa"),this.getAvatarUser(this.visaWorkflow.length-1),this.visaUsersSearchVal="",t.setFocus()}removeUser(e){this.visaWorkflow.splice(e,1)}getAvatarUser(e){void 0===this.visaWorkflow[e].userPicture&&""!==this.visaWorkflow[e].userDisplay&&this.http.get("../rest/users/"+this.visaWorkflow[e].userId+"/picture").pipe(Ov(t=>{this.visaWorkflow[e].userPicture=t.picture}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}resetVisaUsersList(){this.visaUsersList=[]}openVisaWorkflowModels(e){return t=this,void 0,i=function*(){const t=yield this.popoverController.create({component:pB,componentProps:{currentWorkflow:this.visaWorkflow},event:e});yield t.present(),t.onDidDismiss().then(e=>{"backdrop"!==e.role&&(this.visaWorkflow=this.visaWorkflow.concat(e.data),this.visaWorkflow.forEach((e,t)=>{this.getAvatarUser(t)}))})},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}getCurrentWorkflow(){return this.visaWorkflow}getRole(e){return this.authService.signatureRoles.filter(t=>t.id===e)[0]}loadWorkflow(e){this.visaWorkflow=e;const t=this.visaWorkflow.length;for(let n=0;n<t;n++)this.getAvatarUser(n)}isValidRole(e,t,n){return!(this.visaWorkflow.filter((t,n)=>n>e&&["stamp"].indexOf(t.role)>-1).length>0&&["visa","stamp"].indexOf(n)>-1&&-1===["visa","stamp"].indexOf(t)||this.visaWorkflow.filter((t,n)=>n<e&&-1===["visa","stamp"].indexOf(t.role)).length>0&&"stamp"===t)}setPositionsWorkfow(e,t){this.clearPositionsFromResource(e),t.length>0&&Object.keys(t).forEach(n=>{const i=Object.assign(Object.assign({},t[n]),{mainDocument:e.mainDocument});this.visaWorkflow[t[n].sequence].signaturePositions=this.visaWorkflow[t[n].sequence].signaturePositions.filter(t=>t.mainDocument!==e.mainDocument),this.visaWorkflow[t[n].sequence].signaturePositions.push(i)})}clearPositionsFromResource(e){this.visaWorkflow.forEach(t=>{t.signaturePositions=t.signaturePositions.filter(t=>t.mainDocument!==e.mainDocument)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(aS),zr(QA),zr(tA))},e.\u0275cmp=$e({type:e,selectors:[["app-visa-workflow"]],viewQuery:function(e,t){if(1&e&&Tc(rC,1),2&e){let e;Mc(e=Rc())&&(t.reorderGroup=e.first)}},inputs:{editMode:"editMode",visaWorkflow:"visaWorkflow",userDelegated:"userDelegated"},decls:13,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","list-outline"],[1,"ion-text-center"],[3,"click"],[4,"ngIf"],[3,"disabled","ionItemReorder"],["class","no-ripple",3,"current",4,"ngFor","ngForOf"],["lines","none"],[3,"ngModel","placeholder","ngModelChange","ionChange","ionFocus"],["searchInput",""],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","albums-outline"],["style","position: absolute;z-index: 2;width: 100%;box-shadow: 0 4px 2px -2px gray;",4,"ngIf"],[2,"position","absolute","z-index","2","width","100%","box-shadow","0 4px 2px -2px gray"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["color","medium",1,"ion-text-center"],[1,"no-ripple"],["name","reorder-three",2,"font-size","30px",3,"title"],["slot","start",1,"avatar-user",2,"cursor","grab",3,"click"],[3,"src"],["class","secondary",4,"ngIf"],[3,"title",4,"ngIf"],["class","danger",3,"title",4,"ngIf"],["style","display: flex;justify-content: start;",4,"ngIf"],["color","success","slot","end","name","caret-back-outline",4,"ngIf"],["style","z-index: 9999","fill","clear","slot","icon-only","shape","round","color","danger",3,"click",4,"ngIf"],[1,"secondary"],[3,"title"],[1,"danger",3,"title"],[2,"display","flex","justify-content","start"],["interface","popover",2,"width","auto","max-width","100%","padding-left","0px",3,"ngModel","title","interfaceOptions","disabled","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["class","valProcess",4,"ngIf"],["class","refProcess",4,"ngIf"],["class","stopProcess",4,"ngIf"],[1,"valProcess"],[1,"refProcess"],[1,"stopProcess"],["color","success","slot","end","name","caret-back-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",2,"z-index","9999",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content",6),Xr("click",function(){return t.resetVisaUsersList()}),Fr(9,mB,10,8,"ng-container",7),Fr(10,bB,5,3,"ion-list",7),Hr(11,"ion-reorder-group",8),Xr("ionItemReorder",function(e){return t.doReorder(e)}),Fr(12,DB,15,13,"ion-item",9),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,6,"lang.circuit")),no(3),Vr("ngIf",t.editMode),no(1),Vr("ngIf",0===t.visaWorkflow.length),no(1),Vr("disabled",!t.editMode),no(1),Vr("ngForOf",t.visaWorkflow))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,rC,ju,Gx,lC,ax,rm,Rm,Qx,Dx,J_,Zx,tC,oC,wx,uC,ox,hC],pipes:[qA],styles:[".current[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-success)}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.avatar-user[_ngcontent-%COMP%]{width:50px;height:50px;border:solid var(--ion-color-secondary)}ion-select[_ngcontent-%COMP%]{font-size:12px}.no-ripple[_ngcontent-%COMP%]{--ripple-color:transparent}.item-select-disabled[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%], .select-disabled[_ngcontent-%COMP%]{opacity:1}.item-select-disabled[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]::part(icon){display:none!important}.valProcess[_ngcontent-%COMP%]{color:var(--ion-color-success)}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%], .valProcess[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font-size:12px;text-align:right;padding-top:10px;padding-bottom:10px}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%]{color:var(--ion-color-danger)}"]}),e})();function MB(e,t){if(1&e){const e=qr();Hr(0,"ion-item",9),Xr("click",function(){Lt(e);const n=t.$implicit;return na().goTo(n.id)}),Hr(1,"div"),Hr(2,"ion-label",10),Da(3),jr(),Hr(4,"ion-label",11),Da(5),hc(6,"shorten"),jr(),jr(),Ur(7,"ion-icon",12),jr()}if(2&e){const e=t.$implicit;no(3),Oa(e.reference),no(2),Oa(fc(6,2,e.title,50,"..."))}}let TB=(()=>{class e{constructor(e){this.router=e}ngOnInit(){}goTo(e){this.router.navigate(["/documents/"+e])}}return e.\u0275fac=function(t){return new(t||e)(zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["app-associated-documents"]],inputs:{associatedDocuments:"associatedDocuments"},decls:14,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","link-outline"],[1,"ion-text-center"],[1,"secondary"],[2,"display","flex","flex-direction","column","height","100%"],["class","doc-item",3,"click",4,"ngFor","ngForOf"],[1,"doc-item",3,"click"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["slot","end","color","medium","name","arrow-forward-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Hr(6,"b",6),Da(7),jr(),Da(8),hc(9,"translate"),jr(),jr(),jr(),Hr(10,"ion-content"),Hr(11,"div",7),Hr(12,"ion-list"),Fr(13,MB,8,6,"ion-item",8),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(7),Oa(null==t.associatedDocuments?null:t.associatedDocuments.length),no(1),Ma("\xa0",pc(9,4,"lang.associatedDocuments"),""),no(5),Vr("ngForOf",t.associatedDocuments))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Qx,ju,Gx,Zx],pipes:[qA,cE],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px;cursor:pointer}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}"]}),e})();function IB(e,t){1&e&&(Hr(0,"ion-card"),Hr(1,"ion-item",13),Ur(2,"ion-icon",14),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),jr(),jr()),2&e&&(no(4),Oa(pc(5,1,"lang.docIsInMailGroup")))}function RB(e,t){if(1&e&&(Hr(0,"ion-item",8),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=na();Vr("title",e.mainDocument.description),no(2),Oa(pc(3,3,"lang.description")),no(2),Vr("value",e.mainDocument.description)}}function LB(e,t){if(1&e&&(Hr(0,"ion-item",8),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=na();Vr("title",e.mainDocument.deadline),no(2),Oa(pc(3,3,"lang.processingDeadline")),no(2),Vr("value",e.mainDocument.deadline)}}function FB(e,t){if(1&e&&(Hr(0,"ion-item"),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=t.$implicit;no(2),Oa(pc(3,2,e.label)),no(2),Vr("value",e.value)}}let BB=(()=>{class e{constructor(e,t){this.signaturesService=e,this.functionsService=t,this.loading=!1}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(HF))},e.\u0275cmp=$e({type:e,selectors:[["app-main-document-detail"]],inputs:{mainDocument:"mainDocument"},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","information-circle"],[1,"ion-text-center"],[4,"ngIf"],["lines","full",1,"ion-no-margin"],[3,"title"],["color","secondary","position","floating"],["readonly","",3,"value"],[3,"title",4,"ngIf"],[4,"ngFor","ngForOf"],["color","danger"],["name","alert-circle","slot","start"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content"),Fr(9,IB,6,3,"ion-card",6),Hr(10,"ion-list",7),Hr(11,"ion-item",8),Hr(12,"ion-label",9),Da(13),hc(14,"translate"),jr(),Ur(15,"ion-input",10),jr(),Fr(16,RB,5,5,"ion-item",11),Fr(17,LB,5,5,"ion-item",11),Hr(18,"ion-item",8),Hr(19,"ion-label",9),Da(20),hc(21,"translate"),jr(),Ur(22,"ion-input",10),jr(),Hr(23,"ion-item",8),Hr(24,"ion-label",9),Da(25),hc(26,"translate"),jr(),Ur(27,"ion-input",10),jr(),Fr(28,FB,5,4,"ion-item",12),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,15,"lang.informations")),no(3),Vr("ngIf",!t.functionsService.empty(t.mainDocument.mailingId)),no(2),Vr("title",t.mainDocument.sender),no(2),Oa(pc(14,17,"lang.emittedBy")),no(2),Vr("value",t.mainDocument.sender),no(1),Vr("ngIf",null!=t.mainDocument.description),no(1),Vr("ngIf",null!=t.mainDocument.deadline),no(1),Vr("title",t.mainDocument.reference),no(2),Oa(pc(21,19,"lang.reference")),no(2),Vr("value",t.mainDocument.reference),no(1),Vr("title",t.mainDocument.title),no(2),Oa(pc(26,21,"lang.subject")),no(2),Vr("value",t.mainDocument.title),no(1),Vr("ngForOf",t.mainDocument.metadata))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,Qx,Gx,Zx,Wx,ax,ju,Sx],pipes:[qA],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}.closePanel[_ngcontent-%COMP%]{position:absolute;left:0;font-size:24px}.panel-content[_ngcontent-%COMP%] .mat-form-field-label{color:#f99830}.panel-content[_ngcontent-%COMP%] .mat-input-element:disabled{color:#135f7f}"]}),e})();var zB=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const VB=["mainContent"],NB=["img"],HB=["snav"],jB=["dragElem"],UB=["appDocumentNotePad"],WB=["appDocumentList"],GB=["rightContent"],$B=["pagesList"];function qB(e,t){if(1&e){const e=qr();Hr(0,"ion-segment-button",20),Xr("click",function(){return Lt(e),na(2).openAssociatedDocuments()}),Hr(1,"ion-label",11),Da(2),hc(3,"ucfirst"),hc(4,"translate"),jr(),Ur(5,"ion-icon",21),Hr(6,"ion-badge",15),Da(7),jr(),jr()}if(2&e){const e=na(2);no(2),Oa(pc(3,2,pc(4,4,"lang.associatedDocuments"))),no(5),Ma(" ",e.mainDocument.linkedDocuments.length," ")}}function YB(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",22),Hr(1,"ion-button",23),Xr("click",function(t){return Lt(e),na(2).openAction(t)}),Ur(2,"ion-icon",24),jr(),jr()}if(2&e){const e=na(2);no(1),Vr("disabled","CONVERTING"===e.mainDocument.status)}}function ZB(e,t){if(1&e){const e=qr();Hr(0,"ion-header",6),Hr(1,"ion-toolbar",7),Hr(2,"ion-buttons",8),Ur(3,"ion-menu-button"),jr(),Hr(4,"ion-segment",9),Xr("ionChange",function(t){return Lt(e),na().signaturesService.currentToobal=t.detail.value}),Hr(5,"ion-segment-button",10),Xr("click",function(){return Lt(e),na().openMainDocumentDetail()}),Hr(6,"ion-label",11),Da(7),hc(8,"translate"),jr(),Ur(9,"ion-icon",12),jr(),Hr(10,"ion-segment-button",13),Xr("click",function(){return Lt(e),na().openDocumentList()}),Hr(11,"ion-label",11),Da(12),hc(13,"ucfirst"),hc(14,"translate"),jr(),Ur(15,"ion-icon",14),Hr(16,"ion-badge",15),Da(17),jr(),jr(),Fr(18,qB,8,6,"ion-segment-button",16),Hr(19,"ion-segment-button",17),Xr("click",function(){return Lt(e),na().openVisaWorkflow()}),Hr(20,"ion-label",11),Da(21),hc(22,"translate"),jr(),Ur(23,"ion-icon",18),Hr(24,"ion-badge",15),Da(25),jr(),jr(),jr(),Fr(26,YB,3,1,"ion-buttons",19),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(4),Vr("value",e.signaturesService.currentToobal),no(3),Oa(pc(8,9,"lang.informations")),no(5),Oa(pc(13,11,pc(14,13,"lang.attachedElements"))),no(5),Ma(" ",e.mainDocument.attachments.length+1," "),no(1),Vr("ngIf",void 0!==e.mainDocument.linkedDocuments&&e.mainDocument.linkedDocuments.length>0),no(3),Oa(pc(22,15,"lang.circuit")),no(4),Ma(" ",e.mainDocument.workflow.length," "),no(1),Vr("ngIf",!e.detailMode)}}function QB(e,t){1&e&&(Hr(0,"ion-toolbar",25),Hr(1,"ion-label",26),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.substitutionInfo")))}function XB(e,t){1&e&&(Hr(0,"ion-toolbar",27),Hr(1,"div",28),Hr(2,"ion-label",29),Da(3),hc(4,"translate"),jr(),Ur(5,"ion-spinner",30),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.convertingDocument")))}function KB(e,t){1&e&&(Hr(0,"ion-toolbar",27),Hr(1,"ion-label",31),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.errorConvertingDocument")))}function JB(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",44),Xr("movingOffset",function(){return Lt(e),na(3).signaturesService.dragging=!0})("endOffset",function(){return Lt(e),na(3).signaturesService.dragging=!1})("click",function(){return Lt(e),na(3).expandedNote=!0}),hc(1,"translate"),Ur(2,"ion-icon",45),jr()}if(2&e){na(2);const e=Br(7),t=na();Vr("bounds",e)("inBounds",!0)("title",pc(1,4,"lang.expandNote"))("disabled",t.signaturesService.dragging)}}function ez(e,t){if(1&e&&(Wr(0),Hr(1,"div",52),Da(2),jr(),Hr(3,"div",53),Da(4),jr(),Gr()),2&e){const e=na(4);no(2),Ta(" ",e.mainDocument.notes.creator," (",e.mainDocument.notes.creationDate,") : "),no(2),Ma(" ",e.mainDocument.notes.value," ")}}function tz(e,t){if(1&e&&(Hr(0,"div"),Hr(1,"div",52),Da(2),jr(),Hr(3,"div",53),Da(4),jr(),jr()),2&e){const e=na().$implicit;no(2),Ta(" ",e.userDisplay," (",e.processDate,") : "),no(2),Ma(" ",e.note," ")}}function nz(e,t){if(1&e&&(Wr(0),Fr(1,tz,5,3,"div",3),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf",e.note)}}function iz(e,t){if(1&e){const e=qr();Hr(0,"div",46),Xr("movingOffset",function(){return Lt(e),na(3).signaturesService.dragging=!0})("endOffset",function(){return Lt(e),na(3).signaturesService.dragging=!1}),Hr(1,"div",47),Ur(2,"i",48),Hr(3,"span",49),Da(4),hc(5,"translate"),jr(),Hr(6,"i",50),Xr("click",function(){return Lt(e),na(3).expandedNote=!1}),hc(7,"translate"),jr(),jr(),Fr(8,ez,5,3,"ng-container",3),Fr(9,nz,2,1,"ng-container",51),jr()}if(2&e){na(2);const e=Br(7),t=na();Vr("bounds",e)("inBounds",!0),no(4),Oa(pc(5,6,"lang.note")),no(2),Vr("title",pc(7,8,"lang.collapseNote")),no(2),Vr("ngIf",null!=t.mainDocument.notes),no(1),Vr("ngForOf",t.mainDocument.workflow)}}function sz(e,t){if(1&e&&(Wr(0),Fr(1,JB,3,6,"ion-fab-button",42),Fr(2,iz,10,10,"div",43),Gr()),2&e){const e=na(2);no(1),Vr("ngIf",!e.expandedNote),no(1),Vr("ngIf",e.expandedNote)}}function oz(e,t){1&e&&Ur(0,"app-document-note-list")}function rz(e,t){1&e&&Ur(0,"app-document-sign-list",54),2&e&&(na(),Vr("bounds",Br(7)))}function az(e,t){1&e&&Ur(0,"app-document-date-list",54),2&e&&(na(),Vr("bounds",Br(7)))}function lz(e,t){if(1&e){const e=qr();Hr(0,"ion-img",55,56),Xr("ionImgDidLoad",function(t){return Lt(e),na(2).imageLoaded(t)}),jr()}if(2&e){const e=na(2);fa("width",e.signaturesService.workingAreaWidth,"px")("height",e.signaturesService.workingAreaHeight,"px"),Vr("src",e.docList[e.currentDoc].imgContent[e.pageNum])}}function cz(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),jr()),2&e){const e=t.index,n=na(3);Vr("value",e+1)("disabled",e+1===n.pageNum),no(1),Oa(e+1)}}const dz=function(e){return{cssClass:e}};function uz(e,t){if(1&e){const e=qr();Hr(0,"section",57),Hr(1,"div",58),Da(2),jr(),Hr(3,"div",59),Xr("click",function(t){return Lt(e),na(2).openSelect(t)}),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-select",60,61),Xr("ngModelChange",function(t){return Lt(e),na(2).pageNum=t})("ionChange",function(t){return Lt(e),na(2).goTo(t.target.value)}),Fr(8,cz,2,3,"ion-select-option",62),jr(),jr()}if(2&e){const e=na(2);no(2),Ma(" ",e.docList[e.currentDoc].title," "),no(2),Ia("",pc(5,7,"lang.page")," ",e.pageNum," / ",e.totalPages,""),no(2),Vr("ngModel",e.pageNum)("interfaceOptions",ac(9,dz,e.totalPages>10?"popover-class":"custom-popover-class")),no(2),Vr("ngForOf",e.pagesArray(e.totalPages))}}function hz(e,t){1&e&&(Hr(0,"ion-item",64),Ur(1,"ion-icon",65),Hr(2,"ion-label"),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.certifiedDocument")))}function pz(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",68),Xr("click",function(){return Lt(e),na(3).prevPage()}),Ur(1,"ion-icon",69),jr()}}function gz(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",70),Xr("click",function(){return Lt(e),na(3).nextPage()}),Ur(1,"ion-icon",71),jr()}}function fz(e,t){if(1&e&&(Wr(0),Fr(1,pz,2,0,"ion-fab-button",66),Fr(2,gz,2,0,"ion-fab-button",67),Gr()),2&e){const e=na(2);no(1),Vr("ngIf",e.pageNum>1&&!e.loadingImage),no(1),Vr("ngIf",e.pageNum<e.totalPages&&!e.loadingImage)}}function mz(e,t){if(1&e){const e=qr();Hr(0,"ion-content",null,32),Fr(2,sz,3,2,"ng-container",3),Hr(3,"div",33),Hr(4,"drag-scroll",34,35),Xr("click",function(t){Lt(e);const n=na();return 0==n.currentDoc&&!n.detailMode&&n.openAction(t)}),Hr(6,"div",36,37),Fr(8,oz,1,0,"app-document-note-list",3),Fr(9,rz,1,1,"app-document-sign-list",38),Fr(10,az,1,1,"app-document-date-list",38),Fr(11,lz,2,5,"ion-img",39),jr(),jr(),jr(),Fr(12,uz,9,11,"section",40),Fr(13,hz,5,3,"ion-item",41),Fr(14,fz,3,2,"ng-container",3),jr()}if(2&e){const e=na();no(2),Vr("ngIf",null!=e.mainDocument.notes||e.hasWorkflowNotes),no(2),fa("max-width",e.signaturesService.workingAreaWidth,"px"),Vr("drag-scroll-disabled",(e.signaturesService.dragging||e.signaturesService.resizing)&&e.signaturesService.mobileMode)("drag-disabled",(e.signaturesService.dragging||e.signaturesService.resizing)&&!e.signaturesService.mobileMode),no(2),fa("width",e.signaturesService.workingAreaWidth,"px")("height",e.signaturesService.workingAreaHeight,"px"),no(2),Vr("ngIf",0==e.currentDoc&&!e.loadingImage),no(1),Vr("ngIf",0===e.currentDoc&&!e.loadingImage&&e.signaturesService.signaturesContent[e.pageNum]),no(1),Vr("ngIf",0===e.currentDoc&&!e.loadingImage&&e.signaturesService.datesContent[e.pageNum]),no(1),Vr("ngIf",void 0!==e.docList[e.currentDoc]&&!e.functionsService.empty(e.docList[e.currentDoc].imgContent[e.pageNum])),no(1),Vr("ngIf",!e.signaturesService.dragging&&!e.signaturesService.resizing&&e.docList[e.currentDoc]),no(1),Vr("ngIf",e.mainDocument.isCertified),no(1),Vr("ngIf",!e.signaturesService.dragging&&!e.signaturesService.resizing&&!e.loadingImage)}}function bz(e,t){if(1&e&&Ur(0,"ion-icon",76),2&e){const e=na().$implicit;Vr("slot","start")("name",e.logo)}}function vz(e,t){if(1&e){const e=qr();Hr(0,"ion-button",74),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).launchEvent(n)}),Fr(1,bz,1,2,"ion-icon",75),Hr(2,"ion-label",26),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;Vr("disabled",na(2).isNotReady())("color",e.color),no(1),Vr("ngIf",""!==e.logo),no(2),Oa(pc(4,4,e.label))}}function yz(e,t){if(1&e&&(Hr(0,"ion-footer",72),Fr(1,vz,5,6,"ion-button",73),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.actionsList)}}function wz(e,t){if(1&e&&Ur(0,"app-visa-workflow",81),2&e){const e=na(2);Vr("visaWorkflow",e.mainDocument.workflow)("userDelegated",e.userDelegated)}}function _z(e,t){if(1&e){const e=qr();Hr(0,"app-document-list",82,83),Xr("triggerEvent",function(t){return Lt(e),na(2).loadDoc(t)}),jr()}if(2&e){const e=na(2);Vr("currentDocId",e.currentDoc)("docList",e.docList)}}function xz(e,t){1&e&&Ur(0,"app-associated-documents",84,85),2&e&&Vr("associatedDocuments",na(2).mainDocument.linkedDocuments)}function Cz(e,t){1&e&&Ur(0,"app-main-document-detail",86,87),2&e&&Vr("mainDocument",na(2).mainDocument)}function Az(e,t){if(1&e&&(Fr(0,wz,1,2,"app-visa-workflow",77),Fr(1,_z,2,2,"app-document-list",78),Fr(2,xz,2,1,"app-associated-documents",79),Fr(3,Cz,2,1,"app-main-document-detail",80)),2&e){const e=na();Vr("ngIf","visaWorkflow"==e.signaturesService.currentToobal),no(1),Vr("ngIf","documentList"==e.signaturesService.currentToobal),no(1),Vr("ngIf","associatedDocuments"==e.signaturesService.currentToobal),no(1),Vr("ngIf","mainDocumentDetail"==e.signaturesService.currentToobal)}}let Sz=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p,g,f,m,b,v,y,w,_,x){this.translate=e,this.router=t,this.route=n,this.http=i,this.signaturesService=s,this.notificationService=o,this.cookieService=r,this.sanitizer=a,this.dialog=l,this.bottomSheet=c,this.authService=d,this.localStorage=u,this.menu=h,this.actionSheetController=p,this.loadingController=g,this.viewContainerRef=f,this.modalController=m,this.pdfViewerService=b,this.alertController=v,this.signatureMethodService=y,this.navCtrl=w,this.functionsService=_,this.actionsService=x,this.posX=0,this.posY=0,this.enterApp=!0,this.detailMode=!1,this.pageNum=1,this.signaturesContent=[],this.currentDoc=0,this.docList=[],this.actionsList=[{id:2,label:"lang.reject",color:"danger",logo:"thumbs-down-outline",event:"refuseDocument"},{id:3,label:"lang.signatures",color:"",logo:"",event:"openSignatures"},{id:1,label:"lang.validate",color:"success",logo:"thumbs-up-outline",event:"validateDocument"}],this.freezeSidenavClose=!1,this.startX=0,this.startY=0,this.widthDoc="100%",this.resetDragPos=!1,this.mainDocument={id:0,status,attachments:[],workflow:[]},this.loadingUI=!1,this.expandedNote=!0,this.hasWorkflowNotes=!1,this.currentTool="info",this.load=null,this.dragging=!1,this.resizing=!1,this.pdfname=null,this.loadingdocument=!0,this.loadingpdf=!1,this.loadingImage=!0,this.fileContent="",this.userDelegated=!1,this.draggable=!1}imageLoaded(e){this.getImageDimensions(!0),"CONVERTING"!==this.mainDocument.status&&this.load.dismiss(),this.menu.enable(!0,"right-menu"),this.loadingImage=!1,document.getElementsByClassName("drag-scroll-content")[0].scrollTop=0}getImageDimensions(e=!1){const t=new Image;t.onload=t=>{this.signaturesService.workingAreaWidth=t.target.naturalWidth,this.signaturesService.workingAreaHeight=t.target.naturalHeight,e&&this.getAreaDimension()},t.src=this.docList[this.currentDoc].imgContent[this.pageNum]}getAreaDimension(){const e=100*this.mainContent.el.offsetWidth/this.signaturesService.workingAreaWidth;this.signaturesService.workingAreaWidth=e*this.signaturesService.workingAreaWidth/100,this.signaturesService.workingAreaHeight=e*this.signaturesService.workingAreaHeight/100}openAction(e){return zB(this,void 0,void 0,function*(){this.posX=e.clientX,this.posY=e.clientY;const t=[];this.checkEmptyNote()||t.push({text:this.translate.instant("lang.cancelPreviousNote"),icon:"arrow-undo-outline",handler:()=>{this.undoTag()}}),this.signaturesService.stampLock||(t.push({text:this.translate.instant("lang.affixSignature"),icon:"ribbon-outline",handler:()=>{this.openSignatures()}}),t.push({text:this.translate.instant("lang.annotateDocument"),icon:"receipt-outline",handler:()=>{this.openNoteEditor()}})),this.checkEmptiness()||t.push({text:this.translate.instant("lang.deleteAll"),icon:"color-wand-outline",handler:()=>{this.removeTags()}});const n=yield this.actionSheetController.create({header:"Actions",cssClass:"my-custom-class",buttons:t});yield n.present()})}openSignatures(){return zB(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:CF,cssClass:"my-custom-class",componentProps:{currentWorflow:this.mainDocument.workflow.filter(e=>!0===e.current)[0],content:this.fileContent}});yield e.present();const{data:t}=yield e.onWillDismiss();this.dragging=!1,void 0!==t&&("success"===t||void 0!==t.redirectPage&&this.goTo(t.redirectPage))})}openNoteEditor(){return zB(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:MF,cssClass:"fullscreen",componentProps:{precentScrollLeft:this.posX,precentScrollTop:this.posY,content:this.docList[this.currentDoc].imgContent[this.pageNum]}});yield e.present(),yield e.onWillDismiss()})}scrollToElem(){const e=this.signaturesService.signaturesContent[this.pageNum][this.signaturesService.signaturesContent[this.pageNum].length-1].positionY-75-($("#myBounds")[0].getBoundingClientRect().top-70)-$(window).height();document.getElementsByClassName("drag-scroll-content")[0].scrollTo(1e3,-e)}ionViewWillEnter(){this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent")}ngOnInit(){return zB(this,void 0,void 0,function*(){this.menu.enable(!1,"right-menu"),this.menu.enable(!0,"left-menu"),this.route.params.subscribe(e=>{void 0!==e.id&&this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(t=>{this.load=t,this.load.present(),this.http.get("../rest/documents/"+e.id).pipe(Ov(t=>zB(this,void 0,void 0,function*(){const n=yield this.checkSubstitute(t.document.workflow.find(e=>e.current));this.mainDocument=t.document,this.mainDocument.workflow=this.mainDocument.workflow.map(e=>(e.note&&(this.hasWorkflowNotes=!0),e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes}))),this.totalPages=this.mainDocument.pages,this.signaturesService.mainDocumentId=this.mainDocument.id,this.signaturesService.totalPage=this.mainDocument.pages,this.menu.enable(!0,"right-menu"),this.initDoc();const i=this.mainDocument.workflow.find(e=>!0===e.current);this.mainDocument.isCertified=this.mainDocument.workflow.filter(e=>"REF"!==e.status&&"STOP"!==e.status&&"sign"===e.mode&&"stamp"!==e.signatureMode&&null!==e.processDate).length>0,this.userDelegated=n;const s=[{id:4,label:"lang.back",color:"medium",logo:"chevron-back-outline",event:"back"}];this.mainDocument.readOnly?(this.actionsList=s,this.detailMode=!0):(null==i?void 0:i.userId)!==this.authService.user.id?n||(this.actionsList=s,this.detailMode=!0):this.functionsService.empty(i)||(this.signaturesService.stampLock=this.mainDocument.isCertified&&("stamp"===i.signatureMode&&"sign"===i[0].mode||"visa"===i.mode),i.userId!==this.authService.user.id?this.http.get("../rest/users/"+i.userId+"/signatures").subscribe(e=>{this.signaturesService.signaturesListSubstituted=e.signatures}):this.signaturesService.signaturesListSubstituted=[],i.datePositions.length>0&&this.functionsService.empty(this.signaturesService.datesContent)&&i.datePositions.forEach(e=>{this.signaturesService.datesContent[e.page]||(this.signaturesService.datesContent[e.page]=[]),this.signaturesService.datesContent[e.page][0]={width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:e.font,size:e.size,color:e.color,format:e.format}})),this.docList.push({id:this.mainDocument.id,title:this.mainDocument.title,pages:this.mainDocument.pages,imgContent:[],imgUrl:"../rest/documents/"+this.mainDocument.id+"/thumbnails"}),this.mainDocument.attachments.forEach(e=>{this.docList.push({id:e.id,title:e.title,pages:e.pages,imgContent:[],imgUrl:"../rest/attachments/"+e.id+"/thumbnails"})}),this.menu.enable(!0,"right-menu"),this.renderImage(),this.loadingdocument=!1,this.load.dismiss(),"CONVERTING"===this.mainDocument.status&&(this.timerSubscription=bD(0,1e4).pipe(Ov(()=>{this.http.get("../rest/documents/"+e.id).pipe(Ov(e=>{var t;this.totalPages=e.document.pages,"CONVERTING"!==e.document.status&&(this.mainDocument.status=e.document.status,null===(t=this.timerSubscription)||void 0===t||t.unsubscribe())})).subscribe()}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),lb(!1)))).subscribe())})),fv(e=>(console.log("error",e),setTimeout(()=>{this.load.dismiss()},200),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe()})})})}ngOnDestroy(){var e;null===(e=this.timerSubscription)||void 0===e||e.unsubscribe()}checkSubstitute(e){return!this.functionsService.empty(e)&&new Promise(t=>{this.http.get("../rest/users/"+e.userId).pipe(Ov(e=>{t(e.user.substitute===this.authService.user.id)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}renderPdf(){this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/content").subscribe(e=>{this.pdfname="data:application/pdf;base64,"+e.encodedDocument,this.loadingpdf=!0})}onPagesLoaded(e){return zB(this,void 0,void 0,function*(){this.totalPages=e.pagesCount,this.exportAsImage()})}exportAsImage(){return zB(this,void 0,void 0,function*(){const e=yield this.pdfViewerService.getPageAsImage(this.pageNum,{width:1e3});this.docList[this.currentDoc].imgContent[this.pageNum]=e,this.loadingpdf=!1,this.load.dismiss()})}renderImage(){void 0===this.docList[this.currentDoc].imgContent[this.pageNum]&&(0===this.currentDoc?this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(Ov(e=>{this.docList[this.currentDoc].imgContent[this.pageNum]="data:image/png;base64,"+e.fileContent,this.fileContent=e.fileContent}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe():this.http.get("../rest/attachments/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(Ov(e=>{this.docList[this.currentDoc].imgContent[this.pageNum]="data:image/png;base64,"+e.fileContent}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe())}initDoc(){this.docList=[],this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.signaturesService.currentToobal="mainDocumentDetail";const e=this.localStorage.get(this.mainDocument.id.toString());if(e){const t=JSON.parse(e);this.signaturesService.notesContent=void 0!==t.note?t.note:[],this.signaturesService.signaturesContent=void 0!==t.sign?t.sign:[],this.signaturesService.datesContent=void 0!==t.date?t.date:[]}this.signaturesService.currentAction=0,this.signaturesService.currentPage=1,this.pageNum=1,this.signaturesContent.currentDoc=1,this.currentDoc=0}testDrag(e){const t=e.source.getRootElement(),n=t.getBoundingClientRect(),i=this.getPosition(t);this.signaturesService.y=n.y-i.top,this.signaturesService.x=n.x-i.left}getPosition(e){let t=0,n=0;for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-e.scrollLeft,n+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{top:n,left:t}}zoomForNotes(){this.widthDoc="200%",this.signaturesService.scale=2,$(".example-box").css({transform:"translate3d("+this.signaturesService.x*this.signaturesService.scale+"px, "+this.signaturesService.y*this.signaturesService.scale+"px, 0px)"}),this.signaturesService.workingAreaHeight*=this.signaturesService.scale,this.signaturesService.workingAreaWidth*=this.signaturesService.scale}zoomForView(){this.resetDragPos=!0,this.widthDoc="100%",this.signaturesService.workingAreaHeight=this.signaturesService.workingAreaHeight/2,this.signaturesService.workingAreaWidth=this.signaturesService.workingAreaWidth/2,setTimeout(()=>{this.resetDragPos=!1},200),this.signaturesService.scale=1}prevPage(){this.loadingImage=!0,this.pageNum--,0===this.pageNum&&(this.pageNum=1),0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}nextPage(){this.loadingImage=!0,this.pageNum>=this.totalPages?this.pageNum=this.totalPages:this.pageNum++,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}goTo(e){this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(e=>{this.load=e,this.load.present(),this.loadingImage=!0,this.load.dismiss()}),this.pageNum=e,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}pagesArray(e){return Array(e)}initWorkingArea(){}refuseDocument(){return zB(this,void 0,void 0,function*(){let e=this.translate.instant("lang.rejectDocumentWarning");0===this.signaturesService.notesContent.length&&(e=this.translate.instant("lang.refuseDocumentWithoutNote"));const t=yield this.alertController.create({cssClass:"custom-alert-danger",header:this.translate.instant("lang.reject"),message:e,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.reject"),handler:e=>zB(this,void 0,void 0,function*(){const t=yield this.actionsService.checkGroupMail(this.mainDocument,"reject"),n=yield this.signatureMethodService.launchDefaultMode(e.paragraph,t);this.functionsService.empty(n)||(this.bottomSheet.open(IF,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()))})}]});yield t.present()})}validateDocument(e){return zB(this,void 0,void 0,function*(){let e=this.translate.instant("lang.validateDocumentWarning");0===this.signaturesService.signaturesContent.length&&0===this.signaturesService.notesContent.length&&(e=this.translate.instant("lang.validateDocumentWithoutSignOrNote")),this.signaturesService.stampLock&&(e=this.translate.instant("lang.certifiedDocumentMsg2"));const t=yield this.alertController.create({cssClass:"custom-alert-success",header:this.translate.instant("lang.validate"),message:e,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.validate"),handler:e=>zB(this,void 0,void 0,function*(){const t=this.mainDocument.workflow.filter(e=>!0===e.current)[0],n=yield this.actionsService.checkGroupMail(this.mainDocument,"validate"),i=yield this.signatureMethodService.checkAuthenticationAndLaunchAction(t,e.paragraph,n);this.functionsService.empty(i)||(this.bottomSheet.open(YF,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()))})}]});yield t.present()})}removeTags(){return zB(this,void 0,void 0,function*(){this.signaturesService.currentAction=0;const e=yield this.alertController.create({header:this.translate.instant("lang.deleteNoteAndSignature"),buttons:[{text:this.translate.instant("lang.validate"),handler:()=>{this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.localStorage.remove(this.mainDocument.id.toString()),this.notificationService.success("lang.noteAndSignatureDeleted")}}]});yield e.present()})}loadDoc(e){this.pageNum=1,this.currentDoc=e,this.totalPages=this.docList[e].pages}launchEvent(e){this.backToDetails(),this.signaturesService.currentAction=e.id,this[e.event]()}undoTag(){this.signaturesService.notesContent[this.pageNum]&&(this.signaturesService.notesContent[this.pageNum].pop(),this.localStorage.remove(this.mainDocument.id.toString()),this.localStorage.save(this.mainDocument.id.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.isEmptyNote()&&(this.signaturesService.notesContent=[]))}checkEmptyNote(){return!this.signaturesService.notesContent[this.pageNum]||"undefined"===this.signaturesService.notesContent[this.pageNum]||0===this.signaturesService.notesContent[this.pageNum].length}isEmptyNote(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}return e}checkEmptiness(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++){if(this.signaturesService.datesContent[t]&&this.signaturesService.datesContent[t].length>0){e=!1;break}if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}}return e}openVisaWorkflow(){this.menu.open("right-menu"),this.signaturesService.currentToobal="visaWorkflow"}openDocumentList(){this.menu.open("right-menu"),this.signaturesService.currentToobal="documentList"}openAssociatedDocuments(){this.menu.open("right-menu"),this.signaturesService.currentToobal="associatedDocuments"}openMainDocumentDetail(){this.menu.open("right-menu"),this.signaturesService.currentToobal="mainDocumentDetail"}backToDetails(){this.signaturesService.currentToobal="mainDocumentDetail"}deleteSubstution(){confirm(this.translate.instant("lang.deleteSubstitution")+" ?")&&this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:null}).subscribe(()=>{this.authService.updateUserInfoWithTokenRefresh(),this.notificationService.success("lang.substitutionDeleted")})}back(){this.navCtrl.back()}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent"),this.loadingController.dismiss()}openSelect(e){this.totalPages>1&&(this.pagesList.interface="popover",this.pagesList.open(e))}fromHex(e){const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}isNotReady(){return["CONVERTING","ERROR"].indexOf(this.mainDocument.status)>-1}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(r_),zr(Ny),zr(Db),zr(oS),zr(QA),zr(oE),zr(qh),zr(LM),zr(dM),zr(aS),zr(rS),zr(JC),zr(QC),zr(KC),zr(Gl),zr(eA),zr(XS),zr(XC),zr(qF),zr(ux),zr(HF),zr(UF))},e.\u0275cmp=$e({type:e,selectors:[["app-document"]],viewQuery:function(e,t){if(1&e&&(Tc(VB,1),Tc(NB,1),Tc(HB,3),Tc(jB,1),Tc(UB,1),Tc(WB,1),Tc(GB,3),Tc($B,1)),2&e){let e;Mc(e=Rc())&&(t.mainContent=e.first),Mc(e=Rc())&&(t.img=e.first),Mc(e=Rc())&&(t.snav=e.first),Mc(e=Rc())&&(t.dragElem=e.first),Mc(e=Rc())&&(t.appDocumentNotePad=e.first),Mc(e=Rc())&&(t.appDocumentList=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.pagesList=e.first)}},decls:8,vars:6,consts:[[3,"translucent",4,"ngIf"],["class","ion-text-center","color","primary",4,"ngIf"],["class","ion-text-center","color","danger",4,"ngIf"],[4,"ngIf"],["class","ion-no-border footer-buttons",4,"ngIf"],["rightContent",""],[3,"translucent"],["color","light"],["slot","start"],["value","favorite",3,"value","ionChange"],["value","mainDocumentDetail",3,"click"],["color","primary"],["color","primary","name","information-circle"],["value","documentList",3,"click"],["color","primary","name","document-attach-outline"],["color","danger",2,"position","absolute","top","10px","right","40%"],["value","associatedDocuments",3,"click",4,"ngIf"],["value","visaWorkflow",3,"click"],["color","primary","name","list-outline"],["slot","end",4,"ngIf"],["value","associatedDocuments",3,"click"],["color","primary","name","link-outline"],["slot","end"],["color","primary",3,"disabled","click"],["slot","icon-only","name","settings-sharp"],["color","primary",1,"ion-text-center"],[2,"font-size","13px"],["color","danger",1,"ion-text-center"],[1,"loading",2,"display","flex","height","100%"],[1,"loadingMsg"],["name","dots","color","light",2,"padding-top","6.5%"],[2,"font-size","14px","font-weight","bold"],["mainContent",""],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-scroll-disabled","drag-disabled","click"],["nav",""],["id","myBounds",2,"position","relative","cursor","grab"],["myBounds",""],[3,"bounds",4,"ngIf"],["class","img-content",3,"src","width","height","ionImgDidLoad",4,"ngIf"],["class","page-info",4,"ngIf"],["lines","none","class","certified",4,"ngIf"],["ngDraggable","","style","top: 40px;right: 40px;z-index:2;position:absolute;",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click",4,"ngIf"],["ngDraggable","","class","note",3,"bounds","inBounds","movingOffset","endOffset",4,"ngIf"],["ngDraggable","",2,"top","40px","right","40px","z-index","2","position","absolute",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click"],["name","chatbubble-ellipses-outline"],["ngDraggable","",1,"note",3,"bounds","inBounds","movingOffset","endOffset"],[1,"note-title"],[1,"far","fa-sticky-note",2,"padding-right","5px"],[2,"flex","1"],[1,"fa","fa-minus-square",2,"cursor","pointer",3,"title","click"],[4,"ngFor","ngForOf"],[1,"note-creator"],[1,"note-content"],[3,"bounds"],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","popover","hidden","true",2,"max-height","100%",3,"ngModel","interfaceOptions","ngModelChange","ionChange"],["pagesList",""],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["lines","none",1,"certified"],["slot","start","name","ribbon-outline","color","success"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"],[1,"ion-no-border","footer-buttons"],["shape","round","size","large","fill","outline",3,"disabled","color","click",4,"ngFor","ngForOf"],["shape","round","size","large","fill","outline",3,"disabled","color","click"],[3,"slot","name",4,"ngIf"],[3,"slot","name"],["style","display: contents;",3,"visaWorkflow","userDelegated",4,"ngIf"],["style","display: contents;",3,"currentDocId","docList","triggerEvent",4,"ngIf"],["style","display: contents;",3,"associatedDocuments",4,"ngIf"],["style","display: contents;",3,"mainDocument",4,"ngIf"],[2,"display","contents",3,"visaWorkflow","userDelegated"],[2,"display","contents",3,"currentDocId","docList","triggerEvent"],["appDocumentList",""],[2,"display","contents",3,"associatedDocuments"],["appAssociatedDocuments",""],[2,"display","contents",3,"mainDocument"],["appMainDocumentDetail",""]],template:function(e,t){1&e&&(Fr(0,ZB,27,17,"ion-header",0),Fr(1,QB,4,3,"ion-toolbar",1),Fr(2,XB,6,3,"ion-toolbar",2),Fr(3,KB,4,3,"ion-toolbar",2),Fr(4,mz,15,16,"ion-content",3),Fr(5,yz,2,1,"ion-footer",4),Fr(6,Az,4,4,"ng-template",null,5,zc)),2&e&&(Vr("ngIf",!t.loadingdocument),no(1),Vr("ngIf",null!==t.authService.user.substitute&&t.docList[t.currentDoc]),no(1),Vr("ngIf",0!==t.mainDocument.id&&"CONVERTING"===t.mainDocument.status),no(1),Vr("ngIf",0!==t.mainDocument.id&&"ERROR"===t.mainDocument.status),no(1),Vr("ngIf",!t.loadingdocument),no(1),Vr("ngIf",!t.loadingImage&&0===t.currentDoc))},directives:[Wu,Vx,yC,Ax,Jx,cC,ox,dC,Zx,Nx,xx,Cx,fC,Tx,Zk,Lx,Jk,ju,QF,tB,dB,Hx,uC,rm,Rm,hC,Gx,Bx,OB,NF,TB,BB],pipes:[qA,dE],styles:[".enterApp[_ngcontent-%COMP%]{position:fixed;height:100vh;width:100vw;background-color:#135f7f;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px}.mainView[_ngcontent-%COMP%]{height:100%;width:auto;display:flex;flex-direction:column;overflow:hidden}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:70px;width:auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:40px}.article[_ngcontent-%COMP%]{display:flex;justify-content:center;overflow:hidden;flex:1;top:0;left:0}.canvas-wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:120px}canvas[_ngcontent-%COMP%]{margin:0 auto;display:block}.header[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:80px;align-items:center;padding:0}.header[_ngcontent-%COMP%], .header-action[_ngcontent-%COMP%]{display:flex;justify-content:center}.header-action[_ngcontent-%COMP%]{color:#135f7f}.header-action-button[_ngcontent-%COMP%]{white-space:normal;word-break:break-word;width:135px!important}.header-infos[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:5px;display:flex;justify-content:space-between;align-items:flex-start;width:100%;padding-top:12px;padding-bottom:7px;position:relative;overflow-y:hidden;overflow-x:auto}.header-info[_ngcontent-%COMP%]{border-right:1px solid #979797;width:200px;height:60px;font-size:12px;padding-left:20px}.header-info[_ngcontent-%COMP%]:last-of-type{border:none}.header-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0}.header-expand[_ngcontent-%COMP%]{width:70%;position:absolute;left:50%;transform:translateX(-50%);top:25px;border:1px solid #f1f4f4}.header-expand[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.header-expand[_ngcontent-%COMP%] .mat-expansion-panel{box-shadow:none}.header-expand[_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f}.header-expand[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.header-expand-content[_ngcontent-%COMP%]{width:33%;display:inline-block}.header-expand-content[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-overflow:ellipsis}.header-expand-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.header-expand[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{opacity:1;color:#666}.header-expand[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1;font-size:12px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.btn-next[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;right:25px;top:50%;cursor:pointer;z-index:1}.btn-next.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.btn-previous[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;left:25px;top:50%;cursor:pointer;z-index:1}.btn-previous.disabled[_ngcontent-%COMP%], button.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.overlay[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5)}.pdf-page-canvas[_ngcontent-%COMP%]{opacity:1;transition:opacity .5s ease-in}.pdf-page-canvas-loading-doc[_ngcontent-%COMP%]{opacity:0}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leftPosDesk[_ngcontent-%COMP%]{left:25%!important}.mat-badge-content[_ngcontent-%COMP%]{background:#e74c3c}.substutionModal[_ngcontent-%COMP%]{color:#fff;background:#135f7f}.substutionModal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:10px}.substutionModal[_ngcontent-%COMP%] .msgModal[_ngcontent-%COMP%]{text-align:center;flex:1}.substitutedInformations[_ngcontent-%COMP%]{top:85px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis;background:#135f7f;color:#fff;font-size:13px;text-align:center}.note[_ngcontent-%COMP%]{top:40px;right:40px;z-index:2;cursor:-webkit-grab;cursor:grab;position:absolute;background-color:#fff8bb;width:300px;max-height:400px;overflow:auto;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.note-title[_ngcontent-%COMP%]{background-color:#fff8bb;position:-webkit-sticky;position:sticky;top:0;display:flex;align-items:center;font-weight:700}.note-creator[_ngcontent-%COMP%], .note-title[_ngcontent-%COMP%]{padding:10px;color:#135f7f}.note-creator[_ngcontent-%COMP%]{font-size:12px;text-decoration:underline}.note-content[_ngcontent-%COMP%]{padding:0 10px 10px;color:#4f4f4f}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.certified[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;border:1px solid var(--ion-color-success);color:var(--ion-color-success)} .popover-class .popover-content{height:50%;top:50px} .custom-popover-class .popover-class{height:10%;top:50px}.loading[_ngcontent-%COMP%]{display:flex;position:absolute;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:2;overflow:hidden}.loadingMsg[_ngcontent-%COMP%]{padding:2%;color:var(--ion-color-light);font-weight:700;margin-right:-5px}"]}),e})();var kz=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function Ez(e,t){1&e&&(Hr(0,"a",13),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.forgotPassword")))}function Pz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.ldapEnabled")))}function Dz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.kerberosEnabled")))}function Oz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.x509Enabled")))}function Mz(e,t){if(1&e&&(Hr(0,"a",15),hc(1,"translate"),Da(2),jr()),2&e){const e=na();la("href","",pc(1,3,"lang.repoUrl"),"/commit/",e.commitHash,"",os),no(2),Oa(e.commitHash.substring(0,8))}}let Tz=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.http=e,this.router=t,this.authService=n,this.signaturesService=i,this.notificationService=s,this.dialog=o,this.formBuilder=r,this.loadingController=a,this.translate=l,this.menu=c,this.loading=!1,this.showForm=!1,this.commitHash=null}ngOnInit(){return kz(this,void 0,void 0,function*(){this.loginForm=this.formBuilder.group({login:[null,zf.required],password:[null,zf.required]}),this.environment=zd,this.signaturesService.reset(),yield this.loadCommitInformation()})}ionViewWillEnter(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}ngAfterViewInit(){setTimeout(()=>{this.showForm=!0,this.fixAutoFill(),this.initConnection()},500)}fixAutoFill(){setTimeout(()=>{this.loginForm.get("login").setValue($("#login").val()),this.loginForm.get("password").setValue($("#password").val())},100)}onSubmit(){return kz(this,void 0,void 0,function*(){const e=yield this.loadingController.create({cssClass:"my-custom-class",message:this.translate.instant("lang.connexion")});yield e.present(),this.authService.authFailed=!1,this.loginForm.invalid?(e.dismiss(),this.notificationService.error("lang.requiredLoginPassword")):this.http.post("../rest/authenticate",{login:this.loginForm.get("login").value,password:this.loginForm.get("password").value},{observe:"response"}).pipe(Ov(t=>{this.loading=!1,this.showForm=!1,this.authService.saveTokens(t.headers.get("Token"),t.headers.get("Refresh-Token")),this.authService.setUser({}),this.authService.getCachedUrl()?(this.router.navigateByUrl(this.authService.getCachedUrl()),this.authService.cleanCachedUrl()):this.router.navigate(["/home"]),e.dismiss()}),fv(t=>(this.loading=!1,this.authService.authFailed=!0,401===t.status&&-1===["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)?(this.notificationService.error("lang.wrongLoginPassword"),e.dismiss()):"azure_saml"===this.authService.authMode&&"Authentication Failed : not logged"===t.error.errors?(e.dismiss(),window.location.href=t.error.authUri):(e.dismiss(),this.notificationService.handleErrors(t)),lb(!1)))).subscribe()})}initConnection(){["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)>-1&&(this.loginForm.disable(),this.loginForm.setValidators(null),this.onSubmit())}loadCommitInformation(){return new Promise(e=>{this.http.get("../rest/commitInformation").pipe(Ov(t=>{this.commitHash=t.hash,e(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(r_),zr(aS),zr(oS),zr(QA),zr(LM),zr(ab),zr(KC),zr($A),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:27,vars:18,consts:[[1,"login-content"],["svgIcon","maarchLogo",1,"maarchLogo"],[2,"width","400px","position","absolute","left","50%","top","50%","transform","translate(-50%,-50%)"],[3,"formGroup","ngSubmit"],["position","floating"],["formControlName","login","type","text",3,"keyup.enter"],["name","password","matInput","","type","password","formControlName","password",3,"keyup.enter"],[1,"connection-type"],["routerLink","/forgot-password","class","forgot-password",4,"ngIf"],["href","","class","forgot-password",4,"ngIf"],["type","submit","expand","block",3,"disabled"],[1,"version-info"],["style","color: white","target","blank",3,"href",4,"ngIf"],["routerLink","/forgot-password",1,"forgot-password"],["href","",1,"forgot-password"],["target","blank",2,"color","white",3,"href"]],template:function(e,t){1&e&&(Hr(0,"ion-content",0),Ur(1,"mat-icon",1),Hr(2,"ion-card",2),Hr(3,"ion-card-content"),Hr(4,"form",3),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(5,"ion-item"),Hr(6,"ion-label",4),Da(7),hc(8,"translate"),jr(),Hr(9,"ion-input",5),Xr("keyup.enter",function(){return t.onSubmit()}),jr(),jr(),Hr(10,"ion-item"),Hr(11,"ion-label",4),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",6),Xr("keyup.enter",function(){return t.onSubmit()}),jr(),jr(),Hr(15,"div",7),Fr(16,Ez,3,3,"a",8),Fr(17,Pz,3,3,"a",9),Fr(18,Dz,3,3,"a",9),Fr(19,Oz,3,3,"a",9),jr(),Hr(20,"ion-button",10),Da(21),hc(22,"translate"),jr(),jr(),jr(),jr(),Hr(23,"ion-note",11),Da(24),Fr(25,Mz,3,5,"a",12),Da(26),jr(),jr()),2&e&&(no(4),Vr("formGroup",t.loginForm),no(3),Oa(pc(8,12,"lang.login")),no(5),Oa(pc(13,14,"lang.password")),no(4),Vr("ngIf","default"===t.authService.authMode),no(1),Vr("ngIf","ldap"===t.authService.authMode),no(1),Vr("ngIf","kerberos"===t.authService.authMode),no(1),Vr("ngIf","x509"===t.authService.authMode),no(1),Vr("disabled",t.loginForm.invalid||t.loading),no(1),Ma(" ",pc(22,16,"lang.connect")," "),no(3),Ma(" Maarch Parapheur ",t.environment.VERSION," "),no(1),Vr("ngIf",null!==t.commitHash),no(1),Ma(" Powered by ",t.environment.AUTHOR," "))},directives:[Tx,iT,Sx,kx,Lm,am,Hm,Gx,Zx,Wx,ax,rm,Um,Wu,Cx,tC,l_,UC],pipes:[qA],styles:[".version-info[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;top:10%;left:50%;transform:translateX(-50%);width:250px;height:auto;padding-bottom:10px}.login-content[_ngcontent-%COMP%]{--background:var(--ion-color-primary)}.forgot-password[_ngcontent-%COMP%]{display:block;text-align:right}.connection-type[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]}),e})(),Iz=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.http=t,this.notificationService=s,this.loadingForm=!1,this.loading=!1,this.newLogin={login:"",password:""},this.labelButton="lang.send",this.appVersion="",this.appAuthor="",n.addSvgIcon("maarchLogo",i.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg"))}ngOnInit(){}generateLink(){this.labelButton="lang.generation",this.loading=!0,this.http.post("../rest/password",{login:this.newLogin.login}).pipe(Iv(()=>{this.labelButton="lang.send",this.loading=!1})).subscribe(e=>{this.loadingForm=!0,this.notificationService.success("lang.requestSentByEmail"),this.router.navigate(["/login"])},e=>{this.notificationService.handleErrors(e)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Db),zr(YM),zr(qh),zr(QA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:28,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","floating"],["name","login","matInput","","type","text","oninput","this.value = this.value.toLowerCase()",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,3),Hr(9,"form",4,5),Xr("ngSubmit",function(){return t.generateLink()}),Hr(11,"ion-grid"),Hr(12,"ion-row"),Hr(13,"ion-col",6),Hr(14,"ion-card",7),Ur(15,"ion-card-content",8),hc(16,"translate"),jr(),Hr(17,"ion-item"),Hr(18,"ion-label",9),Da(19),hc(20,"translate"),jr(),Hr(21,"ion-input",10),Xr("ngModelChange",function(e){return t.newLogin.login=e}),jr(),jr(),jr(),jr(),jr(),Hr(22,"ion-item",11),Hr(23,"div",12),Hr(24,"ion-button",13),Hr(25,"ion-label",14),Da(26),hc(27,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,7,"lang.forgotPassword")),no(10),Vr("innerHTML",pc(16,9,"lang.afterClickingSendLinkChangePassword"),ss),no(4),Ma("",pc(20,11,"lang.enterLogin")," *"),no(2),Vr("ngModel",t.newLogin.login),no(3),Vr("disabled",""==t.newLogin.login||t.loading),no(2),Oa(pc(27,13,t.labelButton)))},directives:[Vx,yC,Ax,_x,jC,bC,Tx,Lm,am,Mm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Rm,Cx],pipes:[qA],styles:[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-200px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]}),e})();function Rz(e,t){if(1&e&&(Hr(0,"ion-note",22),Da(1),hc(2,"translate"),jr()),2&e){const e=na();no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function Lz(e,t){1&e&&(Hr(0,"ion-note",23),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function Fz(e,t){1&e&&(Hr(0,"ion-note",22),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}let Bz=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.translate=e,this.router=t,this.route=n,this.http=i,this.notificationService=r,this.menu=a,this.loadingForm=!1,this.loading=!1,this.token="",this.password={newPassword:"",passwordConfirmation:""},this.labelButton="lang.update",this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.handlePassword={error:!1,errorMsg:""},this.ruleText="",this.otherRuleText="",s.addSvgIcon("maarchLogo",o.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.route.queryParams.subscribe(e=>{this.token=e.token})}ngOnInit(){this.getPassRules()}ionViewWillEnter(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}updatePassword(){this.labelButton="lang.sending",this.loading=!0,this.http.put("../rest/password",{token:this.token,password:this.password.newPassword}).pipe(Iv(()=>{this.labelButton="lang.update",this.loading=!1})).subscribe(e=>{this.loadingForm=!0,this.notificationService.success("lang.passwordChanged"),this.router.navigate(["/login"])},e=>{this.notificationService.handleErrors(e)})}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}getPassRules(){this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)})}allowValidate(){return!(!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(r_),zr(Ny),zr(Db),zr(YM),zr(qh),zr(QA),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:47,vars:35,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","stacked"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium","routerLink","/login"],["color","danger"],["color","success"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,3),Hr(9,"form",4,5),Xr("ngSubmit",function(){return t.updatePassword()}),Hr(11,"ion-grid"),Hr(12,"ion-row"),Hr(13,"ion-col",6),Hr(14,"ion-card",7),Ur(15,"ion-card-content",8),hc(16,"translate"),jr(),Hr(17,"ion-item"),Hr(18,"ion-label",9),Da(19),hc(20,"translate"),jr(),Hr(21,"ion-input",10),Xr("ngModelChange",function(e){return t.password.newPassword=e})("keyup",function(){return t.checkPasswordValidity(t.password.newPassword)}),hc(22,"translate"),jr(),Hr(23,"ion-button",11),Xr("click",function(){return t.hideNewPassword=!t.hideNewPassword}),Ur(24,"ion-icon",12),jr(),Fr(25,Rz,3,3,"ion-note",13),jr(),Hr(26,"ion-item"),Hr(27,"ion-label",9),Da(28),hc(29,"translate"),jr(),Hr(30,"ion-input",14),Xr("ngModelChange",function(e){return t.password.passwordConfirmation=e}),hc(31,"translate"),jr(),Hr(32,"ion-button",11),Xr("click",function(){return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(33,"ion-icon",12),jr(),jr(),Hr(34,"ion-item",15),Fr(35,Lz,3,3,"ion-note",16),Fr(36,Fz,3,3,"ion-note",13),jr(),jr(),jr(),jr(),Hr(37,"ion-item",17),Hr(38,"div",18),Hr(39,"ion-button",19),Hr(40,"ion-label",20),Da(41),hc(42,"translate"),jr(),jr(),Hr(43,"ion-button",21),Hr(44,"ion-label",20),Da(45),hc(46,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,19,"lang.newPassword")),no(10),Vr("innerHTML",pc(16,21,"lang.logInOncePasswordChanged"),ss),no(4),Oa(pc(20,23,"lang.newPassword")),no(2),ra("placeholder",pc(22,25,"lang.newPassword")),Vr("ngModel",t.password.newPassword)("type",t.hideNewPassword?"password":"text"),no(3),Vr("name",t.hideNewPassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.handlePassword.error),no(3),Ma("",pc(29,27,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(31,29,"lang.passwordConfirmation")),Vr("ngModel",t.password.passwordConfirmation)("type",t.hideNewPasswordConfirm?"password":"text"),no(3),Vr("name",t.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),no(2),Vr("ngIf",t.password.passwordConfirmation===t.password.newPassword&&t.password.newPassword.length>0&&t.password.passwordConfirmation.length>0),no(1),Vr("ngIf",t.password.passwordConfirmation!==t.password.newPassword),no(3),Vr("disabled",t.allowValidate()||t.loading),no(2),Oa(pc(42,31,t.labelButton)),no(4),Oa(pc(46,33,"lang.cancel")))},directives:[Vx,yC,Ax,_x,jC,bC,Tx,Lm,am,Mm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Rm,Cx,Nx,Wu,UC,a_,tC],pipes:[qA],styles:[".login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-230px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}"]}),e})(),zz=(()=>{class e{constructor(e,t,n,i){this.http=e,this.translate=t,this.notify=n,this.signaturesService=i,this.loading=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0},lockTime:{enabled:!1,value:0},lockAttempts:{enabled:!1,value:0}},this.passwordRulesClone={},this.passwordRulesList=[]}ngOnInit(){this.loading=!0,this.http.get("../rest/passwordRules").subscribe(e=>{this.passwordRulesList=e.rules,e.rules.forEach(e=>{this.passwordRules[e.label].enabled=e.enabled,this.passwordRules[e.label].value=e.value,this.passwordRules[e.label].label=this.translate.instant("lang.password_"+e.label+"Required"),this.passwordRules[e.label].id=e.label,this.loading=!1}),this.passwordRulesClone=JSON.parse(JSON.stringify(this.passwordRules))},e=>{this.notify.error(e.error.errors)})}cancelModification(){this.passwordRules=JSON.parse(JSON.stringify(this.passwordRulesClone)),this.passwordRulesList.forEach(e=>{e.enabled=this.passwordRules[e.label].enabled,e.value=this.passwordRules[e.label].value})}checkModif(){return JSON.stringify(this.passwordRules)===JSON.stringify(this.passwordRulesClone)}disabledForm(){return!(this.passwordRules.lockTime.enabled||this.passwordRules.minLength.enabled||this.passwordRules.lockAttempts.enabled||this.passwordRules.renewal.enabled||this.passwordRules.historyLastUse.enabled)}toggleRule(e){this.passwordRulesList.forEach(t=>{"lockAttempts"!==e.id||"lockTime"!==t.label&&"lockAttempts"!==t.label?e.id===t.label&&(t.enabled=e.enabled):(t.enabled=e.enabled,this.passwordRules.lockTime.enabled=e.enabled)})}onSubmit(){this.passwordRulesList.forEach(e=>{e.enabled=this.passwordRules[e.label].enabled,e.value=this.passwordRules[e.label].value}),this.http.put("../rest/passwordRules",{rules:this.passwordRulesList}).subscribe(()=>{this.passwordRulesClone=JSON.parse(JSON.stringify(this.passwordRules)),this.notify.success("lang.passwordRulesUpdated")},e=>{this.notify.error(e.error.errors)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(QA),zr(oS))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:69,vars:49,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","passwordForm",2,"display","contents",3,"ngSubmit"],["passwordForm","ngForm"],["color","secondary"],["slot","start","name","complexityUpper",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexityNumber",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexitySpecial",3,"ngModel","checked","ngModelChange"],["slot","start","name","minLengthToggle",3,"ngModel","checked","ngModelChange"],["color","secondary","position","floating"],["name","minLength","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","end"],["slot","start","name","lockAttemptsToggle",3,"ngModel","checked","ngModelChange"],["name","lockAttempts","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["name","lockTime","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","renewalToggle",3,"ngModel","checked","ngModelChange"],["name","renewal","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","historyLastUseToggle",3,"ngModel","checked","ngModelChange"],["name","historyLastUse","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(10,"ion-content"),Hr(11,"ion-row"),Hr(12,"ion-col"),Hr(13,"ion-item"),Hr(14,"ion-label",6),Da(15),jr(),Hr(16,"ion-toggle",7),Xr("ngModelChange",function(e){return t.passwordRules.complexityUpper.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityUpper)}),jr(),jr(),jr(),Hr(17,"ion-col"),Hr(18,"ion-item"),Hr(19,"ion-label",6),Da(20),jr(),Hr(21,"ion-toggle",8),Xr("ngModelChange",function(e){return t.passwordRules.complexityNumber.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityNumber)}),jr(),jr(),jr(),Hr(22,"ion-col"),Hr(23,"ion-item"),Hr(24,"ion-label",6),Da(25),jr(),Hr(26,"ion-toggle",9),Xr("ngModelChange",function(e){return t.passwordRules.complexitySpecial.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexitySpecial)}),jr(),jr(),jr(),jr(),Hr(27,"ion-item"),Hr(28,"ion-toggle",10),Xr("ngModelChange",function(e){return t.passwordRules.minLength.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.minLength)}),jr(),Hr(29,"ion-label",11),Da(30),jr(),Hr(31,"ion-input",12),Xr("ngModelChange",function(e){return t.passwordRules.minLength.value=e}),jr(),Hr(32,"ion-note",13),Da(33),hc(34,"translate"),jr(),jr(),Hr(35,"ion-row"),Hr(36,"ion-col"),Hr(37,"ion-item"),Hr(38,"ion-toggle",14),Xr("ngModelChange",function(e){return t.passwordRules.lockAttempts.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.lockAttempts)}),jr(),Hr(39,"ion-label",11),Da(40),jr(),Hr(41,"ion-input",15),Xr("ngModelChange",function(e){return t.passwordRules.lockAttempts.value=e}),jr(),jr(),jr(),Hr(42,"ion-col"),Hr(43,"ion-item"),Hr(44,"ion-label",11),Da(45),jr(),Hr(46,"ion-input",16),Xr("ngModelChange",function(e){return t.passwordRules.lockTime.value=e}),jr(),Hr(47,"ion-note",13),Da(48),hc(49,"translate"),jr(),jr(),jr(),jr(),Hr(50,"ion-item"),Hr(51,"ion-toggle",17),Xr("ngModelChange",function(e){return t.passwordRules.renewal.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.renewal)}),jr(),Hr(52,"ion-label",11),Da(53),jr(),Hr(54,"ion-input",18),Xr("ngModelChange",function(e){return t.passwordRules.renewal.value=e}),jr(),Hr(55,"ion-note",13),Da(56),hc(57,"translate"),jr(),jr(),Hr(58,"ion-item"),Hr(59,"ion-toggle",19),Xr("ngModelChange",function(e){return t.passwordRules.historyLastUse.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.historyLastUse)}),jr(),Hr(60,"ion-label",11),Da(61),jr(),Hr(62,"ion-input",20),Xr("ngModelChange",function(e){return t.passwordRules.historyLastUse.value=e}),jr(),jr(),Hr(63,"ion-item",21),Hr(64,"div",22),Hr(65,"ion-button",23),Hr(66,"ion-label",24),Da(67),hc(68,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(9);Vr("translucent",!0),no(6),Oa(pc(7,39,"lang.manage_password_rules")),no(9),Oa(t.passwordRules.complexityUpper.label),no(1),Vr("ngModel",t.passwordRules.complexityUpper.enabled)("checked",t.passwordRules.complexityUpper.enabled),no(4),Oa(t.passwordRules.complexityNumber.label),no(1),Vr("ngModel",t.passwordRules.complexityNumber.enabled)("checked",t.passwordRules.complexityNumber.enabled),no(4),Oa(t.passwordRules.complexitySpecial.label),no(1),Vr("ngModel",t.passwordRules.complexitySpecial.enabled)("checked",t.passwordRules.complexitySpecial.enabled),no(2),Vr("ngModel",t.passwordRules.minLength.enabled)("checked",t.passwordRules.minLength.enabled),no(2),Oa(t.passwordRules.minLength.label),no(1),Vr("disabled",!t.passwordRules.minLength.enabled)("ngModel",t.passwordRules.minLength.value),no(2),Oa(pc(34,41,"lang.chars")),no(5),Vr("ngModel",t.passwordRules.lockAttempts.enabled)("checked",t.passwordRules.lockAttempts.enabled),no(2),Oa(t.passwordRules.lockAttempts.label),no(1),Vr("disabled",!t.passwordRules.lockAttempts.enabled)("ngModel",t.passwordRules.lockAttempts.value),no(4),Oa(t.passwordRules.lockTime.label),no(1),Vr("disabled",!t.passwordRules.lockTime.enabled)("ngModel",t.passwordRules.lockTime.value),no(2),Oa(pc(49,43,"lang.minutes")),no(3),Vr("ngModel",t.passwordRules.renewal.enabled)("checked",t.passwordRules.renewal.enabled),no(2),Oa(t.passwordRules.renewal.label),no(1),Vr("disabled",!t.passwordRules.renewal.enabled)("ngModel",t.passwordRules.renewal.value),no(2),Oa(pc(57,45,"lang.days")),no(3),Vr("ngModel",t.passwordRules.historyLastUse.enabled)("checked",t.passwordRules.historyLastUse.enabled),no(2),Oa(t.passwordRules.historyLastUse.label),no(1),Vr("disabled",!t.passwordRules.historyLastUse.enabled)("ngModel",t.passwordRules.historyLastUse.value),no(3),Vr("disabled",!e.valid&&!t.disabledForm()||t.checkModif()),no(2),Oa(pc(68,47,"lang.validate"))}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,aC,Mx,Gx,Zx,vC,J_,rm,Rm,Wx,ax,ib,tC,Cx],pipes:[qA],encapsulation:2}),e})();function Vz(e,t){1&e&&(Hr(0,"ion-note",17),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.requiredField")))}function Nz(e,t){1&e&&(Hr(0,"ion-item",26),Ur(1,"ion-icon",27),Hr(2,"ion-label",28),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.passwordValid")))}function Hz(e,t){1&e&&(Hr(0,"ion-item",26),Ur(1,"ion-icon",27),Hr(2,"ion-label",28),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.passwordMatch")))}function jz(e,t){1&e&&Ur(0,"ion-item",29),2&e&&Vr("innerHTML",na().otherRuleText,ss)}let Uz=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.notify=t,this._formBuilder=n,this.translate=i,this.signaturesService=s,this.authService=o,this.router=r,this.config={},this.loading=!1,this.user={},this.ruleText="",this.hidePassword=!0,this.validPassword=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.user=JSON.parse(atob(this.authService.getToken().split(".")[1])).user}ngOnInit(){this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[],i=[];t.push(zf.required),e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&(t.push(zf.minLength(this.passwordRules.minLength.value)),n.push(e.value+" "+this.translate.instant("lang.password_"+e.label)))):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&i.push(this.translate.instant("lang.password_"+e.label)+" <b>"+e.value+" "+this.translate.instant("lang.days")+"</b>. "+this.translate.instant("lang.password2_"+e.label)+".")):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&i.push(this.translate.instant("lang.password_historyLastUseDesc")+" <b>"+e.value+"</b> "+this.translate.instant("lang.password_historyLastUseDesc2")+"."))}),this.ruleText=n.join(", "),this.otherRuleText=i.join("<br/>"),this.firstFormGroup.controls.newPasswordCtrl.setValidators(t)},e=>{this.notify.error(e.error.errors)}),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",zf.compose([zf.required])],currentPasswordCtrl:["",zf.compose([zf.required])]},{validator:this.matchValidator})}regexValidator(e,t){return n=>n.value?e.test(n.value)?null:t:null}matchValidator(e){return e.controls.newPasswordCtrl.value!==e.controls.retypePasswordCtrl.value&&(e.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})}getErrorMessage(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!==this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.translate.instant("lang.requiredField")+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.translate.instant("lang.password_minLength")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.translate.instant("lang.password_complexityUpper")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.translate.instant("lang.password_complexityNumber")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.translate.instant("lang.password_complexitySpecial")+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")}onSubmit(){this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.passwordConfirmation=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../rest/users/"+this.user.id+"/password",this.passwordModel).subscribe(()=>{this.notify.success(this.translate.instant("lang.passwordChanged")),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(e=>{this.authService.user.picture=e.picture}),this.router.navigate(["/home"])},e=>{this.notify.handleErrors(e)})}logout(){this.authService.logout()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA),zr(ab),zr($A),zr(oS),zr(aS),zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:68,vars:53,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],[2,"display","contents",3,"formGroup","ngSubmit"],["offset","3","size","6"],[1,"info"],["color","secondary","position","stacked"],["formControlName","currentPasswordCtrl","required","",3,"placeholder","type"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["lines","full"],["color","dark"],["formControlName","newPasswordCtrl","required","",3,"placeholder","type"],["inputPasswd",""],["lines","none",4,"ngIf"],["color","danger"],["required","","formControlName","retypePasswordCtrl",3,"placeholder","type"],["inputPasswd2",""],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","default",3,"click"],["color","warning","class","alert-warning","role","alert",3,"innerHTML",4,"ngIf"],["lines","none"],["slot","start","color","success","name","checkmark-outline"],["color","success"],["color","warning","role","alert",1,"alert-warning",3,"innerHTML"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Ur(2,"ion-buttons",2),Hr(3,"ion-title"),Da(4),hc(5,"translate"),jr(),jr(),jr(),Hr(6,"ion-content",null,3),Hr(8,"form",4),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-grid"),Hr(10,"ion-row"),Hr(11,"ion-col",5),Hr(12,"ion-card",6),Hr(13,"ion-card-content"),Da(14),hc(15,"translate"),Hr(16,"b"),Da(17),jr(),Da(18),hc(19,"translate"),jr(),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",7),Da(22),hc(23,"translate"),jr(),Ur(24,"ion-input",8),hc(25,"translate"),Hr(26,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(27,"ion-icon",10),jr(),Fr(28,Vz,3,3,"ion-note",11),jr(),Hr(29,"ion-list-header",12),Hr(30,"ion-label",13),Da(31),jr(),jr(),Hr(32,"ion-item"),Hr(33,"ion-label",7),Da(34),hc(35,"translate"),jr(),Ur(36,"ion-input",14,15),hc(38,"translate"),Hr(39,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(40,"ion-icon",10),jr(),Fr(41,Nz,5,3,"ion-item",16),Hr(42,"ion-note",17),Da(43),jr(),jr(),Hr(44,"ion-item"),Hr(45,"ion-label",7),Da(46),hc(47,"translate"),jr(),Ur(48,"ion-input",18,19),hc(50,"translate"),Hr(51,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(52,"ion-icon",10),jr(),Fr(53,Hz,5,3,"ion-item",16),Hr(54,"ion-note",17),Da(55),hc(56,"translate"),jr(),jr(),jr(),jr(),jr(),Hr(57,"ion-item",20),Hr(58,"div",21),Hr(59,"ion-button",22),Hr(60,"ion-label",23),Da(61),hc(62,"translate"),jr(),jr(),Hr(63,"ion-button",24),Xr("click",function(){return t.logout()}),Hr(64,"ion-label",23),Da(65),hc(66,"translate"),jr(),jr(),jr(),jr(),jr(),Fr(67,jz,1,1,"ion-item",25),jr()),2&e&&(Vr("translucent",!0),no(4),Oa(pc(5,29,"lang.passwordModification")),no(4),Vr("formGroup",t.firstFormGroup),no(6),Ma(" ",pc(15,31,"lang.hello")," "),no(3),Ta(" ",t.user.firstname," ",t.user.lastname,""),no(1),Ma(", ",pc(19,33,"lang.changePasswordInfo"),". "),no(4),Oa(pc(23,35,"lang.typeCurrentPassword")),no(2),ra("placeholder",pc(25,37,"lang.typeCurrentPassword")),Vr("type",t.hidePassword?"password":"text"),no(3),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),no(3),Oa(t.ruleText),no(3),Ma("",pc(35,39,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(38,41,"lang.passwordConfirmation")),Vr("type",t.hidePassword?"password":"text"),no(4),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.validPassword),no(2),Oa(t.getErrorMessage()),no(3),Ma("",pc(47,43,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(50,45,"lang.passwordConfirmation")),Vr("type",t.hidePassword?"password":"text"),no(4),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",!t.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=t.firstFormGroup.controls.retypePasswordCtrl.value),no(2),Oa(pc(56,47,"lang.passwordNotMatch")),no(4),Vr("disabled",!t.firstFormGroup.valid),no(2),Oa(pc(62,49,"lang.validate")),no(4),Oa(pc(66,51,"lang.logout")),no(2),Vr("ngIf",t.passwordRules.renewal.enabled||t.passwordRules.historyLastUse.enabled))},directives:[Vx,yC,Ax,bC,Tx,Lm,am,Hm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Um,Jm,Cx,Nx,Wu,Xx,tC],pipes:[qA],styles:[".alert-warning[_ngcontent-%COMP%]{text-align:center;width:100%;margin:0;color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc;padding-top:15px;padding-bottom:15px}.alert-warning[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{left:0;bottom:0;position:absolute}.container[_ngcontent-%COMP%]{margin-top:-63px;display:flex;flex-direction:column;top:64px;right:0;height:100%}"]}),e})();var Wz=n("b0Xh"),Gz=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const $z=["passwordContent"];function qz(e,t){if(1&e&&(Hr(0,"ion-note",35),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function Yz(e,t){if(1&e){const e=qr();Hr(0,"div"),Hr(1,"ion-list-header",26),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"ion-item"),Hr(6,"ion-label",29),Da(7),hc(8,"translate"),jr(),Hr(9,"ion-input",30),Xr("ngModelChange",function(t){return Lt(e),na(2).password.currentPassword=t}),hc(10,"translate"),jr(),Hr(11,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideCurrentPassword=!t.hideCurrentPassword}),Ur(12,"ion-icon",32),jr(),jr(),Hr(13,"ion-item"),Hr(14,"ion-label",29),Da(15),hc(16,"translate"),jr(),Hr(17,"ion-input",33),Xr("ngModelChange",function(t){return Lt(e),na(2).password.newPassword=t})("keyup",function(){Lt(e);const t=na(2);return t.checkPasswordValidity(t.password.newPassword)}),hc(18,"translate"),jr(),Hr(19,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPassword=!t.hideNewPassword}),Ur(20,"ion-icon",32),jr(),Fr(21,qz,3,3,"ion-note",28),jr(),Hr(22,"ion-item"),Hr(23,"ion-label",29),Da(24),hc(25,"translate"),jr(),Hr(26,"ion-input",34),Xr("ngModelChange",function(t){return Lt(e),na(2).password.passwordConfirmation=t}),hc(27,"translate"),jr(),Hr(28,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(29,"ion-icon",32),jr(),jr(),jr()}if(2&e){const e=na(2);no(3),Oa(pc(4,17,"lang.changePassword")),no(4),Oa(pc(8,19,"lang.currentPassword")),no(2),ra("placeholder",pc(10,21,"lang.currentPassword")),Vr("ngModel",e.password.currentPassword)("type",e.hideCurrentPassword?"password":"text"),no(3),Vr("name",e.hideCurrentPassword?"eye-outline":"eye-off-outline"),no(3),Oa(pc(16,23,"lang.newPassword")),no(2),ra("placeholder",pc(18,25,"lang.newPassword")),Vr("ngModel",e.password.newPassword)("type",e.hideNewPassword?"password":"text"),no(3),Vr("name",e.hideNewPassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",e.handlePassword.error),no(3),Ma("",pc(25,27,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(27,29,"lang.passwordConfirmation")),Vr("ngModel",e.password.passwordConfirmation)("type",e.hideNewPasswordConfirm?"password":"text"),no(3),Vr("name",e.hideNewPasswordConfirm?"eye-outline":"eye-off-outline")}}function Zz(e,t){1&e&&(Hr(0,"ion-note",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function Qz(e,t){1&e&&(Hr(0,"ion-note",35),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}function Xz(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-list",16),Hr(2,"ion-item"),Hr(3,"ion-avatar",17),Xr("click",function(){return Lt(e),Br(10).click()}),Ur(4,"img",18),jr(),Hr(5,"ion-label",19),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-input",20),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.login=t}),jr(),Hr(9,"input",21,22),Xr("change",function(t){return Lt(e),na().handleFileInput(t.target.files)}),jr(),jr(),Hr(11,"ion-item"),Hr(12,"ion-label",19),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",23),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.email=t}),jr(),jr(),Hr(16,"ion-item"),Hr(17,"ion-label",19),Da(18),hc(19,"translate"),jr(),Hr(20,"ion-input",24),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.firstname=t}),jr(),jr(),Hr(21,"ion-item"),Hr(22,"ion-label",19),Da(23),hc(24,"translate"),jr(),Hr(25,"ion-input",25),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.lastname=t}),jr(),jr(),Fr(26,Yz,30,31,"div",14),Hr(27,"ion-item",26),Fr(28,Zz,3,3,"ion-note",27),Fr(29,Qz,3,3,"ion-note",28),jr(),jr(),Gr()}if(2&e){const e=na();no(4),Vr("src",e.avatarInfo.picture,os),no(2),Oa(pc(7,19,"lang.login")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.login),no(5),Oa(pc(14,21,"lang.email")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.email)("readonly","default"!==e.authService.authMode),no(3),Oa(pc(19,23,"lang.firstname")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.firstname)("readonly","default"!==e.authService.authMode),no(3),Oa(pc(24,25,"lang.lastname")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.lastname)("readonly","default"!==e.authService.authMode),no(1),Vr("ngIf","default"===e.authService.authMode),no(2),Vr("ngIf",e.password.passwordConfirmation===e.password.newPassword&&e.password.newPassword.length>0&&e.password.passwordConfirmation.length>0),no(1),Vr("ngIf",e.password.passwordConfirmation!==e.password.newPassword)}}function Kz(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e),no(1),Oa(pc(2,2,"lang."+e))}}function Jz(e,t){1&e&&(Ur(0,"ion-note",64),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,"lang.freeModeInfo"),ss)}function eV(e,t){1&e&&(Ur(0,"ion-note",64),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,"lang.standardModeInfo"),ss)}function tV(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),jr()),2&e){const e=t.index;Vr("value",e+1),no(1),Ma("",e+1," ")}}const nV=function(e){return{value:e}};function iV(e,t){if(1&e&&(Ur(0,"ion-note",65),hc(1,"translate")),2&e){const e=na(2);Vr("innerHTML",gc(1,1,"lang.scalingDocWith",ac(4,nV,e.signatureScaling)),ss)}}function sV(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-list",16),Hr(2,"ion-item"),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-toggle",37),Xr("ionChange",function(){Lt(e);const t=na();return t.preferenceInfo.notifications=!t.preferenceInfo.notifications}),jr(),jr(),Hr(7,"ion-list"),Hr(8,"ion-item"),Hr(9,"ion-label",38),Da(10),hc(11,"translate"),jr(),Hr(12,"ion-select",39),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.lang=t}),Fr(13,Kz,3,4,"ion-select-option",40),jr(),jr(),jr(),Hr(14,"ion-list"),Hr(15,"ion-item"),Hr(16,"ion-label",38),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-select",41),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingMode=t}),Hr(20,"ion-select-option",42),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-select-option",43),Da(24),hc(25,"translate"),Ur(26,"i",44),jr(),jr(),Fr(27,Jz,2,3,"ion-note",45),Fr(28,eV,2,3,"ion-note",45),jr(),jr(),Hr(29,"ion-list"),Hr(30,"ion-item"),Hr(31,"ion-label",38),Da(32),hc(33,"translate"),jr(),Hr(34,"ion-select",46),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingSize=t})("ionChange",function(){return Lt(e),na().drawSample()}),Fr(35,tV,2,2,"ion-select-option",40),jr(),Hr(36,"ion-note",2),Ur(37,"canvas",47),jr(),jr(),jr(),Hr(38,"ion-list"),Hr(39,"ion-item"),Hr(40,"ion-label",38),Da(41),hc(42,"translate"),jr(),Hr(43,"ion-select",48),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingColor=t}),Hr(44,"ion-select-option",49),Da(45),hc(46,"translate"),jr(),Hr(47,"ion-select-option",50),Da(48),hc(49,"translate"),jr(),Hr(50,"ion-select-option",51),Da(51),hc(52,"translate"),jr(),jr(),Hr(53,"ion-note",2),Ur(54,"div",52),jr(),jr(),jr(),Hr(55,"ion-list"),Hr(56,"ion-row"),Hr(57,"iotn-item"),Hr(58,"ion-label",53),Da(59),hc(60,"translate"),jr(),jr(),jr(),Hr(61,"ion-row"),Hr(62,"ion-col",54),Hr(63,"ion-item",55),Hr(64,"ion-range",56),Xr("ngModelChange",function(t){return Lt(e),na().signatureScaling=t}),Ur(65,"ion-icon",57),Ur(66,"ion-icon",58),jr(),jr(),Fr(67,iV,2,6,"ion-note",59),jr(),Hr(68,"ion-col",60),Hr(69,"ion-item",61),Hr(70,"ion-label"),Da(71),hc(72,"translate"),jr(),Hr(73,"ion-toggle",62),Xr("ionChange",function(){Lt(e);const t=na();return t.originalSize=!t.originalSize}),jr(),jr(),jr(),jr(),jr(),jr(),Gr()}if(2&e){const e=na();no(4),Oa(pc(5,27,"lang.receiveNotif")),no(2),Vr("checked",e.preferenceInfo.notifications),no(4),Oa(pc(11,29,"lang.language")),no(2),Vr("ngModel",e.preferenceInfo.lang),no(1),Vr("ngForOf",e.profileInfo.availableLanguages),no(4),Ma("",pc(18,31,"lang.annotationMode")," "),no(2),Vr("ngModel",e.preferenceInfo.writingMode),no(2),Oa(pc(22,33,"lang.free")),no(3),Ma("",pc(25,35,"lang.appleStylus")," "),no(3),Vr("ngIf","stylus"===e.preferenceInfo.writingMode),no(1),Vr("ngIf","direct"===e.preferenceInfo.writingMode),no(4),Oa(pc(33,37,"lang.stylusWidh")),no(2),Vr("ngModel",e.preferenceInfo.writingSize),no(1),Vr("ngForOf",e.counter(10)),no(6),Oa(pc(42,39,"lang.defaultColor")),no(2),Vr("ngModel",e.preferenceInfo.writingColor),no(2),Oa(pc(46,41,"lang.black")),no(3),Oa(pc(49,43,"lang.blue")),no(3),Oa(pc(52,45,"lang.red")),no(3),fa("background-color",e.preferenceInfo.writingColor),no(5),Oa(pc(60,47,"lang.signatureScaling")),no(5),Vr("disabled",e.originalSize)("ngModel",e.signatureScaling),no(3),Vr("ngIf",!e.originalSize),no(4),Oa(pc(72,49,"lang.originalSize")),no(2),Vr("checked",e.originalSize)}}function oV(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-item"),Ur(2,"ion-input",66),Hr(3,"ion-button",67),Xr("click",function(){return Lt(e),na(2).deleteSubstitute()}),Ur(4,"ion-icon",68),jr(),jr(),jr()}if(2&e){const e=na(2);no(2),Vr("value",e.authService.user.substituteUser)}}function rV(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-item"),Hr(2,"ion-searchbar",69),Xr("ionChange",function(t){return Lt(e),na(2).test(t)}),hc(3,"translate"),jr(),jr(),jr()}2&e&&(no(2),Vr("placeholder",pc(3,1,"lang.chooseSubstitute")))}function aV(e,t){if(1&e&&(Hr(0,"ion-note",2),Da(1),jr()),2&e){const e=na().$implicit;no(1),Oa(e.email)}}function lV(e,t){1&e&&(Hr(0,"ion-note",74),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.delegatedUser")))}function cV(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",71),Xr("ionChange",function(t){return Lt(e),na(3).selectSubstitute(t.detail.value)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Fr(4,aV,2,1,"ion-note",72),Fr(5,lV,3,3,"ion-note",73),jr()}if(2&e){const e=t.$implicit;no(1),Vr("disabled",e.substitute)("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(1),Vr("ngIf",!e.substitute),no(1),Vr("ngIf",e.substitute)}}function dV(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,cV,6,6,"ion-item",70),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.userList)}}function uV(e,t){if(1&e){const e=qr();Hr(0,"button",78),Xr("click",function(){Lt(e);const n=t.index;return na(3).toggleSignature(n)}),Ur(1,"img",79),jr()}if(2&e){const e=t.$implicit,n=na(3);ma("selected",e.substituted),no(1),Vr("src",n.sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os)}}function hV(e,t){if(1&e&&(Wr(0),Hr(1,"ion-item",26),Hr(2,"ion-label",75),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"div",76),Fr(6,uV,2,3,"button",77),jr(),Gr()),2&e){const e=na(2);no(3),Ma(" ",pc(4,2,"lang.signSubstituted")," : "),no(3),Vr("ngForOf",e.signaturesService.signaturesList)}}function pV(e,t){if(1&e&&(Wr(0),Fr(1,oV,5,1,"ion-list",14),Fr(2,rV,4,3,"ion-list",14),Fr(3,dV,2,1,"ion-list",14),Fr(4,hV,7,4,"ng-container",14),Gr()),2&e){const e=na();no(1),Vr("ngIf",null!==e.authService.user.substitute),no(1),Vr("ngIf",null===e.authService.user.substitute),no(1),Vr("ngIf",null===e.authService.user.substitute),no(1),Vr("ngIf",null!=e.authService.user.substitute&&e.signaturesService.signaturesList.length>0)}}function gV(e,t){if(1&e){const e=qr();Hr(0,"ion-footer",80),Hr(1,"ion-toolbar"),Hr(2,"ion-buttons",81),Hr(3,"ion-button",82),Xr("click",function(){return Lt(e),na().submitProfile()}),Hr(4,"ion-label"),Da(5),hc(6,"translate"),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na(),t=Br(27);no(3),Vr("disabled",e.allowValidate()||!t.form.valid),no(2),Oa(pc(6,2,"lang.save"))}}const fV=function(){return["info","pref"]};let mV=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.sanitizer=t,this.notificationService=n,this.signaturesService=i,this.authService=s,this.filtersService=o,this.modalController=r,this.renderer=a,this.translate=l,this.alertController=c,this.cookieService=d,this.router=u,this.currentTool="info",this.profileInfo={substitute:null,preferences:[]},this.preferenceInfo={},this.avatarInfo={picture:"",pictureOrientation:""},this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.password={currentPassword:"",newPassword:"",passwordConfirmation:""},this.handlePassword={error:!1,errorMsg:""},this.usersList=[],this.ruleText="",this.otherRuleText="",this.disableState=!1,this.msgButton="lang.validate",this.loading=!1,this.slideOpts={initialSlide:0,speed:400},this.showHideContent=!1,this.userList=[],this.signatureScaling=25,this.originalSize=!1}ngOnInit(){this.initProfileInfo(),this.getPassRules()}dismissModal(){this.modalController.dismiss("cancel")}test(e){""===e.detail.value?this.userList=[]:e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.userList=e.filter(e=>e.id!==this.profileInfo.id)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}initProfileInfo(){this.profileInfo=JSON.parse(JSON.stringify(this.authService.user)),this.preferenceInfo=this.profileInfo.preferences,this.avatarInfo.picture=this.profileInfo.picture,void 0!==this.preferenceInfo.signatureScaling?!1===this.preferenceInfo.signatureScaling?this.originalSize=!0:this.signatureScaling=this.preferenceInfo.signatureScaling:this.originalSize=!0,delete this.profileInfo.picture,delete this.profileInfo.preferences}initTab(e){this.currentTool=e,"pref"===e&&setTimeout(()=>{this.drawSample()},200)}closeProfile(){setTimeout(()=>{this.initProfileInfo()},200),this.dismissModal()}getPassRules(){this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)})}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}allowValidate(){return!!this.disableState||!(""===this.password.newPassword||!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.currentPassword.length&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}submitProfile(){return Gz(this,void 0,void 0,function*(){this.disableState=!0,this.msgButton="lang.sending",this.preferenceInfo=Object.assign(Object.assign({},this.preferenceInfo),{signatureScaling:!this.originalSize&&this.signatureScaling}),this.http.put("../rest/users/"+this.authService.user.id+"/preferences",this.preferenceInfo).pipe(Ov(()=>{this.disableState=!1,this.msgButton="lang.validate",this.setLang(this.preferenceInfo.lang),this.cookieService.set("maarchParapheurLang",this.preferenceInfo.lang)}),jL(()=>"default"===this.authService.authMode?this.http.put("../rest/users/"+this.authService.user.id,this.profileInfo):new Promise(e=>{e(!0)})),jL(()=>{if(this.authService.updateUserInfoWithTokenRefresh(),""===this.password.newPassword)return this.closeProfile(),this.notificationService.success("lang.profileUpdated"),lb(!1);if("default"===this.authService.authMode){const e=new fb({Authorization:"Bearer "+this.authService.getToken()});return this.http.put("../rest/users/"+this.authService.user.id+"/password",this.password,{observe:"response",headers:e})}return lb(!1)}),db(e=>!!e),Ov(e=>{this.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),this.password.newPassword="",this.password.passwordConfirmation="",this.password.currentPassword="",this.notificationService.success("lang.profileUpdated")}),fv(e=>(401===e.status?this.notificationService.error("lang.wrongPassword"):this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}changePicture(){this.msgButton="lang.sending",this.disableState=!0,this.http.put("../rest/users/"+this.authService.user.id+"/picture",this.avatarInfo).pipe(Ov(()=>{this.authService.user.picture=this.avatarInfo.picture,this.notificationService.success("lang.profileUpdated")}),Iv(()=>{this.msgButton="lang.validate",this.disableState=!1})).subscribe()}selectSubstitute(e){this.userList=[],this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:e.id}).subscribe(()=>{this.authService.updateUserInfoWithTokenRefresh(),this.filtersService.resfreshDocuments(),this.signaturesService.documentsList.length>0&&!1===this.signaturesService.documentsList[this.signaturesService.indexDocumentsList].owner&&this.router.navigate(["/documents"]),this.notificationService.success("lang.substituteEnabled")})}deleteSubstitute(){return Gz(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{const e=this.signaturesService.signaturesList.filter(e=>e.substituted);this.profileInfo.substitute=null,this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:this.profileInfo.substitute}).pipe(Ov(t=>{this.authService.updateUserInfoWithTokenRefresh(),this.filtersService.resfreshDocuments(),e.length>0&&e.forEach(e=>{this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+e.id+"/substituted",{substituted:!1}).pipe(Ov(()=>{this.signaturesService.signaturesList.find(t=>t.id===e.id).substituted=!1}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}),this.signaturesService.documentsList.length>0&&!1===this.signaturesService.documentsList[this.signaturesService.indexDocumentsList].owner&&this.router.navigate(["/documents"]),this.notificationService.success("lang.substitutionDeleted")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}]});yield e.present()})}handleFileInput(e){this.passwordContent&&this.passwordContent.close();const t=e.item(0);if(t.size<=5e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(t.type)){const e=new FileReader;e.onloadend=t=>{const n=new Image;n.src=e.result.toString(),this.avatarInfo.picture=e.result,n.onload=()=>this.fixImgOrientation(n)},e.readAsDataURL(t)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.imageTooBig")}fixImgOrientation(e){Wz.getData(e,()=>{let t=0;switch(Wz.getTag(e,"Orientation")){case 3:t=180;break;case 6:t=90;break;case 8:t=-90}this.avatarInfo.pictureOrientation=t,this.changePicture()})}drawSample(){const e=document.getElementById("sampleNote").getContext("2d");e.clearRect(0,0,100,100),e.beginPath(),e.lineWidth=this.preferenceInfo.writingSize,e.moveTo(0,0),e.lineTo(100,100),e.moveTo(100,0),e.lineTo(0,100),e.stroke()}initProfileTab(e){1===e.index&&this.drawSample()}counter(e){return new Array(e)}setLang(e){this.translate.use(e)}toggleSignature(e){this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+this.signaturesService.signaturesList[e].id+"/substituted",{substituted:!this.signaturesService.signaturesList[e].substituted}).subscribe(()=>{this.signaturesService.signaturesList[e].substituted=!this.signaturesService.signaturesList[e].substituted,this.notificationService.success("lang.modificationSaved")})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(qh),zr(QA),zr(oS),zr(aS),zr(TF),zr(eA),zr(cl),zr($A),zr(XC),zr(oE),zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["app-my-profile"]],viewQuery:function(e,t){if(1&e&&Tc($z,1),2&e){let e;Mc(e=Rc())&&(t.passwordContent=e.first)}},decls:33,vars:19,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","pref"],["name","brush-outline"],["value","deleg"],["name","hand-left-outline"],[2,"display","contents",3,"ngSubmit"],["profileForm","ngForm"],[4,"ngIf"],["class","ion-no-border",4,"ngIf"],["lines","full",1,"ion-no-margin"],["slot","start",2,"cursor","pointer",3,"click"],[3,"src"],["color","secondary","position","floating"],["name","login","readonly","","required","",3,"maxlength","ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["name","email","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["color","danger",4,"ngIf"],["color","secondary","position","stacked"],["name","currentPassword",3,"ngModel","placeholder","type","ngModelChange"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["color","danger"],["color","success"],["slot","start",3,"checked","ionChange"],["position","floating","color","secondary"],["name","langUser",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","writingMode",3,"ngModel","ngModelChange"],["value","direct"],["value","stylus"],[1,"fab","fa-apple"],[3,"innerHTML",4,"ngIf"],["name","writingSize",3,"ngModel","ngModelChange","ionChange"],["id","sampleNote","width","100","height","100"],["name","writingColor",3,"ngModel","ngModelChange"],["value","#000000"],["value","#1a75ff"],["value","#FF0000"],[2,"height","25px","width","25px","border-radius","20px"],["color","secondary",2,"opacity","1","margin-left","15px"],["size","7"],["lines","none",2,"margin-left","-10px"],["min","10","max","50","pin","","color","primary","name","signatureScaling",3,"disabled","ngModel","ngModelChange"],["slot","start","size","small","name","scan-circle-outline"],["slot","end","name","scan-outline"],["style","margin-left: 20px; font-size: 14px;",3,"innerHTML",4,"ngIf"],["size","5"],["lines","none",2,"margin-top","22px","margin-left","10px"],["slot","start","name","originalSize","color","primary",2,"cursor","pointer",3,"checked","ionChange"],[3,"value"],[3,"innerHTML"],[2,"margin-left","20px","font-size","14px",3,"innerHTML"],["readonly","",3,"value"],["slot","end","color","danger",3,"click"],["name","close-outline"],[3,"placeholder","ionChange"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"disabled","value","ionChange"],["slot","end",4,"ngIf"],["slot","end","color","danger",4,"ngIf"],["slot","end","color","danger"],["color","secondary"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],["type","button","class","signListButton","mat-stroked-button","",3,"selected","click",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","",1,"signListButton",3,"click"],[2,"width","190px",3,"src"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled","click"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header"),Hr(9,"ion-toolbar"),Hr(10,"ion-segment",5),Xr("ionChange",function(e){return t.initTab(e.detail.value)}),Hr(11,"ion-segment-button",6),Hr(12,"ion-label"),Da(13),hc(14,"translate"),jr(),Ur(15,"ion-icon",7),jr(),Hr(16,"ion-segment-button",8),Hr(17,"ion-label"),Da(18),hc(19,"translate"),jr(),Ur(20,"ion-icon",9),jr(),Hr(21,"ion-segment-button",10),Hr(22,"ion-label"),Da(23),hc(24,"translate"),jr(),Ur(25,"ion-icon",11),jr(),jr(),jr(),jr(),Hr(26,"form",12,13),Xr("ngSubmit",function(){return t.submitProfile()}),Hr(28,"ion-content"),Fr(29,Xz,30,27,"ng-container",14),Fr(30,sV,74,51,"ng-container",14),Fr(31,pV,5,4,"ng-container",14),jr(),jr(),Fr(32,gV,7,4,"ion-footer",15)),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,10,"lang.myProfil")),no(7),Vr("value",t.currentTool),no(3),Oa(pc(14,12,"lang.informations")),no(5),Oa(pc(19,14,"lang.preferences")),no(5),Oa(pc(24,16,"lang.substitute")),no(6),Vr("ngIf","info"===t.currentTool),no(1),Vr("ngIf","pref"===t.currentTool),no(1),Vr("ngIf","deleg"===t.currentTool),no(1),Vr("ngIf",rc(18,fV).indexOf(t.currentTool)>-1))},directives:[Vx,yC,bC,Ax,Cx,Nx,cC,ox,dC,Zx,Lm,am,Mm,Tx,Wu,Qx,Gx,wx,Wx,ax,Jm,tb,rm,Rm,ib,Xx,tC,vC,J_,uC,ju,hC,aC,Mx,sC,lC,Dx,mM,Bx],pipes:[qA],styles:['.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{margin-top:0}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.user[_ngcontent-%COMP%]{color:#fff;color:#f99830;position:absolute;top:15px;font-weight:700;font-size:20px}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.profile-content[_ngcontent-%COMP%]{padding:10px;text-align:center}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px;margin:10px;color:#fff;font-size:20px}.actions[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:65px;width:65px;font-size:35px}.actions[_ngcontent-%COMP%] .validate[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;font-size:20px}canvas[_ngcontent-%COMP%]{background-color:#f1f4f4}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center}legend[_ngcontent-%COMP%]{color:#f99830}.form-container[_ngcontent-%COMP%]{display:table;width:100%}.form-2-col[_ngcontent-%COMP%]{width:50%}.form-2-col[_ngcontent-%COMP%], .form-col[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.notification[_ngcontent-%COMP%]{text-align:left;padding:10px}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.mat-icon[_ngcontent-%COMP%]{height:auto}.selected[_ngcontent-%COMP%]{border:solid #f99830}.selectedSubstitute[_ngcontent-%COMP%]{width:100%}.selectedSubstitute[_ngcontent-%COMP%] .mat-input-element{cursor:default}.selectedSubstitute[_ngcontent-%COMP%] .mat-form-field-suffix{top:0;display:flex}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}']}),e})();function bV(e,t){if(1&e){const e=qr();Hr(0,"ion-button",3),Xr("click",function(){return Lt(e),na().menu.open("left-menu")}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.accessMenu")," "))}let vV=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.translate=t,this.menu=n,this.modalController=i,this.loading=!1}ngOnInit(){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu"),this.menu.open("left-menu")}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr($A),zr(JC),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:3,vars:1,consts:[["color","primary"],["svgIcon","maarchLogo",1,"maarchLogo"],["class","menu-button","color","light","fill","outline","size","large",3,"click",4,"ngIf"],["color","light","fill","outline","size","large",1,"menu-button",3,"click"]],template:function(e,t){1&e&&(Hr(0,"ion-content",0),Ur(1,"mat-icon",1),Fr(2,bV,3,3,"ion-button",2),jr()),2&e&&(no(2),Vr("ngIf",t.signaturesService.mobileMode))},directives:[Tx,iT,Wu,Cx],pipes:[qA],styles:[".maarchLogo[_ngcontent-%COMP%]{top:50%;width:250px;height:auto}.maarchLogo[_ngcontent-%COMP%], .menu-button[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%,-50%)}.menu-button[_ngcontent-%COMP%]{top:60%}"]}),e})();var yV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function wV(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",25),Xr("click",function(){Lt(e);const t=na().$implicit,n=na().index;return na().goToSignUserPage(n,t.page)}),hc(1,"translate"),Hr(2,"ion-label"),Da(3),jr(),jr()}if(2&e){const e=na().$implicit,t=na().index,n=na();Vr("title",pc(1,3,"lang.accessToPage")+" "+e.page)("color",t===n.currentUser&&e.page===n.currentPage?"primary":"medium"),no(3),Oa(e.page)}}function _V(e,t){if(1&e&&(Wr(0),Fr(1,wV,4,5,"ion-chip",24),Gr()),2&e){const e=t.$implicit,n=na().index;no(1),Vr("ngIf",e.sequence==n)}}function xV(e,t){if(1&e&&(Hr(0,"ion-segment-button",21),Hr(1,"ion-label"),Hr(2,"h2"),Da(3),jr(),Hr(4,"p",22),Fr(5,_V,2,1,"ng-container",7),jr(),jr(),Ur(6,"ion-icon",23),jr()),2&e){const e=t.$implicit,n=t.index,i=na();Vr("value",n),no(3),Oa(e.userDisplay),no(2),Vr("ngForOf",i.signList),no(1),Vr("name","sign"===e.mode?"pencil-outline":"checkmark-done-outline")}}const CV=function(e,t){return{x:e,y:t}};function AV(e,t){if(1&e){const e=qr();Hr(0,"div",27),Xr("movingOffset",function(){return Lt(e),na(2).dragging=!0})("endOffset",function(t){Lt(e);const n=na(2);return n.moveSign(t,n.i)})("click",function(){Lt(e);const t=na().$implicit,n=na();return n.currentUser!=t.sequence&&n.goToSignUserPage(t.sequence,n.currentPage)}),Hr(1,"ion-buttons",28),Hr(2,"ion-button",29),Xr("click",function(){Lt(e);const t=na().index;return na().deleteSign(t)}),hc(3,"translate"),Ur(4,"ion-icon",30),jr(),jr(),Hr(5,"span",31),Da(6),jr(),Da(7),hc(8,"uppercase"),hc(9,"translate"),jr()}if(2&e){const e=na().$implicit,t=na(),n=Br(11);fa("width",25,"%"),ma("signDisabled",t.currentUser!==e.sequence)("hide",!t.pagesLoaded),Vr("position",lc(20,CV,e.position.positionX*t.workingAreaWidth/100,e.position.positionY*t.workingAreaHeight/100))("ngDraggable",t.currentUser===e.sequence)("preventDefaultEvent",!1)("bounds",n)("inBounds",!0),no(2),Vr("title",pc(3,14,"lang.delete")),no(4),Oa(t.getUserName(e.sequence)),no(1),Ma(" ",pc(8,16,pc(9,18,"lang.signature"))," ")}}function SV(e,t){if(1&e&&(Wr(0),Fr(1,AV,10,23,"div",26),Gr()),2&e){const e=t.$implicit,n=na();no(1),Vr("ngIf",e.page===n.currentPage)}}function kV(e,t){if(1&e){const e=qr();Hr(0,"ion-button",32),Xr("click",function(){return Lt(e),na().initSign()}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.createSignaturePosition"),""))}function EV(e,t){if(1&e&&(Hr(0,"ion-select-option",33),Da(1),jr()),2&e){const e=t.index;Vr("value",t.$implicit),no(1),Oa(e+1)}}function PV(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",36),Xr("click",function(){Lt(e);const t=na(2);return t.changePage(t.currentPage-1)}),Ur(1,"ion-icon",37),jr()}}function DV(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",38),Xr("click",function(){Lt(e);const t=na(2);return t.changePage(t.currentPage+1)}),Ur(1,"ion-icon",39),jr()}}function OV(e,t){if(1&e&&(Wr(0),Fr(1,PV,2,0,"ion-fab-button",34),Fr(2,DV,2,0,"ion-fab-button",35),Gr()),2&e){const e=na();no(1),Vr("ngIf",e.currentPage>1),no(1),Vr("ngIf",e.currentPage<e.pages.length)}}let MV=(()=>{class e{constructor(e,t,n,i,s,o){this.translate=e,this.http=t,this.signaturesService=n,this.pdfViewerService=i,this.modalController=s,this.loadingController=o,this.workflow=[],this.resource=[],this.pdfContent=null,this.loading=!1,this.dragging=!1,this.pages=[],this.currentUser=0,this.currentPage=1,this.currentSignature={positionX:0,positionY:0},this.workingAreaWidth=0,this.workingAreaHeight=0,this.signList=[],this.imgContent=null,this.load=null,this.pagesLoaded=!1}ngOnInit(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(e=>{this.load=e,this.load.present()}),this.resource.signPos&&this.initSignPos()}initSignPos(){this.workflow.forEach((e,t)=>{var n;(null===(n=e.signaturePositions)||void 0===n?void 0:n.length)>0&&(this.signList=this.signList.concat(e.signaturePositions.filter(e=>e.mainDocument===this.resource.mainDocument).map(e=>Object.assign(Object.assign({},e),{sequence:t}))))})}onSubmit(){this.modalController.dismiss(this.formatData())}onPagesLoaded(e){return yV(this,void 0,void 0,function*(){this.pages=Array.from({length:e.pagesCount}).map((e,t)=>t+1),this.changePage(1)})}exportAsImage(){return yV(this,void 0,void 0,function*(){const e=yield this.pdfViewerService.getPageAsImage(this.currentPage,{width:1e3});this.getImageDimensions(e),this.imgContent=e,this.pagesLoaded=!0})}getImageDimensions(e){const t=new Image;t.onload=e=>{this.workingAreaWidth=e.target.naturalWidth,this.workingAreaHeight=e.target.naturalHeight},t.src=e}changePage(e){this.currentPage=e,this.exportAsImage()}moveSign(e,t){const n=100*e.x/this.workingAreaWidth,i=100*e.y/this.workingAreaHeight;this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage)[0].position.positionX=n,this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage)[0].position.positionY=i,this.dragging=!1}emptySign(){return 0===this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage).length}initSign(){this.signList.push({sequence:this.currentUser,page:this.currentPage,position:{positionX:75,positionY:90}});let e=0;Array.from(document.getElementsByClassName("drag-scroll-content")).forEach((t,n)=>{if(null!==t.offsetParent)return e=n,!0}),document.getElementsByClassName("drag-scroll-content")[e].scrollTop=this.workingAreaHeight}getUserSignPosPage(e){return this.signList.filter(t=>t.sequence===e)}selectUser(e){this.currentUser=+e}getUserName(e){return this.workflow[e].userDisplay}goToSignUserPage(e,t){this.currentUser=e,this.currentPage=t,this.exportAsImage()}deleteSign(e){this.signList.splice(e,1)}formatData(){let e=[];return this.workflow.forEach((t,n)=>{this.signList.filter(e=>e.sequence===n).length>0&&(e=e.concat(this.signList.filter(e=>e.sequence===n)))}),e}imageLoaded(e){this.load.dismiss()}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(XS),zr(eA),zr(KC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],inputs:{workflow:"workflow",resource:"resource",pdfContent:"pdfContent"},decls:37,vars:35,consts:[[3,"translucent"],["color","primary"],["color","warning","scrollable","",2,"justify-content","center",3,"value","ionChange"],["layout","icon-start",3,"value",4,"ngFor","ngForOf"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-disabled","drag-scroll-disabled"],["id","myBounds",2,"margin","auto","position","relative","box-shadow","0px 0px 5px 0px #656565"],["myBounds",""],[4,"ngFor","ngForOf"],[1,"img-content",3,"src","ionImgDidLoad"],["color","primary","style","position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);font-size:20px;",3,"click",4,"ngIf"],[2,"display","none",3,"src","useBrowserLocale","textLayer","pdfLoaded"],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","action-sheet","hidden","true",2,"max-height","30%",3,"cancelText","ionChange"],["pagesList",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],["type","button","color","primary","fill","outline","shape","round","size","large",3,"click"],["type","button","color","medium","fill","outline","shape","round","size","large",3,"click"],["layout","icon-start",3,"value"],[1,"chip-item-content"],[3,"name"],["class","chip-item","outline","",3,"title","color","click",4,"ngIf"],["outline","",1,"chip-item",3,"title","color","click"],["class","signature",3,"signDisabled","position","width","ngDraggable","preventDefaultEvent","bounds","inBounds","hide","movingOffset","endOffset","click",4,"ngIf"],[1,"signature",3,"position","ngDraggable","preventDefaultEvent","bounds","inBounds","movingOffset","endOffset","click"],[2,"position","absolute","top","-50px","right","0px"],["fill","clear","slot","icon-only","shape","round","size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],[1,"signUserName"],["color","primary",2,"position","fixed","top","50%","left","50%","transform","translate(-50%,-50%)","font-size","20px",3,"click"],[3,"value"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"ion-toolbar",1),Hr(6,"ion-segment",2),Xr("ionChange",function(e){return t.selectUser(e.detail.value)}),Fr(7,xV,7,4,"ion-segment-button",3),jr(),jr(),jr(),Hr(8,"ion-content"),Hr(9,"drag-scroll",4),Hr(10,"div",5,6),Fr(12,SV,2,1,"ng-container",7),Hr(13,"ion-img",8),Xr("ionImgDidLoad",function(e){return t.imageLoaded(e)}),jr(),Fr(14,kV,3,3,"ion-button",9),jr(),jr(),Hr(15,"ngx-extended-pdf-viewer",10),Xr("pdfLoaded",function(e){return t.onPagesLoaded(e)}),jr(),Hr(16,"section",11),Hr(17,"div",12),Da(18),jr(),Hr(19,"div",13),Xr("click",function(){Lt(e);const n=Br(23);return t.pages.length>1&&n.open()}),Da(20),hc(21,"translate"),jr(),Hr(22,"ion-select",14,15),Xr("ionChange",function(e){return t.changePage(e.target.value)}),hc(24,"translate"),Fr(25,EV,2,2,"ion-select-option",16),jr(),jr(),Fr(26,OV,3,2,"ng-container",17),jr(),Hr(27,"ion-footer",18),Hr(28,"div"),Hr(29,"ion-button",19),Xr("click",function(){return t.onSubmit()}),Hr(30,"ion-label"),Da(31),hc(32,"translate"),jr(),jr(),Hr(33,"ion-button",20),Xr("click",function(){return t.modalController.dismiss()}),Hr(34,"ion-label"),Da(35),hc(36,"translate"),jr(),jr(),jr(),jr()}2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,25,"lang.adminSignaturesPositions")),no(3),Vr("value",t.currentUser),no(1),Vr("ngForOf",t.workflow),no(2),Vr("drag-disabled",t.dragging&&!t.signaturesService.mobileMode)("drag-scroll-disabled",t.dragging&&t.signaturesService.mobileMode),no(1),fa("width",t.workingAreaWidth,"px")("height",t.workingAreaHeight,"px"),no(2),Vr("ngForOf",t.signList),no(1),Vr("src",t.imgContent),no(1),Vr("ngIf",t.emptySign()),no(1),Vr("src",t.pdfContent)("useBrowserLocale",!0)("textLayer",!1),no(3),Oa(t.resource.title),no(2),Ia("",pc(21,27,"lang.page")," ",t.currentPage," / ",t.pages.length,""),no(2),Vr("cancelText",pc(24,29,"lang.cancel")),no(3),Vr("ngForOf",t.pages),no(1),Vr("ngIf",t.pages.length>1),no(5),Oa(pc(32,31,"lang.save")),no(4),Oa(pc(36,33,"lang.cancel")))},directives:[Vx,yC,bC,cC,ox,ju,Tx,Zk,Hx,Wu,QS,uC,Bx,Cx,Zx,dC,Nx,Ox,Jk,Ax,hC,Lx],pipes:[qA,ah],styles:[".containerMobile[_ngcontent-%COMP%]{flex-direction:column}.containerMobile[_ngcontent-%COMP%] .signPosForm[_ngcontent-%COMP%]{flex:none!important;height:auto}.containerMobile[_ngcontent-%COMP%] .signatureContainer[_ngcontent-%COMP%], .signPosForm[_ngcontent-%COMP%]{flex:1}.signatureContainer[_ngcontent-%COMP%]{position:relative;overflow:auto;width:1050px;display:flex;justify-content:center}.posSignButton[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:50%;transform:translateX(-50%)}.signature[_ngcontent-%COMP%]{z-index:2;position:absolute;border:1px dashed var(--ion-color-danger);background:rgba(var(--ion-color-danger-rgb),.6) none repeat scroll 0 0;font-weight:700;font-size:20px;color:#fff;height:110px;display:flex;align-items:center;justify-content:center}.signDisabled[_ngcontent-%COMP%]{z-index:1;opacity:.2;cursor:pointer}.signUserName[_ngcontent-%COMP%]{position:absolute;font-size:12px;bottom:20px;font-weight:400;color:#fff;font-style:italic}.chip-item-content[_ngcontent-%COMP%]{z-index:9999;position:absolute;margin:0;bottom:0}.chip-item[_ngcontent-%COMP%]{font-size:7px;width:15px;height:15px;padding:0;margin:0 5px;color:#fff;border-color:#fff;justify-content:center}img[_ngcontent-%COMP%]{pointer-events:none}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out;z-index:9999}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.hide[_ngcontent-%COMP%]{display:none}"]}),e})(),TV=(()=>{class e{constructor(){this.fileDropped=new yc,this.disabled=!1,this.background="none",this.opacity="1"}onDragOver(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="#9ecbec",this.opacity="0.8")}onDragLeave(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1")}ondrop(e){if(!this.disabled){e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1";const t=e.dataTransfer.files;t.length>0&&this.fileDropped.emit(t)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","appUploadFileDragDrop",""]],hostVars:4,hostBindings:function(e,t){1&e&&Xr("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)}),2&e&&fa("background-color",t.background)("opacity",t.opacity)},inputs:{disabled:"disabled"},outputs:{fileDropped:"fileDropped"}}),e})();var IV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const RV=["appVisaWorkflow"],LV=["rightContent"],FV=["docToUpload"];function BV(e,t){1&e&&Ur(0,"ion-icon",34)}function zV(e,t){1&e&&Ur(0,"ion-icon",35)}function VV(e,t){1&e&&Ur(0,"i",36)}function NV(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-buttons",2),Hr(2,"ion-button",22),Xr("click",function(){const e=t.$implicit;return e.mainDocument=!e.mainDocument}),hc(3,"translate"),hc(4,"translate"),Fr(5,BV,1,0,"ion-icon",23),Fr(6,zV,1,0,"ion-icon",24),jr(),jr(),Hr(7,"ion-item",25),Hr(8,"ion-label",26),Da(9),hc(10,"translate"),jr(),Hr(11,"ion-input",27),Xr("ngModelChange",function(e){return t.$implicit.reference=e}),hc(12,"translate"),jr(),jr(),Hr(13,"ion-item",25),Hr(14,"ion-label",26),Da(15),hc(16,"translate"),jr(),Hr(17,"ion-input",28),Xr("ngModelChange",function(e){return t.$implicit.title=e}),hc(18,"translate"),jr(),jr(),Hr(19,"ion-buttons",5),Hr(20,"ion-button",29),Xr("click",function(){Lt(e);const n=t.index;return na(2).signPos(n)}),hc(21,"translate"),Fr(22,VV,1,0,"i",30),Ur(23,"ion-icon",31),jr(),Hr(24,"ion-button",32),Xr("click",function(){Lt(e);const n=t.index;return na(2).deleteFile(n)}),hc(25,"translate"),Ur(26,"ion-icon",33),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(2);no(2),Vr("title",e.mainDocument?pc(3,15,"lang.docToSign"):pc(4,17,"lang.attachDocToSign")),no(3),Vr("ngIf",e.mainDocument),no(1),Vr("ngIf",!e.mainDocument),no(3),Oa(pc(10,19,"lang.reference")),no(2),ra("placeholder",pc(12,21,"lang.fileReference")),Vr("maxlength",53)("ngModel",e.reference)("disabled",!e.mainDocument),no(4),Ma("",pc(16,23,"lang.subject")," *"),no(2),ra("placeholder",pc(18,25,"lang.filename")),Vr("ngModel",e.title),no(3),Vr("disabled",!e.mainDocument)("title",pc(21,27,"lang.setSignaturesPosition")),no(2),Vr("ngIf",void 0!==i.filesToUpload[n].signPos&&i.filesToUpload[n].signPos.length>0),no(2),Vr("title",pc(25,29,"lang.delete"))}}function HV(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-list-header"),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,NV,27,31,"ion-item",21),jr()),2&e){const e=na();no(3),Oa(pc(4,2,"lang.documentsToUpload")),no(2),Vr("ngForOf",e.filesToUpload)}}function jV(e,t){1&e&&Ur(0,"app-visa-workflow",37,38),2&e&&Vr("editMode",!0)}let UV=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.translate=t,this.router=n,this.menu=i,this.signaturesService=s,this.viewContainerRef=o,this.notificationService=r,this.authService=a,this.loadingController=l,this.alertController=c,this.datePipe=d,this.modalController=u,this.loading=!1,this.filesToUpload=[],this.errors=[],this.fromDocument=null}ngOnInit(){}ionViewWillEnter(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.filesToUpload=[],this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),void 0!==window.history.state.documentId&&(this.fromDocument=window.history.state.documentId,this.getDocumentData(this.fromDocument))}getDocumentData(e){return new Promise(t=>{this.http.get("../rest/documents/"+e).pipe(Ov(n=>{let i="",s=n.document.reference.split("/");s=s.slice(3,s.length),s.length>0&&(i=s.join("/")),this.filesToUpload.push({title:n.document.title,reference:i,mainDocument:!0,content:"",linkId:n.document.linkId,metadata:n.document.metadata}),this.getDocumentContent(e),this.appVisaWorkflow.loadWorkflow(n.document.workflow.map(e=>(e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{processDate:null,current:!1,role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes}))));for(let e=0;e<n.document.attachments.length;e++)this.getAttachment(n.document.attachments[e].id);t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}getDocumentContent(e){return new Promise(t=>{this.http.get(`../rest/documents/${e}/content?type=original`).pipe(Ov(e=>{this.filesToUpload[0].content=e.encodedDocument,t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}getAttachment(e){return new Promise(t=>{this.http.get("../rest/attachments/"+e).pipe(Ov(e=>{this.filesToUpload.push({title:e.attachment.title,mainDocument:!1,content:e.attachment.encodedDocument}),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent")}onSubmit(){this.isValid()&&this.promptSaveDoc()}promptSaveDoc(){return IV(this,void 0,void 0,function*(){const e=yield this.alertController.create({cssClass:"alert-info-no-msg",header:this.translate.instant("lang.areYouSure"),inputs:[{name:"note",id:"note",type:"textarea",placeholder:this.translate.instant("lang.addNote")}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:e=>{this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(t=>IV(this,void 0,void 0,function*(){t.present();const n=this.formatData(e.note);for(let e=0;e<n.length;e++)yield this.saveDocument(n[e],e);t.dismiss(),0===this.errors.length&&(this.notificationService.success("lang.documentsImported"),this.router.navigate(["/home"]))}))}}]});yield e.present()})}saveDocument(e,t){return new Promise(t=>{this.http.post("../rest/documents",e).pipe(Ov(()=>{this.errors=[]}),Iv(()=>t(!0)),fv(t=>(this.errors.push(e.title),this.notificationService.handleErrors(t),lb(!1)))).subscribe()})}formatData(e){const t=new Date;let n=null,i=null;""!==e&&(n={value:e,creator:`${this.authService.user.firstname} ${this.authService.user.lastname}`,creationDate:this.datePipe.transform(t,"dd-MM-y")});const s=[],o=this.filesToUpload.filter(e=>e.mainDocument),r=this.filesToUpload.filter(e=>!e.mainDocument);return o.length>1&&(i=this.datePipe.transform(t,"ddMMYhmmss")+"_"+Math.random().toString(36).substr(2,9)),o.forEach(e=>{const o={};null!==this.fromDocument&&e.metadata.forEach(e=>{o[e.label]=e.value});let a="";""!==e.reference&&(a=this.datePipe.transform(t,"y/MM/dd")+"/"+e.reference),s.push({title:e.title,reference:a,encodedDocument:e.content,isZipped:!1,linkId:null!==this.fromDocument?e.linkId:i,sender:`${this.authService.user.firstname} ${this.authService.user.lastname}`,notes:n,attachments:r.map(e=>({title:e.title,encodedDocument:e.content})),workflow:this.appVisaWorkflow.getCurrentWorkflow().map((t,n)=>({userId:t.userId,mode:this.authService.getWorkflowMode(t.role),signatureMode:this.authService.getSignatureMode(t.role),signaturePositions:void 0!==t.signaturePositions?this.formatPositions(t.signaturePositions.filter(t=>t.mainDocument===e.mainDocument&&void 0!==e.signPos)).map(e=>({page:e.page,positionX:e.position.positionX,positionY:e.position.positionY})):[]})),metadata:o})}),s}formatPositions(e){return delete e.mainDocument,e}dndUploadFile(e){this.uploadTrigger({target:{files:[e[0]]}})}uploadTrigger(e){this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(t=>IV(this,void 0,void 0,function*(){if(t.present(),e.target.files&&e.target.files[0]&&this.isExtensionAllowed(e.target.files)){for(let n=0;n<e.target.files.length;n++){const i=e.target.files[n].name,s={title:i.substr(0,i.lastIndexOf(".")),reference:i.substr(0,i.lastIndexOf(".")).substr(0,53),mainDocument:!0,content:""},o=new FileReader;o.readAsArrayBuffer(e.target.files[n]),o.onload=e=>{s.mainDocument=0===this.filesToUpload.length,s.reference=0===this.filesToUpload.length?s.reference:"",s.content=this.getBase64Document(e.target.result),this.filesToUpload.push(s),1===this.filesToUpload.length&&setTimeout(()=>{this.menu.open("right-menu")},500)},n===e.target.files.length-1&&t.dismiss()}this.fileImport.nativeElement.value=""}else this.loading=!1,t.dismiss()}))}isExtensionAllowed(e){for(let t=0;t<e.length;t++)if("pdf"!==e[t].name.toLowerCase().split(".").pop())return this.notificationService.error("lang.onlyPdfAuthorized"),!1;return!0}getBase64Document(e){const t=new Uint8Array(e).reduce((e,t)=>e+String.fromCharCode(t),"");return btoa(t)}deleteFile(e){this.filesToUpload.splice(e,1)}signPos(e){return IV(this,void 0,void 0,function*(){if(this.appVisaWorkflow.getCurrentWorkflow().length>0){this.appVisaWorkflow.getCurrentWorkflow().forEach((e,t)=>{void 0===e.signaturePositions&&(this.appVisaWorkflow.visaWorkflow[t].signaturePositions=[])});const t=yield this.modalController.create({component:MV,cssClass:"custom-alert-fullscreen",componentProps:{workflow:this.appVisaWorkflow.getCurrentWorkflow(),resource:this.filesToUpload[e],pdfContent:"data:application/pdf;base64,"+this.filesToUpload[e].content}});yield t.present();const{data:n}=yield t.onWillDismiss();void 0!==n&&(this.filesToUpload[e].signPos=n,this.appVisaWorkflow.setPositionsWorkfow(this.filesToUpload[e],n))}else this.notificationService.error("lang.mustSetWorkflowBeforeSignPositions")})}isValid(){return this.filesToUpload.filter(e=>""===e.title).length>0?(this.notificationService.error("lang.subjectMandatory"),!1):0===this.filesToUpload.filter(e=>e.mainDocument).length?(this.notificationService.error("lang.mainDocumentMandatory"),!1):0!==this.appVisaWorkflow.getCurrentWorkflow().length||(this.notificationService.error("lang.workflowUserstMandatory"),this.menu.open("right-menu"),!1)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(r_),zr(JC),zr(oS),zr(Gl),zr(QA),zr(aS),zr(KC),zr(XC),zr(lh),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&(Tc(RV,1),Tc(LV,3),Tc(FV,1)),2&e){let e;Mc(e=Rc())&&(t.appVisaWorkflow=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.fileImport=e.first)}},features:[Ja([lh])],decls:31,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],[1,"ion-text-center"],["slot","end"],["menu","right-menu"],["name","list-outline"],[2,"display","flex","flex-direction","column","height","100%"],[4,"ngIf"],["type","file","name","files[]","multiple","","accept","application/pdf",2,"display","none",3,"change"],["docToUpload",""],["appUploadFileDragDrop","",1,"dnd-area",3,"fileDropped"],["fill","outline","color","medium","size","large",3,"click"],["lines","none",1,"ion-text-center","no-background"],["color","medium"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["rightContent",""],[4,"ngFor","ngForOf"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","pencil-outline",4,"ngIf"],["slot","icon-only","name","document-attach-outline",4,"ngIf"],[2,"width","100%"],["position","floating","color","secondary"],["matInput","","type","text",3,"placeholder","maxlength","ngModel","disabled","ngModelChange"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"disabled","title","click"],["class","badge-sign-pos",4,"ngIf"],["slot","icon-only","name","contract-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["slot","icon-only","name","pencil-outline"],["slot","icon-only","name","document-attach-outline"],[1,"badge-sign-pos"],[2,"display","contents",3,"editMode"],["appVisaWorkflow",""]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title",4),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-buttons",5),Hr(8,"ion-menu-button",6),Ur(9,"ion-icon",7),jr(),jr(),jr(),jr(),Hr(10,"ion-content"),Hr(11,"div",8),Fr(12,HV,6,4,"ion-list",9),Hr(13,"input",10,11),Xr("change",function(e){return t.uploadTrigger(e)}),jr(),Hr(15,"div",12),Xr("fileDropped",function(e){return t.dndUploadFile(e)}),Hr(16,"ion-button",13),Xr("click",function(){return Lt(e),Br(14).click()}),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-item",14),Hr(20,"ion-label",15),Da(21),hc(22,"translate"),jr(),jr(),jr(),jr(),jr(),Hr(23,"ion-footer",16),Hr(24,"div",17),Hr(25,"ion-button",18),Xr("click",function(){return t.onSubmit()}),Hr(26,"ion-label",19),Da(27),hc(28,"translate"),jr(),jr(),jr(),jr(),Fr(29,jV,2,1,"ng-template",null,20,zc)}2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,6,"lang.newDocumentToVisa")),no(7),Vr("ngIf",t.filesToUpload.length>0),no(5),Ma(" ",pc(18,8,"lang.chooseDocuments")," "),no(4),Ma(" ",pc(22,10,"lang.dndDocuments")," "),no(6),Oa(pc(28,12,"lang.validate")))},directives:[Vx,yC,Ax,Jx,bC,Nx,Tx,Wu,TV,Cx,Gx,Zx,Bx,Qx,Xx,ju,Wx,ax,tb,rm,Rm,OB],pipes:[qA],styles:[".dnd-area[_ngcontent-%COMP%]{border:5px dashed;margin:20px;text-align:center;color:grey;padding:50px 10px;flex:1;align-items:center;display:flex;flex-direction:column;justify-content:center}.no-background[_ngcontent-%COMP%]{--background:none} .alert-info-no-msg .alert-message{display:none} .alert-info-no-msg .alert-title{color:var(--ion-color-primary)}.badge-sign-pos[_ngcontent-%COMP%]{width:10px;height:10px;background:var(--ion-color-danger);position:absolute;top:0;right:0;border-radius:5px}"]}),e})();const WV=["searchInput"];function GV(e,t){if(1&e){const e=qr();Hr(0,"ion-searchbar",6,7),Xr("ngModelChange",function(t){return Lt(e),na().searchValue=t})("ionChange",function(t){return Lt(e),na().getDatas(t)}),hc(2,"translate"),jr()}2&e&&Vr("ngModel",na().searchValue)("placeholder",pc(2,2,"lang.search"))}function $V(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",10),Xr("ionChange",function(t){return Lt(e),na(2).selectItem(t.detail.value)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Hr(4,"ion-note",11),Da(5),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(2),Oa(e.email)}}function qV(e,t){if(1&e&&(Hr(0,"ion-list",8),Fr(1,$V,6,4,"ion-item",9),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.itemList)}}function YV(e,t){1&e&&(Hr(0,"ion-label",12),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.noItem")))}function ZV(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",13),Xr("click",function(){Lt(e);const n=t.index;return na().removeItem(n)}),Hr(1,"ion-label",14),Da(2),jr(),Ur(3,"ion-icon",15),jr()}if(2&e){const e=t.$implicit;no(2),Ta("",e.firstname," ",e.lastname,"")}}function QV(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",11),Hr(1,"ion-button",16),Xr("click",function(){return Lt(e),na().toggleEdit()}),Hr(2,"ion-label",17),Da(3),hc(4,"translate"),jr(),jr(),jr()}2&e&&(no(3),Oa(pc(4,1,"lang.edit")))}let XV=(()=>{class e{constructor(e,t){this.http=e,this.notificationService=t,this.currentItems=[],this.selectedOpt=new yc,this.myControl=new km,this.loading=!1,this.searchValue="",this.editMode=!1,this.itemList=[]}ngOnInit(){}getDatas(e){""===e.detail.value?this.itemList=[]:this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.itemList=e}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}selectItem(e){this.currentItems.push(e),this.searchValue="",this.itemList=[],this.editMode=!1,this.selectedOpt.emit(e)}removeItem(e){this.currentItems.splice(e,1)}toggleEdit(){this.editMode=!this.editMode,this.editMode&&setTimeout(()=>{this.searchInput.setFocus()},0)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA))},e.\u0275cmp=$e({type:e,selectors:[["plugin-autocomplete"]],viewQuery:function(e,t){if(1&e&&Tc(WV,1),2&e){let e;Mc(e=Rc())&&(t.searchInput=e.first)}},inputs:{currentItems:"currentItems",singleMode:"singleMode",required:"required",options:["datas","options"],routeDatas:"routeDatas",placeholder:["labelPlaceholder","placeholder"],key:["targetSearchKey","key"],subInfoKey:"subInfoKey"},outputs:{selectedOpt:"triggerEvent"},decls:8,vars:5,consts:[[3,"ngModel","placeholder","ngModelChange","ionChange",4,"ngIf"],["class","item-list",4,"ngIf"],["lines","none"],["color","medium","style","font-style: italic;",4,"ngIf"],["style","height: auto;",3,"click",4,"ngFor","ngForOf"],["slot","end",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange","ionChange"],["searchInput",""],[1,"item-list"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["slot","end"],["color","medium",2,"font-style","italic"],[2,"height","auto",3,"click"],[1,"ion-text-wrap"],["name","close-circle"],["size","small",3,"click"],["color","medium"]],template:function(e,t){1&e&&(Fr(0,GV,3,4,"ion-searchbar",0),Fr(1,qV,2,1,"ion-list",1),Hr(2,"ion-list"),Hr(3,"ion-item",2),Fr(4,YV,3,3,"ion-label",3),Hr(5,"p"),Fr(6,ZV,4,2,"ion-chip",4),jr(),Fr(7,QV,5,3,"ion-buttons",5),jr(),jr()),2&e&&(Vr("ngIf",t.editMode),no(1),Vr("ngIf",t.itemList.length>0),no(3),Vr("ngIf",0===t.currentItems.length),no(2),Vr("ngForOf",t.currentItems),no(1),Vr("ngIf",!t.editMode))},directives:[Wu,Qx,Gx,ju,lC,ax,rm,Rm,Dx,J_,Zx,tC,Ox,Nx,Ax,Cx],pipes:[qA],styles:[""]}),e})();var KV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const JV=["appVisaWorkflow"],eN=["rightContent"];function tN(e,t){1&e&&Ur(0,"ion-icon",26)}function nN(e,t){1&e&&Ur(0,"ion-icon",27)}function iN(e,t){1&e&&Ur(0,"ion-icon",28)}function sN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const t=na().$implicit;return na(2).removeFilter(t)}),hc(1,"translate"),Fr(2,tN,1,0,"ion-icon",22),Fr(3,nN,1,0,"ion-icon",23),Fr(4,iN,1,0,"ion-icon",24),Hr(5,"ion-label"),Da(6),jr(),Ur(7,"ion-icon",25),jr()}if(2&e){const e=na().$implicit;Vr("title",pc(1,5,"lang."+e.id+"Search")),no(2),Vr("ngIf","title"===e.id),no(1),Vr("ngIf","reference"===e.id),no(1),Vr("ngIf","documentId"===e.id),no(2),Oa(e.val)}}function oN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).removeFilter(i,n.id)}),hc(1,"translate"),Ur(2,"ion-icon",30),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Ur(6,"ion-icon",25),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,2,"lang.workflowStatesSearch")),no(4),Oa(pc(5,4,e.label))}}function rN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,oN,7,6,"ion-chip",29),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.val)}}function aN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).removeFilter(i,n)}),hc(1,"translate"),Ur(2,"ion-icon",31),Hr(3,"ion-label"),Da(4),jr(),Ur(5,"ion-icon",25),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,3,"lang.workflowUsersSearch")),no(4),Ta("",e.firstname," ",e.lastname,"")}}function lN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,aN,6,5,"ion-chip",29),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.val)}}function cN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,sN,8,7,"ion-chip",20),Fr(2,rN,2,1,"div",10),Fr(3,lN,2,1,"div",10),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf",("title"===e.id||"reference"===e.id||"documentId"===e.id)&&""!==e.val),no(1),Vr("ngIf","workflowStates"===e.id&&e.val.length>0),no(1),Vr("ngIf","workflowUsers"===e.id&&e.val.length>0)}}function dN(e,t){if(1&e){const e=qr();Hr(0,"ion-toolbar",14),Hr(1,"div",15),Hr(2,"ion-button",16),Xr("click",function(){return Lt(e),na().clearFilters()}),hc(3,"translate"),Ur(4,"ion-icon",17),jr(),Hr(5,"div",18),Fr(6,cN,4,3,"div",19),jr(),jr(),jr()}if(2&e){const e=na();no(2),Vr("title",pc(3,2,"lang.clearFilters")),no(4),Vr("ngForOf",e.currentFilters)}}function uN(e,t){1&e&&(Hr(0,"ion-list",32),Hr(1,"ion-item",33),Hr(2,"ion-label",34),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noResult")))}function hN(e,t){1&e&&Ur(0,"ion-icon",57)}function pN(e,t){1&e&&Ur(0,"ion-icon",58)}function gN(e,t){1&e&&Ur(0,"ion-icon",59)}function fN(e,t){if(1&e&&(Hr(0,"ion-badge",60),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;no(1),Oa(pc(2,1,"lang."+e.mode+"User"))}}const mN=function(){return["END","STOP"]};function bN(e,t){if(1&e&&(Wr(0),Fr(1,hN,1,0,"ion-icon",52),Hr(2,"span",53),Da(3),hc(4,"translate"),Fr(5,pN,1,0,"ion-icon",54),Fr(6,gN,1,0,"ion-icon",55),Fr(7,fN,3,3,"ion-badge",56),jr(),Gr()),2&e){const e=t.$implicit,n=t.index,i=na(3);no(1),Vr("ngIf",n>0),no(1),ma("success",null!==e.processDate&&"STOP"!==e.status)("typist-interrupt","REF"===e.status)("interrupt",null===e.processDate&&"END"===e.status||"STOP"===e.status)("current",e.current)("no-visa",null===e.processDate&&null===e.status&&!e.current),no(1),Ma("",i.functionsService.empty(e.userDisplay)?pc(4,15,"lang.userDeleted"):e.userDisplay,"\xa0 "),no(2),Vr("ngIf",null!==e.processDate&&"REF"!==e.status&&"STOP"!==e.status),no(1),Vr("ngIf",null!==e.processDate&&"REF"===e.status),no(1),Vr("ngIf",null===e.processDate&&(null===e.status||rc(17,mN).indexOf(e.status)>-1))}}function vN(e,t){1&e&&Ur(0,"ion-icon",61)}function yN(e,t){1&e&&Ur(0,"ion-icon",62)}function wN(e,t){1&e&&Ur(0,"ion-icon",63)}function _N(e,t){1&e&&Ur(0,"ion-icon",64)}function xN(e,t){if(1&e&&(Wr(0),Ur(1,"ion-icon",66),Da(2),Gr()),2&e){const e=t.$implicit;no(2),Ma(" ",e," ")}}function CN(e,t){if(1&e&&(Hr(0,"p",65),Fr(1,xN,3,1,"ng-container",19),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.reason)}}function AN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",67),Xr("click",function(t){Lt(e);const n=na().$implicit,i=Br(7),s=na(2);return t.stopPropagation(),s.toggleSlide(i,n.id)}),Ur(1,"ion-icon",68),jr()}}function SN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",67),Xr("click",function(t){Lt(e);const n=na().$implicit,i=Br(7),s=na(2);return t.stopPropagation(),s.toggleSlide(i,n.id)}),Ur(1,"ion-icon",69),jr()}}function kN(e,t){if(1&e){const e=qr();Hr(0,"ion-item-option",50),Xr("click",function(){Lt(e);const t=na().$implicit;return na(2).openPromptProof(t)}),Ur(1,"ion-icon",70),Da(2),hc(3,"translate"),jr()}2&e&&(no(2),Ma(" ",pc(3,1,"lang.download")," "))}function EN(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Hr(2,"ion-toolbar",37),Hr(3,"ion-title",38),Hr(4,"p",39),Fr(5,bN,8,18,"ng-container",19),jr(),jr(),jr(),Hr(6,"ion-item-sliding",40,41),Xr("ionDrag",function(n){Lt(e);const i=t.$implicit;return na(2).onSliding(n,i.id)}),Hr(8,"ion-item",33),Fr(9,vN,1,0,"ion-icon",42),Fr(10,yN,1,0,"ion-icon",43),Fr(11,wN,1,0,"ion-icon",44),Fr(12,_N,1,0,"ion-icon",45),Hr(13,"ion-label",46),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).goTo(n.id)}),hc(14,"translate"),Hr(15,"p"),Da(16),jr(),Hr(17,"h2"),Da(18),jr(),Fr(19,CN,2,1,"p",47),jr(),Hr(20,"ion-buttons",5),Fr(21,AN,2,0,"ion-button",48),Fr(22,SN,2,0,"ion-button",48),jr(),jr(),Hr(23,"ion-item-options"),Fr(24,kN,4,3,"ion-item-option",49),Hr(25,"ion-item-option",50),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).openActions(n)}),Ur(26,"ion-icon",51),Da(27),hc(28,"translate"),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(5),Vr("ngForOf",e.workflow),no(4),Vr("ngIf","PROG"==e.state),no(1),Vr("ngIf","STOP"==e.state),no(1),Vr("ngIf","VAL"==e.state),no(1),Vr("ngIf","REF"==e.state),no(1),Vr("title",pc(14,13,"lang.accessDocument")),no(3),Oa(e.reference),no(2),Oa(e.title),no(1),Vr("ngIf",e.reason.length>0),no(2),Vr("ngIf",n.openedLine===e.id),no(1),Vr("ngIf",n.openedLine!==e.id),no(2),Vr("ngIf","PROG"!==e.state),no(3),Ma(" ",pc(28,15,"lang.actions")," ")}}function PN(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",35),Fr(2,EN,29,17,"ion-item",36),jr(),jr()),2&e){const e=na();no(1),Vr("items",e.ressources)}}function DN(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-item"),Hr(2,"ion-label",76),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-input",77),Xr("ngModelChange",function(t){return Lt(e),na().$implicit.val=t})("keyup.enter",function(){return Lt(e),na(3).launchSearch()})("ionChange",function(){return Lt(e),na(3).checkInput()}),jr(),jr(),Gr()}if(2&e){const e=na().$implicit;no(3),Ma("",pc(4,3,"lang."+e.id+"Search")," "),no(2),Vr("ngModel",e.val)("value",e.val)}}function ON(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),Hr(4,"ion-checkbox",79),Xr("ngModelChange",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).toggleItem(i,n,!n.selected)})("ngModelChange",function(e){return t.$implicit.selected=e}),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(pc(3,4,e.label)),no(2),Vr("ngModel",e.selected)("checked",e.selected)("value",e.id)}}function MN(e,t){if(1&e&&(Wr(0),Hr(1,"ion-list-header"),Hr(2,"ion-label",78),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,ON,5,6,"ion-item",19),Gr()),2&e){const e=na().$implicit;no(3),Oa(pc(4,2,"lang."+e.id+"Search")),no(2),Vr("ngForOf",e.values)}}function TN(e,t){if(1&e&&(Wr(0),Hr(1,"ion-list-header"),Hr(2,"ion-label",78),Da(3),hc(4,"translate"),jr(),jr(),Ur(5,"plugin-autocomplete",80),Gr()),2&e){const e=na().$implicit;no(3),Oa(pc(4,2,"lang."+e.id+"Search")),no(2),Vr("currentItems",e.val)}}function IN(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,DN,6,5,"ng-container",10),Fr(2,MN,6,4,"ng-container",10),Fr(3,TN,6,4,"ng-container",10),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","text"===e.type),no(1),Vr("ngIf","checkbox"===e.type),no(1),Vr("ngIf","autocompleteUsers"===e.type)}}function RN(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title",71),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content"),Fr(8,IN,4,3,"ion-list",19),jr(),Hr(9,"ion-footer",72),Hr(10,"div",73),Hr(11,"ion-button",74),Xr("click",function(){return Lt(e),na().onSubmit()}),Hr(12,"ion-label",75),Da(13),hc(14,"translate"),jr(),jr(),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(5),Oa(pc(6,4,"lang.filters")),no(3),Vr("ngForOf",e.filters),no(5),Oa(pc(14,6,"lang.search"))}}let LN=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p){this.http=e,this.translate=t,this.router=n,this.menu=i,this.signaturesService=s,this.viewContainerRef=o,this.notificationService=r,this.authService=a,this.loadingController=l,this.alertController=c,this.actionSheetController=d,this.datePipe=u,this.functionsService=h,this._activatedRoute=p,this.loading=!1,this.filesToUpload=[],this.errors=[],this.filters=[{id:"title",type:"text",val:"",values:[]},{id:"reference",type:"text",val:"",values:[]},{id:"documentId",type:"text",val:"",values:[]},{id:"workflowStates",type:"checkbox",val:[],values:[{id:"PROG",label:"lang.inprogress",selected:!1},{id:"STOP",label:"lang.interrupt",selected:!1},{id:"VAL",label:"lang.end",selected:!1},{id:"REF",label:"lang.refused",selected:!1}]},{id:"workflowUsers",type:"autocompleteUsers",val:[],values:[]}],this.actions=[{icon:"hand-left-outline",id:"interruptWorkflow"},{icon:"document-outline",id:"newWorkflow"}],this.ressources=[],this.currentFilters=[],this.offset=0,this.limit=10,this.count=0,this.openedLine=""}ngOnInit(){this._activatedRoute.queryParamMap.subscribe(e=>{this.functionsService.empty(e.get("documentId"))||(this.documentId=e.get("documentId"),this.filters.filter(e=>"documentId"===e.id)[0].val=this.documentId,this.search())})}ionViewWillEnter(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),setTimeout(()=>{this.menu.open("right-menu")},500)}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent")}toggleSlide(e,t){e.getOpenAmount().then(n=>{0===n?(this.openedLine=t,e.open("end")):(this.openedLine="",e.close("end"))})}onSliding(e,t){this.openedLine=1===e.detail.ratio?t:""}onSubmit(){this.search(),this.menu.close("right-menu")}toggleItem(e,t,n){if(n)e.val.push(t.id);else{const n=e.val.indexOf(t.id);e.val.splice(n,1)}}formatDatas(){const e={};return JSON.parse(JSON.stringify(this.filters.filter(e=>"text"===e.type&&""!==e.val||"text"!==e.type&&e.val.length>0))).forEach(t=>{e[t.id]="workflowUsers"===t.id?t.val.map(e=>e.id):"workflowStates"===t.id?t.values.filter(e=>e.selected).map(e=>e.id):t.val}),e}formatListDatas(e){return e.map(e=>Object.assign(Object.assign({},e),{reason:this.getReason(e),currentUser:this.getCurrentUser(e)}))}getNbFilters(){let e=0;for(let t=0;t<this.currentFilters.length;t++)Array.isArray(this.currentFilters[t].val)||""===this.currentFilters[t].val||e++,Array.isArray(this.currentFilters[t].val)&&this.currentFilters[t].val.length>0&&(e+=this.currentFilters[t].val.length);return e}openActions(e){return KV(this,void 0,void 0,function*(){const t=[];this.actions.forEach(n=>{this.canShowButton(n.id,e)&&t.push({text:this.translate.instant("PROG"===e.state&&"newWorkflow"===n.id?"lang."+n.id+"Prog":"lang."+n.id),icon:n.icon,handler:()=>{this[n.id](e)}})});const n=yield this.actionSheetController.create({header:this.translate.instant("lang.actions")+(null!==e.reference?" - "+e.reference:""),buttons:t});yield n.present()})}canShowButton(e,t){return!("interruptWorkflow"!==e||!t.canInterrupt)||!("newWorkflow"!==e||!t.canReaffect)}search(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(e=>KV(this,void 0,void 0,function*(){e.present(),yield this.launchSearch(),e.dismiss()}))}launchSearch(){return this.ressources=[],this.offset=0,this.refreshCurrentFilter(),new Promise(e=>{this.http.post("../rest/search/documents?limit=10&offset=0",this.formatDatas()).pipe(Ov(t=>{this.ressources=this.formatListDatas(t.documents),this.count=t.count,this.infiniteScroll.disabled=!1,e(!0)}),fv(t=>(this.notificationService.handleErrors(t),e(!1),lb(!1)))).subscribe()})}refreshCurrentFilter(){this.currentFilters=JSON.parse(JSON.stringify(this.filters.filter(e=>!this.functionsService.empty(e.val)))),this.currentFilters.filter(e=>"workflowStates"===e.id).length>0&&(this.currentFilters.filter(e=>"workflowStates"===e.id)[0].val=this.currentFilters.filter(e=>"workflowStates"===e.id)[0].values.filter(e=>e.selected),0===this.currentFilters.filter(e=>"workflowStates"===e.id)[0].val.length&&(this.currentFilters=this.currentFilters.filter(e=>"workflowStates"!==e.id)))}loadData(e){this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/search/documents?limit="+this.limit+"&offset="+this.offset,this.formatDatas()).pipe(Ov(t=>{this.ressources=this.ressources.concat(this.formatListDatas(t.documents)),e.target.complete(),this.count===this.ressources.length&&(e.target.disabled=!0)})).subscribe())}interruptWorkflow(e){return KV(this,void 0,void 0,function*(){return new Promise(t=>KV(this,void 0,void 0,function*(){const n=yield this.alertController.create({header:this.translate.instant("lang.warning"),message:this.translate.instant("lang.warnInterrupt"),buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:()=>{this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(n=>KV(this,void 0,void 0,function*(){n.present(),yield this.launchInterrupt(e),this.launchSearch(),t(!0),n.dismiss()}))}}]});yield n.present()}))})}launchInterrupt(e){return new Promise(t=>{this.http.put(`../rest/documents/${e.id}/workflows/interrupt`,{}).pipe(Ov(()=>{this.notificationService.success("lang.documentInterrupted"),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),t(!1),lb(!1)))).subscribe()})}newWorkflow(e){return KV(this,void 0,void 0,function*(){"PROG"===e.state&&(yield this.interruptWorkflow(e)),this.router.navigate(["/indexation"],{state:{documentId:e.id}})})}openPromptProof(e){return KV(this,void 0,void 0,function*(){const t=yield this.alertController.create({cssClass:"promptProof",header:this.translate.instant("lang.download"),inputs:[{name:"option1",type:"radio",label:this.translate.instant("lang.proof"),value:"onlyProof",checked:!0},{name:"option1",type:"radio",label:this.translate.instant("lang.completeFolder"),value:"all"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:n=>KV(this,void 0,void 0,function*(){yield this.downloadProof(e,n),t.dismiss()})}]});yield t.present()})}downloadProof(e,t){const n="onlyProof"===t?"&onlyProof=true":"";return new Promise(t=>{this.http.get(`../rest/documents/${e.id}/proof?mode=stream${n}`,{responseType:"blob"}).pipe(Ov(n=>{const i=new Date,s="proof_"+e.id+"_"+this.datePipe.transform(i,"dd-MM-y")+"."+n.type.replace("application/",""),o=document.createElement("a");o.href=window.URL.createObjectURL(n),o.setAttribute("download",s),document.body.appendChild(o),o.click(),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),t(!1),lb(!1)))).subscribe()})}getReason(e){return e.workflow.map(e=>e.reason).filter(e=>null!==e)}getCurrentUser(e){const t=e.workflow.filter(e=>!0===e.current);return t.length>0?t[0].userId:null}goTo(e){this.router.navigate(["/documents/"+e])}clearFilters(){for(let e=0;e<this.filters.length;e++)Array.isArray(this.filters[e].val)||""===this.filters[e].val||(this.filters[e].val=""),Array.isArray(this.filters[e].val)&&(this.filters[e].val=[],this.filters[e].values=this.filters[e].values.map(e=>Object.assign(Object.assign({},e),{selected:!1})));this.ressources.length>0&&this.launchSearch()}removeFilter(e,t){if(Array.isArray(e.val))if("workflowStates"===e.id)this.filters.find(t=>t.id===e.id).values.filter(e=>e.id===t)[0].selected=!1;else{const n=e.val.indexOf(t);this.filters.filter(t=>t.id===e.id)[0].val.splice(n,1)}else this.filters.find(t=>t.id===e.id).val="";this.launchSearch()}getLabel(e){return this.filters.filter(e=>"workflowStates"===e.id)[0].values.find(t=>t.id===e).label}checkInput(){""===this.filters.find(e=>"title"===e.id).val&&""===this.filters.find(e=>"reference"===e.id).val&&""===this.filters.find(e=>"documentId"===e.id).val&&0===this.filters.find(e=>"workflowStates"===e.id).val.length&&0===this.filters.find(e=>"workflowUsers"===e.id).val.length&&(this.clearFilters(),this.currentFilters=[])}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(r_),zr(JC),zr(oS),zr(Gl),zr(QA),zr(aS),zr(KC),zr(XC),zr(QC),zr(lh),zr(HF),zr(Ny))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&(Tc(JV,1),Tc(eN,3),Tc(jx,1)),2&e){let e;Mc(e=Rc())&&(t.appVisaWorkflow=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.infiniteScroll=e.first)}},features:[Ja([lh])],decls:22,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["class","no-result",4,"ngIf"],[4,"ngIf"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["rightContent",""],["color","primary",2,"padding-left","1px","padding-right","1px"],[2,"display","flex"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],[4,"ngFor","ngForOf"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngIf"],["outline","","color","primary",2,"background","white",3,"title","click"],["name","document-text-outline",4,"ngIf"],["name","compass-outline",4,"ngIf"],["name","bookmark-outline",4,"ngIf"],["name","close-circle"],["name","document-text-outline"],["name","compass-outline"],["name","bookmark-outline"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngFor","ngForOf"],["name","swap-horizontal-outline"],["name","person-outline"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"],["approxItemHeight","165px",3,"items"],[4,"virtualItem"],["color","light"],["size","small"],[2,"display","flex","align-items","center","white-space","pre","overflow-x","auto","overflow-y","hidden"],[3,"ionDrag"],["slidingItem",""],["color","primary","slot","start","name","hourglass-outline",4,"ngIf"],["color","danger","slot","start","name","hand-left-outline",4,"ngIf"],["color","success","slot","start","name","thumbs-up-outline",4,"ngIf"],["color","danger","slot","start","name","thumbs-down-outline",4,"ngIf"],[2,"cursor","pointer",3,"title","click"],["class","primary",4,"ngIf"],["slot","icon-only","fill","clear","shape","round",3,"click",4,"ngIf"],["color","primary",3,"click",4,"ngIf"],["color","primary",3,"click"],["slot","bottom","name","settings-sharp"],["name","chevron-forward-outline",4,"ngIf"],[1,"workflow-item","success"],["name","thumbs-up-outline",4,"ngIf"],["name","thumbs-down-outline",4,"ngIf"],["color","medium",4,"ngIf"],["name","chevron-forward-outline"],["name","thumbs-up-outline"],["name","thumbs-down-outline"],["color","medium"],["color","primary","slot","start","name","hourglass-outline"],["color","danger","slot","start","name","hand-left-outline"],["color","success","slot","start","name","thumbs-up-outline"],["color","danger","slot","start","name","thumbs-down-outline"],[1,"primary"],["name","chatbox-outline"],["slot","icon-only","fill","clear","shape","round",3,"click"],["color","medium","slot","icon-only","name","arrow-forward-outline"],["color","medium","slot","icon-only","name","arrow-back-outline"],["slot","bottom","name","ribbon-sharp"],[1,"ion-text-center"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["color","secondary","position","floating"],[3,"ngModel","value","ngModelChange","keyup.enter","ionChange"],["color","secondary"],["slot","end",1,"workflowStates",3,"ngModel","checked","value","ngModelChange"],[3,"currentItems"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-title",4),Da(8),hc(9,"translate"),jr(),Hr(10,"ion-buttons",5),Hr(11,"ion-menu-button",6),Ur(12,"ion-icon",7),jr(),jr(),jr(),Fr(13,dN,7,4,"ion-toolbar",8),jr(),Hr(14,"ion-content"),Fr(15,uN,5,3,"ion-list",9),Fr(16,PN,3,1,"ion-list",10),Hr(17,"ion-infinite-scroll",11),Xr("ionInfinite",function(e){return t.loadData(e)}),Ur(18,"ion-infinite-scroll-content",12),hc(19,"translate"),jr(),jr(),Fr(20,RN,15,8,"ng-template",null,13,zc)),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,8,"lang.search")),no(3),Ta("",t.count," ",pc(9,10,"lang.results"),""),no(5),Vr("ngIf",t.currentFilters.length>0),no(2),Vr("ngIf",0===t.ressources.length),no(1),Vr("ngIf",t.ressources.length>0),no(2),Vr("loadingText",pc(19,12,"lang.loadingMoreData")))},directives:[Vx,yC,Ax,Jx,bC,Nx,Wu,Tx,jx,Ux,Cx,ju,Ox,Zx,Qx,Gx,qC,$C,Yx,qx,$x,xx,_x,jC,Bx,Wx,ax,rm,Rm,Xx,Dx,J_,XV],pipes:[qA],styles:[".line-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;grid-gap:10px;width:100%}.line-workflow[_ngcontent-%COMP%]{font-size:12px}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.workflow-item[_ngcontent-%COMP%]{display:flex;align-items:center}.no-visa[_ngcontent-%COMP%]{opacity:.3}.current[_ngcontent-%COMP%]{font-weight:700;color:var(--ion-color-primary)}.interrupt[_ngcontent-%COMP%], .typist-interrupt[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.interrupt[_ngcontent-%COMP%]{text-decoration:line-through}.no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:50px}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap}.scrollfilters[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;display:inline-block}"]}),e})(),FN=(()=>{class e{constructor(e){this.latinisePipe=e}transform(e,t){return null!==e?(e.sort((e,n)=>{const i=this.latinisePipe.transform(e[t]).toLocaleLowerCase(),s=this.latinisePipe.transform(n[t]).toLocaleLowerCase();return i<s?-1:i>s?1:0}),e):[]}}return e.\u0275fac=function(t){return new(t||e)(zr(uE))},e.\u0275pipe=Je({name:"sortBy",type:e,pure:!0}),e})();const BN=["rightContent"];function zN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).removeFilter(n)}),hc(1,"translate"),Ur(2,"ion-icon",19),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,2,"lang.actions")),no(4),Oa(pc(5,4,"lang."+e))}}function VN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.user)}),hc(1,"translate"),Ur(2,"ion-icon",21),Hr(3,"ion-label"),Da(4),jr(),Ur(5,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.userName")),no(4),Oa(e.filters.user)}}function NN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.date.start)}),hc(1,"translate"),Ur(2,"ion-icon",22),Hr(3,"ion-label"),Da(4),hc(5,"date"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.since")),no(4),Oa(gc(5,4,e.filters.date.start,"dd/MM/yyyy"))}}function HN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.date.end)}),hc(1,"translate"),Ur(2,"ion-icon",23),Hr(3,"ion-label"),Da(4),hc(5,"date"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.until")),no(4),Oa(gc(5,4,e.filters.date.end,"dd/MM/yyyy"))}}function jN(e,t){if(1&e){const e=qr();Hr(0,"ion-toolbar",12),Hr(1,"ion-button",13),Xr("click",function(){return Lt(e),na().clearFilters()}),hc(2,"translate"),Ur(3,"ion-icon",14),jr(),Hr(4,"div",15),Fr(5,zN,7,6,"ion-chip",16),Fr(6,VN,6,4,"ion-chip",17),Fr(7,NN,7,7,"ion-chip",17),Fr(8,HN,7,7,"ion-chip",17),jr(),jr()}if(2&e){const e=na();no(1),Vr("title",pc(2,5,"lang.clearFilters")),no(4),Vr("ngForOf",e.filters.messageTypes),no(1),Vr("ngIf",""!==e.filters.user),no(1),Vr("ngIf",null!==e.filters.date.start),no(1),Vr("ngIf",null!==e.filters.date.end)}}function UN(e,t){if(1&e&&(Hr(0,"ion-item",28),Ur(1,"ion-icon",29),Hr(2,"ion-label"),Hr(3,"p"),Da(4),hc(5,"titlecase"),hc(6,"translate"),Hr(7,"span",30),Da(8),hc(9,"date"),jr(),Da(10),hc(11,"translate"),Hr(12,"span",30),Da(13),jr(),jr(),Hr(14,"h2"),Da(15),jr(),jr(),Hr(16,"ion-note",5),Hr(17,"p",31),hc(18,"translate"),Da(19),hc(20,"translate"),hc(21,"shorten"),hc(22,"translate"),jr(),Hr(23,"p",32),Da(24),jr(),jr(),jr()),2&e){const e=t.$implicit,n=na(2);no(1),Vr("name",n.aventTypesIcon[e.type]),no(3),Ma("",pc(5,10,pc(6,12,"lang.the"))," "),no(4),Oa(gc(9,14,e.date,"dd/MM/yyyy HH:mm")),no(2),Ma(" ",pc(11,17,"lang.by")," "),no(3),Oa(e.user),no(2),Oa(e.message),no(2),Vr("title",pc(18,19,"lang.resource")+" : "+e.objectId),no(2),Ta("",pc(20,21,"lang."+e.objectType)," : ",null!==e.objectLabel?fc(21,23,e.objectLabel,50,"..."):pc(22,27,"lang.undefined"),""),no(5),Ma("IP : ",e.ip,"")}}function WN(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",24),Fr(2,UN,25,29,"ion-item",25),jr(),Hr(3,"ion-infinite-scroll",26),Xr("ionInfinite",function(t){return Lt(e),na().loadData(t)}),Ur(4,"ion-infinite-scroll-content",27),hc(5,"translate"),jr(),jr()}if(2&e){const e=na();no(1),Vr("items",e.resources),no(3),Vr("loadingText",pc(5,2,"lang.loadingMoreData"))}}function GN(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",5),Hr(1,"ion-button",42),Xr("click",function(){Lt(e);const t=na(2);return t.filters.date.start=null,t.getDatas()}),Ur(2,"ion-icon",43),jr(),jr()}}function $N(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",5),Hr(1,"ion-button",42),Xr("click",function(){Lt(e);const t=na(2);return t.filters.date.end=null,t.getDatas()}),Ur(2,"ion-icon",43),jr(),jr()}}function qN(e,t){if(1&e){const e=qr();Hr(0,"ion-item",31),Hr(1,"ion-checkbox",44),Xr("ionChange",function(t){return Lt(e),na(2).toggleAction(t.detail)}),jr(),Hr(2,"ion-label"),Da(3),jr(),jr()}if(2&e){const e=t.$implicit;Vr("title",e.label),no(1),Vr("value",e.id),no(2),Oa(e.label)}}function YN(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title",33),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content"),Hr(8,"ion-list"),Hr(9,"ion-item",34),Hr(10,"ion-searchbar",35),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(11,"translate"),jr(),jr(),Hr(12,"ion-item"),Hr(13,"ion-label",36),Da(14),hc(15,"translate"),jr(),Hr(16,"ion-datetime",37),Xr("ngModelChange",function(t){return Lt(e),na().filters.date.start=t})("ionChange",function(){return Lt(e),na().getDatas()}),hc(17,"translate"),hc(18,"translate"),jr(),Fr(19,GN,3,0,"ion-buttons",38),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",36),Da(22),hc(23,"translate"),jr(),Hr(24,"ion-datetime",39),Xr("ngModelChange",function(t){return Lt(e),na().filters.date.end=t})("ionChange",function(){return Lt(e),na().getDatas()}),hc(25,"translate"),hc(26,"translate"),jr(),Fr(27,$N,3,0,"ion-buttons",38),jr(),Hr(28,"ion-item",40),Hr(29,"ion-label",36),Da(30),hc(31,"translate"),jr(),jr(),Fr(32,qN,4,3,"ion-item",41),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(5),Oa(pc(6,17,"lang.filters")),no(5),Vr("placeholder",pc(11,19,"lang.enterUserName")),no(4),Ma("",pc(15,21,"lang.since"),": "),no(2),Vr("doneText",pc(17,23,"lang.validate"))("cancelText",pc(18,25,"lang.cancel"))("ngModel",e.filters.date.start)("max",null!==e.filters.date.end?e.filters.date.end:void 0),no(3),Vr("ngIf",null!==e.filters.date.start),no(3),Ma("",pc(23,27,"lang.until"),": "),no(2),Vr("doneText",pc(25,29,"lang.validate"))("cancelText",pc(26,31,"lang.cancel"))("ngModel",e.filters.date.end)("min",null!==e.filters.date.start?e.filters.date.start:void 0),no(3),Vr("ngIf",null!==e.filters.date.end),no(3),Ma("",pc(31,33,"lang.actions"),": "),no(2),Vr("ngForOf",e.actions)}}let ZN=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d){this.http=e,this.translate=t,this.menu=n,this.latinisePipe=i,this.viewContainerRef=s,this.dialog=o,this.signaturesService=r,this.notificationService=a,this.authService=l,this.alertController=c,this.sortPipe=d,this.displayedColumns=["creation_date","user","info","ip"],this.loading=!0,this.resources=[],this.offset=0,this.limit=10,this.count=0,this.filters={user:"",messageTypes:[],date:{start:null,end:null}},this.aventTypesIcon={VIEW:"eye-outline",CREATION:"add-circle-outline",ACTION:"settings-outline",THUMBNAIL:"image-outline",EMAIL:"mail-outline",SUPPRESSION:"trash-bin-outline",MODIFICATION:"create-outline",LOGIN:"log-in-outline",LOGOUT:"log-out-outline"},this.actions=[]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.filters.user=e,this.getDatas()}openFilters(){this.menu.open("right-menu")}ionViewWillEnter(){return e=this,void 0,n=function*(){this.filters.messageTypes=[],this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),this.getActions(),this.getDatas()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getActions(){this.http.get("../rest/history/messageTypes",this.filters).pipe(Ov(e=>{this.actions=e.messageTypes.map(e=>({id:e,label:this.translate.instant("lang."+e)})),this.actions=this.sortPipe.transform(this.actions,"label")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}getDatas(){return this.resources=[],this.offset=0,new Promise(e=>{this.http.post("../rest/history?limit=10&offset=0",this.filters).pipe(Ov(t=>{this.resources=t.history,this.count=t.total,e(!0)}),fv(t=>(this.notificationService.handleErrors(t),e(!1),lb(!1)))).subscribe()})}sortData(e){console.log(e)}loadData(e){this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/history?limit="+this.limit+"&offset="+this.offset,this.filters).pipe(Ov(t=>{this.resources=this.resources.concat(t.history),e.target.complete(),this.count===this.resources.length&&(e.target.disabled=!0)})).subscribe())}getNbFilters(){let e=0;return""!==this.filters.user&&e++,null!==this.filters.date.start&&e++,null!==this.filters.date.end&&e++,this.filters.messageTypes.length>0&&(e+=this.filters.messageTypes.length),e}toggleAction(e){e.checked?this.filters.messageTypes.push(e.value):this.filters.messageTypes=this.filters.messageTypes.filter(t=>t!==e.value),this.getDatas()}clearFilters(){$(".checkedAction").each(function(){$(this).prop("checked",!1)}),document.querySelector("ion-searchbar").getInputElement().then(e=>{e.value=""}),this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.getDatas()}removeFilter(e){this.filters.messageTypes.includes(e)&&$(".checkedAction").each(function(){if($(this).val()===e)return $(this).prop("checked",!1),!1}),this.filters.user===e&&(document.querySelector("ion-searchbar").getInputElement().then(e=>{e.value=""}),this.filters.user=""),this.filters.date.start===e&&(this.filters.date.start=null),this.filters.date.end===e&&(this.filters.date.end=null),this.getDatas()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(JC),zr(uE),zr(Gl),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC),zr(FN))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-history-list"]],viewQuery:function(e,t){if(1&e&&Tc(BN,3),2&e){let e;Mc(e=Rc())&&(t.rightContent=e.first)}},features:[Ja([FN])],decls:20,vars:10,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["mainContent",""],[4,"ngIf"],["rightContent",""],["color","primary","color","primary",2,"padding-left","1px","padding-right","1px"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],["outline","","color","primary",3,"title","click",4,"ngFor","ngForOf"],["outline","","color","primary",3,"title","click",4,"ngIf"],["outline","","color","primary",3,"title","click"],["name","swap-horizontal-outline"],["name","close-circle"],["name","person-outline"],["name","today-outline"],["name","calendar-outline"],["approxItemHeight","90px",3,"items"],["lines","full","class","canSelect",4,"virtualItem"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","full",1,"canSelect"],["color","primary","slot","start",3,"name"],[1,"primary"],[3,"title"],[2,"float","right","margin-top","0px"],[1,"ion-text-center"],["lines","none"],[3,"placeholder","ionChange"],["color","secondary"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","max","ngModelChange","ionChange"],["slot","end",4,"ngIf"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","min","ngModelChange","ionChange"],["lines","none",2,"position","sticky","top","0","z-index","2"],[3,"title",4,"ngFor","ngForOf"],["color","danger","shape","round","fill","clear",3,"click"],["slot","icon-only","name","close-outline"],["slot","start",1,"checkedAction",3,"value","ionChange"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-title",4),Da(9),hc(10,"translate"),jr(),Hr(11,"ion-buttons",5),Hr(12,"ion-menu-button",6),Ur(13,"ion-icon",7),jr(),jr(),jr(),Fr(14,jN,9,7,"ion-toolbar",8),jr(),Hr(15,"ion-content",null,9),Fr(17,WN,6,4,"ion-list",10),jr(),Fr(18,YN,33,35,"ng-template",null,11,zc)),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,6,"lang.history")),no(3),Ta("",t.count," ",pc(10,8,"lang.entries"),""),no(5),Vr("ngIf",t.getNbFilters()>0),no(3),Vr("ngIf",t.resources.length>0))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Nx,Wu,Tx,Cx,ju,Ox,Zx,Qx,qC,$C,jx,Ux,Gx,tC,lC,ax,Ix,ox,rm,Rm,Dx,J_],pipes:[qA,lh,rh,cE],styles:[".flex1[_ngcontent-%COMP%]{flex:1}.flex2[_ngcontent-%COMP%]{flex:2}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)} .test .alert-wrapper{min-width:350px}.canSelect[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{user-select:text!important;-webkit-user-select:text!important;-khtml-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap;height:50%}.scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;margin:4px;display:inline-block}ion-button.clearFilter[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;left:0;z-index:1}ion-chip[_ngcontent-%COMP%]{background-color:#fff}"]}),e})();const QN=["customizationForm"];function XN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",14),Xr("click",function(){return Lt(e),na(2).watermark.enabled=!1}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.disableWatermark"),""))}function KN(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-button",15),Xr("click",function(){return Lt(e),na(2).watermark.enabled=!0}),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Ma("",pc(3,1,"lang.enableWatermark")," "))}function JN(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-card"),Hr(2,"ion-item",1),Ur(3,"ion-icon",16),Ur(4,"ion-label",17),hc(5,"translate"),jr(),jr(),Hr(6,"ion-item"),Hr(7,"ion-label",18),Da(8),hc(9,"translate"),jr(),Hr(10,"ion-input",19),Xr("ngModelChange",function(t){return Lt(e),na(2).watermark.text=t}),jr(),Ur(11,"ion-note",20),hc(12,"translate"),jr(),Hr(13,"ion-radio-group",21),Xr("ionChange",function(t){return Lt(e),na(2).watermark.align=t.detail.value}),Hr(14,"ion-list-header"),Hr(15,"ion-label",7),Da(16),hc(17,"translate"),jr(),jr(),Hr(18,"ion-item"),Hr(19,"ion-label"),Da(20),hc(21,"translate"),jr(),Ur(22,"ion-radio",22),jr(),Hr(23,"ion-item"),Hr(24,"ion-label"),Da(25),hc(26,"translate"),jr(),Ur(27,"ion-radio",23),jr(),Hr(28,"ion-item"),Hr(29,"ion-label"),Da(30),hc(31,"translate"),jr(),Ur(32,"ion-radio",24),jr(),jr(),Hr(33,"ion-item"),Hr(34,"ion-label",18),Da(35),hc(36,"translate"),jr(),Hr(37,"ion-input",25),Xr("ngModelChange",function(t){return Lt(e),na(2).watermark.posY=t})("keypress",function(t){return Lt(e),na(2).isNumber(t)}),jr(),Hr(38,"ion-note",26),Da(39,"px"),jr(),jr(),Gr()}if(2&e){const e=na(2);no(4),Vr("innerHTML",pc(5,12,"lang.watermarkDesc"),ss),no(4),Oa(pc(9,14,"lang.content")),no(2),Vr("ngModel",e.watermark.text),no(1),Vr("innerHTML",pc(12,16,"lang.watermarkContentDesc"),ss),no(2),Vr("value",e.watermark.align),no(3),Oa(pc(17,18,"lang.alignment")),no(4),Oa(pc(21,20,"lang.left")),no(5),Oa(pc(26,22,"lang.center")),no(5),Oa(pc(31,24,"lang.right")),no(5),Ma("",pc(36,26,"lang.positionY")," "),no(2),Vr("ngModel",e.watermark.posY)("min",0)}}function eH(e,t){if(1&e){const e=qr();Hr(0,"form",5,6),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(2,"ion-content"),Hr(3,"ion-list"),Hr(4,"ion-list-header"),Hr(5,"ion-label",7),Da(6),hc(7,"translate"),jr(),Fr(8,XN,3,3,"ion-button",8),jr(),Fr(9,KN,4,3,"ion-item",9),Fr(10,JN,40,28,"ng-container",9),jr(),Hr(11,"ion-item",10),Hr(12,"div",11),Hr(13,"ion-button",12),Hr(14,"ion-label",13),Da(15),hc(16,"translate"),jr(),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(6),Ma(" ",pc(7,5,"lang.watermark")," "),no(2),Vr("ngIf",e.watermark.enabled),no(1),Vr("ngIf",!e.watermark.enabled),no(1),Vr("ngIf",e.watermark.enabled),no(5),Oa(pc(16,7,"lang.validate"))}}let tH=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.translate=t,this.notificationService=n,this.authService=i,this.functions=s,this.loading=!0,this.loginMessage="",this.applicationUrl="",this.watermark={enabled:!1,text:"Document n\xb0[id]",align:"R",posY:10}}ngOnInit(){return e=this,void 0,n=function*(){yield this.getWatermark(),this.loading=!1},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getWatermark(){return new Promise(e=>{this.http.get("../rest/customization/watermark").pipe(Ov(t=>{this.functions.empty(t.configuration)||(this.watermark=t.configuration),e(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}onSubmit(){this.http.put("../rest/customization",{id:this.authService.user.id,watermark:this.watermark}).pipe(Ov(()=>{this.notificationService.success(this.translate.instant("lang.modificationSaved"))}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}isNumber(e){const t=(e=e||window.event).which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(QA),zr(aS),zr(HF))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&Tc(QN,1),2&e){let e;Mc(e=Rc())&&(t.customizationForm=e.first)}},decls:9,vars:5,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","customizationForm",3,"ngSubmit",4,"ngIf"],["id","customizationForm",2,"display","contents",3,"ngSubmit"],["customizationForm","ngForm"],["color","secondary"],["size","small","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary"],[2,"font-size","13px"],["size","small","color","danger",3,"click"],["size","small","color","primary",3,"click"],["name","information-circle","slot","start"],[2,"white-space","initial",3,"innerHTML"],["color","secondary","position","floating"],["name","watermarkContent",3,"ngModel","ngModelChange"],[3,"innerHTML"],[3,"value","ionChange"],["slot","start","value","L"],["slot","start","value","C"],["slot","start","value","R"],["type","number","name","watermarkPosY",3,"ngModel","min","ngModelChange","keypress"],["slot","end"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Fr(8,eH,17,9,"form",4)),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,3,"lang.customization")),no(2),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Wu,Lm,am,Mm,Tx,Qx,Xx,Zx,Gx,Cx,Sx,Nx,Wx,ax,rm,Rm,tC,iC,ox,nC,ix,tx],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})(),nH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[w_.forRoot([{path:"home",canActivate:[BR],component:vV},{path:"indexation",canActivate:[BR],component:UV},{path:"profile",canActivate:[BR],component:mV},{path:"search",canActivate:[BR],component:LN},{path:"administration",canActivate:[BR],component:NR},{path:"administration/users",canActivate:[BR],component:$R},{path:"administration/users/new",canActivate:[BR],component:aL},{path:"administration/users/:id",canActivate:[BR],component:aL},{path:"administration/groups",canActivate:[BR],component:pL},{path:"administration/groups/new",canActivate:[BR],component:ML},{path:"administration/groups/:id",canActivate:[BR],component:ML},{path:"administration/connections",canActivate:[BR],component:LL},{path:"administration/connections/ldaps",canActivate:[BR],component:HL},{path:"administration/connections/ldaps/new",canActivate:[BR],component:XL},{path:"administration/connections/ldaps/:id",canActivate:[BR],component:XL},{path:"administration/emailConfiguration",canActivate:[BR],component:sF},{path:"administration/passwordRules",canActivate:[BR],component:zz},{path:"administration/history",canActivate:[BR],component:ZN},{path:"administration/customization",canActivate:[BR],component:tH},{path:"documents/:id",canActivate:[BR],component:Sz},{path:"login",canActivate:[BR],component:Tz},{path:"forgot-password",component:Iz},{path:"update-password",component:Bz},{path:"password-modification",component:Uz},{path:"**",redirectTo:"login",pathMatch:"full"}],{relativeLinkResolution:"legacy"})],w_]}),e})();function iH(e,t){if(1&e){const e=qr();Hr(0,"ion-item",3),Xr("click",function(){return Lt(e),na().menu.close("left-menu")}),Ur(1,"ion-icon",4),Hr(2,"ion-label"),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;ma("item-active",na().isActiveRoute(e.route)),Vr("routerLink",e.route),no(1),Vr("name",e.icon),no(2),Oa(pc(4,5,"lang."+e.id))}}let sH=(()=>{class e{constructor(e,t,n,i){this.route=e,this.router=t,this.authService=n,this.menu=i,this.loading=!0,this.privileges=[]}ngOnInit(){}openHome(){this.router.navigate(["/documents/"])}isActiveRoute(e){return this.router.url.split("/").indexOf(e.replace("/administration/",""))>-1}}return e.\u0275fac=function(t){return new(t||e)(zr(Ny),zr(r_),zr(aS),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-admin-sidebar"]],decls:8,vars:4,consts:[["color","light"],[2,"text-align","center","font-size","14px"],["routerDirection","root",3,"routerLink","item-active","click",4,"ngFor","ngForOf"],["routerDirection","root",3,"routerLink","click"],["slot","start","color","primary",3,"name"]],template:function(e,t){1&e&&(Hr(0,"ion-header"),Hr(1,"ion-toolbar",0),Hr(2,"ion-title",1),Da(3),hc(4,"translate"),jr(),jr(),jr(),Hr(5,"ion-content"),Hr(6,"ion-list"),Fr(7,iH,5,7,"ion-item",2),jr(),jr()),2&e&&(no(3),Ma(" ",pc(4,2,"lang.administration")," "),no(4),Vr("ngForOf",t.authService.user.administrativePrivileges))},directives:[Vx,yC,bC,Tx,Qx,ju,Gx,UC,a_,Nx,Zx],pipes:[qA],styles:[".item-active[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.14);color:var(--ion-color-primary);font-weight:700}"]}),e})();const oH=["listContent"],rH=["searchInput"];function aH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().authService.logout()}),hc(1,"translate"),Ur(2,"ion-icon",15),jr()}2&e&&Vr("title",pc(1,1,"lang.logout"))}function lH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openAdmin()}),hc(1,"translate"),Ur(2,"ion-icon",16),jr()}2&e&&Vr("title",pc(1,1,"lang.administration"))}function cH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openHome()}),hc(1,"translate"),Ur(2,"ion-icon",17),jr()}2&e&&Vr("title",pc(1,1,"lang.homePage"))}function dH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openIndexation()}),hc(1,"translate"),Ur(2,"ion-icon",18),Ur(3,"ion-icon",19),jr()}2&e&&Vr("title",pc(1,1,"lang.indexationAdmin"))}function uH(e,t){if(1&e&&(Hr(0,"span",26),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Oa(pc(2,1,"lang."+e.signaturesService.mode+"Label"))}}function hH(e,t){if(1&e){const e=qr();Hr(0,"ion-title",23),Xr("click",function(t){return Lt(e),na(2).search(t)}),hc(1,"translate"),Hr(2,"span"),Da(3),jr(),Da(4),hc(5,"translate"),Fr(6,uH,3,3,"span",24),Da(7," \xa0 "),Ur(8,"ion-icon",25),jr()}if(2&e){const e=na(2);Vr("title",pc(1,6,"lang.filterInfo")),no(2),ma("primary",""!=e.signaturesService.mode),no(1),Oa(e.signaturesService.documentsListCount.current),no(1),Ma(" ",pc(5,8,"lang.documents")," "),no(2),Vr("ngIf",""!=e.signaturesService.mode)}}function pH(e,t){if(1&e){const e=qr();Hr(0,"ion-searchbar",27,28),Xr("ionCancel",function(t){Lt(e);const n=na(2);return n.search(t),n.searchMode=!n.searchMode}),hc(2,"translate"),jr()}if(2&e){const e=na(2);Vr("placeholder",pc(2,2,"lang.filterInfo"))("formControl",e.searchTerm)}}function gH(e,t){if(1&e&&(Hr(0,"ion-header"),Hr(1,"ion-toolbar",20),Fr(2,hH,9,10,"ion-title",21),Fr(3,pH,3,4,"ion-searchbar",22),jr(),jr()),2&e){const e=na();no(2),Vr("ngIf",!e.searchMode),no(1),Vr("ngIf",e.searchMode)}}function fH(e,t){if(1&e){const e=qr();Hr(0,"ion-header",29),Hr(1,"ion-toolbar",30),Hr(2,"ion-segment",31),Hr(3,"ion-segment-button",32),Xr("click",function(){return Lt(e),na().filter("sign")}),Hr(4,"ion-label"),Da(5),hc(6,"titlecase"),hc(7,"translate"),jr(),Ur(8,"ion-icon",33),Hr(9,"ion-badge",34),Da(10),jr(),jr(),Hr(11,"ion-segment-button",35),Xr("click",function(){return Lt(e),na().filter("visa")}),Hr(12,"ion-label"),Da(13),hc(14,"titlecase"),hc(15,"translate"),jr(),Ur(16,"ion-icon",36),Hr(17,"ion-badge",34),Da(18),jr(),jr(),Hr(19,"ion-segment-button",37),Xr("click",function(){return Lt(e),na().filter("note")}),Hr(20,"ion-label"),Da(21),hc(22,"titlecase"),hc(23,"translate"),jr(),Ur(24,"ion-icon",38),Hr(25,"ion-badge",34),Da(26),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(2),Vr("value",e.signaturesService.mode),no(1),ma("segment-button-notFocused","sign"!==e.signaturesService.mode),no(2),Oa(pc(6,13,pc(7,15,"lang.signLabel"))),no(5),Oa(e.signaturesService.documentsListCount.sign),no(1),ma("segment-button-notFocused","visa"!==e.signaturesService.mode),no(2),Oa(pc(14,17,pc(15,19,"lang.visaLabel"))),no(5),Oa(e.signaturesService.documentsListCount.visa),no(1),ma("segment-button-notFocused","note"!==e.signaturesService.mode),no(2),Oa(pc(22,21,pc(23,23,"lang.noteLabel"))),no(5),Oa(e.signaturesService.documentsListCount.note)}}function mH(e,t){1&e&&Ur(0,"app-admin-sidebar",39)}function bH(e,t){1&e&&(Hr(0,"ion-item",44),Hr(1,"ion-label",45),Da(2),hc(3,"titlecase"),hc(4,"translate"),jr(),jr()),2&e&&(no(2),Ma(" ",pc(3,1,pc(4,3,"lang.noResult"))," "))}function vH(e,t){1&e&&Ur(0,"ion-icon",56)}function yH(e,t){1&e&&Ur(0,"ion-icon",57)}function wH(e,t){1&e&&Ur(0,"ion-icon",58)}function _H(e,t){1&e&&Ur(0,"ion-icon",59)}function xH(e,t){1&e&&(Hr(0,"ion-label",60),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.substitutedDoc"),""))}const CH=function(e){return[e]};function AH(e,t){if(1&e){const e=qr();Hr(0,"ion-menu-toggle",46),Hr(1,"ion-item",47),Xr("click",function(){Lt(e);const n=t.index;return na(2).filterService.currentIndex=n}),Fr(2,vH,1,0,"ion-icon",48),Fr(3,yH,1,0,"ion-icon",49),Fr(4,wH,1,0,"ion-icon",50),Fr(5,_H,1,0,"ion-icon",51),Hr(6,"div"),Hr(7,"ion-label",52),Da(8),jr(),Hr(9,"ion-label",53),Da(10),hc(11,"shorten"),jr(),Fr(12,xH,3,3,"ion-label",54),jr(),Ur(13,"ion-icon",55),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(1),ma("selected",n.router.url==="/documents/"+e.id),Vr("routerLink",ac(14,CH,"/documents/"+e.id)),no(1),Vr("ngIf","sign"==e.mode),no(1),Vr("ngIf","visa"==e.mode),no(1),Vr("ngIf","note"==e.mode),no(1),Vr("ngIf",!n.functionsService.empty(e.mailingId)),no(3),Oa(e.reference),no(2),Oa(fc(11,10,e.title,50,"...")),no(2),Vr("ngIf",!e.owner)}}function SH(e,t){if(1&e){const e=qr();Hr(0,"ion-infinite-scroll",61),Xr("ionInfinite",function(t){return Lt(e),na(2).loadData(t)}),Ur(1,"ion-infinite-scroll-content",62),hc(2,"translate"),jr()}2&e&&(no(1),Vr("loadingText",pc(2,1,"lang.loadingMoreData")))}function kH(e,t){if(1&e&&(Hr(0,"ion-content"),Hr(1,"ion-list",40),Fr(2,bH,5,5,"ion-item",41),Fr(3,AH,14,16,"ion-menu-toggle",42),jr(),Fr(4,SH,3,3,"ion-infinite-scroll",43),jr()),2&e){const e=na();no(2),Vr("ngIf",0==e.signaturesService.documentsList.length),no(1),Vr("ngForOf",e.signaturesService.documentsList),no(1),Vr("ngIf",e.signaturesService.documentsList.length>0)}}let EH=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.http=e,this.signaturesService=t,this.route=n,this.router=i,this.menu=s,this.notificationService=o,this.authService=r,this.modalController=a,this.functionsService=l,this.filterService=c,this.loadingList=!1,this.searchMode=!1,this.searchTerm=new km,this.searchTerm.valueChanges.pipe(yE(500),H_(),Ov(e=>this.loadingList=!0),sv(e=>this.http.get("../rest/documents?limit="+this.filterService.limit+"&search="+e))).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count,this.loadingList=!1})}ngOnInit(){$(".avatar").css({background:"url(data:image/png;base64,"+this.authService.user.picture+") no-repeat #135F7F"}).css({"background-size":"cover"}).css({"background-position":"center"}),this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count})}ngAfterViewInit(){this.filter("")}openProfile(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:mV,cssClass:"my-custom-class"});yield e.present()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}openAdmin(){this.menu.close("left-menu"),this.router.navigate(["/administration/"])}openHome(){this.router.navigate(["/home"])}openIndexation(){this.menu.close("left-menu"),this.router.navigate(["/indexation"])}openSearch(){this.menu.close("left-menu"),this.router.navigate(["/search"])}search(e){this.searchMode=!0,this.signaturesService.mode="",this.filter(""),setTimeout(()=>{"ionCancel"!==e.type&&(this.searchInput.value="",this.searchInput.setFocus())},0)}filter(e){this.signaturesService.documentsList=[],""!==e&&(this.searchMode=!1),this.loadingList=!0,this.signaturesService.mode=this.signaturesService.mode===e?"":e,this.filterService.offset=0,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(Iv(()=>{this.loadingList=!1})).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count,this.loadingList=!1})}checkClose(){return!(!(-1!==this.route.routeConfig.path.indexOf("administration")||this.signaturesService.mainDocumentId>0)||!this.signaturesService.mobileMode)}loadData(e){this.filterService.offset=this.filterService.offset+this.filterService.limit,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(Ov(t=>{this.signaturesService.documentsList=this.signaturesService.documentsList.concat(t.documents),e.target.complete(),this.signaturesService.documentsList.length===this.signaturesService.documentsListCount.current&&(e.target.disabled=!0)})).subscribe()}isAdminRoute(){return this.router.url.split("/").indexOf("administration")>-1}canIndex(){return this.authService.user.appPrivileges.map(e=>e.id).indexOf("indexation")>-1}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(Ny),zr(r_),zr(JC),zr(QA),zr(aS),zr(eA),zr(HF),zr(TF))},e.\u0275cmp=$e({type:e,selectors:[["app-sidebar"]],viewQuery:function(e,t){if(1&e&&(Tc(oH,1),Tc(rH,1)),2&e){let e;Mc(e=Rc())&&(t.listContent=e.first),Mc(e=Rc())&&(t.searchInput=e.first)}},decls:23,vars:16,consts:[[3,"translucent"],["color","primary"],["color","primary","lines","none"],["color","secondary",1,"ion-text-center"],[2,"font-weight","bold","font-size","24px"],["slot","start"],[3,"title","click",4,"ngIf"],["slot","end"],[3,"title","click"],["slot","icon-only","name","search-outline"],[1,"avatar-user",3,"click"],[3,"src"],[4,"ngIf"],["style","background: white;",4,"ngIf"],["style","display: contents;",4,"ngIf"],["slot","icon-only","name","power"],["slot","icon-only","name","settings-outline"],["slot","icon-only","name","home"],["slot","icon-only","name","document-outline"],["slot","icon-only","name","add-circle",2,"position","absolute","top","0px","font-size","15px","right","-5px"],["color","light"],["style","text-align: center;font-size: 14px;",3,"title","click",4,"ngIf"],["showCancelButton","always",3,"placeholder","formControl","ionCancel",4,"ngIf"],[2,"text-align","center","font-size","14px",3,"title","click"],["class","primary",4,"ngIf"],["color","primary","name","search-outline"],[1,"primary"],["showCancelButton","always",3,"placeholder","formControl","ionCancel"],["searchInput",""],[2,"background","white"],[1,"filters"],["value","heart",3,"value"],["value","sign",3,"click"],["color","primary","name","pencil-outline"],["color","secondary"],["value","visa",3,"click"],["color","primary","name","checkmark-done-outline"],["value","note",3,"click"],["color","primary","name","chatbubble-ellipses-outline"],[2,"display","contents"],["id","labels-list"],["lines","none",4,"ngIf"],["auto-hide","false",4,"ngFor","ngForOf"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none"],["color","medium",1,"ion-text-center"],["auto-hide","false"],["routerDirection","root","detail","false",1,"doc-item",3,"routerLink","click"],["color","primary","slot","start","name","pencil-outline",4,"ngIf"],["color","primary","slot","start","name","checkmark-done-outline",4,"ngIf"],["color","primary","slot","start","name","chatbubble-ellipses-outline",4,"ngIf"],["slot","start","color","danger","name","layers","class","groupMailIcon",4,"ngIf"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["color","secondary","class","sub-label",4,"ngIf"],["slot","end","color","medium","name","arrow-forward-outline"],["color","primary","slot","start","name","pencil-outline"],["color","primary","slot","start","name","checkmark-done-outline"],["color","primary","slot","start","name","chatbubble-ellipses-outline"],["slot","start","color","danger","name","layers",1,"groupMailIcon"],["color","secondary",1,"sub-label"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-item",2),Hr(3,"ion-label",3),Hr(4,"h2",4),Da(5),jr(),jr(),jr(),jr(),jr(),Hr(6,"ion-header",0),Hr(7,"ion-toolbar",1),Hr(8,"ion-buttons",5),Fr(9,aH,3,3,"ion-button",6),Fr(10,lH,3,3,"ion-button",6),Fr(11,cH,3,3,"ion-button",6),jr(),Hr(12,"ion-buttons",7),Hr(13,"ion-button",8),Xr("click",function(){return t.openSearch()}),hc(14,"translate"),Ur(15,"ion-icon",9),jr(),Fr(16,dH,4,3,"ion-button",6),jr(),jr(),jr(),Hr(17,"ion-avatar",10),Xr("click",function(){return t.openProfile()}),Ur(18,"img",11),jr(),Fr(19,gH,4,2,"ion-header",12),Fr(20,fH,27,25,"ion-header",13),Fr(21,mH,1,0,"app-admin-sidebar",14),Fr(22,kH,5,3,"ion-content",12)),2&e&&(Vr("translucent",!0),no(5),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(1),Vr("translucent",!0),no(3),Vr("ngIf","x509"!==t.authService.authMode&&"kerberos"!==t.authService.authMode&&"azure_saml"!==t.authService.authMode),no(1),Vr("ngIf",!t.isAdminRoute()&&t.authService.user.administrativePrivileges.length>0),no(1),Vr("ngIf",t.isAdminRoute()),no(2),Vr("title",pc(14,14,"lang.search")),no(3),Vr("ngIf",t.canIndex()),no(2),Vr("src",t.authService.user.picture,os),no(1),Vr("ngIf",!t.isAdminRoute()),no(1),Vr("ngIf",!t.isAdminRoute()),no(1),Vr("ngIf",t.isAdminRoute()),no(1),Vr("ngIf",!t.isAdminRoute()))},directives:[Vx,yC,Gx,Zx,Ax,Wu,Cx,Nx,wx,bC,lC,ax,rm,Vm,cC,ox,dC,xx,sH,Tx,Qx,ju,eC,UC,a_,jx,Ux],pipes:[qA,rh,cE],styles:['.main-header[_ngcontent-%COMP%]{height:205px;overflow:auto}.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:hidden;display:flex;flex-direction:column}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{flex:1;overflow-y:scroll;margin-top:0;overflow-x:hidden;margin-bottom:0;padding:0;position:relative}.sidebar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:70px;display:flex;align-items:center;border-bottom:1px solid #e6e6e6;margin:0;padding:5px 5px 5px 30px;cursor:pointer}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]:after{position:absolute;right:10px;content:"";height:60px;background:#f1f4f4}.sidebar[_ngcontent-%COMP%] .nav-item-right[_ngcontent-%COMP%]{text-align:center}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%]{width:50px}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .fas[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:50%;color:#135f7f;font-size:22px;height:25px;width:25px;padding:10px;margin-right:10px}.sidebar[_ngcontent-%COMP%] .nav-item-middle[_ngcontent-%COMP%]{width:180px;height:50px;font-size:12px;color:#4f4f4f}.sidebar[_ngcontent-%COMP%] .nav-item-title[_ngcontent-%COMP%]{font-weight:600;color:#135f7f;font-size:14px}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.avatar[_ngcontent-%COMP%]{cursor:pointer;position:absolute;width:65px;height:65px;border-radius:40px;bottom:-20px;border:3px solid #f99830;background-size:cover;background-repeat:no-repeat;background-position:50%;transition:all .2s}.avatar[_ngcontent-%COMP%]:hover{box-shadow:0 0 5px 0 #656565}.user[_ngcontent-%COMP%]{color:#fff;padding-top:10px;font-weight:700;font-size:20px;max-width:90%;right:0;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:10px}.filter[_ngcontent-%COMP%]{font-size:10px;width:95px;padding-left:0;padding-right:0}.filter.active[_ngcontent-%COMP%]{background:#135f7f}.mat-badge-content[_ngcontent-%COMP%]{right:0!important;top:-8px!important;background:#f99830}.noResult[_ngcontent-%COMP%]{position:absolute;top:50%;text-align:center;width:100%;opacity:.5}.noDoc[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#ddd}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}ion-item.selected[_ngcontent-%COMP%]{--background:rgba(var(--ion-color-primary-rgb),0.2)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px}.filters[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;color:#fff}.avatar-user[_ngcontent-%COMP%]{cursor:pointer;position:absolute;z-index:99;left:50%;transform:translateX(-50%);top:60px;border:solid var(--ion-color-secondary);width:71px;height:71px}.groupMailIcon[_ngcontent-%COMP%]{position:absolute;left:40px;font-size:14px;bottom:10px}.segment-button-notFocused[_ngcontent-%COMP%]{--indicator-color:none}']}),e})();function PH(e,t){if(1&e){const e=qr();Hr(0,"ion-segment-button",10),Xr("ionChange",function(t){return Lt(e),na(2).setActiveLang(t)}),Hr(1,"ion-label"),Da(2),Hr(3,"ion-badge",11),Da(4),jr(),jr(),jr()}if(2&e){const e=na().$implicit,t=na();Vr("value",t.currentLang),no(2),Ma("",e.key," "),no(2),Oa(t.missingLang[e.key].length)}}function DH(e,t){if(1&e&&(Hr(0,"span"),Fr(1,PH,5,3,"ion-segment-button",9),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","fr"!==e.key)}}function OH(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label",13),Da(2),jr(),Hr(3,"ion-input",14),Xr("ngModelChange",function(e){return t.$implicit.value=e}),jr(),Hr(4,"ion-button",15),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).openTranslation(n.value)}),Ur(5,"ion-icon",16),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(e.id),no(1),Vr("ngModel",e.value)}}function MH(e,t){if(1&e&&(Hr(0,"ion-list",12),Fr(1,OH,6,2,"ion-item",5),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.missingLang[e.currentLang])}}let TH=(()=>{class e{constructor(e,t,n,i){this.http=e,this.notify=t,this.translate=n,this.modalController=i,this.missingLang={},this.currentLang="en",this.data={}}ngOnInit(){this.getLangs()}dismissModal(){this.modalController.dismiss("cancel")}getLangs(){this.http.get("../rest/languages").pipe(Ov(e=>{this.allLang=e.languages,Object.keys(this.allLang).forEach(e=>{this.missingLang[e]=Object.keys(this.allLang.fr.lang).filter(t=>-1===Object.keys(this.allLang[e].lang).indexOf(t)).map(e=>({id:e,value:this.allLang.fr.lang[e]+"__TO_TRANSLATE"}))})}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}openTranslation(e){window.open("https://translate.google.fr/?hl=fr#view=home&op=translate&sl=fr&tl="+this.currentLang+"&text="+e.replace("__TO_TRANSLATE",""),"_blank")}setActiveLang(e){this.currentLang=e.detail.value}generateMissingLang(e){const t={},n=this.allLang[this.currentLang],i=/__TO_TRANSLATE$/g;this.missingLang[this.currentLang].forEach(n=>{null===n.value.match(i)&&e?t[n.id]=n.value:e||(t[n.id]=n.value)}),n.lang=Object.assign(Object.assign({},n.lang),t),this.http.put("../rest/languages",{langId:this.currentLang,jsonContent:n}).pipe(Ov(e=>{Object.keys(t).forEach(e=>{delete this.allLang[this.currentLang][e],this.missingLang[this.currentLang]=this.missingLang[this.currentLang].filter(t=>t.id!==e),this.data.countMissingLang--}),this.modalController.dismiss("cancel")}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA),zr($A),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:22,vars:14,consts:[["translucent",""],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[4,"ngFor","ngForOf"],["lines","full",4,"ngIf"],[3,"translucent"],["size","small","color","primary",3,"click"],[3,"value","ionChange",4,"ngIf"],[3,"value","ionChange"],["color","secondary"],["lines","full"],["position","stacked"],["type","text",3,"ngModel","ngModelChange"],["slot","end","color","primary",3,"click"],["name","language-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header"),Hr(9,"ion-segment"),Fr(10,DH,2,1,"span",5),hc(11,"keyvalue"),jr(),jr(),Hr(12,"ion-content"),Wr(13),Fr(14,MH,2,1,"ion-list",6),Gr(),jr(),Hr(15,"ion-footer",7),Hr(16,"ion-button",8),Xr("click",function(){return t.generateMissingLang(!1)}),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-button",8),Xr("click",function(){return t.generateMissingLang(!0)}),Da(20),hc(21,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,6,"lang.langChecking")),no(7),Vr("ngForOf",pc(11,8,t.allLang)),no(4),Vr("ngIf","en"===t.currentLang),no(1),Vr("translucent",!0),no(2),Oa(pc(18,10,"lang.generateLangVar")),no(3),Oa(pc(21,12,"lang.generateLangVarIgnoreTranslate")))},directives:[Vx,yC,bC,Ax,Cx,Nx,cC,ox,ju,Tx,Wu,Bx,dC,Zx,xx,Qx,Gx,Wx,ax,rm,Rm],pipes:[qA,ch],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding-top:0}.lang-container[_ngcontent-%COMP%] .mat-tab-header{position:-webkit-sticky;position:sticky;top:0;z-index:2}.lang-container[_ngcontent-%COMP%] .mat-tab-label-container{background:#fff}"]}),e})(),IH=(()=>{class e{constructor(e,t,n,i){this.notify=e,this.http=t,this.functionsService=n,this.modalController=i,this.countMissingLang=0}ngOnInit(){this.getLangs()}openLangTool(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:TH,cssClass:"my-custom-class"});yield e.present()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getLangs(){this.http.get("../rest/languages").pipe(Ov(e=>{this.allLang=e.languages,Object.keys(this.allLang).forEach(e=>{this.countMissingLang+=Object.keys(this.allLang.fr.lang).filter(t=>-1===Object.keys(this.allLang[e].lang).indexOf(t)).length})}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(QA),zr(Db),zr(HF),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-dev-tool"]],decls:11,vars:7,consts:[["cdkDrag","","horizontal","end","vertical","top",3,"title"],["color","light"],["name","language-outline"],["side","start"],["color","light",3,"click"],["color","secondary"]],template:function(e,t){1&e&&(Hr(0,"ion-fab",0),hc(1,"translate"),Hr(2,"ion-fab-button",1),Ur(3,"ion-icon",2),jr(),Hr(4,"ion-fab-list",3),Hr(5,"ion-button",4),Xr("click",function(){return t.openLangTool()}),Hr(6,"ion-label"),Da(7),hc(8,"translate"),Hr(9,"ion-badge",5),Da(10),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("title",pc(1,3,"lang.missingLang")),no(7),Ma("",pc(8,5,"lang.missingLang")," "),no(3),Ma(" ",t.countMissingLang,""))},directives:[Rx,OR,Lx,Nx,Fx,Cx,Zx,xx],pipes:[qA],styles:[".devToolListMenu{min-height:auto!important;width:250px}"]}),e})();function RH(e,t){1&e&&Ur(0,"app-sidebar",10)}function LH(e,t){1&e&&Ur(0,"app-dev-tool")}const FH=function(e){return[e]};let BH=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){if(this.translate=e,this.http=t,this.signaturesService=n,this.sanitizer=i,this.cookieService=s,this.notificationService=o,this.dialog=r,this.authService=l,this.menu=c,this.router=d,this.platform=u,this.showLeftContent=!1,this.showRightContent=!1,a.addSvgIcon("maarchLogo",i.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.cookieService.check("maarchParapheurLang")){const t=this.cookieService.get("maarchParapheurLang");e.setDefaultLang(t)}else this.cookieService.set("maarchParapheurLang","fr"),e.setDefaultLang("fr");zd.production||(this.debugMode=!0)}test(){return!0}allowedRoute(){const e=this.router.url.split("?")[0];return-1===["/","/login","/forgot-password","/update-password","/password-modification"].indexOf(e)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(qh),zr(oE),zr(QA),zr(LM),zr(YM),zr(aS),zr(JC),zr(r_),zr(lx))},e.\u0275cmp=$e({type:e,selectors:[["app-root"]],decls:11,vars:5,consts:[["contentId","main-content"],["menuId","left-menu","contentId","main-content","type","overlay","disabled","",1,"left-menu",3,"ionDidOpen","ionDidClose"],["leftMenu",""],["style","display: contents;",4,"ngIf"],["id","leftContent",2,"display","contents"],["id","main-content"],["menuId","right-menu","contentId","main-content","side","end","type","overlay","disabled","",3,"ngClass","ionDidOpen","ionDidClose"],["rightMenu",""],["id","rightContent",2,"display","contents"],[4,"ngIf"],[2,"display","contents"]],template:function(e,t){1&e&&(Hr(0,"ion-app"),Hr(1,"ion-split-pane",0),Hr(2,"ion-menu",1,2),Xr("ionDidOpen",function(){return t.showLeftContent=!0})("ionDidClose",function(){return t.showLeftContent=!1}),Fr(4,RH,1,0,"app-sidebar",3),Ur(5,"div",4),jr(),Ur(6,"ion-router-outlet",5),Hr(7,"ion-menu",6,7),Xr("ionDidOpen",function(){return t.showRightContent=!0})("ionDidClose",function(){return t.showRightContent=!1}),Ur(9,"div",8),jr(),jr(),jr(),Fr(10,LH,1,0,"app-dev-tool",9)),2&e&&(no(4),Vr("ngIf",t.allowedRoute()),no(3),Vr("ngClass",ac(3,FH,t.signaturesService.mobileMode?"right-menu-responsive":"right-menu")),no(3),Vr("ngIf",t.debugMode&&t.authService.isAuth()))},directives:[yx,mC,Kx,Wu,NC,Nu,EH,IH],styles:[".left-menu{--width:350px;--min-width:350px;--max-width:350px}.right-menu{--width:450px;--min-width:450px;--max-width:450px}.right-menu-responsive{--width:89%;--min-width:89%;--max-width:89%}.split-pane-visible>.left-menu{width:350px!important;--max-width:350px!important;--min-width:350px!important}.split-pane-visible>.right-menu{width:450px!important;--max-width:450px!important;--min-width:450px!important}"],encapsulation:2}),e})();var zH,VH,NH;zH=cA.a,NH=void 0,"string"!=typeof(VH="fr-FR")&&(NH=VH,VH=zH[Ua.LocaleId]),VH=VH.toLowerCase().replace(/_/g,"-"),Na[VH]=zH,NH&&(Na[VH][Ua.ExtraData]=NH);let HH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e,bootstrap:[BH]}),e.\u0275inj=fe({providers:[{provide:Mb,useClass:lS,multi:!0},oS,TF,QA,{provide:Qw,useClass:iA},oE,uE],imports:[[ob,rb,Xh,Cf,Wb,aA.forRoot({mode:"md"}),YA.forRoot({loader:{provide:kA,useFactory:UH,deps:[Db]}}),dF,Gk,Qk,mE,iE,LR,nH,Hh]]}),e})();class jH{constructor(e){this.http=e}getTranslation(e){return this.http.get("../rest/languages/"+e)}}function UH(e){return new jH(e)}zd.production&&function(){if(wd)throw new Error("Cannot enable prod mode after platform setup.");yd=!1}(),Zh().bootstrapModule(HH).catch(e=>console.log(e))},meiF:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("1vRN");let s;const o=e=>{if(void 0===s){const t=void 0!==e.style.webkitAnimationName;s=void 0===e.style.animationName&&t?"-webkit-":""}return s},r=(e,t,n)=>{const i=t.startsWith("animation")?o(e):"";e.style.setProperty(i+t,n)},a=(e,t)=>{const n=t.startsWith("animation")?o(e):"";e.style.removeProperty(n+t)},l=[],c=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},d=e=>{let t,n,s,d,u,h,p,g,f,m,b,v,y,w=[],_=[],x=[],C=!1,A={},S=[],k=[],E={},P=0,D=!1,O=!1,M=!0,T=!1,I=!0;const R=e,L=[],F=[],B=[],z=[],V=[],N=[],H=[],j=[],U=[],W=[],G="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,$="function"==typeof Element&&"function"==typeof Element.prototype.animate&&G,q=(e,t)=>((t&&t.oneTimeCallback?F:L).push({c:e,o:t}),y),Y=()=>{if($)W.forEach(e=>{e.cancel()}),W.length=0;else{const e=B.slice();Object(i.q)(()=>{e.forEach(e=>{a(e,"animation-name"),a(e,"animation-duration"),a(e,"animation-timing-function"),a(e,"animation-iteration-count"),a(e,"animation-delay"),a(e,"animation-play-state"),a(e,"animation-fill-mode"),a(e,"animation-direction")})})}},Z=()=>{V.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),V.length=0},Q=()=>void 0!==u?u:p?p.getFill():"both",X=()=>void 0!==f?f:void 0!==h?h:p?p.getDirection():"normal",K=()=>D?"linear":void 0!==s?s:p?p.getEasing():"linear",J=()=>O?0:void 0!==m?m:void 0!==n?n:p?p.getDuration():0,ee=()=>void 0!==d?d:p?p.getIterations():1,te=()=>void 0!==b?b:void 0!==t?t:p?p.getDelay():0,ne=()=>{0!==P&&(P--,0===P&&((()=>{de(),j.forEach(e=>e()),U.forEach(e=>e());const e=M?1:0,t=S,n=k,i=E;B.forEach(e=>{const s=e.classList;t.forEach(e=>s.add(e)),n.forEach(e=>s.remove(e));for(const t in i)i.hasOwnProperty(t)&&r(e,t,i[t])}),L.forEach(t=>t.c(e,y)),F.forEach(t=>t.c(e,y)),F.length=0,I=!0,M&&(T=!0),M=!0})(),p&&p.animationFinish()))},ie=(t=!0)=>{(()=>{N.forEach(e=>e()),H.forEach(e=>e());const e=_,t=x,n=A;B.forEach(i=>{const s=i.classList;e.forEach(e=>s.add(e)),t.forEach(e=>s.remove(e));for(const e in n)n.hasOwnProperty(e)&&r(i,e,n[e])})})(),w.length>0&&($?(B.forEach(e=>{const t=e.animate(w,{id:R,delay:te(),duration:J(),easing:K(),iterations:ee(),fill:Q(),direction:X()});t.pause(),W.push(t)}),W.length>0&&(W[0].onfinish=()=>{ne()})):((t=!0)=>{Z();const n=((s=w).forEach(e=>{for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{const i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();i!==t&&(e[i]=n,delete e[t])}}}),s);var s;B.forEach(s=>{if(n.length>0){const a=((e=[])=>e.map(e=>{const t=e.offset,n=[];for(const i in e)e.hasOwnProperty(i)&&"offset"!==i&&n.push(`${i}: ${e[i]};`);return`${100*t}% { ${n.join(" ")} }`}).join(" "))(n);v=void 0!==e?e:(e=>{let t=l.indexOf(e);return t<0&&(t=l.push(e)-1),"ion-animation-"+t})(a);const c=((e,t,n)=>{const i=(e=>{const t=e.getRootNode();return t.head||t})(n),s=o(n),r=i.querySelector("#"+e);if(r)return r;const a=(n.ownerDocument||document).createElement("style");return a.id=e,a.textContent=`@${s}keyframes ${e} { ${t} } @${s}keyframes ${e}-alt { ${t} }`,i.appendChild(a),a})(v,a,s);V.push(c),r(s,"animation-duration",J()+"ms"),r(s,"animation-timing-function",K()),r(s,"animation-delay",te()+"ms"),r(s,"animation-fill-mode",Q()),r(s,"animation-direction",X());const d=ee()===1/0?"infinite":ee().toString();r(s,"animation-iteration-count",d),r(s,"animation-play-state","paused"),t&&r(s,"animation-name",c.id+"-alt"),Object(i.q)(()=>{r(s,"animation-name",c.id||null)})}})})(t)),C=!0},se=e=>{if(e=Math.min(Math.max(e,0),.9999),$)W.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+J()*e,t.pause()});else{const t=`-${J()*e}ms`;B.forEach(e=>{w.length>0&&(r(e,"animation-delay",t),r(e,"animation-play-state","paused"))})}},oe=e=>{W.forEach(e=>{e.effect.updateTiming({delay:te(),duration:J(),easing:K(),iterations:ee(),fill:Q(),direction:X()})}),void 0!==e&&se(e)},re=(e=!0,t)=>{Object(i.q)(()=>{B.forEach(n=>{r(n,"animation-name",v||null),r(n,"animation-duration",J()+"ms"),r(n,"animation-timing-function",K()),r(n,"animation-delay",void 0!==t?`-${t*J()}ms`:te()+"ms"),r(n,"animation-fill-mode",Q()||null),r(n,"animation-direction",X()||null);const s=ee()===1/0?"infinite":ee().toString();r(n,"animation-iteration-count",s),e&&r(n,"animation-name",v+"-alt"),Object(i.q)(()=>{r(n,"animation-name",v||null)})})})},ae=(e=!1,t=!0,n)=>(e&&z.forEach(i=>{i.update(e,t,n)}),$?oe(n):re(t,n),y),le=()=>{C&&($?W.forEach(e=>{e.pause()}):B.forEach(e=>{r(e,"animation-play-state","paused")}))},ce=()=>{g=void 0,ne()},de=()=>{g&&clearTimeout(g)},ue=e=>new Promise(t=>{e&&e.sync&&(O=!0,q(()=>O=!1,{oneTimeCallback:!0})),C||ie(),T&&($?(se(0),oe()):re(),T=!1),I&&(P=z.length+1,I=!1),q(()=>t(),{oneTimeCallback:!0}),z.forEach(e=>{e.play()}),$?(W.forEach(e=>{e.play()}),0!==w.length&&0!==B.length||ne()):(()=>{if(de(),Object(i.q)(()=>{B.forEach(e=>{w.length>0&&r(e,"animation-play-state","running")})}),0===w.length||0===B.length)ne();else{const e=te()||0,t=J()||0,n=ee()||1;isFinite(n)&&(g=setTimeout(ce,e+t*n+100)),((e,t)=>{let n;const s={passive:!0},o=t=>{e===t.target&&(n&&n(),de(),Object(i.q)(()=>{B.forEach(e=>{a(e,"animation-duration"),a(e,"animation-delay"),a(e,"animation-play-state")}),Object(i.q)(ne)}))};e&&(e.addEventListener("webkitAnimationEnd",o,s),e.addEventListener("animationend",o,s),n=()=>{e.removeEventListener("webkitAnimationEnd",o,s),e.removeEventListener("animationend",o,s)})})(B[0])}})()}),he=(e,t)=>{const n=w[0];return void 0===n||void 0!==n.offset&&0!==n.offset?w=[{offset:0,[e]:t},...w]:n[e]=t,y};return y={parentAnimation:p,elements:B,childAnimations:z,id:R,animationFinish:ne,from:he,to:(e,t)=>{const n=w[w.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?w=[...w,{offset:1,[e]:t}]:n[e]=t,y},fromTo:(e,t,n)=>he(e,t).to(e,n),parent:e=>(p=e,y),play:ue,pause:()=>(z.forEach(e=>{e.pause()}),le(),y),stop:()=>{z.forEach(e=>{e.stop()}),C&&(Y(),C=!1),D=!1,O=!1,I=!0,f=void 0,m=void 0,b=void 0,P=0,T=!1,M=!0},destroy:e=>(z.forEach(t=>{t.destroy(e)}),(e=>{Y(),e&&Z()})(e),B.length=0,z.length=0,w.length=0,L.length=0,F.length=0,C=!1,I=!0,y),keyframes:e=>(w=e,y),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(y),z.push(t);else e.parent(y),z.push(e);return y},addElement:e=>{if(null!=e)if(1===e.nodeType)B.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)B.push(e[t]);else console.error("Invalid addElement value");return y},update:ae,fill:e=>(u=e,ae(!0),y),direction:e=>(h=e,ae(!0),y),iterations:e=>(d=e,ae(!0),y),duration:e=>($||0!==e||(e=1),n=e,ae(!0),y),easing:e=>(s=e,ae(!0),y),delay:e=>(t=e,ae(!0),y),getWebAnimations:()=>W,getKeyframes:()=>w,getFill:Q,getDirection:X,getDelay:te,getIterations:ee,getEasing:K,getDuration:J,afterAddRead:e=>(j.push(e),y),afterAddWrite:e=>(U.push(e),y),afterClearStyles:(e=[])=>{for(const t of e)E[t]="";return y},afterStyles:(e={})=>(E=e,y),afterRemoveClass:e=>(k=c(k,e),y),afterAddClass:e=>(S=c(S,e),y),beforeAddRead:e=>(N.push(e),y),beforeAddWrite:e=>(H.push(e),y),beforeClearStyles:(e=[])=>{for(const t of e)A[t]="";return y},beforeStyles:(e={})=>(A=e,y),beforeRemoveClass:e=>(x=c(x,e),y),beforeAddClass:e=>(_=c(_,e),y),onFinish:q,progressStart:(e=!1,t)=>(z.forEach(n=>{n.progressStart(e,t)}),le(),D=e,C?ae(!1,!0,t):ie(),y),progressStep:e=>(z.forEach(t=>{t.progressStep(e)}),se(e),y),progressEnd:(e,t,n)=>(D=!1,z.forEach(i=>{i.progressEnd(e,t,n)}),void 0!==n&&(m=n),T=!1,M=!0,0===e?(f="reverse"===X()?"normal":"reverse","reverse"===f&&(M=!1),$?(ae(),se(1-t)):(b=(1-t)*J()*-1,ae(!1,!1))):1===e&&($?(ae(),se(t)):(b=t*J()*-1,ae(!1,!1))),void 0!==e&&(q(()=>{m=void 0,f=void 0,b=void 0},{oneTimeCallback:!0}),p||ue()),y)}}},r7QR:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("B4Jq"),s=n("1vRN"),o=n("E/Mt"),r=n("meiF");const a=e=>Object(r.a)().duration(e?400:300),l=e=>{let t,n;const i=e.width+8,s=Object(r.a)(),l=Object(r.a)();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),s.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const c="ios"===Object(o.b)(e),d=c?.2:.25;return l.addElement(e.backdropEl).fromTo("opacity",.01,d),a(c).addAnimation([s,l])},c=e=>{let t,n;const i=Object(o.b)(e),s=e.width;e.isEndSide?(t=-s+"px",n=s+"px"):(t=s+"px",n=-s+"px");const l=Object(r.a)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),d=Object(r.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return a("ios"===i).addAnimation([l,c,d])},d=e=>{const t=Object(o.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return a("ios"===t).addAnimation(i)},u=(()=>{const e=new Map,t=[],n=async e=>(await g(),"start"===e||"end"===e?p(t=>t.side===e&&!t.disabled)||p(t=>t.side===e):null!=e?p(t=>t.menuId===e):p(e=>!e.disabled)||(t.length>0?t[0].el:void 0)),o=async()=>(await g(),u()),r=(t,n)=>{e.set(t,n)},a=e=>{const n=e.side;t.filter(t=>t.side===n&&t!==e).forEach(e=>e.disabled=!0)},u=()=>p(e=>e._isOpen),h=()=>t.some(e=>e.isAnimating),p=e=>{const n=t.find(e);if(void 0!==n)return n.el},g=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>new Promise(t=>Object(s.c)(e,t))));return r("reveal",d),r("push",c),r("overlay",l),"undefined"!=typeof document&&document.addEventListener("ionBackButton",e=>{const t=u();t&&e.detail.register(i.MENU_BACK_BUTTON_PRIORITY,()=>t.close())}),{registerAnimation:r,get:n,getMenus:async()=>(await g(),t.map(e=>e.el)),getOpen:o,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const i=await n(t);return i&&(i.swipeGesture=e),i},isAnimating:async()=>(await g(),h()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await o()},enable:async(e,t)=>{const i=await n(t);return i&&(i.disabled=!e),i},toggle:async e=>{const t=await n(e);return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e):o());return void 0!==t&&t.close()},open:async e=>{const t=await n(e);return!!t&&t.open()},_getOpenSync:u,_createAnimation:(t,n)=>{const i=e.get(t);if(!i)throw new Error("animation not registered");return i(n)},_register:e=>{t.indexOf(e)<0&&(e.disabled||a(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(h())return!1;if(t){const t=await o();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:a}})()},wEJo:function(e,t,n){"use strict";n.d(t,"a",function(){return Ne}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return we}),n.d(t,"f",function(){return Ve}),n.d(t,"g",function(){return te}),n.d(t,"h",function(){return ze}),n.d(t,"i",function(){return P}),n.d(t,"j",function(){return M}),n.d(t,"k",function(){return ee}),n.d(t,"l",function(){return ce}),n.d(t,"m",function(){return _e}),n.d(t,"n",function(){return g}),n.d(t,"o",function(){return Ae}),n.d(t,"p",function(){return E}),n.d(t,"q",function(){return u});let i,s,o,r=!1,a=!1,l=!1,c=!1,d=!1;const u="undefined"!=typeof window?window:{},h=u.CSS,p=u.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},f=(()=>(p.head.attachShadow+"").indexOf("[native")>-1)(),m=e=>Promise.resolve(e),b=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),v=(e,t,n,i)=>{n&&n.map(([n,i,s])=>{const o=w(e,n),r=y(t,s),a=_(n);g.ael(o,i,r,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(o,i,r,a))})},y=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(i){Ee(i)}},w=(e,t)=>4&t?p:8&t?u:16&t?p.body:e,_=e=>0!=(2&e),x="http://www.w3.org/1999/xlink",C=new WeakMap,A=(e,t,n)=>{let i=Oe.get(e);b&&n?(i=i||new CSSStyleSheet,i.replace(t)):i=t,Oe.set(e,i)},S=(e,t,n,i)=>{let s=k(t,n),o=Oe.get(s);if(e=11===e.nodeType?e:p,o)if("string"==typeof o){let n,r=C.get(e=e.head||e);if(r||C.set(e,r=new Set),!r.has(s)){if(e.host&&(n=e.querySelector(`[sty-id="${s}"]`)))n.innerHTML=o;else{if(g.$cssShim$){n=g.$cssShim$.createHostStyle(i,s,o,!!(10&t.$flags$));const e=n["s-sc"];e&&(s=e,r=null)}else n=p.createElement("style"),n.innerHTML=o;e.insertBefore(n,e.querySelector("link"))}r&&r.add(s)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return s},k=(e,t)=>"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),E=e=>Me.push(e),P=e=>Ce(e).$modeName$,D={},O=e=>"object"==(e=typeof e)||"function"===e,M=(e,t,...n)=>{let i=null,s=null,o=null,r=!1,a=!1,l=[];const c=t=>{for(let n=0;n<t.length;n++)i=t[n],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof e&&!O(i))&&(i=String(i)),r&&a?l[l.length-1].$text$+=i:l.push(r?T(null,i):i),a=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,R);const d=T(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),d.$key$=s,d.$name$=o,d},T=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),I={},R={forEach:(e,t)=>e.map(L).forEach(t),map:(e,t)=>e.map(L).map(t).map(F)},L=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),F=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),M(e.vtag,t,...e.vchildren||[])}const t=T(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},B=(e,t,n,i,s,o)=>{if(n!==i){let a=ke(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,s=V(n),o=V(i);t.remove(...s.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)i&&null!=i[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in i)n&&i[t]===n[t]||(t.includes("-")?e.style.setProperty(t,i[t]):e.style[t]=i[t])}else if("key"===t);else if("ref"===t)i&&i(e);else if(a||"o"!==t[0]||"n"!==t[1]){const c=O(i);if((a||c&&null!==i)&&!s)try{if(e.tagName.includes("-"))e[t]=i;else{let s=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(r){}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(d?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!a||4&o||s)&&!c&&(i=!0===i?"":i,d?e.setAttributeNS(x,t,i):e.setAttribute(t,i))}else t="-"===t[2]?t.slice(3):ke(u,l)?l.slice(2):l[2]+t.slice(3),n&&g.rel(e,t,n,!1),i&&g.ael(e,t,i,!1)}},z=/\s/,V=e=>e?e.split(z):[],N=(e,t,n,i)=>{const s=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||D,r=t.$attrs$||D;for(i in o)i in r||B(s,i,o[i],void 0,n,t.$flags$);for(i in r)B(s,i,o[i],r[i],n,t.$flags$)},H=(e,t,n,a)=>{let d,u,h,g=t.$children$[n],f=0;if(r||(l=!0,"slot"===g.$tag$&&(i&&a.classList.add(i+"-s"),g.$flags$|=g.$children$?2:1)),null!==g.$text$)d=g.$elm$=p.createTextNode(g.$text$);else if(1&g.$flags$)d=g.$elm$=p.createTextNode("");else{if(c||(c="svg"===g.$tag$),d=g.$elm$=p.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&g.$flags$?"slot-fb":g.$tag$),c&&"foreignObject"===g.$tag$&&(c=!1),N(null,g,c),null!=i&&d["s-si"]!==i&&d.classList.add(d["s-si"]=i),g.$children$)for(f=0;f<g.$children$.length;++f)u=H(e,g,f,d),u&&d.appendChild(u);"svg"===g.$tag$?c=!1:"foreignObject"===d.tagName&&(c=!0)}return d["s-hn"]=o,3&g.$flags$&&(d["s-sr"]=!0,d["s-cr"]=s,d["s-sn"]=g.$name$||"",h=e&&e.$children$&&e.$children$[n],h&&h.$tag$===g.$tag$&&e.$elm$&&j(e.$elm$,!1)),d},j=(e,t)=>{g.$flags$|=1;const n=e.childNodes;for(let i=n.length-1;i>=0;i--){const e=n[i];e["s-hn"]!==o&&e["s-ol"]&&(q(e).insertBefore(e,$(e)),e["s-ol"].remove(),e["s-ol"]=void 0,l=!0),t&&j(e,t)}g.$flags$&=-2},U=(e,t,n,i,s,r)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===o&&(l=l.shadowRoot);s<=r;++s)i[s]&&(a=H(null,n,s,e),a&&(i[s].$elm$=a,l.insertBefore(a,$(t))))},W=(e,t,n,i,s)=>{for(;t<=n;++t)(i=e[t])&&(s=i.$elm$,J(i),a=!0,s["s-ol"]?s["s-ol"].remove():j(s,!0),s.remove())},G=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),$=e=>e&&e["s-ol"]||e,q=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Y=(e,t)=>{const n=t.$elm$=e.$elm$,i=e.$children$,s=t.$children$,o=t.$tag$,r=t.$text$;let a;null===r?(c="svg"===o||"foreignObject"!==o&&c,"slot"===o||N(e,t,c),null!==i&&null!==s?((e,t,n,i)=>{let s,o,r=0,a=0,l=0,c=0,d=t.length-1,u=t[0],h=t[d],p=i.length-1,g=i[0],f=i[p];for(;r<=d&&a<=p;)if(null==u)u=t[++r];else if(null==h)h=t[--d];else if(null==g)g=i[++a];else if(null==f)f=i[--p];else if(G(u,g))Y(u,g),u=t[++r],g=i[++a];else if(G(h,f))Y(h,f),h=t[--d],f=i[--p];else if(G(u,f))"slot"!==u.$tag$&&"slot"!==f.$tag$||j(u.$elm$.parentNode,!1),Y(u,f),e.insertBefore(u.$elm$,h.$elm$.nextSibling),u=t[++r],f=i[--p];else if(G(h,g))"slot"!==u.$tag$&&"slot"!==f.$tag$||j(h.$elm$.parentNode,!1),Y(h,g),e.insertBefore(h.$elm$,u.$elm$),h=t[--d],g=i[++a];else{for(l=-1,c=r;c<=d;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===g.$key$){l=c;break}l>=0?(o=t[l],o.$tag$!==g.$tag$?s=H(t&&t[a],n,l,e):(Y(o,g),t[l]=void 0,s=o.$elm$),g=i[++a]):(s=H(t&&t[a],n,a,e),g=i[++a]),s&&q(u.$elm$).insertBefore(s,$(u.$elm$))}r>d?U(e,null==i[p+1]?null:i[p+1].$elm$,n,i,a,p):a>p&&W(t,r,d)})(n,i,t,s):null!==s?(null!==e.$text$&&(n.textContent=""),U(n,null,t,s,0,s.length-1)):null!==i&&W(i,0,i.length-1),c&&"svg"===o&&(c=!1)):(a=n["s-cr"])?a.parentNode.textContent=r:e.$text$!==r&&(n.data=r)},Z=e=>{let t,n,i,s,o,r,a=e.childNodes;for(n=0,i=a.length;n<i;n++)if(t=a[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<i;s++)if(r=a[s].nodeType,a[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===r&&o===a[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===r||3===r&&""!==a[s].textContent.trim()){t.hidden=!0;break}Z(t)}},Q=[],X=e=>{let t,n,i,s,o,r,l=0,c=e.childNodes,d=c.length;for(;l<d;l++){if(t=c[l],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(i=n.parentNode.childNodes,s=t["s-sn"],r=i.length-1;r>=0;r--)n=i[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=Q.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||s,o?o.$slotRefNode$=t:Q.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&Q.map(e=>{K(e.$nodeToRelocate$,n["s-sn"])&&(o=Q.find(e=>e.$nodeToRelocate$===n),o&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$))})):Q.some(e=>e.$nodeToRelocate$===n)||Q.push({$nodeToRelocate$:n}));1===t.nodeType&&X(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,J=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(J)},ee=e=>Ce(e).$hostElement$,te=(e,t,n)=>{const i=ee(e);return{emit:e=>ne(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},ne=(e,t,n)=>{const i=g.ce(t,n);return e.dispatchEvent(i),i},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},se=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return ie(e,e.$ancestorComponent$),Ve(()=>oe(e,t));e.$flags$|=512},oe=(e,t)=>{const n=e.$lazyInstance$;let i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>ue(n,e,t)),e.$queuedListeners$=null),i=ue(n,"componentWillLoad")),i=he(i,()=>ue(n,"componentWillRender")),he(i,()=>re(e,n,t))},re=async(e,t,n)=>{const i=e.$hostElement$,s=i["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,s=S(f&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&i&&n.classList.add(s+"-s"))})(e),ae(e,t),g.$cssShim$&&g.$cssShim$.updateHost(i),s&&(s.map(e=>e()),i["s-rc"]=void 0);{const t=i["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},ae=(e,t,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,((e,t)=>{const n=e.$hostElement$,c=e.$cmpMeta$,d=e.$vnode$||T(null,null),u=(h=t)&&h.$tag$===I?t:M(null,null,t);var h;if(o=n.tagName,c.$attrsToReflect$&&(u.$attrs$=u.$attrs$||{},c.$attrsToReflect$.map(([e,t])=>u.$attrs$[t]=n[e])),u.$tag$=null,u.$flags$|=4,e.$vnode$=u,u.$elm$=d.$elm$=n.shadowRoot||n,i=n["s-sc"],s=n["s-cr"],r=f&&0!=(1&c.$flags$),a=!1,Y(d,u),g.$flags$|=1,l){let e,t,n,i,s,o;X(u.$elm$);let r=0;for(;r<Q.length;r++)e=Q[r],t=e.$nodeToRelocate$,t["s-ol"]||(n=p.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<Q.length;r++)if(e=Q[r],t=e.$nodeToRelocate$,e.$slotRefNode$){for(i=e.$slotRefNode$.parentNode,s=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&i===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&i!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),i.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}a&&Z(u.$elm$),g.$flags$&=-2,Q.length=0})(e,t)}catch(c){Ee(c,e.$hostElement$)}return null},le=e=>{const t=e.$hostElement$,n=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?ue(n,"componentDidUpdate"):(e.$flags$|=64,pe(t),ue(n,"componentDidLoad"),e.$onReadyResolve$(t),i||de()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Be(()=>se(e,!1)),e.$flags$&=-517},ce=e=>{{const t=Ce(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&se(t,!1),n}},de=e=>{pe(p.documentElement),Be(()=>ne(u,"appload",{detail:{namespace:"ionic"}}))},ue=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(i){Ee(i)}},he=(e,t)=>e&&e.then?e.then(t):t(),pe=e=>e.classList.add("hydrated"),ge=(e,t,n,i,s,o,r)=>{let a,l,c,d;if(1===o.nodeType){for(a=o.getAttribute("c-id"),a&&(l=a.split("."),l[0]!==r&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),o.removeAttribute("c-id"),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,i&&"0"===c.$depth$&&(i[c.$index$]=c.$elm$))),d=o.childNodes.length-1;d>=0;d--)ge(e,t,n,i,s,o.childNodes[d],r);if(o.shadowRoot)for(d=o.shadowRoot.childNodes.length-1;d>=0;d--)ge(e,t,n,i,s,o.shadowRoot.childNodes[d],r)}else if(8===o.nodeType)l=o.nodeValue.split("."),l[1]!==r&&"0"!==l[1]||(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(c.$elm$=o.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),o.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,i&&"0"===c.$depth$&&(i[c.$index$]=c.$elm$))):c.$hostId$===r&&("s"===a?(c.$tag$="slot",o["s-sn"]=l[5]?c.$name$=l[5]:"",o["s-sr"]=!0,i&&(c.$elm$=p.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),o.parentNode.insertBefore(c.$elm$,o),o.remove(),"0"===c.$depth$&&(i[c.$index$]=c.$elm$)),n.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):"r"===a&&(i?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=T(null,o.textContent);t.$elm$=o,t.$index$="0",e.$children$=[t]}},fe=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)fe(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)fe(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},me=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),s=e.prototype;if(i.map(([e,[i]])=>{31&i||2&n&&32&i?Object.defineProperty(s,e,{get(){return t=e,Ce(this).$instanceValues$.get(t);var t},set(n){((e,t,n,i)=>{const s=Ce(this),o=s.$hostElement$,r=s.$instanceValues$.get(t),a=s.$flags$,l=s.$lazyInstance$;var c,d;if(d=i.$members$[t][0],n=null==(c=n)||O(c)?c:4&d?"false"!==c&&(""===c||!!c):2&d?parseFloat(c):1&d?String(c):c,!(8&a&&void 0!==r||n===r)&&(s.$instanceValues$.set(t,n),l)){if(i.$watchers$&&128&a){const e=i.$watchers$[t];e&&e.map(e=>{try{l[e](n,r,t)}catch(i){Ee(i,o)}})}2==(18&a)&&se(s,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&i&&Object.defineProperty(s,e,{value(...t){const n=Ce(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,i){g.jmp(()=>{const t=n.get(e);this[t]=(null!==i||"boolean"!=typeof this[t])&&i})},e.observedAttributes=i.filter(([e,t])=>15&t[0]).map(([e,i])=>{const s=i[1]||e;return n.set(s,e),512&i[0]&&t.$attrsToReflect$.push([e,s]),s})}}return e},be=e=>{ue(e,"connectedCallback")},ve=e=>{if(0==(1&g.$flags$)){const t=Ce(e),i=t.$cmpMeta$,s=()=>{};if(1&t.$flags$)v(e,t,i.$listeners$),be(t.$lazyInstance$);else{let s;if(t.$flags$|=1,s=e.getAttribute("s-id"),s){if(f&&1&i.$flags$){const t=S(e.shadowRoot,i,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,i)=>{const s=e.shadowRoot,o=[],r=s?[]:null,a=i.$vnode$=T(t,null);g.$orgLocNodes$||fe(p.body,g.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),ge(a,o,[],r,e,e,n),o.map(e=>{const n=e.$hostId$+"."+e.$nodeId$,i=g.$orgLocNodes$.get(n),o=e.$elm$;i&&f&&""===i["s-en"]&&i.parentNode.insertBefore(o,i.nextSibling),s||(o["s-hn"]=t,i&&(o["s-ol"]=i,o["s-ol"]["s-nr"]=o)),g.$orgLocNodes$.delete(n)}),s&&r.map(e=>{e&&s.appendChild(e)})})(e,i.$tagName$,s,t)}s||12&i.$flags$&&ye(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ie(t,t.$ancestorComponent$=n);break}}i.$members$&&Object.entries(i.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Be(()=>(async(e,t,i,s,o)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(o=De(i)).then){const e=()=>{};o=await o,e()}o.isProxied||(i.$watchers$=o.watchers,me(o,i,2),o.isProxied=!0);const e=()=>{};t.$flags$|=8;try{new o(t)}catch(l){Ee(l)}t.$flags$&=-9,t.$flags$|=128,e(),be(t.$lazyInstance$)}if(o.style){let s=o.style;"string"!=typeof s&&(s=s[t.$modeName$=(e=>Me.map(t=>t(e)).find(e=>!!e))(e)]);const r=k(i,t.$modeName$);if(!Oe.has(r)){const e=()=>{};8&i.$flags$&&(s=await n.e(56).then(n.bind(null,"JmUR")).then(e=>e.scopeCss(s,r,!1))),A(r,s,!!(1&i.$flags$)),e()}}}const r=t.$ancestorComponent$,a=()=>se(t,!0);r&&r["s-rc"]?r["s-rc"].push(a):a()})(e,t,i))}s()}},ye=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},we=(e,t={})=>{const n=[],i=t.exclude||[],s=u.customElements,o=p.head,r=o.querySelector("meta[charset]"),a=p.createElement("style"),l=[],c=p.querySelectorAll("[sty-id]");let d,h=!0,m=0;for(Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,g.$flags$|=2;m<c.length;m++)A(c[m].getAttribute("sty-id"),c[m].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);e.map(e=>e[1].map(t=>{const o={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};o.$members$=t[2],o.$listeners$=t[3],o.$attrsToReflect$=[],o.$watchers$={},!f&&1&o.$flags$&&(o.$flags$|=8);const r=o.$tagName$,a=class extends HTMLElement{constructor(e){super(e),Se(e=this,o),1&o.$flags$&&(f?e.attachShadow({mode:"open",delegatesFocus:!!(16&o.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){d&&(clearTimeout(d),d=null),h?l.push(this):g.jmp(()=>ve(this))}disconnectedCallback(){g.jmp(()=>(e=>{if(0==(1&g.$flags$)){const t=Ce(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),g.$cssShim$&&g.$cssShim$.removeHost(e),ue(n,"disconnectedCallback")}})(this))}componentOnReady(){return Ce(this).$onReadyPromise$}};o.$lazyBundleId$=e[0],i.includes(r)||s.get(r)||(n.push(r),s.define(r,me(a,o,1)))})),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),o.insertBefore(a,r?r.nextSibling:o.firstChild),h=!1,l.length?l.map(e=>e.connectedCallback()):g.jmp(()=>d=setTimeout(de,30))},_e=e=>{const t=new URL(e,g.$resourcesUrl$);return t.origin!==u.location.origin?t.href:t.pathname},xe=new WeakMap,Ce=e=>xe.get(e),Ae=(e,t)=>xe.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.$listeners$),xe.set(e,n)},ke=(e,t)=>t in e,Ee=(e,t)=>(0,console.error)(e,t),Pe=new Map,De=(e,t,i)=>{const s=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,r=Pe.get(o);return r?r[s]:n("kLfG")(`./${o}.entry.js`).then(e=>(Pe.set(o,e),e[s]),Ee)},Oe=new Map,Me=[],Te=[],Ie=[],Re=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&g.$flags$?Be(Fe):g.raf(Fe))},Le=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Ee(t)}e.length=0},Fe=()=>{Le(Te),Le(Ie),(d=Te.length>0)&&g.raf(Fe)},Be=e=>m().then(e),ze=Re(Te,!1),Ve=Re(Ie,!0),Ne={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},y08P:function(e,t,n){"use strict";n.d(t,"a",function(){return o});class i{constructor(e,t,n,i,s){this.id=t,this.name=n,this.disableScroll=s,this.priority=1e6*i+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class s{constructor(e,t,n,i){this.id=t,this.disable=n,this.disableScroll=i,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const o=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){return new i(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}createBlocker(e={}){return new s(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const i=this.requestedStart;let s=-1e4;if(i.forEach(e=>{s=Math.max(s,e)}),s===n){this.capturedId=t,i.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return i.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}}},[[0,1]]]); \ No newline at end of file diff --git a/dist/main-es2015.f77be352cb838ac57804.js b/dist/main-es2015.f77be352cb838ac57804.js new file mode 100644 index 0000000000..72b1157634 --- /dev/null +++ b/dist/main-es2015.f77be352cb838ac57804.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{0:function(e,t,n){e.exports=n("m9/o")},"1vRN":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return d}),n.d(t,"i",function(){return s}),n.d(t,"j",function(){return p}),n.d(t,"k",function(){return c}),n.d(t,"l",function(){return g}),n.d(t,"m",function(){return b}),n.d(t,"n",function(){return y}),n.d(t,"o",function(){return f}),n.d(t,"p",function(){return m}),n.d(t,"q",function(){return l});const i=(e,t)=>{e.componentOnReady?e.componentOnReady().then(e=>t(e)):l(()=>t(e))},s=(e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},o=(e,t,n,i)=>{if("undefined"!=typeof window){const s=window,o=s&&s.Ionic&&s.Ionic.config;if(o){const s=o.get("_ael");if(s)return s(e,t,n,i);if(o._ael)return o._ael(e,t,n,i)}}return e.addEventListener(t,n,i)},r=(e,t,n,i)=>{if("undefined"!=typeof window){const s=window,o=s&&s.Ionic&&s.Ionic.config;if(o){const s=o.get("_rel");if(s)return s(e,t,n,i);if(o._rel)return o._rel(e,t,n,i)}}return e.removeEventListener(t,n,i)},a=(e,t=e)=>e.shadowRoot||t,l=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),c=e=>!!e.shadowRoot&&!!e.attachShadow,d=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},u=(e,t)=>{let n;const i=e.getAttribute("aria-labelledby"),s=e.id;let o=null!==i&&""!==i.trim()?i:t+"-lbl",r=null!==i&&""!==i.trim()?document.getElementById(i):d(e);return r?(null===i&&(r.id=o),n=r.textContent,r.setAttribute("aria-hidden","true")):""!==s.trim()&&(r=document.querySelector(`label[for="${s}"]`),r&&(""!==r.id?o=r.id:r.id=o=s+"-lbl",n=r.textContent)),{label:r,labelId:o,labelText:n}},h=(e,t,n,i,s)=>{if(e||c(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=s,e.name=n,e.value=i||""}},p=(e,t,n)=>Math.max(e,Math.min(t,n)),g=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},f=e=>e.timeStamp||Date.now(),m=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},b=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},v=(e,t)=>{const n=e._original||e;return{_original:e,emit:y(n.emit.bind(n),t)}},y=(e,t=0)=>{let n;return(...i)=>{clearTimeout(n),n=setTimeout(e,t,...i)}}},"39oe":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>{try{if(e instanceof class{constructor(e){this.value=e}})return e.value;if(!r()||"string"!=typeof e||""===e)return e;const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(e=>{const n=t.querySelectorAll(e);for(let i=n.length-1;i>=0;i--){const e=n[i];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const r=o(e);for(let t=0;t<r.length;t++)s(r[t])}});const i=o(t);for(let e=0;e<i.length;e++)s(i[e]);const a=document.createElement("div");a.appendChild(t);const c=a.querySelector("div");return null!==c?c.innerHTML:a.innerHTML}catch(t){return console.error(t),""}},s=e=>{if(e.nodeType&&1!==e.nodeType)return;for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),i=t.name;if(!a.includes(i.toLowerCase())){e.removeAttribute(i);continue}const s=t.value;null!=s&&s.toLowerCase().includes("javascript:")&&e.removeAttribute(i)}const t=o(e);for(let n=0;n<t.length;n++)s(t[n])},o=e=>null!=e.children?e.children:e.childNodes,r=()=>{const e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},a=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},"7OTs":function(e,t,n){"use strict";n.d(t,"a",function(){return I}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return C}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return S}),n.d(t,"h",function(){return P}),n.d(t,"i",function(){return a}),n.d(t,"j",function(){return O}),n.d(t,"k",function(){return u}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return p}),n.d(t,"n",function(){return T}),n.d(t,"o",function(){return f});var i=n("E/Mt"),s=n("B4Jq"),o=n("1vRN");let r=0;const a=new WeakMap,l=e=>({create:t=>b(e,t),dismiss:(t,n,i)=>_(document,t,n,e,i),getTop:async()=>x(document,e)}),c=l("ion-alert"),d=l("ion-action-sheet"),u=l("ion-loading"),h=l("ion-modal"),p=l("ion-picker"),g=l("ion-popover"),f=l("ion-toast"),m=e=>{"undefined"!=typeof document&&w(document);const t=r++;e.overlayIndex=t,e.hasAttribute("id")||(e.id="ion-overlay-"+t)},b=(e,t)=>"undefined"!=typeof customElements?customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),k(document).appendChild(n),new Promise(e=>Object(o.c)(n,e))}):Promise.resolve(),v='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',y="input:not([type=hidden]), textarea, button, select",w=e=>{0===r&&(r=1,e.addEventListener("focus",t=>((e,t)=>{const n=x(t),i=e.target;if(n&&i)if(n===i)n.lastFocus=void 0;else{const e=Object(o.g)(n);if(!e.contains(i))return;const s=e.querySelector(".ion-overlay-wrapper");if(!s)return;if(s.contains(i))n.lastFocus=i;else{const e=n.lastFocus;((e,t)=>{let n=e.querySelector(v);const i=n&&n.shadowRoot;i&&(n=i.querySelector(y)||n),n?n.focus():t.focus()})(s,n),e===t.activeElement&&((e,t)=>{const n=Array.from(e.querySelectorAll(v));let i=n.length>0?n[n.length-1]:null;const s=i&&i.shadowRoot;s&&(i=s.querySelector(y)||i),i?i.focus():t.focus()})(s,n),n.lastFocus=t.activeElement}}})(t,e),!0),e.addEventListener("ionBackButton",t=>{const n=x(e);n&&n.backdropDismiss&&t.detail.register(s.OVERLAY_BACK_BUTTON_PRIORITY,()=>n.dismiss(void 0,I))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=x(e);t&&t.backdropDismiss&&t.dismiss(void 0,I)}}))},_=(e,t,n,i,s)=>{const o=x(e,i,s);return o?o.dismiss(t,n):Promise.reject("overlay does not exist")},x=(e,t,n)=>{const i=((e,t)=>(void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(e=>e.overlayIndex>0)))(e,t);return void 0===n?i[i.length-1]:i.find(e=>e.id===n)},C=async(e,t,n,s,o)=>{if(e.presented)return;e.presented=!0,e.willPresent.emit();const r=Object(i.b)(e),a=e.enterAnimation?e.enterAnimation:i.c.get(t,"ios"===r?n:s);await E(e,a,e.el,o)&&e.didPresent.emit(),"ION-TOAST"!==e.el.tagName&&A(e.el),e.keyboardClose&&e.el.focus()},A=async e=>{let t=document.activeElement;if(!t)return;const n=t&&t.shadowRoot;n&&(t=n.querySelector(y)||t),await e.onDidDismiss(),t.focus()},S=async(e,t,n,s,o,r,l)=>{if(!e.presented)return!1;e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n});const c=Object(i.b)(e),d=e.leaveAnimation?e.leaveAnimation:i.c.get(s,"ios"===c?o:r);"gesture"!==n&&await E(e,d,e.el,l),e.didDismiss.emit({data:t,role:n}),a.delete(e)}catch(c){console.error(c)}return e.el.remove(),!0},k=e=>e.querySelector("ion-app")||e.body,E=async(e,t,n,s)=>{n.classList.remove("overlay-hidden");const o=t(n.shadowRoot||e.el,s);e.animated&&i.c.getBoolean("animated",!0)||o.duration(0),e.keyboardClose&&o.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const r=a.get(e)||[];return a.set(e,[...r,o]),await o.play(),!0},P=(e,t)=>{let n;const i=new Promise(e=>n=e);return D(e,t,e=>{n(e.detail)}),i},D=(e,t,n)=>{const i=s=>{Object(o.b)(e,t,i),n(s)};Object(o.a)(e,t,i)},O=e=>"cancel"===e||e===I,M=e=>e(),T=(e,t)=>{if("function"==typeof e)return i.c.get("_zoneGate",M)(()=>{try{return e(t)}catch(n){console.error(n)}})},I="backdrop"},B4Jq:function(e,t,n){"use strict";n.r(t),n.d(t,"MENU_BACK_BUTTON_PRIORITY",function(){return r}),n.d(t,"OVERLAY_BACK_BUTTON_PRIORITY",function(){return o}),n.d(t,"blockHardwareBackButton",function(){return i}),n.d(t,"startHardwareBackButton",function(){return s});const i=()=>{document.addEventListener("backbutton",()=>{})},s=()=>{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,i=[];const s=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){i.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(s);const o=()=>{if(i.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};i.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,i=i.filter(t=>t.id!==e.id),(async e=>{try{if(e&&e.handler){const t=e.handler(o);null!=t&&await t}}catch(t){console.error(t)}})(e).then(()=>t=!1)}};o()})},o=100,r=99},"E/Mt":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return _});var i=n("wEJo");const s=e=>r(e),o=(e,t)=>("string"==typeof e&&(t=e,e=void 0),s(e).includes(t)),r=(e=window)=>{if(void 0===e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=a(e),t.forEach(t=>e.document.documentElement.classList.add("plt-"+t))),t},a=e=>Object.keys(m).filter(t=>m[t](e)),l=e=>!!g(e,/iPad/i)||!(!g(e,/Macintosh/i)||!d(e)),c=e=>g(e,/android|sink/i),d=e=>f(e,"(any-pointer:coarse)"),u=e=>h(e)||p(e),h=e=>!!(e.cordova||e.phonegap||e.PhoneGap),p=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},g=(e,t)=>t.test(e.navigator.userAgent),f=(e,t)=>e.matchMedia(t).matches,m={ipad:l,iphone:e=>g(e,/iPhone/i),ios:e=>g(e,/iPhone|iPod/i)||l(e),android:c,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),s=Math.max(t,n);return i>390&&i<520&&s>620&&s<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),s=Math.max(t,n);return l(e)||(e=>c(e)&&!g(e,/mobile/i))(e)||i>460&&i<820&&s>780&&s<1400},cordova:h,capacitor:p,electron:e=>g(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:d,mobileweb:e=>d(e)&&!u(e),desktop:e=>!d(e),hybrid:u};class b{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}}const v=new b;let y;const w=e=>e&&Object(i.i)(e)||y,_=(e={})=>{if("undefined"==typeof window)return;const t=window.document,n=window,s=n.Ionic=n.Ionic||{};r(n);const a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem("ionic-persist-config");return null!==t?JSON.parse(t):{}}catch(t){return{}}})(n)),{persistConfig:!1}),s.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>"ionic:"===e.substr(0,"ionic:".length)).map(([e,t])=>[e.slice("ionic:".length),t]).forEach(([e,n])=>{t[e]=n}),t})(n)),e);v.reset(a),v.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem("ionic-persist-config",JSON.stringify(t))}catch(n){return}})(n,a),s.config=v,s.mode=y=v.get("mode",t.documentElement.getAttribute("mode")||(o(n,"ios")?"ios":"md")),v.set("mode",y),t.documentElement.setAttribute("mode",y),t.documentElement.classList.add(y),v.getBoolean("_testing")&&v.set("animated",!1);const l=e=>e.tagName&&e.tagName.startsWith("ION-"),c=e=>["ios","md"].includes(e);Object(i.p)(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;l(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return y})}},Hfs6:function(e,t,n){var i,s,o;!function(r){if("object"==typeof e.exports){var a=r(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(o="function"==typeof(i=r)?i.apply(t,s):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},MYvV: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="MYvV"},RQGG:function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",function(){return o});var i=n("meiF"),s=n("k4ps");n("1vRN"),n("wEJo");const o=(e,t)=>{const n="back"===t.direction,o=t.enteringEl,r=t.leavingEl,a=Object(s.g)(o),l=a.querySelector("ion-toolbar"),c=Object(i.a)();if(c.addElement(a).fill("both").beforeRemoveClass("ion-page-invisible"),n?c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):c.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){const e=Object(i.a)();e.addElement(l),c.addAnimation(e)}if(r&&n){c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=Object(i.a)();e.addElement(Object(s.g)(r)).onFinish(t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),c.addAnimation(e)}return c}},b0Xh:function(e,t,i){var s;(function(){var i=function(e){return e instanceof i?e:this instanceof i?void(this.EXIFwrapped=e):new i(e)};e.exports&&(t=e.exports=i),t.EXIF=i;var o=i.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},r=i.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},a=i.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=i.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},c=i.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function d(e){return!!e.exifdata}function u(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return b(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var h={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function p(e,t,n){for(var i,s,o,r,a=new DataView(e),l={},c=t;c<t+n;)28===a.getUint8(c)&&2===a.getUint8(c+1)&&(r=a.getUint8(c+2))in h&&(o=a.getInt16(c+3),s=h[r],i=m(a,c+5,o),l.hasOwnProperty(s)?l[s]instanceof Array?l[s].push(i):l[s]=[l[s],i]:l[s]=i),c++;return l}function g(e,t,n,i,s){var o,r,a=e.getUint16(n,!s),l={};for(r=0;r<a;r++)l[i[e.getUint16(o=n+12*r+2,!s)]]=f(e,o,t,0,s);return l}function f(e,t,n,i,s){var o,r,a,l,c,d,u=e.getUint16(t+2,!s),h=e.getUint32(t+4,!s),p=e.getUint32(t+8,!s)+n;switch(u){case 1:case 7:if(1==h)return e.getUint8(t+8,!s);for(o=h>4?p:t+8,r=[],l=0;l<h;l++)r[l]=e.getUint8(o+l);return r;case 2:return m(e,o=h>4?p:t+8,h-1);case 3:if(1==h)return e.getUint16(t+8,!s);for(o=h>2?p:t+8,r=[],l=0;l<h;l++)r[l]=e.getUint16(o+2*l,!s);return r;case 4:if(1==h)return e.getUint32(t+8,!s);for(r=[],l=0;l<h;l++)r[l]=e.getUint32(p+4*l,!s);return r;case 5:if(1==h)return c=e.getUint32(p,!s),d=e.getUint32(p+4,!s),(a=new Number(c/d)).numerator=c,a.denominator=d,a;for(r=[],l=0;l<h;l++)c=e.getUint32(p+8*l,!s),d=e.getUint32(p+4+8*l,!s),r[l]=new Number(c/d),r[l].numerator=c,r[l].denominator=d;return r;case 9:if(1==h)return e.getInt32(t+8,!s);for(r=[],l=0;l<h;l++)r[l]=e.getInt32(p+4*l,!s);return r;case 10:if(1==h)return e.getInt32(p,!s)/e.getInt32(p+4,!s);for(r=[],l=0;l<h;l++)r[l]=e.getInt32(p+8*l,!s)/e.getInt32(p+4+8*l,!s);return r}}function m(e,t,i){var s="";for(n=t;n<t+i;n++)s+=String.fromCharCode(e.getUint8(n));return s}function b(e,t){if("Exif"!=m(e,t,4))return!1;var n,i,s,d,u,h=t+6;if(18761==e.getUint16(h))n=!1;else{if(19789!=e.getUint16(h))return!1;n=!0}if(42!=e.getUint16(h+2,!n))return!1;var p=e.getUint32(h+4,!n);if(p<8)return!1;if((i=g(e,h,h+p,r,n)).ExifIFDPointer)for(s in d=g(e,h,h+i.ExifIFDPointer,o,n)){switch(s){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":d[s]=c[s][d[s]];break;case"ExifVersion":case"FlashpixVersion":d[s]=String.fromCharCode(d[s][0],d[s][1],d[s][2],d[s][3]);break;case"ComponentsConfiguration":d[s]=c.Components[d[s][0]]+c.Components[d[s][1]]+c.Components[d[s][2]]+c.Components[d[s][3]]}i[s]=d[s]}if(i.GPSInfoIFDPointer)for(s in u=g(e,h,h+i.GPSInfoIFDPointer,a,n)){switch(s){case"GPSVersionID":u[s]=u[s][0]+"."+u[s][1]+"."+u[s][2]+"."+u[s][3]}i[s]=u[s]}return i.thumbnail=function(e,t,n,i){var s=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!s)return{};if(s>e.byteLength)return{};var o=g(e,t,t+s,l,i);if(o.Compression)switch(o.Compression){case 6:o.JpegIFOffset&&o.JpegIFByteCount&&(o.blob=new Blob([new Uint8Array(e.buffer,t+o.JpegIFOffset,o.JpegIFByteCount)],{type:"image/jpeg"}));break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,h,p,n),i}function v(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var s=0;s<e.childNodes.length;s++){var o=e.childNodes.item(s),r=o.nodeName;if(null==t[r])t[r]=v(o);else{if(null==t[r].push){var a=t[r];t[r]=[],t[r].push(a)}t[r].push(v(o))}}return t}function y(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),s=i.attributes;for(var o in s){var r=s[o],a=r.nodeName;void 0!==a&&(t[a]=r.nodeValue)}var l=i.nodeName;if(void 0===t[l])t[l]=v(i);else{if(void 0===t[l].push){var c=t[l];t[l]=[],t[l].push(c)}t[l].push(v(i))}}else t=e.textContent;return t}catch(d){console.log(d.message)}}i.enableXmp=function(){i.isXmpEnabled=!0},i.disableXmp=function(){i.isXmpEnabled=!1},i.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(d(e)?t&&t.call(e):function(e,t){function n(n){var s=u(n);e.exifdata=s||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,s=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(s(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),p(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},i.isXmpEnabled){var r=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,s=new DOMParser;n<i-4;){if("http"==m(t,n,4)){var o=n-1,r=t.getUint16(n-2)-1,a=m(t,o,r),l=a.indexOf("xmpmeta>")+8,c=(a=a.substring(a.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return a=a.slice(0,c)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+a.slice(c),y(s.parseFromString(a,"text/xml"))}n++}}}(n);e.xmpdata=r||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,s=new ArrayBuffer(i),o=new Uint8Array(s),r=0;r<i;r++)o[r]=n.charCodeAt(r);return s}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){200!=this.status&&0!==this.status||o.readAsArrayBuffer(this.response)},n.send()}(e.src);else{var s=new XMLHttpRequest;s.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(s.response),s=null},s.open("GET",e.src,!0),s.responseType="arraybuffer",s.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}(e,t),0))},i.getTag=function(e,t){if(d(e))return e.exifdata[t]},i.getIptcTag=function(e,t){if(d(e))return e.iptcdata[t]},i.getAllTags=function(e){if(!d(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.getAllIptcTags=function(e){if(!d(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.pretty=function(e){if(!d(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&(i+="object"==typeof n[t]?n[t]instanceof Number?t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":t+" : ["+n[t].length+" values]\r\n":t+" : "+n[t]+"\r\n");return i},i.readFromBinaryFile=function(e){return u(e)},void 0===(s=(function(){return i}).apply(t,[]))||(e.exports=s)}).call(this)},bC4P:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(e,t,n,i,r)=>o(e[1],t[1],n[1],i[1],r).map(o=>s(e[0],t[0],n[0],i[0],o)),s=(e,t,n,i,s)=>s*(3*t*Math.pow(s-1,2)+s*(-3*n*s+3*n+i*s))-e*Math.pow(s-1,3),o=(e,t,n,i,s)=>r((i-=s)-3*(n-=s)+3*(t-=s)-(e-=s),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),r=(e,t,n,i)=>{if(0===e)return((e,t,n)=>{const i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]})(t,n,i);const s=(3*(n/=e)-(t/=e)*t)/3,o=(2*t*t*t-9*t*n+27*(i/=e))/27;if(0===s)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-s),-Math.sqrt(-s)];const r=Math.pow(o/2,2)+Math.pow(s/3,3);if(0===r)return[Math.pow(o/2,.5)-t/3];if(r>0)return[Math.pow(-o/2+Math.sqrt(r),1/3)-Math.pow(o/2+Math.sqrt(r),1/3)-t/3];const a=Math.sqrt(Math.pow(-s/3,3)),l=Math.acos(-o/(2*Math.sqrt(Math.pow(-s/3,3)))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]}},iWo5:function(e,t,n){"use strict";n.r(t),n.d(t,"createGesture",function(){return l});var i=n("y08P");n.d(t,"GESTURE_CONTROLLER",function(){return i.a});const s=(e,t,n,i)=>{const s=o(e)?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;let r,a;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(r="addEventListener",a="removeEventListener"),e[r](t,n,s),()=>{e[a](t,n,s)}},o=e=>{if(void 0===r)try{const t=Object.defineProperty({},"passive",{get:()=>{r=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){r=!1}return!!r};let r;const a=e=>e instanceof Document?e:e.ownerDocument,l=e=>{let t=!1,n=!1,o=!0,r=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),h=l.canStart,p=l.onWillStart,g=l.onStart,f=l.onEnd,m=l.notCaptured,b=l.onMove,v=l.threshold,y=l.passive,w=l.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((e,t,n)=>{const i=n*(Math.PI/180),s="x"===e,o=Math.cos(i),r=t*t;let a=0,l=0,c=!1,d=0;return{start(e,t){a=e,l=t,d=0,c=!0},detect(e,t){if(!c)return!1;const n=e-a,i=t-l,u=n*n+i*i;if(u<r)return!1;const h=Math.sqrt(u),p=(s?n:i)/h;return d=p>o?1:p<-o?-1:0,c=!1,!0},isGesture:()=>0!==d,getDirection:()=>d}})(l.direction,l.threshold,l.maxAngle),C=i.a.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),A=()=>{t&&(r=!1,b&&b(_))},S=()=>!(C&&!C.capture()||(t=!0,o=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,p?p(_).then(k):k(),0)),k=()=>{w&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;null!==e&&e.blur&&e.blur()}})(),g&&g(_),o=!0},E=()=>{t=!1,n=!1,r=!1,o=!0,C.release()},P=e=>{const n=t,i=o;E(),i&&(c(_,e),n?f&&f(_):m&&m(_))},D=((e,t,n,i,o)=>{let r,l,c,d,u,h,p,g=0;const f=i=>{g=Date.now()+2e3,t(i)&&(!l&&n&&(l=s(e,"touchmove",n,o)),c||(c=s(e,"touchend",b,o)),d||(d=s(e,"touchcancel",b,o)))},m=i=>{g>Date.now()||t(i)&&(!h&&n&&(h=s(a(e),"mousemove",n,o)),p||(p=s(a(e),"mouseup",v,o)))},b=e=>{y(),i&&i(e)},v=e=>{w(),i&&i(e)},y=()=>{l&&l(),c&&c(),d&&d(),l=c=d=void 0},w=()=>{h&&h(),p&&p(),h=p=void 0},_=()=>{y(),w()},x=(t=!0)=>{t?(r||(r=s(e,"touchstart",f,o)),u||(u=s(e,"mousedown",m,o))):(r&&r(),u&&u(),r=u=void 0,_())};return{enable:x,stop:_,destroy:()=>{x(!1),i=n=t=void 0}}})(l.el,e=>{const t=u(e);return!(n||!o)&&(d(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!h||!1!==h(_))&&(C.release(),!!C.start()&&(n=!0,0===v?S():(x.start(_.startX,_.startY),!0))))},e=>{t?!r&&o&&(r=!0,c(_,e),requestAnimationFrame(A)):(c(_,e),x.detect(_.currentX,_.currentY)&&(x.isGesture()&&S()||O()))},P,{capture:!1,passive:y}),O=()=>{E(),D.stop(),m&&m(_)};return{enable(e=!0){e||(t&&P(void 0),E()),D.enable(e)},destroy(){C.destroy(),D.destroy()}}},c=(e,t)=>{if(!t)return;const n=e.currentX,i=e.currentY,s=e.currentTime;d(t,e);const o=e.currentX,r=e.currentY,a=(e.currentTime=u(t))-s;if(a>0&&a<100){const t=(r-i)/a;e.velocityX=(o-n)/a*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=o-e.startX,e.deltaY=r-e.startY,e.event=t},d=(e,t)=>{let n=0,i=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,i=e.clientY}else void 0!==e.pageX&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},u=e=>e.timeStamp||Date.now()},k4ps:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return A}),n.d(t,"g",function(){return E}),n.d(t,"h",function(){return x}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return d});var i=n("wEJo"),s=n("1vRN");const o="ionViewWillEnter",r="ionViewDidEnter",a="ionViewWillLeave",l="ionViewDidLeave",c="ionViewWillUnload",d=e=>new Promise((t,n)=>{Object(i.f)(()=>{u(e),h(e).then(n=>{n.animation&&n.animation.destroy(),p(e),t(n)},t=>{p(e),n(t)})})}),u=e=>{const t=e.enteringEl,n=e.leavingEl;k(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),S(t,!1),n&&S(n,!1)},h=async e=>{const t=await g(e);return t&&i.a.isBrowser?f(t,e):m(e)},p=e=>{const t=e.leavingEl;e.enteringEl.classList.remove("ion-page-invisible"),void 0!==t&&t.classList.remove("ion-page-invisible")},g=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await Promise.resolve().then(n.bind(null,"lTIg"))).iosTransitionAnimation:(await Promise.resolve().then(n.bind(null,"RQGG"))).mdTransitionAnimation},f=async(e,t)=>{await b(t,!0);const n=e(t.baseEl,t);w(t.enteringEl,t.leavingEl);const i=await y(n,t);return t.progressCallback&&t.progressCallback(void 0),i&&_(t.enteringEl,t.leavingEl),{hasCompleted:i,animation:n}},m=async e=>{const t=e.enteringEl,n=e.leavingEl;return await b(e,!1),w(t,n),_(t,n),{hasCompleted:!0}},b=async(e,t)=>{const n=(void 0!==e.deepWait?e.deepWait:t)?[A(e.enteringEl),A(e.leavingEl)]:[C(e.enteringEl),C(e.leavingEl)];await Promise.all(n),await v(e.viewIsReady,e.enteringEl)},v=async(e,t)=>{e&&await e(t)},y=(e,t)=>{const n=t.progressCallback,i=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),i},w=(e,t)=>{x(t,a),x(e,o)},_=(e,t)=>{x(e,r),x(t,l)},x=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},C=e=>e?new Promise(t=>Object(s.c)(e,t)):Promise.resolve(),A=async e=>{const t=e;if(t){if(null!=t.componentOnReady&&null!=await t.componentOnReady())return;await Promise.all(Array.from(t.children).map(A))}},S=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},k=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},E=e=>e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e},kLfG:function(e,t,n){var i={"./ion-action-sheet.entry.js":["dUtr",0,12],"./ion-alert.entry.js":["Q8AI",0,13],"./ion-app_8.entry.js":["hgI1",0,14],"./ion-avatar_3.entry.js":["CfoV",0,15],"./ion-back-button.entry.js":["Nt02",0,16],"./ion-backdrop.entry.js":["Q2Bp",17],"./ion-button_2.entry.js":["0Pbj",0,18],"./ion-card_5.entry.js":["ydQj",0,19],"./ion-checkbox.entry.js":["4fMi",0,20],"./ion-chip.entry.js":["czK9",0,21],"./ion-col_3.entry.js":["/CAe",22],"./ion-datetime_3.entry.js":["WgF3",0,23],"./ion-fab_3.entry.js":["uQcF",0,24],"./ion-img.entry.js":["wHD8",25],"./ion-infinite-scroll_2.entry.js":["2lz6",26],"./ion-input.entry.js":["ercB",0,27],"./ion-item-option_3.entry.js":["MGMP",0,28],"./ion-item_8.entry.js":["9bur",0,29],"./ion-loading.entry.js":["cABk",0,30],"./ion-menu_3.entry.js":["kyFE",0,31],"./ion-modal.entry.js":["TvZU",0,32],"./ion-nav_2.entry.js":["vnES",0,33],"./ion-popover.entry.js":["qCuA",0,34],"./ion-progress-bar.entry.js":["0tOe",0,35],"./ion-radio_2.entry.js":["h11V",0,36],"./ion-range.entry.js":["XGij",0,37],"./ion-refresher_2.entry.js":["nYbb",0,38],"./ion-reorder_2.entry.js":["smMY",0,39],"./ion-ripple-effect.entry.js":["STjf",40],"./ion-route_4.entry.js":["k5eQ",0,41],"./ion-searchbar.entry.js":["OR5t",0,42],"./ion-segment_2.entry.js":["fSgp",0,43],"./ion-select_3.entry.js":["lfGF",0,44],"./ion-slide_2.entry.js":["5xYT",45],"./ion-spinner.entry.js":["nI0H",0,46],"./ion-split-pane.entry.js":["NAQR",47],"./ion-tab-bar_2.entry.js":["knkW",0,48],"./ion-tab_2.entry.js":["TpdJ",0,49],"./ion-text.entry.js":["ISmu",0,50],"./ion-textarea.entry.js":["U7LX",0,51],"./ion-toast.entry.js":["L3sA",0,52],"./ion-toggle.entry.js":["IUOf",0,53],"./ion-virtual-scroll.entry.js":["8Mb5",54]};function s(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],s=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(s)})}s.keys=function(){return Object.keys(i)},s.id="kLfG",e.exports=s},kiQV:function(e){e.exports=JSON.parse('{"name":"parapheur","version":"21.03.13","description":"Annoter ou Signer vos documents sur votre tablette","homepage":"https://labs.maarch.org/maarch/MaarchParapheur","engines":{"npm":"6.14.5","node":"14.4.0"},"scripts":{"dep-list":"npm list --depth=0","check-update":"ncu","upgrade":"ncu -u","lint":"eslint -c .eslintrc.js --ext .ts src/frontend","lint-fix":"eslint -c .eslintrc.js --ext .ts src/frontend/ --fix","reload-packages":"rm -Rf node_modules && rm -f package-lock.json && npm cache clean --force && npm i","reload-packages-prod":"rm -Rf node_modules && rm -f package-lock.json && npm cache clean --force && npm i --production","build":"ng build","build-watch":"ng build --watch","build-prod":"ng build --prod","build-release":"npm run build-prod && npm run reload-packages-prod"},"private":true,"keywords":[],"author":"Maarch","license":"GPL-3.0","dependencies":{"core-js":"3.6.4","tslib":"2.1.0","zone.js":"0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"0.1100.7","@angular-eslint/eslint-plugin":"2.0.2","@angular/animations":"11.2.6","@angular/cdk":"11.2.5","@angular/cli":"11.2.5","@angular/common":"11.2.6","@angular/compiler":"11.2.6","@angular/compiler-cli":"11.2.6","@angular/core":"11.2.6","@angular/forms":"11.2.6","@angular/language-service":"11.2.6","@angular/material":"11.2.5","@angular/platform-browser":"11.2.6","@angular/platform-browser-dynamic":"11.2.6","@angular/router":"11.2.6","@biesbjerg/ngx-translate-extract":"6.0.3","@fortawesome/fontawesome-free":"5.15.3","@ionic/angular":"5.6.3","@ngrx/store":"9.2.1","@ngrx/store-devtools":"9.2.1","@ngx-translate/core":"12.1.2","@ngx-translate/http-loader":"4.0.0","@peculiar/fortify-webcomponents":"0.17.3","@types/hammerjs":"2.0.39","@types/jasmine":"3.6.7","@types/jasminewd2":"2.0.8","@types/jquery":"3.5.5","@types/node":"13.13.47","@typescript-eslint/eslint-plugin":"4.19.0","@typescript-eslint/eslint-plugin-tslint":"4.19.0","@typescript-eslint/parser":"4.19.0","angular2-draggable":"2.3.2","angular2-signaturepad":"3.0.4","codelyzer":"5.1.2","eslint":"7.22.0","eslint-config-prettier":"8.1.0","eslint-plugin-import":"2.22.1","exif-js":"2.3.0","hammerjs":"2.0.8","jquery":"3.6.0","ngx-cookie-service":"3.0.3","ngx-drag-scroll":"9.0.0-beta.4","ngx-extended-pdf-viewer":"5.0.1","ngx-pipes":"2.7.3","npm-check-updates":"4.1.0","prettier":"2.2.1","rxjs":"6.6.6","stylus":"0.54.7","stylus-loader":"3.0.2","tslint":"6.1.0","typescript":"4.0.5","typescript-tools":"0.3.1"},"repository":{}}')},lTIg:function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",function(){return u}),n.d(t,"shadow",function(){return r});var i=n("meiF"),s=n("k4ps");n("1vRN"),n("wEJo");const o=e=>document.querySelector(e+".ion-cloned-element"),r=e=>e.shadowRoot||e,a=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(n):null}return e.querySelector(n)},l=(e,t)=>{const n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let i=[];if(null!=n){const e=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(i=e.querySelectorAll("ion-buttons"))}else i=e.querySelectorAll("ion-buttons");for(const s of i){const e=s.closest("ion-header"),n=e&&!e.classList.contains("header-collapse-condense-inactive"),i=s.querySelector("ion-back-button"),o=s.classList.contains("buttons-collapse"),r="start"===s.slot||""===s.slot;if(null!==i&&r&&(o&&n&&t||!o))return i}return null},c=(e,t,n,s,a,l)=>{const c=t?`calc(100% - ${l.right+4}px)`:l.left-4+"px",d=t?"7px":"-7px",u=t?"-4px":"4px",h=t?"-4px":"4px",p=t?"right":"left",g=t?"left":"right",f=n?[{offset:0,opacity:1,transform:`translate3d(${u}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${u}, ${l.top-46}px, 0) scale(1)`}],m=n?[{offset:0,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`}],b=Object(i.a)(),v=Object(i.a)(),y=o("ion-back-button"),w=r(y).querySelector(".button-text"),_=r(y).querySelector("ion-icon");y.text=s.text,y.mode=s.mode,y.icon=s.icon,y.color=s.color,y.disabled=s.disabled,y.style.setProperty("display","block"),y.style.setProperty("position","fixed"),v.addElement(_),b.addElement(w),b.beforeStyles({"transform-origin":p+" center"}).beforeAddWrite(()=>{s.style.setProperty("display","none"),y.style.setProperty(p,c)}).afterAddWrite(()=>{s.style.setProperty("display",""),y.style.setProperty("display","none"),y.style.removeProperty(p)}).keyframes(f),v.beforeStyles({"transform-origin":g+" center"}).keyframes(m),e.addAnimation([b,v])},d=(e,t,n,s,r,a)=>{const l=t?`calc(100% - ${r.right}px)`:r.left+"px",c=t?"-18px":"18px",d=t?"right":"left",u=n?[{offset:0,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${r.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.5)`}],h=o("ion-title"),p=Object(i.a)();h.innerText=s.innerText,h.size=s.size,h.color=s.color,p.addElement(h),p.beforeStyles({"transform-origin":d+" center",height:"46px",display:"",position:"relative",[d]:l}).beforeAddWrite(()=>{s.style.setProperty("display","none")}).afterAddWrite(()=>{s.style.setProperty("display",""),h.style.setProperty("display","none")}).keyframes(u),e.addAnimation(p)},u=(e,t)=>{try{const n="cubic-bezier(0.32,0.72,0,1)",o="opacity",u="transform",h="0%",p=.8,g="rtl"===e.ownerDocument.dir,f=g?"-99.5%":"99.5%",m=g?"33%":"-33%",b=t.enteringEl,v=t.leavingEl,y="back"===t.direction,w=b.querySelector(":scope > ion-content"),_=b.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),x=b.querySelectorAll(":scope > ion-header > ion-toolbar"),C=Object(i.a)(),A=Object(i.a)();if(C.addElement(b).duration(t.duration||540).easing(t.easing||n).fill("both").beforeRemoveClass("ion-page-invisible"),v&&e){const t=Object(i.a)();t.addElement(e),C.addAnimation(t)}if(w||0!==x.length||0!==_.length?(A.addElement(w),A.addElement(_)):A.addElement(b.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(A),y?A.beforeClearStyles([o]).fromTo("transform",`translateX(${m})`,`translateX(${h})`).fromTo(o,p,1):A.beforeClearStyles([o]).fromTo("transform",`translateX(${f})`,`translateX(${h})`),w){const e=r(w).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),n=e.querySelector(".transition-shadow"),s=Object(i.a)(),r=Object(i.a)(),a=Object(i.a)();s.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(t).beforeClearStyles([o]).fromTo(o,0,.1),a.addElement(n).beforeClearStyles([o]).fromTo(o,.03,.7),s.addAnimation([r,a]),A.addAnimation([s])}}const S=b.querySelector("ion-header.header-collapse-condense"),{forward:k,backward:E}=((e,t,n,i,s)=>{const o=l(i,n),r=a(s),u=a(i),h=l(s,n),p=null!==o&&null!==r&&!n,g=null!==u&&null!==h&&n;if(p){const i=r.getBoundingClientRect(),s=o.getBoundingClientRect();d(e,t,n,r,i,s),c(e,t,n,o,i,s)}else if(g){const i=u.getBoundingClientRect(),s=h.getBoundingClientRect();d(e,t,n,u,i,s),c(e,t,n,h,i,s)}return{forward:p,backward:g}})(C,g,y,b,v);if(x.forEach(e=>{const t=Object(i.a)();t.addElement(e),C.addAnimation(t);const n=Object(i.a)();n.addElement(e.querySelector("ion-title"));const s=Object(i.a)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive");let d;d=a.filter(y?e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t}:e=>!e.classList.contains("buttons-collapse")),s.addElement(d);const u=Object(i.a)();u.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const p=Object(i.a)();p.addElement(r(e).querySelector(".toolbar-background"));const b=Object(i.a)(),v=e.querySelector("ion-back-button");if(v&&b.addElement(v),t.addAnimation([n,s,u,p,b]),s.fromTo(o,.01,1),u.fromTo(o,.01,1),y)c||n.fromTo("transform",`translateX(${m})`,`translateX(${h})`).fromTo(o,.01,1),u.fromTo("transform",`translateX(${m})`,`translateX(${h})`),b.fromTo(o,.01,1);else if(S||n.fromTo("transform",`translateX(${f})`,`translateX(${h})`).fromTo(o,.01,1),u.fromTo("transform",`translateX(${f})`,`translateX(${h})`),p.beforeClearStyles([o,"transform"]),(null==l?void 0:l.translucent)?p.fromTo("transform",g?"translateX(-100%)":"translateX(100%)","translateX(0px)"):p.fromTo(o,.01,"var(--opacity)"),k||b.fromTo(o,.01,1),v&&!k){const e=Object(i.a)();e.addElement(r(v).querySelector(".button-text")).fromTo("transform",g?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}),v){const e=Object(i.a)(),t=v.querySelector(":scope > ion-content"),n=v.querySelectorAll(":scope > ion-header > ion-toolbar"),a=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==n.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(e),y){e.beforeClearStyles([o]).fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)");const t=Object(s.g)(v);C.afterAddWrite(()=>{"normal"===C.getDirection()&&t.style.setProperty("display","none")})}else e.fromTo("transform",`translateX(${h})`,`translateX(${m})`).fromTo(o,1,p);if(t){const n=r(t).querySelector(".transition-effect");if(n){const t=n.querySelector(".transition-cover"),s=n.querySelector(".transition-shadow"),r=Object(i.a)(),a=Object(i.a)(),l=Object(i.a)();r.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([o]).fromTo(o,.1,0),l.addElement(s).beforeClearStyles([o]).fromTo(o,.7,.03),r.addAnimation([a,l]),e.addAnimation([r])}}n.forEach(e=>{const t=Object(i.a)();t.addElement(e);const n=Object(i.a)();n.addElement(e.querySelector("ion-title"));const s=Object(i.a)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive"),d=Array.from(a).filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t});s.addElement(d);const p=Object(i.a)(),f=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");f.length>0&&p.addElement(f);const b=Object(i.a)();b.addElement(r(e).querySelector(".toolbar-background"));const v=Object(i.a)(),w=e.querySelector("ion-back-button");if(w&&v.addElement(w),t.addAnimation([n,s,p,v,b]),C.addAnimation(t),v.fromTo(o,.99,0),s.fromTo(o,.99,0),p.fromTo(o,.99,0),y){if(c||n.fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)").fromTo(o,.99,0),p.fromTo("transform",`translateX(${h})`,g?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([o,"transform"]),(null==l?void 0:l.translucent)?b.fromTo("transform","translateX(0px)",g?"translateX(-100%)":"translateX(100%)"):b.fromTo(o,"var(--opacity)",0),w&&!E){const e=Object(i.a)();e.addElement(r(w).querySelector(".button-text")).fromTo("transform",`translateX(${h})`,`translateX(${(g?-124:124)+"px"})`),t.addAnimation(e)}}else c||n.fromTo("transform",`translateX(${h})`,`translateX(${m})`).fromTo(o,.99,0).afterClearStyles([u,o]),p.fromTo("transform",`translateX(${h})`,`translateX(${m})`).afterClearStyles([u,o]),v.afterClearStyles([o]),n.afterClearStyles([o]),s.afterClearStyles([o])})}return C}catch(n){throw n}}},"m9/o":function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function r(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;r(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const d=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let u=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(i(o)){s&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){t=a instanceof d?h(a.errors):[a]}}if(l(r)){let e=-1,n=r.length;for(;++e<n;){const n=r[e];if(c(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof d?t=t.concat(h(a.errors)):t.push(a)}}}if(t)throw new d(t)}add(t){let 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)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=n;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)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class g extends u{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,e,t,n)}}[p](){return this}static create(e,t,n){const i=new g(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class f extends g{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let r=this;i(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==a&&(r=Object.create(t),i(r.unsubscribe)&&this.add(r.unsubscribe.bind(r)),r.unsubscribe=this.unsubscribe.bind(this))),this._context=r,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;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):r(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;r(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;r(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(r(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function b(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:i}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(a)}(e,t,n);if(s.add(i?i.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=y(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(s){n(s),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?b:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=y(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function y(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class _ extends u{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends g{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new A(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let s=0;s<n;s++)i[s].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,i=t.slice();for(let s=0;s<n;s++)i[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let i=0;i<t;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),u.EMPTY):this.isStopped?(e.complete(),u.EMPTY):(this.observers.push(e),new _(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new A(e,t),e})();class A extends C{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):u.EMPTY}}function S(e){return e&&"function"==typeof e.schedule}function k(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 E(e,t))}}class E{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new P(e,this.project,this.thisArg))}}class P extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const D=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const M=O(),T=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function I(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[m])return i=e,e=>{const t=i[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(T(e))return D(e);if(I(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r),e);if(e&&"function"==typeof e[M])return t=e,e=>{const n=t[M]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,i};function L(e,t){return new v(n=>{const i=new u;let s=0;return i.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function F(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new v(n=>{const i=new u;return i.add(t.schedule(()=>{const s=e[m]();i.add(s.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(I(e))return function(e,t){return new v(n=>{const i=new u;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(T(e))return L(e,t);if(function(e){return e&&"function"==typeof e[M]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const i=new u;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(t.schedule(()=>{s=e[M](),i.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(i){return void n.error(i)}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 v?e:new v(R(e))}class B extends g{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class z extends g{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function V(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):R(e)(t)}function N(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(N((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new H(e,n)))}class H{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new j(e,this.project,this.concurrent))}}class j extends z{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}_innerSub(e){const t=new B(this),n=this.destination;n.add(t);const i=V(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e=Number.POSITIVE_INFINITY){return N(b,e)}function W(e,t){return t?L(e,t):new v(D(e))}function G(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return S(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:U(t)(W(e,n))}function q(){return function(e){return e.lift(new Y(e))}}class Y{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new Z(e,n),s=t.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class Z extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class Q extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new u,e.add(this.source.subscribe(new K(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e}refCount(){return q()(this)}}const X=(()=>{const e=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class K extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function J(){return new C}function ee(){return e=>{return q()((t=J,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,X);return i.source=e,i.subjectFactory=n,i})(e));var t}}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ne(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const oe=te({__forward_ref__:te});function re(e){return e.__forward_ref__=re,e.toString=function(){return ie(this())},e}function ae(e){return le(e)?e():e}function le(e){return"function"==typeof e&&e.hasOwnProperty(oe)&&e.__forward_ref__===re}class ce extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function de(e){return"string"==typeof e?e:null==e?"":String(e)}function ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():de(e)}function he(e,t){const n=t?" in "+t:"";throw new ce("201",`No provider for ${ue(e)} found${n}`)}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const ge=pe;function fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function me(e){return be(e,ye)||be(e,_e)}function be(e,t){return e.hasOwnProperty(t)?e[t]:null}function ve(e){return e&&(e.hasOwnProperty(we)||e.hasOwnProperty(xe))?e[we]:null}const ye=te({\u0275prov:te}),we=te({\u0275inj:te}),_e=te({ngInjectableDef:te}),xe=te({ngInjectorDef:te});var Ce=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}({});let Ae;function Se(e){const t=Ae;return Ae=e,t}function ke(e,t,n){const i=me(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ce.Optional?null:void 0!==t?t:void he(ie(e),"Injector")}function Ee(e){return{toString:e}.toString()}var Pe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),De=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Oe="undefined"!=typeof globalThis&&globalThis,Me="undefined"!=typeof window&&window,Te="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ie="undefined"!=typeof global&&global,Re=Oe||Ie||Me||Te,Le={},Fe=[],Be=[],ze=te({\u0275cmp:te}),Ve=te({\u0275dir:te}),Ne=te({\u0275pipe:te}),He=te({\u0275mod:te}),je=te({\u0275loc:te}),Ue=te({\u0275fac:te}),We=te({__NG_ELEMENT_ID__:te});let Ge=0;function $e(e){return Ee(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||De.Emulated,id:"c",styles:e.styles||Be,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,o=e.pipes;return n.id+=Ge++,n.inputs=Xe(e.inputs,t),n.outputs=Xe(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(qe):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ye):null,n})}function qe(e){return et(e)||function(e){return e[Ve]||null}(e)}function Ye(e){return function(e){return e[Ne]||null}(e)}const Ze={};function Qe(e){const t={type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Ee(()=>{Ze[e.id]=e.type}),t}function Xe(e,t){if(null==e)return Le;const n={};for(const i in e)if(e.hasOwnProperty(i)){let s=e[i],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=i,t&&(t[s]=o)}return n}const Ke=$e;function Je(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function et(e){return e[ze]||null}function tt(e,t){const n=e[He]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function nt(e){return Array.isArray(e)&&"object"==typeof e[1]}function it(e){return Array.isArray(e)&&!0===e[1]}function st(e){return 0!=(8&e.flags)}function ot(e){return 2==(2&e.flags)}function rt(e){return 1==(1&e.flags)}function at(e){return null!==e.template}function lt(e,t){return e.hasOwnProperty(Ue)?e[Ue]:null}class ct{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function dt(){return ut}function ut(e){return e.type.prototype.ngOnChanges&&(e.setInput=pt),ht}function ht(){const e=gt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Le)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function pt(e,t,n,i){const s=gt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Le,current:null}),o=s.current||(s.current={}),r=s.previous,a=this.declaredInputs[n],l=r[a];o[a]=new ct(l&&l.currentValue,t,r===Le),e[i]=t}function gt(e){return e.__ngSimpleChanges__||null}dt.ngInherit=!0;let ft=void 0;function mt(){return void 0!==ft?ft:"undefined"!=typeof document?document:void 0}function bt(e){return!!e.listen}const vt={createRenderer:(e,t)=>mt()};function yt(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return yt(t[e])}function _t(e,t){return yt(t[e.index])}function xt(e,t){return e.data[t]}function Ct(e,t){return e[t]}function At(e,t){const n=t[e];return nt(n)?n:n[0]}function St(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function kt(e){return 4==(4&e[2])}function Et(e){return 128==(128&e[2])}function Pt(e,t){return null==t?null:e[t]}function Dt(e){e[18]=0}function Ot(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Mt={lFrame:nn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Tt(){return Mt.bindingsEnabled}function It(){return Mt.lFrame.lView}function Rt(){return Mt.lFrame.tView}function Lt(e){Mt.lFrame.contextLView=e}function Ft(){let e=Bt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Bt(){return Mt.lFrame.currentTNode}function zt(e,t){const n=Mt.lFrame;n.currentTNode=e,n.isParent=t}function Vt(){return Mt.lFrame.isParent}function Nt(){Mt.lFrame.isParent=!1}function Ht(){return Mt.isInCheckNoChangesMode}function jt(e){Mt.isInCheckNoChangesMode=e}function Ut(){const e=Mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wt(){return Mt.lFrame.bindingIndex}function Gt(){return Mt.lFrame.bindingIndex++}function $t(e){const t=Mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qt(e,t){const n=Mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yt(t)}function Yt(e){Mt.lFrame.currentDirectiveIndex=e}function Zt(e){const t=Mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Qt(){return Mt.lFrame.currentQueryIndex}function Xt(e){Mt.lFrame.currentQueryIndex=e}function Kt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Jt(e,t,n){if(n&Ce.SkipSelf){let i=t,s=e;for(;i=i.parent,!(null!==i||n&Ce.Host||(i=Kt(s),null===i)||(s=s[15],10&i.type)););if(null===i)return!1;t=i,e=s}const i=Mt.lFrame=tn();return i.currentTNode=t,i.lView=e,!0}function en(e){const t=tn(),n=e[1];Mt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tn(){const e=Mt.lFrame,t=null===e?null:e.child;return null===t?nn(e):t}function nn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function sn(){const e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const on=sn;function rn(){const e=sn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function an(){return Mt.lFrame.selectedIndex}function ln(e){Mt.lFrame.selectedIndex=e}function cn(){const e=Mt.lFrame;return xt(e.tView,e.selectedIndex)}function dn(){Mt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function un(){Mt.lFrame.currentNamespace=null}function hn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:r,ngOnDestroy:a}=t;i&&(e.contentHooks||(e.contentHooks=[])).push(-n,i),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),r&&((e.viewHooks||(e.viewHooks=[])).push(n,r),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,r)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function pn(e,t,n){mn(e,t,3,n)}function gn(e,t,n,i){(3&e[2])===n&&mn(e,t,n,i)}function fn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function mn(e,t,n,i){const s=null!=i?i:-1,o=t.length-1;let r=0;for(let a=void 0!==i?65535&e[18]:0;a<o;a++)if("number"==typeof t[a+1]){if(r=t[a],null!=i&&r>=i)break}else t[a]<0&&(e[18]+=65536),(r<s||-1==s)&&(bn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function bn(e,t,n,i){const s=n[i]<0,o=n[i+1],r=e[s?-n[i]:n[i]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(r)):o.call(r)}class vn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const i=bt(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const r=n[s++],a=n[s++],l=n[s++];i?e.setAttribute(t,a,l,r):t.setAttributeNS(r,a,l)}else{const r=o,a=n[++s];_n(r)?i&&e.setProperty(t,r,a):i?e.setAttribute(t,r,a):t.setAttribute(r,a),s++}}return s}function wn(e){return 3===e||4===e||6===e}function _n(e){return 64===e.charCodeAt(0)}function xn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?n=s:0===n||Cn(e,n,s,null,-1===n||2===n?t[++i]:null)}}return e}function Cn(e,t,n,i,s){let o=0,r=e.length;if(-1===t)r=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){r=-1;break}if(n>t){r=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==s&&(e[o+1]=s));if(i===e[o+1])return void(e[o+2]=s)}o++,null!==i&&o++,null!==s&&o++}-1!==r&&(e.splice(r,0,t),o=r+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==s&&e.splice(o++,0,s)}function An(e){return-1!==e}function Sn(e){return 32767&e}function kn(e,t){let n=e>>16,i=t;for(;n>0;)i=i[15],n--;return i}let En=!0;function Pn(e){const t=En;return En=e,t}let Dn=0;function On(e,t){const n=Tn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Mn(i.data,e),Mn(t,null),Mn(i.blueprint,null));const s=In(e,t),o=e.injectorIndex;if(An(s)){const e=Sn(s),n=kn(s,t),i=n[1].data;for(let s=0;s<8;s++)t[o+s]=n[e+s]|i[e+s]}return t[o+8]=s,o}function Mn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function In(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(i=2===t?e.declTNode:1===t?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Rn(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(We)&&(i=n[We]),null==i&&(i=n[We]=Dn++);const s=255&i;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function Ln(e,t,n){if(n&Ce.Optional)return e;he(t,"NodeInjector")}function Fn(e,t,n,i){if(n&Ce.Optional&&void 0===i&&(i=null),0==(n&(Ce.Self|Ce.Host))){const s=e[9],o=Se(void 0);try{return s?s.get(t,i,n&Ce.Optional):ke(t,i,n&Ce.Optional)}finally{Se(o)}}return Ln(i,t,n)}function Bn(e,t,n,i=Ce.Default,s){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(We)?e[We]:void 0;return"number"==typeof t?t>=0?255&t:Vn:t}(n);if("function"==typeof o){if(!Jt(t,e,i))return i&Ce.Host?Ln(s,n,i):Fn(t,n,i,s);try{const e=o();if(null!=e||i&Ce.Optional)return e;he(n)}finally{on()}}else if("number"==typeof o){let s=null,r=Tn(e,t),a=-1,l=i&Ce.Host?t[16][6]:null;for((-1===r||i&Ce.SkipSelf)&&(a=-1===r?In(e,t):t[r+8],-1!==a&&Wn(i,!1)?(s=t[1],r=Sn(a),t=kn(a,t)):r=-1);-1!==r;){const e=t[1];if(Un(o,r,e.data)){const e=Nn(r,t,n,s,i,l);if(e!==zn)return e}a=t[r+8],-1!==a&&Wn(i,t[1].data[r+8]===l)&&Un(o,r,t)?(s=e,r=Sn(a),t=kn(a,t)):r=-1}}}return Fn(t,n,i,s)}const zn={};function Vn(){return new Gn(Ft(),It())}function Nn(e,t,n,i,s,o){const r=t[1],a=r.data[e+8],l=Hn(a,r,n,null==i?ot(a)&&En:i!=r&&0!=(3&a.type),s&Ce.Host&&o===a);return null!==l?jn(t,r,l,a):zn}function Hn(e,t,n,i,s){const o=e.providerIndexes,r=t.data,a=1048575&o,l=e.directiveStart,c=o>>20,d=s?a+c:e.directiveEnd;for(let u=i?a:a+c;u<d;u++){const e=r[u];if(u<l&&n===e||u>=l&&e.type===n)return u}if(s){const e=r[l];if(e&&at(e)&&e.type===n)return l}return null}function jn(e,t,n,i){let s=e[n];const o=t.data;if(s instanceof vn){const r=s;r.resolving&&function(e,t){throw new ce("200","Circular dependency in DI detected for "+e)}(ue(o[n]));const a=Pn(r.canSeeViewProviders);r.resolving=!0;const l=r.injectImpl?Se(r.injectImpl):null;Jt(e,i,Ce.Default);try{s=e[n]=r.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:o}=t.type.prototype;if(i){const i=ut(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&Se(l),Pn(a),r.resolving=!1,on()}}return s}function Un(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wn(e,t){return!(e&Ce.Self||e&Ce.Host&&t)}class Gn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Bn(this._tNode,this._lView,e,void 0,t)}}function $n(e){return Ee(()=>{const t=e.prototype.constructor,n=t[Ue]||qn(t),i=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==i;){const e=s[Ue]||qn(s);if(e&&e!==n)return e;s=Object.getPrototypeOf(s)}return e=>new e})}function qn(e){return le(e)?()=>{const t=qn(ae(e));return t&&t()}:lt(e)}function Yn(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const s=n[i];if(wn(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Ft(),e)}function Zn(e,t,n){return Ee(()=>{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return i.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,i){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Qn=function(){return Zn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Yn(e)}))}();class Xn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=pe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Kn=new Xn("AnalyzeForEntryComponents"),Jn=Function;function ei(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ei(i,t)):t!==e&&t.push(i)}return t}function ti(e,t){e.forEach(e=>Array.isArray(e)?ti(e,t):t(e))}function ni(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ii(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function si(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function oi(e,t,n){let i=ai(e,t);return i>=0?e[1|i]=n:(i=~i,function(e,t,n,i){let s=e.length;if(s==t)e.push(n,i);else if(1===s)e.push(i,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function ri(e,t){const n=ai(e,t);if(n>=0)return e[1|n]}function ai(e,t){return function(e,t,n){let i=0,s=e.length>>1;for(;s!==i;){const n=i+(s-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?s=n:i=n+1}return~(s<<1)}(e,t)}const li={},ci=/\n/gm,di=te({provide:String,useValue:te});let ui=void 0;function hi(e){const t=ui;return ui=e,t}function pi(e,t=Ce.Default){if(void 0===ui)throw new Error("inject() must be called from an injection context");return null===ui?ke(e,void 0,t):ui.get(e,t&Ce.Optional?null:void 0,t)}function gi(e,t=Ce.Default){return(Ae||pi)(ae(e),t)}const fi=gi;function mi(e){const t=[];for(let n=0;n<e.length;n++){const i=ae(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=Ce.Default;for(let t=0;t<i.length;t++){const s=i[t],o=s.__NG_DI_FLAG__;"number"==typeof o?-1===o?e=s.token:n|=o:e=s}t.push(gi(e,n))}else t.push(gi(i))}return t}function bi(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}const vi=bi(Zn("Inject",e=>({token:e})),-1),yi=bi(Zn("Optional"),8),wi=bi(Zn("SkipSelf"),4);let _i,xi;function Ci(e){var t;return(null===(t=function(){if(void 0===_i&&(_i=null,Re.trustedTypes))try{_i=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return _i}())||void 0===t?void 0:t.createHTML(e))||e}function Ai(e){var t;return(null===(t=function(){if(void 0===xi&&(xi=null,Re.trustedTypes))try{xi=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return xi}())||void 0===t?void 0:t.createHTML(e))||e}class Si{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class ki extends Si{getTypeName(){return"HTML"}}class Ei extends Si{getTypeName(){return"Style"}}class Pi extends Si{getTypeName(){return"Script"}}class Di extends Si{getTypeName(){return"URL"}}class Oi extends Si{getTypeName(){return"ResourceURL"}}function Mi(e){return e instanceof Si?e.changingThisBreaksApplicationSecurity:e}function Ti(e,t){const n=Ii(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Ii(e){return e instanceof Si&&e.getTypeName()||null}class Ri{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Ci(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Li{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Ci(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Ci(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const n=t.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Fi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Bi=/^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 zi(e){return(e=String(e)).match(Fi)||e.match(Bi)?e:"unsafe:"+e}function Vi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ni(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Hi=Vi("area,br,col,hr,img,wbr"),ji=Vi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ui=Vi("rp,rt"),Wi=Ni(Ui,ji),Gi=Ni(Hi,Ni(ji,Vi("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")),Ni(Ui,Vi("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")),Wi),$i=Vi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qi=Vi("srcset"),Yi=Ni($i,qi,Vi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Vi("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")),Zi=Vi("script,style,template");class Qi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Gi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Zi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!Yi.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let r=e.value;$i[o]&&(r=zi(r)),qi[o]&&(i=r,r=(i=String(i)).split(",").map(e=>zi(e.trim())).join(", ")),this.buf.push(" ",t,'="',Ji(r),'"')}var i;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Gi.hasOwnProperty(t)&&!Hi.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ji(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const Xi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ki=/([^\#-~ |!])/g;function Ji(e){return e.replace(/&/g,"&").replace(Xi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Ki,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let es;function ts(e,t){let n=null;try{es=es||function(e){const t=new Li(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ci(""),"text/html")}catch(e){return!1}}()?new Ri(t):t}(e);let i=t?String(t):"";n=es.getInertBodyElement(i);let s=5,o=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=o,o=n.innerHTML,n=es.getInertBodyElement(i)}while(i!==o);return Ci((new Qi).sanitizeChildren(ns(n)||n))}finally{if(n){const e=ns(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ns(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var is=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function ss(e){const t=rs();return t?Ai(t.sanitize(is.HTML,e)||""):Ti(e,"HTML")?Ai(Mi(e)):ts(mt(),de(e))}function os(e){const t=rs();return t?t.sanitize(is.URL,e)||"":Ti(e,"URL")?Mi(e):zi(de(e))}function rs(){const e=It();return e&&e[12]}function as(e){return e.ngDebugContext}function ls(e){return e.ngOriginalError}function cs(e,...t){e.error(...t)}class ds{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||cs}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?as(e)?as(e):this._findContext(ls(e)):null}_findOriginalError(e){let t=ls(e);for(;t&&ls(t);)t=ls(t);return t}}function us(e,t){e.__ngContext__=t}const hs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re))();function ps(e){return{name:"window",target:e.ownerDocument.defaultView}}function gs(e){return{name:"body",target:e.ownerDocument.body}}function fs(e){return e instanceof Function?e():e}var ms=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function bs(e,t){return(void 0)(e,t)}function vs(e){const t=e[3];return it(t)?t[3]:t}function ys(e){return _s(e[13])}function ws(e){return _s(e[4])}function _s(e){for(;null!==e&&!it(e);)e=e[4];return e}function xs(e,t,n,i,s){if(null!=i){let o,r=!1;it(i)?o=i:nt(i)&&(r=!0,i=i[0]);const a=yt(i);0===e&&null!==n?null==s?Os(t,n,a):Ds(t,n,a,s||null,!0):1===e&&null!==n?Ds(t,n,a,s||null,!0):2===e?function(e,t,n){const i=Ts(e,t);i&&function(e,t,n,i){bt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,a,r):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,s){const o=n[7];o!==yt(n)&&xs(t,e,i,o,s);for(let r=10;r<n.length;r++){const s=n[r];Ns(s[1],s,e,t,i,o)}}(t,e,o,n,s)}}function Cs(e,t,n){return bt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function As(e,t){const n=e[9],i=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Ot(s,-1)),n.splice(i,1)}function Ss(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&As(o,i),t>0&&(e[n-1][4]=i[4]);const r=ii(e,10+t);Ns(i[1],s=i,s[11],2,null,null),s[0]=null,s[6]=null;const a=r[19];null!==a&&a.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}var s;return i}function ks(e,t){if(!(256&t[2])){const n=t[11];bt(n)&&n.destroyNode&&Ns(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Es(e[1],e);for(;t;){let n=null;if(nt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)nt(t)&&Es(t[1],t),t=t[3];null===t&&(t=e),nt(t)&&Es(t[1],t),n=t&&t[4]}t=n}}(t)}}function Es(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const e=t[n[i]];if(!(e instanceof vn)){const t=n[i+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup,i=t[7];let s=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const e=n[o+1],r="function"==typeof e?e(t):yt(t[e]),a=i[s=n[o+2]],l=n[o+3];"boolean"==typeof l?r.removeEventListener(n[o],a,l):l>=0?i[s=l]():i[s=-l].unsubscribe(),o+=2}else{const e=i[s=n[o+1]];n[o].call(e)}if(null!==i){for(let e=s+1;e<i.length;e++)(0,i[e])();t[7]=null}}(e,t),1===t[1].type&&bt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&it(t[3])){n!==t[3]&&As(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Ps(e,t,n){return function(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const t=e.data[i.directiveStart].encapsulation;if(t===De.None||t===De.Emulated)return null}return _t(i,n)}(e,t.parent,n)}function Ds(e,t,n,i,s){bt(e)?e.insertBefore(t,n,i,s):t.insertBefore(n,i,s)}function Os(e,t,n){bt(e)?e.appendChild(t,n):t.appendChild(n)}function Ms(e,t,n,i,s){null!==i?Ds(e,t,n,i,s):Os(e,t,n)}function Ts(e,t){return bt(e)?e.parentNode(t):t.parentNode}function Is(e,t,n){return Rs(e,t,n)}let Rs=function(e,t,n){return 40&e.type?_t(e,n):null};function Ls(e,t,n,i){const s=Ps(e,i,t),o=t[11],r=Is(i.parent||t[6],i,t);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)Ms(o,s,n[a],r,!1);else Ms(o,s,n,r,!1)}function Fs(e,t){if(null!==t){const n=t.type;if(3&n)return _t(t,e);if(4&n)return zs(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Fs(e,n);{const n=e[t.index];return it(n)?zs(-1,n):yt(n)}}if(32&n)return bs(t,e)()||yt(e[t.index]);{const n=Bs(e,t);return null!==n?Array.isArray(n)?n[0]:Fs(vs(e[16]),n):Fs(e,t.next)}}return null}function Bs(e,t){return null!==t?e[16][6].projection[t.projection]:null}function zs(e,t){const n=10+e+1;if(n<t.length){const e=t[n],i=e[1].firstChild;if(null!==i)return Fs(e,i)}return t[7]}function Vs(e,t,n,i,s,o,r){for(;null!=n;){const a=i[n.index],l=n.type;if(r&&0===t&&(a&&us(yt(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Vs(e,t,n.child,i,s,o,!1),xs(t,e,s,a,o);else if(32&l){const r=bs(n,i);let l;for(;l=r();)xs(t,e,s,l,o);xs(t,e,s,a,o)}else 16&l?Hs(e,t,i,n,s,o):xs(t,e,s,a,o);n=r?n.projectionNext:n.next}}function Ns(e,t,n,i,s,o){Vs(n,i,e.firstChild,t,s,o,!1)}function Hs(e,t,n,i,s,o){const r=n[16],a=r[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)xs(t,e,s,a[l],o);else Vs(e,t,a,r[3],s,o,!0)}function js(e,t,n){bt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Us(e,t,n){bt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Ws(e,t,n){let i=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===i||e.charCodeAt(s+n)<=32)return s}n=s+1}}function Gs(e,t,n){let i=0;for(;i<e.length;){let s=e[i++];if(n&&"class"===s){if(s=e[i],-1!==Ws(s.toLowerCase(),t,0))return!0}else if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function $s(e){return 4===e.type&&"ng-template"!==e.value}function qs(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function Ys(e,t,n){let i=4;const s=e.attrs||[],o=function(e){for(let t=0;t<e.length;t++)if(wn(e[t]))return t;return e.length}(s);let r=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!r)if(4&i){if(i=2|1&i,""!==l&&!qs(e,l,n)||""===l&&1===t.length){if(Zs(i))return!1;r=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!Gs(e.attrs,c,n)){if(Zs(i))return!1;r=!0}continue}const d=Qs(8&i?"class":l,s,$s(e),n);if(-1===d){if(Zs(i))return!1;r=!0;continue}if(""!==c){let e;e=d>o?"":s[d+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==Ws(t,c,0)||2&i&&c!==e){if(Zs(i))return!1;r=!0}}}}else{if(!r&&!Zs(i)&&!Zs(l))return!1;if(r&&Zs(l))continue;r=!1,i=l|1&i}}return Zs(i)||r}function Zs(e){return 0==(1&e)}function Qs(e,t,n,i){if(null===t)return-1;let s=0;if(i||!n){let n=!1;for(;s<t.length;){const i=t[s];if(i===e)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Xs(e,t,n=!1){for(let i=0;i<t.length;i++)if(Ys(e,t[i],n))return!0;return!1}function Ks(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function Js(e,t){return e?":not("+t.trim()+")":t}function eo(e){let t=e[0],n=1,i=2,s="",o=!1;for(;n<e.length;){let r=e[n];if("string"==typeof r)if(2&i){const t=e[++n];s+="["+r+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?s+="."+r:4&i&&(s+=" "+r);else""===s||Zs(r)||(t+=Js(o,s),s=""),i=r,o=o||!Zs(i);n++}return""!==s&&(t+=Js(o,s)),t}const to={};function no(e){io(Rt(),It(),an()+e,Ht())}function io(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&pn(t,i,n)}else{const i=e.preOrderHooks;null!==i&&gn(t,i,0,n)}ln(n)}function so(e,t){return e<<17|t<<2}function oo(e){return e>>17&32767}function ro(e){return 2|e}function ao(e){return(131068&e)>>2}function lo(e,t){return-131069&e|t<<2}function co(e){return 1|e}function uo(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],o=n[i+1];if(-1!==o){const n=e.data[o];Xt(s),n.contentQueries(2,t[o],o)}}}function ho(e,t,n,i,s,o,r,a,l,c){const d=t.blueprint.slice();return d[0]=s,d[2]=140|i,Dt(d),d[3]=d[15]=e,d[8]=n,d[10]=r||e&&e[10],d[11]=a||e&&e[11],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=o,d[16]=2==t.type?e[16]:d,d}function po(e,t,n,i,s){let o=e.data[t];if(null===o)o=function(e,t,n,i,s){const o=Bt(),r=Vt(),a=e.data[t]=function(e,t,n,i,s,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,r?o:o&&o.parent,n,t,i,s);return null===e.firstChild&&(e.firstChild=a),null!==o&&(r?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}(e,t,n,i,s),Mt.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=s;const e=function(){const e=Mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===e?-1:e.injectorIndex}return zt(o,!0),o}function go(e,t,n,i){if(0===n)return-1;const s=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return s}function fo(e,t,n){en(t);try{const i=e.viewQuery;null!==i&&Go(1,i,n);const s=e.template;null!==s&&vo(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&uo(e,t),e.staticViewQueries&&Go(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)No(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),i}finally{t[2]&=-5,rn()}}function mo(e,t,n,i){const s=t[2];if(256==(256&s))return;en(t);const o=Ht();try{Dt(t),Mt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&vo(e,t,n,2,i);const r=3==(3&s);if(!o)if(r){const n=e.preOrderCheckHooks;null!==n&&pn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&gn(t,n,0,null),fn(t,0)}if(function(e){for(let t=ys(e);null!==t;t=ws(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],i=n[3];0==(1024&n[2])&&Ot(i,1),n[2]|=1024}}}(t),function(e){for(let t=ys(e);null!==t;t=ws(t))for(let e=10;e<t.length;e++){const n=t[e],i=n[1];Et(n)&&mo(i,n,i.template,n[8])}}(t),null!==e.contentQueries&&uo(e,t),!o)if(r){const n=e.contentCheckHooks;null!==n&&pn(t,n)}else{const n=e.contentHooks;null!==n&&gn(t,n,1),fn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const i=n[e];if(i<0)ln(~i);else{const s=i,o=n[++e],r=n[++e];qt(o,s),r(2,t[s])}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)zo(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Go(2,l,i),!o)if(r){const n=e.viewCheckHooks;null!==n&&pn(t,n)}else{const n=e.viewHooks;null!==n&&gn(t,n,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ot(t[3],-1))}finally{rn()}}function bo(e,t,n,i){const s=t[10],o=!Ht(),r=kt(t);try{o&&!r&&s.begin&&s.begin(),r&&fo(e,t,i),mo(e,t,n,i)}finally{o&&!r&&s.end&&s.end()}}function vo(e,t,n,i,s){const o=an();try{ln(-1),2&i&&t.length>20&&io(e,t,20,Ht()),n(i,s)}finally{ln(o)}}function yo(e,t,n){if(st(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}function wo(e,t,n){Tt()&&(function(e,t,n,i){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||On(n,t),us(i,t);const r=n.initialInputs;for(let a=s;a<o;a++){const i=e.data[a],o=at(i);o&&Ro(t,n,i);const l=jn(t,e,a,n);us(l,t),null!==r&&Lo(0,a-s,l,i,0,r),o&&(At(n.index,t)[8]=l)}}(e,t,n,_t(n,t)),128==(128&n.flags)&&function(e,t,n){const i=n.directiveStart,s=n.directiveEnd,o=n.index,r=Mt.lFrame.currentDirectiveIndex;try{ln(o);for(let n=i;n<s;n++){const i=e.data[n],s=t[n];Yt(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Do(i,s)}}finally{ln(-1),Yt(r)}}(e,t,n))}function _o(e,t,n=_t){const i=t.localNames;if(null!==i){let s=t.index+1;for(let o=0;o<i.length;o+=2){const r=i[o+1],a=-1===r?n(t,e):e[r];e[s++]=a}}}function xo(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Co(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Co(e,t,n,i,s,o,r,a,l,c){const d=20+i,u=d+s,h=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:to);return n}(d,u),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof r?r():r,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Ao(e,t,n,i){const s=qo(t);null===n?s.push(i):(s.push(n),e.firstCreatePass&&Yo(e).push(i,s.length-1))}function So(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const s=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,s):n[i]=[t,s]}return n}function ko(e,t,n,i,s,o,r,a){const l=_t(t,n);let c,d=t.inputs;var u;!a&&null!=d&&(c=d[i])?(Xo(e,n,c,i,s),ot(t)&&function(e,t){const n=At(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,s=null!=r?r(s,t.value||"",i):s,bt(o)?o.setProperty(l,i,s):_n(i)||(l.setProperty?l.setProperty(i,s):l[i]=s))}function Eo(e,t,n,i){let s=!1;if(Tt()){const o=function(e,t,n){const i=e.directiveRegistry;let s=null;if(i)for(let o=0;o<i.length;o++){const r=i[o];Xs(n,r.selectors,!1)&&(s||(s=[]),Rn(On(n,t),e,r.type),at(r)?(Oo(e,n),s.unshift(r)):s.push(r))}return s}(e,t,n),r=null===i?null:{"":-1};if(null!==o){s=!0,To(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}let i=!1,a=!1,l=go(e,t,o.length,null);for(let s=0;s<o.length;s++){const c=o[s];n.mergedAttrs=xn(n.mergedAttrs,c.hostAttrs),Io(e,n,t,l,c),Mo(l,c,r),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),i=!0),a||!d.ngOnChanges&&!d.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveEnd,i=e.data,s=t.attrs,o=[];let r=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=i[l],n=e.inputs,c=null===s||$s(t)?null:Fo(n,s);o.push(c),r=So(n,l,r),a=So(e.outputs,l,a)}null!==r&&(r.hasOwnProperty("class")&&(t.flags|=16),r.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=r,t.outputs=a}(e,n)}r&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new ce("301",`Export of name '${t[e+1]}' not found!`);i.push(t[e],s)}}}(n,i,r)}return n.mergedAttrs=xn(n.mergedAttrs,n.attrs),s}function Po(e,t,n,i,s,o){const r=o.hostBindings;if(r){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,s,r)}}function Do(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Oo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Mo(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;at(t)&&(n[""]=e)}}function To(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Io(e,t,n,i,s){e.data[i]=s;const o=s.factory||(s.factory=lt(s.type)),r=new vn(o,at(s),null);e.blueprint[i]=r,n[i]=r,Po(e,t,0,i,go(e,n,s.hostVars,to),s)}function Ro(e,t,n){const i=_t(t,e),s=xo(n),o=e[10],r=Ho(e,ho(e,s,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=r}function Lo(e,t,n,i,s,o){const r=o[t];if(null!==r){const e=i.setInput;for(let t=0;t<r.length;){const s=r[t++],o=r[t++],a=r[t++];null!==e?i.setInput(n,a,s,o):n[o]=a}}}function Fo(e,t){let n=null,i=0;for(;i<t.length;){const s=t[i];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Bo(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function zo(e,t){const n=At(t,e);if(Et(n)){const e=n[1];80&n[2]?mo(e,n,e.template,n[8]):n[5]>0&&Vo(n)}}function Vo(e){for(let n=ys(e);null!==n;n=ws(n))for(let e=10;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];mo(e,t,e.template,t[8])}else t[5]>0&&Vo(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const i=At(t[n],e);Et(i)&&i[5]>0&&Vo(i)}}function No(e,t){const n=At(t,e),i=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),fo(i,n,n[8])}function Ho(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function jo(e){for(;e;){e[2]|=64;const t=vs(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Uo(e,t,n){const i=t[10];i.begin&&i.begin();try{mo(e,t,e.template,n)}catch(s){throw Qo(t,s),s}finally{i.end&&i.end()}}function Wo(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=St(n),s=i[1];bo(s,i,s.template,n)}}(e[8])}function Go(e,t,n){Xt(0),t(e,n)}const $o=(()=>Promise.resolve(null))();function qo(e){return e[7]||(e[7]=[])}function Yo(e){return e.cleanup||(e.cleanup=[])}function Zo(e,t,n){return(null===e||at(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Qo(e,t){const n=e[9],i=n?n.get(ds,null):null;i&&i.handleError(t)}function Xo(e,t,n,i,s){for(let o=0;o<n.length;){const r=n[o++],a=n[o++],l=t[r],c=e.data[r];null!==c.setInput?c.setInput(l,s,i,a):l[a]=s}}function Ko(e,t,n){const i=wt(t,e);!function(e,t,n){bt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function Jo(e,t,n){let i=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let r=0;r<t.length;r++){const e=t[r];"number"==typeof e?o=e:1==o?s=se(s,e):2==o&&(i=se(i,e+": "+t[++r]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=s:e.classesWithoutHost=s}const er=new Xn("INJECTOR",-1);class tr{get(e,t=li){if(t===li){const t=new Error(`NullInjectorError: No provider for ${ie(e)}!`);throw t.name="NullInjectorError",t}return t}}const nr=new Xn("Set Injector scope."),ir={},sr={},or=[];let rr=void 0;function ar(){return void 0===rr&&(rr=new tr),rr}function lr(e,t=null,n=null,i){return new cr(e,n,t||ar(),i)}class cr{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&ti(t,n=>this.processProvider(n,e,t)),ti([e],e=>this.processInjectorType(e,[],s)),this.records.set(er,hr(void 0,this));const o=this.records.get(nr);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:ie(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=li,n=Ce.Default){this.assertNotDestroyed();const i=hi(this);try{if(!(n&Ce.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Xn)&&me(e);t=n&&this.injectableDefInScope(n)?hr(dr(e),ir):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&Ce.Self?ar():this.parent).get(e,t=n&Ce.Optional&&t===li?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ie(e)),i)throw o;return function(e,t,n,i){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=ie(t);if(Array.isArray(t))s=t.map(ie).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):ie(i)))}s=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${e.replace(ci,"\n ")}`}("\n"+e.message,s,n,i),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{hi(i)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ie(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ae(e)))return!1;let i=ve(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,r=-1!==n.indexOf(o);if(void 0!==s&&(i=ve(s)),null==i)return!1;if(null!=i.imports&&!r){let e;n.push(o);try{ti(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:i}=e[t];ti(i,e=>this.processProvider(e,n,i||or))}}this.injectorDefTypes.add(o);const a=lt(o)||(()=>new o);this.records.set(o,hr(a,ir));const l=i.providers;if(null!=l&&!r){const t=e;ti(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let i=gr(e=ae(e))?e:ae(e&&e.provide);const s=function(e,t,n){return pr(e)?hr(void 0,e.useValue):hr(ur(e),ir)}(e);if(gr(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=hr(void 0,ir,!0),t.factory=()=>mi(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,s)}hydrate(e,t){var n;return t.value===ir&&(t.value=sr,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}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function dr(e){const t=me(e),n=null!==t?t.factory:lt(e);if(null!==n)return n;if(e instanceof Xn)throw new Error(`Token ${ie(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=si(t,"?");throw new Error(`Can't resolve all parameters for ${ie(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ye]||e[_e]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ur(e,t,n){let i=void 0;if(gr(e)){const t=ae(e);return lt(t)||dr(t)}if(pr(e))i=()=>ae(e.useValue);else if((s=e)&&s.useFactory)i=()=>e.useFactory(...mi(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>gi(ae(e.useExisting));else{const t=ae(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return lt(t)||dr(t);i=()=>new t(...mi(e.deps))}var s;return i}function hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pr(e){return null!==e&&"object"==typeof e&&di in e}function gr(e){return"function"==typeof e}const fr=function(e,t,n){return function(e,t=null,n=null,i){const s=lr(e,t,n,i);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let mr=(()=>{class e{static create(e,t){return Array.isArray(e)?fr(e,t,""):fr(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=li,e.NULL=new tr,e.\u0275prov=pe({token:e,providedIn:"any",factory:()=>gi(er)}),e.__NG_ELEMENT_ID__=-1,e})();function br(e,t){hn(St(e)[1],Ft())}function vr(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let s=void 0;if(at(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){i.push(s);const t=e;t.inputs=yr(e.inputs),t.declaredInputs=yr(e.declaredInputs),t.outputs=yr(e.outputs);const n=s.hostBindings;n&&xr(e,n);const o=s.viewQuery,r=s.contentQueries;if(o&&wr(e,o),r&&_r(e,r),ne(e.inputs,s.inputs),ne(e.declaredInputs,s.declaredInputs),ne(e.outputs,s.outputs),at(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let i=0;i<t.length;i++){const s=t[i];s&&s.ngInherit&&s(e),s===vr&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const s=e[i];s.hostVars=t+=s.hostVars,s.hostAttrs=xn(s.hostAttrs,n=xn(n,s.hostAttrs))}}(i)}function yr(e){return e===Le?{}:e===Be?[]:e}function wr(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function _r(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,s)=>{t(e,i,s),n(e,i,s)}:t}function xr(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let Cr=null;function Ar(){if(!Cr){const e=Re.Symbol;if(e&&e.iterator)Cr=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Cr=n)}}}return Cr}class Sr{constructor(e){this.wrapped=e}static wrap(e){return new Sr(e)}static unwrap(e){return Sr.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Sr}}function kr(e){return!!Er(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ar()in e)}function Er(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Pr(e,t,n){return e[t]=n}function Dr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Or(e,t,n,i){const s=Dr(e,t,n);return Dr(e,t+1,i)||s}function Mr(e,t,n,i,s){const o=Or(e,t,n,i);return Dr(e,t+2,s)||o}function Tr(e,t,n,i,s,o){const r=Or(e,t,n,i);return Or(e,t+2,s,o)||r}function Ir(e,t,n,i){const s=It();return Dr(s,Gt(),t)&&(Rt(),function(e,t,n,i,s,o){const r=_t(e,t);!function(e,t,n,i,s,o,r){if(null==o)bt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==r?de(o):r(o,i||"",s);bt(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[11],r,o,e.value,n,i,s)}(cn(),s,e,t,n,i)),Ir}function Rr(e,t,n,i){return Dr(e,Gt(),n)?t+de(n)+i:to}function Lr(e,t,n,i,s,o){const r=Or(e,Wt(),n,s);return $t(2),r?t+de(n)+i+de(s)+o:to}function Fr(e,t,n,i,s,o,r,a){const l=It(),c=Rt(),d=e+20,u=c.firstCreatePass?function(e,t,n,i,s,o,r,a,l){const c=t.consts,d=po(t,e,4,r||null,Pt(c,a));Eo(t,n,d,Pt(c,l)),hn(t,d);const u=d.tViews=Co(2,d,i,s,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,n,i,s,o,r):c.data[d];zt(u,!1);const h=l[11].createComment("");Ls(c,l,h,u),us(h,l),Ho(l,l[d]=Bo(h,l,h,u)),rt(u)&&wo(c,l,u),null!=r&&_o(l,u,a)}function Br(e){return Ct(Mt.lFrame.contextLView,20+e)}function zr(e,t=Ce.Default){const n=It();return null===n?gi(e,t):Bn(Ft(),n,ae(e),t)}function Vr(e,t,n){const i=It();return Dr(i,Gt(),t)&&ko(Rt(),cn(),i,e,t,i[11],n,!1),Vr}function Nr(e,t,n,i,s){const o=s?"class":"style";Xo(e,n,t.inputs[o],o,i)}function Hr(e,t,n,i){const s=It(),o=Rt(),r=20+e,a=s[11],l=s[r]=Cs(a,t,Mt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,i,s,o,r){const a=t.consts,l=po(t,e,2,s,Pt(a,o));return Eo(t,n,l,Pt(a,r)),null!==l.attrs&&Jo(l,l.attrs,!1),null!==l.mergedAttrs&&Jo(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(r,o,s,0,t,n,i):o.data[r];zt(c,!0);const d=c.mergedAttrs;null!==d&&yn(a,l,d);const u=c.classes;null!==u&&Us(a,l,u);const h=c.styles;null!==h&&js(a,l,h),64!=(64&c.flags)&&Ls(o,s,l,c),0===Mt.lFrame.elementDepthCount&&us(l,s),Mt.lFrame.elementDepthCount++,rt(c)&&(wo(o,s,c),yo(o,c,s)),null!==i&&_o(s,c)}function jr(){let e=Ft();Vt()?Nt():(e=e.parent,zt(e,!1));const t=e;Mt.lFrame.elementDepthCount--;const n=Rt();n.firstCreatePass&&(hn(n,e),st(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Nr(n,t,It(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Nr(n,t,It(),t.stylesWithoutHost,!1)}function Ur(e,t,n,i){Hr(e,t,n,i),jr()}function Wr(e,t,n){const i=It(),s=Rt(),o=e+20,r=s.firstCreatePass?function(e,t,n,i,s){const o=t.consts,r=Pt(o,i),a=po(t,e,8,"ng-container",r);return null!==r&&Jo(a,r,!0),Eo(t,n,a,Pt(o,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,s,i,t,n):s.data[o];zt(r,!0);const a=i[o]=i[11].createComment("");Ls(s,i,a,r),us(a,i),rt(r)&&(wo(s,i,r),yo(s,r,i)),null!=n&&_o(i,r)}function Gr(){let e=Ft();const t=Rt();Vt()?Nt():(e=e.parent,zt(e,!1)),t.firstCreatePass&&(hn(t,e),st(e)&&t.queries.elementEnd(e))}function $r(e,t,n){Wr(e,t,n),Gr()}function qr(){return It()}function Yr(e){return!!e&&"function"==typeof e.then}function Zr(e){return!!e&&"function"==typeof e.subscribe}const Qr=Zr;function Xr(e,t,n=!1,i){const s=It(),o=Rt(),r=Ft();return Jr(o,s,s[11],r,e,t,n,i),Xr}function Kr(e,t,n=!1,i){const s=Ft(),o=It(),r=Rt();return Jr(r,o,Zo(Zt(r.data),s,o),s,e,t,n,i),Kr}function Jr(e,t,n,i,s,o,r=!1,a){const l=rt(i),c=e.firstCreatePass&&Yo(e),d=qo(t);let u=!0;if(3&i.type){const h=_t(i,t),p=a?a(h):Le,g=p.target||h,f=d.length,m=a?e=>a(yt(e[i.index])).target:i.index;if(bt(n)){let r=null;if(!a&&l&&(r=function(e,t,n,i){const s=e.cleanup;if(null!=s)for(let o=0;o<s.length-1;o+=2){const e=s[o];if(e===n&&s[o+1]===i){const e=t[7],n=s[o+2];return e.length>n?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,s,i.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=o,r.__ngLastListenerFn__=o,u=!1;else{o=ta(i,t,o,!1);const e=n.listen(p.name||g,s,o);d.push(o,e),c&&c.push(s,m,f,f+1)}}else o=ta(i,t,o,!0),g.addEventListener(s,o,r),d.push(o),c&&c.push(s,m,f,r)}else o=ta(i,t,o,!1);const h=i.outputs;let p;if(u&&null!==h&&(p=h[s])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(o),r=d.length;d.push(o,e),c&&c.push(s,i.index,r,-(r+1))}}}function ea(e,t,n){try{return!1!==t(n)}catch(i){return Qo(e,i),!1}}function ta(e,t,n,i){return function s(o){if(o===Function)return n;const r=2&e.flags?At(e.index,t):t;0==(32&t[2])&&jo(r);let a=ea(t,n,o),l=s.__ngNextListenerFn__;for(;l;)a=ea(t,l,o)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function na(e=1){return function(e){return(Mt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Mt.lFrame.contextLView))[8]}(e)}function ia(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const o=t[s];if("*"!==o){if(null===i?Xs(e,o,!0):Ks(i,o))return s}else n=s}return n}function sa(e){const t=It()[16][6];if(!t.projection){const n=t.projection=si(e?e.length:1,null),i=n.slice();let s=t.child;for(;null!==s;){const t=e?ia(s,e):0;null!==t&&(i[t]?i[t].projectionNext=s:n[t]=s,i[t]=s),s=s.next}}}function oa(e,t=0,n){const i=It(),s=Rt(),o=po(s,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Nt(),64!=(64&o.flags)&&function(e,t,n){Hs(t[11],0,t,n,Ps(e,n,t),Is(n.parent||t[6],n,t))}(s,i,o)}function ra(e,t,n){return aa(e,"",t,"",n),ra}function aa(e,t,n,i,s){const o=It(),r=Rr(o,t,n,i);return r!==to&&ko(Rt(),cn(),o,e,r,o[11],s,!1),aa}function la(e,t,n,i,s,o,r){const a=It(),l=Lr(a,t,n,i,s,o);return l!==to&&ko(Rt(),cn(),a,e,l,a[11],r,!1),la}function ca(e,t,n,i,s){const o=e[n+1],r=null===t;let a=i?oo(o):ao(o),l=!1;for(;0!==a&&(!1===l||r);){const n=e[a+1];da(e[a],t)&&(l=!0,e[a+1]=i?co(n):ro(n)),a=i?oo(n):ao(n)}l&&(e[n+1]=i?ro(o):co(o))}function da(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ai(e,t)>=0}const ua={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ha(e){return e.substring(ua.key,ua.keyEnd)}function pa(e,t){const n=ua.textEnd;return n===t?-1:(t=ua.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ua.key=t,n),ga(e,t,n))}function ga(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function fa(e,t,n){return ya(e,t,n,!1),fa}function ma(e,t){return ya(e,t,null,!0),ma}function ba(e){wa(oi,va,e,!0)}function va(e,t){for(let n=function(e){return function(e){ua.key=0,ua.keyEnd=0,ua.value=0,ua.valueEnd=0,ua.textEnd=e.length}(e),pa(e,ga(e,0,ua.textEnd))}(t);n>=0;n=pa(t,n))oi(e,ha(t),!0)}function ya(e,t,n,i){const s=It(),o=Rt(),r=$t(2);o.firstUpdatePass&&xa(o,e,r,i),t!==to&&Dr(s,r,t)&&Sa(o,o.data[an()],s,s[11],e,s[r+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Mi(e)))),e}(t,n),i,r)}function wa(e,t,n,i){const s=Rt(),o=$t(2);s.firstUpdatePass&&xa(s,null,o,i);const r=It();if(n!==to&&Dr(r,o,n)){const a=s.data[an()];if(Pa(a,i)&&!_a(s,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=se(e,n||"")),Nr(s,a,r,n,i)}else!function(e,t,n,i,s,o,r,a){s===to&&(s=Fe);let l=0,c=0,d=0<s.length?s[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const h=l<s.length?s[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let g=null,f=void 0;d===u?(l+=2,c+=2,h!==p&&(g=u,f=p)):null===u||null!==d&&d<u?(l+=2,g=d):(c+=2,g=u,f=p),null!==g&&Sa(e,t,n,i,g,f,r,a),d=l<s.length?s[l]:null,u=c<o.length?o[c]:null}}(s,a,r,r[11],r[o+1],r[o+1]=function(e,t,n){if(null==n||""===n)return Fe;const i=[],s=Mi(n);if(Array.isArray(s))for(let o=0;o<s.length;o++)e(i,s[o],!0);else if("object"==typeof s)for(const o in s)s.hasOwnProperty(o)&&e(i,o,s[o]);else"string"==typeof s&&t(i,s);return i}(e,t,n),i,o)}}function _a(e,t){return t>=e.expandoStartIndex}function xa(e,t,n,i){const s=e.data;if(null===s[n+1]){const o=s[an()],r=_a(e,n);Pa(o,i)&&null===t&&!r&&(t=!1),t=function(e,t,n,i){const s=Zt(e);let o=i?t.residualClasses:t.residualStyles;if(null===s)0===(i?t.classBindings:t.styleBindings)&&(n=Aa(n=Ca(null,e,t,n,i),t.attrs,i),o=null);else{const r=t.directiveStylingLast;if(-1===r||e[r]!==s)if(n=Ca(s,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ao(i))return e[oo(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=Ca(null,e,t,n[1],i),n=Aa(n,t.attrs,i),function(e,t,n,i){e[oo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i=void 0;const s=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<s;o++)i=Aa(i,e[o].hostAttrs,n);return Aa(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(s,o,t,i),function(e,t,n,i,s,o){let r=o?t.classBindings:t.styleBindings,a=oo(r),l=ao(r);e[i]=n;let c,d=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||ai(e,c)>0)&&(d=!0)}else c=n;if(s)if(0!==l){const t=oo(e[a+1]);e[i+1]=so(t,a),0!==t&&(e[t+1]=lo(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=so(a,0),0!==a&&(e[a+1]=lo(e[a+1],i)),a=i;else e[i+1]=so(l,0),0===a?a=i:e[l+1]=lo(e[l+1],i),l=i;d&&(e[i+1]=ro(e[i+1])),ca(e,c,i,!0),ca(e,c,i,!1),function(e,t,n,i,s){const o=s?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ai(o,t)>=0&&(n[i+1]=co(n[i+1]))}(t,c,e,i,o),r=so(a,l),o?t.classBindings=r:t.styleBindings=r}(s,o,t,n,r,i)}}function Ca(e,t,n,i,s){let o=null;const r=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<r&&(o=t[a],i=Aa(i,o.hostAttrs,s),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Aa(e,t,n){const i=n?1:2;let s=-1;if(null!==t)for(let o=0;o<t.length;o++){const r=t[o];"number"==typeof r?s=r:s===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),oi(e,r,!!n||t[++o]))}return void 0===e?null:e}function Sa(e,t,n,i,s,o,r,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];Ea(1==(1&c)?ka(l,t,n,s,ao(c),r):void 0)||(Ea(o)||2==(2&c)&&(o=ka(l,null,n,s,a,r)),function(e,t,n,i,s){const o=bt(e);if(t)s?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{let t=-1===i.indexOf("-")?void 0:ms.DashCase;if(null==s)o?e.removeStyle(n,i,t):n.style.removeProperty(i);else{const r="string"==typeof s&&s.endsWith("!important");r&&(s=s.slice(0,-10),t|=ms.Important),o?e.setStyle(n,i,s,t):n.style.setProperty(i,s,r?"important":"")}}}(i,r,wt(an(),n),s,o))}function ka(e,t,n,i,s,o){const r=null===t;let a=void 0;for(;s>0;){const t=e[s],o=Array.isArray(t),l=o?t[1]:t,c=null===l;let d=n[s+1];d===to&&(d=c?Fe:void 0);let u=c?ri(d,i):l===i?d:void 0;if(o&&!Ea(u)&&(u=ri(t,i)),Ea(u)&&(a=u,r))return a;const h=e[s+1];s=r?oo(h):ao(h)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=ri(e,i))}return a}function Ea(e){return void 0!==e}function Pa(e,t){return 0!=(e.flags&(t?16:32))}function Da(e,t=""){const n=It(),i=Rt(),s=e+20,o=i.firstCreatePass?po(i,s,1,t,null):i.data[s],r=n[s]=function(e,t){return bt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Ls(i,n,r,o),zt(o,!1)}function Oa(e){return Ma("",e,""),Oa}function Ma(e,t,n){const i=It(),s=Rr(i,e,t,n);return s!==to&&Ko(i,an(),s),Ma}function Ta(e,t,n,i,s){const o=It(),r=Lr(o,e,t,n,i,s);return r!==to&&Ko(o,an(),r),Ta}function Ia(e,t,n,i,s,o,r){const a=It(),l=function(e,t,n,i,s,o,r,a){const l=Mr(e,Wt(),n,s,r);return $t(3),l?t+de(n)+i+de(s)+o+de(r)+a:to}(a,e,t,n,i,s,o,r);return l!==to&&Ko(a,an(),l),Ia}function Ra(e,t,n,i,s,o,r,a,l){const c=It(),d=function(e,t,n,i,s,o,r,a,l,c){const d=Tr(e,Wt(),n,s,r,l);return $t(4),d?t+de(n)+i+de(s)+o+de(r)+a+de(l)+c:to}(c,e,t,n,i,s,o,r,a,l);return d!==to&&Ko(c,an(),d),Ra}function La(e,t,n){wa(oi,va,Rr(It(),e,t,n),!0)}function Fa(e,t,n){const i=It();return Dr(i,Gt(),t)&&ko(Rt(),cn(),i,e,t,i[11],n,!0),Fa}function Ba(e,t,n){const i=It();if(Dr(i,Gt(),t)){const s=Rt(),o=cn();ko(s,o,i,e,t,Zo(Zt(s.data),o,i),n,!0)}return Ba}const za=void 0;var Va=["en",[["a","p"],["AM","PM"],za],[["AM","PM"],za,za],[["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"]],za,[["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"]],za,[["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}",za,"{1} 'at' {0}",za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Na={};function Ha(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ja(t);if(n)return n;const i=t.split("-")[0];if(n=ja(i),n)return n;if("en"===i)return Va;throw new Error(`Missing locale data for the locale "${e}".`)}function ja(e){return e in Na||(Na[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),Na[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});let Wa="en-US";function Ga(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Wa=e.toLowerCase().replace(/_/g,"-"))}function $a(e,t,n,i,s){if(e=ae(e),Array.isArray(e))for(let o=0;o<e.length;o++)$a(e[o],t,n,i,s);else{const o=Rt(),r=It();let a=gr(e)?e:ae(e.provide),l=ur(e);const c=Ft(),d=1048575&c.providerIndexes,u=c.directiveStart,h=c.providerIndexes>>20;if(gr(e)||!e.multi){const i=new vn(l,s,zr),p=Za(a,t,s?d:d+h,u);-1===p?(Rn(On(c,r),o,a),qa(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),r.push(i)):(n[p]=i,r[p]=i)}else{const p=Za(a,t,d+h,u),g=Za(a,t,d,d+h),f=p>=0&&n[p],m=g>=0&&n[g];if(s&&!m||!s&&!f){Rn(On(c,r),o,a);const d=function(e,t,n,i,s){const o=new vn(e,n,zr);return o.multi=[],o.index=t,o.componentProviders=0,Ya(o,s,i&&!n),o}(s?Xa:Qa,n.length,s,i,l);!s&&m&&(n[g].providerFactory=d),qa(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(d),r.push(d)}else qa(o,e,p>-1?p:g,Ya(n[s?g:p],l,!s&&i));!s&&i&&m&&n[g].componentProviders++}}}function qa(e,t,n,i){const s=gr(t);if(s||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const r=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const e=r.indexOf(n);-1===e?r.push(n,[i,o]):r[e+1].push(i,o)}else r.push(n,o)}}}function Ya(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Za(e,t,n,i){for(let s=n;s<i;s++)if(t[s]===e)return s;return-1}function Qa(e,t,n,i){return Ka(this.multi,[])}function Xa(e,t,n,i){const s=this.multi;let o;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=jn(n,n[1],this.providerFactory.index,i);o=t.slice(0,e),Ka(s,o);for(let n=e;n<t.length;n++)o.push(t[n])}else o=[],Ka(s,o);return o}function Ka(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ja(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=Rt();if(i.firstCreatePass){const s=at(e);$a(n,i.data,i.blueprint,s,!0),$a(t,i.data,i.blueprint,s,!1)}}(n,i?i(e):e,t)}}class el{}class tl{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let nl=(()=>{class e{}return e.NULL=new tl,e})();function il(...e){}function sl(e,t){return new rl(_t(e,t))}const ol=function(){return sl(Ft(),It())};let rl=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=ol,e})();function al(e){return e instanceof rl?e.nativeElement:e}class ll{}let cl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>dl(),e})();const dl=function(){const e=It(),t=At(Ft().index,e);return function(e){return e[11]}(nt(t)?t:e)};let ul=(()=>{class e{}return e.\u0275prov=pe({token:e,providedIn:"root",factory:()=>null}),e})();class hl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const pl=new hl("11.2.6");class gl{constructor(){}supports(e){return kr(e)}create(e){return new ml(e)}}const fl=(e,t)=>t;class ml{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||fl}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<wl(n,i,s)?t:n,r=wl(o,i,s),a=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{s||(s=[]);const e=r-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<s.length?s[n]:s[n]=0,o=i+n;t<=o&&o<e&&(s[n]=i+1)}s[o.previousIndex]=t-e}}r!==a&&e(o,r,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!kr(e))throw new Error(`Error trying to diff '${ie(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,i)?(o&&(s=this._verifyReinsertion(s,n,i,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Ar()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,e=>{i=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,i)?(o&&(s=this._verifyReinsertion(s,e,i,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,i,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,i)):e=this._addAfter(new bl(t,n),s,i),e}_verifyReinsertion(e,t,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,s=e._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new yl),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class bl{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class vl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class yl{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new vl,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function wl(e,t,n){const i=e.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+t+s}class _l{constructor(){}supports(e){return e instanceof Map||Er(e)}create(){return new xl}}class xl{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Er(e)))throw new Error(`Error trying to diff '${ie(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Cl(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Cl{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Al(){return new Sl([new gl])}let Sl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Al()),deps:[[e,new wi,new yi]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=pe({token:e,providedIn:"root",factory:Al}),e})();function kl(){return new El([new _l])}let El=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||kl()),deps:[[e,new wi,new yi]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=pe({token:e,providedIn:"root",factory:kl}),e})();function Pl(e,t,n,i,s=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(yt(o)),it(o))for(let e=10;e<o.length;e++){const t=o[e],n=t[1].firstChild;null!==n&&Pl(t[1],t,n,i)}const r=n.type;if(8&r)Pl(e,t,n.child,i);else if(32&r){const e=bs(n,t);let s;for(;s=e();)i.push(s)}else if(16&r){const e=Bs(t,n);if(Array.isArray(e))i.push(...e);else{const n=vs(t[16]);Pl(n[1],n,e,i,!0)}}n=s?n.projectionNext:n.next}return i}class Dl{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return Pl(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(it(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Ss(e,n),ii(t,n))}this._attachedToViewContainer=!1}ks(this._lView[1],this._lView)}onDestroy(e){Ao(this._lView[1],this._lView,null,e)}markForCheck(){jo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Uo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){jt(!0);try{Uo(e,t,n)}finally{jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Ns(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ol extends Dl{constructor(e){super(e),this._view=e}detectChanges(){Wo(this._view)}checkNoChanges(){!function(e){jt(!0);try{Wo(e)}finally{jt(!1)}}(this._view)}get context(){return null}}const Ml=Il;let Tl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ml,e.__ChangeDetectorRef__=!0,e})();function Il(e=!1){return function(e,t,n){if(!n&&ot(e)){const n=At(e.index,t);return new Dl(n,n)}return 47&e.type?new Dl(t[16],t):null}(Ft(),It(),e)}const Rl=[new _l],Ll=new Sl([new gl]),Fl=new El(Rl),Bl=function(){return Hl(Ft(),It())};let zl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Bl,e})();const Vl=zl,Nl=class extends Vl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=ho(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),fo(t,n,e),new Dl(n)}};function Hl(e,t){return 4&e.type?new Nl(t,e,sl(e,t)):null}class jl{}class Ul{}const Wl=function(){return Ql(Ft(),It())};let Gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Wl,e})();const $l=Gl,ql=class extends $l{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return sl(this._hostTNode,this._hostLView)}get injector(){return new Gn(this._hostTNode,this._hostLView)}get parentInjector(){const e=In(this._hostTNode,this._hostLView);if(An(e)){const t=kn(e,this._hostLView),n=Sn(e);return new Gn(t[1].data[n+8],t)}return new Gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Yl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,s){const o=n||this.parentInjector;if(!s&&null==e.ngModule&&o){const e=o.get(jl,null);e&&(s=e)}const r=e.create(o,i,void 0,s);return this.insert(r.hostView,t),r}insert(e,t){const n=e._lView,i=n[1];if(it(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new ql(t,t[6],t[3]);i.detach(i.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,i){const s=10+i,o=n.length;i>0&&(n[s-1][4]=t),i<o-10?(t[4]=n[s],ni(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const r=t[17];null!==r&&n!==r&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(r,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(i,n,o,s);const r=zs(s,o),a=n[11],l=Ts(a,o[7]);return null!==l&&function(e,t,n,i,s,o){i[0]=s,i[6]=t,Ns(e,i,n,1,s,o)}(i,o[6],a,n,l,r),e.attachToViewContainerRef(),ni(Zl(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Yl(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Ss(this._lContainer,t);n&&(ii(Zl(this._lContainer),t),ks(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Ss(this._lContainer,t);return n&&null!=ii(Zl(this._lContainer),t)?new Dl(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Yl(e){return e[8]}function Zl(e){return e[8]||(e[8]=[])}function Ql(e,t){let n;const i=t[e.index];if(it(i))n=i;else{let s;if(8&e.type)s=yt(i);else{const n=t[11];s=n.createComment("");const i=_t(e,t);Ds(n,Ts(n,i),s,function(e,t){return bt(e)?e.nextSibling(t):t.nextSibling}(n,i),!1)}t[e.index]=n=Bo(i,t,s,e),Ho(t,n)}return new ql(n,e,t)}const Xl={};class Kl extends nl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=et(e);return new tc(t,this.ngModule)}}function Jl(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const ec=new Xn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hs});class tc extends el{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(eo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Jl(this.componentDef.inputs)}get outputs(){return Jl(this.componentDef.outputs)}create(e,t,n,i){const s=(i=i||this.ngModule)?function(e,t){return{get:(n,i,s)=>{const o=e.get(n,Xl,s);return o!==Xl||i===Xl?o:t.get(n,i,s)}}}(e,i.injector):e,o=s.get(ll,vt),r=s.get(ul,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(bt(e))return e.selectRootElement(t,n===De.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Cs(o.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:hs,clean:$o,playerHandler:null,flags:0},h=Co(0,null,null,1,0,null,null,null,null,null),p=ho(null,h,u,d,null,null,o,a,r,s);let g,f;en(p);try{const e=function(e,t,n,i,s,o){const r=n[1];n[20]=e;const a=po(r,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Jo(a,l,!0),null!==e&&(yn(s,e,l),null!==a.classes&&Us(s,e,a.classes),null!==a.styles&&js(s,e,a.styles)));const c=i.createRenderer(e,t),d=ho(n,xo(t),null,t.onPush?64:16,n[20],a,i,c,null,null);return r.firstCreatePass&&(Rn(On(a,n),r,t.type),Oo(r,a),To(a,n.length,1)),Ho(n,d),n[20]=d}(c,this.componentDef,p,o,a);if(c)if(n)yn(a,c,["ng-version",pl.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,s=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++i]):8===s&&n.push(o);else{if(!Zs(s))break;s=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(a,c,e),t&&t.length>0&&Us(a,c,t.join(" "))}if(f=xt(h,20),void 0!==t){const e=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=t[n];e.push(null!=i?Array.from(i):null)}}g=function(e,t,n,i,s){const o=n[1],r=function(e,t,n){const i=Ft();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Io(e,i,t,go(e,t,1,null),n));const s=jn(t,e,i.directiveStart,i);us(s,t);const o=_t(i,t);return o&&us(o,t),s}(o,n,t);if(i.components.push(r),e[8]=r,s&&s.forEach(e=>e(r,t)),t.contentQueries){const e=Ft();t.contentQueries(1,r,e.directiveStart)}const a=Ft();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ln(a.index),Po(n[1],a,0,a.directiveStart,a.directiveEnd,t),Do(t,r)),r}(e,this.componentDef,p,u,[br]),fo(h,p,null)}finally{rn()}return new nc(this.componentType,g,sl(f,p),p,f)}}class nc extends class{}{constructor(e,t,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new Ol(i),this.componentType=e}get injector(){return new Gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const ic=new Map;class sc extends jl{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Kl(this);const n=tt(e),i=e[je]||null;i&&Ga(i),this._bootstrapComponents=fs(n.bootstrap),this._r3Injector=lr(e,t,[{provide:jl,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],ie(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=mr.THROW_IF_NOT_FOUND,n=Ce.Default){return e===mr||e===jl||e===er?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class oc extends Ul{constructor(e){super(),this.moduleType=e,null!==tt(e)&&function(e){const t=new Set;!function e(n){const i=tt(n,!0),s=i.id;null!==s&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ie(t)} vs ${ie(t.name)}`)}(s,ic.get(s),n),ic.set(s,n));const o=fs(i.imports);for(const r of o)t.has(r)||(t.add(r),e(r))}(e)}(e)}create(e){return new sc(this.moduleType,e)}}function rc(e,t,n){const i=Ut()+e,s=It();return s[i]===to?Pr(s,i,n?t.call(n):t()):function(e,t){return e[t]}(s,i)}function ac(e,t,n,i){return dc(It(),Ut(),e,t,n,i)}function lc(e,t,n,i,s){return uc(It(),Ut(),e,t,n,i,s)}function cc(e,t){const n=e[t];return n===to?void 0:n}function dc(e,t,n,i,s,o){const r=t+n;return Dr(e,r,s)?Pr(e,r+1,o?i.call(o,s):i(s)):cc(e,r+1)}function uc(e,t,n,i,s,o,r){const a=t+n;return Or(e,a,s,o)?Pr(e,a+2,r?i.call(r,s,o):i(s,o)):cc(e,a+2)}function hc(e,t){const n=Rt();let i;const s=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new ce("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const o=i.factory||(i.factory=lt(i.type)),r=Se(zr);try{const e=Pn(!1),t=o();return Pn(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,It(),s,t),t}finally{Se(r)}}function pc(e,t,n){const i=e+20,s=It(),o=Ct(s,i);return vc(s,bc(s,i)?dc(s,Ut(),t,o.transform,n,o):o.transform(n))}function gc(e,t,n,i){const s=e+20,o=It(),r=Ct(o,s);return vc(o,bc(o,s)?uc(o,Ut(),t,r.transform,n,i,r):r.transform(n,i))}function fc(e,t,n,i,s){const o=e+20,r=It(),a=Ct(r,o);return vc(r,bc(r,o)?function(e,t,n,i,s,o,r,a){const l=t+n;return Mr(e,l,s,o,r)?Pr(e,l+3,a?i.call(a,s,o,r):i(s,o,r)):cc(e,l+3)}(r,Ut(),t,a.transform,n,i,s,a):a.transform(n,i,s))}function mc(e,t,n,i,s,o){const r=e+20,a=It(),l=Ct(a,r);return vc(a,bc(a,r)?function(e,t,n,i,s,o,r,a,l){const c=t+n;return Tr(e,c,s,o,r,a)?Pr(e,c+4,l?i.call(l,s,o,r,a):i(s,o,r,a)):cc(e,c+4)}(a,Ut(),t,l.transform,n,i,s,o,l):l.transform(n,i,s,o))}function bc(e,t){return e[1].data[t].pure}function vc(e,t){return Sr.isWrapped(t)&&(t=Sr.unwrap(t),e[Wt()]=to),t}const yc=class extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,s=e=>null,o=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const r=super.subscribe(i,s,o);return e instanceof u&&e.add(r),r}};function wc(){return this._results[Ar()]()}class _c{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Ar(),n=_c.prototype;n[t]||(n[t]=wc)}get changes(){return this._changes||(this._changes=new yc)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=ei(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let s=e[i],o=t[i];if(n&&(s=n(s),o=n(o)),o!==s)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class xc{constructor(e){this.queryList=e,this.matches=null}clone(){return new xc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);i.push(this.queries[n.indexInDeclarationView].clone())}return new Cc(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Bc(e,t).matches&&this.queries[t].setDirty()}}class Ac{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class Sc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,i);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new Sc(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class kc{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new kc(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const s=n[i];this.matchTNodeWithReadOption(e,t,Ec(t,s)),this.matchTNodeWithReadOption(e,t,Hn(t,e,s,!1,!1))}else n===zl?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Hn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===rl||i===Gl||i===zl&&4&t.type)this.addMatch(t.index,-2);else{const n=Hn(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Ec(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Pc(e,t,n,i){return-1===n?function(e,t){return 11&e.type?sl(e,t):4&e.type?Hl(e,t):null}(t,e):-2===n?function(e,t,n){return n===rl?sl(t,e):n===zl?Hl(t,e):n===Gl?Ql(t,e):void 0}(e,t,i):jn(e,e[1],n,t)}function Dc(e,t,n,i){const s=t[19].queries[i];if(null===s.matches){const i=e.data,o=n.matches,r=[];for(let e=0;e<o.length;e+=2){const s=o[e];r.push(s<0?null:Pc(t,i[s],o[e+1],n.metadata.read))}s.matches=r}return s.matches}function Oc(e,t,n,i){const s=e.queries.getByIndex(n),o=s.matches;if(null!==o){const r=Dc(e,t,s,n);for(let e=0;e<o.length;e+=2){const n=o[e];if(n>0)i.push(r[e/2]);else{const s=o[e+1],r=t[-n];for(let e=10;e<r.length;e++){const t=r[e];t[17]===t[3]&&Oc(t[1],t,s,i)}if(null!==r[9]){const e=r[9];for(let t=0;t<e.length;t++){const n=e[t];Oc(n[1],n,s,i)}}}}}return i}function Mc(e){const t=It(),n=Rt(),i=Qt();Xt(i+1);const s=Bc(n,i);if(e.dirty&&kt(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const o=s.crossesNgTemplate?Oc(n,t,i,[]):Dc(n,t,s,i);e.reset(o,al),e.notifyOnChanges()}return!0}return!1}function Tc(e,t,n){const i=Rt();i.firstCreatePass&&(Fc(i,new Ac(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Lc(i,It(),t)}function Ic(e,t,n,i){const s=Rt();if(s.firstCreatePass){const o=Ft();Fc(s,new Ac(t,n,i),o.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}Lc(s,It(),n)}function Rc(){return e=It(),t=Qt(),e[19].queries[t].queryList;var e,t}function Lc(e,t,n){const i=new _c(4==(4&n));Ao(e,t,i,i.destroy),null===t[19]&&(t[19]=new Cc),t[19].queries.push(new xc(i))}function Fc(e,t,n){null===e.queries&&(e.queries=new Sc),e.queries.track(new kc(t,n))}function Bc(e,t){return e.queries.getByIndex(t)}function zc(e,t){return Hl(e,t)}function Vc(e=Ce.Default){const t=Il(!0);if(null!=t||e&Ce.Optional)return t;he("ChangeDetectorRef")}const Nc=new Xn("Application Initializer");let Hc=(()=>{class e{constructor(e){this.appInits=e,this.resolve=il,this.reject=il,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Yr(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(gi(Nc,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const jc=new Xn("AppId"),Uc={provide:jc,useFactory:function(){return`${Wc()}${Wc()}${Wc()}`},deps:[]};function Wc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gc=new Xn("Platform Initializer"),$c=new Xn("Platform ID"),qc=new Xn("appBootstrapListener");let Yc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Zc=new Xn("LocaleId"),Qc=new Xn("DefaultCurrencyCode");class Xc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Kc=function(e){return new oc(e)},Jc=Kc,ed=function(e){return Promise.resolve(Kc(e))},td=function(e){const t=Kc(e),n=fs(tt(e).declarations).reduce((e,t)=>{const n=et(t);return n&&e.push(new tc(n)),e},[]);return new Xc(t,n)},nd=td,id=function(e){return Promise.resolve(td(e))};let sd=(()=>{class e{constructor(){this.compileModuleSync=Jc,this.compileModuleAsync=ed,this.compileModuleAndAllComponentsSync=nd,this.compileModuleAndAllComponentsAsync=id}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const od=(()=>Promise.resolve(0))();function rd(e){"undefined"==typeof Zone?od.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ad{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new yc(!1),this.onMicrotaskEmpty=new yc(!1),this.onStable=new yc(!1),this.onError=new yc(!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.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&t,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,dd(e),cd(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),dd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,o,r,a)=>{try{return ud(e),n.invokeTask(s,o,r,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),hd(e)}},onInvoke:(n,i,s,o,r,a,l)=>{try{return ud(e),n.invoke(s,o,r,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),hd(e)}},onHasTask:(t,n,i,s)=>{t.hasTask(i,s),n===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,dd(e),cd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,i,s)=>(t.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ad.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ad.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,ld,il,il);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const ld={};function cd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function dd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ud(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hd(e){e._nesting--,cd(e)}class pd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new yc,this.onMicrotaskEmpty=new yc,this.onStable=new yc,this.onError=new yc}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let gd=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ad.assertNotInAngularZone(),rd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())rd(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),fd=(()=>{class e{constructor(){this._applications=new Map,vd.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return vd.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class md{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let bd,vd=new md,yd=!0,wd=!1;function _d(){return wd=!0,yd}const xd=new Xn("AllowMultipleToken");class Cd{constructor(e,t){this.name=e,this.token=t}}function Ad(e,t,n=[]){const i="Platform: "+t,s=new Xn(i);return(t=[])=>{let o=Sd();if(!o||o.injector.get(xd,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:nr,useValue:"platform"});!function(e){if(bd&&!bd.destroyed&&!bd.injector.get(xd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");bd=e.get(kd);const t=e.get(Gc,null);t&&t.forEach(e=>e())}(mr.create({providers:e,name:i}))}return function(e){const t=Sd();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}(s)}}function Sd(){return bd&&!bd.destroyed?bd:null}let kd=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new pd:("zone.js"===e?void 0:e)||new ad({enableLongStackTrace:_d(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:ad,useValue:n}];return n.run(()=>{const t=mr.create({providers:i,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(ds,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});s.onDestroy(()=>{Dd(this._modules,s),e.unsubscribe()})}),function(e,t,n){try{const i=n();return Yr(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=s.injector.get(Hc);return e.runInitializers(),e.donePromise.then(()=>(Ga(s.injector.get(Zc,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Ed({},t);return function(e,t,n){const i=new oc(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Pd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ie(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)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Ed(e,t){return Array.isArray(t)?t.reduce(Ed,e):Object.assign(Object.assign({},e),t)}let Pd=(()=>{class e{constructor(e,t,n,i,s){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),r=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{ad.assertNotInAngularZone(),rd(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ad.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=G(o,r.pipe(ee()))}bootstrap(e,t){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.");let n;n=e instanceof el?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(jl),s=n.create(mr.NULL,[],t||n.selector,i),o=s.location.nativeElement,r=s.injector.get(gd,null),a=r&&s.injector.get(fd);return r&&a&&a.registerApplication(o,r),s.onDestroy(()=>{this.detachView(s.hostView),Dd(this.components,s),a&&a.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Dd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(qc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(mr),gi(ds),gi(nl),gi(Hc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Dd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Od{}class Md{}const Td={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Id=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Td}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("MYvV")(t).then(e=>e[i]).then(e=>Rd(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n("MYvV")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+s]).then(e=>Rd(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(gi(sd),gi(Md,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Rd(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Ld=Ad(null,"core",[{provide:$c,useValue:"unknown"},{provide:kd,deps:[mr]},{provide:fd,deps:[]},{provide:Yc,deps:[]}]),Fd=[{provide:Pd,useClass:Pd,deps:[ad,mr,ds,nl,Hc]},{provide:ec,deps:[ad],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Hc,useClass:Hc,deps:[[new yi,Nc]]},{provide:sd,useClass:sd,deps:[]},Uc,{provide:Sl,useFactory:function(){return Ll},deps:[]},{provide:El,useFactory:function(){return Fl},deps:[]},{provide:Zc,useFactory:function(e){return Ga(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new vi(Zc),new yi,new wi]]},{provide:Qc,useValue:"USD"}];let Bd=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(gi(Pd))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Fd}),e})();const zd={production:!0,VERSION:n("kiQV").version,AUTHOR:n("kiQV").author};let Vd=null;function Nd(){return Vd}const Hd=new Xn("DocumentToken");let jd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:Ud,token:e,providedIn:"platform"}),e})();function Ud(){return gi(Gd)}const Wd=new Xn("Location Initialized");let Gd=(()=>{class e extends jd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Nd().getLocation(),this._history=Nd().getHistory()}getBaseHrefFromDOM(){return Nd().getBaseHref(this._doc)}onPopState(e){Nd().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Nd().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){$d()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){$d()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:qd,token:e,providedIn:"platform"}),e})();function $d(){return!!window.history.pushState}function qd(){return new Gd(gi(Hd))}function Yd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Zd(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Qd(e){return e&&"?"!==e[0]?"?"+e:e}let Xd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:Kd,token:e,providedIn:"root"}),e})();function Kd(e){const t=gi(Hd).location;return new eu(gi(jd),t&&t.origin||"")}const Jd=new Xn("appBaseHref");let eu=(()=>{class e extends Xd{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Yd(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Qd(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const s=this.prepareExternalUrl(n+Qd(i));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,i){const s=this.prepareExternalUrl(n+Qd(i));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(jd),gi(Jd,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),tu=(()=>{class e extends Xd{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Yd(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let s=this.prepareExternalUrl(n+Qd(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,i){let s=this.prepareExternalUrl(n+Qd(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(gi(jd),gi(Jd,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),nu=(()=>{class e{constructor(e,t){this._subject=new yc,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=Zd(su(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Qd(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,su(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qd(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qd(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(gi(Xd),gi(jd))},e.normalizeQueryParams=Qd,e.joinWithSlash=Yd,e.stripTrailingSlash=Zd,e.\u0275prov=pe({factory:iu,token:e,providedIn:"root"}),e})();function iu(){return new nu(gi(Xd),gi(jd))}function su(e){return e.replace(/\/index.html$/,"")}var ou=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),ru=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),au=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),lu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),cu=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function du(e,t){return fu(Ha(e)[Ua.DateFormat],t)}function uu(e,t){return fu(Ha(e)[Ua.TimeFormat],t)}function hu(e,t){return fu(Ha(e)[Ua.DateTimeFormat],t)}function pu(e,t){const n=Ha(e),i=n[Ua.NumberSymbols][t];if(void 0===i){if(t===cu.CurrencyDecimal)return n[Ua.NumberSymbols][cu.Decimal];if(t===cu.CurrencyGroup)return n[Ua.NumberSymbols][cu.Group]}return i}function gu(e){if(!e[Ua.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Ua.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fu(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function mu(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const bu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,vu={},yu=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var wu=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),_u=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),xu=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Cu(e,t,n,i){let s=function(e){if(Fu(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return Au(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(bu))return function(e){const t=new Date(0);let n=0,i=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const r=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,r,a,l,c),t}(n)}const t=new Date(e);if(!Fu(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=Su(n,t)||t;let o,r=[];for(;t;){if(o=yu.exec(t),!o){r.push(t);break}{r=r.concat(o.slice(1));const e=r.pop();if(!e)break;t=e}}let a=s.getTimezoneOffset();i&&(a=Lu(i,a),s=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Lu(t,i)-i))}(s,i));let l="";return r.forEach(e=>{const t=function(e){if(Ru[e])return Ru[e];let t;switch(e){case"G":case"GG":case"GGG":t=Du(xu.Eras,au.Abbreviated);break;case"GGGG":t=Du(xu.Eras,au.Wide);break;case"GGGGG":t=Du(xu.Eras,au.Narrow);break;case"y":t=Pu(_u.FullYear,1,0,!1,!0);break;case"yy":t=Pu(_u.FullYear,2,0,!0,!0);break;case"yyy":t=Pu(_u.FullYear,3,0,!1,!0);break;case"yyyy":t=Pu(_u.FullYear,4,0,!1,!0);break;case"Y":t=Iu(1);break;case"YY":t=Iu(2,!0);break;case"YYY":t=Iu(3);break;case"YYYY":t=Iu(4);break;case"M":case"L":t=Pu(_u.Month,1,1);break;case"MM":case"LL":t=Pu(_u.Month,2,1);break;case"MMM":t=Du(xu.Months,au.Abbreviated);break;case"MMMM":t=Du(xu.Months,au.Wide);break;case"MMMMM":t=Du(xu.Months,au.Narrow);break;case"LLL":t=Du(xu.Months,au.Abbreviated,ru.Standalone);break;case"LLLL":t=Du(xu.Months,au.Wide,ru.Standalone);break;case"LLLLL":t=Du(xu.Months,au.Narrow,ru.Standalone);break;case"w":t=Tu(1);break;case"ww":t=Tu(2);break;case"W":t=Tu(1,!0);break;case"d":t=Pu(_u.Date,1);break;case"dd":t=Pu(_u.Date,2);break;case"E":case"EE":case"EEE":t=Du(xu.Days,au.Abbreviated);break;case"EEEE":t=Du(xu.Days,au.Wide);break;case"EEEEE":t=Du(xu.Days,au.Narrow);break;case"EEEEEE":t=Du(xu.Days,au.Short);break;case"a":case"aa":case"aaa":t=Du(xu.DayPeriods,au.Abbreviated);break;case"aaaa":t=Du(xu.DayPeriods,au.Wide);break;case"aaaaa":t=Du(xu.DayPeriods,au.Narrow);break;case"b":case"bb":case"bbb":t=Du(xu.DayPeriods,au.Abbreviated,ru.Standalone,!0);break;case"bbbb":t=Du(xu.DayPeriods,au.Wide,ru.Standalone,!0);break;case"bbbbb":t=Du(xu.DayPeriods,au.Narrow,ru.Standalone,!0);break;case"B":case"BB":case"BBB":t=Du(xu.DayPeriods,au.Abbreviated,ru.Format,!0);break;case"BBBB":t=Du(xu.DayPeriods,au.Wide,ru.Format,!0);break;case"BBBBB":t=Du(xu.DayPeriods,au.Narrow,ru.Format,!0);break;case"h":t=Pu(_u.Hours,1,-12);break;case"hh":t=Pu(_u.Hours,2,-12);break;case"H":t=Pu(_u.Hours,1);break;case"HH":t=Pu(_u.Hours,2);break;case"m":t=Pu(_u.Minutes,1);break;case"mm":t=Pu(_u.Minutes,2);break;case"s":t=Pu(_u.Seconds,1);break;case"ss":t=Pu(_u.Seconds,2);break;case"S":t=Pu(_u.FractionalSeconds,1);break;case"SS":t=Pu(_u.FractionalSeconds,2);break;case"SSS":t=Pu(_u.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ou(wu.Short);break;case"ZZZZZ":t=Ou(wu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ou(wu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ou(wu.Long);break;default:return null}return Ru[e]=t,t}(e);l+=t?t(s,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Au(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Su(e,t){const n=function(e){return Ha(e)[Ua.LocaleId]}(e);if(vu[n]=vu[n]||{},vu[n][t])return vu[n][t];let i="";switch(t){case"shortDate":i=du(e,lu.Short);break;case"mediumDate":i=du(e,lu.Medium);break;case"longDate":i=du(e,lu.Long);break;case"fullDate":i=du(e,lu.Full);break;case"shortTime":i=uu(e,lu.Short);break;case"mediumTime":i=uu(e,lu.Medium);break;case"longTime":i=uu(e,lu.Long);break;case"fullTime":i=uu(e,lu.Full);break;case"short":const t=Su(e,"shortTime"),n=Su(e,"shortDate");i=ku(hu(e,lu.Short),[t,n]);break;case"medium":const s=Su(e,"mediumTime"),o=Su(e,"mediumDate");i=ku(hu(e,lu.Medium),[s,o]);break;case"long":const r=Su(e,"longTime"),a=Su(e,"longDate");i=ku(hu(e,lu.Long),[r,a]);break;case"full":const l=Su(e,"fullTime"),c=Su(e,"fullDate");i=ku(hu(e,lu.Full),[l,c])}return i&&(vu[n][t]=i),i}function ku(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Eu(e,t,n="-",i,s){let o="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,o=n));let r=String(e);for(;r.length<t;)r="0"+r;return i&&(r=r.substr(r.length-t)),o+r}function Pu(e,t,n=0,i=!1,s=!1){return function(o,r){let a=function(e,t){switch(e){case _u.FullYear:return t.getFullYear();case _u.Month:return t.getMonth();case _u.Date:return t.getDate();case _u.Hours:return t.getHours();case _u.Minutes:return t.getMinutes();case _u.Seconds:return t.getSeconds();case _u.FractionalSeconds:return t.getMilliseconds();case _u.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||a>-n)&&(a+=n),e===_u.Hours)0===a&&-12===n&&(a=12);else if(e===_u.FractionalSeconds)return l=t,Eu(a,3).substr(0,l);var l;const c=pu(r,cu.MinusSign);return Eu(a,t,c,i,s)}}function Du(e,t,n=ru.Format,i=!1){return function(s,o){return function(e,t,n,i,s,o){switch(n){case xu.Months:return function(e,t,n){const i=Ha(e),s=fu([i[Ua.MonthsFormat],i[Ua.MonthsStandalone]],t);return fu(s,n)}(t,s,i)[e.getMonth()];case xu.Days:return function(e,t,n){const i=Ha(e),s=fu([i[Ua.DaysFormat],i[Ua.DaysStandalone]],t);return fu(s,n)}(t,s,i)[e.getDay()];case xu.DayPeriods:const r=e.getHours(),a=e.getMinutes();if(o){const e=function(e){const t=Ha(e);return gu(t),(t[Ua.ExtraData][2]||[]).map(e=>"string"==typeof e?mu(e):[mu(e[0]),mu(e[1])])}(t),n=function(e,t,n){const i=Ha(e);gu(i);const s=fu([i[Ua.ExtraData][0],i[Ua.ExtraData][1]],t)||[];return fu(s,n)||[]}(t,s,i),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=r>=t.hours&&a>=t.minutes,s=r<n.hours||r===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&s)return!0}else if(i||s)return!0}else if(e.hours===r&&e.minutes===a)return!0;return!1});if(-1!==o)return n[o]}return function(e,t,n){const i=Ha(e),s=fu([i[Ua.DayPeriodsFormat],i[Ua.DayPeriodsStandalone]],t);return fu(s,n)}(t,s,i)[r<12?0:1];case xu.Eras:return function(e,t){return fu(Ha(e)[Ua.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,e,t,n,i)}}function Ou(e){return function(t,n,i){const s=-1*i,o=pu(n,cu.MinusSign),r=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case wu.Short:return(s>=0?"+":"")+Eu(r,2,o)+Eu(Math.abs(s%60),2,o);case wu.ShortGMT:return"GMT"+(s>=0?"+":"")+Eu(r,1,o);case wu.Long:return"GMT"+(s>=0?"+":"")+Eu(r,2,o)+":"+Eu(Math.abs(s%60),2,o);case wu.Extended:return 0===i?"Z":(s>=0?"+":"")+Eu(r,2,o)+":"+Eu(Math.abs(s%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function Mu(e){return Au(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Tu(e,t=!1){return function(n,i){let s;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();s=1+Math.floor((t+e)/7)}else{const e=Mu(n),t=function(e){const t=Au(e,0,1).getDay();return Au(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();s=1+Math.round(i/6048e5)}return Eu(s,e,pu(i,cu.MinusSign))}}function Iu(e,t=!1){return function(n,i){return Eu(Mu(n).getFullYear(),e,pu(i,cu.MinusSign),t)}}const Ru={};function Lu(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Fu(e){return e instanceof Date&&!isNaN(e.valueOf())}class Bu{}let zu=(()=>{class e extends Bu{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Ha(e)[Ua.PluralCase]}(t||this.locale)(e)){case ou.Zero:return"zero";case ou.One:return"one";case ou.Two:return"two";case ou.Few:return"few";case ou.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(gi(Zc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function Vu(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}let Nu=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(kr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ie(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Sl),zr(El),zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class Hu{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ju=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Hu(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new Uu(e,n);t.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const o=new Uu(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=i,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Sl))},e.\u0275dir=Ke({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Uu{constructor(e,t){this.record=e,this.view=t}}let Wu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Gu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$u("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$u("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Gu{constructor(){this.$implicit=null,this.ngIf=null}}function $u(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ie(t)}'.`)}class qu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Yu=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Zu=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new qu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Yu,1))},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Qu=(()=>{class e{constructor(e,t,n){n._addDefault(new qu(e,t))}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl),zr(zl),zr(Yu,1))},e.\u0275dir=Ke({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Xu=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(El),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Ku=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(zr(Gl))},e.\u0275dir=Ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[dt]}),e})();function Ju(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ie(e)}'`)}class eh{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class th{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const nh=new th,ih=new eh;let sh=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Yr(t))return nh;if(Zr(t))return ih;throw Ju(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Vc())},e.\u0275pipe=Je({name:"async",type:e,pure:!1}),e})();const oh=/(?:[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;let rh=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Ju(e,t);return t.replace(oh,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"titlecase",type:e,pure:!0}),e})(),ah=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Ju(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"uppercase",type:e,pure:!0}),e})(),lh=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,s){if(null==t||""===t||t!=t)return null;try{return Cu(t,n,s||this.locale,i)}catch(o){throw Ju(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(zr(Zc))},e.\u0275pipe=Je({name:"date",type:e,pure:!0}),e})(),ch=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=dh){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(zr(El))},e.\u0275pipe=Je({name:"keyvalue",type:e,pure:!1}),e})();function dh(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const s=String(n),o=String(i);return s==o?0:s<o?-1:1}let uh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[{provide:Bu,useClass:zu}]}),e})();function hh(e){return"browser"===e}let ph=(()=>{class e{}return e.\u0275prov=pe({token:e,providedIn:"root",factory:()=>new gh(gi(Hd),window)}),e})();class gh{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=fh(this.window.history)||fh(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function fh(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class mh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new mh,Vd||(Vd=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=vh||(vh=document.querySelector("base"),vh)?vh.getAttribute("href"):null;return null==t?null:(n=t,bh||(bh=document.createElement("a")),bh.setAttribute("href",n),"/"===bh.pathname.charAt(0)?bh.pathname:"/"+bh.pathname);var n}resetBaseElement(){vh=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Vu(document.cookie,e)}}let bh,vh=null;const yh=new Xn("TRANSITION_ID"),wh=[{provide:Nc,useFactory:function(e,t,n){return()=>{n.get(Hc).donePromise.then(()=>{const n=Nd();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[yh,Hd,mr],multi:!0}];class _h{static init(){var e;e=new _h,vd=e}addToWindow(e){Re.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Re.getAllAngularTestabilities=()=>e.getAllTestabilities(),Re.getAllAngularRootElements=()=>e.getAllRootElements(),Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(e=>{const t=Re.getAllAngularTestabilities();let n=t.length,i=!1;const s=function(t){i=i||t,n--,0==n&&e(i)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Nd().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const xh=new Xn("EventManagerPlugins");let Ch=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i<n.length;i++){const t=n[i];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(gi(xh),gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Ah{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=Nd().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}let Sh=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),kh=(()=>{class e extends Sh{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Nd().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ph=/%COMP%/g;function Dh(e,t,n){for(let i=0;i<t.length;i++){let s=t[i];Array.isArray(s)?Dh(e,s,n):(s=s.replace(Ph,e),n.push(s))}return n}function Oh(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Mh=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Th(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case De.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ih(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case De.ShadowDom:return new Rh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Dh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(gi(Ch),gi(kh),gi(jc))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Th{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Eh[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const s=Eh[i];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=Eh[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(ms.DashCase|ms.Important)?e.style.setProperty(t,n,i&ms.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&ms.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Oh(n)):this.eventManager.addEventListener(e,t,Oh(n))}}class Ih extends Th{constructor(e,t,n,i){super(e),this.component=n;const s=Dh(i+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Ph,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Ph,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Rh extends Th{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Dh(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Lh=(()=>{class e extends Ah{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Fh={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Bh=new Xn("HammerGestureConfig"),zh=new Xn("HammerLoader");let Vh=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Nh=[{provide:xh,useClass:(()=>{class e extends Ah{constructor(e,t,n,i){super(e),this._config=t,this.console=n,this.loader=i,this._loaderPromise=null}supports(e){return!(!Fh.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,n){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let i=!1,s=()=>{i=!0};return this._loaderPromise.then(()=>{window.Hammer?i||(s=this.addEventListener(e,t,n)):s=()=>{}}).catch(()=>{s=()=>{}}),()=>{s()}}return i.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){i.runGuarded(function(){n(e)})};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(Bh),gi(Yc),gi(zh,8))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),multi:!0,deps:[Hd,Bh,Yc,[new yi,zh]]},{provide:Bh,useClass:Vh,deps:[]}];let Hh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Nh}),e})();const jh=["alt","control","meta","shift"],Uh={"\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"},Wh={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"},Gh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $h=(()=>{class e extends Ah{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nd().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=e._normalizeKey(n.pop());let o="";if(jh.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const r={};return r.domEventName=i,r.fullKey=o,r}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Wh.hasOwnProperty(t)&&(t=Wh[t]))}return Uh[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),jh.forEach(i=>{i!=n&&(0,Gh[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return s=>{e.getEventFullKey(s)===t&&i.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),qh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return gi(Yh)},token:e,providedIn:"root"}),e})(),Yh=(()=>{class e extends qh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case is.NONE:return t;case is.HTML:return Ti(t,"HTML")?Mi(t):ts(this._doc,String(t)).toString();case is.STYLE:return Ti(t,"Style")?Mi(t):t;case is.SCRIPT:if(Ti(t,"Script"))return Mi(t);throw new Error("unsafe value used in a script context");case is.URL:return Ii(t),Ti(t,"URL")?Mi(t):zi(String(t));case is.RESOURCE_URL:if(Ti(t,"ResourceURL"))return Mi(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new ki(e)}bypassSecurityTrustStyle(e){return new Ei(e)}bypassSecurityTrustScript(e){return new Pi(e)}bypassSecurityTrustUrl(e){return new Di(e)}bypassSecurityTrustResourceUrl(e){return new Oi(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return e=gi(er),new Yh(e.get(Hd));var e},token:e,providedIn:"root"}),e})();const Zh=Ad(Ld,"browser",[{provide:$c,useValue:"browser"},{provide:Gc,useValue:function(){mh.makeCurrent(),_h.init()},multi:!0},{provide:Hd,useFactory:function(){return function(e){ft=e}(document),document},deps:[]}]),Qh=[[],{provide:nr,useValue:"root"},{provide:ds,useFactory:function(){return new ds},deps:[]},{provide:xh,useClass:Lh,multi:!0,deps:[Hd,ad,$c]},{provide:xh,useClass:$h,multi:!0,deps:[Hd]},[],{provide:Mh,useClass:Mh,deps:[Ch,kh,jc]},{provide:ll,useExisting:Mh},{provide:Sh,useExisting:kh},{provide:kh,useClass:kh,deps:[Hd]},{provide:gd,useClass:gd,deps:[ad]},{provide:Ch,useClass:Ch,deps:[xh,ad]},[]];let Xh=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:jc,useValue:t.appId},{provide:yh,useExisting:jc},wh]}}}return e.\u0275fac=function(t){return new(t||e)(gi(e,12))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:Qh,imports:[uh,Bd]}),e})();"undefined"!=typeof window&&window;class Kh{}function Jh(e,t){return{type:7,name:e,definitions:t,options:{}}}function ep(e,t=null){return{type:4,styles:t,timings:e}}function tp(e,t=null){return{type:2,steps:e,options:t}}function np(e){return{type:6,styles:e,offset:null}}function ip(e,t,n){return{type:0,name:e,styles:t,options:n}}function sp(e){return{type:5,steps:e}}function op(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function rp(e=null){return{type:9,options:e}}function ap(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function lp(e){Promise.resolve(null).then(e)}class cp{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){lp(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class dp{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const s=this.players.length;0==s?lp(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==s&&this._onFinish()}),e.onDestroy(()=>{++n==s&&this._onDestroy()}),e.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function up(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function hp(e){switch(e.length){case 0:return new cp;case 1:return e[0];default:return new dp(e)}}function pp(e,t,n,i,s={},o={}){const r=[],a=[];let l=-1,c=null;if(i.forEach(e=>{const n=e.offset,i=n==l,d=i&&c||{};Object.keys(e).forEach(n=>{let i=n,a=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,r),a){case"!":a=s[n];break;case"*":a=o[n];break;default:a=t.normalizeStyleValue(n,i,a,r)}d[i]=a}),i||a.push(d),c=d,l=n}),r.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${r.join(e)}`)}return a}function gp(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&fp(n,"start",e)));break;case"done":e.onDone(()=>i(n&&fp(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&fp(n,"destroy",e)))}}function fp(e,t,n){const i=n.totalTime,s=mp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(s._data=o),s}function mp(e,t,n,i,s="",o=0,r){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:s,totalTime:o,disabled:!!r}}function bp(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function vp(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let yp=(e,t)=>!1,wp=(e,t)=>!1,_p=(e,t,n)=>[];const xp=up();(xp||"undefined"!=typeof Element)&&(yp=(e,t)=>e.contains(t),wp=(()=>{if(xp||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):wp}})(),_p=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)i.push(n[e])}else{const n=e.querySelector(t);n&&i.push(n)}return i});let Cp=null,Ap=!1;function Sp(e){Cp||(Cp=("undefined"!=typeof document?document.body:null)||{},Ap=!!Cp.style&&"WebkitAppearance"in Cp.style);let t=!0;return Cp.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Cp.style,!t&&Ap)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Cp.style),t}const kp=wp,Ep=yp,Pp=_p;function Dp(e){const t={};return Object.keys(e).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let Op=(()=>{class e{validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,s,o=[],r){return new cp(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Mp=(()=>{class e{}return e.NOOP=new Op,e})();function Tp(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Ip(parseFloat(t[1]),t[2])}function Ip(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Rp(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,s=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=Ip(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(s=Ip(parseFloat(r),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:s,easing:o}}(e,t,n)}function Lp(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Fp(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else Lp(e,n);return n}function Bp(e,t,n){return n?t+":"+n+";":""}function zp(e){let t="";for(let n=0;n<e.style.length;n++){const i=e.style.item(n);t+=Bp(0,i,e.style.getPropertyValue(i))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Bp(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Vp(e,t,n){e.style&&(Object.keys(t).forEach(i=>{const s=qp(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[s]),e.style[s]=t[i]}),up()&&zp(e))}function Np(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=qp(t);e.style[n]=""}),up()&&zp(e))}function Hp(e){return Array.isArray(e)?1==e.length?e[0]:tp(e):e}const jp=new RegExp("{{\\s*(.+?)\\s*}}","g");function Up(e){let t=[];if("string"==typeof e){let n;for(;n=jp.exec(e);)t.push(n[1]);jp.lastIndex=0}return t}function Wp(e,t,n){const i=e.toString(),s=i.replace(jp,(e,i)=>{let s=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),s=""),s.toString()});return s==i?e:s}function Gp(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const $p=/-+([a-z0-9])/g;function qp(e){return e.replace($p,(...e)=>e[1].toUpperCase())}function Yp(e,t){return 0===e||0===t}function Zp(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],r=[];if(i.forEach(e=>{o.hasOwnProperty(e)||r.push(e),o[e]=n[e]}),r.length)for(var s=1;s<t.length;s++){let n=t[s];r.forEach(function(t){n[t]=Xp(e,t)})}}return t}function Qp(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 Xp(e,t){return window.getComputedStyle(e)[t]}function Kp(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const s=i[1],o=i[2],r=i[3];t.push(tg(s,r)),"<"!=o[0]||"*"==s&&"*"==r||t.push(tg(r,s))}(e,n,t)):n.push(e),n}const Jp=new Set(["true","1"]),eg=new Set(["false","0"]);function tg(e,t){const n=Jp.has(e)||eg.has(e),i=Jp.has(t)||eg.has(t);return(s,o)=>{let r="*"==e||e==s,a="*"==t||t==o;return!r&&n&&"boolean"==typeof s&&(r=s?Jp.has(e):eg.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Jp.has(t):eg.has(t)),r&&a}}const ng=new RegExp("s*:selfs*,?","g");function ig(e,t,n){return new sg(e).build(t,n)}class sg{constructor(e){this._driver=e}build(e,t){const n=new og(t);return this._resetContextStyleTimingState(n),Qp(this,Hp(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,s.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const s=this.visitTransition(e,t);n+=s.queryCount,i+=s.depCount,o.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const s=new Set,o=i||{};if(n.styles.forEach(e=>{if(rg(e)){const t=e;Object.keys(t).forEach(e=>{Up(t[e]).forEach(e=>{o.hasOwnProperty(e)||s.add(e)})})}}),s.size){const n=Gp(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Qp(this,Hp(e.animation),t);return{type:1,matchers:Kp(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ag(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Qp(this,e,t)),options:ag(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const s=e.steps.map(e=>{t.currentTime=n;const s=Qp(this,e,t);return i=Math.max(i,t.currentTime),s});return t.currentTime=i,{type:3,steps:s,options:ag(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return lg(Rp(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=lg(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||Rp(i,t),lg(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let s=e.styles?e.styles:np({});if(5==s.type)i=this.visitKeyframes(s,t);else{let s=e.styles,o=!1;if(!s){o=!0;const e={};n.easing&&(e.easing=n.easing),s=np(e)}t.currentTime+=n.duration+n.delay;const r=this.visitStyle(s,t);r.isEmptyStep=o,i=r}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?"*"==e?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,s=null;return n.forEach(e=>{if(rg(e)){const t=e,n=t.easing;if(n&&(s=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,s=t.currentTime;n&&s>0&&(s-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],r=o[n];let a=!0;r&&(s!=i&&s>=r.startTime&&i<=r.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${r.startTime}ms" and "${r.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=r.startTime),a&&(o[n]={startTime:s,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},s=Up(e);s.length&&s.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let o=!1,r=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(rg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(rg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),r=r||c<0||c>1,o=o||c<a,a=c,s.push(c),n});r&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let d=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));const u=c-1,h=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return l.forEach((e,i)=>{const o=d>0?i==u?1:d*i:s[i],r=o*g;t.currentTime=h+p.delay+r,p.duration=r,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Qp(this,Hp(e.animation),t),options:ag(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ag(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ag(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[s,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(ng,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+s:s,bp(t.collectedStyles,t.currentQuerySelector,{});const r=Qp(this,Hp(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:r,originalSelector:e.selector,options:ag(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Rp(e.timings,t.errors,!0);return{type:12,animation:Qp(this,Hp(e.animation),t),timings:n,options:null}}}class og{constructor(e){this.errors=e,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 rg(e){return!Array.isArray(e)&&"object"==typeof e}function ag(e){var t;return e?(e=Lp(e)).params&&(e.params=(t=e.params)?Lp(t):null):e={},e}function lg(e,t,n){return{duration:e,delay:t,easing:n}}function cg(e,t,n,i,s,o,r=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:s,delay:o,totalTime:s+o,easing:r,subTimeline:a}}class dg{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ug=new RegExp(":enter","g"),hg=new RegExp(":leave","g");function pg(e,t,n,i,s,o={},r={},a,l,c=[]){return(new gg).buildKeyframes(e,t,n,i,s,o,r,a,l,c)}class gg{buildKeyframes(e,t,n,i,s,o,r,a,l,c=[]){l=l||new dg;const d=new mg(e,t,l,i,s,c,[]);d.options=a,d.currentTimeline.setStyles([o],null,d.errors,a),Qp(this,n,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(r).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([r],null,d.errors,a)}return u.length?u.map(e=>e.buildKeyframes()):[cg(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const s=null!=n.duration?Tp(n.duration):null,o=null!=n.delay?Tp(n.delay):null;return 0!==s&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,s,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),Qp(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const s=e.options;if(s&&(s.params||s.delay)&&(i=t.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=fg);const e=Tp(s.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Qp(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?Tp(e.options.delay):0;e.steps.forEach(o=>{const r=t.createSubContext(e.options);s&&r.delayNextStep(s),Qp(this,o,r),i=Math.max(i,r.currentTimeline.currentTime),n.push(r.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Rp(t.params?Wp(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(n.duration),this.visitStyle(s,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(s):n.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,s=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*s),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+s),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},s=i.delay?Tp(i.delay):0;s&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fg);let o=n;const r=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=r.length;let a=null;r.forEach((n,i)=>{t.currentQueryIndex=i;const r=t.createSubContext(e.options,n);s&&r.delayNextStep(s),n===t.element&&(a=r.currentTimeline),Qp(this,e.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),r=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=r-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Qp(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const fg={};class mg{constructor(e,t,n,i,s,o,r,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=r,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new bg(this._driver,t,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=Tp(n.duration)),null!=n.delay&&(i.delay=Tp(n.delay));const s=n.params;if(s){let e=i.params;e||(e=this.options.params={}),Object.keys(s).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Wp(s[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,s=new mg(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=fg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},s=new vg(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,s,o){let r=[];if(i&&r.push(this.element),e.length>0){e=(e=e.replace(ug,"."+this._enterClassName)).replace(hg,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),r.push(...t)}return s||0!=r.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),r}}class bg{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new bg(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||"*",this._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const s=i&&i.params||{},o=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]="*"})):Fp(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=Wp(o[e],s,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:"*"),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const r=Fp(s,!0);Object.keys(r).forEach(n=>{const i=r[n];"!"==i?e.add(n):"*"==i&&t.add(n)}),n||(r.offset=o/this.duration),i.push(r)});const s=e.size?Gp(e.values()):[],o=t.size?Gp(t.values()):[];if(n){const e=i[0],t=Lp(e);e.offset=0,t.offset=1,i=[e,t]}return cg(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class vg extends bg{constructor(e,t,n,i,s,o,r=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=r,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=n+t,r=t/o,a=Fp(e[0],!1);a.offset=0,s.push(a);const l=Fp(e[0],!1);l.offset=yg(r),s.push(l);const c=e.length-1;for(let i=1;i<=c;i++){let r=Fp(e[i],!1);r.offset=yg((t+r.offset*n)/o),s.push(r)}n=o,t=0,i="",e=s}return cg(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function yg(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class wg{}class _g extends wg{normalizePropertyName(e,t){return qp(e)}normalizeStyleValue(e,t,n,i){let s="";const o=n.toString().trim();if(xg[t]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+s}}const xg=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Cg(e,t,n,i,s,o,r,a,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:n,fromStyles:o,toState:i,toStyles:r,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const Ag={};class Sg{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,s){return e.some(e=>e(t,n,i,s))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],s=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return s?s.buildStyles(t,n):o}build(e,t,n,i,s,o,r,a,l,c){const d=[],u=this.ast.options&&this.ast.options.params||Ag,h=this.buildStyles(n,r&&r.params||Ag,d),p=a&&a.params||Ag,g=this.buildStyles(i,p,d),f=new Set,m=new Map,b=new Map,v="void"===i,y={params:Object.assign(Object.assign({},u),p)},w=c?[]:pg(e,t,this.ast.animation,s,o,h,g,y,l,d);let _=0;if(w.forEach(e=>{_=Math.max(e.duration+e.delay,_)}),d.length)return Cg(t,this._triggerName,n,i,v,h,g,[],[],m,b,_,d);w.forEach(e=>{const n=e.element,i=bp(m,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const s=bp(b,n,{});e.postStyleProps.forEach(e=>s[e]=!0),n!==t&&f.add(n)});const x=Gp(f.values());return Cg(t,this._triggerName,n,i,v,h,g,w,x,m,b,_)}}class kg{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=Lp(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach(e=>{let o=s[e];o.length>1&&(o=Wp(o,i,t)),n[e]=o})}}),n}}class Eg{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new kg(e.style,e.options&&e.options.params||{})}),Pg(this.states,"true","1"),Pg(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Sg(e,t,this.states))}),this.fallbackTransition=new Sg(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(s=>s.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Pg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Dg=new dg;class Og{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=ig(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]=i}_buildPlayer(e,t,n){const i=e.element,s=pp(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],s=this._animations[e];let o;const r=new Map;if(s?(o=pg(this._driver,t,s,"ng-enter","ng-leave",{},{},n,Dg,i),o.forEach(e=>{const t=bp(r,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));r.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,"*")})});const a=hp(o.map(e=>{const t=r.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,i){const s=mp(t,"","","");return gp(this._getPlayer(e),n,s,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const s=this._getPlayer(e);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Mg=[],Tg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ig={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Rg{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=Lp(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Lg=new Rg("void");class Fg{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ug(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var s;const o=bp(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};o.push(r);const a=bp(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ug(e,"ng-trigger"),Ug(e,"ng-trigger-"+t),a[t]=Lg),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(r);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const s=this._getTrigger(t),o=new zg(this.id,t,e);let r=this._engine.statesByElement.get(e);r||(Ug(e,"ng-trigger"),Ug(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,r={}));let a=r[t];const l=new Rg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),r[t]=l,a||(a=Lg),"void"!==l.value&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(a.params,l.params)){const t=[],n=s.matchStyles(a.value,a.params,t),i=s.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Np(e,n),Vp(e,i)})}return}const c=bp(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=s.matchTransition(a.value,l.value,e,l.params),u=!1;if(!d){if(!i)return;d=s.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:a,toState:l,player:o,isFallbackTransition:u}),u||(Ug(e,"ng-animate-queued"),o.onStart(()=>{Wg(e,"ng-animate-queued")})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),c.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const s=this._engine.statesByElement.get(e);if(s){const o=[];if(Object.keys(s).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&hp(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const i=new Set;t.forEach(t=>{const s=t.name;if(i.has(s))return;i.add(s);const o=this._triggers[s].fallbackTransition,r=n[s]||Lg,a=new Rg("void"),l=new zg(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:o,fromState:r,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==Tg||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ug(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,o=this._elementListeners.get(s);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=mp(s,n.triggerName,n.fromState.value,n.toState.value);i._data=e,gp(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Bg{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Fg(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,t)){this._namespaceList.splice(s+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i<e.length;i++){const s=n[e[i]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,n,i){if(Vg(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Vg(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ug(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Wg(e,"ng-animate-disabled"))}removeNode(e,t,n,i){if(Vg(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,s){return Vg(t)?this._fetchNamespace(e).listen(t,n,i,s):()=>{}}_buildInstruction(e,t,n,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return hp(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Tg,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ug(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?hp(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new dg,i=[],s=new Map,o=[],r=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)c.add(t[n])});const d=this.bodyNode,u=Array.from(this.statesByElement.keys()),h=jg(u,this.collectedEnterElements),p=new Map;let g=0;h.forEach((e,t)=>{const n="ng-enter"+g++;p.set(t,n),e.forEach(e=>Ug(e,n))});const f=[],m=new Set,b=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const e=this.collectedLeaveElements[O],t=e.__ng_removed;t&&t.setForRemoval&&(f.push(e),m.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>m.add(e)):b.add(e))}const v=new Map,y=jg(u,Array.from(m));y.forEach((e,t)=>{const n="ng-leave"+g++;v.set(t,n),e.forEach(e=>Ug(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>Wg(e,n))}),y.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>Wg(e,n))}),f.forEach(e=>{this.processLeaveNode(e)})});const w=[],_=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(e=>{const t=e.player,s=e.element;if(w.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!d||!this.driver.containsElement(d,s),u=v.get(s),h=p.get(s),g=this._buildInstruction(e,n,h,u,c);if(g.errors&&g.errors.length)_.push(g);else{if(c)return t.onStart(()=>Np(s,g.fromStyles)),t.onDestroy(()=>Vp(s,g.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>Np(s,g.fromStyles)),t.onDestroy(()=>Vp(s,g.toStyles)),void i.push(t);g.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(s,g.timelines),o.push({instruction:g,player:t,element:s}),g.queriedElements.forEach(e=>bp(r,e,[]).push(t)),g.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),g.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=l.get(t);i||l.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(_.length){const e=[];_.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,C=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{bp(x,t,[]).push(e),e.destroy()})});const A=f.filter(e=>qg(e,a,l)),S=new Map;Hg(S,this.driver,b,l,"*").forEach(e=>{qg(e,a,l)&&A.push(e)});const k=new Map;h.forEach((e,t)=>{Hg(k,this.driver,new Set(e),a,"!")}),A.forEach(e=>{const t=S.get(e),n=k.get(e);S.set(e,Object.assign(Object.assign({},t),n))});const E=[],P=[],D={};o.forEach(e=>{const{element:t,player:o,instruction:r}=e;if(n.has(t)){if(c.has(t))return o.onDestroy(()=>Vp(t,r.toStyles)),o.disabled=!0,o.overrideTotalTime(r.totalTime),void i.push(o);let e=D;if(C.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>C.set(t,e))}const n=this._buildAnimation(o.namespaceId,r,x,s,k,S);if(o.setRealPlayer(n),e===D)E.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=hp(t)),i.push(o)}}else Np(t,r.fromStyles),o.onDestroy(()=>Vp(t,r.toStyles)),P.push(o),c.has(t)&&i.push(o)}),P.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const n=hp(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let O=0;O<f.length;O++){const e=f[O],t=e.__ng_removed;if(Wg(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(r.size){let t=r.get(e);t&&t.length&&n.push(...t);let i=this.driver.query(e,".ng-animating",!0);for(let e=0;e<i.length;e++){let t=r.get(i[e]);t&&t.length&&n.push(...t)}}const i=n.filter(e=>!e.destroyed);i.length?Gg(this,e,i):this.processLeaveNode(e)}return f.length=0,E.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),E}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.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}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,s){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||"void"==s;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const r of t.timelines){const e=r.element,a=e!==i,l=bp(n,e,[]);this._getPreviousPlayers(e,a,s,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Np(i,t.fromStyles)}_buildAnimation(e,t,n,i,s,o){const r=t.triggerName,a=t.element,l=[],c=new Set,d=new Set,u=t.timelines.map(t=>{const u=t.element;c.add(u);const h=u.__ng_removed;if(h&&h.removedBeforeQueried)return new cp(t.duration,t.delay);const p=u!==a,g=function(e){const t=[];return $g(e,t),t}((n.get(u)||Mg).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===u),f=s.get(u),m=o.get(u),b=pp(0,this._normalizer,0,t.keyframes,f,m),v=this._buildPlayer(t,b,g);if(t.subTimeline&&i&&d.add(u),p){const t=new zg(e,r,u);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{bp(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>Ug(e,"ng-animating"));const h=hp(u);return h.onDestroy(()=>{c.forEach(e=>Wg(e,"ng-animating")),Vp(a,t.toStyles)}),d.forEach(e=>{bp(i,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new cp(e.duration,e.delay)}}class zg{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new cp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>gp(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){bp(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Vg(e){return e&&1===e.nodeType}function Ng(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Hg(e,t,n,i,s){const o=[];n.forEach(e=>o.push(Ng(e)));const r=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,s);n&&0!=n.length||(i.__ng_removed=Ig,r.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>Ng(e,o[a++])),r}function jg(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),s=new Map;function o(e){if(!e)return 1;let t=s.get(e);if(t)return t;const r=e.parentNode;return t=n.has(r)?r:i.has(r)?1:o(r),s.set(e,t),t}return t.forEach(e=>{const t=o(e);1!==t&&n.get(t).push(e)}),n}function Ug(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Wg(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Gg(e,t,n){hp(n).onDone(()=>e.processLeaveNode(t))}function $g(e,t){for(let n=0;n<e.length;n++){const i=e[n];i instanceof dp?$g(i.players,t):t.push(i)}}function qg(e,t,n){const i=n.get(e);if(!i)return!1;let s=t.get(e);return s?i.forEach(e=>s.add(e)):t.set(e,i),n.delete(e),!0}class Yg{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Bg(e,t,n),this._timelineEngine=new Og(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,s){const o=e+"-"+i;let r=this._triggerCache[o];if(!r){const e=[],t=ig(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);r=function(e,t){return new Eg(e,t)}(i,t),this._triggerCache[o]=r}this._transitionEngine.registerTrigger(t,i,r)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,s]=vp(n);this._timelineEngine.command(e,t,s,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,s){if("@"==n.charAt(0)){const[e,i]=vp(n);return this._timelineEngine.listen(e,t,i,s)}return this._transitionEngine.listen(e,t,n,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Zg(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=Xg(t[0]),t.length>1&&(i=Xg(t[t.length-1]))):t&&(n=Xg(t)),n||i?new Qg(e,n,i):null}let Qg=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Vp(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vp(this._element,this._initialStyles),this._endStyles&&(Vp(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Np(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Np(this._element,this._endStyles),this._endStyles=null),Vp(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Xg(e){let t=null;const n=Object.keys(e);for(let i=0;i<n.length;i++){const s=n[i];Kg(s)&&(t=t||{},t[s]=e[s])}return t}function Kg(e){return"display"===e||"position"===e}class Jg{constructor(e,t,n,i,s,o,r){this._element=e,this._name=t,this._duration=n,this._delay=i,this._easing=s,this._fillMode=o,this._onDoneFn=r,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=rf(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i<e.length;i++)","===e.charAt(i)&&n++}(n),t=`${n}, ${t}`),of(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),sf(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ef(this._element,this._name,"paused")}resume(){ef(this._element,this._name,"running")}setPosition(e){const t=tf(this._element,this._name);this._position=e*this._duration,of(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const 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()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),sf(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=rf(e,"").split(","),i=nf(n,t);i>=0&&(n.splice(i,1),of(e,"",n.join(",")))}(this._element,this._name))}}function ef(e,t,n){of(e,"PlayState",n,tf(e,t))}function tf(e,t){const n=rf(e,"");return n.indexOf(",")>0?nf(n.split(","),t):nf([n],t)}function nf(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function sf(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function of(e,t,n,i){const s="animation"+t;if(null!=i){const t=e.style[s];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[s]=n}function rf(e,t){return e.style["animation"+t]||""}class af{constructor(e,t,n,i,s,o,r,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=r,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Jg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:Xp(this.element,n))})}this.currentSnapshot=e}}class lf extends cp{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Dp(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class cf{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Dp(e));let i=`@keyframes ${t} {\n`,s="";n.forEach(e=>{s=" ";const t=parseFloat(e.offset);i+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${t}: ${n};\n`)}}),i+=s+"}\n"}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(e,t,n,i,s,o=[],r){const a=o.filter(e=>e instanceof af),l={};Yp(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Zp(e,t,l));if(0==n)return new lf(e,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=Zg(e,t),p=new af(e,t,d,n,i,s,c,h);return p.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),p}}class df{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:Xp(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class uf{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(hf().toString()),this._cssKeyframesDriver=new cf}validateStyleProperty(e){return Sp(e)}matchesElement(e,t){return kp(e,t)}containsElement(e,t){return Ep(e,t)}query(e,t,n){return Pp(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,s,o=[],r){if(!r&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,s,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=o.filter(e=>e instanceof df);Yp(n,i)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=Zg(e,t=Zp(e,t=t.map(e=>Fp(e,!1)),l));return new df(e,t,a,d)}}function hf(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let pf=(()=>{class e extends Kh{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:De.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?tp(e):e;return mf(this._renderer,null,t,"register",[n]),new gf(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(gi(ll),gi(Hd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class gf extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ff(this._id,e,t||{},this._renderer)}}class ff{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return mf(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function mf(e,t,n,i,s){return e.setProperty(t,`@@${n}:${i}`,s)}let bf=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new vf("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,s,e,t.name,t)};return t.data.animation.forEach(o),new yf(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(gi(ll),gi(Yg),gi(ad))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class vf{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class yf extends vf{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(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)}listen(e,t,n){if("@"==t.charAt(0)){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let wf=(()=>{class e extends Yg{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(Mp),gi(wg))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const _f=new Xn("AnimationModuleType"),xf=[{provide:Mp,useFactory:function(){return"function"==typeof hf()?new uf:new cf}},{provide:_f,useValue:"BrowserAnimations"},{provide:Kh,useClass:pf},{provide:wg,useFactory:function(){return new _g}},{provide:Yg,useClass:wf},{provide:ll,useFactory:function(e,t,n){return new bf(e,t,n)},deps:[Mh,Yg,ad]}];let Cf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:xf,imports:[Xh]}),e})();function Af(...e){if(1===e.length){const t=e[0];if(l(t))return Sf(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Sf(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return Sf(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(k(e=>t(...e)))}return Sf(e,null)}function Sf(e,t){return new v(n=>{const i=e.length;if(0===i)return void n.complete();const s=new Array(i);let o=0,r=0;for(let a=0;a<i;a++){const l=F(e[a]);let c=!1;n.add(l.subscribe({next:e=>{c||(c=!0,r++),s[a]=e},error:e=>n.error(e),complete:()=>{o++,o!==i&&c||(r===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=s[n],e),{}):s),n.complete())}}))}})}class kf{}const Ef=new Xn("NgValueAccessor"),Pf={provide:Ef,useExisting:re(()=>Df),multi:!0};let Df=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[Ja([Pf]),vr]}),e})();const Of={provide:Ef,useExisting:re(()=>Tf),multi:!0},Mf=new Xn("CompositionEventMode");let Tf=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Nd()?Nd().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl),zr(Mf,8))},e.\u0275dir=Ke({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Xr("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[Ja([Of])]}),e})();function If(e){return null==e||0===e.length}function Rf(e){return null!=e&&"number"==typeof e.length}const Lf=new Xn("NgValidators"),Ff=new Xn("NgAsyncValidators"),Bf=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zf{static min(e){return function(e){return t=>{if(If(t.value)||If(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)}static max(e){return function(e){return t=>{if(If(t.value)||If(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}static required(e){return Vf(e)}static requiredTrue(e){return function(e){return!0===e.value?null:{required:!0}}(e)}static email(e){return function(e){return If(e.value)||Bf.test(e.value)?null:{email:!0}}(e)}static minLength(e){return function(e){return t=>If(t.value)||!Rf(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(e)}static maxLength(e){return Nf(e)}static pattern(e){return Hf(e)}static nullValidator(e){return null}static compose(e){return Yf(e)}static composeAsync(e){return Qf(e)}}function Vf(e){return If(e.value)?{required:!0}:null}function Nf(e){return t=>Rf(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function Hf(e){if(!e)return jf;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(If(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function jf(e){return null}function Uf(e){return null!=e}function Wf(e){const t=Yr(e)?F(e):e;return Qr(t),t}function Gf(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function $f(e,t){return t.map(t=>t(e))}function qf(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function Yf(e){if(!e)return null;const t=e.filter(Uf);return 0==t.length?null:function(e){return Gf($f(e,t))}}function Zf(e){return null!=e?Yf(qf(e)):null}function Qf(e){if(!e)return null;const t=e.filter(Uf);return 0==t.length?null:function(e){return Af($f(e,t).map(Wf)).pipe(k(Gf))}}function Xf(e){return null!=e?Qf(qf(e)):null}function Kf(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Jf(e){return e._rawValidators}function em(e){return e._rawAsyncValidators}let tm=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Zf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Xf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e}),e})(),nm=(()=>{class e extends tm{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return im(t||e)},e.\u0275dir=Ke({type:e,features:[vr]}),e})();const im=$n(nm);class sm extends tm{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class om{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let rm=(()=>{class e extends om{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(sm,2))},e.\u0275dir=Ke({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ma("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vr]}),e})(),am=(()=>{class e extends om{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,10))},e.\u0275dir=Ke({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&ma("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[vr]}),e})();function lm(e,t){return[...t.path,e]}function cm(e,t){hm(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&gm(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&gm(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function dm(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),pm(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function um(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function hm(e,t,n){const i=Jf(e);null!==t.validator?e.setValidators(Kf(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const s=em(e);if(null!==t.asyncValidator?e.setAsyncValidators(Kf(s,t.asyncValidator)):"function"==typeof s&&e.setAsyncValidators([s]),n){const n=()=>e.updateValueAndValidity();um(t._rawValidators,n),um(t._rawAsyncValidators,n)}}function pm(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=Jf(e);if(Array.isArray(n)&&n.length>0){const s=n.filter(e=>e!==t.validator);s.length!==n.length&&(i=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const n=em(e);if(Array.isArray(n)&&n.length>0){const s=n.filter(e=>e!==t.asyncValidator);s.length!==n.length&&(i=!0,e.setAsyncValidators(s))}}}if(n){const e=()=>{};um(t._rawValidators,e),um(t._rawAsyncValidators,e)}return i}function gm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function fm(e,t){hm(e,t,!1)}function mm(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function bm(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function vm(e,t){if(!t)return null;Array.isArray(t);let n=void 0,i=void 0,s=void 0;return t.forEach(e=>{e.constructor===Tf?n=e:Object.getPrototypeOf(e.constructor)===kf?i=e:s=e}),s||i||n||null}function ym(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wm(e){return(Am(e)?e.validators:e)||null}function _m(e){return Array.isArray(e)?Zf(e):e||null}function xm(e,t){return(Am(t)?t.asyncValidators:e)||null}function Cm(e){return Array.isArray(e)?Xf(e):e||null}function Am(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Sm{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=_m(this._rawValidators),this._composedAsyncValidatorFn=Cm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=_m(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Cm(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){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)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=Wf(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof Em?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Pm&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new yc,this.statusChanges=new yc}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Am(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class km extends Sm{constructor(e=null,t,n){super(wm(t),xm(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ym(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ym(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(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}}class Em extends Sm{constructor(e,t,n){super(wm(t),xm(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof km?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Pm extends Sm{constructor(e,t,n){super(wm(t),xm(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof km?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Dm={provide:nm,useExisting:re(()=>Mm)},Om=(()=>Promise.resolve(null))();let Mm=(()=>{class e extends nm{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new yc,this.form=new Em({},Zf(e),Xf(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Om.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),cm(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Om.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ym(this._directives,e)})}addFormGroup(e){Om.then(()=>{const t=this._findContainer(e.path),n=new Em({});fm(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Om.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Om.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,bm(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10))},e.\u0275dir=Ke({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Xr("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([Dm]),vr]}),e})();const Tm={provide:sm,useExisting:re(()=>Rm)},Im=(()=>Promise.resolve(null))();let Rm=(()=>{class e extends sm{constructor(e,t,n,i){super(),this.control=new km,this._registered=!1,this.update=new yc,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=vm(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),mm(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?lm(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){cm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Im.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Im.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,9),zr(Lf,10),zr(Ff,10),zr(Ef,10))},e.\u0275dir=Ke({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ja([Tm]),vr,dt]}),e})(),Lm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Fm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();const Bm=new Xn("NgModelWithFormControlWarning"),zm={provide:sm,useExisting:re(()=>Vm)};let Vm=(()=>{class e extends sm{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new yc,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=vm(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&dm(t,this,!1),cm(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}mm(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10),zr(Ef,10),zr(Bm,8))},e.\u0275dir=Ke({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ja([zm]),vr,dt]}),e._ngModelWarningSentOnce=!1,e})();const Nm={provide:nm,useExisting:re(()=>Hm)};let Hm=(()=>{class e extends nm{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new yc,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(pm(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return cm(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){dm(e.control||null,e,!1),ym(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,bm(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(dm(t||null,e),n instanceof km&&(cm(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);fm(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return pm(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hm(this.form,this,!1),this._oldForm&&pm(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(zr(Lf,10),zr(Ff,10))},e.\u0275dir=Ke({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Xr("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ja([Nm]),vr,dt]}),e})();const jm={provide:sm,useExisting:re(()=>Um)};let Um=(()=>{class e extends sm{constructor(e,t,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new yc,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=vm(0,i)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),mm(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return lm(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(zr(nm,13),zr(Lf,10),zr(Ff,10),zr(Ef,10),zr(Bm,8))},e.\u0275dir=Ke({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ja([jm]),vr,dt]}),e._ngModelWarningSentOnce=!1,e})();const Wm={provide:Ef,useExisting:re(()=>$m),multi:!0};function Gm(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let $m=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Gm(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ja([Wm]),vr]}),e})(),qm=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Gm(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr($m,9))},e.\u0275dir=Ke({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Ym={provide:Ef,useExisting:re(()=>Qm),multi:!0};function Zm(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Qm=(()=>{class e extends kf{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const i=e.item(t),s=this._getOptionValue(i.value);n.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const i=e.item(t);if(i.selected){const e=this._getOptionValue(i.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Xr("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ja([Ym]),vr]}),e})(),Xm=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(Zm(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Zm(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr(Qm,9))},e.\u0275dir=Ke({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const Km={provide:Lf,useExisting:re(()=>Jm),multi:!0};let Jm=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?Vf(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("required",t.required?"":null)},inputs:{required:"required"},features:[Ja([Km])]}),e})();const eb={provide:Lf,useExisting:re(()=>tb),multi:!0};let tb=(()=>{class e{constructor(){this._validator=jf}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Nf("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ja([eb]),dt]}),e})();const nb={provide:Lf,useExisting:re(()=>ib),multi:!0};let ib=(()=>{class e{constructor(){this._validator=jf}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Hf(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Ir("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[Ja([nb]),dt]}),e})(),sb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[Fm]]}),e})(),ob=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[sb]}),e})(),rb=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Bm,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[sb]}),e})(),ab=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i=null,s=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new Em(n,{asyncValidators:s,updateOn:o,validators:i})}control(e,t,n){return new km(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new Pm(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof km||e instanceof Em||e instanceof Pm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:rb}),e})();function lb(...e){let t=e[e.length-1];return S(t)?(e.pop(),L(e,t)):W(e)}function cb(e,t){return N(e,t,1)}function db(e,t){return function(n){return n.lift(new ub(e,t))}}class ub{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new hb(e,this.predicate,this.thisArg))}}class hb extends g{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class pb{}class gb{}class fb{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof fb?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new fb;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof fb?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class mb{encodeKey(e){return bb(e)}encodeValue(e){return bb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function bb(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,"/")}class vb{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new mb,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[s,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],r=n.get(s)||[];r.push(o),n.set(s,r)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new vb({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function yb(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function wb(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class xb{constructor(e,t,n,i){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new fb),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new vb,this.urlWithParams=t}serializeBody(){return null===this.body?null:yb(this.body)||wb(this.body)||_b(this.body)||"string"==typeof this.body?this.body:this.body instanceof vb?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_b(this.body)?null:wb(this.body)?this.body.type||null:yb(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof vb?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,r=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new xb(t,n,s,{params:l,headers:a,reportProgress:r,responseType:i,withCredentials:o})}}var Cb=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class Ab{constructor(e,t=200,n="OK"){this.headers=e.headers||new fb,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Sb extends Ab{constructor(e={}){super(e),this.type=Cb.ResponseHeader}clone(e={}){return new Sb({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class kb extends Ab{constructor(e={}){super(e),this.type=Cb.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new kb({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Eb extends Ab{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Pb(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Db=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof xb)i=e;else{let s=void 0;s=n.headers instanceof fb?n.headers:new fb(n.headers);let o=void 0;n.params&&(o=n.params instanceof vb?n.params:new vb({fromObject:n.params})),i=new xb(e,t,void 0!==n.body?n.body:null,{headers:s,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=lb(i).pipe(cb(e=>this.handler.handle(e)));if(e instanceof xb||"events"===n.observe)return s;const o=s.pipe(db(e=>e instanceof kb));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe(k(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe(k(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe(k(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new vb).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,Pb(n,t))}post(e,t,n={}){return this.request("POST",e,Pb(n,t))}put(e,t,n={}){return this.request("PUT",e,Pb(n,t))}}return e.\u0275fac=function(t){return new(t||e)(gi(pb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class Ob{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const Mb=new Xn("HTTP_INTERCEPTORS");let Tb=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Ib=/^\)\]\}',?\n/;class Rb{}let Lb=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Fb=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new fb(n.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new Sb({headers:o,status:t,statusText:i,url:r}),s},r=()=>{let{headers:i,status:s,statusText:r,url:a}=o(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(Ib,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new kb({body:l,headers:i,status:s,statusText:r,url:a||void 0})),t.complete()):t.error(new Eb({error:l,headers:i,status:s,statusText:r,url:a||void 0}))},a=e=>{const{url:i}=o(),s=new Eb({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(s)};let l=!1;const c=i=>{l||(t.next(o()),l=!0);let s={type:Cb.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},d=e=>{let n={type:Cb.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",r),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),t.next({type:Cb.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",r),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(gi(Rb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const Bb=new Xn("XSRF_COOKIE_NAME"),zb=new Xn("XSRF_HEADER_NAME");class Vb{}let Nb=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi($c),gi(Bb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Hb=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(Vb),gi(zb))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),jb=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(Mb,[]);this.chain=e.reduceRight((e,t)=>new Ob(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(gb),gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),Ub=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Hb,useClass:Tb}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Bb,useValue:t.cookieName}:[],t.headerName?{provide:zb,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[Hb,{provide:Mb,useExisting:Hb,multi:!0},{provide:Vb,useClass:Nb},{provide:Bb,useValue:"XSRF-TOKEN"},{provide:zb,useValue:"X-XSRF-TOKEN"}]}),e})(),Wb=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[Db,{provide:pb,useClass:jb},Fb,{provide:gb,useExisting:Fb},Lb,{provide:Rb,useExisting:Lb}],imports:[[Ub.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})();class Gb extends C{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}class $b extends g{notifyNext(e,t,n,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class qb extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Yb(e,t,n,i,s=new qb(e,n,i)){if(!s.closed)return t instanceof v?t.subscribe(s):R(t)(s)}const Zb={};function Qb(...e){let t=void 0,n=void 0;return S(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),W(e,n).lift(new Xb(t))}class Xb{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Kb(e,this.resultSelector))}}class Kb extends $b{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Zb),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(Yb(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const i=this.values,s=this.toRespond?i[n]===Zb?--this.toRespond:this.toRespond:0;i[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const Jb=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function ev(...e){return U(1)(lb(...e))}const tv=new v(e=>e.complete());function nv(e){return e?function(e){return new v(t=>e.schedule(()=>t.complete()))}(e):tv}function iv(e){return new v(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?F(n):nv()).subscribe(t)})}function sv(e,t){return"function"==typeof t?n=>n.pipe(sv((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))))):t=>t.lift(new ov(e))}class ov{constructor(e){this.project=e}call(e,t){return t.subscribe(new rv(e,this.project))}}class rv extends z{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new B(this),i=this.destination;i.add(n),this.innerSubscription=V(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const av=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function lv(e){return t=>0===e?nv():t.lift(new cv(e))}class cv{constructor(e){if(this.total=e,this.total<0)throw new av}call(e,t){return t.subscribe(new dv(e,this.total))}}class dv extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function uv(...e){const t=e[e.length-1];return S(t)?(e.pop(),n=>ev(e,n,t)):t=>ev(e,t)}function hv(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new pv(e,t,n))}}class pv{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new gv(e,this.accumulator,this.seed,this.hasSeed))}}class gv extends g{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function fv(e){return function(t){const n=new mv(e),i=t.lift(n);return n.caught=i}}class mv{constructor(e){this.selector=e}call(e,t){return t.subscribe(new bv(e,this.selector,this.caught))}}class bv extends z{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new B(this);this.add(i);const s=V(n,i);s!==i&&this.add(s)}}}function vv(e){return function(t){return 0===e?nv():t.lift(new yv(e))}}class yv{constructor(e){if(this.total=e,this.total<0)throw new av}call(e,t){return t.subscribe(new wv(e,this.total))}}class wv extends g{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(i[s])}}e.complete()}}function _v(e=Av){return t=>t.lift(new xv(e))}class xv{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Cv(e,this.errorFactory))}}class Cv extends g{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Av(){return new Jb}function Sv(e=null){return t=>t.lift(new kv(e))}class kv{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Ev(e,this.defaultValue))}}class Ev extends g{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Pv(e,t){const n=arguments.length>=2;return i=>i.pipe(e?db((t,n)=>e(t,n,i)):b,lv(1),n?Sv(t):_v(()=>new Jb))}function Dv(){}function Ov(e,t,n){return function(i){return i.lift(new Mv(e,t,n))}}class Mv{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Tv(e,this.nextOrObserver,this.error,this.complete))}}class Tv extends g{constructor(e,t,n,s){super(e),this._tapNext=Dv,this._tapError=Dv,this._tapComplete=Dv,this._tapError=n||Dv,this._tapComplete=s||Dv,i(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Dv,this._tapError=t.error||Dv,this._tapComplete=t.complete||Dv)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Iv(e){return t=>t.lift(new Rv(e))}class Rv{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Lv(e,this.callback))}}class Lv extends g{constructor(e,t){super(e),this.add(new u(t))}}class Fv{constructor(e,t){this.id=e,this.url=t}}class Bv extends Fv{constructor(e,t,n="imperative",i=null){super(e,t),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zv extends Fv{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Vv extends Fv{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Nv extends Fv{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Uv extends Fv{constructor(e,t,n,i,s){super(e,t),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Wv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gv extends Fv{constructor(e,t,n,i){super(e,t),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $v{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class qv{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yv{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zv{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qv{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xv{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kv{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Jv{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ey(e){return new Jv(e)}function ty(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ny(e,t,n){const i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;const s={};for(let o=0;o<i.length;o++){const t=i[o],n=e[o];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,i.length),posParams:s}}function iy(e,t){const n=e?Object.keys(e):void 0,i=t?Object.keys(t):void 0;if(!n||!i||n.length!=i.length)return!1;let s;for(let o=0;o<n.length;o++)if(s=n[o],!sy(e[s],t[s]))return!1;return!0}function sy(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),i=[...t].sort();return n.every((e,t)=>i[t]===e)}return e===t}function oy(e){return Array.prototype.concat.apply([],e)}function ry(e){return e.length>0?e[e.length-1]:null}function ay(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ly(e){return Qr(e)?e:Yr(e)?F(Promise.resolve(e)):lb(e)}function cy(e,t,n){return n?function(e,t){return iy(e,t)}(e.queryParams,t.queryParams)&&dy(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>sy(e[n],t[n]))}(e.queryParams,t.queryParams)&&uy(e.root,t.root)}function dy(e,t){if(!my(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!dy(e.children[n],t.children[n]))return!1}return!0}function uy(e,t){return hy(e,t,t.segments)}function hy(e,t,n){if(e.segments.length>n.length)return!!my(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!my(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!uy(e.children[n],t.children[n]))return!1}return!0}{const i=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!my(e.segments,i)&&!!e.children.primary&&hy(e.children.primary,t,s)}}class py{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}toString(){return yy.serialize(this)}}class gy{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ay(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wy(this)}}class fy{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ey(this.parameters)),this._parameterMap}toString(){return Ey(this)}}function my(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class by{}class vy{parse(e){const t=new Ty(e);return new py(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+_y(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Cy(t)}=${Cy(e)}`).join("&"):`${Cy(t)}=${Cy(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const yy=new vy;function wy(e){return e.segments.map(e=>Ey(e)).join("/")}function _y(e,t){if(!e.hasChildren())return wy(e);if(t){const t=e.children.primary?_y(e.children.primary,!1):"",n=[];return ay(e.children,(e,t)=>{"primary"!==t&&n.push(`${t}:${_y(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ay(e.children,(e,i)=>{"primary"===i&&(n=n.concat(t(e,i)))}),ay(e.children,(e,i)=>{"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>"primary"===n?[_y(e.children.primary,!1)]:[`${n}:${_y(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${wy(e)}/${t[0]}`:`${wy(e)}/(${t.join("//")})`}}function xy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cy(e){return xy(e).replace(/%3B/gi,";")}function Ay(e){return xy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Sy(e){return decodeURIComponent(e)}function ky(e){return Sy(e.replace(/\+/g,"%20"))}function Ey(e){return`${Ay(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ay(e)}=${Ay(t[e])}`).join("")}`;var t}const Py=/^[^\/()?;=#]+/;function Dy(e){const t=e.match(Py);return t?t[0]:""}const Oy=/^[^=?&#]+/,My=/^[^?&#]+/;class Ty{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gy([],{}):new gy([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new gy(e,t)),n}parseSegment(){const e=Dy(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new fy(Sy(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Dy(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Dy(this.remaining);e&&(n=e,this.capture(n))}e[Sy(t)]=Sy(n)}parseQueryParam(e){const t=function(e){const t=e.match(Oy);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(My);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=ky(t),s=ky(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(s)}else e[i]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Dy(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s="primary");const o=this.parseChildren();t[s]=1===Object.keys(o).length?o.primary:new gy([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Iy{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ry(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ry(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ly(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ly(e,this._root).map(e=>e.value)}}function Ry(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ry(e,n);if(t)return t}return null}function Ly(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Ly(e,n);if(i.length)return i.unshift(t),i}return[]}class Fy{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function By(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class zy extends Iy{constructor(e,t){super(e),this.snapshot=t,Wy(this,e)}toString(){return this.snapshot.toString()}}function Vy(e,t){const n=function(e,t){const n=new jy([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Uy("",new Fy(n,[]))}(e,t),i=new Gb([new fy("",{})]),s=new Gb({}),o=new Gb({}),r=new Gb({}),a=new Gb(""),l=new Ny(i,s,r,a,o,"primary",t,n.root);return l.snapshot=n.root,new zy(new Fy(l,[]),n)}class Ny{constructor(e,t,n,i,s,o,r,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=r,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(k(e=>ey(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(k(e=>ey(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Hy(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class jy{constructor(e,t,n,i,s,o,r,a,l,c,d){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=r,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ey(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ey(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Uy extends Iy{constructor(e,t){super(t),this.url=e,Wy(this,t)}toString(){return Gy(this._root)}}function Wy(e,t){t.value._routerState=e,t.children.forEach(t=>Wy(e,t))}function Gy(e){const t=e.children.length>0?` { ${e.children.map(Gy).join(", ")} } `:"";return`${e.value}${t}`}function $y(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,iy(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),iy(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!iy(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),iy(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function qy(e,t){var n,i;return iy(e.params,t.params)&&my(n=e.url,i=t.url)&&n.every((e,t)=>iy(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||qy(e.parent,t.parent))}function Yy(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const s=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return Yy(e,t,i);return Yy(e,t)})}(e,t,n);return new Fy(i,s)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Zy(t,e),e}{const n=new Ny(new Gb((i=t.value).url),new Gb(i.params),new Gb(i.queryParams),new Gb(i.fragment),new Gb(i.data),i.outlet,i.component,i),s=t.children.map(t=>Yy(e,t));return new Fy(n,s)}}var i}function Zy(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)Zy(e.children[n],t.children[n])}function Qy(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Xy(e){return"object"==typeof e&&null!=e&&e.outlets}function Ky(e,t,n,i,s){let o={};return i&&ay(i,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new py(n.root===e?t:Jy(n.root,e,t),o,s)}function Jy(e,t,n){const i={};return ay(e.children,(e,s)=>{i[s]=e===t?n:Jy(e,t,n)}),new gy(e.segments,i)}class ew{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Qy(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Xy);if(i&&i!==ry(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class tw{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function nw(e,t,n){if(e||(e=new gy([],{})),0===e.segments.length&&e.hasChildren())return iw(e,t,n);const i=function(e,t,n){let i=0,s=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(i>=n.length)return o;const t=e.segments[s],r=n[i];if(Xy(r))break;const a=""+r,l=i<n.length-1?n[i+1]:null;if(s>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!aw(a,l,t))return o;i+=2}else{if(!aw(a,{},t))return o;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(e,t,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const t=new gy(e.segments.slice(0,i.pathIndex),{});return t.children.primary=new gy(e.segments.slice(i.pathIndex),e.children),iw(t,0,s)}return i.match&&0===s.length?new gy(e.segments,{}):i.match&&!e.hasChildren()?sw(e,t,n):i.match?iw(e,0,s):sw(e,t,n)}function iw(e,t,n){if(0===n.length)return new gy(e.segments,{});{const i=function(e){return Xy(e[0])?e[0].outlets:{primary:e}}(n),s={};return ay(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=nw(e.children[i],t,n))}),ay(e.children,(e,t)=>{void 0===i[t]&&(s[t]=e)}),new gy(e.segments,s)}}function sw(e,t,n){const i=e.segments.slice(0,t);let s=0;for(;s<n.length;){const o=n[s];if(Xy(o)){const e=ow(o.outlets);return new gy(i,e)}if(0===s&&Qy(n[0])){i.push(new fy(e.segments[t].path,rw(n[0]))),s++;continue}const r=Xy(o)?o.outlets.primary:""+o,a=s<n.length-1?n[s+1]:null;r&&a&&Qy(a)?(i.push(new fy(r,rw(a))),s+=2):(i.push(new fy(r,{})),s++)}return new gy(i,{})}function ow(e){const t={};return ay(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=sw(new gy([],{}),0,e))}),t}function rw(e){const t={};return ay(e,(e,n)=>t[n]=""+e),t}function aw(e,t,n){return e==n.path&&iy(t,n.parameters)}class lw{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),$y(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=By(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),ay(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,s=t?t.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,s=By(e);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const i=By(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Xv(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Zv(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,s=t?t.value:null;if($y(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),cw(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=s,t.outlet&&t.outlet.activateWith(i,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function cw(e){$y(e.value),e.children.forEach(cw)}class dw{constructor(e,t){this.routes=e,this.module=t}}function uw(e){return"function"==typeof e}function hw(e){return e instanceof py}const pw=Symbol("INITIAL_VALUE");function gw(){return sv(e=>Qb(e.map(e=>e.pipe(lv(1),uv(pw)))).pipe(hv((e,t)=>{let n=!1;return t.reduce((e,i,s)=>{if(e!==pw)return e;if(i===pw&&(n=!0),!n){if(!1===i)return i;if(s===t.length-1||hw(i))return i}return e},e)},pw),db(e=>e!==pw),k(e=>hw(e)?e:!0===e),lv(1)))}let fw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ur(0,"router-outlet")},directives:function(){return[d_]},encapsulation:2}),e})();function mw(e,t=""){for(let n=0;n<e.length;n++){const i=e[n];bw(i,vw(t,i))}}function bw(e,t){e.children&&mw(e.children,t)}function vw(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function yw(e){const t=e.children&&e.children.map(yw),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=fw),n}function ww(e){return e.outlet||"primary"}function _w(e,t){const n=e.filter(e=>ww(e)===t);return n.push(...e.filter(e=>ww(e)!==t)),n}const xw={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Cw(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xw):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(t.matcher||ny)(n,e,t);if(!s)return Object.assign({},xw);const o={};ay(s.posParams,(e,t)=>{o[t]=e.path});const r=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:r,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Aw(e,t,n,i,s="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Sw(e,t,n)&&"primary"!==ww(n))}(e,n,i)){const s=new gy(t,function(e,t,n,i){const s={};s.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&"primary"!==ww(o)){const n=new gy([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[ww(o)]=n}return s}(e,t,i,new gy(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Sw(e,t,n))}(e,n,i)){const o=new gy(e.segments,function(e,t,n,i,s,o){const r={};for(const a of i)if(Sw(e,n,a)&&!s[ww(a)]){const n=new gy([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,r[ww(a)]=n}return Object.assign(Object.assign({},s),r)}(e,t,n,i,e.children,s));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new gy(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Sw(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function kw(e,t,n,i){return!!(ww(e)===i||"primary"!==i&&Sw(t,n,e))&&("**"===e.path||Cw(t,e,n).matched)}function Ew(e,t,n){return 0===t.length&&!e.children[n]}class Pw{constructor(e){this.segmentGroup=e||null}}class Dw{constructor(e){this.urlTree=e}}function Ow(e){return new v(t=>t.error(new Pw(e)))}function Mw(e){return new v(t=>t.error(new Dw(e)))}function Tw(e){return new v(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Iw{constructor(e,t,n,i,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(jl)}apply(){const e=Aw(this.urlTree.root,[],[],this.config).segmentGroup,t=new gy(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,"primary").pipe(k(e=>this.createUrlTree(Rw(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(fv(e=>{if(e instanceof Dw)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Pw)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(k(t=>this.createUrlTree(Rw(t),e.queryParams,e.fragment))).pipe(fv(e=>{if(e instanceof Pw)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new gy([],{primary:e}):e;return new py(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(k(e=>new gy([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return F(i).pipe(cb(i=>{const s=n.children[i],o=_w(t,i);return this.expandSegmentGroup(e,o,s,i).pipe(k(e=>({segment:e,outlet:i})))}),hv((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?db((t,n)=>e(t,n,i)):b,vv(1),n?Sv(t):_v(()=>new Jb))}())}expandSegment(e,t,n,i,s,o){return F(n).pipe(cb(r=>this.expandSegmentAgainstRoute(e,t,n,r,i,s,o).pipe(fv(e=>{if(e instanceof Pw)return lb(null);throw e}))),Pv(e=>!!e),fv((e,n)=>{if(e instanceof Jb||"EmptyError"===e.name){if(Ew(t,i,s))return lb(new gy([],{}));throw new Pw(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,s,o,r){return kw(i,t,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,s,o):r&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o):Ow(t):Ow(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Mw(s):this.lineralizeSegments(n,s).pipe(N(n=>{const s=new gy(n,{});return this.expandSegment(e,s,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,s,o){const{matched:r,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Cw(t,i,s);if(!r)return Ow(t);const d=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Mw(d):this.lineralizeSegments(i,d).pipe(N(i=>this.expandSegment(e,t,n,i.concat(s.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?lb(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(k(e=>(n._loadedConfig=e,new gy(i,{})))):lb(new gy(i,{}));const{matched:o,consumedSegments:r,lastChild:a}=Cw(t,n,i);if(!o)return Ow(t);const l=i.slice(a);return this.getChildConfig(e,n,i).pipe(N(e=>{const i=e.module,o=e.routes,{segmentGroup:a,slicedSegments:c}=Aw(t,r,l,o),d=new gy(a.segments,a.children);if(0===c.length&&d.hasChildren())return this.expandChildren(i,o,d).pipe(k(e=>new gy(r,e)));if(0===o.length&&0===c.length)return lb(new gy(r,{}));const u=ww(n)===s;return this.expandSegment(i,d,o,c,u?"primary":s,!0).pipe(k(e=>new gy(r.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?lb(new dw(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?lb(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(N(n=>n?this.configLoader.load(e.injector,t).pipe(k(e=>(t._loadedConfig=e,e))):function(e){return new v(t=>t.error(ty(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):lb(new dw([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;return i&&0!==i.length?lb(i.map(i=>{const s=e.get(i);let o;if(function(e){return e&&uw(e.canLoad)}(s))o=s.canLoad(t,n);else{if(!uw(s))throw new Error("Invalid CanLoad guard");o=s(t,n)}return ly(o)})).pipe(gw(),Ov(e=>{if(!hw(e))return;const t=ty(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),k(e=>!0===e)):lb(!0)}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return lb(n);if(i.numberOfChildren>1||!i.children.primary)return Tw(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const s=this.createSegmentGroup(e,t.root,n,i);return new py(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ay(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[i]=t[s]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const s=this.createSegments(e,t.segments,n,i);let o={};return ay(t.children,(t,s)=>{o[s]=this.createSegmentGroup(e,t,n,i)}),new gy(s,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function Rw(e){const t={};for(const n of Object.keys(e.children)){const i=Rw(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new gy(e.segments.concat(t.segments),t.children)}return e}(new gy(e.segments,t))}class Lw{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Fw{constructor(e,t){this.component=e,this.route=t}}function Bw(e,t,n){const i=e._root;return Vw(i,t?t._root:null,n,[i.value])}function zw(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function Vw(e,t,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=By(t);return e.children.forEach(e=>{!function(e,t,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,r=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(r&&o.routeConfig===r.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!my(e.url,t.url);case"pathParamsOrQueryParamsChange":return!my(e.url,t.url)||!iy(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qy(e,t)||!iy(e.queryParams,t.queryParams);case"paramsChange":default:return!qy(e,t)}}(r,o,o.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Lw(i)):(o.data=r.data,o._resolvedData=r._resolvedData),Vw(e,t,o.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Fw(a.outlet.component,r))}else r&&Nw(t,a,s),s.canActivateChecks.push(new Lw(i)),Vw(e,null,o.component?a?a.children:null:n,i,s)}(e,o[e.value.outlet],n,i.concat([e.value]),s),delete o[e.value.outlet]}),ay(o,(e,t)=>Nw(e,n.getContext(t),s)),s}function Nw(e,t,n){const i=By(e),s=e.value;ay(i,(e,i)=>{Nw(e,s.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Fw(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}class Hw{}function jw(e){return new v(t=>t.error(e))}class Uw{constructor(e,t,n,i,s,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const e=Aw(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;const n=new jy([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Fy(n,t),s=new Uy(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(e){const t=e.value,n=Hy(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const s of Object.keys(t.children)){const i=t.children[s],o=_w(e,s),r=this.processSegmentGroup(o,i,s);if(null===r)return null;n.push(...r)}const i=function(e){const t=[];for(const n of e){if(!Ww(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const s of e){const e=this.processSegmentAgainstRoute(s,t,n,i);if(null!==e)return e}return Ew(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!kw(e,t,n,i))return null;let s,o=[],r=[];if("**"===e.path){const i=n.length>0?ry(n).parameters:{};s=new jy(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qw(e),ww(e),e.component,e,Gw(t),$w(t)+n.length,Yw(e))}else{const i=Cw(t,e,n);if(!i.matched)return null;o=i.consumedSegments,r=n.slice(i.lastChild),s=new jy(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qw(e),ww(e),e.component,e,Gw(t),$w(t)+o.length,Yw(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Aw(t,o,r,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Fy(s,e)]}if(0===a.length&&0===c.length)return[new Fy(s,[])];const d=ww(e)===i,u=this.processSegment(a,l,c,d?"primary":i);return null===u?null:[new Fy(s,u)]}}function Ww(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Gw(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function $w(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function qw(e){return e.data||{}}function Yw(e){return e.resolve||{}}function Zw(e){return sv(t=>{const n=e(t);return n?F(n).pipe(k(()=>t)):lb(t)})}class Qw{}class Xw extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Kw=new Xn("ROUTES");class Jw{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(k(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new dw(oy(i.injector.get(Kw,void 0,Ce.Self|Ce.Optional)).map(yw),i)}),fv(e=>{throw t._loader$=void 0,e}));return t._loader$=new Q(n,()=>new C).pipe(q()),t._loader$}loadModuleFactory(e){return"string"==typeof e?F(this.loader.load(e)):ly(e()).pipe(N(e=>e instanceof Ul?lb(e):F(this.compiler.compileModuleAsync(e))))}}class e_{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new t_,this.attachRef=null}}class t_{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new e_,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class n_{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function i_(e){throw e}function s_(e,t,n){return t.parse("/")}function o_(e,t){return lb(null)}let r_=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new C,this.errorHandler=i_,this.malformedUriErrorHandler=s_,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:o_,afterPreactivation:o_},this.urlHandlingStrategy=new n_,this.routeReuseStrategy=new Xw,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(jl),this.console=s.get(Yc);const l=s.get(ad);this.isNgZoneEnabled=l instanceof ad&&ad.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new py(new gy([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Jw(o,r,e=>this.triggerEvent(new $v(e)),e=>this.triggerEvent(new qv(e))),this.routerState=Vy(this.currentUrlTree,this.rootComponentType),this.transitions=new Gb({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()}setupNavigations(e){const t=this.events;return e.pipe(db(e=>0!==e.id),k(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),sv(e=>{let n=!1,i=!1;return lb(e).pipe(Ov(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),sv(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return lb(e).pipe(sv(e=>{const n=this.transitions.getValue();return t.next(new Bv(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?tv:Promise.resolve(e)}),(i=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,r=this.config,sv(e=>function(e,t,n,i,s){return new Iw(e,t,n,i,s).apply()}(i,s,o,e.extractedUrl,r).pipe(k(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Ov(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,s){return N(o=>function(e,t,n,i,s="emptyOnly",o="legacy"){try{const r=new Uw(e,t,n,i,s,o).recognize();return null===r?jw(new Hw):lb(r)}catch(r){return jw(r)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,s).pipe(k(e=>Object.assign(Object.assign({},o),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Ov(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new Hv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,s,o,r;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:o,extras:r}=e,a=new Bv(n,this.serializeUrl(i),s,o);t.next(a);const l=Vy(i,this.rootComponentType).snapshot;return lb(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},r),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),tv}),Zw(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),Ov(e=>{const t=new jv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),k(e=>Object.assign(Object.assign({},e),{guards:Bw(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return N(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:o,canDeactivateChecks:r}}=n;return 0===r.length&&0===o.length?lb(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return F(e).pipe(N(e=>function(e,t,n,i,s){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?lb(o.map(o=>{const r=zw(o,t,s);let a;if(function(e){return e&&uw(e.canDeactivate)}(r))a=ly(r.canDeactivate(e,t,n,i));else{if(!uw(r))throw new Error("Invalid CanDeactivate guard");a=ly(r(e,t,n,i))}return a.pipe(Pv())})).pipe(gw()):lb(!0)}(e.component,e.route,n,t,i)),Pv(e=>!0!==e,!0))}(r,i,s,e).pipe(N(n=>n&&"boolean"==typeof n?function(e,t,n,i){return F(t).pipe(cb(t=>ev(function(e,t){return null!==e&&t&&t(new Yv(e)),lb(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Qv(e)),lb(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>iv(()=>lb(t.guards.map(s=>{const o=zw(s,t.node,n);let r;if(function(e){return e&&uw(e.canActivateChild)}(o))r=ly(o.canActivateChild(i,e));else{if(!uw(o))throw new Error("Invalid CanActivateChild guard");r=ly(o(i,e))}return r.pipe(Pv())})).pipe(gw())));return lb(s).pipe(gw())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?lb(i.map(i=>iv(()=>{const s=zw(i,t,n);let o;if(function(e){return e&&uw(e.canActivate)}(s))o=ly(s.canActivate(t,e));else{if(!uw(s))throw new Error("Invalid CanActivate guard");o=ly(s(t,e))}return o.pipe(Pv())}))).pipe(gw()):lb(!0)}(e,t.route,n))),Pv(e=>!0!==e,!0))}(i,o,e,t):lb(n)),k(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Ov(e=>{if(hw(e.guardsResult)){const t=ty(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new Uv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),db(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Zw(e=>{if(e.guards.canActivateChecks.length)return lb(e).pipe(Ov(e=>{const t=new Wv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),sv(e=>{let n=!1;return lb(e).pipe((i=this.paramsInheritanceStrategy,s=this.ngModule.injector,N(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return lb(e);let o=0;return F(n).pipe(cb(e=>function(e,t,n,i){return function(e,t,n,i){const s=Object.keys(e);if(0===s.length)return lb({});const o={};return F(s).pipe(N(s=>function(e,t,n,i){const s=zw(e,t,i);return ly(s.resolve?s.resolve(t,n):s(t,n))}(e[s],t,n,i).pipe(Ov(e=>{o[s]=e}))),vv(1),N(()=>Object.keys(o).length===s.length?lb(o):tv))}(e._resolve,e,t,i).pipe(k(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Hy(e,n).resolve),null)))}(e.route,t,i,s)),Ov(()=>o++),vv(1),N(t=>o===n.length?lb(e):tv))})),Ov({next:()=>n=!0,complete:()=>{if(!n){const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,s}),Ov(e=>{const t=new Gv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Zw(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:o,replaceUrl:r}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!o,replaceUrl:!!r})}),k(e=>{const t=function(e,t,n){const i=Yy(e,t._root,n?n._root:void 0);return new zy(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Ov(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,r=e=>this.triggerEvent(e),k(e=>(new lw(o,e.targetRouterState,e.currentRouterState,r).activate(s),e))),Ov({next(){n=!0},complete(){n=!0}}),Iv(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new Vv(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),fv(n=>{if(i=!0,(s=n)&&s.ngNavigationCancelingError){const i=hw(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new Vv(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new Nv(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var s;return tv}));var s,o,r}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,s={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(s.state=e)}this.scheduleNavigation(i,e,n,s)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){mw(e),this.config=e.map(yw),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:o,preserveFragment:r}=t,a=n||this.routerState.root,l=r?this.currentUrlTree.fragment:s;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,i,s){if(0===n.length)return Ky(t.root,t.root,t,i,s);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ew(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return ay(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new ew(n,t,i)}(n);if(o.toRoot())return Ky(t.root,new gy([],{}),t,i,s);const r=function(e,t,n){if(e.isAbsolute)return new tw(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new tw(e,e===t.root,0)}const i=Qy(e.commands[0])?0:1;return function(e,t,n){let i=e,s=t,o=n;for(;o>s;){if(o-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new tw(i,!1,s-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=r.processChildren?iw(r.segmentGroup,r.index,o.commands):nw(r.segmentGroup,r.index,o.commands);return Ky(r.segmentGroup,a,t,i,s)}(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=hw(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(hw(e))return cy(this.currentUrlTree,e,t);const n=this.parseUrl(e);return cy(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new zv(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,s){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),r="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(r&&a)return Promise.resolve(!0);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((e,t)=>{l=e,c=t});const u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const s=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(gi(Jn),gi(by),gi(t_),gi(nu),gi(mr),gi(Od),gi(sd),gi(void 0))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),a_=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.route=t,this.commands=[],this.onChanges=new C,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:c_(this.skipLocationChange),replaceUrl:c_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:c_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Ny),Yn("tabindex"),zr(cl),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Xr("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[dt]}),e})(),l_=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new C,this.subscription=e.events.subscribe(e=>{e instanceof zv&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,s){if(0!==e||t||n||i||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:c_(this.skipLocationChange),replaceUrl:c_(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:c_(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Ny),zr(Xd))},e.\u0275dir=Ke({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(Fa("href",t.href,os),Ir("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[dt]}),e})();function c_(e){return""===e||!!e}let d_=(()=>{class e{constructor(e,t,n,i,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new yc,this.deactivateEvents=new yc,this.name=i||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new u_(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(zr(t_),zr(Gl),zr(nl),Yn("name"),zr(Tl))},e.\u0275dir=Ke({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class u_{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ny?this.route:e===t_?this.childContexts:this.parent.get(e,t)}}class h_{}class p_{preload(e,t){return lb(null)}}let g_=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=new Jw(t,n,t=>e.triggerEvent(new $v(t)),t=>e.triggerEvent(new qv(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(db(e=>e instanceof zv),cb(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(jl);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return F(n).pipe(U(),k(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?lb(t._loadedConfig):this.loader.load(e.injector,t)).pipe(N(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(r_),gi(Od),gi(sd),gi(mr),gi(h_))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),f_=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Bv?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof zv&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Kv&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Kv(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(gi(r_),gi(ph),gi(void 0))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const m_=new Xn("ROUTER_CONFIGURATION"),b_=new Xn("ROUTER_FORROOT_GUARD"),v_=[nu,{provide:by,useClass:vy},{provide:r_,useFactory:function(e,t,n,i,s,o,r,a={},l,c){const d=new r_(null,e,t,n,i,s,o,oy(r));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(a,d),a.enableTracing){const e=Nd();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return d},deps:[by,t_,nu,mr,Od,sd,Kw,m_,[class{},new yi],[Qw,new yi]]},t_,{provide:Ny,useFactory:function(e){return e.routerState.root},deps:[r_]},{provide:Od,useClass:Id},g_,p_,class{preload(e,t){return t().pipe(fv(()=>lb(null)))}},{provide:m_,useValue:{enableTracing:!1}}];function y_(){return new Cd("Router",r_)}let w_=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[v_,A_(t),{provide:b_,useFactory:C_,deps:[[r_,new yi,new wi]]},{provide:m_,useValue:n||{}},{provide:Xd,useFactory:x_,deps:[jd,[new vi(Jd),new yi],m_]},{provide:f_,useFactory:__,deps:[r_,ph,m_]},{provide:h_,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:p_},{provide:Cd,multi:!0,useFactory:y_},[S_,{provide:Nc,multi:!0,useFactory:k_,deps:[S_]},{provide:P_,useFactory:E_,deps:[S_]},{provide:qc,multi:!0,useExisting:P_}]]}}static forChild(t){return{ngModule:e,providers:[A_(t)]}}}return e.\u0275fac=function(t){return new(t||e)(gi(b_,8),gi(r_,8))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();function __(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new f_(e,t,n)}function x_(e,t,n={}){return n.useHash?new tu(e,t):new eu(e,t)}function C_(e){return"guarded"}function A_(e){return[{provide:Kn,multi:!0,useValue:e},{provide:Kw,multi:!0,useValue:e}]}let S_=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new C}appInitializer(){return this.injector.get(Wd,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(r_),i=this.injector.get(m_);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?lb(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(m_),n=this.injector.get(g_),i=this.injector.get(f_),s=this.injector.get(r_),o=this.injector.get(Pd);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(gi(mr))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function k_(e){return e.appInitializer.bind(e)}function E_(e){return e.bootstrapListener.bind(e)}const P_=new Xn("Router Initializer");function D_(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function O_(e,t){return function(n,i){t(n,i,e)}}function M_(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function T_(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})}n("meiF"),n("lTIg"),n("RQGG"),n("bC4P"),n("iWo5");var I_=n("E/Mt"),R_=n("1vRN"),L_=(n("39oe"),n("k4ps")),F_=n("r7QR"),B_=n("7OTs"),z_=(n("y08P"),n("wEJo"));function V_(e,t,n,s){return i(n)&&(s=n,n=void 0),s?V_(e,t,n).pipe(k(e=>l(e)?s(...e):s(e))):new v(i=>{N_(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function N_(e,t,n,i,s){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,s),o=()=>i.removeEventListener(t,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),o=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),o=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,r=e.length;o<r;o++)N_(e[o],t,n,i,s)}i.add(o)}function H_(e,t){return n=>n.lift(new j_(e,t))}n("B4Jq");class j_{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new U_(e,this.compare,this.keySelector))}}class U_ extends g{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}const W_=I_.e,G_=["*"],$_=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e);let q_=(()=>{class e{constructor(e,t){this.injector=e,this.el=t,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,Y_(this.el)}handleChangeEvent(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),Y_(this.el))}_handleBlurEvent(e){e===this.el.nativeElement&&(this.onTouched(),Y_(this.el))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.nativeElement.disabled=e}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let e;try{e=this.injector.get(sm)}catch(n){}if(!e)return;e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(()=>Y_(this.el)));const t=e.control;t&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(e=>{if(t[e]){const n=t[e].bind(t);t[e]=(...e)=>{n(...e),Y_(this.el)}}})}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=Ke({type:e,hostBindings:function(e,t){1&e&&Xr("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),e})();const Y_=e=>{$_(()=>{const t=e.nativeElement,n=Z_(t);Q_(t,n);const i=t.closest("ion-item");i&&Q_(i,n)})},Z_=e=>{const t=e.classList,n=[];for(let i=0;i<t.length;i++){const e=t.item(i);null!==e&&X_(e,"ng-")&&n.push("ion-"+e.substr(3))}return n},Q_=(e,t)=>{const n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(e=>n.remove(e)),t.forEach(e=>n.add(e))},X_=(e,t)=>e.substr(0,t.length)===t;var K_;let J_=(()=>{let e=K_=class extends q_{constructor(e,t){super(e,t)}writeValue(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,Y_(this.el)}_handleIonChange(e){this.handleChangeEvent(e,e.checked)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleIonChange(e.target)})},features:[Ja([{provide:Ef,useExisting:K_,multi:!0}]),vr]}),e})();var ex;let tx=(()=>{let e=ex=class extends q_{constructor(e,t){super(e,t)}_handleIonChange(e){this.handleChangeEvent(e,e.value)}registerOnChange(e){super.registerOnChange(t=>{e(""===t?null:parseFloat(t))})}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleIonChange(e.target)})},features:[Ja([{provide:Ef,useExisting:ex,multi:!0}]),vr]}),e})();var nx;let ix=(()=>{let e=nx=class extends q_{constructor(e,t){super(e,t)}_handleIonSelect(e){this.handleChangeEvent(e,e.checked)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&Xr("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[Ja([{provide:Ef,useExisting:nx,multi:!0}]),vr]}),e})();var sx;let ox=(()=>{let e=sx=class extends q_{constructor(e,t){super(e,t)}_handleChangeEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[Ja([{provide:Ef,useExisting:sx,multi:!0}]),vr]}),e})();var rx;let ax=(()=>{let e=rx=class extends q_{constructor(e,t){super(e,t)}_handleInputEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(zr(mr),zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&Xr("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[Ja([{provide:Ef,useExisting:rx,multi:!0}]),vr]}),e})(),lx=(()=>{let e=class{constructor(e,t){this.doc=e,this.backButton=new C,this.keyboardDidShow=new C,this.keyboardDidHide=new C,this.pause=new C,this.resume=new C,this.resize=new C,t.run(()=>{let n;this.win=e.defaultView,this.backButton.subscribeWithPriority=function(e,n){return this.subscribe(i=>i.register(e,e=>t.run(()=>n(e))))},dx(this.pause,e,"pause"),dx(this.resume,e,"resume"),dx(this.backButton,e,"ionBackButton"),dx(this.resize,this.win,"resize"),dx(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),dx(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(e=>{n=e}),this.win&&this.win.cordova?e.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(e){return Object(I_.a)(this.win,e)}platforms(){return Object(I_.d)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(e){return cx(this.win.location.href,e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}testUserAgent(e){const t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(ad))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e(gi(Hd),gi(ad))},token:e,providedIn:"root"}),e=D_([O_(0,vi(Hd))],e),e})();const cx=(e,t)=>{t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},dx=(e,t,n)=>{t&&t.addEventListener(n,t=>{e.next(null!=t?t.detail:void 0)})};let ux=(()=>{let e=class{constructor(e,t,n,i){this.location=t,this.serializer=n,this.router=i,this.direction=px,this.animated=gx,this.guessDirection="forward",this.lastNavId=-1,i&&i.events.subscribe(e=>{if(e instanceof Bv){const t=e.restoredState?e.restoredState.navigationId:e.id;this.guessDirection=t<this.lastNavId?"back":"forward",this.guessAnimation=e.restoredState?void 0:this.guessDirection,this.lastNavId="forward"===this.guessDirection?e.id:t}}),e.backButton.subscribeWithPriority(0,e=>{this.pop(),e()})}navigateForward(e,t={}){return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateBack(e,t={}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateRoot(e,t={}){return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}back(e={animated:!0,animationDirection:"back"}){return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}pop(){return T_(this,void 0,void 0,function*(){let e=this.topOutlet;for(;e&&!(yield e.pop());)e=e.parentOutlet})}setDirection(e,t,n,i){this.direction=e,this.animated=hx(e,t,n),this.animationBuilder=i}setTopOutlet(e){this.topOutlet=e}consumeTransition(){let e,t="root";const n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=px,this.animated=gx,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}navigate(e,t){if(Array.isArray(e))return this.router.navigate(e,t);{const n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}};return e.\u0275fac=function(t){return new(t||e)(gi(lx),gi(nu),gi(by),gi(r_,8))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e(gi(lx),gi(nu),gi(by),gi(r_,8))},token:e,providedIn:"root"}),e=D_([O_(3,yi())],e),e})();const hx=(e,t,n)=>{if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},px="auto",gx=void 0,fx=(e,t)=>{const n=e.prototype;t.forEach(e=>{Object.defineProperty(n,e,{get(){return this.el[e]},set(t){this.z.runOutsideAngular(()=>this.el[e]=t)}})})},mx=(e,t)=>{const n=e.prototype;t.forEach(e=>{n[e]=function(){const t=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,t))}})},bx=(e,t,n)=>{n.forEach(n=>e[n]=V_(t,n))};function vx(e){return function(t){return e.inputs&&fx(t,e.inputs),e.methods&&mx(t,e.methods),t}}let yx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-app"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),wx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-avatar"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),_x=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],e),e})(),xx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),Cx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],e),e})(),Ax=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["collapse"]})],e),e})(),Sx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),kx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode"]})],e),e})(),Ex=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode","translucent"]})],e),e})(),Px=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),Dx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],e),e})(),Ox=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","outline"]})],e),e})(),Mx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],e),e})(),Tx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],e),e})(),Ix=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",dayNames:"dayNames",dayShortNames:"dayShortNames",dayValues:"dayValues",disabled:"disabled",displayFormat:"displayFormat",displayTimezone:"displayTimezone",doneText:"doneText",hourValues:"hourValues",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthNames:"monthNames",monthShortNames:"monthShortNames",monthValues:"monthValues",name:"name",pickerFormat:"pickerFormat",pickerOptions:"pickerOptions",placeholder:"placeholder",readonly:"readonly",value:"value",yearValues:"yearValues"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","displayTimezone","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"],methods:["open"]})],e),e})(),Rx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],e),e})(),Lx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],e),e})(),Fx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["activated","side"]})],e),e})(),Bx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-footer"]],inputs:{mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode","translucent"]})],e),e})(),zx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["fixed"]})],e),e})(),Vx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["collapse","mode","translucent"]})],e),e})(),Nx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],e),e})(),Hx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["alt","src"]})],e),e})(),jx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInfinite"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","position","threshold"],methods:["complete"]})],e),e})(),Ux=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["loadingSpinner","loadingText"]})],e),e})(),Wx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),Gx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),$x=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],e),e})(),qx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSwipe"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["side"]})],e),e})(),Yx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionDrag"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],e),e})(),Zx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode","position"]})],e),e})(),Qx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],e),e})(),Xx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","lines","mode"]})],e),e})(),Kx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],e),e})(),Jx=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["autoHide","color","disabled","menu","mode","type"]})],e),e})(),eC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["autoHide","menu"]})],e),e})(),tC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),nC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-radio"]],inputs:{color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","name","value"]})],e),e})(),iC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["allowEmptySelection","name","value"]})],e),e})(),sC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-range"]],inputs:{color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]})],e),e})(),oC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-reorder"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),rC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionItemReorder"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled"],methods:["complete"]})],e),e})(),aC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-row"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),lC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),cC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],e),e})(),dC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","layout","mode","type","value"]})],e),e})(),uC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],e),e})(),hC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["disabled","value"]})],e),e})(),pC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-slide"]],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e})(),gC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],e),e})(),fC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","duration","name","paused"]})],e),e})(),mC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionSplitPaneVisible"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["contentId","disabled","when"]})],e),e})(),bC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","size"]})],e),e})(),vC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,bx(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["checked","color","disabled","mode","name","value"]})],e),e})(),yC=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(rl),zr(ad))},e.\u0275cmp=$e({type:e,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["color","mode"]})],e),e})(),wC=(()=>{let e=class{get(e,t){const n=xC();return n?n.get(e,t):null}getBoolean(e,t){const n=xC();return!!n&&n.getBoolean(e,t)}getNumber(e,t){const n=xC();return n?n.getNumber(e,t):0}set(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");const n=xC();n&&n.set(e,t)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const _C=new Xn("USERCONFIG"),xC=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null};class CC{constructor(e={}){this.data=e}get(e){return this.data[e]}}let AC=(()=>{let e=class{constructor(e,t){this.zone=e,this.appRef=t}create(e,t,n){return new SC(e,t,n,this.appRef,this.zone)}};return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(Pd))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})();class SC{constructor(e,t,n,i,s){this.resolver=e,this.injector=t,this.location=n,this.appRef=i,this.zone=s,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(e,t,n,i){return this.zone.run(()=>new Promise(s=>{s(kC(this.zone,this.resolver,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,e,t,n,i))}))}removeViewFromDom(e,t){return this.zone.run(()=>new Promise(e=>{const n=this.elRefMap.get(t);if(n){n.destroy(),this.elRefMap.delete(t);const e=this.elEventsMap.get(t);e&&(e(),this.elEventsMap.delete(t))}e()}))}}const kC=(e,t,n,i,s,o,r,a,l,c,d)=>{const u=t.resolveComponentFactory(l),h=mr.create({providers:OC(c),parent:n}),p=i?i.createComponent(u,i.length,h):u.create(h),g=p.instance,f=p.location.nativeElement;if(c&&Object.assign(g,c),d)for(const b of d)f.classList.add(b);const m=PC(e,g,f);return a.appendChild(f),i||s.attachView(p.hostView),p.changeDetectorRef.reattach(),o.set(f,p),r.set(f,m),f},EC=[L_.a,L_.b,L_.c,L_.d,L_.e],PC=(e,t,n)=>e.run(()=>{const e=EC.filter(e=>"function"==typeof t[e]).map(e=>{const i=n=>t[e](n.detail);return n.addEventListener(e,i),()=>n.removeEventListener(e,i)});return()=>e.forEach(e=>e())}),DC=new Xn("NavParamsToken"),OC=e=>[{provide:DC,useValue:e},{provide:CC,useFactory:MC,deps:[DC]}],MC=e=>new CC(e),TC=(e,t)=>((e=e.filter(e=>e.stackId!==t.stackId)).push(t),e),IC=(e,t)=>{const n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},RC=(e,t)=>{if(!e)return;const n=LC(t);for(let i=0;i<n.length;i++){if(i>=e.length)return n[i];if(n[i]!==e[i])return}},LC=e=>e.split("/").map(e=>e.trim()).filter(e=>""!==e),FC=e=>{e&&(e.ref.destroy(),e.unlistenEvents())};class BC{constructor(e,t,n,i,s,o){this.containerEl=t,this.router=n,this.navCtrl=i,this.zone=s,this.location=o,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?LC(e):void 0}createView(e,t){const n=IC(this.router,t),i=e&&e.location&&e.location.nativeElement,s=PC(this.zone,e.instance,i);return{id:this.nextId++,stackId:RC(this.tabsPrefix,n),unlistenEvents:s,element:i,ref:e,url:n}}getExistingView(e){const t=IC(this.router,e),n=this.views.find(e=>e.url===t);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){const t=this.navCtrl.consumeTransition();let{direction:n,animation:i,animationBuilder:s}=t;const o=this.activeView,r=((e,t)=>!t||e.stackId!==t.stackId)(e,o);r&&(n="back",i=void 0);const a=this.views.slice();let l;const c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const d=this.views.includes(e),u=this.insertView(e,n);d||e.ref.changeDetectorRef.detectChanges();const h=e.animationBuilder;return void 0!==s||"back"!==n||r||void 0===h||(s=h),o&&(o.animationBuilder=s),this.zone.runOutsideAngular(()=>this.wait(()=>(o&&o.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,o,i,this.canGoBack(1),!1,s).then(()=>zC(e,u,a,this.location)).then(()=>({enteringView:e,direction:n,animation:i,tabSwitch:r})))))}canGoBack(e,t=this.getActiveStackId()){return this.getStack(t).length>e}pop(e,t=this.getActiveStackId()){return this.zone.run(()=>{const n=this.getStack(t);if(n.length<=e)return Promise.resolve(!1);const i=n[n.length-e-1];let s=i.url;const o=i.savedData;if(o){const e=o.get("primary");e&&e.route&&e.route._routerState&&e.route._routerState.snapshot&&e.route._routerState.snapshot.url&&(s=e.route._routerState.snapshot.url)}const{animationBuilder:r}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(s,Object.assign({},i.savedExtras,{animation:r})).then(()=>!0)})}startBackTransition(){const e=this.activeView;if(e){const t=this.getStack(e.stackId),n=t[t.length-2],i=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,i))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&VC(this.activeView,this.views,this.views,this.location)}getLastUrl(e){const t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}getRootUrl(e){const t=this.getStack(e);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}destroy(){this.containerEl=void 0,this.views.forEach(FC),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(t=>t.stackId===e)}insertView(e,t){return this.activeView=e,this.views=((e,t,n)=>"root"===n?TC(e,t):"forward"===n?((e,t)=>(e.indexOf(t)>=0?e=e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):e.push(t),e))(e,t):((e,t)=>e.indexOf(t)>=0?e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):TC(e,t))(e,t))(this.views,e,t),this.views.slice()}transition(e,t,n,i,s,o){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);const r=e?e.element:void 0,a=t?t.element:void 0,l=this.containerEl;return r&&r!==a&&(r.classList.add("ion-page"),r.classList.add("ion-page-invisible"),r.parentElement!==l&&l.appendChild(r),l.commit)?l.commit(r,a,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:i,progressAnimation:s,animationBuilder:o}):Promise.resolve(!1)}wait(e){return T_(this,void 0,void 0,function*(){return void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0),this.runningTask=e()})}}const zC=(e,t,n,i)=>"function"==typeof requestAnimationFrame?new Promise(s=>{requestAnimationFrame(()=>{VC(e,t,n,i),s()})}):Promise.resolve(),VC=(e,t,n,i)=>{n.filter(e=>!t.includes(e)).forEach(FC),t.forEach(t=>{const n=i.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){const e=t.element;e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})};let NC=(()=>{let e=class{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h){this.parentContexts=e,this.location=t,this.resolver=n,this.config=o,this.navCtrl=r,this.parentOutlet=h,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Gb(null),this.stackEvents=new yc,this.activateEvents=new yc,this.deactivateEvents=new yc,this.nativeEl=l.nativeElement,this.name=i||"primary",this.tabsPrefix="true"===s?IC(c,u):void 0,this.stackCtrl=new BC(this.tabsPrefix,this.nativeEl,c,r,d,a),e.onChildOutletCreated(this.name,this)}set animation(e){this.nativeEl.animation=e}set animated(e){this.nativeEl.animated=e}set swipeGesture(e){this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:()=>this.stackCtrl.canGoBack(1),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}new Promise(e=>Object(R_.c)(this.nativeEl,e)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(e,t){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};const e=this.getContext();if(e.route){const t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}const e=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");let n;this._activatedRoute=e;let i=this.stackCtrl.getExistingView(e);if(i){n=this.activated=i.ref;const t=i.savedData;t&&(this.getContext().children.contexts=t),this.updateActivatedRouteProxy(n.instance,e)}else{const s=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),o=this.parentContexts.getOrCreateContext(this.name).children,r=new Gb(null),a=this.createActivatedRouteProxy(r,e),l=new HC(a,o,this.location.injector);n=this.activated=this.location.createComponent(s,this.location.length,l),r.next(n.instance),i=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,a),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=i,this.stackCtrl.setActive(i).then(e=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(n.instance),this.stackEvents.emit(e)})}canGoBack(e=1,t){return this.stackCtrl.canGoBack(e,t)}pop(e=1,t){return this.stackCtrl.pop(e,t)}getLastUrl(e){const t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}getLastRouteView(e){return this.stackCtrl.getLastUrl(e)}getRootView(e){return this.stackCtrl.getRootUrl(e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(e,t){const n=new Ny;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}proxyObservable(e,t){return e.pipe(db(e=>!!e),sv(e=>this.currentActivatedRoute$.pipe(db(t=>null!==t&&t.component===e),sv(e=>e&&e.activatedRoute[t]),H_())))}updateActivatedRouteProxy(e,t){const n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}};return e.\u0275fac=function(t){return new(t||e)(zr(t_),zr(Gl),zr(nl),Yn("name"),Yn("tabs"),zr(wC),zr(ux),zr(nu),zr(rl),zr(r_),zr(ad),zr(Ny),zr(e,12))},e.\u0275dir=Ke({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e=D_([O_(3,Qn("name")),O_(4,yi()),O_(4,Qn("tabs")),O_(12,wi()),O_(12,yi())],e),e})();class HC{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ny?this.route:e===t_?this.childContexts:this.parent.get(e,t)}}let jC=(()=>{let e=class{constructor(e,t,n){this.routerOutlet=e,this.navCtrl=t,this.config=n}onClick(e){const t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}};return e.\u0275fac=function(t){return new(t||e)(zr(NC,8),zr(ux),zr(wC))},e.\u0275dir=Ke({type:e,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),e=D_([O_(0,yi())],e),e})(),UC=(()=>{let e=class{constructor(e,t,n,i,s){this.locationStrategy=e,this.navCtrl=t,this.elementRef=n,this.router=i,this.routerLink=s,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateTargetUrlAndHref(){if(this.routerLink){const e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}onClick(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}};return e.\u0275fac=function(t){return new(t||e)(zr(Xd),zr(ux),zr(rl),zr(r_),zr(a_,8))},e.\u0275dir=Ke({type:e,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&Xr("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[dt]}),e=D_([O_(4,yi())],e),e})(),WC=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualFooter",""]]}),e})(),GC=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(zr(zl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualHeader",""]]}),e})(),$C=(()=>{let e=class{constructor(e,t){this.templateRef=e,this.viewContainer=t}};return e.\u0275fac=function(t){return new(t||e)(zr(zl),zr(Gl))},e.\u0275dir=Ke({type:e,selectors:[["","virtualItem",""]]}),e})(),qC=(()=>{let e=class{constructor(e,t,n){this.z=e,this.iterableDiffers=t,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}ngOnChanges(e){if(this.trackBy&&"items"in e){const n=e.items.currentValue;if(void 0===this.differ&&null!=n)try{this.differ=this.iterableDiffers.find(n).create(this.trackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}'. VirtualScroll only supports binding to Iterables such as Arrays.`)}}}ngDoCheck(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}nodeRender(e,t,n){return this.z.run(()=>{let i;if(e){i=this.refMap.get(e);const n=i.context;n.$implicit=t.value,n.index=t.index}else i=this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(t.type),{$implicit:t.value,index:n},n),e=YC(i),this.refMap.set(e,i);return i.detectChanges(),e})}getComponent(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}};return e.\u0275fac=function(t){return new(t||e)(zr(ad),zr(Sl),zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,$C,1),Ic(n,GC,1),Ic(n,WC,1)),2&e){let e;Mc(e=Rc())&&(t.itmTmp=e.first),Mc(e=Rc())&&(t.hdrTmp=e.first),Mc(e=Rc())&&(t.ftrTmp=e.first)}},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[dt],ngContentSelectors:G_,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},encapsulation:2,changeDetection:0}),e=D_([vx({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],e),e})();const YC=e=>{const t=e.rootNodes;for(let n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")};class ZC{constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,t,n){return this.ctrl.dismiss(e,t,n)}getTop(){return this.ctrl.getTop()}}let QC=(()=>{let e=class extends ZC{constructor(){super(B_.c)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),XC=(()=>{let e=class extends ZC{constructor(){super(B_.b)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),KC=(()=>{let e=class extends ZC{constructor(){super(B_.k)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),JC=(()=>{let e=class{open(e){return F_.a.open(e)}close(e){return F_.a.close(e)}toggle(e){return F_.a.toggle(e)}enable(e,t){return F_.a.enable(e,t)}swipeGesture(e,t){return F_.a.swipeGesture(e,t)}isOpen(e){return F_.a.isOpen(e)}isEnabled(e){return F_.a.isEnabled(e)}get(e){return F_.a.get(e)}getOpen(){return F_.a.getOpen()}getMenus(){return F_.a.getMenus()}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),eA=(()=>{let e=class extends ZC{constructor(e,t,n){super(B_.l),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(gi(AC),gi(nl),gi(mr))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),tA=(()=>{let e=class extends ZC{constructor(e,t,n){super(B_.d),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(gi(AC),gi(nl),gi(mr))},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),nA=(()=>{let e=class extends ZC{constructor(){super(B_.o)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();class iA{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,t){}retrieve(e){return null}shouldReuseRoute(e,t){if(e.routeConfig!==t.routeConfig)return!1;const n=e.params,i=t.params,s=Object.keys(n),o=Object.keys(i);if(s.length!==o.length)return!1;for(const r of s)if(i[r]!==n[r])return!1;return!0}}let sA=!1;const oA=(e,t,i)=>()=>{const s=t.defaultView;if(s&&"undefined"!=typeof window){sA&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),sA=!0,(s.Ionic=s.Ionic||{}).config=Object.assign({},e,{_zoneGate:e=>i.run(e)});const o="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(7).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(5).then(n.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(()=>{return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:$_,jmp:e=>i.runOutsideAngular(e),ael(e,t,n,i){e[o](t,n,i)},rel(e,t,n,i){e.removeEventListener(t,n,i)}},"undefined"==typeof window?Promise.resolve():(z_.b&&z_.b.supports&&z_.b.supports("color","var(--c)")?Object(z_.d)():n.e(6).then(n.t.bind(null,"9qUq",7)).then(()=>(z_.n.$cssShim$=z_.q.__cssshim)?z_.n.$cssShim$.i():0)).then(()=>(W_(),Object(z_.e)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[1],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[1]}],[33,"ion-card-title",{"color":[1]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[1],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["ion-range",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[1],"lines":[1]}]]]]'),e)));var e})}};var rA;let aA=(()=>{let e=rA=class{static forRoot(e){return{ngModule:rA,providers:[{provide:_C,useValue:e},{provide:Nc,useFactory:oA,multi:!0,deps:[_C,Hd,ad]}]}}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[AC,eA,tA],imports:[[uh]]}),e})();var lA=n("Hfs6"),cA=n.n(lA);function dA(e){return!!e&&(e instanceof v||"function"==typeof e.lift&&"function"==typeof e.subscribe)}class uA extends u{constructor(e,t){super()}schedule(e,t=0){return this}}class hA extends uA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class pA extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}let gA=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class fA extends gA{constructor(e,t=gA.now){super(e,()=>fA.delegate&&fA.delegate!==this?fA.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return fA.delegate&&fA.delegate!==this?fA.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let 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}}}class mA extends fA{}const bA=new mA(pA);function vA(e,t){return new v(t?n=>t.schedule(yA,0,{error:e,subscriber:n}):t=>t.error(e))}function yA({error:e,subscriber:t}){t.error(e)}let wA=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(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()}}do(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()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return lb(this.value);case"E":return vA(this.error);case"C":return nv()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class _A extends g{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(_A.dispatch,this.delay,new xA(e,this.destination)))}_next(e){this.scheduleMessage(wA.createNext(e))}_error(e){this.scheduleMessage(wA.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(wA.createComplete()),this.unsubscribe()}}class xA{constructor(e,t){this.notification=e,this.destination=t}}class CA extends C{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new AA(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let o;if(this.closed)throw new w;if(this.isStopped||this.hasError?o=u.EMPTY:(this.observers.push(e),o=new _(this,e)),i&&e.add(e=new _A(e,i)),t)for(let r=0;r<s&&!e.closed;r++)e.next(n[r]);else for(let r=0;r<s&&!e.closed;r++)e.next(n[r].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||bA).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let o=0;for(;o<s&&!(e-i[o].time<n);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&i.splice(0,o),i}}class AA{constructor(e,t){this.time=e,this.value=t}}function SA(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let s,o,r=0,a=!1,l=!1;return function(c){let d;r++,!s||a?(a=!1,s=new CA(e,t,i),d=s.subscribe(this),o=c.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){l=!0,o=void 0,s.complete()}}),l&&(o=void 0)):d=s.subscribe(this),this.add(()=>{r--,d.unsubscribe(),d=void 0,o&&!l&&n&&0===r&&(o.unsubscribe(),o=void 0,s=void 0)})}}(i))}class kA{}let EA=(()=>{class e extends kA{getTranslation(e){return lb({})}}return e.\u0275fac=function(t){return PA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const PA=$n(EA);class DA{}let OA=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function MA(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,i,s,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in s=Object.create(null),e){if(!MA(e[i],t[i]))return!1;s[i]=!0}for(i in t)if(!(i in s)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!MA(e[i],t[i]))return!1;return!0}}return!1}function TA(e){return null!=e}function IA(e){return e&&"object"==typeof e&&!Array.isArray(e)}function RA(e,t){let n=Object.assign({},e);return IA(e)&&IA(t)&&Object.keys(t).forEach(i=>{IA(t[i])?i in e?n[i]=RA(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}class LA{}let FA=(()=>{class e extends LA{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!TA(e)||!TA(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let i=this.getValue(t,n);return TA(i)?i:e}):e}}return e.\u0275fac=function(t){return BA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const BA=$n(FA);class zA{}let VA=(()=>{class e extends zA{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return NA(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const NA=$n(VA);class HA{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new yc,this.onLangChange=new yc,this.onDefaultLangChange=new yc}}const jA=new Xn("USE_STORE"),UA=new Xn("USE_DEFAULT_LANG"),WA=new Xn("DEFAULT_LANGUAGE"),GA=new Xn("USE_EXTEND");let $A=(()=>{class e{constructor(e,t,n,i,s,o=!0,r=!1,a=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=i,this.missingTranslationHandler=s,this.useDefaultLang=o,this.isolate=r,this.extend=a,this.pending=!1,this._onTranslationChange=new yc,this._onLangChange=new yc,this._onDefaultLangChange=new yc,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(lv(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return lb(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(lv(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),lb(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(SA(1),lv(1));return this.loadingTranslations=t.pipe(k(t=>this.compiler.compileTranslations(t,e)),SA(1),lv(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?RA(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let i;if(t instanceof Array){let i={},s=!1;for(let o of t)i[o]=this.getParsedResult(e,o,n),dA(i[o])&&(s=!0);return s?Af(t.map(e=>dA(i[e])?i[e]:lb(i[e]))).pipe(k(e=>{let n={};return e.forEach((e,i)=>{n[t[i]]=e}),n})):i}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),i=this.missingTranslationHandler.handle(e)}return void 0!==i?i:t}get(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(cb(n=>dA(n=this.getParsedResult(n,e,t))?n:lb(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return dA(n)?n:lb(n)}}getStreamOnTranslationChange(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');return ev(iv(()=>this.get(e,t)),this.onTranslationChange.pipe(sv(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:lb(i)})))}stream(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');return ev(iv(()=>this.get(e,t)),this.onLangChange.pipe(sv(n=>{const i=this.getParsedResult(n.translations,e,t);return dA(i)?i:lb(i)})))}instant(e,t){if(!TA(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(dA(n)){if(e instanceof Array){let t={};return e.forEach((n,i)=>{t[e[i]]=e[i]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(gi(HA),gi(kA),gi(zA),gi(LA),gi(DA),gi(UA),gi(jA),gi(GA),gi(WA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),qA=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let i=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let s=this.translate.getParsedResult(n,e,t);dA(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(MA(e,this.lastKey)&&MA(t,this.lastParams))return this.value;let n;if(TA(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(i){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+t[0])}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(zr($A),Vc())},e.\u0275pipe=Je({name:"translate",type:e,pure:!1}),e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),YA=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:kA,useClass:EA},t.compiler||{provide:zA,useClass:VA},t.parser||{provide:LA,useClass:FA},t.missingTranslationHandler||{provide:DA,useClass:OA},HA,{provide:jA,useValue:t.isolate},{provide:UA,useValue:t.useDefaultLang},{provide:GA,useValue:t.extend},{provide:WA,useValue:t.defaultLanguage},$A]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:kA,useClass:EA},t.compiler||{provide:zA,useClass:VA},t.parser||{provide:LA,useClass:FA},t.missingTranslationHandler||{provide:DA,useClass:OA},{provide:jA,useValue:t.isolate},{provide:UA,useValue:t.useDefaultLang},{provide:GA,useValue:t.extend},{provide:WA,useValue:t.defaultLanguage},$A]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();var ZA=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let QA=(()=>{class e{constructor(e,t,n){this.translate=e,this.router=t,this.toastController=n}success(e){return ZA(this,void 0,void 0,function*(){const t=e.includes("lang.")?this.translate.instant(e):e;(yield this.toastController.create({cssClass:"notif-success",duration:3e3,message:t,position:"top"})).present()})}error(e){return ZA(this,void 0,void 0,function*(){const t=e.includes("lang.")?this.translate.instant(e):e;(yield this.toastController.create({cssClass:"notif-error",duration:3e3,message:t,position:"top"})).present()})}handleErrors(e){console.log(e),0===e.status&&"Unknown Error"===e.statusText?this.error("lang.connectionServerFailed"):void 0!==e.error.errors?(this.error(void 0!==e.error.lang?"lang."+e.error.lang:e.error.errors),403!==e.status&&404!==e.status||this.router.navigate(["/home"])):this.error(void 0!==e.error.exception?e.error.exception[0].message:void 0!==e.error.error&&void 0!==e.error.error.message?e.error.error.message:void 0!==e.error.error[0]?e.error.error[0].message:e.message)}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(r_),gi(nA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();class XA{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class KA extends XA{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class JA extends XA{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class eS extends XA{constructor(e){super(),this.element=e instanceof rl?e.nativeElement:e}}class tS{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof KA?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof JA?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof eS?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nS extends tS{constructor(e,t,n,i,s){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=s}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let iS=(()=>{class e extends tS{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new yc,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(zr(nl),zr(Gl),zr(Hd))},e.\u0275dir=Ke({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[vr]}),e})(),sS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),oS=(()=>{class e{constructor(e,t,n){this.componentFactoryResolver=e,this.injector=t,this.appRef=n,this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentToobal="mainDocumentDetail",this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.mobileMode=!0,this.smartphoneMode=!0,this.mode="",this.scale=1,this.x=0,this.y=90,this.dragging=!1,this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}reset(){this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.currentToobal="mainDocumentDetail",this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.mode="",this.scale=1,this.x=0,this.y=90}getAppSession(){this.appSession="AD098AD9ADA0D9IAXKJ90AKS099S"}initTemplate(e,t,n="adminMenu",i=""){document.getElementById(""+n).innerHTML="",this.portalHost=new nS(document.querySelector("#"+n),this.componentFactoryResolver,this.appRef,this.injector);const s=new JA(e,t);this.portalHost.attach(s)}detachTemplate(e="adminMenu"){this.portalHost.detach()}}return e.\u0275fac=function(t){return new(t||e)(gi(nl),gi(mr),gi(Pd))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),rS=(()=>{class e{constructor(){}setAppSession(e){this.appSession=e}getAppSession(){return this.appSession}save(e,t){localStorage.setItem(e+"_"+this.getAppSession(),t)}get(e){return localStorage.getItem(e+"_"+this.getAppSession())}remove(e){localStorage.removeItem(e+"_"+this.getAppSession())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),aS=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.router=t,this.notificationService=n,this.signaturesService=i,this.localStorage=s,this.navCtrl=o,this.authMode="default",this.changeKey=!1,this.coreUrl="",this.user={},this.signatureRoles=[],this.authFailed=!1}getToken(){return this.localStorage.get("MaarchParapheurToken")}setToken(e){this.localStorage.save("MaarchParapheurToken",e)}getRefreshToken(){return this.localStorage.get("MaarchParapheurRefreshToken")}setRefreshToken(e){this.localStorage.save("MaarchParapheurRefreshToken",e)}clearTokens(){this.localStorage.remove("MaarchParapheurToken"),this.localStorage.remove("MaarchParapheurRefreshToken")}refreshToken(){return this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).pipe(Ov(e=>{this.setToken(e.token),this.updateUserInfo(e.token)}),fv(e=>(this.logout(),this.notificationService.error("lang.sessionExpired"),lb(!1))))}logout(){if(null===this.getRefreshToken())return this.clearTokens(),void this.navCtrl.navigateRoot("/login");this.http.get("../rest/authenticate/logout").pipe(Ov(()=>{this.clearTokens(),this.navCtrl.navigateRoot("/login")}),fv(e=>(this.notificationService.handleErrors(e),this.clearTokens(),this.navCtrl.navigateRoot("/login"),lb(!1)))).subscribe()}saveTokens(e,t){this.setToken(e),this.setRefreshToken(t)}isAuth(){return null!==this.getToken()}updateUserInfo(e){const t=this.user.picture,n=JSON.parse(atob(e.split(".")[1]));this.user=n.user,this.authMode=n.connection,this.user.picture=t}updateUserInfoWithTokenRefresh(){this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).subscribe({next:e=>{this.setToken(e.token),this.updateUserInfo(this.getToken())},error:e=>{this.notificationService.handleErrors(e)}})}setUser(e){this.user=e}getSignatureMode(e){return"visa"===e?"stamp":e}getWorkflowMode(e){return this.signatureRoles.filter(t=>t.id===e)[0].type}setCachedUrl(e){this.localStorage.save("MaarchParapheurCacheUrl",e)}getCachedUrl(){return this.localStorage.get("MaarchParapheurCacheUrl")}cleanCachedUrl(){return this.localStorage.remove("MaarchParapheurCacheUrl")}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(r_),gi(QA),gi(oS),gi(rS),gi(ux))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),lS=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.router=t,this.notificationService=n,this.signaturesService=i,this.authService=s,this.excludeUrls=["../rest/authenticate","../rest/authenticate/token","../rest/authenticationInformations","../rest/password","../rest/passwordRules","../rest/languages/fr","../rest/languages/en"],this.frontUrl=["../rest/documents/","../rest/users/","../rest/groups/","../rest/configurations/"],this.byPassHandleErrors=[{route:"/password",method:["PUT"]},{route:"/logout",method:["GET"]}],this.isRefreshing=!1,this.refreshTokenSubject=new Gb(null)}addAuthHeader(e){const t=this.authService.getToken();return e.clone({setHeaders:{Authorization:"Bearer "+t}})}intercept(e,t){return(this.excludeUrls.indexOf(e.url)>-1||e.url.indexOf("/password")>-1)&&-1===e.url.indexOf("/passwordRules")&&-1===e.method.indexOf("PUT")?t.handle(e):(e=this.addAuthHeader(e),t.handle(e).pipe(fv(n=>{if(this.byPassHandleErrors.filter(t=>e.url.indexOf(t.route)>-1&&t.method.indexOf(e.method)>-1).length>0)return t.handle(e);if(401===n.status)return this.handle401Error(e,t);if("Password expired : User must change his password"===n.error.errors)return this.router.navigate(["/password-modification"]);{let t;return"GET"===e.method&&this.frontUrl.forEach(i=>{if(e.url.indexOf(i)>-1)return"../rest/documents/"===i&&(this.signaturesService.mainDocumentId=null),t=new Eb({error:n.error,status:n.status,statusText:n.statusText,headers:n.headers,url:n.url}),Promise.reject(t)}),t=new Eb({error:n.error,status:n.status,statusText:n.statusText,headers:n.headers,url:n.url}),Promise.reject(t)}})))}handle401Error(e,t){return this.isRefreshing?this.refreshTokenSubject.pipe(db(e=>null!=e),lv(1),sv(()=>(e=this.addAuthHeader(e),t.handle(e)))):(this.isRefreshing=!0,this.refreshTokenSubject.next(null),this.authService.refreshToken().pipe(sv(n=>(this.isRefreshing=!1,this.refreshTokenSubject.next(n.token),e=this.addAuthHeader(e),t.handle(e)))))}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(r_),gi(QA),gi(oS),gi(aS))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();function cS(e,t){if(1&e){const e=qr();Hr(0,"div",2),Hr(1,"div",3),Hr(2,"button",4),dn(),Hr(3,"svg",5),Ur(4,"path",6),jr(),un(),Hr(5,"span",7),Da(6,"Presentation Mode"),jr(),jr(),Hr(7,"button",8),dn(),Hr(8,"svg",5),Ur(9,"path",9),jr(),un(),Hr(10,"span",10),Da(11,"Open"),jr(),jr(),Hr(12,"button",11),dn(),Hr(13,"svg",5),Ur(14,"path",12),jr(),un(),Hr(15,"span",13),Da(16,"Print"),jr(),jr(),Hr(17,"button",14),dn(),Hr(18,"svg",5),Ur(19,"path",15),jr(),un(),Hr(20,"span",16),Da(21,"Download"),jr(),jr(),Hr(22,"a",17),dn(),Hr(23,"svg",5),Ur(24,"path",18),jr(),un(),Hr(25,"span",19),Da(26,"Current View"),jr(),jr(),Hr(27,"button",20),dn(),Hr(28,"svg",21),Ur(29,"path",22),jr(),un(),Hr(30,"span",23),Da(31,"Go to First Page"),jr(),jr(),Hr(32,"button",24),Xr("click",function(){return Lt(e),na().previousPage()}),dn(),Hr(33,"svg",21),Ur(34,"path",25),jr(),un(),Hr(35,"span",26),Da(36,"Go to Previous Page"),jr(),jr(),Hr(37,"button",27),Xr("click",function(){return Lt(e),na().nextPage()}),dn(),Hr(38,"svg",21),Ur(39,"path",28),jr(),un(),Hr(40,"span",29),Da(41,"Go to Next Page"),jr(),jr(),Hr(42,"button",30),dn(),Hr(43,"svg",21),Ur(44,"path",31),jr(),un(),Hr(45,"span",32),Da(46,"Go to Last Page"),jr(),jr(),Hr(47,"button",33),dn(),Hr(48,"svg",5),Ur(49,"path",34),jr(),un(),Hr(50,"span",35),Da(51,"Rotate Clockwise"),jr(),jr(),Hr(52,"button",36),dn(),Hr(53,"svg",5),Ur(54,"path",37),jr(),un(),Hr(55,"span",38),Da(56,"Rotate Counterclockwise"),jr(),jr(),Hr(57,"button",39),dn(),Hr(58,"svg",5),Ur(59,"path",40),jr(),un(),Hr(60,"span",41),Da(61,"Text Selection Tool"),jr(),jr(),Hr(62,"button",42),dn(),Hr(63,"svg",5),Ur(64,"path",43),jr(),un(),Hr(65,"span",44),Da(66,"Hand Tool"),jr(),jr(),Hr(67,"button",45),dn(),Hr(68,"svg",46),Ur(69,"path",47),jr(),un(),Hr(70,"span",48),Da(71,"Vertical Scrolling"),jr(),jr(),Hr(72,"button",49),dn(),Hr(73,"svg",46),Ur(74,"path",50),jr(),un(),Hr(75,"span",51),Da(76,"Horizontal Scrolling"),jr(),jr(),Hr(77,"button",52),dn(),Hr(78,"svg",46),Ur(79,"path",53),jr(),un(),Hr(80,"span",54),Da(81,"Wrapped Scrolling"),jr(),jr(),Hr(82,"button",55),Xr("click",function(){return Lt(e),na().onSpreadChange("off")}),dn(),Hr(83,"svg",56),Ur(84,"path",57),jr(),un(),Hr(85,"span",58),Da(86,"No Spreads"),jr(),jr(),Hr(87,"button",59),Xr("click",function(){return Lt(e),na().onSpreadChange("odd")}),dn(),Hr(88,"svg",46),Ur(89,"path",60),jr(),un(),Hr(90,"span",61),Da(91,"Odd Spreads"),jr(),jr(),Hr(92,"button",62),Xr("click",function(){return Lt(e),na().onSpreadChange("even")}),dn(),Hr(93,"svg",46),Ur(94,"path",63),jr(),un(),Hr(95,"span",64),Da(96,"Even Spreads"),jr(),jr(),Hr(97,"button",65),dn(),Hr(98,"svg",66),Ur(99,"path",67),Ur(100,"path",68),Ur(101,"circle",69),jr(),un(),Hr(102,"span",70),Da(103,"Document Properties\u2026"),jr(),jr(),jr(),jr()}if(2&e){const e=na();fa("top",e.secondaryToolbarTop)("transform","scale("+e.mobileFriendlyZoomScale+")")("transform-origin","right top"),no(2),ma("invisible",!e.showPresentationModeButton),no(5),ma("invisible",!e.showOpenFileButton),no(5),ma("invisible",!e.showPrintButton),no(5),ma("invisible",!e.showDownloadButton),no(5),ma("invisible",!e.showBookmarkButton),no(5),ma("invisible",!e.showPagingButtons),no(5),ma("invisible",!e.showPagingButtons),Vr("disabled",e.disablePreviousPage),no(5),ma("invisible",!e.showPagingButtons),Vr("disabled",e.disableNextPage),no(5),ma("invisible",!e.showPagingButtons),no(5),ma("invisible",!e.showRotateButton),no(5),ma("invisible",!e.showRotateButton),no(5),ma("invisible",!e.showHandToolButton),no(5),ma("invisible",!e.showHandToolButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showScrollingButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showSpreadButton),no(5),ma("invisible",!e.showPropertiesButton)}}function dS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customSidebar ? customSidebar : defaultSidebar"])}function uS(e,t){if(1&e){const e=qr();Hr(0,"div",2),Hr(1,"div",3),Ur(2,"pdf-sidebar-toolbar"),jr(),Hr(3,"pdf-sidebar-content",4),Xr("thumbnailDrawn",function(t){return Lt(e),na().thumbnailDrawn.emit(t)}),jr(),Ur(4,"div",5),jr()}if(2&e){const e=na();fa("top",e.sidebarPositionTop),no(1),fa("display",e.hideSidebarToolbar?"none":""),no(2),Vr("customThumbnail",e.customThumbnail)("hideSidebarToolbar",e.hideSidebarToolbar)}}const hS=["*"],pS=["root"],gS=["pdfSecondaryToolbarComponent"],fS=["pdfsidebar"];function mS(e,t){1&e&&Ur(0,"link",48)}function bS(e,t){1&e&&Ur(0,"pdf-dark-theme")}function vS(e,t){1&e&&Ur(0,"pdf-light-theme")}function yS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customFreeFloatingBar ? customFreeFloatingBar : defaultFreeFloatingBar"])}function wS(e,t){}function _S(e,t){if(1&e&&(Hr(0,"div",3),$r(1,0),jr()),2&e){const e=na(),t=Br(4);fa("transform","scale("+e.mobileFriendlyZoomScale+")")("transform-origin","left center")("left",e.findbarLeft)("top",e.findbarTop),ma("invisible",!e.showFindButton),no(1),Vr("ngTemplateOutlet",e.customFindbarButtons?e.customFindbarButtons:t)}}function xS(e,t){1&e&&(Ur(0,"pdf-find-input-area",4),Ur(1,"pdf-findbar-options-one-container"),Ur(2,"pdf-findbar-options-two-container"),Ur(3,"pdf-findbar-options-three-container"),Ur(4,"pdf-findbar-message-container")),2&e&&Vr("customFindbarInputArea",na().customFindbarInputArea)}function CS(e,t){1&e&&(Hr(0,"div",2),Ur(1,"pdf-search-input-field"),Ur(2,"pdf-find-previous"),Ur(3,"pdf-find-next"),jr())}const AS=["button"],SS="[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",kS=["button1"],ES=["button2"],PS="[_nghost-%COMP%]{margin-top:-1px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",DS="button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:-2px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}";function OS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customToolbar ? customToolbar : defaultToolbar"])}function MS(e,t){if(1&e&&(Hr(0,"div",7),Hr(1,"div",8),Ur(2,"pdf-toggle-sidebar",9),Ur(3,"pdf-find-button",10),Ur(4,"pdf-paging-area",11),jr(),Ur(5,"pdf-zoom-toolbar",12),Hr(6,"div",13),Ur(7,"pdf-hand-tool",14),Ur(8,"pdf-select-tool",15),Ur(9,"pdf-rotate-page",16),Ur(10,"pdf-presentation-mode",17),Ur(11,"pdf-open-file",18),Ur(12,"pdf-print",19),Ur(13,"pdf-download",20),Ur(14,"pdf-bookmark",21),Ur(15,"pdf-toggle-secondary-toolbar",22),jr(),jr()),2&e){const e=na();no(2),Vr("showSidebarButton",e.showSidebarButton),no(1),Vr("showFindButton",e.showFindButton)("textLayer",e.textLayer),no(1),Vr("showPagingButtons",e.showPagingButtons),no(1),Vr("showZoomButtons",e.showZoomButtons)("zoomLevels",e.zoomLevels),no(2),Vr("showHandToolButton",e.showHandToolButton),no(1),Vr("showSelectToolButton",e.showHandToolButton),no(1),Vr("showRotateButton",e.showRotateButton),no(1),Vr("showPresentationModeButton",e.showPresentationModeButton),no(1),Vr("showOpenFileButton",e.showOpenFileButton),no(1),Vr("showPrintButton",e.showPrintButton),no(1),Vr("showDownloadButton",e.showDownloadButton),no(1),Vr("showBookmarkButton",e.showBookmarkButton),no(1),Vr("showSecondaryToolbarButton",e.showSecondaryToolbarButton)}}const TS=["sizeSelector"];function IS(e,t){if(1&e&&(Hr(0,"option",5),Da(1),jr()),2&e){const e=t.$implicit;Vr("id",e.id),Ir("value",e.value)("data-l10n-id",e.dataL10nId)("data-l10n-args",e.dataL10nArgs),no(1),Ma(" ",e.displayValue," ")}}const RS=["thumbnailViewTemplate"];function LS(e,t){1&e&&oa(0,0,["*ngTemplateOutlet","customThumbnail ? customThumbnail : defaultThumbnail"])}function FS(e,t){1&e&&(Hr(0,"a",8),Hr(1,"div",9),Ur(2,"div",10),jr(),jr())}const BS="undefined"!=typeof window&&!!window.MSInputMethodContext&&!!document.documentMode,zS=/Edge\/\d./i.test(navigator.userAgent),VS="undefined"==typeof ReadableStream||void 0===Promise.allSettled;let NS={cursorToolOnLoad:0,defaultUrl:"",defaultZoomValue:"",disableHistory:!1,disablePageLabels:!1,enablePrintAutoRotate:!1,enableWebGL:!1,eventBusDispatchToDOM:!1,externalLinkRel:"noopener noreferrer nofollow",externalLinkTarget:0,historyUpdateUrl:!1,imageResourcesPath:"./images/",maxCanvasPixels:16777216,pdfBugEnabled:!1,removePageBorders:!1,renderer:"canvas",renderInteractiveForms:!0,sidebarViewOnLoad:-1,scrollModeOnLoad:-1,spreadModeOnLoad:-1,textLayerMode:1,useOnlyCssZoom:!1,viewOnLoad:0,cMapPacked:!0,cMapUrl:()=>"./"+NS.assetsFolder+"/cmaps/",disableAutoFetch:!1,disableCreateObjectURL:!1,disableFontFace:!1,disableRange:!1,disableStream:!1,isEvalSupported:!0,maxImageSize:-1,pdfBug:!1,postMessageTransfers:!0,verbosity:1,workerPort:null,assetsFolder:"assets",workerSrc:()=>BS||zS||VS?"./"+NS.assetsFolder+"/pdf.worker-es5.js":"./"+NS.assetsFolder+"/pdf.worker.js"};window.pdfDefaultOptions?NS=window.pdfDefaultOptions:window.pdfDefaultOptions=NS;const HS={ERRORS:0,WARNINGS:1,INFOS:5};HS[HS.ERRORS]="ERRORS",HS[HS.WARNINGS]="WARNINGS",HS[HS.INFOS]="INFOS";const jS={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};jS[jS.FOUND]="FOUND",jS[jS.NOT_FOUND]="NOT_FOUND",jS[jS.WRAPPED]="WRAPPED",jS[jS.PENDING]="PENDING";const US=["toolbarViewer","numPages","pageNumber","scaleSelectContainer","customScaleOption","previous","next","zoomIn","zoomOut","viewFind","openFile","print","presentationMode","download","viewBookmark","secondaryToolbar","secondaryToolbarToggle","secondaryToolbarButtonContainer","secondaryPresentationMode","secondaryOpenFile","secondaryPrint","secondaryDownload","secondaryViewBookmark","firstPage","lastPage","pageRotateCw","pageRotateCcw","cursorSelectTool","cursorHandTool","scrollVertical","scrollHorizontal","scrollWrapped","spreadNone","spreadOdd","spreadEven","documentProperties","contextFirstPage","contextLastPage","contextPageRotateCw","contextPageRotateCcw","outerContainer","viewerContainer","sidebarToggle","viewThumbnail","viewOutline","viewAttachments","thumbnailView","outlineView","attachmentsView","outerContainer","sidebarResizer","findbar","viewFind","findInput","findInputMultiline","findHighlightAll","findMatchCase","findEntireWord","findMultipleSearchTexts","findIgnoreAccents","findMsg","findResultsCount","findPrevious","findNext","findFuzzy","passwordOverlay","passwordText","password","passwordSubmit","passwordCancel","documentPropertiesOverlay","documentPropertiesClose","fileNameField","fileSizeField","titleField","authorField","subjectField","keywordsField","creationDateField","modificationDateField","creatorField","producerField","versionField","pageCountField","pageSizeField","linearizedField","errorWrapper","errorMessage","errorClose","errorMoreInfo","errorShowMore","errorShowLess","scaleSelectContainer","viewAttachments","viewLayers","viewThumbnail","viewOutline"];let WS=(()=>{class e{addMissingStandardWidgets(){this.dummyComponentsContainer=document.getElementsByClassName("dummy-pdf-viewer-components")[0];const e=this.dummyComponentsContainer;if(e)for(let t=0;t<e.children.length;t++){const t=e.firstChild;t&&e.removeChild(t)}if(US.forEach(e=>{if(this.needsDummyWidget(e)){const t=document.createElement("span");t.id=e,t.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(t)}}),this.needsDummyWidget("scaleSelect")){const e=document.createElement("select");e.id="scaleSelect",e.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(e)}}needsDummyWidget(e){return!document.getElementById(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-dummy-components"]],decls:1,vars:0,consts:[[1,"invisible","dummy-pdf-viewer-components"]],template:function(e,t){1&e&&Ur(0,"span",0)},encapsulation:2}),e})(),GS=(()=>{class e{constructor(){this.onPDFJSInit=new C,this.pdfjsVersion=new CA(1),window.pdfjsLib&&window.pdfjsLib.version?this.pdfjsVersion.next(window.pdfjsLib.version):this.onPDFJSInit.subscribe(()=>{this.pdfjsVersion.next(window.pdfjsLib.version)})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ge({factory:function(){return new e},token:e,providedIn:"root"}),e})(),$S=(()=>{class e{constructor(e,t){this.element=e,this.notificationService=t,this.showPresentationModeButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.showPagingButtons=!0,this.showRotateButton=!0,this.showHandToolButton=!0,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.spreadChange=new yc,this.secondaryMenuIsEmpty=new yc,this.disablePreviousPage=!0,this.disableNextPage=!0;const n=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),n.unsubscribe()})}onPdfJsInit(){const e=window.PDFViewerApplication;e.eventBus.on("pagechanging",()=>{this.updateUIState()}),e.eventBus.on("pagerendered",()=>{this.updateUIState()})}updateUIState(){setTimeout(()=>{const e=window.PDFViewerApplication,t=e.pdfViewer.currentPageNumber,n=document.getElementById("previousPage");n&&(this.disablePreviousPage=Number(t)<=1,n.disabled=this.disablePreviousPage);const i=document.getElementById("nextPage");i&&(this.disableNextPage=t===e.pagesCount,i.disabled=this.disableNextPage)})}onSpreadChange(e){this.spreadChange.emit(e)}ngOnChanges(e){setTimeout(()=>this.checkVisibility())}onResize(){setTimeout(()=>this.checkVisibility())}ngAfterViewInit(){setTimeout(()=>this.checkVisibility())}ngOnInit(){setTimeout(()=>this.checkVisibility())}checkVisibility(){let e=0;const t=this.element.nativeElement.children.item(0);if(t){const n=t.children.item(0);n&&n instanceof HTMLElement&&(e=this.checkVisibilityRecursively(n))}this.secondaryMenuIsEmpty.emit(0===e)}checkVisibilityRecursively(e){if("none"===e.style.display)return 0;if(e.classList.contains("hidden"))return 0;if(e.classList.contains("invisible"))return 0;if("none"===window.getComputedStyle(e).display)return 0;if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement)return 1;let t=0;const n=e.children;if(n&&n.length)for(let i=0;i<n.length&&0===t;i++){const e=n.item(i);e&&e instanceof HTMLElement&&(t+=this.checkVisibilityRecursively(e))}return t}previousPage(){window.PDFViewerApplication.eventBus.dispatch("previouspage")}nextPage(){window.PDFViewerApplication.eventBus.dispatch("nextpage")}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-secondary-toolbar"]],hostBindings:function(e,t){1&e&&Xr("resize",function(){return t.onResize()},!1,ps)},inputs:{showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",showPagingButtons:"showPagingButtons",showRotateButton:"showRotateButton",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",customSecondaryToolbar:"customSecondaryToolbar",secondaryToolbarTop:"secondaryToolbarTop",mobileFriendlyZoomScale:"mobileFriendlyZoomScale"},outputs:{spreadChange:"spreadChange",secondaryMenuIsEmpty:"secondaryMenuIsEmpty"},features:[dt],decls:3,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultSecondaryToolbar",""],["id","secondaryToolbar",1,"secondaryToolbar","hidden","doorHangerRight"],["id","secondaryToolbarButtonContainer"],["type","button","id","secondaryPresentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"secondaryToolbarButton","visibleLargeView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"],["type","button","id","secondaryOpenFile","title","Open File","data-l10n-id","open_file",1,"secondaryToolbarButton","visibleMediumView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"],["type","button","id","secondaryPrint","title","Print","data-l10n-id","print",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"],["type","button","id","secondaryDownload","title","Download","data-l10n-id","download",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"],["href","#","id","secondaryViewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"secondaryToolbarButton","bookmark","visibleTinyView"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"],["type","button","id","firstPage","title","Go to First Page","data-l10n-id","first_page",1,"secondaryToolbarButton","firstPage","visibleLargeView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"],["type","button","id","previousPage","title","Go to Previous Page","data-l10n-id","previous",1,"secondaryToolbarButton","previousPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"],["type","button","id","nextPage","title","Go to Next Page","data-l10n-id","next",1,"secondaryToolbarButton","nextPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"],["type","button","id","lastPage","title","Go to Last Page","data-l10n-id","last_page",1,"secondaryToolbarButton","lastPage","visibleLargeView"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"],["type","button","id","pageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"secondaryToolbarButton","rotateCw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["data-l10n-id","page_rotate_cw_label"],["type","button","id","pageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"secondaryToolbarButton","rotateCcw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"],["data-l10n-id","page_rotate_ccw_label"],["type","button","id","cursorSelectTool","title","Enable Text Selection Tool","data-l10n-id","cursor_text_select_tool",1,"secondaryToolbarButton","toggled","visibleXXLView"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"],["type","button","id","cursorHandTool","title","Enable Hand Tool","data-l10n-id","cursor_hand_tool",1,"secondaryToolbarButton","visibleXXLView"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"],["type","button","id","scrollVertical","title","Use Vertical Scrolling","data-l10n-id","scroll_vertical",1,"secondaryToolbarButton","scrollVertical","toggled"],[2,"width","24px","height","24px","margin-top","3px"],["fill","currentColor","d","M9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM11 0v.5c0 1-.5 1.5-1.5 1.5h-3C5.5 2 5 1.5 5 .5V0h6zM11 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6z"],["data-l10n-id","scroll_vertical_label"],["type","button","id","scrollHorizontal","title","Use Horizontal Scrolling","data-l10n-id","scroll_horizontal",1,"secondaryToolbarButton","scrollHorizontal"],["fill","currentColor","d","M0 4h1.5c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5H0zM9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM16 4h-1.5c-1 0-1.5.5-1.5 1.5v5c0 1 .5 1.5 1.5 1.5H16z"],["data-l10n-id","scroll_horizontal_label"],["type","button","id","scrollWrapped","title","Use Wrapped Scrolling","data-l10n-id","scroll_wrapped",1,"secondaryToolbarButton","scrollWrapped"],["fill","currentColor","d","M5.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C1 4.5 1.5 4 2.5 4zM7 0v.5C7 1.5 6.5 2 5.5 2h-3C1.5 2 1 1.5 1 .5V0h6zM7 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6zM13.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5c0-1 .5-1.5 1.5-1.5zM15 0v.5c0 1-.5 1.5-1.5 1.5h-3C9.5 2 9 1.5 9 .5V0h6zM15 16v-.507c0-1-.5-1.5-1.5-1.5h-3C9.5 14 9 14.5 9 15.5v.5h6z"],["data-l10n-id","scroll_wrapped_label"],["type","button","id","spreadNone","title","Do not join page spreads","data-l10n-id","spread_none",1,"secondaryToolbarButton","spreadNone","toggled",3,"click"],["height","16","width","16"],["fill","currentColor","d","M6 3c-1 0-1.5.5-1.5 1.5v7c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5z"],["data-l10n-id","spread_none_label"],["type","button","id","spreadOdd","title","Join page spreads starting with odd-numbered pages","data-l10n-id","spread_odd",1,"secondaryToolbarButton","spreadOdd",3,"click"],["fill","currentColor","d","M10.56 3.5C9.56 3.5 9 4 9 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.93 1.2c.8 0 1.4.2 1.8.64.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.44-.2.3-.6.6-1 .93l-.6.4c-.4.3-.6.4-.7.55-.1.1-.2.2-.3.4h3.2v1.27h-5c0-.5.1-1 .3-1.43.2-.49.7-1 1.5-1.54.7-.5 1.1-.8 1.3-1.02.3-.3.4-.7.4-1.05 0-.3-.1-.6-.3-.77-.2-.2-.4-.3-.7-.3-.4 0-.7.2-.9.5-.1.2-.1.5-.2.9h-1.4c0-.6.2-1.1.3-1.5.4-.7 1.1-1.1 2-1.1zM1.54 3.5C.54 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.54 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.8 1.125H4.5V12H3V6.9H1.3v-1c.5 0 .8 0 .97-.03.33-.07.53-.17.73-.37.1-.2.2-.3.25-.5.05-.2.05-.3.05-.3z"],["data-l10n-id","spread_odd_label"],["type","button","id","spreadEven","title","Join page spreads starting with even-numbered pages","data-l10n-id","spread_even",1,"secondaryToolbarButton","spreadEven",3,"click"],["fill","currentColor","d","M1.5 3.5C.5 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm2 1.2c.8 0 1.4.2 1.8.6.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.4-.2.3-.5.7-1 1l-.6.4c-.4.3-.6.4-.75.56-.15.14-.25.24-.35.44H6v1.3H1c0-.6.1-1.1.3-1.5.3-.6.7-1 1.5-1.6.7-.4 1.1-.8 1.28-1 .32-.3.42-.6.42-1 0-.3-.1-.6-.23-.8-.17-.2-.37-.3-.77-.3s-.7.1-.9.5c-.04.2-.1.5-.1.9H1.1c0-.6.1-1.1.3-1.5.4-.7 1.1-1.1 2.1-1.1zM10.54 3.54C9.5 3.54 9 4 9 5v6.5c0 1 .5 1.5 1.54 1.5h4c.96 0 1.46-.5 1.46-1.5V5c0-1-.5-1.46-1.5-1.46zm1.9.95c.7 0 1.3.2 1.7.5.4.4.6.8.6 1.4 0 .4-.1.8-.4 1.1-.2.2-.3.3-.5.4.1 0 .3.1.6.3.4.3.5.8.5 1.4 0 .6-.2 1.2-.6 1.6-.4.5-1.1.7-1.9.7-1 0-1.8-.3-2.2-1-.14-.29-.24-.69-.24-1.29h1.4c0 .3 0 .5.1.7.2.4.5.5 1 .5.3 0 .5-.1.7-.3.2-.2.3-.5.3-.8 0-.5-.2-.8-.6-.95-.2-.05-.5-.15-1-.15v-1c.5 0 .8-.1 1-.14.3-.1.5-.4.5-.9 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.7-.3-.3 0-.6.1-.75.3-.2.2-.2.5-.2.86h-1.34c0-.4.1-.7.19-1.1 0-.12.2-.32.4-.62.2-.2.4-.3.7-.4.3-.1.6-.1 1-.1z"],["data-l10n-id","spread_even_label"],["type","button","id","documentProperties","title","Document Properties\u2026","data-l10n-id","document_properties",1,"secondaryToolbarButton","documentProperties"],["viewBox","0 0 16 16",2,"width","16px","height","16px","margin-top","3px"],["fill","currentColor","d","M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z"],["fill","currentColor","d","M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z"],["fill","currentColor","cx","8","cy","5","r","1.188"],["data-l10n-id","document_properties_label"]],template:function(e,t){if(1&e&&($r(0,0),Fr(1,cS,104,48,"ng-template",null,1,zc)),2&e){const e=Br(2);Vr("ngTemplateOutlet",t.customSecondaryToolbar?t.customSecondaryToolbar:e)}},directives:[Ku],styles:["svg[_ngcontent-%COMP%]{position:absolute;display:inline-block;top:0;left:0}"]}),e})();const qS={SELECT:0,HAND:1,ZOOM:2};qS[qS.SELECT]="SELECT",qS[qS.HAND]="HAND",qS[qS.ZOOM]="ZOOM";class YS{constructor(e){this._zone=e,this.startX=0,this.startY=0,this.initialPinchDistance=0,this.pinchScale=1,this.isMobile()&&this.initializePinchZoom()}isMobile(){return"ontouchstart"in document.documentElement}onViewerTouchStart(e){if(this.initialPinchDistance=0,2===e.touches.length){const t=this.container.getBoundingClientRect();e.touches[0].pageX>=t.left&&e.touches[0].pageX<=t.right&&e.touches[0].pageY>=t.top&&e.touches[1].pageX>=t.left&&e.touches[1].pageX<=t.right&&e.touches[1].pageY>=t.top&&(this.startX=(e.touches[0].pageX+e.touches[1].pageX)/2,this.startY=(e.touches[0].pageY+e.touches[1].pageY)/2,this.initialPinchDistance=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),e.preventDefault(),e.stopPropagation())}}onViewerTouchMove(e){const t=window.PDFViewerApplicationOptions;if(this.initialPinchDistance<=0||2!==e.touches.length)return;1!==this.pinchScale&&e.preventDefault();const n=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),i=this.startX+this.container.scrollLeft,s=this.startY+this.container.scrollTop;this.pinchScale=n/this.initialPinchDistance;let o=Number(t.get("minZoom"));o||(o=.1),this.pinchScale<o&&(this.pinchScale=o);let r=Number(t.get("maxZoom"));r||(r=10),this.pinchScale>r&&(this.pinchScale=r),this.viewer.style.transform=`scale(${this.pinchScale})`,this.viewer.style.transformOrigin=`${i}px ${s}px`,e.preventDefault(),e.stopPropagation()}onViewerTouchEnd(e){const t=window.PDFViewerApplication;if(this.initialPinchDistance<=0)return;this.viewer.style.transform="none",this.viewer.style.transformOrigin="unset",t.pdfViewer.currentScale*=this.pinchScale;const n=this.container.getBoundingClientRect(),i=this.startY-n.top;this.container.scrollLeft+=(this.startX-n.left)*(this.pinchScale-1),this.container.scrollTop+=i*(this.pinchScale-1),this.resetPinchZoomParams(),e.preventDefault(),e.stopPropagation()}resetPinchZoomParams(){this.startX=this.startY=this.initialPinchDistance=0,this.pinchScale=1}initializePinchZoom(){this.viewer=document.getElementById("viewer"),this.container=document.getElementById("viewerContainer"),this._zone.runOutsideAngular(()=>{document.addEventListener("touchstart",this.onViewerTouchStart.bind(this)),document.addEventListener("touchmove",this.onViewerTouchMove.bind(this),{passive:!1}),document.addEventListener("touchend",this.onViewerTouchEnd.bind(this))})}destroyPinchZoom(){this.isMobile()&&(document.removeEventListener("touchstart",this.onViewerTouchStart),document.removeEventListener("touchmove",this.onViewerTouchMove),document.removeEventListener("touchend",this.onViewerTouchEnd))}}let ZS=(()=>{class e{constructor(e,t){this.elementRef=e,this.ref=t,this.sidebarVisible=!0,this.showSidebarButton=!0,this.thumbnailDrawn=new yc,this.hideSidebarToolbar=!0}showToolbarWhenNecessary(){const e=this.elementRef.nativeElement.querySelectorAll("button");let t=0;e.forEach(e=>{e.hidden||t++}),this.hideSidebarToolbar=t<=1,this.ref.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl))},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar"]],inputs:{sidebarVisible:"sidebarVisible",showSidebarButton:"showSidebarButton",sidebarPositionTop:"sidebarPositionTop",customSidebar:"customSidebar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:hS,decls:4,vars:1,consts:[[4,"ngTemplateOutlet"],["defaultSidebar",""],["id","sidebarContainer"],["id","additionalSidebarContainer"],[3,"customThumbnail","hideSidebarToolbar","thumbnailDrawn"],["id","sidebarResizer",1,"hidden"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div"),Fr(1,dS,1,0,"ng-content",0),jr(),Fr(2,uS,5,6,"ng-template",null,1,zc)),2&e){const e=Br(3);no(1),Vr("ngTemplateOutlet",t.customSidebar?t.customSidebar:e)}},directives:function(){return[Ku,Hk,Nk]},styles:[""]}),e})(),QS=(()=>{class e{constructor(e,t,n,i){this.ngZone=e,this.platformId=t,this.notificationService=n,this.location=i,this.customFindbarButtons=void 0,this.srcChange=new yc,this.authorization=void 0,this.httpHeaders=void 0,this.contextMenuAllowed=!0,this.afterPrint=new yc,this.beforePrint=new yc,this.currentZoomFactor=new yc,this.enablePrint=!0,this.delayFirstView=0,this.logLevel=HS.WARNINGS,this.enablePinchOnMobile=!1,this.minifiedJSLibraries=!0,this.primaryMenuVisible=!0,this.printResolution=null,this.rotationChange=new yc,this.minHeight=void 0,this._height="100%",this.useBrowserLocale=!1,this.backgroundColor="#e8e8eb",this.filenameForDownload="document.pdf",this.ignoreKeyboard=!1,this.ignoreKeys=[],this.acceptKeys=[],this.imageResourcesPath="./"+NS.assetsFolder+"/images/",this.language=void 0,this.listenToURL=!1,this.nameddest=void 0,this.password=void 0,this._showSidebarButton=!0,this.viewerPositionTop="32px",this.showUnverifiedSignatures=!1,this.showSidebarOnLoad=void 0,this.sidebarVisible=void 0,this.sidebarVisibleChange=new yc,this.showFindButton=void 0,this.showPagingButtons=!0,this.showZoomButtons=!0,this.showPresentationModeButton=!1,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.theme="light",this.showSecondaryToolbarButton=!0,this.hideKebabMenuForSecondaryToolbar=!1,this.showRotateButton=!0,this.handTool=!0,this.handToolChange=new yc,this.showHandToolButton=!1,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.showBorders=!0,this.spreadChange=new yc,this.thumbnailDrawn=new yc,this._page=void 0,this.pageChange=new yc,this.pageLabel=void 0,this.pageLabelChange=new yc,this.pagesLoaded=new yc,this.pageRendered=new yc,this.pdfDownloaded=new yc,this.pdfLoaded=new yc,this.pdfLoadingFailed=new yc,this.textLayer=void 0,this.textlayerRendered=new yc,this.textLayerRendered=new yc,this.updateFindMatchesCount=new yc,this.updateFindState=new yc,this.zoom=void 0,this.zoomChange=new yc,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,1,1.25,1.5,2,3,4],this.maxZoom=10,this.minZoom=.1,this._mobileFriendlyZoom="100%",this.mobileFriendlyZoomScale=1,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.toolbarWidthInPixels=100,this.secondaryToolbarTop=void 0,this.findbarTop=void 0,this.findbarLeft=void 0,this._top=void 0,this.shuttingDown=!1}set src(e){e instanceof Uint8Array?this._src=e.buffer:e instanceof Blob?this._src=URL.createObjectURL(e):"string"==typeof e?(this._src=e,e.length>980&&e.length%4==0&&/^[a-zA-Z\d\/+]+={0,2}$/.test(e)&&console.error("The URL looks like a base64 encoded string. If so, please use the attribute base64 instead of src")):this._src=e}set base64Src(e){const t=window.atob(e),n=t.length,i=new Uint8Array(n);for(let s=0;s<n;s++)i[s]=t.charCodeAt(s);this.src=i.buffer}set height(e){this.minHeight=void 0,e?this._height=e:this.height="100%",setTimeout(()=>{this.checkHeight()})}get height(){return this._height}get showSidebarButton(){return this._showSidebarButton}set showSidebarButton(e){this._showSidebarButton=e;let t=1;/msie\s|trident\//i.test(window.navigator.userAgent)&&(t=Number((this._mobileFriendlyZoom||"100").replace("%",""))/100),this.findbarLeft=this._showSidebarButton?(68*t).toString()+"px":"0px"}get page(){return this._page}set page(e){this._page=e?Number(e):void 0}get mobileFriendlyZoom(){return this._mobileFriendlyZoom}set mobileFriendlyZoom(e){"true"==e?e="150%":"false"!=e&&null!=e||(e="100%"),this._mobileFriendlyZoom=e;let t=1;String(e).includes("%")||(e=100*Number(e)+"%"),t=Number((e||"100").replace("%",""))/100,this.mobileFriendlyZoomScale=t,this.toolbarWidth=(100/t).toString()+"%",this.toolbarPaddingTop=8*(t-1)+"px",this.findbarLeft=this.showSidebarButton?(68*t).toString()+"px":"0px",this.secondaryToolbarTop=(36+36*(t-1)).toString()+"px",this.findbarTop=(36+52*(t-1)).toString()+"px"}set mobileZoom(e){this.mobileFriendlyZoom=e}get sidebarPositionTop(){return this._top?this._top:this.mobileFriendlyZoom?this.mobileFriendlyZoom.endsWith("%")?(2+.29*Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1))).toString()+"px":this.mobileFriendlyZoom.endsWith("px")?this.mobileFriendlyZoom:(16+.16*Number(this.mobileFriendlyZoom)).toString()+"px":"32px"}calcViewerPositionTop(){if(this._top)this.viewerPositionTop=this._top;else{if(this.mobileFriendlyZoom){if(this.mobileFriendlyZoom.endsWith("%")){const e=Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1));return void(this.viewerPositionTop=this.isPrimaryMenuVisible()?(1+.32*e).toString()+"px":"0")}if(this.mobileFriendlyZoom.endsWith("px"))return void(this.viewerPositionTop=this.mobileFriendlyZoom)}this.viewerPositionTop=this.isPrimaryMenuVisible()?"32px":"0"}}iOSVersionRequiresES5(){const e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return null!=e&&parseInt(e[1],10)<13}loadViewer(){if(window["pdfjs-dist/build/pdf"]){const e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n=this.iOSVersionRequiresES5(),i="undefined"==typeof ReadableStream||void 0===Promise.allSettled,s=this.minifiedJSLibraries?".min.js":".js",o=document.createElement("script"),r=NS.assetsFolder;i&&console.log("Using the ES5 version of the PDF viewer."),o.src=this.location.normalize(e||t||n||i?r+"/viewer-es5"+s:r+"/viewer"+s),o.type="text/javascript",o.async=!0,document.getElementsByTagName("head")[0].appendChild(o)}else setTimeout(()=>this.loadViewer(),25)}ngOnInit(){if(this.onResize(),hh(this.platformId)){if(!window["pdfjs-dist/build/pdf"]){const e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n="undefined"==typeof ReadableStream||void 0===Promise.allSettled,i=this.iOSVersionRequiresES5(),s=this.minifiedJSLibraries?".min.js":".js";if(this.minifiedJSLibraries&&!NS.workerSrc().endsWith(".min.js")){const e=NS.workerSrc();NS.workerSrc=()=>e.replace(".js",".min.js")}const o=NS.assetsFolder,r=document.createElement("script");r.src=this.location.normalize(e||t||i||n?o+"/pdf-es5"+s:o+"/pdf"+s),r.type="text/javascript",r.async=!0,document.getElementsByTagName("head")[0].appendChild(r)}window.webViewerLoad||this.loadViewer()}}ngAfterViewInit(){this.shuttingDown||(window.webViewerLoad?this.doInitPDFViewer():setTimeout(()=>this.ngAfterViewInit(),50))}assignTabindexes(){if(this.startTabindex){const e=this.root.nativeElement.cloneNode(!0);e.classList.add("offscreen"),this.showElementsRecursively(e),document.body.appendChild(e);const t=this.collectElementPositions(e,this.root.nativeElement,[]);document.body.removeChild(e);const n=t.sort((e,t)=>e.y-t.y>15?1:t.y-e.y>15?-1:e.x-t.x);for(let i=0;i<n.length;i++)n[i].element.tabIndex=this.startTabindex+i}}showElementsRecursively(e){if(e.classList.remove("hidden"),e.classList.remove("invisible"),e.classList.remove("hiddenXXLView"),e.classList.remove("hiddenXLView"),e.classList.remove("hiddenLargeView"),e.classList.remove("hiddenMediumView"),e.classList.remove("hiddenSmallView"),e.classList.remove("hiddenTinyView"),e.classList.remove("visibleXXLView"),e.classList.remove("visibleXLView"),e.classList.remove("visibleLargeView"),e.classList.remove("visibleMediumView"),e.classList.remove("visibleSmallView"),e.classList.remove("visibleTinyView"),!(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement)&&e.childElementCount>0)for(let t=0;t<e.childElementCount;t++){const n=e.children.item(t);n&&this.showElementsRecursively(n)}}collectElementPositions(e,t,n){if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement){const i=e.getBoundingClientRect(),s={element:t,x:Math.round(i.left),y:Math.round(i.top)};n.push(s)}else if(e.childElementCount>0)for(let i=0;i<e.childElementCount;i++){const s=e.children.item(i),o=t.children.item(i);s&&o&&(n=this.collectElementPositions(s,o,n))}return n}doInitPDFViewer(){const t=document.querySelectorAll('link[type="application/l10n"]');if(0===t.length)document.querySelector('script[type="application/l10n"]')?this.useBrowserLocale&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag."):this.useBrowserLocale||(console.error("If you set the attribute 'useBrowserLocale' to false, you must provide the translations yourself in a script or link tag."),console.error("The easiest way to do this is to add them to the index.html."));else if(this.useBrowserLocale){const e=t[0].attributes.origin;e&&"ngx-extended-pdf-viewer"!==e.value&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag.")}const n=e=>{document.removeEventListener("localized",n),this.initTimeout=setTimeout(()=>{this.shuttingDown||(this.afterLibraryInit(),this.openPDF(),this.assignTabindexes())},this.delayFirstView)};window.addEventListener("afterprint",e=>{this.afterPrint.emit()}),window.addEventListener("beforeprint",e=>{this.beforePrint.emit()}),document.addEventListener("localized",n),e.ngxExtendedPdfViewerInitialized&&console.error("You're trying to open two instances of the PDF viewer. Most likely, this will result in errors.");const i=()=>{this.overrideDefaultSettings(),document.removeEventListener("webviewerloaded",i),this.enablePinchOnMobile&&(this.pinchOnMobileSupport=new YS(this.ngZone))};document.addEventListener("webviewerloaded",i),this.activateTextlayerIfNecessary(null),setTimeout(()=>{if(!this.shuttingDown){this.primaryMenuVisible=!0,this.hideKebabMenuForSecondaryToolbar&&!this.showSecondaryToolbarButton&&(this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1)),this.calcViewerPositionTop(),this.dummyComponents.addMissingStandardWidgets(),window.webViewerLoad();const e=window.PDFViewerApplication;e.appConfig.defaultUrl="",e.appConfig.filenameForDownload=this.filenameForDownload;const t=window.PDFViewerApplicationOptions;t.set("locale",this.language),t.set("imageResourcesPath",this.imageResourcesPath),t.set("minZoom",this.minZoom),t.set("maxZoom",this.maxZoom),e.isViewerEmbedded=!0,e.printKeyDownListener&&window.addEventListener("keydown",e.printKeyDownListener,!0);const n=document.getElementById("printContainer");n&&document.getElementsByTagName("body")[0].appendChild(n)}},0)}afterLibraryInit(){this.notificationService.onPDFJSInit.next()}checkHeight(){const e=document.getElementsByClassName("zoom")[0];if(e&&0===e.clientHeight&&this._height.includes("%")){let t=window.innerHeight-e.getBoundingClientRect().top;t=t*Number(this._height.replace("%",""))/100,this.minHeight=t>100?t+"px":"100px"}}onSpreadChange(e){this.spreadChange.emit(e)}activateTextlayerIfNecessary(e){void 0===this.textLayer?this.handTool?(e&&e.set("textLayerMode",this.showHandToolButton?1:0),this.showHandToolButton||((this.showFindButton||void 0===this.showFindButton)&&(this.ngZone.run(()=>{this.showFindButton=!1}),this.logLevel>=HS.WARNINGS&&console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.')),this.showHandToolButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))):(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(()=>{const e=document.getElementById("viewFind");e&&e.classList.remove("invisible");const t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):this.textLayer?(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(()=>{const e=document.getElementById("viewFind");e&&e.classList.remove("invisible");const t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):(e&&e.set("textLayerMode",0),this.textLayer=!1,this.showFindButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.'),this.ngZone.run(()=>{this.showFindButton=!1})),this.showHandToolButton&&this.logLevel>=HS.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))}overrideDefaultSettings(){const e=window.PDFViewerApplicationOptions;for(const i in NS)e.set(i,NS[i]);e.set("disablePreferences",!0),this.setZoom(),e.set("ignoreKeyboard",this.ignoreKeyboard),e.set("ignoreKeys",this.ignoreKeys),e.set("acceptKeys",this.acceptKeys),this.activateTextlayerIfNecessary(e);let t=this.sidebarVisible;void 0===t&&(t=this.showSidebarOnLoad);const n=window.PDFViewerApplication;void 0!==t&&(n.sidebarViewOnLoad=t?1:0,n.appConfig&&(n.appConfig.sidebarViewOnLoad=t?1:0),e.set("sidebarViewOnLoad",this.sidebarVisible?1:0)),"even"===this.spread?(e.set("spreadModeOnLoad",2),n.pdfViewer&&(n.pdfViewer.spreadMode=2),this.onSpreadChange("even")):"odd"===this.spread?(e.set("spreadModeOnLoad",1),n.pdfViewer&&(n.pdfViewer.spreadMode=1),this.onSpreadChange("odd")):(e.set("spreadModeOnLoad",0),n.pdfViewer&&(n.pdfViewer.spreadMode=0),this.onSpreadChange("off")),this.printResolution&&e.set("printResolution",this.printResolution),!1===this.showBorders&&e.set("removePageBorders",!this.showBorders)}openPDF(){ServiceWorkerOptions.showUnverifiedSignatures=this.showUnverifiedSignatures;const t=window.PDFViewerApplication;t.enablePrint=this.enablePrint,e.ngxExtendedPdfViewerInitialized=!0,this.onResize(),this.listenToURL||(t.pdfLinkService.setHash=function(){}),this.initTimeout=null,this.selectCursorTool(),t.eventBus.on("textlayerrendered",e=>{this.textlayerRendered.emit(e),this.textLayerRendered.emit(e)}),t.eventBus.on("pagesloaded",e=>{if(this.pagesLoaded.emit(e),this.rotation){const e=Number(this.rotation);0!==e&&90!==e&&180!==e&&270!==e||(t.pdfViewer.pagesRotation=e)}else t.pdfViewer.pagesRotation=0;setTimeout(()=>{this.shuttingDown||(this.nameddest?t.pdfLinkService.navigateTo(this.nameddest):this.page?t.page=Number(this.page):this.pageLabel&&(t.pdfViewer.currentPageLabel=this.pageLabel))}),this.setZoom()}),t.eventBus.on("pagerendered",e=>{this.ngZone.run(()=>{this.pageRendered.emit(e)})}),t.eventBus.on("download",e=>{this.ngZone.run(()=>{this.pdfDownloaded.emit(e)})}),t.eventBus.on("scalechanging",e=>{setTimeout(()=>{this.ngZone.run(()=>{this.currentZoomFactor.emit(e.scale);const t=this.root.nativeElement.querySelector("#scaleSelect");let n=this.zoom;t&&(n=t.value),"auto"!==n&&"page-fit"!==n&&"page-actual"!==n&&"page-width"!==n&&this.zoomChange.emit(100*e.scale)})})}),t.eventBus.on("rotationchanging",e=>{this.ngZone.run(()=>{this.rotationChange.emit(e.pagesRotation)})}),t.eventBus.on("fileinputchange",e=>{this.ngZone.run(()=>{const t=e.fileInput.value.replace("C:\\fakepath\\","");this.srcChange.emit(t)})}),t.eventBus.on("cursortoolchanged",e=>{this.ngZone.run(()=>{this.handToolChange.emit(e.tool===qS.HAND)})}),t.eventBus.on("sidebarviewchanged",e=>{this.ngZone.run(()=>{this.sidebarVisibleChange.emit(e.view>0),this.sidebarComponent&&this.sidebarComponent.showToolbarWhenNecessary()})});const n=()=>{this.ngZone.run(()=>{this.sidebarComponent&&this.sidebarComponent.showToolbarWhenNecessary()})};if(t.eventBus.on("outlineloaded",n),t.eventBus.on("attachmentsloaded",n),t.eventBus.on("layersloaded",n),t.eventBus.on("updatefindcontrolstate",e=>{this.updateFindMatchesCount&&(e.state===jS.NOT_FOUND?this.updateFindMatchesCount.emit({current:0,total:0}):e.matchesCount.total&&this.updateFindMatchesCount.emit(e.matchesCount)),this.updateFindState&&this.updateFindState.emit(e.state)}),t.eventBus.on("updatefindmatchescount",e=>{this.updateFindMatchesCount&&e.matchesCount.total&&this.updateFindMatchesCount.emit(e.matchesCount)}),t.eventBus.on("pagechanging",e=>{this.shuttingDown||this.ngZone.run(()=>{const e=t.pdfViewer.currentPageNumber,n=t.pdfViewer.currentPageLabel;e!==this.page&&this.pageChange.emit(e),n!==this.pageLabel&&this.pageLabelChange.emit(n)})}),this.checkHeight(),this._src){const e={password:this.password,verbosity:this.logLevel};this._src.range&&(e.range=this._src.range),this.httpHeaders&&(e.httpHeaders=this.httpHeaders),this.authorization&&(e.withCredentials=!0,e.httpHeaders?e.httpHeaders.Authorization||(e.httpHeaders.Authorization=this.authorization):e.httpHeaders={Authorization:this.authorization}),t.onError=e=>this.pdfLoadingFailed.emit(e),t.open(this._src,e).then(()=>this.pdfLoaded.emit({pagesCount:t.pagesCount}))}setTimeout(()=>{this.shuttingDown||this.page&&(t.page=Number(this.page))},100)}selectCursorTool(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:this.handTool?1:0})}ngOnDestroy(){const t=window.PDFViewerApplication;if(this.shuttingDown=!0,e.ngxExtendedPdfViewerInitialized=!1,this.initTimeout&&(clearTimeout(this.initTimeout),this.initTimeout=void 0),t){this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0),t.cleanup(),t.close(),t.printKeyDownListener&&removeEventListener("keydown",t.printKeyDownListener,!0),t._boundEvents&&t.unbindWindowEvents();const e=t.eventBus;if(e){t.unbindEvents();for(const t in e._listeners)if(e._listeners[t]){const n=e._listeners[t];for(let e=0;e<n.length;e++)n[e]=void 0;e._listeners[t]=void 0}}t.eventBus=null}const n=document.getElementsByTagName("body");if(n[0]){const e=n[0].children;for(let t=e.length-1;t>=0;t--){const i=e.item(t);(i&&"printContainer"===i.id||i&&"fileInput"===i.id)&&n[0].removeChild(i)}}}isPrimaryMenuVisible(){return!!(this.showBookmarkButton||this.showDownloadButton||this.showFindButton||this.showOpenFileButton||this.showPagingButtons||this.showPresentationModeButton||this.showPrintButton||this.showPropertiesButton||this.showSidebarButton||this.showZoomButtons)}ngOnChanges(t){const n=window.PDFViewerApplication,i=window.PDFViewerApplicationOptions;if(e.ngxExtendedPdfViewerInitialized){if(("src"in t||"base64Src"in t)&&this._src){this.overrideDefaultSettings();const e={password:this.password,verbosity:this.logLevel};this._src.range&&(e.range=this._src.range),this.httpHeaders&&(e.httpHeaders=this.httpHeaders),this.authorization&&(e.withCredentials=!0,e.httpHeaders?e.httpHeaders.Authorization||(e.httpHeaders.Authorization=this.authorization):e.httpHeaders={Authorization:this.authorization}),n.open(this._src,e).then(()=>this.pdfLoaded.emit({pagesCount:n.pagesCount}),e=>this.pdfLoadingFailed.emit(e))}if("zoom"in t&&this.setZoom(),"maxZoom"in t&&i.set("maxZoom",this.maxZoom),"minZoom"in t&&i.set("minZoom",this.minZoom),"handTool"in t&&this.selectCursorTool(),"page"in t&&this.page&&this.page!=n.page&&(n.page=this.page),"pageLabel"in t&&this.pageLabel&&this.pageLabel!==n.pdfViewer.currentPageLabel&&(n.pdfViewer.currentPageLabel=this.pageLabel),"rotation"in t)if(this.rotation){const e=Number(this.rotation);0!==e&&90!==e&&180!==e&&270!==e||(n.pdfViewer.pagesRotation=e)}else n.pdfViewer.pagesRotation=0;"sidebarVisible"in t&&(this.sidebarVisible?n.pdfSidebar.open():n.pdfSidebar.close()),"filenameForDownload"in t&&(n.appConfig.filenameForDownload=this.filenameForDownload),"nameddest"in t&&this.nameddest&&n.pdfLinkService.navigateTo(this.nameddest),"spread"in t&&("even"===this.spread?(n.spreadModeOnLoad=2,n.pdfViewer.spreadMode=2,this.onSpreadChange("even")):"odd"===this.spread?(n.spreadModeOnLoad=1,n.pdfViewer.spreadMode=1,this.onSpreadChange("odd")):(n.spreadModeOnLoad=0,n.pdfViewer.spreadMode=0,this.onSpreadChange("off"))),"enablePinchOnMobile"in t&&(t.enablePinchOnMobile.isFirstChange()||t.enablePinchOnMobile.currentValue!==t.enablePinchOnMobile.previousValue&&(this.enablePinchOnMobile?this.pinchOnMobileSupport=new YS(this.ngZone):this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0))),this.primaryMenuVisible=!0,this.showSecondaryToolbarButton&&!this.hideKebabMenuForSecondaryToolbar||this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1),this.calcViewerPositionTop()}if(this.onResize(),"printResolution"in t){const e=i;e&&e.set("printResolution",this.printResolution)}if("ignoreKeyboard"in t&&i&&this.overrideDefaultSettings(),"ignoreKeys"in t&&i&&this.overrideDefaultSettings(),"acceptKeys"in t&&i&&this.overrideDefaultSettings(),"showBorders"in t&&!t.showBorders.isFirstChange()&&i){this.overrideDefaultSettings();const e=document.getElementById("viewer");this.showBorders?e.classList.remove("removePageBorders"):e.classList.add("removePageBorders"),n.pdfViewer&&(n.pdfViewer.removePageBorders=!this.showBorders);const t={source:e,scale:(100|Number(this.zoom))/100,presetValue:this.zoom};n.eventBus.dispatch("scalechanging",t)}"showUnverifiedSignatures"in t&&n&&n.pdfDocument&&n.pdfDocument._transport.messageHandler.send("showUnverifiedSignatures",this.showUnverifiedSignatures),"enablePrint"in t&&(t.enablePrint.isFirstChange()||(n.enablePrint=this.enablePrint)),("customFindbar"in t&&!t.customFindbar.isFirstChange()||"customFindbarButtons"in t&&!t.customFindbarButtons.isFirstChange()||"customFindbarInputArea"in t&&!t.customFindbarInputArea.isFirstChange()||"customToolbar"in t&&!t.customToolbar.isFirstChange())&&this.dummyComponents&&this.dummyComponents.addMissingStandardWidgets()}setZoom(){let e=this.zoom;String(e).endsWith("%")?e=Number(String(e).replace("%",""))/100:isNaN(Number(e))||(e=Number(e)/100),e||(e="auto");const t=window.PDFViewerApplication;t&&window.PDFViewerApplicationOptions.set("defaultZoomValue",e),t.pdfViewer&&(t.pdfViewer.currentScaleValue=e)}onResize(){const e=document.getElementsByClassName("html");if(e&&e.length>0){const e=document.getElementById("outerContainer");e&&(this.toolbarWidthInPixels=e.clientWidth,this.secondaryToolbarComponent&&this.secondaryToolbarComponent.checkVisibility())}}onContextMenu(){return this.contextMenuAllowed}onSecondaryMenuIsEmpty(e){this.hideKebabMenuForSecondaryToolbar=e}}return e.\u0275fac=function(t){return new(t||e)(zr(ad),zr($c),zr(GS),zr(nu))},e.\u0275cmp=$e({type:e,selectors:[["ngx-extended-pdf-viewer"]],viewQuery:function(e,t){if(1&e&&(Tc(WS,1),Tc(pS,1),Tc(gS,1),Tc(fS,1)),2&e){let e;Mc(e=Rc())&&(t.dummyComponents=e.first),Mc(e=Rc())&&(t.root=e.first),Mc(e=Rc())&&(t.secondaryToolbarComponent=e.first),Mc(e=Rc())&&(t.sidebarComponent=e.first)}},hostBindings:function(e,t){1&e&&Xr("contextmenu",function(){return t.onContextMenu()})},inputs:{customFindbarButtons:"customFindbarButtons",authorization:"authorization",httpHeaders:"httpHeaders",contextMenuAllowed:"contextMenuAllowed",enablePrint:"enablePrint",delayFirstView:"delayFirstView",logLevel:"logLevel",enablePinchOnMobile:"enablePinchOnMobile",minifiedJSLibraries:"minifiedJSLibraries",printResolution:"printResolution",useBrowserLocale:"useBrowserLocale",backgroundColor:"backgroundColor",filenameForDownload:"filenameForDownload",ignoreKeyboard:"ignoreKeyboard",ignoreKeys:"ignoreKeys",acceptKeys:"acceptKeys",imageResourcesPath:"imageResourcesPath",language:"language",listenToURL:"listenToURL",nameddest:"nameddest",password:"password",showUnverifiedSignatures:"showUnverifiedSignatures",showSidebarOnLoad:"showSidebarOnLoad",sidebarVisible:"sidebarVisible",showFindButton:"showFindButton",showPagingButtons:"showPagingButtons",showZoomButtons:"showZoomButtons",showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",theme:"theme",showSecondaryToolbarButton:"showSecondaryToolbarButton",showRotateButton:"showRotateButton",handTool:"handTool",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",showBorders:"showBorders",pageLabel:"pageLabel",textLayer:"textLayer",zoom:"zoom",zoomLevels:"zoomLevels",maxZoom:"maxZoom",minZoom:"minZoom",_mobileFriendlyZoom:"_mobileFriendlyZoom",src:"src",base64Src:"base64Src",height:"height",showSidebarButton:"showSidebarButton",page:"page",mobileFriendlyZoom:"mobileFriendlyZoom",mobileZoom:"mobileZoom",customFindbarInputArea:"customFindbarInputArea",customToolbar:"customToolbar",customFindbar:"customFindbar",customSecondaryToolbar:"customSecondaryToolbar",customSidebar:"customSidebar",customThumbnail:"customThumbnail",customFreeFloatingBar:"customFreeFloatingBar",rotation:"rotation",startTabindex:"startTabindex",spread:"spread"},outputs:{srcChange:"srcChange",afterPrint:"afterPrint",beforePrint:"beforePrint",currentZoomFactor:"currentZoomFactor",rotationChange:"rotationChange",sidebarVisibleChange:"sidebarVisibleChange",handToolChange:"handToolChange",spreadChange:"spreadChange",thumbnailDrawn:"thumbnailDrawn",pageChange:"pageChange",pageLabelChange:"pageLabelChange",pagesLoaded:"pagesLoaded",pageRendered:"pageRendered",pdfDownloaded:"pdfDownloaded",pdfLoaded:"pdfLoaded",pdfLoadingFailed:"pdfLoadingFailed",textlayerRendered:"textlayerRendered",textLayerRendered:"textLayerRendered",updateFindMatchesCount:"updateFindMatchesCount",updateFindState:"updateFindState",zoomChange:"zoomChange"},features:[dt],ngContentSelectors:hS,decls:66,vars:60,consts:[["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer",4,"ngIf"],[4,"ngIf"],[3,"zoom","width"],[1,"zoom"],["root",""],[1,"html"],[1,"loadingInProgress","body"],["id","outerContainer",3,"resize"],[1,"free-floating-bar"],[4,"ngTemplateOutlet"],[3,"sidebarPositionTop","sidebarVisible","showSidebarButton","customSidebar","customThumbnail","thumbnailDrawn"],["pdfsidebar",""],["id","mainContainer"],[3,"customToolbar","mobileFriendlyZoomScale","primaryMenuVisible","showBookmarkButton","showDownloadButton","showFindButton","showHandToolButton","showOpenFileButton","showPrintButton","showPagingButtons","showPresentationModeButton","showRotateButton","showSecondaryToolbarButton","showSidebarButton","showZoomButtons","textLayer","toolbarPaddingTop","toolbarWidth","zoomLevels"],[3,"customSecondaryToolbar","secondaryToolbarTop","mobileFriendlyZoomScale","showPresentationModeButton","showOpenFileButton","showPrintButton","showDownloadButton","showBookmarkButton","showPagingButtons","showRotateButton","showHandToolButton","showScrollingButton","showSpreadButton","showPropertiesButton","spreadChange","secondaryMenuIsEmpty"],["pdfSecondaryToolbarComponent",""],[3,"findbarLeft","findbarTop","mobileFriendlyZoomScale","showFindButton","customFindbarInputArea","customFindbarButtons"],["id","viewerContainer"],["id","viewer",1,"pdfViewer"],["id","errorWrapper","hidden","true"],["id","errorMessageLeft"],["id","errorMessage"],["type","button","id","errorShowMore","data-l10n-id","error_more_info"],["type","button","id","errorShowLess","data-l10n-id","error_less_info","hidden","true"],["id","errorMessageRight"],["type","button","id","errorClose","data-l10n-id","error_close"],[1,"clearBoth"],["id","errorMoreInfo","hidden","true","readonly","readonly"],["id","overlayContainer",1,"hidden"],["id","passwordOverlay",1,"container","hidden"],[1,"dialog"],[1,"row"],["id","passwordText","data-l10n-id","password_label"],["id","password",1,"toolbarField"],[1,"buttonRow"],["type","button","id","passwordCancel",1,"overlayButton"],["data-l10n-id","password_cancel"],["type","button","id","passwordSubmit",1,"overlayButton"],["data-l10n-id","password_ok"],["id","documentPropertiesOverlay",1,"container","hidden"],["id","printServiceOverlay",1,"container","hidden"],["data-l10n-id","print_progress_message"],["value","0","max","100"],["data-l10n-id","print_progress_percent","data-l10n-args",'{ "progress": 0 }',1,"relative-progress"],["type","button","id","printCancel",1,"overlayButton"],["data-l10n-id","print_progress_close"],["id","printContainer"],["defaultFreeFloatingBar",""],["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer"]],template:function(e,t){if(1&e&&(sa(),Fr(0,mS,1,0,"link",0),Fr(1,bS,1,0,"pdf-dark-theme",1),Fr(2,vS,1,0,"pdf-light-theme",1),Ur(3,"pdf-dynamic-css",2),Hr(4,"div",3,4),Hr(6,"div",5),Hr(7,"div",6),Hr(8,"div",7),Xr("resize",function(){return t.onResize()},!1,ps),Hr(9,"div",8),Fr(10,yS,1,0,"ng-content",9),jr(),Hr(11,"pdf-sidebar",10,11),Xr("thumbnailDrawn",function(e){return t.thumbnailDrawn.emit(e)}),jr(),Hr(13,"div",12),Ur(14,"pdf-dummy-components"),Ur(15,"pdf-toolbar",13),Hr(16,"pdf-secondary-toolbar",14,15),Xr("spreadChange",function(e){return t.onSpreadChange(e)})("secondaryMenuIsEmpty",function(e){return t.onSecondaryMenuIsEmpty(e)}),jr(),Ur(18,"pdf-findbar",16),Ur(19,"pdf-context-menu"),Hr(20,"div",17),Ur(21,"div",18),jr(),Hr(22,"div",19),Hr(23,"div",20),Ur(24,"span",21),Hr(25,"button",22),Da(26," More Information "),jr(),Hr(27,"button",23),Da(28," Less Information "),jr(),jr(),Hr(29,"div",24),Hr(30,"button",25),Da(31,"Close"),jr(),jr(),Ur(32,"div",26),Ur(33,"textarea",27),jr(),jr(),Hr(34,"div",28),Hr(35,"div",29),Hr(36,"div",30),Hr(37,"div",31),Hr(38,"p",32),Da(39," Enter the password to open this PDF file: "),jr(),jr(),Hr(40,"div",31),Ur(41,"input",33),jr(),Hr(42,"div",34),Hr(43,"button",35),Hr(44,"span",36),Da(45,"Cancel"),jr(),jr(),Hr(46,"button",37),Hr(47,"span",38),Da(48,"OK"),jr(),jr(),jr(),jr(),jr(),Ur(49,"pdf-document-properties-overlay",39),Hr(50,"div",40),Hr(51,"div",30),Hr(52,"div",31),Hr(53,"span",41),Da(54,"Preparing document for printing\u2026"),jr(),jr(),Hr(55,"div",31),Ur(56,"progress",42),Hr(57,"span",43),Da(58,"0%"),jr(),jr(),Hr(59,"div",34),Hr(60,"button",44),Hr(61,"span",45),Da(62,"Cancel"),jr(),jr(),jr(),jr(),jr(),jr(),jr(),Ur(63,"div",46),jr(),jr(),jr(),Fr(64,wS,0,0,"ng-template",null,47,zc)),2&e){const e=Br(65);Vr("ngIf",t.useBrowserLocale),no(1),Vr("ngIf","dark"===t.theme),no(1),Vr("ngIf","light"===t.theme),no(1),Vr("zoom",t.mobileFriendlyZoomScale)("width",t.toolbarWidthInPixels),no(1),fa("height",t.height)("min-height",t.minHeight),no(3),fa("background-color",t.backgroundColor),no(3),Vr("ngTemplateOutlet",t.customFreeFloatingBar?t.customFreeFloatingBar:e),no(1),Vr("sidebarPositionTop",t.sidebarPositionTop)("sidebarVisible",t.sidebarVisible)("showSidebarButton",t.showSidebarButton)("customSidebar",t.customSidebar)("customThumbnail",t.customThumbnail),no(4),Vr("customToolbar",t.customToolbar)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("primaryMenuVisible",t.primaryMenuVisible)("showBookmarkButton",t.showBookmarkButton)("showDownloadButton",t.showDownloadButton)("showFindButton",t.showFindButton)("showHandToolButton",t.showHandToolButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showPagingButtons",t.showPagingButtons)("showPresentationModeButton",t.showPresentationModeButton)("showRotateButton",t.showRotateButton)("showSecondaryToolbarButton",t.showSecondaryToolbarButton&&!t.hideKebabMenuForSecondaryToolbar)("showSidebarButton",t.showSidebarButton)("showZoomButtons",t.showZoomButtons)("textLayer",t.textLayer)("toolbarPaddingTop",t.toolbarPaddingTop)("toolbarWidth",t.toolbarWidth)("zoomLevels",t.zoomLevels),no(1),Vr("customSecondaryToolbar",t.customSecondaryToolbar)("secondaryToolbarTop",t.secondaryToolbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showPresentationModeButton",t.showPresentationModeButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showDownloadButton",t.showDownloadButton)("showBookmarkButton",t.showBookmarkButton)("showPagingButtons",t.showPagingButtons)("showRotateButton",t.showRotateButton)("showHandToolButton",t.showHandToolButton)("showScrollingButton",t.showScrollingButton)("showSpreadButton",t.showSpreadButton)("showPropertiesButton",t.showPropertiesButton),no(2),Vr("findbarLeft",t.findbarLeft)("findbarTop",t.findbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showFindButton",t.showFindButton)("customFindbarInputArea",t.customFindbarInputArea)("customFindbarButtons",t.customFindbarButtons),no(2),fa("top",t.viewerPositionTop),no(1),fa("background-color",t.backgroundColor)}},directives:function(){return[Wu,Vk,Ku,ZS,WS,Ik,$S,ik,ek,tk,Uk,jk]},encapsulation:2,changeDetection:0}),e.ngxExtendedPdfViewerInitialized=!1,e})(),XS=(()=>{class e{constructor(){}findMultiple(e,t={}){t=Object.assign({},t,{findMultipleSearchTexts:!0});const n=e.join("\n")+"\n";return this.find(n,t)}find(e,t={}){if(QS.ngxExtendedPdfViewerInitialized){const n=document.getElementById("findHighlightAll");n&&(n.checked=t.highlightAll||!1);const i=document.getElementById("findMatchCase");i&&(i.checked=t.matchCase||!1);const s=document.getElementById("findEntireWord");s&&(s.checked=t.wholeWords||!1);const o=document.getElementById("findIgnoreAccents");o&&(o.checked=t.ignoreAccents||!1);const r=t.findMultipleSearchTexts||e.includes("\n")||!1,a=document.getElementById("findMultipleSearchTexts");a&&(a.checked=r);const l=document.getElementById("individualWordsMode");l&&(l.checked=!1);const c=document.getElementById("findFuzzy");c&&(c.checked=t.fuzzySearch||!1);const d=r?document.getElementById("findInputMultiline"):document.getElementById("findInput");return d?(d instanceof HTMLTextAreaElement?(d.value=e,d.classList.remove("hidden"),document.getElementById("findInput").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.remove("hidden"),document.getElementById("individualWordsMode").classList.remove("hidden")):d instanceof HTMLInputElement&&(d.value=e,d.classList.remove("hidden"),document.getElementById("findInputMultiline").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.add("hidden"),document.getElementById("individualWordsMode").classList.add("hidden")),d.dispatchEvent(new Event("input")),!0):(console.error("Unexpected error: the input field used to search isn't part of the DOM."),!1)}return console.error("The PDF viewer hasn't finished initializing. Please call find() later."),!1}findNext(){if(QS.ngxExtendedPdfViewerInitialized){const e=document.getElementById("findNext");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findNext() later."),!1}findPrevious(){if(QS.ngxExtendedPdfViewerInitialized){const e=document.getElementById("findPrevious");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findPrevious() later."),!1}print(e){const t=window.PDFViewerApplication,n=!!window.isInPDFPrintRange&&!e;n||(e||(e={}),this.setPrintRange(e)),window.printPDF(),n||t.eventBus.on("afterprint",()=>{this.removePrintRange()})}removePrintRange(){window.isInPDFPrintRange=void 0,window.filteredPageCount=void 0}setPrintRange(e){const t=window.PDFViewerApplication;window.isInPDFPrintRange=t=>this.isInPDFPrintRange(t,e),window.filteredPageCount=this.filteredPageCount(t.pagesCount,e)}filteredPageCount(e,t){let n=0;for(let i=1;i<=e;i++)this.isInPDFPrintRange(i,t)&&n++;return n}isInPDFPrintRange(e,t){const n=e+1;return!(t.from&&n<t.from||t.to&&n>t.to||t.excluded&&t.excluded.some(e=>e===n)||t.included&&!t.included.some(e=>e===n))}getPageAsText_preview(e,t){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>{e.getTextContent().then(e=>t(this.convertTextInfoToText(e)))})}getPageAsText(e){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>new Promise((t,n)=>{t(e.getTextContent())})).then(e=>new Promise((t,n)=>{t(this.convertTextInfoToText(e))}))}convertTextInfoToText(e){return e?e.items.map(e=>e.str).join(""):""}getPageAsImage_preview(e,t,n,i){window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>{this.draw_preview(e,t,n,i)}).catch(e=>{i?i({message:"Unable to initialize PDF page service",reason:e}):console.error("Unable to initialize PDF page service",e)})}getPageAsImage(e,t){return window.PDFViewerApplication.pdfDocument.getPage(e).then(e=>new Promise((n,i)=>{n(this.draw(e,t))}))}draw(e,t){let n=1;t.scale?n=t.scale:t.width?n=t.width/e.getViewport({scale:1}).width:t.height&&(n=t.height/e.getViewport({scale:1}).height);const i=e.getViewport({scale:n}),{ctx:s,canvas:o}=this.getPageDrawContext(i.width,i.height),r=i.clone();return e.render({canvasContext:s,viewport:r}).promise.then(()=>new Promise((e,t)=>{e(o.toDataURL())}))}draw_preview(e,t,n,i){let s=1;t.scale?s=t.scale:t.width?s=t.width/e.getViewport({scale:1}).width:t.height&&(s=t.height/e.getViewport({scale:1}).height);const o=e.getViewport({scale:s}),{ctx:r,canvas:a}=this.getPageDrawContext(o.width,o.height),l=o.clone();e.render({canvasContext:r,viewport:l}).promise.then(function(){const e=a.toDataURL();n(e)},function(e){i&&i(e)})}getPageDrawContext(e,t){const n=document.createElement("canvas"),i=n.getContext("2d",{alpha:!1});if(!i)throw new Error("Couldn't create the 2d context");return n.width=e,n.height=t,n.style.width=e+"px",n.style.height=t+"px",{ctx:i,canvas:n}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),KS=(()=>{class e{constructor(e){this.notificationService=e,this.showHandToolButton=!0,this.isSelected=!1;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("cursortoolchanged",({tool:e})=>this.isSelected=e===qS.HAND)}onClick(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:qS.HAND})}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-hand-tool"]],inputs:{showHandToolButton:"showHandToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorHandTool","title","Enable hand tool","data-l10n-id","cursor_hand_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Xr("click",function(){return t.onClick()}),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Hand Tool"),jr(),jr()),2&e&&ma("invisible",!t.showHandToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),e})(),JS=(()=>{class e{constructor(){this.showBookmarkButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-bookmark"]],inputs:{showBookmarkButton:"showBookmarkButton"},decls:5,vars:2,consts:[["href","#","id","viewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"toolbarButton","hiddenTinyView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"]],template:function(e,t){1&e&&(Hr(0,"a",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Current View"),jr(),jr()),2&e&&ma("invisible",!t.showBookmarkButton)},styles:["[_nghost-%COMP%] a.toolbarButton[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:4px}[_nghost-%COMP%]:focus{outline:0}a[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),ek=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-context-menu"]],decls:5,vars:0,consts:[["type","context","id","viewerContextMenu",2,"display","none"],["id","contextFirstPage",2,"display","none"],["id","contextLastPage",2,"display","none"],["id","contextPageRotateCw",2,"display","none"],["id","contextPageRotateCcw",2,"display","none"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"div",1),Ur(2,"div",2),Ur(3,"div",3),Ur(4,"div",4),jr())},styles:["[_nghost-%COMP%]{margin-top:4px}"]}),e})(),tk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-document-properties-overlay"]],decls:77,vars:0,consts:[[1,"dialog"],[1,"row"],["data-l10n-id","document_properties_file_name"],["id","fileNameField"],["data-l10n-id","document_properties_file_size"],["id","fileSizeField"],["data-l10n-id","document_properties_title"],["id","titleField"],["data-l10n-id","document_properties_author"],["id","authorField"],["data-l10n-id","document_properties_subject"],["id","subjectField"],["data-l10n-id","document_properties_keywords"],["id","keywordsField"],["data-l10n-id","document_properties_creation_date"],["id","creationDateField"],["data-l10n-id","document_properties_modification_date"],["id","modificationDateField"],["data-l10n-id","document_properties_creator"],["id","creatorField"],["data-l10n-id","document_properties_producer"],["id","producerField"],["data-l10n-id","document_properties_version"],["id","versionField"],["data-l10n-id","document_properties_page_count"],["id","pageCountField"],["data-l10n-id","document_properties_page_size"],["id","pageSizeField"],[1,"separator"],["data-l10n-id","document_properties_linearized"],["id","linearizedField"],[1,"buttonRow"],["type","button","id","documentPropertiesClose",1,"overlayButton"],["data-l10n-id","document_properties_close"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"div",0),Hr(2,"div",1),Hr(3,"span",2),Da(4,"File name:"),jr(),Hr(5,"p",3),Da(6,"-"),jr(),jr(),Hr(7,"div",1),Hr(8,"span",4),Da(9,"File size:"),jr(),Hr(10,"p",5),Da(11,"-"),jr(),jr(),Hr(12,"div",1),Hr(13,"span",6),Da(14,"Title:"),jr(),Hr(15,"p",7),Da(16,"-"),jr(),jr(),Hr(17,"div",1),Hr(18,"span",8),Da(19,"Author:"),jr(),Hr(20,"p",9),Da(21,"-"),jr(),jr(),Hr(22,"div",1),Hr(23,"span",10),Da(24,"Subject:"),jr(),Hr(25,"p",11),Da(26,"-"),jr(),jr(),Hr(27,"div",1),Hr(28,"span",12),Da(29,"Keywords:"),jr(),Hr(30,"p",13),Da(31,"-"),jr(),jr(),Hr(32,"div",1),Hr(33,"span",14),Da(34,"Creation Date:"),jr(),Hr(35,"p",15),Da(36,"-"),jr(),jr(),Hr(37,"div",1),Hr(38,"span",16),Da(39,"Modification Date:"),jr(),Hr(40,"p",17),Da(41,"-"),jr(),jr(),Hr(42,"div",1),Hr(43,"span",18),Da(44,"Creator:"),jr(),Hr(45,"p",19),Da(46,"-"),jr(),jr(),Hr(47,"div",1),Hr(48,"span",20),Da(49,"PDF Producer:"),jr(),Hr(50,"p",21),Da(51,"-"),jr(),jr(),Hr(52,"div",1),Hr(53,"span",22),Da(54,"PDF Version:"),jr(),Hr(55,"p",23),Da(56,"-"),jr(),jr(),Hr(57,"div",1),Hr(58,"span",24),Da(59,"Page Count:"),jr(),Hr(60,"p",25),Da(61,"-"),jr(),jr(),Hr(62,"div",1),Hr(63,"span",26),Da(64,"Page Size:"),jr(),Hr(65,"p",27),Da(66,"-"),jr(),jr(),Ur(67,"div",28),Hr(68,"div",1),Hr(69,"span",29),Da(70,"Fast Web View:"),jr(),Hr(71,"p",30),Da(72,"-"),jr(),jr(),Hr(73,"div",31),Hr(74,"button",32),Hr(75,"span",33),Da(76,"Close"),jr(),jr(),jr(),jr(),jr())},styles:[""]}),e})(),nk=(()=>{class e{constructor(){this.showDownloadButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-download"]],inputs:{showDownloadButton:"showDownloadButton"},decls:5,vars:2,consts:[["type","button","id","download","title","Download","data-l10n-id","download",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Download"),jr(),jr()),2&e&&ma("invisible",!t.showDownloadButton)},styles:[SS]}),e})(),ik=(()=>{class e{constructor(){this.showFindButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar"]],inputs:{showFindButton:"showFindButton",mobileFriendlyZoomScale:"mobileFriendlyZoomScale",findbarLeft:"findbarLeft",findbarTop:"findbarTop",customFindbarInputArea:"customFindbarInputArea",customFindbar:"customFindbar",customFindbarButtons:"customFindbarButtons"},decls:5,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultFindbar",""],["defaultFindbarButtons",""],["id","findbar",1,"findbar","hidden","doorHanger"],[3,"customFindbarInputArea"]],template:function(e,t){if(1&e&&($r(0,0),Fr(1,_S,2,11,"ng-template",null,1,zc),Fr(3,xS,5,1,"ng-template",null,2,zc)),2&e){const e=Br(2);Vr("ngTemplateOutlet",t.customFindbar?t.customFindbar:e)}},directives:function(){return[Ku,pk,ok,ak,rk,sk]},styles:[""]}),e})(),sk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-message-container"]],decls:2,vars:0,consts:[["id","findbarMessageContainer"],["id","findMsg",1,"toolbarLabel"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"span",1),jr())},styles:[""]}),e})(),ok=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-one-container"]],decls:3,vars:0,consts:[["id","findbarOptionsOneContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-highlight-all"),Ur(2,"pdf-find-match-case"),jr())},directives:function(){return[uk,gk]},styles:[""]}),e})(),rk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-three-container"]],decls:4,vars:0,consts:[["id","findbarOptionsThreeContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-ignore-accents"),Ur(2,"pdf-find-fuzzily"),Ur(3,"pdf-find-results-count"),jr())},directives:function(){return[hk,dk,yk]},styles:[""]}),e})(),ak=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-findbar-options-two-container"]],decls:3,vars:0,consts:[["id","findbarOptionsTwoContainer"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-find-entire-word"),Ur(2,"pdf-find-entire-phrase"),jr())},directives:function(){return[ck,mk]},styles:[""]}),e})(),lk=(()=>{class e{constructor(){this.showFindButton=void 0,this.textLayer=void 0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-button"]],inputs:{showFindButton:"showFindButton",textLayer:"textLayer"},decls:5,vars:2,consts:[["type","button","id","viewFind","title","Find in Document","data-l10n-id","findbar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"],["data-l10n-id","findbar_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Find"),jr(),jr()),2&e&&ma("invisible",!t.showFindButton||!t.textLayer)},styles:[DS]}),e})(),ck=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-entire-word"]],decls:3,vars:0,consts:[["type","checkbox","id","findEntireWord",1,"toolbarField"],["for","findEntireWord","data-l10n-id","find_entire_word_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Whole words\n"),jr())},styles:[""]}),e})(),dk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-fuzzily"]],decls:3,vars:0,consts:[["type","checkbox","id","findFuzzy",1,"toolbarField"],["for","findFuzzy","data-l10n-id","find_fuzzy",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Fuzzy search\n"),jr())},styles:[""]}),e})(),uk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-highlight-all"]],decls:3,vars:0,consts:[["type","checkbox","id","findHighlightAll",1,"toolbarField"],["for","findHighlightAll","data-l10n-id","find_highlight",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Highlight all\n"),jr())},styles:[""]}),e})(),hk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-ignore-accents"]],decls:3,vars:0,consts:[["type","checkbox","id","findIgnoreAccents",1,"toolbarField"],["for","findIgnoreAccents","data-l10n-id","find_ignore_accents",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Ignore accents and diacritics\n"),jr())},styles:[""]}),e})(),pk=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-input-area"]],inputs:{customFindbarInputArea:"customFindbarInputArea"},decls:2,vars:2,consts:[["id","findbarInputContainer",4,"ngIf"],[3,"ngTemplateOutlet"],["id","findbarInputContainer"]],template:function(e,t){1&e&&(Fr(0,CS,4,0,"div",0),$r(1,1)),2&e&&(Vr("ngIf",!t.customFindbarInputArea),no(1),Vr("ngTemplateOutlet",t.customFindbarInputArea))},directives:function(){return[Wu,Ku,Ok,vk,bk]},styles:[""]}),e})(),gk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-match-case"]],decls:3,vars:0,consts:[["type","checkbox","id","findMatchCase",1,"toolbarField"],["for","findMatchCase","data-l10n-id","find_match_case_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Ur(0,"input",0),Hr(1,"label",1),Da(2," Match case\n"),jr())},styles:[""]}),e})(),fk=(()=>{class e{constructor(){this.individualWordsMode=!0,this.multipleSearchTexts=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=ge({factory:function(){return new e},token:e,providedIn:"root"}),e})(),mk=(()=>{class e{constructor(e){this.pdfFindbarService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr(fk))},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-entire-phrase"]],decls:6,vars:6,consts:[["type","checkbox","id","findMultipleSearchTexts",1,"toolbarField",3,"ngModel","ngModelChange"],["for","findMultipleSearchTexts","data-l10n-id","find_multiple_texts_label",1,"toolbarLabel"],["type","checkbox","id","individualWordsMode",1,"toolbarField",3,"ngModel","ngModelChange"],["for","individualWordsMode","id","individualWordsModeLabel","data-l10n-id","find_individual_words_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(Hr(0,"input",0),Xr("ngModelChange",function(e){return t.pdfFindbarService.multipleSearchTexts=e}),jr(),Hr(1,"label",1),Da(2," multiple search texts\n"),jr(),Hr(3,"input",2),Xr("ngModelChange",function(e){return t.pdfFindbarService.individualWordsMode=e}),jr(),Hr(4,"label",3),Da(5," separated by word boundaries\n"),jr()),2&e&&(Vr("ngModel",t.pdfFindbarService.multipleSearchTexts),no(3),ma("hidden",!t.pdfFindbarService.multipleSearchTexts),Vr("ngModel",t.pdfFindbarService.individualWordsMode),no(1),ma("hidden",!t.pdfFindbarService.multipleSearchTexts))},directives:[Df,rm,Rm],styles:[""]}),e})(),bk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-next"]],decls:5,vars:0,consts:[["type","button","id","findNext","title","Find the next occurrence of the phrase","data-l10n-id","find_next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","find_next_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Next"),jr(),jr())},styles:["button.toolbarButton#findNext[_ngcontent-%COMP%]{margin-top:0}"]}),e})(),vk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-previous"]],decls:5,vars:0,consts:[["type","button","id","findPrevious","title","Find the previous occurrence of the phrase","data-l10n-id","find_previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","find_previous_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Previous"),jr(),jr())},styles:["button.toolbarButton#findPrevious[_ngcontent-%COMP%]{margin-top:0}"]}),e})(),yk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-find-results-count"]],decls:1,vars:0,consts:[["id","findResultsCount",1,"toolbarLabel","hidden"]],template:function(e,t){1&e&&Ur(0,"span",0)},styles:[""]}),e})(),wk=(()=>{class e{constructor(e){this.notificationService=e,this.disableFirstPage=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}firstPage(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableFirstPage=e.pageNumber<=1,this.button.nativeElement.disabled=this.disableFirstPage}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-first-page"]],viewQuery:function(e,t){if(1&e&&Tc(AS,1),2&e){let e;Mc(e=Rc())&&(t.button=e.first)}},decls:6,vars:1,consts:[["type","button","title","First page","id","primaryFirstPage","data-l10n-id","first_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.firstPage()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),un(),Hr(4,"span",4),Da(5,"First page"),jr(),jr()),2&e&&Vr("disabled",t.disableFirstPage)},styles:[""]}),e})(),_k=(()=>{class e{constructor(e){this.notificationService=e,this.disableLastPage=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}firstPage(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableLastPage=e.pageNumber===e.pagesCount,this.button.nativeElement.disabled=this.disableLastPage}lastPage(){window.PDFViewerApplication.eventBus.dispatch("lastpage")}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-last-page"]],viewQuery:function(e,t){if(1&e&&Tc(AS,1),2&e){let e;Mc(e=Rc())&&(t.button=e.first)}},decls:6,vars:1,consts:[["type","button","title","Last page","id","primaryLastPage","data-l10n-id","last_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.lastPage()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),un(),Hr(4,"span",4),Da(5,"Last page"),jr(),jr()),2&e&&Vr("disabled",t.disableLastPage)},styles:[""]}),e})(),xk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-next-page"]],decls:5,vars:0,consts:[["type","button","title","Next Page","id","next","data-l10n-id","next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Next"),jr(),jr())},styles:[""]}),e})(),Ck=(()=>{class e{constructor(){this.showOpenFileButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-open-file"]],inputs:{showOpenFileButton:"showOpenFileButton"},decls:5,vars:2,consts:[["type","button","id","openFile","title","Open File","data-l10n-id","open_file",1,"toolbarButton","hiddenMediumView"],["viewBox","0 0 24 24",2,"width","24px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Open"),jr(),jr()),2&e&&ma("invisible",!t.showOpenFileButton)},styles:[SS]}),e})(),Ak=(()=>{class e{constructor(){this.showPagingButtons=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-page-number"]],inputs:{showPagingButtons:"showPagingButtons"},decls:2,vars:4,consts:[["type","number","id","pageNumber","title","Page","value","1","size","4","min","1","data-l10n-id","page",1,"toolbarField","pageNumber"],["id","numPages",1,"toolbarLabel","hiddenXLView"]],template:function(e,t){1&e&&(Ur(0,"input",0),Ur(1,"span",1)),2&e&&(ma("invisible",!t.showPagingButtons),no(1),ma("invisible",!t.showPagingButtons))},styles:[""]}),e})(),Sk=(()=>{class e{constructor(){this.showPagingButtons=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-paging-area"]],inputs:{showPagingButtons:"showPagingButtons"},decls:7,vars:5,consts:[[1,"paging-left","hiddenTinyView"],[2,"margin-right","-3px"],[2,"margin-left","-3px"],[3,"showPagingButtons"],[1,"paging-right","hiddenTinyView"],[2,"margin-right","-3px","margin-left","-3px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-first-page",1),Ur(2,"pdf-previous-page",2),jr(),Ur(3,"pdf-page-number",3),Hr(4,"div",4),Ur(5,"pdf-next-page",5),Ur(6,"pdf-last-page",2),jr()),2&e&&(ma("invisible",!t.showPagingButtons),no(3),Vr("showPagingButtons",t.showPagingButtons),no(1),ma("invisible",!t.showPagingButtons))},directives:function(){return[wk,Ek,Ak,xk,_k]},styles:[".paging-right[_ngcontent-%COMP%]{float:right;display:block;margin-top:-2px}.paging-left[_ngcontent-%COMP%]{float:left;display:block;margin-top:-2px}"]}),e})(),kk=(()=>{class e{constructor(){this.showPresentationModeButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-presentation-mode"]],inputs:{showPresentationModeButton:"showPresentationModeButton"},decls:5,vars:2,consts:[["type","button","id","presentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"toolbarButton","hiddenLargeView"],["viewBox","0 0 24 24",2,"width","27px","height","27px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Presentation Mode"),jr(),jr()),2&e&&ma("invisible",!t.showPresentationModeButton)},styles:["[_nghost-%COMP%] button.toolbarButton[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),Ek=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-previous-page"]],decls:5,vars:0,consts:[["type","button","title","Previous Page","id","previous","data-l10n-id","previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Previous"),jr(),jr())},styles:[""]}),e})(),Pk=(()=>{class e{constructor(){this.showPrintButton=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-print"]],inputs:{showPrintButton:"showPrintButton"},decls:5,vars:2,consts:[["type","button","id","print","title","Print","data-l10n-id","print",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Print"),jr(),jr()),2&e&&ma("invisible",!t.showPrintButton)},styles:[PS]}),e})(),Dk=(()=>{class e{constructor(e){this.notificationService=e,this.showRotateButton=!0,this.disableRotate=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}rotateCW(){window.PDFViewerApplication.eventBus.dispatch("rotatecw")}rotateCCW(){window.PDFViewerApplication.eventBus.dispatch("rotateccw")}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("updateuistate",e=>this.updateUIState(e))}updateUIState(e){this.disableRotate=0===e.pagesCount,this.button1.nativeElement.disabled=this.disableRotate,this.button2.nativeElement.disabled=this.disableRotate}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-rotate-page"]],viewQuery:function(e,t){if(1&e&&(Tc(kS,1),Tc(ES,1)),2&e){let e;Mc(e=Rc())&&(t.button1=e.first),Mc(e=Rc())&&(t.button2=e.first)}},inputs:{showRotateButton:"showRotateButton"},decls:8,vars:6,consts:[["type","button","id","primaryPageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"toolbarButton","hiddenXLView","rotateCw",3,"disabled","click"],["button1",""],["viewBox","0 0 24 24",2,"width","23px","height","23px"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["type","button","id","primaryPageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"toolbarButton","hiddenXLView","rotateCcw",3,"disabled","click"],["button2",""],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"]],template:function(e,t){1&e&&(Hr(0,"button",0,1),Xr("click",function(){return t.rotateCW()}),dn(),Hr(2,"svg",2),Ur(3,"path",3),jr(),jr(),un(),Hr(4,"button",4,5),Xr("click",function(){return t.rotateCCW()}),dn(),Hr(6,"svg",2),Ur(7,"path",6),jr(),jr()),2&e&&(ma("invisible",!t.showRotateButton),Vr("disabled",t.disableRotate),no(4),ma("invisible",!t.showRotateButton),Vr("disabled",t.disableRotate))},styles:[PS]}),e})(),Ok=(()=>{class e{constructor(e){this.pdfFindbarService=e}}return e.\u0275fac=function(t){return new(t||e)(zr(fk))},e.\u0275cmp=$e({type:e,selectors:[["pdf-search-input-field"]],decls:2,vars:5,consts:[["autocomplete","search-input-field","id","findInput","title","Find","data-l10n-id","find_input","name","search-input-field",1,"toolbarField",3,"placeholder"],["id","findInputMultiline","type","checkbox","placeholder","Multiple search terms. Each line is a search term.","data-l10n-id","find_input_line_by_line","lines","3",1,"toolbarField"]],template:function(e,t){1&e&&(Ur(0,"input",0),Ur(1,"textarea",1)),2&e&&(ma("hidden",!t.pdfFindbarService.individualWordsMode),Vr("placeholder","Find in document\u2026"),no(1),ma("hidden",t.pdfFindbarService.individualWordsMode))},styles:["textarea[_ngcontent-%COMP%]{width:200px;height:3.5em}textarea[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#bfbfbf}textarea[_ngcontent-%COMP%]::-moz-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]:-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::placeholder{font-style:italic}"]}),e})(),Mk=(()=>{class e{constructor(){this.showSecondaryToolbarButton=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toggle-secondary-toolbar"]],inputs:{showSecondaryToolbarButton:"showSecondaryToolbarButton"},decls:5,vars:2,consts:[["type","button","id","secondaryToolbarToggle","title","Tools","data-l10n-id","tools",1,"toolbarButton"],["viewBox","0 0 24 24","onclick","event.preventDefault(); return false;",2,"width","27px","height","27px"],["fill","currentColor","d","M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"],["data-l10n-id","tools_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Tools"),jr(),jr()),2&e&&ma("invisible",!t.showSecondaryToolbarButton)},styles:["svg[_ngcontent-%COMP%]{margin-top:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),e})(),Tk=(()=>{class e{constructor(){this.showSidebarButton=!0}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toggle-sidebar"]],inputs:{showSidebarButton:"showSidebarButton"},decls:5,vars:2,consts:[["type","button","id","sidebarToggle","title","Toggle Sidebar","data-l10n-id","toggle_sidebar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["data-l10n-id","toggle_sidebar_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Toggle Sidebar"),jr(),jr()),2&e&&ma("invisible",!t.showSidebarButton)},styles:[DS]}),e})(),Ik=(()=>{class e{constructor(){this.mobileFriendlyZoomScale=1,this.primaryMenuVisible=!0,this.showBookmarkButton=!0,this.showDownloadButton=!0,this.showFindButton=void 0,this.showHandToolButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showPagingButtons=!0,this.showPresentationModeButton=!1,this.showRotateButton=!0,this.showSecondaryToolbarButton=!0,this.showSidebarButton=!0,this.showZoomButtons=!0,this.textLayer=void 0,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-toolbar"]],inputs:{mobileFriendlyZoomScale:"mobileFriendlyZoomScale",primaryMenuVisible:"primaryMenuVisible",showBookmarkButton:"showBookmarkButton",showDownloadButton:"showDownloadButton",showFindButton:"showFindButton",showHandToolButton:"showHandToolButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showPagingButtons:"showPagingButtons",showPresentationModeButton:"showPresentationModeButton",showRotateButton:"showRotateButton",showSecondaryToolbarButton:"showSecondaryToolbarButton",showSidebarButton:"showSidebarButton",showZoomButtons:"showZoomButtons",textLayer:"textLayer",toolbarPaddingTop:"toolbarPaddingTop",toolbarWidth:"toolbarWidth",zoomLevels:"zoomLevels",customToolbar:"customToolbar"},ngContentSelectors:hS,decls:8,vars:11,consts:[[1,"toolbar"],["id","toolbarContainer"],[4,"ngTemplateOutlet"],["id","loadingBar"],[1,"progress"],[1,"glimmer"],["defaultToolbar",""],["id","toolbarViewer"],["id","toolbarViewerLeft"],[3,"showSidebarButton"],[3,"showFindButton","textLayer"],[3,"showPagingButtons"],[3,"showZoomButtons","zoomLevels"],["id","toolbarViewerRight"],[3,"showHandToolButton"],[3,"showSelectToolButton"],[3,"showRotateButton"],[3,"showPresentationModeButton"],[3,"showOpenFileButton"],[3,"showPrintButton"],[3,"showDownloadButton"],[3,"showBookmarkButton"],[3,"showSecondaryToolbarButton"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",1),Fr(2,OS,1,0,"ng-content",2),Hr(3,"div",3),Hr(4,"div",4),Ur(5,"div",5),jr(),jr(),jr(),jr(),Fr(6,MS,16,15,"ng-template",null,6,zc)),2&e){const e=Br(7);ma("invisible",!t.primaryMenuVisible),no(1),fa("transform","scale("+t.mobileFriendlyZoomScale+")")("transform-origin","left center")("width",t.toolbarWidth)("padding-top",t.toolbarPaddingTop),no(1),Vr("ngTemplateOutlet",t.customToolbar?t.customToolbar:e)}},directives:function(){return[Ku,Tk,lk,Sk,Bk,KS,zk,Dk,kk,Ck,Pk,nk,JS,Mk]},styles:[""]}),e})(),Rk=(()=>{class e{constructor(){this._zoomLevels=[]}set zoomLevels(e){this._zoomLevels=e.map(e=>this.valueToZoomLevel(e))}ngOnInit(){}valueToZoomLevel(e){e.toString().endsWith("%")&&(e=e.toString().replace("%",""),e=Number(e)/100);const t=Number(e);if(!t){const t=String(e);return{id:this.snakeToCamel(e+"Option"),value:t,dataL10nId:"page_scale_"+t.replace("page-",""),dataL10nArgs:void 0,displayValue:t}}const n=Math.round(100*t);return{id:"scale_"+n,value:String(t),dataL10nId:"page_scale_percent",dataL10nArgs:`{ "scale": ${n} }`,displayValue:String(n)+"%"}}snakeToCamel(e){return e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace("-","").replace("_",""))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-dropdown"]],viewQuery:function(e,t){if(1&e&&Tc(TS,1),2&e){let e;Mc(e=Rc())&&(t.sizeSelector=e.first)}},inputs:{zoomLevels:"zoomLevels"},decls:5,vars:1,consts:[["id","scaleSelectContainer",1,"dropdownToolbarButton"],["id","scaleSelect","title","Zoom","data-l10n-id","zoom"],["sizeSelector",""],[3,"id",4,"ngFor","ngForOf"],["id","customScaleOption","title","","value","custom","disabled","disabled","hidden","true"],[3,"id"]],template:function(e,t){1&e&&(Hr(0,"span",0),Hr(1,"select",1,2),Fr(3,IS,2,5,"option",3),Ur(4,"option",4),jr(),jr()),2&e&&(no(3),Vr("ngForOf",t._zoomLevels))},directives:[ju,qm,Xm],styles:[".dropdownToolbarButton[_ngcontent-%COMP%]{display:table-cell;-webkit-appearance:none;width:150px;max-width:150px}.dropdownToolbarButton[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{width:170px}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){.dropdownToolbarButton[_ngcontent-%COMP%]::after{top:-1px}}"]}),e})(),Lk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-in"]],decls:4,vars:0,consts:[["type","button","id","zoomIn","title","Zoom In","data-l10n-id","zoom_in",1,"toolbarButton","zoomIn"],["data-l10n-id","zoom_in_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Da(1," + "),Hr(2,"span",1),Da(3,"Zoom In"),jr(),jr())},styles:[""]}),e})(),Fk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-out"]],decls:4,vars:0,consts:[["type","button","id","zoomOut","title","Zoom Out","data-l10n-id","zoom_out",1,"toolbarButton","zoomOut",2,"margin-top","2px"],["data-l10n-id","zoom_out_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Da(1," - "),Hr(2,"span",1),Da(3,"Zoom Out"),jr(),jr())},styles:[""]}),e})(),Bk=(()=>{class e{constructor(){this.showZoomButtons=!0,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-zoom-toolbar"]],inputs:{showZoomButtons:"showZoomButtons",zoomLevels:"zoomLevels"},decls:4,vars:3,consts:[["id","toolbarViewerMiddle"],[2,"width","unset","max-width","unset","padding-top","3px",3,"zoomLevels"]],template:function(e,t){1&e&&(Hr(0,"div",0),Ur(1,"pdf-zoom-out"),Ur(2,"pdf-zoom-in"),Ur(3,"pdf-zoom-dropdown",1),jr()),2&e&&(ma("invisible",!t.showZoomButtons),no(3),Vr("zoomLevels",t.zoomLevels))},directives:[Fk,Lk,Rk],styles:[""]}),e})(),zk=(()=>{class e{constructor(e){this.notificationService=e,this.showSelectToolButton=!0,this.isSelected=!0;const t=this.notificationService.onPDFJSInit.subscribe(()=>{this.onPdfJsInit(),t.unsubscribe()})}onPdfJsInit(){window.PDFViewerApplication.eventBus.on("cursortoolchanged",({tool:e})=>this.isSelected=e===qS.SELECT)}onClick(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:qS.SELECT})}}return e.\u0275fac=function(t){return new(t||e)(zr(GS))},e.\u0275cmp=$e({type:e,selectors:[["pdf-select-tool"]],inputs:{showSelectToolButton:"showSelectToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorSelectTool","title","Enable text selection tool","data-l10n-id","cursor_text_select_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"]],template:function(e,t){1&e&&(Hr(0,"button",0),Xr("click",function(){return t.onClick()}),dn(),Hr(1,"svg",1),Ur(2,"path",2),jr(),un(),Hr(3,"span",3),Da(4,"Text selection tool"),jr(),jr()),2&e&&ma("invisible",!t.showSelectToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0;margin-right:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),e})(),Vk=(()=>{class e{constructor(e,t){this.renderer=e,this.document=t,this.zoom=1,this.width=100,this.xs=490,this.sm=560,this.md=610,this.lg=660,this.xl=740,this.xxl=830}get style(){return`\n@media all and (max-width: ${this.xl}px) {\n #toolbarViewerMiddle {\n display: table;\n margin: auto;\n left: auto;\n position: inherit;\n transform: none;\n }\n}\n\n@media all and (max-width: 840px) {\n #sidebarContent {\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {\n left: 0px !important;\n }\n html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {\n right: 0px !important;\n }\n\n #outerContainer .hiddenLargeView,\n #outerContainer .hiddenMediumView {\n display: inherit;\n }\n #outerContainer .visibleLargeView,\n #outerContainer .visibleMediumView {\n display: none;\n }\n}\n\n@media all and (max-width: ${this.lg}px) {\n .toolbarButtonSpacer {\n width: 15px;\n }\n\n #outerContainer .hiddenLargeView {\n display: none;\n }\n #outerContainer .visibleLargeView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.md}px) {\n .toolbarButtonSpacer {\n display: none;\n }\n #outerContainer .hiddenMediumView {\n display: none;\n }\n #outerContainer .visibleMediumView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.sm}px) {\n .hiddenSmallView,\n .hiddenSmallView * {\n display: none;\n }\n .visibleSmallView {\n display: inherit;\n }\n .toolbarButtonSpacer {\n width: 0;\n }\n html[dir='ltr'] .findbar {\n left: 38px;\n }\n html[dir='rtl'] .findbar {\n right: 38px;\n }\n}\n\n@media all and (max-width: ${this.xs}px) {\n #scaleSelectContainer {\n display: none;\n }\n}\n\n.visibleXLView,\n.visibleXXLView,\n.visibleTinyView {\n display: none;\n}\n\n.hiddenXLView,\n.hiddenXXLView {\n display: unset;\n}\n\n@media all and (max-width: ${this.xl}px) {\n #outerContainer .hiddenXLView {\n display: none;\n }\n #outerContainer .visibleXLView {\n display: inherit;\n }\n\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-36%);\n transform: translateX(-36%);\n display: unset;\n margin: unset;\n left: 50%;\n position: absolute;\n }\n}\n\n@media all and (max-width: ${this.xxl}px) {\n #outerContainer .hiddenXXLView {\n display: none;\n }\n #outerContainer .visibleXXLView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ${this.md}px) {\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-26%);\n transform: translateX(-26%);\n }\n}\n\n@media all and (max-width: ${this.xs}px) {\n .hiddenTinyView,\n .hiddenTinyView * {\n display: none;\n }\n .visibleTinyView {\n display: inherit;\n }\n}\n `}ngOnInit(){this.injectStyle()}ngOnChanges(){const e=this.document.body.clientWidth/this.width*(this.zoom?this.zoom:1);this.xs=490*e,this.sm=560*e,this.md=610*e,this.lg=660*e,this.xl=740*e,this.xxl=830*e;const t=this.document.getElementById("pdf-dynamic-css");t&&(t.innerHTML=this.style)}injectStyle(){const e=this.document.createElement("STYLE");e.id="pdf-dynamic-css",e.innerHTML=this.style,this.renderer.appendChild(this.document.head,e)}ngOnDestroy(){const e=this.document.getElementById("pdf-dynamic-css");e&&e.parentElement&&e.parentElement.removeChild(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(cl),zr(Hd))},e.\u0275cmp=$e({type:e,selectors:[["pdf-dynamic-css"]],inputs:{zoom:"zoom",width:"width"},features:[dt],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),Nk=(()=>{class e{constructor(){this.thumbnailDrawn=new yc,this.top="32px",this._hideSidebarToolbar=!1,window.pdfThumbnailGeneratorReady=()=>this.pdfThumbnailGeneratorReady(),window.pdfThumbnailGenerator=(e,t,n,i,s)=>this.createThumbnail(e,t,n,i,s)}ngOnDestroy(){this.linkService=void 0}pdfThumbnailGeneratorReady(){if(!this.thumbnailViewTemplate)return!1;const e=this.thumbnailViewTemplate.nativeElement;return!!e&&!!e.innerHTML&&e.innerHTML.length>0}createThumbnail(e,t,n,i,s){this.linkService=t;const o=this.thumbnailViewTemplate.nativeElement.innerHTML.split(/_ng\w+-\w+-\w+=""/g).join("").split(/ng-\w+-\w+/g).join("").split(/<!--[\s\S]*?-->/g).join(""),r=e.canvasWidth+2+"px",a=e.canvasHeight+2+"px",l=o.split("WIDTH_OF_RING").join(r).split("HEIGHT_OF_RING").join(a).split("PAGE_NUMBER").join(n),c=this.createElementFromHTML(l);c.classList.remove("pdf-viewer-template");const d=c;d.href=t.getAnchorUrl("#page="+n),s.then(e=>{d.title=e}),d.onclick=function(){return t.page=n,!1},e.anchor=d;const u=c.getElementsByClassName("image-container")[0];e.ring=u,e.div=c.getElementsByClassName("thumbnail")[0],i.appendChild(c),this.thumbnailDrawn.emit({thumbnail:c,container:i,pageId:n})}createElementFromHTML(e){const t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}onKeyDown(e){"ArrowDown"===e.code?this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=this.linkService.pagesCount:this.linkService.page<this.linkService.pagesCount&&(this.linkService.page=this.linkService.page+1),e.preventDefault()):"ArrowUp"===e.code&&this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=1:this.linkService.page>1&&(this.linkService.page=this.linkService.page-1),e.preventDefault())}set hideSidebarToolbar(e){this._hideSidebarToolbar=e,this.top=this._hideSidebarToolbar?"0":"32px"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar-content"]],viewQuery:function(e,t){if(1&e&&Tc(RS,1),2&e){let e;Mc(e=Rc())&&(t.thumbnailViewTemplate=e.first)}},inputs:{hideSidebarToolbar:"hideSidebarToolbar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:hS,decls:10,vars:3,consts:[["id","sidebarContent"],["thumbnailViewTemplate",""],[4,"ngTemplateOutlet"],["id","thumbnailView",3,"keydown"],["id","outlineView",1,"hidden"],["id","attachmentsView",1,"hidden"],["id","layersView",1,"hidden"],["defaultThumbnail",""],[1,"pdf-viewer-template"],["data-page-number","$page",1,"thumbnail"],[1,"thumbnailSelectionRing","image-container",2,"width","WIDTH_OF_RING","height","HEIGHT_OF_RING"]],template:function(e,t){if(1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",null,1),Fr(3,LS,1,0,"ng-content",2),jr(),Hr(4,"div",3),Xr("keydown",function(e){return t.onKeyDown(e)}),jr(),Ur(5,"div",4),Ur(6,"div",5),Ur(7,"div",6),jr(),Fr(8,FS,3,0,"ng-template",null,7,zc)),2&e){const e=Br(9);fa("top",t.top),no(3),Vr("ngTemplateOutlet",t.customThumbnail?t.customThumbnail:e)}},directives:[Ku],styles:[""]}),e})(),Hk=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-sidebar-toolbar"]],decls:21,vars:0,consts:[["id","toolbarSidebar"],["type","button","id","viewThumbnail","title","Show Thumbnails","data-l10n-id","thumbs",1,"toolbarButton","toggled"],["data-l10n-id","thumbs_label"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z"],["type","button","id","viewOutline","title","Show Document Outline (double-click to expand/collapse all items)","data-l10n-id","document_outline","hidden","true",1,"toolbarButton"],["data-l10n-id","document_outline_label"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["type","button","id","viewAttachments","title","Show Attachments","data-l10n-id","attachments","hidden","true",1,"toolbarButton"],["data-l10n-id","attachments_label"],["fill","currentColor","d","M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"],["id","viewLayers","title","Show Layers (double-click to reset all layers to the default state)","data-l10n-id","layers","hidden","true",1,"toolbarButton"],["data-l10n-id","layers_label"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 4.233 4.233",2,"width","20px","height","20px"],["d","M.15 2.992c-.198.1-.2.266-.002.365l1.604.802a.93.93 0 00.729-.001l1.602-.801c.198-.1.197-.264 0-.364l-.695-.348c-1.306.595-2.542 0-2.542 0m-.264.53l.658-.329c.6.252 1.238.244 1.754 0l.659.329-1.536.768zM.15 1.935c-.198.1-.198.265 0 .364l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363l-.694-.35c-1.14.56-2.546.001-2.546.001m-.264.53l.664-.332c.52.266 1.261.235 1.75.002l.659.33-1.537.768zM.15.877c-.198.099-.198.264 0 .363l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363L2.481.075a.926.926 0 00-.727 0zm.43.182L2.117.29l1.538.769-1.538.768z"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"button",1),Hr(2,"span",2),Da(3,"Thumbnails"),jr(),dn(),Hr(4,"svg",3),Ur(5,"path",4),jr(),jr(),un(),Hr(6,"button",5),Hr(7,"span",6),Da(8,"Document Outline"),jr(),dn(),Hr(9,"svg",3),Ur(10,"path",7),jr(),jr(),un(),Hr(11,"button",8),Hr(12,"span",9),Da(13,"Attachments"),jr(),dn(),Hr(14,"svg",3),Ur(15,"path",10),jr(),jr(),un(),Hr(16,"button",11),Hr(17,"span",12),Da(18,"Layers"),jr(),dn(),Hr(19,"svg",13),Ur(20,"path",14),jr(),jr(),jr())},styles:["button[_ngcontent-%COMP%]{margin-right:4px!important}div#toolbarSidebar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-child{margin-left:4px!important}"]}),e})(),jk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-light-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(90, 90, 90)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#5a5a5a;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#5a5a5a;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:#fff!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#f9f9f9}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:#e3e1e6}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid #ddd}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:var(#e3e1e6);color:#5a5a5a;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#f9f9f9}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#f9f9f9;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#5a5a5a;color:#f9f9f9;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#5a5a5a;margin:0;padding:3px 2px 2px;border:none;background-color:#fff}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#f9f9f9}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:#fff;background-clip:padding-box;color:#5a5a5a;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#5a5a5a;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#f9f9f9;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#5a5a5a;font-size:12px;line-height:14px;background-color:#f9f9f9;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#f9f9f9;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),e})(),Uk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["pdf-dark-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(217, 217, 217)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#474747;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#474747;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:rgba(255,255,255,.09)!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#000}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#000;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:rgba(0,0,0,.1)}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid rgba(0,0,0,.5)}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:#424242;color:#d9d9d9;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#474747}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#474747;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#d9d9d9;color:#474747;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#d9d9d9;margin:0;padding:3px 2px 2px;border:none;background-color:rgba(255,255,255,.09)}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#474747}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:rgba(255,255,255,.09);background-clip:padding-box;color:#d9d9d9;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#424242;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#000;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#d9d9d9;font-size:12px;line-height:14px;background-color:#474747;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#000;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),e})();function Wk(e,t,n){return!e||e.some(e=>function(e,t,n){let i=0,s=0;return(e=e.toLowerCase()).includes("ctrl+")&&(i|=1,e=e.replace("ctrl+","")),e.includes("cmd+")&&(i|=8,e=e.replace("cmd+","")),e.includes("alt+")&&(i|=2,e=e.replace("alt+","")),e.includes("shift+")&&(i|=4,e=e.replace("shift+","")),e.includes("meta+")&&(i|=8,e=e.replace("meta+","")),s="up"===e?38:"down"===e?40:"+"===e||'"+"'===e?171:"-"===e||'"-"'===e?173:"esc"===e?27:"enter"===e?13:"space"===e?32:"f4"===e?115:"backspace"===e?8:"home"===e?36:"end"===e?35:"left"===e?37:"right"===e?39:"pagedown"===e?34:"pageup"===e?33:e.toUpperCase().charCodeAt(0),"WHEEL"===n?"wheel"===e&&t===i:s===n&&t===i}(e,t,n))}Promise.allSettled||window.Zone&&!window["__zone_symbol__Promise.allSettled"]&&console.error("Please update zone.js to version 0.10.3 or higher. Otherwise, you'll run the slow ECMAScript 5 version even on modern browser that can run the fast ESMAScript 2015 version."),"undefined"!=typeof window&&(window.isKeyIgnored=function(e,t){const n=window.PDFViewerApplicationOptions,i=n.get("ignoreKeys"),s=n.get("acceptKeys");return"WHEEL"===t?!!Wk(i,e,"WHEEL")||!!(s&&s.length>0)&&!Wk(s,e,"WHEEL"):16===t||17===t||18===t||224===t||!!n.get("ignoreKeyboard")||!!(i&&i.length>0&&Wk(i,e,t))||!!(s&&s.length>0)&&!Wk(s,e,t)});let Gk=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[XS,GS,nu,{provide:Xd,useClass:eu}],imports:[[uh,ob]]}),e})();const $k=["contentRef"],qk=["*"];let Yk=(()=>{let e=class{constructor(e){this.display="inline-block",this._dragDisabled=!1,this._elementRef=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}};return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(e,t){2&e&&fa("display",t.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),e=D_([O_(0,vi(rl)),M_("design:paramtypes",[rl])],e),e})(),Zk=(()=>{let e=class{constructor(e,t,n){this._elementRef=e,this._renderer=t,this._document=n,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.dsInitialized=new yc,this.indexChanged=new yc,this.reachesLeftBound=new yc,this.reachesRightBound=new yc,this.snapAnimationFinished=new yc,this.dragStart=new yc,this.dragEnd=new yc,this.scrollbarWidth=this.getScrollbarWidth()+"px"}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(e){e!==this._index&&(this._index=e,this.indexChanged.emit(e))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(e){this._scrollbarHidden=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get xDisabled(){return this._xDisabled}set xDisabled(e){this._xDisabled=e}get yDisabled(){return this._yDisabled}set yDisabled(e){this._yDisabled=e}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(e){this._xWheelEnabled=e}get dragDisabled(){return this._dragDisabled}set dragDisabled(e){this._dragDisabled=e}get snapDisabled(){return this._snapDisabled}set snapDisabled(e){this._snapDisabled=e}get snapOffset(){return this._snapOffset}set snapOffset(e){this._snapOffset=e}get snapDuration(){return this._snapDuration}set snapDuration(e){this._snapDuration=e}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType="undefined"!=typeof window?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen("document","dragstart",e=>{e.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild()}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(e){this.onMouseMove(e)}onMouseMove(e){if(this.isPressed&&!this.disabled){if(!e.buttons&&!e.which)return this.onMouseUpHandler(e);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const t=e.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-t+this.downX,this.downX=t}if(!this.yDisabled&&!this.dragDisabled){const t=e.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-t+this.downY,this.downY=t}}}onMouseDownHandler(e){const t=this.locateDragScrollItem(e.target);if(t&&t.dragDisabled)return;this._startGlobalListening("touchstart"===e.type),this.isPressed=!0;const n=e;this.downX=n.clientX,this.downY=n.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(e){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const e=this.wrapper||this.parentNode,t=e?e.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex<this.maximumIndex(t,this._children.toArray())&&(this.currIndex++,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveTo(e){const t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;e>=0&&e!==this.currIndex&&this.currIndex<=this.maximumIndex(n,this._children.toArray())&&(this.currIndex=Math.min(e,this.maximumIndex(n,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const e=Boolean(this._children.length<=1),t=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);e||t?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(e){this._xWheelEnabled&&(e.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(e.deltaY,0):e.deltaY<0?this.moveLeft():e.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(e){this._isDragging!==e&&(this._isDragging=e,e?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(e){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",e?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",e?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"hidden")}enableScroll(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"auto")}hideScrollbar(){"none"===this._contentRef.nativeElement.style.display||this.wrapper||(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.setStyle(e,"visibility","hidden"),this._renderer.setStyle(e,"width","100px"),this._renderer.setStyle(e,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,e);const t=e.offsetWidth;this._renderer.setStyle(e,"overflow","scroll");const n=this._renderer.createElement("div");this._renderer.setStyle(n,"width","100%"),this._renderer.appendChild(e,n);const i=n.offsetWidth;return this._renderer.removeChild(this._document.body,e),t-i||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px"))}scrollTo(e,t,n){const i=this;i.isAnimating=!0;const s=e.scrollLeft,o=t-s-this.snapOffset;let r=0;const a=function(){var t,l,c;r+=20,e.scrollLeft=(t=r,l=s,c=o,(t/=n/2)<1?c/2*t*t+l:-c/2*(--t*(t-2)-1)+l),r<n?i.scrollToTimer=setTimeout(a,20):setTimeout(()=>{i.isAnimating=!1,i.snapAnimationFinished.emit(i.currIndex)},20)};a()}locateCurrentIndex(e){this.currentChildWidth((t,n,i,s,o)=>{this._contentRef.nativeElement.scrollLeft>=i&&this._contentRef.nativeElement.scrollLeft<=n?(n-this._contentRef.nativeElement.scrollLeft>t/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=s),e&&this.scrollTo(this._contentRef.nativeElement,i,this.snapDuration)):0!==this._contentRef.nativeElement.scrollLeft&&(this.isAnimating||(this.currIndex=s+1),e&&this.scrollTo(this._contentRef.nativeElement,i+t,this.snapDuration)),o()):s+1===this._children.length-1&&(this.isAnimating||(this.currIndex=s+1),o())})}currentChildWidth(e){let t=0,n=!1;const i=function(){n=!0},s=this._children.toArray();for(let o=0;o<s.length&&o!==s.length-1&&!n;o++){const n=s[o]._elementRef.nativeElement.clientWidth;e(n,t+s[o+1]._elementRef.nativeElement.clientWidth,t,o,i),t+=n}}toChildrenLocation(){let e=0;const t=this._children.toArray();for(let n=0;n<this.currIndex;n++)e+=t[n]._elementRef.nativeElement.clientWidth;return e}locateDragScrollItem(e){let t=null;const n=this._children.toArray();for(let i=0;i<n.length;i++)e===n[i]._elementRef.nativeElement&&(t=n[i]);return t}markElDimension(){this.wrapper?(this.elWidth=this.wrapper.style.width,this.elHeight=this.wrapper.style.height):(this.elWidth=this._elementRef.nativeElement.style.width||this._elementRef.nativeElement.offsetWidth+"px",this.elHeight=this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px");const e=this.wrapper||this.parentNode;this._children.length>1&&(this.indexBound=this.maximumIndex(e?e.clientWidth:0,this._children.toArray()))}maximumIndex(e,t){let n=0,i=0;for(let s=0;s<=t.length;s++){const o=t[t.length-1-s];if(!o)break;{const t=o._elementRef.nativeElement;let s=t.clientWidth;if(0===s&&t.firstElementChild&&(s=o._elementRef.nativeElement.firstElementChild.clientWidth),i+=s,!(i<e))break;n++}}return t.length-n}isScrollReachesRightEnd(){return this._contentRef.nativeElement.scrollLeft+this._contentRef.nativeElement.offsetWidth>=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const e=this._children.toArray();this._renderer.setStyle(e[e.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&e.length>1?this.scrollbarWidth:0)}}};return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl),zr(Hd))},e.\u0275cmp=$e({type:e,selectors:[["drag-scroll"]],contentQueries:function(e,t,n){if(1&e&&Ic(n,Yk,0),2&e){let e;Mc(e=Rc())&&(t._children=e)}},viewQuery:function(e,t){if(1&e&&Tc($k,3),2&e){let e;Mc(e=Rc())&&(t._contentRef=e.first)}},hostVars:2,hostBindings:function(e,t){1&e&&Xr("wheel",function(e){return t.onWheel(e)})("resize",function(){return t.onWindowResize()},!1,ps),2&e&&fa("pointer-events",t._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[dt],ngContentSelectors:qk,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(e,t){1&e&&(sa(),Hr(0,"div",0,1),oa(2),jr())},styles:["[_nghost-%COMP%] {\n overflow: hidden;\n display: block;\n }\n .drag-scroll-content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n }"]}),e=D_([O_(0,vi(rl)),O_(1,vi(cl)),O_(2,vi(Hd)),M_("design:paramtypes",[rl,cl,Object])],e),e})(),Qk=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();class Xk{constructor(e,t){this.x=e,this.y=t}static fromEvent(e,t=null){if(this.isMouseEvent(e))return new Xk(e.clientX,e.clientY);if(null===t||1===e.changedTouches.length)return new Xk(e.changedTouches[0].clientX,e.changedTouches[0].clientY);for(let n=0;n<e.changedTouches.length;n++)if(e.changedTouches[n].target===t)return new Xk(e.changedTouches[n].clientX,e.changedTouches[n].clientY)}static isMouseEvent(e){return 8===Object.prototype.toString.apply(e).indexOf("MouseEvent")}static isIPosition(e){return!!e&&"x"in e&&"y"in e}static getCurrent(e){let t=new Xk(0,0);if(window){const n=window.getComputedStyle(e);if(n){let e=parseInt(n.getPropertyValue("left"),10),i=parseInt(n.getPropertyValue("top"),10);t.x=isNaN(e)?0:e,t.y=isNaN(i)?0:i}return t}return console.error("Not Supported!"),null}static copy(e){return new Xk(0,0).set(e)}get value(){return{x:this.x,y:this.y}}add(e){return this.x+=e.x,this.y+=e.y,this}subtract(e){return this.x-=e.x,this.y-=e.y,this}multiply(e){this.x*=e,this.y*=e}divide(e){this.x/=e,this.y/=e}reset(){return this.x=0,this.y=0,this}set(e){return this.x=e.x,this.y=e.y,this}}class Kk{constructor(e,t){this.parent=e,this.renderer=t,this._added=!1;let n=t.createElement("div");t.setStyle(n,"position","absolute"),t.setStyle(n,"width","100%"),t.setStyle(n,"height","100%"),t.setStyle(n,"background-color","transparent"),t.setStyle(n,"top","0"),t.setStyle(n,"left","0"),this._helper=n}add(){this.parent&&!this._added&&(this.parent.appendChild(this._helper),this._added=!0)}remove(){this.parent&&this._added&&(this.parent.removeChild(this._helper),this._added=!1)}dispose(){this._helper=null,this._added=!1}get el(){return this._helper}}let Jk=(()=>{class e{constructor(e,t){this.el=e,this.renderer=t,this.allowDrag=!0,this.moving=!1,this.orignal=null,this.oldTrans=new Xk(0,0),this.tempTrans=new Xk(0,0),this.currTrans=new Xk(0,0),this.oldZIndex="",this._zIndex="",this.needTransform=!1,this.draggingSub=null,this._helperBlock=null,this.started=new yc,this.stopped=new yc,this.edge=new yc,this.outOfBounds={top:!1,right:!1,bottom:!1,left:!1},this.gridSize=1,this.inBounds=!1,this.trackPosition=!0,this.scale=1,this.preventDefaultEvent=!1,this.position={x:0,y:0},this.lockAxis=null,this.movingOffset=new yc,this.endOffset=new yc,this._helperBlock=new Kk(e.nativeElement,t)}set zIndex(e){this.renderer.setStyle(this.el.nativeElement,"z-index",e),this._zIndex=e}set ngDraggable(e){if(null!=e&&""!==e){this.allowDrag=!!e;let t=this.getDragEl();this.allowDrag?this.renderer.addClass(t,"ng-draggable"):(this.putBack(),this.renderer.removeClass(t,"ng-draggable"))}}ngOnInit(){if(this.allowDrag){let e=this.getDragEl();this.renderer.addClass(e,"ng-draggable")}this.resetPosition()}ngOnDestroy(){this.bounds=null,this.handle=null,this.orignal=null,this.oldTrans=null,this.tempTrans=null,this.currTrans=null,this._helperBlock.dispose(),this._helperBlock=null,this.draggingSub&&this.draggingSub.unsubscribe()}ngOnChanges(e){if(e.position&&!e.position.isFirstChange()){let t=e.position.currentValue;this.moving?this.needTransform=!0:(Xk.isIPosition(t)?this.oldTrans.set(t):this.oldTrans.reset(),this.transform())}}ngAfterViewInit(){this.inBounds&&(this.boundsCheck(),this.oldTrans.add(this.tempTrans),this.tempTrans.reset())}getDragEl(){return this.handle?this.handle:this.el.nativeElement}resetPosition(){Xk.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.tempTrans.reset(),this.transform()}moveTo(e){this.orignal&&(e.subtract(this.orignal),this.tempTrans.set(e),this.tempTrans.divide(this.scale),this.transform(),this.bounds&&this.edge.emit(this.boundsCheck()),this.movingOffset.emit(this.currTrans.value))}transform(){let e=this.tempTrans.x+this.oldTrans.x,t=this.tempTrans.y+this.oldTrans.y;"x"===this.lockAxis?(e=this.oldTrans.x,this.tempTrans.x=0):"y"===this.lockAxis&&(t=this.oldTrans.y,this.tempTrans.y=0),this.gridSize>1&&(e=Math.round(e/this.gridSize)*this.gridSize,t=Math.round(t/this.gridSize)*this.gridSize);let n=`translate(${Math.round(e)}px, ${Math.round(t)}px)`;this.renderer.setStyle(this.el.nativeElement,"transform",n),this.renderer.setStyle(this.el.nativeElement,"-webkit-transform",n),this.renderer.setStyle(this.el.nativeElement,"-ms-transform",n),this.renderer.setStyle(this.el.nativeElement,"-moz-transform",n),this.renderer.setStyle(this.el.nativeElement,"-o-transform",n),this.currTrans.x=e,this.currTrans.y=t}pickUp(){if(this.oldZIndex=this.el.nativeElement.style.zIndex?this.el.nativeElement.style.zIndex:"",window&&(this.oldZIndex=window.getComputedStyle(this.el.nativeElement,null).getPropertyValue("z-index")),this.zIndexMoving&&this.renderer.setStyle(this.el.nativeElement,"z-index",this.zIndexMoving),!this.moving){this.started.emit(this.el.nativeElement),this.moving=!0;const e=this.getDragEl();this.renderer.addClass(e,"ng-dragging"),this.subscribeEvents()}}subscribeEvents(){this.draggingSub=V_(document,"mousemove",{passive:!1}).subscribe(e=>this.onMouseMove(e)),this.draggingSub.add(V_(document,"touchmove",{passive:!1}).subscribe(e=>this.onMouseMove(e))),this.draggingSub.add(V_(document,"mouseup",{passive:!1}).subscribe(()=>this.putBack())),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(V_(document,"mouseleave",{passive:!1}).subscribe(()=>this.putBack())),this.draggingSub.add(V_(document,"touchend",{passive:!1}).subscribe(()=>this.putBack())),this.draggingSub.add(V_(document,"touchcancel",{passive:!1}).subscribe(()=>this.putBack()))}unsubscribeEvents(){this.draggingSub.unsubscribe(),this.draggingSub=null}boundsCheck(){if(this.bounds){let e=this.bounds.getBoundingClientRect(),t=this.el.nativeElement.getBoundingClientRect(),n={top:!!this.outOfBounds.top||e.top<t.top,right:!!this.outOfBounds.right||e.right>t.right,bottom:!!this.outOfBounds.bottom||e.bottom>t.bottom,left:!!this.outOfBounds.left||e.left<t.left};return this.inBounds&&(n.top||(this.tempTrans.y-=(t.top-e.top)/this.scale),n.bottom||(this.tempTrans.y-=(t.bottom-e.bottom)/this.scale),n.right||(this.tempTrans.x-=(t.right-e.right)/this.scale),n.left||(this.tempTrans.x-=(t.left-e.left)/this.scale),this.transform()),n}}getCurrentOffset(){return this.currTrans.value}putBack(){if(this._zIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this._zIndex):this.zIndexMoving&&(this.oldZIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this.oldZIndex):this.el.nativeElement.style.removeProperty("z-index")),this.moving){this.stopped.emit(this.el.nativeElement),this._helperBlock.remove(),this.needTransform&&(Xk.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.transform(),this.needTransform=!1),this.bounds&&this.edge.emit(this.boundsCheck()),this.moving=!1,this.endOffset.emit(this.currTrans.value),this.trackPosition&&this.oldTrans.add(this.tempTrans),this.tempTrans.reset(),this.trackPosition||this.transform();const e=this.getDragEl();this.renderer.removeClass(e,"ng-dragging"),this.unsubscribeEvents()}}checkHandleTarget(e,t){if("BUTTON"===t.tagName)return!1;if(t===e)return!0;for(let n in t.children)if(t.children.hasOwnProperty(n)&&this.checkHandleTarget(e,t.children[n]))return!0;return!1}onMouseDown(e){e instanceof MouseEvent&&2===e.button||(void 0===this.handle||this.checkHandleTarget(e.target||e.srcElement,this.handle))&&!1!==this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this.orignal=Xk.fromEvent(e,this.getDragEl()),this.pickUp())}onMouseMove(e){this.moving&&this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._helperBlock.add(),this.moveTo(Xk.fromEvent(e,this.getDragEl())))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngDraggable",""]],hostBindings:function(e,t){1&e&&Xr("mousedown",function(e){return t.onMouseDown(e)})("touchstart",function(e){return t.onMouseDown(e)})},inputs:{outOfBounds:"outOfBounds",gridSize:"gridSize",inBounds:"inBounds",trackPosition:"trackPosition",scale:"scale",preventDefaultEvent:"preventDefaultEvent",position:"position",lockAxis:"lockAxis",zIndex:"zIndex",ngDraggable:"ngDraggable",bounds:"bounds",handle:"handle",zIndexMoving:"zIndexMoving"},outputs:{started:"started",stopped:"stopped",edge:"edge",movingOffset:"movingOffset",endOffset:"endOffset"},exportAs:["ngDraggable"],features:[dt]}),e})();class eE{constructor(e,t,n,i,s){this.parent=e,this.renderer=t,this.type=n,this.css=i,this.onMouseDown=s;let o=t.createElement("div");t.addClass(o,"ng-resizable-handle"),t.addClass(o,i),"se"===n&&t.addClass(o,"ng-resizable-diagonal"),this.parent&&e.appendChild(o),this._onResize=e=>{s(e,this)},o.addEventListener("mousedown",this._onResize,{passive:!1}),o.addEventListener("touchstart",this._onResize,{passive:!1}),this._handle=o}dispose(){this._handle.removeEventListener("mousedown",this._onResize),this._handle.removeEventListener("touchstart",this._onResize),this.parent&&this.parent.removeChild(this._handle),this._handle=null,this._onResize=null}get el(){return this._handle}}class tE{constructor(e,t){this.width=e,this.height=t}static getCurrent(e){let t=new tE(0,0);if(window){const n=window.getComputedStyle(e);return n&&(t.width=parseInt(n.getPropertyValue("width"),10),t.height=parseInt(n.getPropertyValue("height"),10)),t}return console.error("Not Supported!"),null}static copy(e){return new tE(0,0).set(e)}set(e){return this.width=e.width,this.height=e.height,this}}let nE=(()=>{class e{constructor(e,t){this.el=e,this.renderer=t,this._resizable=!0,this._handles={},this._handleType=[],this._handleResizing=null,this._direction=null,this._directionChanged=null,this._aspectRatio=0,this._containment=null,this._origMousePos=null,this._origSize=null,this._origPos=null,this._currSize=null,this._currPos=null,this._initSize=null,this._initPos=null,this._gridSize=null,this._bounding=null,this._helperBlock=null,this.draggingSub=null,this._adjusted=!1,this.rzHandles="e,s,se",this.rzAspectRatio=!1,this.rzContainment=null,this.rzGrid=null,this.rzMinWidth=null,this.rzMinHeight=null,this.rzMaxWidth=null,this.rzMaxHeight=null,this.preventDefaultEvent=!0,this.rzStart=new yc,this.rzResizing=new yc,this.rzStop=new yc,this._helperBlock=new Kk(e.nativeElement,t)}set ngResizable(e){null!=e&&""!==e&&(this._resizable=!!e,this.updateResizable())}ngOnChanges(e){e.rzHandles&&!e.rzHandles.isFirstChange()&&this.updateResizable(),e.rzAspectRatio&&!e.rzAspectRatio.isFirstChange()&&this.updateAspectRatio(),e.rzContainment&&!e.rzContainment.isFirstChange()&&this.updateContainment()}ngOnInit(){this.updateResizable()}ngOnDestroy(){this.removeHandles(),this._containment=null,this._helperBlock.dispose(),this._helperBlock=null}ngAfterViewInit(){const e=this.el.nativeElement;this._initSize=tE.getCurrent(e),this._initPos=Xk.getCurrent(e),this._currSize=tE.copy(this._initSize),this._currPos=Xk.copy(this._initPos),this.updateAspectRatio(),this.updateContainment()}resetSize(){this._currSize=tE.copy(this._initSize),this._currPos=Xk.copy(this._initPos),this.doResize()}getStatus(){return this._currPos&&this._currSize?{size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x}}:null}updateResizable(){const e=this.el.nativeElement;this.renderer.removeClass(e,"ng-resizable"),this.removeHandles(),this._resizable&&(this.renderer.addClass(e,"ng-resizable"),this.createHandles())}updateAspectRatio(){if("boolean"==typeof this.rzAspectRatio)this._aspectRatio=this.rzAspectRatio&&this._currSize.height?this._currSize.width/this._currSize.height:0;else{let e=Number(this.rzAspectRatio);this._aspectRatio=isNaN(e)?0:e}}updateContainment(){this._containment=this.rzContainment?"string"==typeof this.rzContainment?"parent"===this.rzContainment?this.el.nativeElement.parentElement:document.querySelector(this.rzContainment):this.rzContainment:null}createHandles(){if(!this.rzHandles)return;let e;if("string"==typeof this.rzHandles){e="all"===this.rzHandles?["n","e","s","w","ne","se","nw","sw"]:this.rzHandles.replace(/ /g,"").toLowerCase().split(",");for(let t of e){let e=this.createHandleByType(t,"ng-resizable-"+t);e&&(this._handleType.push(t),this._handles[t]=e)}}else{e=Object.keys(this.rzHandles);for(let t of e){let e=this.createHandleByType(t,this.rzHandles[t]);e&&(this._handleType.push(t),this._handles[t]=e)}}}createHandleByType(e,t){const n=this.el.nativeElement;return e.match(/^(se|sw|ne|nw|n|e|s|w)$/)?new eE(n,this.renderer,e,t,this.onMouseDown.bind(this)):(console.error("Invalid handle type:",e),null)}removeHandles(){for(let e of this._handleType)this._handles[e].dispose();this._handleType=[],this._handles={}}onMouseDown(e,t){e instanceof MouseEvent&&2===e.button||(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._handleResizing||(this._origMousePos=Xk.fromEvent(e),this.startResize(t),this.subscribeEvents()))}subscribeEvents(){this.draggingSub=V_(document,"mousemove",{passive:!1}).subscribe(e=>this.onMouseMove(e)),this.draggingSub.add(V_(document,"touchmove",{passive:!1}).subscribe(e=>this.onMouseMove(e))),this.draggingSub.add(V_(document,"mouseup",{passive:!1}).subscribe(()=>this.onMouseLeave())),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(V_(document,"mouseleave",{passive:!1}).subscribe(()=>this.onMouseLeave())),this.draggingSub.add(V_(document,"touchend",{passive:!1}).subscribe(()=>this.onMouseLeave())),this.draggingSub.add(V_(document,"touchcancel",{passive:!1}).subscribe(()=>this.onMouseLeave()))}unsubscribeEvents(){this.draggingSub.unsubscribe(),this.draggingSub=null}onMouseLeave(){this._handleResizing&&(this.stopResize(),this._origMousePos=null,this.unsubscribeEvents())}onMouseMove(e){this._handleResizing&&this._resizable&&this._origMousePos&&this._origPos&&this._origSize&&(this.resizeTo(Xk.fromEvent(e)),this.onResizing())}startResize(e){const t=this.el.nativeElement;this._origSize=tE.getCurrent(t),this._origPos=Xk.getCurrent(t),this._currSize=tE.copy(this._origSize),this._currPos=Xk.copy(this._origPos),this._containment&&this.getBounding(),this.getGridSize(),this._helperBlock.add(),this._handleResizing=e,this.updateDirection(),this.rzStart.emit(this.getResizingEvent())}stopResize(){this._helperBlock.remove(),this.rzStop.emit(this.getResizingEvent()),this._handleResizing=null,this._direction=null,this._origSize=null,this._origPos=null,this._containment&&this.resetBounding()}onResizing(){this.rzResizing.emit(this.getResizingEvent())}getResizingEvent(){return{host:this.el.nativeElement,handle:this._handleResizing?this._handleResizing.el:null,size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x},direction:Object.assign({},this._directionChanged)}}updateDirection(){this._direction={n:!!this._handleResizing.type.match(/n/),s:!!this._handleResizing.type.match(/s/),w:!!this._handleResizing.type.match(/w/),e:!!this._handleResizing.type.match(/e/)},this._directionChanged=Object.assign({},this._direction),this.rzAspectRatio&&(this._directionChanged.n&&!this._directionChanged.e&&(this._directionChanged.w=!0),this._directionChanged.s&&!this._directionChanged.w&&(this._directionChanged.e=!0),this._directionChanged.e&&!this._directionChanged.n&&(this._directionChanged.s=!0),this._directionChanged.w&&!this._directionChanged.n&&(this._directionChanged.s=!0))}resizeTo(e){e.subtract(this._origMousePos);const t=Math.round(e.x/this._gridSize.x)*this._gridSize.x,n=Math.round(e.y/this._gridSize.y)*this._gridSize.y;this._direction.n?(this._currPos.y=this._origPos.y+n,this._currSize.height=this._origSize.height-n):this._direction.s&&(this._currSize.height=this._origSize.height+n),this._direction.e?this._currSize.width=this._origSize.width+t:this._direction.w&&(this._currSize.width=this._origSize.width-t,this._currPos.x=this._origPos.x+t),this.checkBounds(),this.checkSize(),this.adjustByRatio(),this.doResize()}doResize(){const e=this.el.nativeElement;(!this._direction||this._direction.n||this._direction.s||this._aspectRatio)&&this.renderer.setStyle(e,"height",this._currSize.height+"px"),(!this._direction||this._direction.w||this._direction.e||this._aspectRatio)&&this.renderer.setStyle(e,"width",this._currSize.width+"px"),this.renderer.setStyle(e,"left",this._currPos.x+"px"),this.renderer.setStyle(e,"top",this._currPos.y+"px")}adjustByRatio(){if(this._aspectRatio&&!this._adjusted)if(this._direction.e||this._direction.w){const e=Math.floor(this._currSize.width/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-e),this._currSize.height=e}else{const e=Math.floor(this._aspectRatio*this._currSize.height);this._direction.n&&(this._currPos.x+=this._currSize.width-e),this._currSize.width=e}}checkBounds(){if(this._containment){const e=this._bounding.width-this._bounding.pr-this._bounding.deltaL-this._bounding.translateX-this._currPos.x,t=this._bounding.height-this._bounding.pb-this._bounding.deltaT-this._bounding.translateY-this._currPos.y;if(this._direction.n&&this._currPos.y+this._bounding.translateY<0&&(this._currPos.y=-this._bounding.translateY,this._currSize.height=this._origSize.height+this._origPos.y+this._bounding.translateY),this._direction.w&&this._currPos.x+this._bounding.translateX<0&&(this._currPos.x=-this._bounding.translateX,this._currSize.width=this._origSize.width+this._origPos.x+this._bounding.translateX),this._currSize.width>e&&(this._currSize.width=e),this._currSize.height>t&&(this._currSize.height=t),this._aspectRatio){if(this._adjusted=!1,(this._direction.w||this._direction.e)&&this._currSize.width/this._aspectRatio>=t){const e=Math.floor(t*this._aspectRatio);this._direction.w&&(this._currPos.x+=this._currSize.width-e),this._currSize.width=e,this._currSize.height=t,this._adjusted=!0}if((this._direction.n||this._direction.s)&&this._currSize.height*this._aspectRatio>=e){const t=Math.floor(e/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-t),this._currSize.width=e,this._currSize.height=t,this._adjusted=!0}}}}checkSize(){const e=this.rzMinHeight?this.rzMinHeight:1,t=this.rzMinWidth?this.rzMinWidth:1;this._currSize.height<e&&(this._currSize.height=e,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-e))),this._currSize.width<t&&(this._currSize.width=t,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-t))),this.rzMaxHeight&&this._currSize.height>this.rzMaxHeight&&(this._currSize.height=this.rzMaxHeight,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-this.rzMaxHeight))),this.rzMaxWidth&&this._currSize.width>this.rzMaxWidth&&(this._currSize.width=this.rzMaxWidth,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-this.rzMaxWidth)))}getBounding(){const e=this._containment,t=window.getComputedStyle(e);if(t){let n=t.getPropertyValue("position"),i=window.getComputedStyle(this.el.nativeElement).getPropertyValue("transform").replace(/[^-\d,]/g,"").split(",");this._bounding={},this._bounding.width=e.clientWidth,this._bounding.height=e.clientHeight,this._bounding.pr=parseInt(t.getPropertyValue("padding-right"),10),this._bounding.pb=parseInt(t.getPropertyValue("padding-bottom"),10),this._bounding.deltaL=this.el.nativeElement.offsetLeft-this._currPos.x,this._bounding.deltaT=this.el.nativeElement.offsetTop-this._currPos.y,i.length>=6?(this._bounding.translateX=parseInt(i[4],10),this._bounding.translateY=parseInt(i[5],10)):(this._bounding.translateX=0,this._bounding.translateY=0),this._bounding.position=t.getPropertyValue("position"),"static"===n&&this.renderer.setStyle(e,"position","relative")}}resetBounding(){this._bounding&&"static"===this._bounding.position&&this.renderer.setStyle(this._containment,"position","relative"),this._bounding=null}getGridSize(){this._gridSize={x:1,y:1},this.rzGrid&&("number"==typeof this.rzGrid?this._gridSize={x:this.rzGrid,y:this.rzGrid}:Array.isArray(this.rzGrid)&&(this._gridSize={x:this.rzGrid[0],y:this.rzGrid[1]}))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cl))},e.\u0275dir=Ke({type:e,selectors:[["","ngResizable",""]],inputs:{rzHandles:"rzHandles",rzAspectRatio:"rzAspectRatio",rzContainment:"rzContainment",rzGrid:"rzGrid",rzMinWidth:"rzMinWidth",rzMinHeight:"rzMinHeight",rzMaxWidth:"rzMaxWidth",rzMaxHeight:"rzMaxHeight",preventDefaultEvent:"preventDefaultEvent",ngResizable:"ngResizable"},outputs:{rzStart:"rzStart",rzResizing:"rzResizing",rzStop:"rzStop"},exportAs:["ngResizable"],features:[dt]}),e})(),iE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})();function sE(e,t){return function(n,i){t(n,i,e)}}let oE=(()=>{let e=class{constructor(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=hh(this.platformId)}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}get(e){if(!this.documentIsAccessible||!this.check(e))return"";{e=encodeURIComponent(e);const n=this.getCookieRegExp(e).exec(this.document.cookie);try{return decodeURIComponent(n[1])}catch(t){return n[1]}}}getAll(){if(!this.documentIsAccessible)return{};const e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(t=>{const[n,i]=t.split("=");e[decodeURIComponent(n.replace(/^ /,""))]=decodeURIComponent(i)}),e}set(e,t,n,i,s,o,r="Lax"){if(!this.documentIsAccessible)return;let a=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";n&&(a+="number"==typeof n?"expires="+new Date((new Date).getTime()+1e3*n*60*60*24).toUTCString()+";":"expires="+n.toUTCString()+";"),i&&(a+="path="+i+";"),s&&(a+="domain="+s+";"),!1===o&&"None"===r&&(o=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),o&&(a+="secure;"),a+="sameSite="+r+";",this.document.cookie=a}delete(e,t,n,i,s="Lax"){this.documentIsAccessible&&this.set(e,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),t,n,i,s)}deleteAll(e,t,n,i="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const o in s)s.hasOwnProperty(o)&&this.delete(o,e,t,n,i)}getCookieRegExp(e){const t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}};return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi($c))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi($c))},token:e,providedIn:"root"}),e=function(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}([sE(0,vi(Hd)),sE(1,vi($c))],e),e})();function rE(e){return"string"==typeof e}let aE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),lE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),cE=(()=>{let e=class{transform(e,t=0,n="",i=!0){if(!rE(e))return e;if(e.length>t){if(i)return e.slice(0,t)+n;if(~e.indexOf(" ",t))return e.slice(0,e.indexOf(" ",t))+n}return e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"shorten",type:e,pure:!0}),e})(),dE=(()=>{let e=class{transform(e){return rE(e)?function(e){const[t,...n]=e.split(/\s/g);return[t.toLowerCase().split(/(?=['|-])/g).map(e=>e.indexOf("-")+e.indexOf("'")>-2?e.slice(0,2).toUpperCase()+e.slice(2):e.slice(0,1).toUpperCase()+e.slice(1)).join(""),...n].join(" ")}(e):e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"ucfirst",type:e,pure:!0}),e})(),uE=(()=>{let e=class{constructor(){this.latinMap={\u00c1:"A",\u0102:"A",\u1eae:"A",\u1eb6:"A",\u1eb0:"A",\u1eb2:"A",\u1eb4:"A",\u01cd:"A",\u00c2:"A",\u1ea4:"A",\u1eac:"A",\u1ea6:"A",\u1ea8:"A",\u1eaa:"A",\u00c4:"A",\u01de:"A",\u0226:"A",\u01e0:"A",\u1ea0:"A",\u0200:"A",\u00c0:"A",\u1ea2:"A",\u0202:"A",\u0100:"A",\u0104:"A",\u00c5:"A",\u01fa:"A",\u1e00:"A",\u023a:"A",\u00c3:"A",\ua732:"AA",\u00c6:"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",\u00c7:"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",\u00c9:"E",\u0114:"E",\u011a:"E",\u0228:"E",\u1e1c:"E",\u00ca:"E",\u1ebe:"E",\u1ec6:"E",\u1ec0:"E",\u1ec2:"E",\u1ec4:"E",\u1e18:"E",\u00cb:"E",\u0116:"E",\u1eb8:"E",\u0204:"E",\u00c8:"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",\u00cd:"I",\u012c:"I",\u01cf:"I",\u00ce:"I",\u00cf:"I",\u1e2e:"I",\u0130:"I",\u1eca:"I",\u0208:"I",\u00cc:"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:"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",\u00d1:"N",\u01ca:"NJ",\u00d3:"O",\u014e:"O",\u01d1:"O",\u00d4:"O",\u1ed0:"O",\u1ed8:"O",\u1ed2:"O",\u1ed4:"O",\u1ed6:"O",\u00d6:"O",\u022a:"O",\u022e:"O",\u0230:"O",\u1ecc:"O",\u0150:"O",\u020c:"O",\u00d2:"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",\u00d8:"O",\u01fe:"O",\u00d5:"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",\u1e9e:"SS",\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",\u00da:"U",\u016c:"U",\u01d3:"U",\u00db:"U",\u1e76:"U",\u00dc:"U",\u01d7:"U",\u01d9:"U",\u01db:"U",\u01d5:"U",\u1e72:"U",\u1ee4:"U",\u0170:"U",\u0214:"U",\u00d9:"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",\u00dd:"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",\u00e1:"a",\u0103:"a",\u1eaf:"a",\u1eb7:"a",\u1eb1:"a",\u1eb3:"a",\u1eb5:"a",\u01ce:"a",\u00e2:"a",\u1ea5:"a",\u1ead:"a",\u1ea7:"a",\u1ea9:"a",\u1eab:"a",\u00e4:"a",\u01df:"a",\u0227:"a",\u01e1:"a",\u1ea1:"a",\u0201:"a",\u00e0:"a",\u1ea3:"a",\u0203:"a",\u0101:"a",\u0105:"a",\u1d8f:"a",\u1e9a:"a",\u00e5:"a",\u01fb:"a",\u1e01:"a",\u2c65:"a",\u00e3:"a",\ua733:"aa",\u00e6:"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",\u00e7:"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",\u00e9:"e",\u0115:"e",\u011b:"e",\u0229:"e",\u1e1d:"e",\u00ea:"e",\u1ebf:"e",\u1ec7:"e",\u1ec1:"e",\u1ec3:"e",\u1ec5:"e",\u1e19:"e",\u00eb:"e",\u0117:"e",\u1eb9:"e",\u0205:"e",\u00e8:"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",\u00ed:"i",\u012d:"i",\u01d0:"i",\u00ee:"i",\u00ef:"i",\u1e2f:"i",\u1ecb:"i",\u0209:"i",\u00ec:"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",\u00f1:"n",\u01cc:"nj",\u00f3:"o",\u014f:"o",\u01d2:"o",\u00f4:"o",\u1ed1:"o",\u1ed9:"o",\u1ed3:"o",\u1ed5:"o",\u1ed7:"o",\u00f6:"o",\u022b:"o",\u022f:"o",\u0231:"o",\u1ecd:"o",\u0151:"o",\u020d:"o",\u00f2:"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",\u00f8:"o",\u01ff:"o",\u00f5:"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",\u00df:"ss",\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",\u00fa:"u",\u016d:"u",\u01d4:"u",\u00fb:"u",\u1e77:"u",\u00fc:"u",\u01d8:"u",\u01da:"u",\u01dc:"u",\u01d6:"u",\u1e73:"u",\u1ee5:"u",\u0171:"u",\u0215:"u",\u00f9:"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",\u00fd:"y",\u0177:"y",\u00ff:"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"}}transform(e,t="\\s"){return rE(e)?e.replace(/[^A-Za-z0-9]/g,e=>this.latinMap[e]||e):e}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Je({name:"latinise",type:e,pure:!0}),e})(),hE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),pE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),gE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),fE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})(),mE=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[aE,hE,pE,gE,lE,fE]}),e})();function bE(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const vE=new fA(hA);function yE(e,t=vE){return n=>n.lift(new wE(e,t))}class wE{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new _E(e,this.dueTime,this.scheduler))}}class _E extends g{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(xE,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function xE(e){e.debouncedNext()}function CE(e){return null!=e&&""+e!="false"}function AE(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function SE(e){return Array.isArray(e)?e:[e]}function kE(e){return null==e?"":"string"==typeof e?e:e+"px"}function EE(e){return e instanceof rl?e.nativeElement:e}let PE;try{PE="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(WH){PE=!1}let DE,OE,ME,TE=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?hh(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&&!PE)&&"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.\u0275fac=function(t){return new(t||e)(gi($c))},e.\u0275prov=pe({factory:function(){return new e(gi($c))},token:e,providedIn:"root"}),e})(),IE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();function RE(e){return function(){if(null==DE&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>DE=!0}))}finally{DE=DE||!1}return DE}()?e:!!e.capture}function LE(){if(null==OE){if("object"!=typeof document||!document)return OE=!1,OE;if("scrollBehavior"in document.documentElement.style)OE=!0;else{const e=Element.prototype.scrollTo;OE=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return OE}function FE(e){if(function(){if(null==ME){const e="undefined"!=typeof document?document.head:null;ME=!(!e||!e.createShadowRoot&&!e.attachShadow)}return ME}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}let BE=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),zE=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=EE(e);return new v(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new C,n=this._mutationObserverFactory.create(e=>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}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(gi(BE))},e.\u0275prov=pe({factory:function(){return new e(gi(BE))},token:e,providedIn:"root"}),e})(),VE=(()=>{class e{constructor(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new yc,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=AE(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(yE(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(zE),zr(rl),zr(ad))},e.\u0275dir=Ke({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),NE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BE]}),e})();function HE(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}let jE=0;const UE=new Map;let WE=null,GE=(()=>{class e{constructor(e){this._document=e}describe(e,t,n){if(!this._canBeDescribed(e,t))return;const i=$E(t,n);"string"!=typeof t?(qE(t),UE.set(i,{messageElement:t,referenceCount:0})):UE.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,n){if(!t||!this._isElementNode(e))return;const i=$E(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=UE.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}WE&&0===WE.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");WE&&this._deleteMessagesContainer(),UE.clear()}_createMessageElement(e,t){const n=this._document.createElement("div");qE(n),n.textContent=e,t&&n.setAttribute("role",t),this._createMessagesContainer(),WE.appendChild(n),UE.set($E(e,t),{messageElement:n,referenceCount:0})}_deleteMessageElement(e){const t=UE.get(e),n=t&&t.messageElement;WE&&n&&WE.removeChild(n),UE.delete(e)}_createMessagesContainer(){if(!WE){const e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode&&e.parentNode.removeChild(e),WE=this._document.createElement("div"),WE.id="cdk-describedby-message-container",WE.style.visibility="hidden",WE.classList.add("cdk-visually-hidden"),this._document.body.appendChild(WE)}}_deleteMessagesContainer(){WE&&WE.parentNode&&(WE.parentNode.removeChild(WE),WE=null)}_removeCdkDescribedByReferenceIds(e){const t=HE(e,"aria-describedby").filter(e=>0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const n=UE.get(t);!function(e,t,n){const i=HE(e,t);i.some(e=>e.trim()==n.trim())||(i.push(n.trim()),e.setAttribute(t,i.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(e,t){const n=UE.get(t);n.referenceCount--,function(e,t,n){const i=HE(e,t).filter(e=>e!=n.trim());i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(e,t){const n=HE(e,"aria-describedby"),i=UE.get(t),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})();function $E(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function qE(e){e.id||(e.id="cdk-describedby-message-"+jE++)}class YE{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new C,this._typeaheadSubscription=u.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new C,this.change=new C,e instanceof _c&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ov(e=>this._pressedLetters.push(e)),yE(e),db(()=>this._pressedLetters.length>0),k(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n<t.length+1;n++){const i=(this._activeItemIndex+n)%t.length,s=t[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||bE(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof _c?this._items.toArray():this._items}}class ZE extends YE{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class QE extends YE{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let XE=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(WH){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===JE(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),s=JE(e);return e.hasAttribute("contenteditable")?-1!==s:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==s:"video"===i?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let 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")||KE(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(TE))},token:e,providedIn:"root"}),e})();function KE(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function JE(e){if(!KE(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class eP{constructor(e,t,n,i,s=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const 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,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${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-${e}', use 'cdkFocusRegion${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)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(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),!this._checker.isFocusable(e)){const t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=0;n<t.length;n++){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let n=t.length-1;n>=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const 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}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(lv(1)).subscribe(e)}}let tP=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new eP(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(gi(XE),gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(XE),gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&∈const nP=new Xn("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),iP=new Xn("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let sP=(()=>{class e{constructor(e,t,n,i){this._ngZone=t,this._defaultOptions=i,this._document=n,this._liveElement=e||this._createLiveElement()}announce(e,...t){const n=this._defaultOptions;let i,s;return 1===t.length&&"number"==typeof t[0]?s=t[0]:[i,s]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div");for(let 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.\u0275fac=function(t){return new(t||e)(gi(nP,8),gi(ad),gi(Hd),gi(iP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(nP,8),gi(ad),gi(Hd),gi(iP,8))},token:e,providedIn:"root"}),e})();function oP(e){return 0===e.buttons}function rP(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const aP=new Xn("cdk-focus-monitor-default-options"),lP=RE({passive:!0,capture:!0});let cP=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=oP(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{rP(e)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=dP(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=dP(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=EE(e);if(!this._platform.isBrowser||1!==n.nodeType)return lb(null);const i=FE(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return t&&(s.checkChildren=!0),s.subject;const o={checkChildren:t,subject:new C,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(e){const t=EE(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=EE(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=dP(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===dP(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,lP),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,lP)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,lP),e.addEventListener("mousedown",this._documentMousedownListener,lP),e.addEventListener("touchstart",this._documentTouchstartListener,lP),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,lP),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,lP),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,lP),e.removeEventListener("mousedown",this._documentMousedownListener,lP),e.removeEventListener("touchstart",this._documentTouchstartListener,lP),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(TE),gi(Hd,8),gi(aP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(TE),gi(Hd,8),gi(aP,8))},token:e,providedIn:"root"}),e})();function dP(e){return e.composedPath?e.composedPath()[0]:e.target}let uP=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(gi(TE),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(TE),gi(Hd))},token:e,providedIn:"root"}),e})(),hP=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275fac=function(t){return new(t||e)(gi(uP))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IE,NE]]}),e})();const pP=new Xn("cdk-dir-doc",{providedIn:"root",factory:function(){return fi(Hd)}});let gP=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new yc,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(gi(pP,8))},e.\u0275prov=pe({factory:function(){return new e(gi(pP,8))},token:e,providedIn:"root"}),e})(),fP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})();const mP=new hl("11.2.5");function bP(e,t){if(1&e&&Ur(0,"mat-pseudo-checkbox",4),2&e){const e=na();Vr("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function vP(e,t){if(1&e&&(Hr(0,"span",5),Da(1),jr()),2&e){const e=na();no(1),Ma("(",e.group.label,")")}}const yP=["*"];let wP=(()=>{class 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})(),_P=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const xP=new hl("11.2.5"),CP=new Xn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let AP,SP=(()=>{class e{constructor(e,t,n){this._hasDoneGlobalChecks=!1,this._document=n,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return _d()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);const 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)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&xP.full!==mP.full&&console.warn("The Angular Material version ("+xP.full+") does not match the Angular CDK version ("+mP.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275fac=function(t){return new(t||e)(gi(uP),gi(CP,8),gi(Hd))},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[fP],fP]}),e})();function kP(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e)}}}function EP(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}}function PP(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=CE(e)}}}function DP(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?AE(e):this.defaultTabIndex}}}function OP(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new C}updateErrorState(){const 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())}}}function MP(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new v(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}try{AP="undefined"!=typeof Intl}catch(WH){AP=!1}let TP=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})(),IP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})();class RP{constructor(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const LP={enterDuration:450,exitDuration:400},FP=RE({passive:!0}),BP=["mousedown","touchstart"],zP=["mouseup","mouseleave","touchend","touchcancel"];class VP{constructor(e,t,n,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=EE(n))}fadeInRipple(e,t,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},LP),n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const o=n.radius||function(e,t,n){const i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),s=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+s*s)}(e,t,i),r=e-i.left,a=t-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=r-o+"px",c.style.top=a-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new RP(this,c,n);return d.state=0,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,n.persistent||e&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const n=e.element,i=Object.assign(Object.assign({},LP),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=EE(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(BP))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(zP),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=oP(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!rP(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,FP)})})}_removeTriggerEvents(){this._triggerElement&&(BP.forEach(e=>{this._triggerElement.removeEventListener(e,this,FP)}),this._pointerUpEventsRegistered&&zP.forEach(e=>{this._triggerElement.removeEventListener(e,this,FP)}))}}const NP=new Xn("mat-ripple-global-options");let HP=(()=>{class e{constructor(e,t,n,i,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new VP(this,t,e,n)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,n){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TE),zr(NP,8),zr(_f,8))},e.\u0275dir=Ke({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&ma("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),jP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP,IE],SP]}),e})(),UP=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&ma("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),WP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP]]}),e})();const GP=new Xn("MAT_OPTION_PARENT_COMPONENT");class $P{}const qP=kP($P);let YP=0,ZP=(()=>{class e extends qP{constructor(e){var t;super(),this._labelId="mat-optgroup-label-"+YP++,this._inert=null!==(t=null==e?void 0:e.inertGroups)&&void 0!==t&&t}}return e.\u0275fac=function(t){return new(t||e)(zr(GP,8))},e.\u0275dir=Ke({type:e,inputs:{label:"label"},features:[vr]}),e})();const QP=new Xn("MatOptgroup");let XP=0;class KP{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let JP=(()=>{class e{constructor(e,t,n,i){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+XP++,this.onSelectionChange=new yc,this._stateChanges=new C}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=CE(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){13!==e.keyCode&&32!==e.keyCode||bE(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new KP(this,e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(void 0),zr(ZP))},e.\u0275dir=Ke({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),eD=(()=>{class e extends JP{constructor(e,t,n,i){super(e,t,n,i)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(GP,8),zr(QP,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(Fa("id",t.id),Ir("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),ma("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[vr],ngContentSelectors:yP,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(sa(),Fr(0,bP,1,2,"mat-pseudo-checkbox",0),Hr(1,"span",1),oa(2),jr(),Fr(3,vP,2,1,"span",2),Ur(4,"div",3)),2&e&&(Vr("ngIf",t.multiple),no(3),Vr("ngIf",t.group&&t.group._inert),no(1),Vr("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[Wu,HP,UP],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function tD(e,t,n){if(n.length){let i=t.toArray(),s=n.toArray(),o=0;for(let t=0;t<e+1;t++)i[t].group&&i[t].group===s[o]&&o++;return o}return 0}let nD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,uh,SP,WP]]}),e})();class iD extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}class sD extends fA{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,n){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw n}}}const oD=new sD(iD);let rD=1;const aD=(()=>Promise.resolve())(),lD={};function cD(e){return e in lD&&(delete lD[e],!0)}const dD={setImmediate(e){const t=rD++;return lD[t]=!0,aD.then(()=>cD(t)&&e()),t},clearImmediate(e){cD(e)}};class uD extends hA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=dD.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(dD.clearImmediate(t),e.scheduled=void 0)}}class hD extends fA{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,s=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,n){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw n}}}const pD=new hD(uD);class gD{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new fD(e,this.durationSelector))}}class fD extends z{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=V(n,new B(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function mD(e){return!l(e)&&e-parseFloat(e)+1>=0}function bD(e=0,t,n){let i=-1;return mD(t)?i=Number(t)<1?1:Number(t):S(t)&&(n=t),S(n)||(n=vE),new v(t=>{const s=mD(e)?e:+e-n.now();return n.schedule(vD,s,{index:0,period:i,subscriber:t})})}function vD(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function yD(e,t=vE){return n=()=>bD(e,t),function(e){return e.lift(new gD(n))};var n}function wD(e){return t=>t.lift(new _D(e))}class _D{constructor(e){this.notifier=e}call(e,t){const n=new xD(e),i=V(this.notifier,new B(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class xD extends z{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class CD{constructor(e=!1,t,n=!0){this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new C,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}let AD=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new C,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new v(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(yD(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):lb()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(db(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=EE(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>V_(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(TE),gi(Hd,8))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(TE),gi(Hd,8))},token:e,providedIn:"root"}),e})(),SD=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new C,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(yD(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(gi(TE),gi(ad),gi(Hd,8))},e.\u0275prov=pe({factory:function(){return new e(gi(TE),gi(ad),gi(Hd,8))},token:e,providedIn:"root"}),e})(),kD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),ED=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[fP,IE,kD],fP,kD]}),e})();class PD{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new DD(e,this.predicate,this.inclusive))}}class DD extends g{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}const OD=LE();class MD{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=kE(-this._previousScrollPosition.left),e.style.top=kE(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),OD&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),OD&&(t.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class TD{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ID{enable(){}disable(){}attach(){}}function RD(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function LD(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class FD{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();RD(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let BD=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new ID,this.close=e=>new TD(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new MD(this._viewportRuler,this._document),this.reposition=e=>new FD(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(gi(AD),gi(SD),gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(AD),gi(SD),gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();class zD{constructor(e){if(this.scrollStrategy=new ID,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class VD{constructor(e,t,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class ND{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let HD=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})(),jD=(()=>{class e extends HD{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd))},token:e,providedIn:"root"}),e})(),UD=(()=>{class e extends HD{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(t))break;s._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(TE))},token:e,providedIn:"root"}),e})();const WD=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let GD=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||WD){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),WD?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(TE))},token:e,providedIn:"root"}),e})();class $D{constructor(e,t,n,i,s,o,r,a,l){this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=o,this._document=r,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new C,this._attachments=new C,this._detachments=new C,this._locationChanges=u.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new C,this._outsidePointerEvents=new C,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(lv(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const 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._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),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()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=kE(this._config.width),e.height=kE(this._config.height),e.minWidth=kE(this._config.minWidth),e.minHeight=kE(this._config.minHeight),e.maxWidth=kE(this._config.maxWidth),e.maxHeight=kE(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;SE(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(wD(G(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const qD=/([A-Za-z%]+)$/;class YD{constructor(e,t,n,i,s){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=s,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 C,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){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(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let s;for(let o of this._preferredPositions){let r=this._getOriginPoint(e,o),a=this._getOverlayPoint(r,t,o),l=this._getOverlayFit(a,t,n,o);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,r);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:o,origin:r,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(r,o)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:r,position:o,overlayRect:t})}if(i.length){let e=null,t=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>t&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ZD(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)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;n="start"==t.originX?i:s}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,s;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,s="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+s}}_getOverlayFit(e,t,n,i){const s=XD(t);let{x:o,y:r}=e,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(o+=a),l&&(r+=l);let c=0-r,d=r+s.height-n.height,u=this._subtractOverflows(s.width,0-o,o+s.width-n.width),h=this._subtractOverflows(s.height,c,d),p=u*h;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:h===s.height,fitsInViewportHorizontally:u==s.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,s=n.right-t.x,o=QD(this._overlayRef.getConfig().minHeight),r=QD(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=r&&r<=s;return(e.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=XD(t),s=this._viewportRect,o=Math.max(e.x+i.width-s.width,0),r=Math.max(e.y+i.height-s.height,0),a=Math.max(s.top-n.top-e.y,0),l=Math.max(s.left-n.left-e.x,0);let c=0,d=0;return c=i.width<=s.width?l||-o:e.x<this._viewportMargin?s.left-n.left-e.x:0,d=i.height<=s.height?a||-r:e.y<this._viewportMargin?s.top-n.top-e.y:0,this._previousPushAmount={x:c,y:d},{x:e.x+c,y:e.y+d}}_applyPosition(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){const t=this._getScrollVisibility(),n=new ND(e,t);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=e.overlayY;n="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(e,t){const n=this._viewportRect,i=this._isRtl();let s,o,r,a,l,c;if("top"===t.overlayY)o=e.y,s=n.height-o+this._viewportMargin;else if("bottom"===t.overlayY)r=n.height-e.y+2*this._viewportMargin,s=n.height-r+this._viewportMargin;else{const t=Math.min(n.bottom-e.y+n.top,e.y),i=this._lastBoundingBoxSize.height;s=2*t,o=e.y-t,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)c=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)l=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-i/2)}return{top:o,left:l,bottom:r,right:c,width:a,height:s}}_setBoundingBoxStyles(e,t){const 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));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=kE(n.height),i.top=kE(n.top),i.bottom=kE(n.bottom),i.width=kE(n.width),i.left=kE(n.left),i.right=kE(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",e&&(i.maxHeight=kE(e)),s&&(i.maxWidth=kE(s))}this._lastBoundingBoxSize=n,ZD(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ZD(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ZD(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();ZD(n,this._getExactOverlayY(t,e,i)),ZD(n,this._getExactOverlayX(t,e,i))}else n.position="static";let r="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(r+=`translateX(${a}px) `),l&&(r+=`translateY(${l}px)`),n.transform=r.trim(),o.maxHeight&&(i?n.maxHeight=kE(o.maxHeight):s&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=kE(o.maxWidth):s&&(n.maxWidth="")),ZD(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=kE(s.y),i}_getExactOverlayX(e,t,n){let i,s={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":s.left=kE(o.x),s}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:LD(e,n),isOriginOutsideView:RD(e,n),isOverlayClipped:LD(t,n),isOverlayOutsideView:RD(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const 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}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&SE(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof rl)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const 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 ZD(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function QD(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(qD);return n&&"px"!==n?null:parseFloat(t)}return e||null}function XD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class KD{constructor(e,t,n,i,s,o,r){this._preferredPositions=[],this._positionStrategy=new YD(n,i,s,o,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const s=new VD(e,t,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class JD{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const 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}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:r}=n,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==s&&"100vh"!==s||r&&"100%"!==r&&"100vh"!==r);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"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=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const 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}}let eO=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new JD}connectedTo(e,t,n){return new KD(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new YD(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(gi(SD),gi(Hd),gi(TE),gi(GD))},e.\u0275prov=pe({factory:function(){return new e(gi(SD),gi(Hd),gi(TE),gi(GD))},token:e,providedIn:"root"}),e})(),tO=0,nO=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=o,this._ngZone=r,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),s=new zD(e);return s.direction=s.direction||this._directionality.value,new $D(i,t,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+tO++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Pd)),new nS(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(gi(BD),gi(GD),gi(nl),gi(eO),gi(jD),gi(mr),gi(ad),gi(Hd),gi(gP),gi(nu),gi(UD))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})();const iO=[{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"}],sO=new Xn("cdk-connected-overlay-scroll-strategy");let oO=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275dir=Ke({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),rO=(()=>{class e{constructor(e,t,n,i,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.EMPTY,this._attachSubscription=u.EMPTY,this._detachSubscription=u.EMPTY,this._positionSubscription=u.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new yc,this.positionChange=new yc,this.attach=new yc,this.detach=new yc,this.overlayKeydown=new yc,this.overlayOutsideClick=new yc,this._templatePortal=new JA(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=CE(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=CE(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=CE(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=CE(e)}get push(){return this._push}set push(e){this._push=CE(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=iO);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),27!==e.keyCode||this.disableClose||bE(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new zD({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}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new PD(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(zl),zr(Gl),zr(sO),zr(gP,8))},e.\u0275dir=Ke({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[dt]}),e})();const aO={provide:sO,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let lO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[nO,aO],imports:[[fP,sS,ED],ED]}),e})();const cO=["underline"],dO=["connectionContainer"],uO=["inputContainer"],hO=["label"];function pO(e,t){1&e&&(Wr(0),Hr(1,"div",14),Ur(2,"div",15),Ur(3,"div",16),Ur(4,"div",17),jr(),Hr(5,"div",18),Ur(6,"div",15),Ur(7,"div",16),Ur(8,"div",17),jr(),Gr())}function gO(e,t){1&e&&(Hr(0,"div",19),oa(1,1),jr())}function fO(e,t){if(1&e&&(Wr(0),oa(1,2),Hr(2,"span"),Da(3),jr(),Gr()),2&e){const e=na(2);no(3),Oa(e._control.placeholder)}}function mO(e,t){1&e&&oa(0,3,["*ngSwitchCase","true"])}function bO(e,t){1&e&&(Hr(0,"span",23),Da(1," *"),jr())}function vO(e,t){if(1&e){const e=qr();Hr(0,"label",20,21),Xr("cdkObserveContent",function(){return Lt(e),na().updateOutlineGap()}),Fr(2,fO,4,1,"ng-container",12),Fr(3,mO,1,0,"ng-content",12),Fr(4,bO,2,0,"span",22),jr()}if(2&e){const e=na();ma("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Vr("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Ir("for",e._control.id)("aria-owns",e._control.id),no(2),Vr("ngSwitchCase",!1),no(1),Vr("ngSwitchCase",!0),no(1),Vr("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function yO(e,t){1&e&&(Hr(0,"div",24),oa(1,4),jr())}function wO(e,t){if(1&e&&(Hr(0,"div",25,26),Ur(2,"span",27),jr()),2&e){const e=na();no(2),ma("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function _O(e,t){1&e&&(Hr(0,"div"),oa(1,5),jr()),2&e&&Vr("@transitionMessages",na()._subscriptAnimationState)}function xO(e,t){if(1&e&&(Hr(0,"div",31),Da(1),jr()),2&e){const e=na(2);Vr("id",e._hintLabelId),no(1),Oa(e.hintLabel)}}function CO(e,t){if(1&e&&(Hr(0,"div",28),Fr(1,xO,2,2,"div",29),oa(2,6),Ur(3,"div",30),oa(4,7),jr()),2&e){const e=na();Vr("@transitionMessages",e._subscriptAnimationState),no(1),Vr("ngIf",e.hintLabel)}}const AO=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],SO=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],kO=new Xn("MatError"),EO={transitionMessages:Jh("transitionMessages",[ip("enter",np({opacity:1,transform:"translateY(0%)"})),op("void => enter",[np({opacity:0,transform:"translateY(-5px)"}),ep("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let PO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e}),e})();const DO=new Xn("MatHint");let OO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["mat-label"]]}),e})(),MO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["mat-placeholder"]]}),e})();const TO=new Xn("MatPrefix"),IO=new Xn("MatSuffix");let RO=0;class LO{constructor(e){this._elementRef=e}}const FO=EP(LO,"primary"),BO=new Xn("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zO=new Xn("MatFormField");let VO=(()=>{class e extends FO{constructor(e,t,n,i,s,o,r,a){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=s,this._platform=o,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new C,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+RO++,this._labelId="mat-form-field-label-"+RO++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=CE(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(uv(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(wD(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(wD(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),G(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(uv(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(uv(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(wD(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,V_(this._label.nativeElement,"transitionend").pipe(lv(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,n=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(s),r=e.children,a=this._getStartEnd(r[0].getBoundingClientRect());let l=0;for(let e=0;e<r.length;e++)l+=r[e].offsetWidth;t=Math.abs(a-o)-5,n=l>0?.75*l+10:0}for(let r=0;r<s.length;r++)s[r].style.width=t+"px";for(let r=0;r<o.length;r++)o[r].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(rl),zr(gP,8),zr(BO,8),zr(TE),zr(ad),zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,PO,1),Ic(n,PO,3),Ic(n,OO,1),Ic(n,OO,3),Ic(n,MO,1),Ic(n,kO,1),Ic(n,DO,1),Ic(n,TO,1),Ic(n,IO,1)),2&e){let e;Mc(e=Rc())&&(t._controlNonStatic=e.first),Mc(e=Rc())&&(t._controlStatic=e.first),Mc(e=Rc())&&(t._labelChildNonStatic=e.first),Mc(e=Rc())&&(t._labelChildStatic=e.first),Mc(e=Rc())&&(t._placeholderChild=e.first),Mc(e=Rc())&&(t._errorChildren=e),Mc(e=Rc())&&(t._hintChildren=e),Mc(e=Rc())&&(t._prefixChildren=e),Mc(e=Rc())&&(t._suffixChildren=e)}},viewQuery:function(e,t){if(1&e&&(Tc(cO,1),Tc(dO,3),Tc(uO,1),Tc(hO,1)),2&e){let e;Mc(e=Rc())&&(t.underlineRef=e.first),Mc(e=Rc())&&(t._connectionContainerRef=e.first),Mc(e=Rc())&&(t._inputContainerRef=e.first),Mc(e=Rc())&&(t._label=e.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&ma("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ja([{provide:zO,useExisting:e}]),vr],ngContentSelectors:SO,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(sa(AO),Hr(0,"div",0),Hr(1,"div",1,2),Xr("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),Fr(3,pO,9,0,"ng-container",3),Fr(4,gO,2,0,"div",4),Hr(5,"div",5,6),oa(7),Hr(8,"span",7),Fr(9,vO,5,16,"label",8),jr(),jr(),Fr(10,yO,2,0,"div",9),jr(),Fr(11,wO,3,4,"div",10),Hr(12,"div",11),Fr(13,_O,2,1,"div",12),Fr(14,CO,5,2,"div",13),jr(),jr()),2&e&&(no(3),Vr("ngIf","outline"==t.appearance),no(1),Vr("ngIf",t._prefixChildren.length),no(5),Vr("ngIf",t._hasFloatingLabel()),no(1),Vr("ngIf",t._suffixChildren.length),no(1),Vr("ngIf","outline"!=t.appearance),no(1),Vr("ngSwitch",t._getDisplayedMessages()),no(1),Vr("ngSwitchCase","error"),no(1),Vr("ngSwitchCase","hint"))},directives:[Wu,Yu,Zu,VE],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[EO.transitionMessages]},changeDetection:0}),e})(),NO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,NE],SP]}),e})();function HO(e,t=vE){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new jO(i,t))}class jO{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new UO(e,this.delay,this.scheduler))}}class UO extends g{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(UO.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new WO(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(wA.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(wA.createComplete()),this.unsubscribe()}}class WO{constructor(e,t){this.time=e,this.notification=t}}const GO={provide:new Xn("mat-autocomplete-scroll-strategy"),deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let $O=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[GO],imports:[[lO,nD,SP,uh],kD,nD,SP]}),e})(),qO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[hP,SP],SP]}),e})();class YO{constructor(e){this.total=e}call(e,t){return t.subscribe(new ZO(e,this.total))}}class ZO extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const QO=new Set;let XO,KO=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):JO}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!QO.has(e))try{XO||(XO=document.createElement("style"),XO.setAttribute("type","text/css"),document.head.appendChild(XO)),XO.sheet&&(XO.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),QO.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(gi(TE))},e.\u0275prov=pe({factory:function(){return new e(gi(TE))},token:e,providedIn:"root"}),e})();function JO(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let eM=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new C}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return tM(SE(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=Qb(tM(SE(e)).map(e=>this._registerQuery(e).observable));return t=ev(t.pipe(lv(1)),t.pipe(e=>e.lift(new YO(1)),yE(0))),t.pipe(k(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:n})=>{t.matches=t.matches||e,t.breakpoints[n]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),n={observable:new v(e=>{const n=t=>this._zone.run(()=>e.next(t));return t.addListener(n),()=>{t.removeListener(n)}}).pipe(uv(t),k(({matches:t})=>({query:e,matches:t})),wD(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(gi(KO),gi(ad))},e.\u0275prov=pe({factory:function(){return new e(gi(KO),gi(ad))},token:e,providedIn:"root"}),e})();function tM(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function nM(e,t){}const iM=new Xn("MatBottomSheetData");class sM{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}const oM={bottomSheetState:Jh("state",[ip("void, hidden",np({transform:"translateY(100%)"})),ip("visible",np({transform:"translateY(0%)"})),op("visible => void, visible => hidden",ep(`${_P.COMPLEX} ${wP.ACCELERATION_CURVE}`)),op("void => visible",ep(`${_P.EXITING} ${wP.DECELERATION_CURVE}`))])};let rM=(()=>{class e extends tS{constructor(e,t,n,i,s,o){super(),this._elementRef=e,this._changeDetectorRef=t,this._focusTrapFactory=n,this.bottomSheetConfig=o,this._animationState="void",this._animationStateChanged=new yc,this._elementFocusedBeforeOpened=null,this.attachDomPortal=e=>(this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(e)),this._document=s,this._breakpointSubscription=i.observe(["(min-width: 960px) and (max-width: 1279.98px)","(min-width: 1280px) and (max-width: 1919.98px)","(min-width: 1920px)"]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",i.isMatched("(min-width: 960px) and (max-width: 1279.98px)")),this._toggleClass("mat-bottom-sheet-container-large",i.isMatched("(min-width: 1280px) and (max-width: 1919.98px)")),this._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched("(min-width: 1920px)"))})}attachComponentPortal(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){"hidden"===e.toState?this._restoreFocus():"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_toggleClass(e,t){const n=this._elementRef.nativeElement.classList;t?n.add(e):n.remove(e)}_validatePortalAttached(){this._portalOutlet.hasAttached()}_setPanelClass(){const e=this._elementRef.nativeElement,t=this.bottomSheetConfig.panelClass;Array.isArray(t)?t.forEach(t=>e.classList.add(t)):t&&e.classList.add(t)}_trapFocus(){const e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const t=this._getActiveElement();t===e||e.contains(t)||e.focus()}}_restoreFocus(){const e=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&e&&"function"==typeof e.focus){const t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._elementFocusedBeforeOpened=this._getActiveElement(),this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus())}_getActiveElement(){var e;const t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Tl),zr(tP),zr(eM),zr(Hd,8),zr(sM))},e.\u0275cmp=$e({type:e,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(e,t){if(1&e&&Tc(iS,3),2&e){let e;Mc(e=Rc())&&(t._portalOutlet=e.first)}},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(e,t){1&e&&Kr("@state.start",function(e){return t._onAnimationStart(e)})("@state.done",function(e){return t._onAnimationDone(e)}),2&e&&(Ir("aria-label",null==t.bottomSheetConfig?null:t.bottomSheetConfig.ariaLabel),Ba("@state",t._animationState))},features:[vr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fr(0,nM,0,0,"ng-template",0)},directives:[iS],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[oM.bottomSheetState]}}),e})(),aM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[lO,SP,sS],SP]}),e})();class lM{constructor(e,t){this._overlayRef=t,this._afterDismissed=new C,this._afterOpened=new C,this.containerInstance=e,this.disableClose=e.bottomSheetConfig.disableClose,e._animationStateChanged.pipe(db(e=>"done"===e.phaseName&&"visible"===e.toState),lv(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(db(e=>"done"===e.phaseName&&"hidden"===e.toState),lv(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),t.dispose()}),t.detachments().pipe(lv(1)).subscribe(()=>{this._afterDismissed.next(this._result),this._afterDismissed.complete()}),G(t.backdropClick(),t.keydownEvents().pipe(db(e=>27===e.keyCode))).subscribe(e=>{this.disableClose||"keydown"===e.type&&bE(e)||(e.preventDefault(),this.dismiss())})}dismiss(e){this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(db(e=>"start"===e.phaseName),lv(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100),this._overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit())}afterDismissed(){return this._afterDismissed}afterOpened(){return this._afterOpened}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}}const cM=new Xn("mat-bottom-sheet-default-options");let dM=(()=>{class e{constructor(e,t,n,i){this._overlay=e,this._injector=t,this._parentBottomSheet=n,this._defaultOptions=i,this._bottomSheetRefAtThisLevel=null}get _openedBottomSheetRef(){const e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}open(e,t){const n=function(e,t){return Object.assign(Object.assign({},e),t)}(this._defaultOptions||new sM,t),i=this._createOverlay(n),s=this._attachContainer(i,n),o=new lM(s,i);if(e instanceof zl)s.attachTemplatePortal(new JA(e,null,{$implicit:n.data,bottomSheetRef:o}));else{const t=new KA(e,void 0,this._createInjector(n,o)),i=s.attachComponentPortal(t);o.instance=i.instance}return o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef==o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}_attachContainer(e,t){const n=mr.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:sM,useValue:t}]}),i=new KA(rM,t.viewContainerRef,n);return e.attach(i).instance}_createOverlay(e){const t=new zD({direction:e.direction,hasBackdrop:e.hasBackdrop,disposeOnNavigation:e.closeOnNavigation,maxWidth:"100%",scrollStrategy:e.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return e.backdropClass&&(t.backdropClass=e.backdropClass),this._overlay.create(t)}_createInjector(e,t){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:lM,useValue:t},{provide:iM,useValue:e.data}];return!e.direction||n&&n.get(gP,null)||i.push({provide:gP,useValue:{value:e.direction,change:lb()}}),mr.create({parent:n||this._injector,providers:i})}}return e.\u0275fac=function(t){return new(t||e)(gi(nO),gi(mr),gi(e,12),gi(cM,8))},e.\u0275prov=pe({factory:function(){return new e(gi(nO),gi(er),gi(e,12),gi(cM,8))},token:e,providedIn:aM}),e})();const uM=["mat-button",""],hM=["*"],pM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class gM{constructor(e){this._elementRef=e}}const fM=EP(kP(PP(gM)));let mM=(()=>{class e extends fM{constructor(e,t,n){super(e),this._focusMonitor=t,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of pM)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(cP),zr(_f,8))},e.\u0275cmp=$e({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){if(1&e&&Tc(HP,1),2&e){let e;Mc(e=Rc())&&(t.ripple=e.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Ir("disabled",t.disabled||null),ma("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[vr],attrs:uM,ngContentSelectors:hM,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(sa(),Hr(0,"span",0),oa(1),jr(),Ur(2,"span",1),Ur(3,"span",2)),2&e&&(no(2),ma("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Vr("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[HP],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e})(),bM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,SP],SP]}),e})(),vM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),yM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),wM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[jP,SP,NE,yM],SP,yM]}),e})();function _M(e,t){}class xM{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const CM={dialogContainer:Jh("dialogContainer",[ip("void, exit",np({opacity:0,transform:"scale(0.7)"})),ip("enter",np({transform:"none"})),op("* => enter",ep("150ms cubic-bezier(0, 0, 0.2, 1)",np({transform:"none",opacity:1}))),op("* => void, * => exit",ep("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",np({opacity:0})))])};let AM=(()=>{class e extends tS{constructor(e,t,n,i,s,o){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new yc,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}_getActiveElement(){var e;const t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(tP),zr(Tl),zr(Hd,8),zr(xM),zr(cP))},e.\u0275dir=Ke({type:e,viewQuery:function(e,t){if(1&e&&Tc(iS,3),2&e){let e;Mc(e=Rc())&&(t._portalOutlet=e.first)}},features:[vr]}),e})(),SM=(()=>{class e extends AM{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return kM(t||e)},e.\u0275cmp=$e({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Kr("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(Fa("id",t._id),Ir("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Ba("@dialogContainer",t._state))},features:[vr],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Fr(0,_M,0,0,"ng-template",0)},directives:[iS],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[CM.dialogContainer]}}),e})();const kM=$n(SM);let EM=0;class PM{constructor(e,t,n="mat-dialog-"+EM++){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new C,this._afterClosed=new C,this._beforeClosed=new C,this._state=0,t._id=n,t._animationStateChanged.pipe(db(e=>"opened"===e.state),lv(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(db(e=>"closed"===e.state),lv(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(db(e=>27===e.keyCode&&!this.disableClose&&!bE(e))).subscribe(e=>{e.preventDefault(),DM(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():DM(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(db(e=>"closing"===e.state),lv(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let 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}updateSize(e="",t=""){return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function DM(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}const OM=new Xn("MatDialogData"),MM=new Xn("mat-dialog-default-options"),TM=new Xn("mat-dialog-scroll-strategy"),IM={provide:TM,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.block()}};let RM=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=r,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new C,this._afterOpenedAtThisLevel=new C,this._ariaHiddenElements=new Map,this.afterAllClosed=iv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(uv(void 0))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new xM)).id&&this.getDialogById(t.id);const n=this._createOverlay(t),i=this._attachDialogContainer(n,t),s=this._attachDialogContent(e,i,n,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new zD({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}_attachDialogContainer(e,t){const n=mr.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:xM,useValue:t}]}),i=new KA(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,n,i){const s=new this._dialogRefConstructor(n,t,i.id);if(e instanceof zl)t.attachTemplatePortal(new JA(e,null,{$implicit:i.data,dialogRef:s}));else{const n=this._createInjector(i,s,t),o=t.attachComponentPortal(new KA(e,i.viewContainerRef,n));s.componentInstance=o.instance}return s.updateSize(i.width,i.height).updatePosition(i.position),s}_createInjector(e,t,n){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(gP,null)||s.push({provide:gP,useValue:{value:e.direction,change:lb()}}),mr.create({parent:i||this._injector,providers:s})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let n=t.length-1;n>-1;n--){let i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(mr),zr(void 0),zr(void 0),zr(GD),zr(void 0),zr(Jn),zr(Jn),zr(Xn))},e.\u0275dir=Ke({type:e}),e})(),LM=(()=>{class e extends RM{constructor(e,t,n,i,s,o,r){super(e,t,i,o,r,s,PM,SM,OM)}}return e.\u0275fac=function(t){return new(t||e)(gi(nO),gi(mr),gi(nu,8),gi(MM,8),gi(TM),gi(e,12),gi(GD))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),FM=0,BM=(()=>{class e{constructor(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+FM++}ngOnInit(){this._dialogRef||(this._dialogRef=function(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(e=>e.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(zr(PM,8),zr(rl),zr(LM))},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Fa("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),zM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),VM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})(),NM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[LM,IM],imports:[[lO,sS,SP],SP]}),e})(),HM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),jM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,HM,sS]]}),e})();const UM=["*"];function WM(e){return Error(`Unable to find icon with the name "${e}"`)}function GM(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function $M(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class qM{constructor(e,t,n){this.url=e,this.svgText=t,this.options=n}}let YM=(()=>{class e{constructor(e,t,n,i){this._httpClient=e,this._sanitizer=t,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}addSvgIconLiteral(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}addSvgIconInNamespace(e,t,n,i){return this._addSvgIconConfig(e,t,new qM(n,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,n,i){const s=this._sanitizer.sanitize(is.HTML,n);if(!s)throw $M(n);return this._addSvgIconConfig(e,t,new qM("",s,i))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,n){return this._addSvgIconSetConfig(e,new qM(t,null,n))}addSvgIconSetLiteralInNamespace(e,t,n){const i=this._sanitizer.sanitize(is.HTML,t);if(!i)throw $M(t);return this._addSvgIconSetConfig(e,new qM("",i,n))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(is.RESOURCE_URL,e);if(!t)throw GM(e);const n=this._cachedIconsByUrl.get(t);return n?lb(ZM(n)):this._loadSvgIconFromConfig(new qM(e,null)).pipe(Ov(e=>this._cachedIconsByUrl.set(t,e)),k(e=>ZM(e)))}getNamedSvgIcon(e,t=""){const n=QM(t,e);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):vA(WM(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?lb(ZM(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(e=>ZM(e)))}_getSvgFromIconSetConfigs(e,t){const n=this._extractIconWithNameFromAnySet(e,t);return n?lb(n):Af(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(fv(t=>{const n=this._sanitizer.sanitize(is.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${t.message}`)),lb(null)})))).pipe(k(()=>{const n=this._extractIconWithNameFromAnySet(e,t);if(!n)throw WM(e);return n}))}_extractIconWithNameFromAnySet(e,t){for(let n=t.length-1;n>=0;n--){const i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(t,e,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ov(t=>e.svgText=t),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?lb(null):this._fetchIcon(e).pipe(Ov(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,n){const i=e.querySelector(`[id="${t}"]`);if(!i)return null;const s=i.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,n);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),n);const o=this._svgElementFromString("<svg></svg>");return o.appendChild(s),this._setSvgAttributes(o,n)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(e){const t=this._svgElementFromString("<svg></svg>"),n=e.attributes;for(let i=0;i<n.length;i++){const{name:e,value:s}=n[i];"id"!==e&&t.setAttribute(e,s)}for(let i=0;i<e.childNodes.length;i++)e.childNodes[i].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[i].cloneNode(!0));return t}_setSvgAttributes(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}_fetchIcon(e){var t;const{url:n,options:i}=e,s=null!==(t=null==i?void 0:i.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(is.RESOURCE_URL,n);if(!o)throw GM(n);const r=this._inProgressUrlFetches.get(o);if(r)return r;const a=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe(Iv(()=>this._inProgressUrlFetches.delete(o)),ee());return this._inProgressUrlFetches.set(o,a),a}_addSvgIconConfig(e,t,n){return this._svgIconConfigs.set(QM(e,t),n),this}_addSvgIconSetConfig(e,t){const n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](t,e);if(s)return(n=s).url&&n.options?new qM(s.url,null,s.options):new qM(s,null)}var n}}return e.\u0275fac=function(t){return new(t||e)(gi(Db,8),gi(qh),gi(Hd,8),gi(ds))},e.\u0275prov=pe({factory:function(){return new e(gi(Db,8),gi(qh),gi(Hd,8),gi(ds))},token:e,providedIn:"root"}),e})();function ZM(e){return e.cloneNode(!0)}function QM(e,t){return e+":"+t}class XM{constructor(e){this._elementRef=e}}const KM=EP(XM),JM=new Xn("mat-icon-location",{providedIn:"root",factory:function(){const e=fi(Hd),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),eT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tT=eT.map(e=>`[${e}]`).join(", "),nT=/^url\(['"]?#(.*?)['"]?\)$/;let iT=(()=>{class e extends KM{constructor(e,t,n,i,s){super(e),this._iconRegistry=t,this._location=i,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.EMPTY,n||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=CE(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i<t.length;i++)t[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((t,n)=>{t.forEach(t=>{n.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(tT),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<t.length;i++)eT.forEach(e=>{const s=t[i],o=s.getAttribute(e),r=o?o.match(nT):null;if(r){let t=n.get(s);t||(t=[],n.set(s,t)),t.push({name:e,value:r[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[t,n]=this._splitIconName(e);t&&(this._svgNamespace=t),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,t).pipe(lv(1)).subscribe(e=>this._setSvgElement(e),e=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${t}:${n}! ${e.message}`))})}}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(YM),Yn("aria-hidden"),zr(JM),zr(ds))},e.\u0275cmp=$e({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Ir("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),ma("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[vr],ngContentSelectors:UM,decls:1,vars:0,template:function(e,t){1&e&&(sa(),oa(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),sT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),oT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IE]]}),e})(),rT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[TP],imports:[[oT,NO,SP],oT,NO]}),e})(),aT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP],SP]}),e})(),lT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[IP,jP,SP,WP,uh],IP,SP,WP,aT]}),e})();const cT=["trigger"],dT=["panel"];function uT(e,t){if(1&e&&(Hr(0,"span",8),Da(1),jr()),2&e){const e=na();no(1),Oa(e.placeholder)}}function hT(e,t){if(1&e&&(Hr(0,"span",12),Da(1),jr()),2&e){const e=na(2);no(1),Oa(e.triggerValue)}}function pT(e,t){1&e&&oa(0,0,["*ngSwitchCase","true"])}function gT(e,t){1&e&&(Hr(0,"span",9),Fr(1,hT,2,1,"span",10),Fr(2,pT,1,0,"ng-content",11),jr()),2&e&&(Vr("ngSwitch",!!na().customTrigger),no(2),Vr("ngSwitchCase",!0))}function fT(e,t){if(1&e){const e=qr();Hr(0,"div",13),Hr(1,"div",14,15),Xr("@transformPanel.done",function(t){return Lt(e),na()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return Lt(e),na()._handleKeydown(t)}),oa(3,1),jr(),jr()}if(2&e){const e=na();Vr("@transformPanelWrap",void 0),no(1),La("mat-select-panel ",e._getPanelTheme(),""),fa("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Vr("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Ir("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const mT=[[["mat-select-trigger"]],"*"],bT=["mat-select-trigger","*"],vT={transformPanelWrap:Jh("transformPanelWrap",[op("* => void",ap("@transformPanel",[rp()],{optional:!0}))]),transformPanel:Jh("transformPanel",[ip("void",np({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ip("showing",np({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ip("showing-multiple",np({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),op("void => *",ep("120ms cubic-bezier(0, 0, 0.2, 1)")),op("* => void",ep("100ms 25ms linear",np({opacity:0})))])};let yT=0;const wT=new Xn("mat-select-scroll-strategy"),_T=new Xn("MAT_SELECT_CONFIG"),xT={provide:wT,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class CT{constructor(e,t){this.source=e,this.value=t}}class AT{constructor(e,t,n,i,s){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}}const ST=PP(DP(kP(OP(AT)))),kT=new Xn("MatSelectTrigger");let ET=(()=>{class e extends ST{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p){var g,f,m;super(s,i,r,a,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=n,this._dir=o,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=h,this._defaultOptions=p,this._panelOpen=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+yT++,this._triggerAriaLabelledBy=null,this._destroy=new C,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+yT++,this._panelDoneAnimatingStream=new C,this._overlayPanelClass=(null===(g=this._defaultOptions)||void 0===g?void 0:g.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(m=null===(f=this._defaultOptions)||void 0===f?void 0:f.disableOptionCentering)&&void 0!==m&&m,this.ariaLabel="",this.optionSelectionChanges=iv(()=>{const e=this.options;return e?e.changes.pipe(uv(e),sv(()=>G(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(lv(1),sv(()=>this.optionSelectionChanges))}),this.openedChange=new yc,this._openedStream=this.openedChange.pipe(db(e=>e),k(()=>{})),this._closedStream=this.openedChange.pipe(db(e=>!e),k(()=>{})),this.selectionChange=new yc,this.valueChange=new yc,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==p?void 0:p.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._scrollStrategyFactory=u,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=CE(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=CE(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=CE(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=AE(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new CD(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(H_(),wD(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(wD(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(uv(null),wD(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,s=this._keyManager;if(!s.isTyping()&&i&&!bE(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;s.onKeydown(e);const n=this.selected;n&&t!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,n=e.keyCode,i=40===n||38===n,s=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(s||13!==n&&32!==n||!t.activeItem||bE(e))if(!s&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const n=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==n&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(lv(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(e=>e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(e=>this._selectValue(e)),this._sortValues();else{const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,e)}catch(n){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new ZE(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(wD(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(wD(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=G(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(wD(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),G(...this.options.map(e=>e._stateChanges)).pipe(wD(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const 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(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,n)=>this.sortComparator?this.sortComparator(t,n,e):e.indexOf(t)-e.indexOf(n)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return e.\u0275fac=function(t){return new(t||e)(zr(SD),zr(Tl),zr(ad),zr(TP),zr(rl),zr(gP,8),zr(Mm,8),zr(Hm,8),zr(zO,8),zr(sm,10),Yn("tabindex"),zr(wT),zr(sP),zr(_T,8))},e.\u0275dir=Ke({type:e,viewQuery:function(e,t){if(1&e&&(Tc(cT,1),Tc(dT,1),Tc(rO,1)),2&e){let e;Mc(e=Rc())&&(t.trigger=e.first),Mc(e=Rc())&&(t.panel=e.first),Mc(e=Rc())&&(t.overlayDir=e.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[vr,dt]}),e})(),PT=(()=>{class e extends ET{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(wD(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(lv(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}_scrollOptionIntoView(e){const t=tD(e,this.options,this.optionGroups),n=this._getItemHeight();var i,s,o;this.panel.nativeElement.scrollTop=(s=n,256,(i=(e+t)*n)<(o=this.panel.nativeElement.scrollTop)?i:i+s>o+256?Math.max(0,i-256+s):o)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new CT(this,e)}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let e=this._selectionModel.selected[0]||this.options.first;s=e&&e.group?32:16}n||(s*=-1);const o=0-(e.left+s-(n?i:0)),r=e.right+s-t.width+(n?0:i);o>0?s+=o+8:r>0&&(s-=r+8),this.overlayDir.offsetX=Math.round(s),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,o=Math.floor(256/i);let r;return this.disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-o))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-s))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),r=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;r>s?this._adjustPanelUp(r,s):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const 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")}_adjustPanelDown(e,t,n){const i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=tD(s,this.options,this.optionGroups);const o=n/2;this._scrollTop=this._calculateOverlayScroll(s,o,i),this._offsetY=this._calculateOverlayOffsetY(s,o,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return e.\u0275fac=function(t){return DT(t||e)},e.\u0275cmp=$e({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,kT,1),Ic(n,eD,1),Ic(n,QP,1)),2&e){let e;Mc(e=Rc())&&(t.customTrigger=e.first),Mc(e=Rc())&&(t.options=e),Mc(e=Rc())&&(t.optionGroups=e)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&Xr("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(Ir("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),ma("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Ja([{provide:PO,useExisting:e},{provide:GP,useExisting:e}]),vr],ngContentSelectors:bT,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(sa(mT),Hr(0,"div",0,1),Xr("click",function(){return t.toggle()}),Hr(3,"div",2),Fr(4,uT,2,1,"span",3),Fr(5,gT,3,2,"span",4),jr(),Hr(6,"div",5),Ur(7,"div",6),jr(),jr(),Fr(8,fT,4,14,"ng-template",7),Xr("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){const e=Br(1);Ir("aria-owns",t.panelOpen?t.id+"-panel":null),no(3),Vr("ngSwitch",t.empty),Ir("id",t._valueId),no(1),Vr("ngSwitchCase",!0),no(1),Vr("ngSwitchCase",!1),no(3),Vr("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[oO,Yu,Zu,rO,Qu,Nu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[vT.transformPanelWrap,vT.transformPanel]},changeDetection:0}),e})();const DT=$n(PT);let OT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[xT],imports:[[uh,lO,nD,SP],kD,NO,nD,SP]}),e})();const MT={tooltipState:Jh("state",[ip("initial, void, hidden",np({opacity:0,transform:"scale(0)"})),ip("visible",np({transform:"scale(1)"})),op("* => visible",ep("200ms cubic-bezier(0, 0, 0.2, 1)",sp([np({opacity:0,transform:"scale(0)",offset:0}),np({opacity:.5,transform:"scale(0.99)",offset:.5}),np({opacity:1,transform:"scale(1)",offset:1})]))),op("* => hidden",ep("100ms cubic-bezier(0, 0, 0.2, 1)",np({opacity:0})))])},TT=RE({passive:!0}),IT=new Xn("mat-tooltip-scroll-strategy"),RT={provide:IT,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},LT=new Xn("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let FT=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=o,this._ariaDescriber=r,this._focusMonitor=a,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new C,this._handleKeydown=e=>{this._isTooltipVisible()&&27===e.keyCode&&!bE(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),s.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=CE(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(wD(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,n])=>{e.removeEventListener(t,n,TT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new KA(BT,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(wD(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(wD(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(wD(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t||"below"==t?n={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let n;"above"==t?n={overlayX:"center",overlayY:"bottom"}:"below"==t?n={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?n={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(lv(1),wD(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(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}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()],["wheel",e=>this._wheelListener(e)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,TT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(rl),zr(AD),zr(Gl),zr(ad),zr(TE),zr(GE),zr(cP),zr(IT),zr(gP,8),zr(LT,8),zr(Hd))},e.\u0275dir=Ke({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),BT=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new C,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(zr(Tl),zr(eM))},e.\u0275cmp=$e({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._handleBodyInteraction()},!1,gs)("auxclick",function(){return t._handleBodyInteraction()},!1,gs),2&e&&fa("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(Hr(0,"div",0),Xr("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),hc(1,"async"),Da(2),jr()),2&e){let e=null;ma("mat-tooltip-handset",null==(e=pc(1,5,t._isHandset))?null:e.matches),Vr("ngClass",t.tooltipClass)("@state",t._visibility),no(2),Oa(t.message)}},directives:[Nu],pipes:[sh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[MT.tooltipState]},changeDetection:0}),e})(),zT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[RT],imports:[[hP,uh,lO,SP],SP,kD]}),e})();function VT(e,t){if(1&e&&(Hr(0,"mat-option",19),Da(1),jr()),2&e){const e=t.$implicit;Vr("value",e),no(1),Ma(" ",e," ")}}function NT(e,t){if(1&e){const e=qr();Hr(0,"mat-form-field",16),Hr(1,"mat-select",17),Xr("selectionChange",function(t){return Lt(e),na(2)._changePageSize(t.value)}),Fr(2,VT,2,2,"mat-option",18),jr(),jr()}if(2&e){const e=na(2);Vr("appearance",e._formFieldAppearance)("color",e.color),no(1),Vr("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),no(1),Vr("ngForOf",e._displayedPageSizeOptions)}}function HT(e,t){if(1&e&&(Hr(0,"div",20),Da(1),jr()),2&e){const e=na(2);no(1),Oa(e.pageSize)}}function jT(e,t){if(1&e&&(Hr(0,"div",12),Hr(1,"div",13),Da(2),jr(),Fr(3,NT,3,6,"mat-form-field",14),Fr(4,HT,2,1,"div",15),jr()),2&e){const e=na();no(2),Ma(" ",e._intl.itemsPerPageLabel," "),no(1),Vr("ngIf",e._displayedPageSizeOptions.length>1),no(1),Vr("ngIf",e._displayedPageSizeOptions.length<=1)}}function UT(e,t){if(1&e){const e=qr();Hr(0,"button",21),Xr("click",function(){return Lt(e),na().firstPage()}),dn(),Hr(1,"svg",7),Ur(2,"path",22),jr(),jr()}if(2&e){const e=na();Vr("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Ir("aria-label",e._intl.firstPageLabel)}}function WT(e,t){if(1&e){const e=qr();dn(),un(),Hr(0,"button",23),Xr("click",function(){return Lt(e),na().lastPage()}),dn(),Hr(1,"svg",7),Ur(2,"path",24),jr(),jr()}if(2&e){const e=na();Vr("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Ir("aria-label",e._intl.lastPageLabel)}}let GT=(()=>{class e{constructor(){this.changes=new C,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,n)=>{if(0==n||0==t)return"0 of "+n;const i=e*t;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+t,n):i+t} of ${n}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const $T={provide:GT,deps:[[new yi,new wi,GT]],useFactory:function(e){return e||new GT}},qT=new Xn("MAT_PAGINATOR_DEFAULT_OPTIONS");class YT{}const ZT=kP(MP(YT));let QT=(()=>{class e extends ZT{constructor(e,t,n){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new yc,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:e,pageSizeOptions:t,hidePageSize:i,showFirstLastButtons:s}=n;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=i&&(this._hidePageSize=i),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(AE(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=AE(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(AE(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>AE(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=CE(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=CE(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){const t=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(t)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){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((e,t)=>e-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(zr(GT),zr(Tl),zr(void 0))},e.\u0275dir=Ke({type:e,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[vr]}),e})(),XT=(()=>{class e extends QT{constructor(e,t,n){super(e,t,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return e.\u0275fac=function(t){return new(t||e)(zr(GT),zr(Tl),zr(qT,8))},e.\u0275cmp=$e({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[vr],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"div",1),Fr(2,jT,5,3,"div",2),Hr(3,"div",3),Hr(4,"div",4),Da(5),jr(),Fr(6,UT,3,5,"button",5),Hr(7,"button",6),Xr("click",function(){return t.previousPage()}),dn(),Hr(8,"svg",7),Ur(9,"path",8),jr(),jr(),un(),Hr(10,"button",9),Xr("click",function(){return t.nextPage()}),dn(),Hr(11,"svg",7),Ur(12,"path",10),jr(),jr(),Fr(13,WT,3,5,"button",11),jr(),jr(),jr()),2&e&&(no(2),Vr("ngIf",!t.hidePageSize),no(3),Ma(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),no(1),Vr("ngIf",t.showFirstLastButtons),no(1),Vr("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Ir("aria-label",t._intl.previousPageLabel),no(3),Vr("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Ir("aria-label",t._intl.nextPageLabel),no(3),Vr("ngIf",t.showFirstLastButtons))},directives:[Wu,mM,FT,VO,PT,ju,eD],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),KT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[$T],imports:[[uh,bM,OT,zT,SP]]}),e})(),JT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[SP,uh],SP]}),e})(),eI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,IE,kD],kD,SP]}),e})(),tI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({}),e})(),nI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[tI,jP,SP,NE],tI,SP]}),e})(),iI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP],SP]}),e})(),sI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[lO,sS,uh,bM,SP],SP]}),e})();const oI=["mat-sort-header",""];function rI(e,t){if(1&e){const e=qr();Hr(0,"div",3),Xr("@arrowPosition.start",function(){return Lt(e),na()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return Lt(e),na()._disableViewStateAnimation=!1}),Ur(1,"div",4),Hr(2,"div",5),Ur(3,"div",6),Ur(4,"div",7),Ur(5,"div",8),jr(),jr()}if(2&e){const e=na();Vr("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),no(2),Vr("@indicator",e._getArrowDirectionState()),no(1),Vr("@leftPointer",e._getArrowDirectionState()),no(1),Vr("@rightPointer",e._getArrowDirectionState())}}const aI=["*"],lI=new Xn("MAT_SORT_DEFAULT_OPTIONS");class cI{}const dI=MP(kP(cI));let uI=(()=>{class e extends dI{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new C,this.start="asc",this._direction="",this.sortChange=new yc}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=CE(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var t,n,i;if(!e)return"";const s=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear);let o=function(e,t){let n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,s),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(zr(lI,8))},e.\u0275dir=Ke({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[vr,dt]}),e})();const hI=_P.ENTERING+" "+wP.STANDARD_CURVE,pI={indicator:Jh("indicator",[ip("active-asc, asc",np({transform:"translateY(0px)"})),ip("active-desc, desc",np({transform:"translateY(10px)"})),op("active-asc <=> active-desc",ep(hI))]),leftPointer:Jh("leftPointer",[ip("active-asc, asc",np({transform:"rotate(-45deg)"})),ip("active-desc, desc",np({transform:"rotate(45deg)"})),op("active-asc <=> active-desc",ep(hI))]),rightPointer:Jh("rightPointer",[ip("active-asc, asc",np({transform:"rotate(45deg)"})),ip("active-desc, desc",np({transform:"rotate(-45deg)"})),op("active-asc <=> active-desc",ep(hI))]),arrowOpacity:Jh("arrowOpacity",[ip("desc-to-active, asc-to-active, active",np({opacity:1})),ip("desc-to-hint, asc-to-hint, hint",np({opacity:.54})),ip("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",np({opacity:0})),op("* => asc, * => desc, * => active, * => hint, * => void",ep("0ms")),op("* <=> *",ep(hI))]),arrowPosition:Jh("arrowPosition",[op("* => desc-to-hint, * => desc-to-active",ep(hI,sp([np({transform:"translateY(-25%)"}),np({transform:"translateY(0)"})]))),op("* => hint-to-desc, * => active-to-desc",ep(hI,sp([np({transform:"translateY(0)"}),np({transform:"translateY(25%)"})]))),op("* => asc-to-hint, * => asc-to-active",ep(hI,sp([np({transform:"translateY(25%)"}),np({transform:"translateY(0)"})]))),op("* => hint-to-asc, * => active-to-asc",ep(hI,sp([np({transform:"translateY(0)"}),np({transform:"translateY(-25%)"})]))),ip("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",np({transform:"translateY(0)"})),ip("hint-to-desc, active-to-desc, desc",np({transform:"translateY(-25%)"})),ip("hint-to-asc, active-to-asc, asc",np({transform:"translateY(25%)"}))]),allowChildren:Jh("allowChildren",[op("* <=> *",[ap("@*",rp(),{optional:!0})])])};let gI=(()=>{class e{constructor(){this.changes=new C,this.sortButtonLabel=e=>"Change sorting for "+e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=pe({factory:function(){return new e},token:e,providedIn:"root"}),e})();const fI={provide:gI,deps:[[new yi,new wi,gI]],useFactory:function(e){return e||new gI}};class mI{}const bI=kP(mI);let vI=(()=>{class e extends bI{constructor(e,t,n,i,s,o){super(),this._intl=e,this._changeDetectorRef=t,this._sort=n,this._columnDef=i,this._focusMonitor=s,this._elementRef=o,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=CE(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_handleStateChanges(){this._rerenderSubscription=G(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(zr(gI),zr(Tl),zr(uI,8),zr("MAT_SORT_HEADER_COLUMN_DEF",8),zr(cP),zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&Xr("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(Ir("aria-sort",t._getAriaSortAttribute()),ma("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[vr],attrs:oI,ngContentSelectors:aI,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(sa(),Hr(0,"div",0),Hr(1,"div",1),oa(2),jr(),Fr(3,rI,6,6,"div",2),jr()),2&e&&(ma("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Ir("tabindex",t._isDisabled()?null:0),no(3),Vr("ngIf",t._renderArrow()))},directives:[Wu],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[pI.indicator,pI.leftPointer,pI.rightPointer,pI.arrowOpacity,pI.arrowPosition,pI.allowChildren]},changeDetection:0}),e})(),yI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[fI],imports:[[uh,SP]]}),e})(),wI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[ED]]}),e})(),_I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[wI,SP],SP]}),e})(),xI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[uh,SP,sS,jP,NE,hP],SP]}),e})();const CI=["mat-menu-item",""],AI=["*"];function SI(e,t){if(1&e){const e=qr();Hr(0,"div",0),Xr("keydown",function(t){return Lt(e),na()._handleKeydown(t)})("click",function(){return Lt(e),na().closed.emit("click")})("@transformMenu.start",function(t){return Lt(e),na()._onAnimationStart(t)})("@transformMenu.done",function(t){return Lt(e),na()._onAnimationDone(t)}),Hr(1,"div",1),oa(2),jr(),jr()}if(2&e){const e=na();Vr("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Ir("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const kI={transformMenu:Jh("transformMenu",[ip("void",np({opacity:0,transform:"scale(0.8)"})),op("void => enter",ep("120ms cubic-bezier(0, 0, 0.2, 1)",np({opacity:1,transform:"scale(1)"}))),op("* => void",ep("100ms 25ms linear",np({opacity:0})))]),fadeInItems:Jh("fadeInItems",[ip("showing",np({opacity:1})),op("void => *",[np({opacity:0}),ep("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},EI=new Xn("MatMenuContent"),PI=new Xn("MAT_MENU_PANEL");class DI{}const OI=PP(kP(DI));let MI=(()=>{class e extends OI{constructor(e,t,n,i){super(),this._elementRef=e,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new C,this._focused=new C,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e,t;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s<i.length;s++){const t=i[s];null===(e=t.parentNode)||void 0===e||e.removeChild(t)}return(null===(t=n.textContent)||void 0===t?void 0:t.trim())||""}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(Hd),zr(cP),zr(PI,8))},e.\u0275cmp=$e({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&Xr("click",function(e){return t._checkDisabled(e)})("mouseenter",function(){return t._handleMouseEnter()}),2&e&&(Ir("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),ma("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[vr],attrs:CI,ngContentSelectors:AI,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(sa(),oa(0),Ur(1,"div",0)),2&e&&(no(1),Vr("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[HP],encapsulation:2,changeDetection:0}),e})();const TI=new Xn("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let II=0,RI=(()=>{class e{constructor(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new _c,this._tabSubscription=u.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new C,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new yc,this.close=this.closed,this.panelId="mat-menu-panel-"+II++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=CE(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=CE(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new QE(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(uv(this._directDescendantItems),sv(e=>G(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(uv(this._directDescendantItems),sv(e=>G(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,n=this._keyManager;switch(t){case 27:bE(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==t&&40!==t||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(lv(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t="mat-elevation-z"+Math.min(4+e,24),n=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(uv(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TI))},e.\u0275dir=Ke({type:e,contentQueries:function(e,t,n){if(1&e&&(Ic(n,EI,1),Ic(n,MI,1),Ic(n,MI,0)),2&e){let e;Mc(e=Rc())&&(t.lazyContent=e.first),Mc(e=Rc())&&(t._allItems=e),Mc(e=Rc())&&(t.items=e)}},viewQuery:function(e,t){if(1&e&&Tc(zl,1),2&e){let e;Mc(e=Rc())&&(t.templateRef=e.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),LI=(()=>{class e extends RI{constructor(e,t,n){super(e,t,n)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(ad),zr(TI))},e.\u0275cmp=$e({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&Ir("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ja([{provide:PI,useExisting:e}]),vr],ngContentSelectors:AI,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(sa(),Fr(0,SI,3,6,"ng-template"))},directives:[Nu],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[kI.transformMenu,kI.fadeInItems]},changeDetection:0}),e})();const FI=new Xn("mat-menu-scroll-strategy"),BI={provide:FI,deps:[nO],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},zI=RE({passive:!0});let VI=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this._overlay=e,this._element=t,this._viewContainerRef=n,this._menuItemInstance=o,this._dir=r,this._focusMonitor=a,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=e=>{rP(e)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new yc,this.onMenuOpen=this.menuOpened,this.menuClosed=new yc,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=s instanceof RI?s:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,zI),o&&(o._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(e),"click"!==e&&"tab"!==e||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,zI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof RI&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,t instanceof RI?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(db(e=>"void"===e.toState),lv(1),wD(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new zD({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[o,r]=[i,s],[a,l]=[t,n],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",n=a="end"===t?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(o="top"===i?"bottom":"top",r="top"===s?"bottom":"top"),e.withPositions([{originX:t,originY:o,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:o,overlayX:l,overlayY:i,offsetY:c},{originX:t,originY:r,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:r,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return G(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:lb(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(db(e=>e!==this._menuItemInstance),db(()=>this._menuOpen)):lb(),t)}_handleMousedown(e){oP(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;13!==t&&32!==t||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(db(e=>e===this._menuItemInstance&&!e.disabled),HO(0,pD)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof RI&&this.menu._isAnimating?this.menu._animationDone.pipe(lv(1),HO(0,pD),wD(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new JA(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(zr(nO),zr(rl),zr(Gl),zr(FI),zr(PI,8),zr(MI,10),zr(gP,8),zr(cP))},e.\u0275dir=Ke({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&Xr("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&Ir("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),NI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BI],imports:[SP]}),e})(),HI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[BI],imports:[[uh,SP,jP,lO,NI],kD,SP,NI]}),e})();function jI(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function UI(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function WI(e,t){const n=t?"":"none";UI(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function GI(e,t){const n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function $I(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function qI(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function YI(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function ZI(e,t,n){const{top:i,bottom:s,left:o,right:r}=e;return n>=i&&n<=s&&t>=o&&t<=r}function QI(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function XI(e,t,n,i){const{top:s,right:o,bottom:r,left:a,width:l,height:c}=e,d=l*t,u=c*t;return i>s-u&&i<r+u&&n>a-d&&n<o+d}class KI{constructor(e,t){this._document=e,this._viewportRuler=t,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:YI(e)})})}handleScroll(e){const t=e.target,n=this.positions.get(t);if(!n)return null;const i=t===this._document?t.documentElement:t,s=n.scrollPosition;let o,r;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();o=e.top,r=e.left}else o=t.scrollTop,r=t.scrollLeft;const a=s.top-o,l=s.left-r;return this.positions.forEach((e,n)=>{e.clientRect&&t!==n&&i.contains(n)&&QI(e.clientRect,a,l)}),s.top=o,s.left=r,{top:a,left:l}}}function JI(e){const t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();t.removeAttribute("id");for(let s=0;s<n.length;s++)n[s].removeAttribute("id");return"canvas"===i?iR(e,t):"input"!==i&&"select"!==i&&"textarea"!==i||nR(e,t),eR("canvas",e,t,iR),eR("input, textarea, select",e,t,nR),t}function eR(e,t,n,i){const s=t.querySelectorAll(e);if(s.length){const t=n.querySelectorAll(e);for(let e=0;e<s.length;e++)i(s[e],t[e])}}let tR=0;function nR(e,t){"file"!==t.type&&(t.value=e.value),"radio"===t.type&&t.name&&(t.name=`mat-clone-${t.name}-${tR++}`)}function iR(e,t){const n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch(WH){}}const sR=RE({passive:!0}),oR=RE({passive:!1});class rR{constructor(e,t,n,i,s,o){this._config=t,this._document=n,this._ngZone=i,this._viewportRuler=s,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new C,this._pointerMoveSubscription=u.EMPTY,this._pointerUpSubscription=u.EMPTY,this._scrollSubscription=u.EMPTY,this._resizeSubscription=u.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new C,this.started=new C,this.released=new C,this.ended=new C,this.entered=new C,this.exited=new C,this.dropped=new C,this.moved=this._moveEvents,this._pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find(t=>{const n=e.target;return!!n&&(n===t||t.contains(n))});!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const t=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),n=this._dropContainer;if(!t)return void this._endDragSequence(e);n&&(n.isDragging()||n.isReceiving())||(e.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(e)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),e.preventDefault();const n=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,t);else{const e=this._activeTransform;e.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${e.x} ${e.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:e,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new KI(n,s),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=CE(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(e=>WI(e,t)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(e=>EE(e)),this._handles.forEach(e=>WI(e,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(e=>{this._handles.indexOf(e)>-1&&t.add(e)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=EE(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,oR),t.addEventListener("touchstart",this._pointerDown,sR)}),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?EE(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&cR(this._rootElement),cR(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),WI(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),WI(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&cR(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&cR(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(e){dR(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,i=this._preview=this._createPreviewElement(),s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),r=this._getShadowRoot();n.insertBefore(o,e),GI(e,!1),this._document.body.appendChild(n.replaceChild(s,e)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,r).appendChild(i),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const n=this.isDragging(),i=dR(t),s=!i&&0!==t.button,o=this._rootElement,r=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),n||s||r)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{this._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=YI(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){GI(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const t=this._dropContainer,n=t.getItemIndex(this),i=this._getPointerPositionOnPage(e),s=this._getDragDistance(this._getPointerPositionOnPage(e)),o=t._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:s}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:s}),t.drop(this,n,this._initialIndex,this._initialContainer,o,s),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:n,y:i}){let s=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=s,this._dropContainer.enter(this,e,t,s===this._initialContainer&&s.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:s,currentIndex:s.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(n,i),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=aR(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,n=e?e.template:null;let i;if(n&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,s=e.viewContainer.createEmbeddedView(n,e.context);s.detectChanges(),i=uR(s,this._document),this._previewRef=s,e.matchSize?hR(i,t):i.style.transform=aR(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;i=JI(e),hR(i,e.getBoundingClientRect())}return UI(i.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),WI(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(e=>i.classList.add(e)):i.classList.add(t)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=aR(e.left,e.top);const t=function(e){const t=getComputedStyle(e),n=qI(t,"transition-property"),i=n.find(e=>"transform"===e||"all"===e);if(!i)return 0;const s=n.indexOf(i),o=qI(t,"transition-duration"),r=qI(t,"transition-delay");return $I(o[s])+$I(r[s])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(e=>{const n=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",n),e(),clearTimeout(i))},i=setTimeout(n,1.5*t);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let n;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),n=uR(this._placeholderRef,this._document)):n=JI(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,t){const n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,s=i?i.getBoundingClientRect():n,o=dR(t)?t.targetTouches[0]:t,r=this._getViewportScrollPosition();return{x:s.left-n.left+(o.pageX-s.left-r.left),y:s.top-n.top+(o.pageY-s.top-r.top)}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),n=dR(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,s=n.pageY-t.top;if(this._ownerSVGElement){const e=this._ownerSVGElement.getScreenCTM();if(e){const t=this._ownerSVGElement.createSVGPoint();return t.x=i,t.y=s,t.matrixTransform(e.inverse())}}return{x:i,y:s}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:i}=this.constrainPosition?this.constrainPosition(e,this):e;if("x"===this.lockAxis||"x"===t?i=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:t}=this._pickupPositionInElement,s=this._boundaryRect,o=this._previewRect,r=s.top+t,a=s.bottom-(o.height-t);n=lR(n,s.left+e,s.right-(o.width-e)),i=lR(i,r,a)}return{x:n,y:i}}_updatePointerDirectionDelta(e){const{x:t,y:n}=e,i=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-s.x),r=Math.abs(n-s.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=t>s.x?1:-1,s.x=t),r>this._config.pointerDirectionChangeThreshold&&(i.y=n>s.y?1:-1,s.y=n),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,WI(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,oR),e.removeEventListener("touchstart",this._pointerDown,sR)}_applyRootElementTransform(e,t){const n=aR(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===i.width&&0===i.height)return;const s=n.left-i.left,o=i.right-n.right,r=n.top-i.top,a=i.bottom-n.bottom;n.width>i.width?(s>0&&(e+=s),o>0&&(e-=o)):e=0,n.height>i.height?(r>0&&(t+=r),a>0&&(t-=a)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:dR(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&QI(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=FE(this._rootElement)),this._cachedShadowRoot}}function aR(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function lR(e,t,n){return Math.max(t,Math.min(n,e))}function cR(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function dR(e){return"t"===e.type[0]}function uR(e,t){const n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];const i=t.createElement("div");return n.forEach(e=>i.appendChild(e)),i}function hR(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=aR(t.left,t.top)}function pR(e,t){return Math.max(0,Math.min(t,e))}class gR{constructor(e,t,n,i,s){this._dragDropRegistry=t,this._ngZone=i,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new C,this.entered=new C,this.exited=new C,this.dropped=new C,this.sorted=new C,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=u.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new C,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(e=0,t=vE){return(!mD(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=vE),new v(n=>(n.add(t.schedule(jI,e,{subscriber:n,counter:0,period:e})),n))}(0,oD).pipe(wD(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode,t=this.autoScrollStep;1===this._verticalScrollDirection?mR(e,-t):2===this._verticalScrollDirection&&mR(e,t),1===this._horizontalScrollDirection?bR(e,-t):2===this._horizontalScrollDirection&&bR(e,t)})},this.element=EE(e),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new KI(n,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,n,i){let s;this._draggingStarted(),null==i?(s=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(e,t,n))):s=i;const o=this._activeDraggables,r=o.indexOf(e),a=e.getPlaceholderElement();let l=o[s];if(l===e&&(l=o[s+1]),r>-1&&o.splice(r,1),l&&!this._dragDropRegistry.isDragging(l)){const t=l.getRootElement();t.parentElement.insertBefore(a,t),o.splice(s,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){const t=o[0].getRootElement();t.parentNode.insertBefore(a,t),o.unshift(e)}else EE(this.element).appendChild(a),o.push(e);a.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,n,i,s,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:s,distance:o})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(e=>e._withDropContainer(this)),this.isDragging()&&(t.filter(e=>e.isDragging()).every(t=>-1===e.indexOf(t))?this._reset():this._cacheItems()),this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=EE(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?fR("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,t=>t.drag===e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,n,i){if(this.sortingDisabled||!this._clientRect||!XI(this._clientRect,.05,t,n))return;const s=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,n,i);if(-1===o&&s.length>0)return;const r="horizontal"===this._orientation,a=fR(s,t=>t.drag===e),l=s[o],c=l.clientRect,d=a>o?1:-1,u=this._getItemOffsetPx(s[a].clientRect,c,d),h=this._getSiblingOffsetPx(a,s,d),p=s.slice();!function(e,t,n){const i=pR(t,e.length-1),s=pR(n,e.length-1);if(i===s)return;const o=e[i],r=s<i?-1:1;for(let a=i;a!==s;a+=r)e[a]=e[a+r];e[s]=o}(s,a,o),this.sorted.next({previousIndex:a,currentIndex:o,container:this,item:e}),s.forEach((t,n)=>{if(p[n]===t)return;const i=t.drag===e,s=i?u:h,o=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=s,r?(o.style.transform=`translate3d(${Math.round(t.offset)}px, 0, 0)`,QI(t.clientRect,0,s)):(o.style.transform=`translate3d(0, ${Math.round(t.offset)}px, 0)`,QI(t.clientRect,s,0))}),this._previousSwap.overlaps=ZI(c,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=r?i.x:i.y}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let n,i=0,s=0;if(this._parentPositions.positions.forEach((o,r)=>{r!==this._document&&o.clientRect&&!n&&XI(o.clientRect,.05,e,t)&&([i,s]=function(e,t,n,i){const s=vR(t,i),o=yR(t,n);let r=0,a=0;if(s){const t=e.scrollTop;1===s?t>0&&(r=1):e.scrollHeight-t>e.clientHeight&&(r=2)}if(o){const t=e.scrollLeft;1===o?t>0&&(a=1):e.scrollWidth-t>e.clientWidth&&(a=2)}return[r,a]}(r,o.clientRect,e,t),(i||s)&&(n=r))}),!i&&!s){const{width:o,height:r}=this._viewportRuler.getViewportSize(),a={width:o,height:r,top:0,right:o,bottom:r,left:0};i=vR(a,t),s=yR(a,e),n=window}!n||i===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=s,this._scrollNode=n,(i||s)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=EE(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=EE(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,clientRect:YI(t)}}).sort((t,n)=>e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const e=EE(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{const t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,n){const i="horizontal"===this._orientation,s=t[e].clientRect,o=t[e+-1*n];let r=s[i?"width":"height"]*n;if(o){const e=i?"left":"top",t=i?"right":"bottom";-1===n?r-=o.clientRect[e]-s[t]:r+=s[e]-o.clientRect[t]}return r}_getItemOffsetPx(e,t,n){const i="horizontal"===this._orientation;let s=i?t.left-e.left:t.top-e.top;return-1===n&&(s+=i?t.width-e.width:t.height-e.height),s}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const s=n[n.length-1].clientRect;return i?e>=s.right:t>=s.bottom}{const s=n[0].clientRect;return i?e<=s.left:t<=s.top}}_getItemIndexFromPointerPosition(e,t,n,i){const s="horizontal"===this._orientation,o=fR(this._itemPositions,({drag:o,clientRect:r},a,l)=>{if(o===e)return l.length<2;if(i){const e=s?i.x:i.y;if(o===this._previousSwap.drag&&this._previousSwap.overlaps&&e===this._previousSwap.delta)return!1}return s?t>=Math.floor(r.left)&&t<Math.floor(r.right):n>=Math.floor(r.top)&&n<Math.floor(r.bottom)});return-1!==o&&this.sortPredicate(o,e,this)?o:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(e,t){return null!=this._clientRect&&ZI(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,n){return this._siblings.find(i=>i._canReceive(e,t,n))}_canReceive(e,t,n){if(!this._clientRect||!ZI(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;const i=this._getShadowRoot().elementFromPoint(t,n);if(!i)return!1;const s=EE(this.element);return i===s||s.contains(i)}_startReceiving(e,t){const n=this._activeSiblings;!n.has(e)&&t.every(e=>this.enterPredicate(e,this)||this._draggables.indexOf(e)>-1)&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach(({clientRect:e})=>{QI(e,t.top,t.left)}),this._itemPositions.forEach(({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=FE(EE(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._activeDraggables.filter(e=>e.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function fR(e,t){for(let n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function mR(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function bR(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function vR(e,t){const{top:n,bottom:i,height:s}=e,o=.05*s;return t>=n-o&&t<=n+o?1:t>=i-o&&t<=i+o?2:0}function yR(e,t){const{left:n,right:i,width:s}=e,o=.05*s;return t>=n-o&&t<=n+o?1:t>=i-o&&t<=i+o?2:0}const wR=RE({passive:!1,capture:!0});let _R=(()=>{class e{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=e=>e.isDragging(),this.pointerMove=new C,this.pointerUp=new C,this.scroll=new C,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,wR)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,wR)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const e=t.type.startsWith("touch");this._globalListeners.set(e?"touchend":"mouseup",{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:wR}),e||this._globalListeners.set("mousemove",{handler:e=>this.pointerMove.next(e),options:wR}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((e,t)=>{this._document.addEventListener(t,e.handler,e.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return e.\u0275fac=function(t){return new(t||e)(gi(ad),gi(Hd))},e.\u0275prov=pe({factory:function(){return new e(gi(ad),gi(Hd))},token:e,providedIn:"root"}),e})();const xR={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let CR=(()=>{class e{constructor(e,t,n,i){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=i}createDrag(e,t=xR){return new rR(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new gR(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return e.\u0275fac=function(t){return new(t||e)(gi(Hd),gi(ad),gi(SD),gi(_R))},e.\u0275prov=pe({factory:function(){return new e(gi(Hd),gi(ad),gi(SD),gi(_R))},token:e,providedIn:"root"}),e})();const AR=new Xn("CDK_DRAG_PARENT"),SR=new Xn("CDK_DRAG_CONFIG"),kR=new Xn("CdkDropList"),ER=new Xn("CdkDragHandle"),PR=new Xn("CdkDragPlaceholder"),DR=new Xn("CdkDragPreview");let OR=(()=>{class e{constructor(t,n,i,s,o,r,a,l,c,d,u){this.element=t,this.dropContainer=n,this._ngZone=s,this._viewContainerRef=o,this._dir=a,this._changeDetectorRef=c,this._selfHandle=d,this._parentDrag=u,this._destroyed=new C,this.started=new yc,this.released=new yc,this.ended=new yc,this.entered=new yc,this.exited=new yc,this.dropped=new yc,this.moved=new v(e=>{const t=this._dragRef.moved.pipe(k(e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}))).subscribe(e);return()=>{t.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:r&&null!=r.dragStartThreshold?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&null!=r.pointerDirectionChangeThreshold?r.pointerDirectionChangeThreshold:5,zIndex:null==r?void 0:r.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),r&&this._assignDefaults(r),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=CE(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(lv(1),wD(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(uv(this._handles),Ov(e=>{const t=e.filter(e=>e._parentDrag===this).map(e=>e.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),sv(e=>G(...e.map(e=>e._stateChanges.pipe(uv(e))))),wD(this._destroyed)).subscribe(e=>{const t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(e){const t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?MR(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?MR(this.element.nativeElement,e):EE(e):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:AE(n),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(s),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(lv(1)).subscribe(()=>{var n,i;if(this._parentDrag)return void t.withParent(this._parentDrag._dragRef);let s=this.element.nativeElement.parentElement;for(;s;){if(null===(n=s.classList)||void 0===n?void 0:n.contains("cdk-drag")){t.withParent((null===(i=e._dragInstances.find(e=>e.element.nativeElement===s))||void 0===i?void 0:i._dragRef)||null);break}s=s.parentElement}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:n,constrainPosition:i,previewClass:s,boundaryElement:o,draggingDisabled:r,rootElementSelector:a}=e;this.disabled=null!=r&&r,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),s&&(this.previewClass=s),o&&(this.boundaryElement=o),a&&(this.rootElementSelector=a)}}return e.\u0275fac=function(t){return new(t||e)(zr(rl),zr(kR,12),zr(Hd),zr(ad),zr(Gl),zr(SR,8),zr(gP,8),zr(CR),zr(Tl),zr(ER,10),zr(AR,12))},e.\u0275dir=Ke({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){if(1&e&&(Ic(n,DR,1),Ic(n,PR,1),Ic(n,ER,1)),2&e){let e;Mc(e=Rc())&&(t._previewTemplate=e.first),Mc(e=Rc())&&(t._placeholderTemplate=e.first),Mc(e=Rc())&&(t._handles=e)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&ma("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Ja([{provide:AR,useExisting:e}]),dt]}),e._dragInstances=[],e})();function MR(e,t){let n=e.parentElement;for(;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}let TR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[CR],imports:[kD]}),e})();const IR=(e,t,n)=>{if(0===n||0===t)return"";const i=e*t;return i<(n=Math.max(n,0))&&Math.min(i+t,n),`${e+1} / ${Math.ceil(n/t)}`};function RR(){const e=new GT;return e.itemsPerPageLabel="Afficher:",e.nextPageLabel="Page suivante",e.previousPageLabel="Page pr\xe9c\xe9dente",e.getRangeLabel=IR,e}let LR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({providers:[{provide:GT,useValue:RR()}],imports:[[eI,lT,NM,aM,jP,TR,sI,bM,sT,JT,vM,rT,jM,HI,xI,iI,OT,nI,qO,_I,KT,yI,$O,wM],eI,lT,NM,aM,jP,TR,sI,bM,sT,JT,vM,rT,jM,HI,xI,iI,OT,nI,qO,_I,KT,yI,$O,wM]}),e})(),FR=(()=>{class e{constructor(e,t,n){this.translate=e,this.data=t,this.dialogRef=n,null===this.data.mode&&(this.data.mode=""),null===this.data.msg&&(this.data.msg="")}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(OM),zr(PM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:10,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","red",3,"click"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"h1",0),Da(2),hc(3,"translate"),jr(),Ur(4,"div",1),hc(5,"translate"),Hr(6,"div",2),Hr(7,"button",3),Xr("click",function(){return t.dialogRef.close()}),Da(8),hc(9,"translate"),jr(),jr(),jr()),2&e&&(La("modalContent ",t.data.mode,""),no(2),Oa(pc(3,6,t.data.title)),no(2),Vr("innerHTML",pc(5,8,t.data.msg),ss),no(4),Oa(pc(9,10,"lang.ok")))},directives:[BM,zM,VM,mM],pipes:[qA],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),e})(),BR=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.translate=e,this.http=t,this.router=n,this.signaturesService=i,this.cookieService=s,this.authService=o,this.localStorage=r,this.dialog=a,this.menu=l}canActivate(e,t){if("login"===e.url.join("/"))return this.authService.isAuth()?(this.router.navigate(["/home"]),!1):(this.http.get("../rest/authenticationInformations").pipe(k(e=>{this.authService.authMode=e.connection,this.authService.changeKey=e.changeKey,this.authService.coreUrl=e.coreUrl,this.localStorage.setAppSession(e.instanceId)})).subscribe(),!0);if(!this.authService.authFailed){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu");let e=this.authService.getToken();if(null===e||this.authService.authFailed)return this.http.get("../rest/authenticationInformations").pipe(k(n=>(this.authService.authMode=n.connection,this.authService.changeKey=n.changeKey,this.authService.coreUrl=n.coreUrl,this.localStorage.setAppSession(n.instanceId),e=this.authService.getToken(),null!==e?(this.authService.user=JSON.parse(atob(e.split(".")[1])).user,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData(),this.authService.changeKey&&this.dialog.open(FR,{autoFocus:!1,disableClose:!0,data:{mode:"warning",title:"lang.warnPrivateKeyTitle",msg:"lang.warnPrivateKey"}}),!0):(this.authService.setCachedUrl(t.url.replace(/^\//g,"")),this.authService.logout(),!1))));if(void 0===this.authService.user.id){const t=JSON.parse(atob(e.split(".")[1]));this.authService.user=t.user,this.authService.authMode=t.connection,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData()}return!0}}setData(){0===this.authService.signatureRoles.length&&this.http.get("../rest/signatureModes").subscribe(e=>{this.authService.signatureRoles=[{id:"visa",type:"visa",color:"#135F7F"}],this.authService.signatureRoles=this.authService.signatureRoles.concat(e.map(e=>Object.assign(Object.assign({},e),{type:"sign"})))}),0===this.signaturesService.signaturesList.length&&this.http.get("../rest/users/"+this.authService.user.id+"/signatures").subscribe(e=>{this.signaturesService.signaturesList=e.signatures}),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(e=>{this.authService.user.picture=e.picture})}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(Db),gi(r_),gi(oS),gi(oE),gi(aS),gi(rS),gi(LM),gi(JC))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zR(e,t){if(1&e&&(Hr(0,"ion-col"),Hr(1,"ion-button",7),Hr(2,"div",8),Ur(3,"ion-icon",9),Hr(4,"ion-label",10),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-note",11),Da(8),hc(9,"translate"),jr(),jr(),jr(),jr()),2&e){const e=t.$implicit;no(1),Vr("routerLink",e.route),no(2),Vr("name",e.icon),no(2),Oa(pc(6,4,"lang."+e.id)),no(3),Ma(" ",pc(9,6,"lang."+e.id+"Desc"),"")}}const VR=function(e){return[e]};let NR=(()=>{class e{constructor(e,t,n){this.signaturesService=e,this.authService=t,this.menu=n}ngOnInit(){this.menu.enable(!1,"right-menu")}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(aS),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration"]],decls:12,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],[3,"ngClass"],[4,"ngFor","ngForOf"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,4),Hr(9,"ion-grid"),Hr(10,"ion-row",5),Fr(11,zR,10,8,"ion-col",6),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,4,"lang.administration")),no(5),Vr("ngClass",ac(6,VR,t.signaturesService.mobileMode?"repeatRowsMobile":"repeatRows")),no(1),Vr("ngForOf",t.authService.user.administrativePrivileges))},directives:[Vx,yC,Ax,Jx,bC,Tx,zx,aC,Nu,ju,Mx,Cx,UC,a_,Nx,Zx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".container[_ngcontent-%COMP%]{flex:1;overflow:auto}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;text-align:center;width:100%;display:inline-block}@media (min-width:768px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:33%}}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{border-color:#f99830;padding:10px;width:90%;height:160px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:50px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;flex-direction:column}.admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.repeatRows[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr)}.repeatRowsMobile[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));-ms-grid-row-align:10px}"]}),e})();function HR(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function jR(e,t){if(1&e&&(Wr(0),Fr(1,HR,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function UR(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function WR(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function GR(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,WR,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/users/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,4,"lang.delete")),Vr("disabled",e.id===n.authService.user.id)}}let $R=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.authService=r,this.alertController=a,this.userList=[],this.loading=!0,this.displayedColumns=this.signaturesService.mobileMode?["firstname","lastname","email"]:["firstname","lastname","email","actions"]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.userList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ionViewWillEnter(){this.http.get("../rest/users?mode=all").pipe(k(e=>e.users),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.userList=e,this.sortedData=this.userList.slice()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/users/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:t=>{const n=this.userList.findIndex(t=>t.id===e.id);this.userList.splice(n,1),this.sortedData=this.userList.slice(),this.notificationService.success("lang.userDeleted")},error:e=>{this.notificationService.handleErrors(e)}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.userList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-users-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/users/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"disabled","title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,jR,2,1,"ng-container",9),Fr(23,UR,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,GR,6,6,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_usersAlt"),""),no(6),Ma(" ",pc(13,14,"lang.userCreation")," "),no(3),Ta("",t.userList.length," ",pc(16,16,"lang.manage_usersAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[1]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function qR(e,t){1&e&&(Ur(0,"div",5),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,na().data.msg),ss)}let YR=(()=>{class e{constructor(e,t,n){this.translate=e,this.data=t,this.dialogRef=n,null===this.data.msg&&(this.data.msg="")}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(OM),zr(PM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","blue",3,"click"],["mat-button","",1,"actions","btn","red",3,"click"],["mat-dialog-content","",3,"innerHTML"]],template:function(e,t){1&e&&(Hr(0,"div"),Hr(1,"h1",0),Da(2),hc(3,"translate"),jr(),Fr(4,qR,2,3,"div",1),Hr(5,"div",2),Hr(6,"button",3),Xr("click",function(){return t.dialogRef.close("yes")}),Da(7),hc(8,"translate"),jr(),Hr(9,"button",4),Xr("click",function(){return t.dialogRef.close("no")}),Da(10),hc(11,"translate"),jr(),jr(),jr()),2&e&&(La("modalContent ",t.data.mode,""),no(2),Oa(pc(3,7,t.data.title)),no(2),Vr("ngIf",null!==t.data.msg),no(3),Oa(pc(8,9,"lang.yes")),no(3),Oa(pc(11,11,"lang.no")))},directives:[BM,Wu,VM,mM,zM],pipes:[qA],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),e})();function ZR(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),Hr(4,"ion-checkbox",27),Xr("ionChange",function(t){Lt(e);const n=na().$implicit;return na(2).toggleSignMode(n,t.detail.checked)}),jr(),jr()}if(2&e){const e=na().$implicit,t=na(2);no(1),fa("color",e.color),no(1),Oa(pc(3,5,"lang."+e.id)),no(2),Vr("checked",t.user.signatureModes.indexOf(e.id)>-1)("disabled","stamp"===e.id)}}function QR(e,t){if(1&e&&(Wr(0),Fr(1,ZR,5,7,"ion-item",11),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","visa"!==e.id)}}function XR(e,t){if(1&e&&(Hr(0,"ion-note",33),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function KR(e,t){if(1&e){const e=qr();Hr(0,"ion-item",28),Hr(1,"ion-button",29),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPassword=!t.hideNewPassword}),Ur(2,"ion-icon",30),jr(),Hr(3,"ion-label",14),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-input",31),Xr("ngModelChange",function(t){return Lt(e),na(2).passwordRest.newPassword=t})("ionChange",function(){Lt(e);const t=na(2);return t.checkPasswordValidity(t.passwordRest.newPassword)}),jr(),Fr(7,XR,3,3,"ion-note",32),jr()}if(2&e){const e=na(2);no(2),Vr("name",e.hideNewPassword?"eye-outline":"eye-off-outline"),no(2),Oa(pc(5,5,"lang.newPassword")),no(2),Vr("type",e.hideNewPassword?"password":"text")("ngModel",e.passwordRest.newPassword),no(1),Vr("ngIf",e.handlePassword.error&&e.passwordRest.newPassword.length>0)}}function JR(e,t){1&e&&(Hr(0,"ion-note",33),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}function eL(e,t){1&e&&(Hr(0,"ion-note",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function tL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",28),Hr(1,"ion-button",29),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(2,"ion-icon",30),jr(),Hr(3,"ion-label",14),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-input",34),Xr("ngModelChange",function(t){return Lt(e),na(2).passwordRest.passwordConfirmation=t}),jr(),Fr(7,JR,3,3,"ion-note",32),Fr(8,eL,3,3,"ion-note",35),jr()}if(2&e){const e=na(2);no(2),Vr("name",e.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),no(2),Oa(pc(5,6,"lang.passwordConfirmation")),no(2),Vr("type",e.hideNewPasswordConfirm?"password":"text")("ngModel",e.passwordRest.passwordConfirmation),no(1),Vr("ngIf",e.passwordRest.passwordConfirmation!==e.passwordRest.newPassword&&e.passwordRest.passwordConfirmation.length>0),no(1),Vr("ngIf",e.passwordRest.passwordConfirmation===e.passwordRest.newPassword&&e.passwordRest.newPassword.length>0&&e.passwordRest.passwordConfirmation.length>0&&!e.handlePassword.error)}}function nL(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"form",12,13),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(3,"ion-content"),Hr(4,"ion-item"),Hr(5,"ion-label",14),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-input",15),Xr("ngModelChange",function(t){return Lt(e),na().user.login=t}),jr(),jr(),Hr(9,"ion-item"),Hr(10,"ion-label",14),Da(11),hc(12,"translate"),jr(),Hr(13,"ion-input",16),Xr("ngModelChange",function(t){return Lt(e),na().user.firstname=t}),jr(),jr(),Hr(14,"ion-item"),Hr(15,"ion-label",14),Da(16),hc(17,"translate"),jr(),Hr(18,"ion-input",17),Xr("ngModelChange",function(t){return Lt(e),na().user.lastname=t}),jr(),jr(),Hr(19,"ion-item"),Hr(20,"ion-label",14),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-input",18),Xr("ngModelChange",function(t){return Lt(e),na().user.email=t}),jr(),jr(),Hr(24,"ion-item"),Hr(25,"ion-label"),Da(26),hc(27,"translate"),jr(),Hr(28,"ion-toggle",19),Xr("ngModelChange",function(t){return Lt(e),na().user.isRest=t})("ionChange",function(t){return Lt(e),na().getPassRules(t)}),jr(),jr(),Hr(29,"ion-list"),Hr(30,"ion-list-header"),Hr(31,"ion-label",20),Da(32),hc(33,"translate"),jr(),jr(),Fr(34,QR,2,1,"ng-container",21),jr(),Fr(35,KR,8,7,"ion-item",22),Fr(36,tL,9,8,"ion-item",22),Hr(37,"ion-item",23),Hr(38,"div",24),Hr(39,"ion-button",25),Hr(40,"ion-label",26),Da(41),hc(42,"translate"),jr(),jr(),jr(),jr(),jr(),jr(),Gr()}if(2&e){const e=Br(2),t=na();no(6),Ma("",pc(7,23,"lang.login")," *"),no(2),Vr("maxlength",128)("readonly",!t.creationMode)("ngModel",t.user.login),no(3),Ma("",pc(12,25,"lang.firstname")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.firstname),no(3),Ma("",pc(17,27,"lang.lastname")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.lastname),no(3),Ma("",pc(22,29,"lang.email")," *"),no(2),Vr("maxlength",128)("ngModel",t.user.email),no(3),Oa(pc(27,31,"lang.restUser")),no(2),Vr("disabled",!t.creationMode)("ngModel",t.user.isRest)("checked",t.user.isRest),no(4),Oa(pc(33,33,"lang.signatureModes")),no(2),Vr("ngForOf",t.authService.signatureRoles),no(1),Vr("ngIf",t.user.isRest),no(1),Vr("ngIf",t.user.isRest),no(3),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(42,35,"lang.validate"))}}function iL(e,t){if(1&e&&(Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),jr(),jr()),2&e){const e=t.$implicit;no(2),Oa(e.label)}}function sL(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,iL,3,1,"ion-item",21),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.user.groups)}}function oL(e,t){1&e&&(Hr(0,"ion-list",38),Hr(1,"ion-item",39),Hr(2,"ion-label",40),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noAssociatedGroup")))}function rL(e,t){if(1&e&&(Wr(0),Hr(1,"ion-content"),Fr(2,sL,2,1,"ion-list",11),Fr(3,oL,5,3,"ion-list",37),jr(),Gr()),2&e){const e=na();no(2),Vr("ngIf",e.user.groups.length>0),no(1),Vr("ngIf",0===e.user.groups.length)}}let aL=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.creationMode=!0,this.loading=!0,this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",isRest:!1,signatureModes:["stamp"]},this.title="",this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.currentTool="info",this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordRest={newPassword:"",passwordConfirmation:""},this.ruleText="",this.otherRuleText="",this.showPassword=!1,this.handlePassword={error:!1,errorMsg:""}}ngOnInit(){this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.userCreation"),this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",signatureModes:["stamp"],isRest:!1},this.loading=!1):(this.creationMode=!1,this.http.get("../rest/users/"+e.id).pipe(k(e=>e.user),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.user=e,this.userClone=JSON.parse(JSON.stringify(this.user)),this.title=this.user.firstname+" "+this.user.lastname,this.user.isRest&&this.getPassRules({detail:{checked:!0}})}}))})}canValidate(){return!(this.user.isRest&&""!==this.passwordRest.newPassword&&(this.handlePassword.error||this.passwordRest.passwordConfirmation!==this.passwordRest.newPassword)||JSON.stringify(this.user)===JSON.stringify(this.userClone)&&""===this.passwordRest.newPassword)}onSubmit(){this.creationMode?this.createUser():this.modifyUser()}modifyUser(){this.loading=!0,this.http.put("../rest/users/"+this.user.id,this.user).pipe(Iv(()=>this.loading=!1),Ov(()=>{this.authService.user.id===this.user.id&&this.authService.updateUserInfoWithTokenRefresh(),""!==this.passwordRest.newPassword&&this.updateRestUser(),this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userUpdated")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}updateRestUser(){const e=new fb({Authorization:"Bearer "+this.authService.getToken()});this.http.put("../rest/users/"+this.user.id+"/password",this.passwordRest,{headers:e}).subscribe(()=>{this.passwordRest.newPassword="",this.passwordRest.passwordConfirmation=""},e=>{this.notificationService.handleErrors(e)})}createUser(){this.loading=!0,this.http.post("../rest/users",this.user).pipe(Iv(()=>this.loading=!1),Ov(e=>{this.user.isRest&&(this.user.id=e.id,this.updateRestUser()),this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userAdded")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}delete(){this.dialog.open(YR,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(e=>{"yes"===e&&(this.loading=!0,this.http.delete("../rest/users/"+this.user.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/users"]),this.notificationService.success("lang.userDeleted")}}))})}cancel(){this.router.navigate(["/administration/users"])}getPassRules(e){e.detail.checked&&(this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)}))}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}toggleSignMode(e,t){t?-1===this.user.signatureModes.indexOf(e.id)&&this.user.signatureModes.push(e.id):this.user.signatureModes=this.user.signatureModes.filter(t=>t!==e.id)}initTab(e){this.currentTool=e}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-user"]],decls:24,vars:13,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end"],[3,"src"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","groups",3,"disabled"],["name","people-sharp"],[4,"ngIf"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","login","required","","pattern","^[\\w.@-]*$",3,"maxlength","readonly","ngModel","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","ngModelChange"],["type","email","name","email","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"maxlength","ngModel","ngModelChange"],["slot","start","color","primary","name","isRest",3,"disabled","ngModel","checked","ngModelChange","ionChange"],["color","secondary"],[4,"ngFor","ngForOf"],["style","align-items: center;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["slot","start",3,"checked","disabled","ionChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","newPasswordRest",3,"type","ngModel","ngModelChange","ionChange"],["color","danger",4,"ngIf"],["color","danger"],["name","passwordConfirmation",3,"type","ngModel","ngModelChange"],["color","success",4,"ngIf"],["color","success"],["class","no-result",4,"ngIf"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),Hr(7,"ion-avatar",4),Ur(8,"img",5),jr(),jr(),jr(),Hr(9,"ion-header"),Hr(10,"ion-toolbar"),Hr(11,"ion-segment",6),Xr("ionChange",function(e){return t.initTab(e.detail.value)}),Hr(12,"ion-segment-button",7),Hr(13,"ion-label"),Da(14),hc(15,"translate"),jr(),Ur(16,"ion-icon",8),jr(),Hr(17,"ion-segment-button",9),Hr(18,"ion-label"),Da(19),hc(20,"translate"),jr(),Ur(21,"ion-icon",10),jr(),jr(),jr(),jr(),Fr(22,nL,43,37,"ng-container",11),Fr(23,rL,4,2,"ng-container",11)),2&e&&(Vr("translucent",!0),no(6),Oa(t.title),no(2),Vr("src",t.user.picture,os),no(3),Vr("value",t.currentTool),no(3),Oa(pc(15,9,"lang.informations")),no(3),Vr("disabled",t.creationMode),no(2),Oa(pc(20,11,"lang.manage_groups")),no(3),Vr("ngIf","info"===t.currentTool),no(1),Vr("ngIf","groups"===t.currentTool))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,wx,cC,ox,dC,Zx,Nx,Wu,Lm,am,Mm,Tx,Gx,Wx,ax,Jm,ib,tb,rm,Rm,vC,J_,Qx,Xx,ju,Cx,Dx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:30px}"]}),e})();function lL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function cL(e,t){if(1&e&&(Wr(0),Fr(1,lL,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function dL(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function uL(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function hL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,uL,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/groups/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.delete"))}}let pL=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.alertController=r,this.groupList=[],this.loading=!0,this.displayedColumns=["label","actions"]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.groupList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ionViewWillEnter(){this.http.get("../rest/groups").pipe(k(e=>e.groups),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.groupList=e,this.sortedData=this.groupList.slice()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/groups/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:t=>{const n=this.groupList.findIndex(t=>t.id===e.id);this.groupList.splice(n,1),this.sortedData=this.groupList.slice(),this.notificationService.success("lang.groupDeleted")}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.groupList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-groups-list"]],viewQuery:function(e,t){if(1&e&&(Tc(XT,3),Tc(uI,3)),2&e){let e;Mc(e=Rc())&&(t.paginator=e.first),Mc(e=Rc())&&(t.sort=e.first)}},decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/groups/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,cL,2,1,"ng-container",9),Fr(23,dL,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,hL,6,5,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_groupsAlt"),""),no(6),Ma(" ",pc(13,14,"lang.groupCreation")," "),no(3),Ta("",t.groupList.length," ",pc(16,16,"lang.manage_groupsAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[0]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function gL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",6),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).selectUser(n)}),Hr(1,"ion-label"),Da(2),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Ta(" ",e.firstname," ",e.lastname," ")}}function fL(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",4),Fr(2,gL,3,2,"ion-item",5),jr(),jr()),2&e){const e=na();no(1),Vr("items",e.usersList)}}function mL(e,t){1&e&&(Hr(0,"ion-item",7),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.emptyUsers")))}let bL=(()=>{class e{constructor(e,t){this.http=e,this.modalController=t,this.usersList=[]}ngOnInit(){this.http.get("../rest/users?mode=all").pipe(k(e=>e.users)).subscribe({next:e=>{this.usersList=e.filter(e=>-1===this.users.findIndex(t=>t.id===e.id))}})}selectUser(e){this.modalController.dismiss(e)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-users"]],inputs:{users:"users"},decls:8,vars:6,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 35%;",4,"ngIf"],["approxItemHeight","50px",2,"height","450px",3,"items"],["button","",3,"click",4,"virtualItem"],["button","",3,"click"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","35%"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),jr(),Hr(5,"ion-content"),Fr(6,fL,3,1,"ion-list",2),Fr(7,mL,4,3,"ion-item",3),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,4,"lang.users")),no(3),Vr("ngIf",t.usersList.length>0),no(1),Vr("ngIf",0===t.usersList.length))},directives:[Vx,yC,bC,Tx,Wu,Qx,qC,$C,Gx,Zx],pipes:[qA],encapsulation:2}),e})();var vL=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function yL(e,t){1&e&&(Hr(0,"ion-item",18),Hr(1,"ion-label",19),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Ma("",pc(3,1,"lang.privileges")," :"))}function wL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",20),Hr(1,"ion-toggle",21),Xr("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(){Lt(e);const n=t.$implicit;return na().togglePrivilege(n,!0)}),jr(),Hr(2,"ion-label",22),Xr("click",function(){Lt(e);const n=t.$implicit;return na().togglePrivilege(n,!1)}),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("name",e.id)("checked",e.checked)("ngModel",e.checked),no(2),Oa(pc(4,4,"lang."+e.id+"Admin"))}}function _L(e,t){1&e&&(Hr(0,"ion-item",18),Hr(1,"ion-label",19),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Ma("",pc(3,1,"lang.linkedUsers")," :"))}function xL(e,t){if(1&e&&(Hr(0,"div",34),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function CL(e,t){if(1&e&&(Wr(0),Fr(1,xL,3,4,"div",33),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function AL(e,t){if(1&e){const e=qr();Hr(0,"div",35),Hr(1,"ion-button",36),Xr("click",function(){return Lt(e),na(2).openUserList()}),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Ma(" ",pc(3,1,"lang.add")," "))}function SL(e,t){if(1&e&&(Hr(0,"div",42),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function kL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",37),Hr(1,"ion-label",38),Fr(2,SL,2,1,"div",39),jr(),Hr(3,"ion-button",40),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na(2);return n.stopPropagation(),s.unlinkUser(i)}),hc(4,"translate"),Ur(5,"ion-icon",41),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(1),aa("routerLink","/administration/users/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.unlinkUser"))}}function EL(e,t){if(1&e){const e=qr();Hr(0,"ion-infinite-scroll",43),Xr("ionInfinite",function(t){return Lt(e),na(2).loadData(t)}),Ur(1,"ion-infinite-scroll-content",44),hc(2,"translate"),jr()}2&e&&(no(1),Vr("loadingText",pc(2,1,"lang.loadingMoreData")))}function PL(e,t){1&e&&(Hr(0,"ion-item",45),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.emptyGroupUsers")))}function DL(e,t){if(1&e){const e=qr();Hr(0,"ion-content",23),Hr(1,"ion-list"),Hr(2,"ion-item",24),Wr(3,14),Hr(4,"ion-label",25),Xr("matSortChange",function(t){return Lt(e),na().sortData(t)}),Fr(5,CL,2,1,"ng-container",26),Fr(6,AL,4,3,"div",27),jr(),Gr(),Hr(7,"ion-button",28),Ur(8,"ion-icon"),jr(),jr(),Hr(9,"ion-virtual-scroll",29),Fr(10,kL,6,5,"ion-item",30),jr(),Fr(11,EL,3,3,"ion-infinite-scroll",31),jr(),Fr(12,PL,4,3,"ion-item",32),jr()}if(2&e){const e=na();no(4),Vr("matSortActive",e.displayedColumns[1]),no(1),Vr("ngForOf",e.displayedColumns),no(1),Vr("ngIf",e.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",e.sortedData),no(2),Vr("ngIf",e.group.users.length>7),no(1),Vr("ngIf",0===e.group.users.length)}}function OL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",46),Xr("click",function(){return Lt(e),na().deleteGroup()}),Hr(1,"ion-label",16),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Oa(pc(3,1,"lang.delete")))}let ML=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.popoverController=l,this.modalController=c,this.alertController=d,this.latinisePipe=u,this.creationMode=!0,this.loading=!0,this.title="",this.displayedColumns=["firstname","lastname","actions"],this.group={id:"",label:"",users:[],privileges:[]},this.groupClone=JSON.parse(JSON.stringify(this.group))}ngOnInit(){this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.groupCreation"),this.loading=!1,this.groupClone=JSON.parse(JSON.stringify(this.group))):(this.creationMode=!1,this.usersList=[],this.http.get("../rest/groups/"+e.id).pipe(k(e=>e.group),Iv(()=>{this.loading=!1})).subscribe({next:e=>{this.group=e,this.groupClone=JSON.parse(JSON.stringify(this.group)),this.title=this.group.label,this.updateDataTable()}}),this.http.get("../rest/users?mode=all").pipe(k(e=>e.users)).subscribe({next:e=>{this.usersList=e}}))})}updateDataTable(){this.sortedData=this.group.users.slice()}openUserList(e){return vL(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:bL,componentProps:{users:this.group.users}});yield e.present();const{data:t}=yield e.onWillDismiss();void 0!==t&&this.linkUser(t)})}canValidate(){return this.group.label!==this.groupClone.label}onSubmit(){this.creationMode?this.createGroup():this.modifyGroup()}linkUser(e){this.http.put("../rest/groups/"+this.group.id+"/users",{userId:e.id}).subscribe({next:()=>{this.group.users.push(e),this.updateDataTable(),this.notificationService.success("lang.userAdded")}})}unlinkUser(e){return vL(this,void 0,void 0,function*(){if(e.id===this.authService.user.id){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.deleteUser(e)}}]});yield t.present()}else this.deleteUser(e)})}deleteUser(e){this.http.delete("../rest/groups/"+this.group.id+"/users/"+e.id,{}).subscribe({next:()=>{const t=this.group.users.findIndex(t=>t.id===e.id);this.group.users.splice(t,1),this.updateDataTable(),this.notificationService.success("lang.userDeleted")}})}modifyGroup(){this.loading=!0,this.http.put("../rest/groups/"+this.group.id,this.group).subscribe({next:()=>{this.router.navigate(["/administration/groups"]),this.notificationService.success("lang.groupUpdated")}})}createGroup(){this.loading=!0,this.http.post("../rest/groups",this.group).subscribe({next:e=>{this.router.navigate(["/administration/groups/"+e.id]),this.notificationService.success("lang.groupAdded")}})}deleteGroup(){return vL(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/groups/"+this.group.id).subscribe({next:()=>{this.router.navigate(["/administration/groups"]),this.notificationService.success("lang.groupDeleted")}})}}]});yield e.present()})}togglePrivilege(e,t){return vL(this,void 0,void 0,function*(){if("manage_groups"===e.id&&e.checked){t||(e.checked=!e.checked);const n=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),message:this.translate.instant("lang.groupWarnMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{e.checked=!e.checked}},{text:this.translate.instant("lang.yes"),handler:()=>{this.updatePrivilege(e)}}]});yield n.present()}else t||(e.checked=!e.checked),setTimeout(()=>{this.updatePrivilege(e)},200)})}updatePrivilege(e){this.http.put("../rest/groups/"+this.group.id+"/privilege/"+e.id,{checked:e.checked}).subscribe({next:()=>{this.notificationService.success("lang.privilegeUpdated"),this.authService.updateUserInfoWithTokenRefresh()}})}cancel(){this.router.navigate(["/administration/groups"])}sortData(e){const t=this.group.users.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.group.users.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}loadData(e){this.http.get("../rest/groups/"+this.group.id).pipe(Ov(t=>{this.group.users=t.group.users,e.target.complete(),e.target.disabled=!0})).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS),zr(tA),zr(eA),zr(XC),zr(uE))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-group"]],viewQuery:function(e,t){if(1&e&&(Tc(XT,1),Tc(uI,1)),2&e){let e;Mc(e=Rc())&&(t.paginator=e.first),Mc(e=Rc())&&(t.sort=e.first)}},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"maxlength","ngModel","ngModelChange"],["lines","none",4,"ngIf"],[2,"display","grid","grid-gap","10px"],["style","cursor: pointer",4,"ngFor","ngForOf"],[2,"margin-left","4x","display","flex","width","50%",3,"placeholder","ionChange"],["style","height: 400px; overflow-y: auto;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click",4,"ngIf"],["lines","none"],["color","secondary"],[2,"cursor","pointer"],["slot","start","color","primary",3,"name","checked","ngModel","ngModelChange","click"],[3,"click"],[2,"height","400px","overflow-y","auto"],[2,"position","sticky","top","0px","z-index","1"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1;text-align: right;",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 5px;",4,"ngIf"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1","text-align","right"],["slot","end","color","primary","fille","outline","shape","round",3,"click"],[2,"display","flex"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","close-outline"],[2,"flex","1"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","5px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Hr(7,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-content"),Hr(10,"ion-item"),Hr(11,"ion-label",6),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",7),Xr("ngModelChange",function(e){return t.group.label=e}),jr(),jr(),Fr(15,yL,4,3,"ion-item",8),Hr(16,"div",9),Fr(17,wL,5,6,"ion-item",10),jr(),Fr(18,_L,4,3,"ion-item",8),Hr(19,"ion-searchbar",11),Xr("ionChange",function(e){return t.applyFilter(e.detail.value)}),hc(20,"translate"),jr(),Fr(21,DL,13,6,"ion-content",12),Hr(22,"ion-item",13),Hr(23,"div",14),Hr(24,"ion-button",15),Hr(25,"ion-label",16),Da(26),hc(27,"translate"),jr(),jr(),Fr(28,OL,4,3,"ion-button",17),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(6),Oa(t.title),no(6),Ma("",pc(13,17,"lang.label")," *"),no(2),Vr("maxlength",128)("ngModel",t.group.label),no(1),Vr("ngIf",!t.creationMode),no(1),ma("grid-2-col",t.signaturesService.mobileMode)("grid-3-col",!t.signaturesService.mobileMode),no(1),Vr("ngForOf",t.group.privileges),no(1),Vr("ngIf",!t.creationMode),no(1),Vr("placeholder",pc(20,19,"lang.filter")),no(2),Vr("ngIf",!t.creationMode),no(3),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(27,21,"lang.validate")),no(2),Vr("ngIf",!t.creationMode)}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,tb,rm,Rm,Wu,ju,lC,Cx,vC,J_,Qx,uI,Nx,qC,$C,vI,UC,a_,jx,Ux],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".privilegesList[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;display:inline-block;width:100%}@media (min-width:768px){.privilegesList[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.privilegesList[_ngcontent-%COMP%]{width:33%}}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center;margin-top:30px}legend[_ngcontent-%COMP%]{color:#f99830}.grid-2-col[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.grid-3-col[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}"]}),e})();function TL(e,t){if(1&e&&(Hr(0,"ion-select-option",10),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id)("disabled",!e.allowed),no(1),Ma(" ",pc(2,3,"lang."+e.id+"Connection"),"")}}function IL(e,t){if(1&e){const e=qr();Hr(0,"ion-select",8),Xr("ionChange",function(t){return Lt(e),na().changeConnection(t.detail.value)}),hc(1,"translate"),Fr(2,TL,3,5,"ion-select-option",9),jr()}if(2&e){const e=na();ra("cancelText",pc(1,3,"lang.cancel")),Vr("value",e.currentConnection.id),no(2),Vr("ngForOf",e.connectionList)}}function RL(e,t){if(1&e&&(Hr(0,"ion-col"),Hr(1,"ion-button",11),Hr(2,"div",12),Ur(3,"ion-icon",13),Hr(4,"ion-label",14),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-note",15),Da(8),hc(9,"translate"),jr(),jr(),jr(),jr()),2&e){const e=t.$implicit;no(1),Vr("routerLink",e.route),no(2),Vr("name",e.icon),no(2),Ma("",pc(6,4,"lang."+e.id)," "),no(3),Ma(" ",pc(9,6,"lang."+e.id+"Desc"),"")}}let LL=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.signaturesService=t,this.notificationService=n,this.alertController=i,this.authService=s,this.loading=!0,this.privileges=[{id:"manage_ldap_configurations",icon:"server-sharp",route:"/administration/connections/ldaps"}],this.id=0,this.label="",this.connectionList=[]}ngOnInit(){this.loading=!0,this.http.get("../rest/configurations",{params:{identifier:"connection"}}).pipe(Iv(()=>this.loading=!1)).subscribe({next:e=>{this.label=e.configurations.label,this.id=e.configurations.id,this.connectionList=e.configurations.availableConnections;const t=this.connectionList.findIndex(t=>t.id===e.configurations.value);this.currentConnection=void 0!==this.connectionList[t]?this.connectionList[t]:this.connectionList[0]}})}changeConnection(e){return t=this,void 0,i=function*(){this.http.patch("../rest/configurations/"+this.id,{label:this.label,value:e}).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.authService.updateUserInfoWithTokenRefresh(),this.notificationService.success("lang.connectionModeUpdated"),this.authService.authMode=e}})},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(QA),zr(XC),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-connection"]],decls:18,vars:9,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],["color","secondary"],[3,"value","cancelText","ionChange",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"value","cancelText","ionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content",null,4),Hr(10,"ion-item"),Hr(11,"ion-label",5),Da(12),hc(13,"translate"),jr(),Fr(14,IL,3,5,"ion-select",6),jr(),Hr(15,"ion-grid"),Hr(16,"ion-row"),Fr(17,RL,10,8,"ion-col",7),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,5,"lang.manage_connections")),no(6),Oa(pc(13,7,"lang.connectionMode")),no(2),Vr("ngIf",t.currentConnection),no(3),Vr("ngForOf",t.privileges))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Tx,Gx,Zx,Wu,zx,aC,ju,uC,ox,hC,Mx,Cx,UC,a_,Nx,tC],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}"]}),e})();function FL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;Vr("mat-sort-header",e),no(1),Ma(" ",pc(2,2,"lang."+e)," ")}}function BL(e,t){if(1&e&&(Wr(0),Fr(1,FL,3,4,"div",14),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","actions"!==e)}}function zL(e,t){if(1&e){const e=qr();Hr(0,"div",16),Hr(1,"ion-searchbar",17),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(2,"translate"),jr(),jr()}2&e&&(no(1),Vr("placeholder",pc(2,1,"lang.filter")))}function VL(e,t){if(1&e&&(Hr(0,"div",16),Da(1),jr()),2&e){const e=t.$implicit,n=na().$implicit;no(1),Ma(" ",n[e]," ")}}function NL(e,t){if(1&e){const e=qr();Hr(0,"ion-item",7),Hr(1,"ion-label",18),Fr(2,VL,2,1,"div",19),jr(),Hr(3,"ion-button",20),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.delete(i)}),hc(4,"translate"),Ur(5,"ion-icon",21),jr(),jr()}if(2&e){const e=t.$implicit,n=na();no(1),aa("routerLink","/administration/connections/ldaps/",e.id,""),no(1),Vr("ngForOf",n.displayedColumns),no(1),ra("title",pc(4,3,"lang.delete"))}}let HL=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.signaturesService=s,this.notificationService=o,this.authService=r,this.alertController=a,this.ldapList=[],this.loading=!0,this.displayedColumns=["label","actions"]}updateDataTable(){this.sortedData=this.ldapList.slice()}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.ldapList.filter(t=>{let n=!1;return this.displayedColumns.forEach(i=>{t[i]&&this.latinisePipe.transform(t[i].toLowerCase()).includes(e)&&(n=!0)}),n})}ngOnInit(){}ionViewWillEnter(){this.http.get("../rest/configurations",{params:{identifier:"ldapServer"}}).pipe(Iv(()=>this.loading=!1)).subscribe({next:e=>{this.ldapList=e.configurations,this.updateDataTable()}})}delete(e){return t=this,void 0,i=function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/configurations/"+e.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{const t=this.ldapList.findIndex(t=>t.id===e.id);this.ldapList.splice(t,1),this.updateDataTable(),this.notificationService.success("lang.ldapDeleted")}})}}]});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}sortData(e){const t=this.ldapList.slice();this.sortedData=e.active&&""!==e.direction?t.sort((t,n)=>function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)):t}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-ldap-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/connections/ldaps/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),hc(8,"translate"),jr(),jr(),Hr(9,"ion-toolbar",1),Hr(10,"ion-buttons",2),Hr(11,"ion-button",4),Da(12),hc(13,"translate"),jr(),jr(),Hr(14,"ion-title",5),Da(15),hc(16,"translate"),jr(),jr(),jr(),Hr(17,"ion-content",null,6),Hr(19,"ion-list"),Hr(20,"ion-item",7),Hr(21,"ion-label",8),Xr("matSortChange",function(e){return t.sortData(e)}),Fr(22,BL,2,1,"ng-container",9),Fr(23,zL,3,3,"div",10),jr(),Hr(24,"ion-button",11),Ur(25,"ion-icon"),jr(),jr(),Hr(26,"ion-virtual-scroll",12),Fr(27,NL,6,5,"ion-item",13),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Ta("",pc(7,10,"lang.administration")," ",pc(8,12,"lang.manage_ldap_configurationsAlt")," "),no(6),Ma(" ",pc(13,14,"lang.ldapCreation")," "),no(3),Ta("",t.ldapList.length," ",pc(16,16,"lang.manage_ldap_configurationsAlt"),""),no(6),Vr("matSortActive",t.displayedColumns[0]),no(1),Vr("ngForOf",t.displayedColumns),no(1),Vr("ngIf",t.displayedColumns.indexOf("actions")>-1),no(3),Vr("items",t.sortedData))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Cx,UC,a_,Tx,Qx,Gx,Zx,uI,ju,Wu,Nx,qC,$C,vI,lC,ax],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function jL(e,t){return t?n=>n.pipe(jL((n,i)=>F(e(n,i)).pipe(k((e,s)=>t(n,e,i,s))))):t=>t.lift(new UL(e))}class UL{constructor(e){this.project=e}call(e,t){return t.subscribe(new WL(e,this.project))}}class WL extends z{constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}_innerSub(e){const t=new B(this),n=this.destination;n.add(t);const i=V(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function GL(e,t){1&e&&(Wr(0),Da(1),hc(2,"translate"),Gr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.connectionInProgress"),"... "))}function $L(e,t){if(1&e&&(Wr(0),Da(1),Gr()),2&e){const e=na(2);no(1),Ma(" ",e.ldapTest.result," ")}}function qL(e,t){if(1&e&&(Hr(0,"div",16),Fr(1,GL,3,3,"ng-container",17),Fr(2,$L,2,1,"ng-container",17),jr()),2&e){const e=na();no(1),Vr("ngIf",e.loadingTest),no(1),Vr("ngIf",""!==e.ldapTest.result)}}let YL=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.latinisePipe=n,this.dialog=i,this.notificationService=s,this.alertController=o,this.loadingTest=!1}ngOnInit(){}testLdap(){this.loadingTest=!0,this.ldapTest.result="",this.canValidate?this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(Ov(()=>{this.notificationService.success("lang.ldapUpdated")}),jL(()=>this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}})),Ov(e=>{this.ldapTest.result=e.informations,e.connection&&this.notificationService.success("lang.ldapConnectionSucceeded")}),Iv(()=>this.loadingTest=!1),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe():this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}}).pipe(Ov(e=>{this.ldapTest.result=e.informations,e.connection&&this.notificationService.success("lang.ldapConnectionSucceeded")}),Iv(()=>this.loadingTest=!1),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(uE),zr(LM),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-check-connection"]],inputs:{ldapTest:"ldapTest",ldap:"ldap",canValidate:"canValidate"},decls:45,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","login","required","",3,"ngModel","ngModelChange"],["name","password","required","",3,"ngModel","ngModelChange"],["color","secondary"],["name","uri","readonly","",3,"ngModel","ngModelChange"],["name","pathLogin","readonly","",3,"value"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],[1,"bash"],[4,"ngIf"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"form",3,4),Xr("ngSubmit",function(){return t.testLdap()}),Hr(9,"ion-content",null,5),Hr(11,"ion-item"),Hr(12,"ion-label",6),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",7),Xr("ngModelChange",function(e){return t.ldapTest.login=e}),jr(),jr(),Hr(16,"ion-item"),Hr(17,"ion-label",6),Da(18),hc(19,"translate"),jr(),Hr(20,"ion-input",8),Xr("ngModelChange",function(e){return t.ldapTest.password=e}),jr(),jr(),Hr(21,"ion-card"),Hr(22,"ion-card-header"),Hr(23,"ion-card-subtitle",9),Da(24),hc(25,"translate"),jr(),jr(),Hr(26,"ion-card-content"),Hr(27,"ion-item"),Hr(28,"ion-label",1),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-input",10),Xr("ngModelChange",function(e){return t.ldap.value.uri=e}),jr(),jr(),Hr(32,"ion-item"),Hr(33,"ion-label",1),Da(34),hc(35,"translate"),jr(),Ur(36,"ion-input",11),jr(),Fr(37,qL,3,2,"div",12),jr(),jr(),jr(),Hr(38,"ion-footer",13),Hr(39,"ion-toolbar"),Hr(40,"ion-buttons",14),Hr(41,"ion-button",15),Hr(42,"ion-label"),Da(43),hc(44,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(5),Oa(pc(6,14,"lang.connectionTest")),no(8),Ma("",pc(14,16,"lang.login")," *"),no(2),Vr("ngModel",t.ldapTest.login),no(3),Ma("",pc(19,18,"lang.password")," *"),no(2),Vr("ngModel",t.ldapTest.password),no(4),Ma("",pc(25,20,"lang.ldapInformations")," :"),no(5),Ma("",pc(30,22,"lang.uri")," :"),no(2),Vr("ngModel",t.ldap.value.uri),no(3),Ma("",pc(35,24,"lang.login")," :"),no(2),Vr("value",t.ldap.value.prefix?t.ldap.value.prefix+"\\"+t.ldapTest.login+t.ldap.value.suffix:t.ldapTest.login+t.ldap.value.suffix),no(1),Vr("ngIf",""!==t.ldapTest.result||t.loadingTest),no(4),Vr("disabled",!e.form.valid||t.loadingTest),no(2),Oa(pc(44,26,"lang.connectionTest"))}},directives:[Vx,yC,Ax,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,rm,Rm,Sx,Ex,Px,kx,Wu,Bx,Cx],pipes:[qA],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),e})();function ZL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",18),Xr("click",function(){return Lt(e),na().checkConnection()}),Hr(1,"ion-label",15),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Oa(pc(3,1,"lang.connectionTest")))}function QL(e,t){if(1&e){const e=qr();Hr(0,"ion-button",19),Xr("click",function(){return Lt(e),na().delete()}),Hr(1,"ion-label",15),Da(2),hc(3,"translate"),jr(),jr()}if(2&e){const e=na();Vr("disabled","ldap"===e.authService.authMode&&1===e.ldap.count),no(2),Oa(pc(3,2,"lang.delete"))}}let XL=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.http=e,this.translate=t,this.route=n,this.router=i,this.signaturesService=s,this.notificationService=o,this.dialog=r,this.authService=a,this.modalController=l,this.creationMode=!0,this.loading=!0,this.loadingTest=!1,this.ldapTest={login:"",password:"",result:""},this.ldap={id:0,label:"",identifier:"ldapServer",value:{uri:"",ssl:!1,prefix:"",suffix:"",baseDN:""}},this.title=""}ngOnInit(){this.ldapTest.login=this.authService.user.login,this.route.params.subscribe(e=>{void 0===e.id?(this.creationMode=!0,this.title=this.translate.instant("lang.ldapCreation"),this.loading=!1):(this.creationMode=!1,this.http.get("../rest/configurations/"+e.id).pipe(k(e=>e.configuration),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.ldap=e,this.ldapClone=JSON.parse(JSON.stringify(this.ldap)),this.title=this.ldap.label}}))})}canValidate(){return JSON.stringify(this.ldap)!==JSON.stringify(this.ldapClone)}onSubmit(){this.creationMode?this.createLdap():this.modifyLdap()}modifyLdap(){this.loading=!0,this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapUpdated")}})}createLdap(){this.loading=!0,this.http.post("../rest/configurations",this.ldap).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapAdded")}})}delete(){this.dialog.open(YR,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(e=>{"yes"===e&&(this.loading=!0,this.http.delete("../rest/configurations/"+this.ldap.id).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.router.navigate(["/administration/connections/ldaps"]),this.notificationService.success("lang.ldapDeleted")}}))})}cancel(){this.router.navigate(["/administration/connections/ldaps"])}checkConnection(e){return t=this,void 0,i=function*(){const e=yield this.modalController.create({component:YL,componentProps:{ldapTest:this.ldapTest,ldap:this.ldap,canValidate:this.canValidate()}});yield e.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(r_),zr(oS),zr(QA),zr(LM),zr(aS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-ldap"]],decls:49,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"ngModel","ngModelChange"],["name","uri","required","",3,"ngModel","ngModelChange"],["name","baseDN",3,"ngModel","ngModelChange"],["name","prefix",3,"ngModel","ngModelChange"],["name","suffix",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Hr(7,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-content"),Hr(10,"ion-item"),Hr(11,"ion-label",6),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",7),Xr("ngModelChange",function(e){return t.ldap.label=e}),jr(),jr(),Hr(15,"ion-item"),Hr(16,"ion-label",6),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-input",8),Xr("ngModelChange",function(e){return t.ldap.value.uri=e}),jr(),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",6),Da(22),hc(23,"translate"),jr(),Hr(24,"ion-input",9),Xr("ngModelChange",function(e){return t.ldap.value.baseDN=e}),jr(),Hr(25,"ion-note"),Da(26,"ex: dc=maarch,dc=com"),jr(),jr(),Hr(27,"ion-item"),Hr(28,"ion-label",6),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-input",10),Xr("ngModelChange",function(e){return t.ldap.value.prefix=e}),jr(),Hr(32,"ion-note"),Da(33,"ex: MAARCH"),jr(),jr(),Hr(34,"ion-item"),Hr(35,"ion-label",6),Da(36),hc(37,"translate"),jr(),Hr(38,"ion-input",11),Xr("ngModelChange",function(e){return t.ldap.value.suffix=e}),jr(),Hr(39,"ion-note"),Da(40,"ex: @maarch.com"),jr(),jr(),Hr(41,"ion-item",12),Hr(42,"div",13),Hr(43,"ion-button",14),Hr(44,"ion-label",15),Da(45),hc(46,"translate"),jr(),jr(),Fr(47,ZL,4,3,"ion-button",16),Fr(48,QL,4,4,"ion-button",17),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(6),Oa(t.title),no(6),Ma("",pc(13,16,"lang.label")," *"),no(2),Vr("ngModel",t.ldap.label),no(3),Ma("",pc(18,18,"lang.uri")," *"),no(2),Vr("ngModel",t.ldap.value.uri),no(3),Oa(pc(23,20,"lang.baseDN")),no(2),Vr("ngModel",t.ldap.value.baseDN),no(5),Oa(pc(30,22,"lang.prefix")),no(2),Vr("ngModel",t.ldap.value.prefix),no(5),Oa(pc(37,24,"lang.suffix")),no(2),Vr("ngModel",t.ldap.value.suffix),no(5),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(46,26,"lang.validate")),no(2),Vr("ngIf",!t.creationMode),no(1),Vr("ngIf",!t.creationMode)}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,rm,Rm,tC,Cx,Wu],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})();function KL(e,t){if(1&e&&(Hr(0,"ion-item"),Ur(1,"ion-icon",13),Hr(2,"ion-label",14),Da(3),hc(4,"translate"),jr(),jr()),2&e){const e=na();no(1),Vr("color","close-outline"===e.emailSendResult.icon?"danger":"primary")("name",e.emailSendResult.icon),no(1),Vr("color","close-outline"===e.emailSendResult.icon?"danger":"primary"),no(1),Oa(pc(4,4,e.emailSendResult.msg))}}function JL(e,t){if(1&e&&(Hr(0,"div",15),Da(1),jr()),2&e){const e=na();no(1),Ma(" ",e.emailSendResult.debug," ")}}let eF=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.translate=t,this.dialog=n,this.notificationService=i,this.alertController=s,this.emailSendLoading=!1,this.emailSendResult={icon:"",msg:"",debug:"",error:!1}}ngOnInit(){}testEmailSend(){this.emailSendResult={icon:"paper-plane-outline",msg:"lang.emailSendInProgress",debug:"",error:!1};const e={sender:this.sendmailFrom,recipients:[this.recipientTest],subject:"["+this.translate.instant("lang.doNotReply")+"] "+this.translate.instant("lang.emailSendTest"),status:"EXPRESS",body:this.translate.instant("lang.emailSendTest"),isHtml:!1};this.emailSendLoading=!0,this.http.post("../rest/emails",e).pipe(Ov(e=>{this.emailSendResult=e.isSent?{icon:"checkmark-outline",msg:"lang.emailSendSuccess",debug:"",error:!1}:{icon:"close-outline",msg:"lang.emailSendFailed",debug:e.informations,error:!0}}),Iv(()=>this.emailSendLoading=!1)).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(LM),zr(QA),zr(XC))},e.\u0275cmp=$e({type:e,selectors:[["app-check-email-connection"]],inputs:{profileInfo:"profileInfo",sendmailFrom:"sendmailFrom",recipientTest:"recipientTest"},decls:25,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","recipientTest","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],["slot","start",3,"color","name"],[3,"color"],[1,"bash"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"form",3,4),Xr("ngSubmit",function(){return t.testEmailSend()}),Hr(9,"ion-content",null,5),Hr(11,"ion-item"),Hr(12,"ion-label",6),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",7),Xr("ngModelChange",function(e){return t.recipientTest=e}),jr(),jr(),Fr(16,KL,5,6,"ion-item",8),Fr(17,JL,2,1,"div",9),jr(),Hr(18,"ion-footer",10),Hr(19,"ion-toolbar"),Hr(20,"ion-buttons",11),Hr(21,"ion-button",12),Hr(22,"ion-label"),Da(23),hc(24,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(8);Vr("translucent",!0),no(5),Oa(pc(6,9,"lang.emailSendTest")),no(8),Ma("",pc(14,11,"lang.mailTo")," *"),no(2),Vr("ngModel",t.recipientTest)("disabled",t.emailSendLoading),no(1),Vr("ngIf",""!=t.emailSendResult.msg),no(1),Vr("ngIf",t.emailSendResult.error),no(4),Vr("disabled",!e.form.valid||t.emailSendLoading),no(2),Oa(pc(24,13,"lang.connectionTest"))}},directives:[Vx,yC,Ax,_x,jC,bC,Lm,am,Mm,Tx,Gx,Zx,Wx,ax,Jm,ib,rm,Rm,Wu,Bx,Cx,Nx],pipes:[qA],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),e})();function tF(e,t){if(1&e&&(Hr(0,"ion-select-option",27),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id),no(1),Ma("",pc(2,2,e.label)," ")}}function nF(e,t){if(1&e&&(Hr(0,"ion-select-option",27),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e.id),no(1),Ma(" ",pc(2,2,e.label)," ")}}function iF(e,t){if(1&e){const e=qr();Hr(0,"form",5,6),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(2,"ion-content"),Hr(3,"ion-item"),Hr(4,"ion-label",7),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-select",8),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.type=t}),Fr(8,tF,3,4,"ion-select-option",9),jr(),jr(),Hr(9,"ion-grid"),Hr(10,"ion-row"),Hr(11,"ion-col",10),Hr(12,"ion-item"),Hr(13,"ion-label",7),Da(14),hc(15,"translate"),jr(),Hr(16,"ion-select",11),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.secure=t}),Fr(17,nF,3,4,"ion-select-option",9),jr(),jr(),jr(),Hr(18,"ion-col",12),Hr(19,"ion-item"),Hr(20,"ion-label",7),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-input",13),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.host=t}),jr(),jr(),jr(),Hr(24,"ion-col",10),Hr(25,"ion-item"),Hr(26,"ion-label",7),Da(27),hc(28,"translate"),jr(),Hr(29,"ion-input",14),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.port=t}),jr(),jr(),jr(),jr(),jr(),Hr(30,"ion-item"),Hr(31,"ion-toggle",15),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.auth=t})("ngModelChange",function(){return Lt(e),na().cleanAuthInfo()}),jr(),Hr(32,"ion-label"),Da(33),hc(34,"translate"),jr(),jr(),Hr(35,"ion-item"),Hr(36,"ion-label",7),Da(37),hc(38,"translate"),jr(),Hr(39,"ion-input",16),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.user=t}),jr(),jr(),Hr(40,"ion-item",17),Hr(41,"ion-button",18),Xr("click",function(){Lt(e);const t=na();return t.hidePassword=!t.hidePassword}),Ur(42,"ion-icon",19),jr(),Hr(43,"ion-label",7),Da(44),jr(),Hr(45,"ion-input",20),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.password=t}),jr(),jr(),Hr(46,"ion-item"),Hr(47,"ion-label",7),Da(48),hc(49,"translate"),jr(),Hr(50,"ion-input",21),Xr("ngModelChange",function(t){return Lt(e),na().sendmail.from=t}),jr(),jr(),Hr(51,"ion-item",22),Hr(52,"div",23),Hr(53,"ion-button",24),Xr("click",function(){return Lt(e),na().checkConnection()}),Hr(54,"ion-label",25),Da(55),hc(56,"translate"),jr(),jr(),Hr(57,"ion-button",26),Hr(58,"ion-label",25),Da(59),hc(60,"translate"),jr(),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=Br(1),t=na();no(5),Ma("",pc(6,34,"lang.configurationType")," *"),no(2),Vr("ngModel",t.sendmail.type),no(1),Vr("ngForOf",t.smtpTypeList),no(6),Ma("",pc(15,36,"lang.smtpAuth")," * "),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.secure)("value",t.sendmail.secure),no(1),Vr("ngForOf",t.smtpSecList),no(4),Ma("",pc(22,38,"lang.host")," *"),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.host),no(4),Ma("",pc(28,40,"lang.port")," *"),no(2),Vr("disabled","smtp"!=t.sendmail.type)("ngModel",t.sendmail.port),no(2),Vr("ngModel",t.sendmail.auth)("checked",t.sendmail.auth)("disabled","smtp"!=t.sendmail.type),no(2),Oa(pc(34,42,"lang.enableAuth")),no(4),Ma("",pc(38,44,"lang.id")," *"),no(2),Vr("ngModel",t.sendmail.user)("disabled",!t.sendmail.auth||"smtp"!=t.sendmail.type),no(3),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(2),Ta("",t.passwordLanguage," ",t.sendmail.passwordAlreadyExists?"":"*",""),no(1),Vr("type",t.hidePassword?"password":"text")("ngModel",t.sendmail.password)("disabled",!t.sendmail.auth||"smtp"!=t.sendmail.type)("required",!t.sendmail.passwordAlreadyExists),no(3),Oa(pc(49,46,"lang.mailFrom")),no(2),Vr("ngModel",t.sendmail.from)("disabled","smtp"!=t.sendmail.type),no(5),Oa(pc(56,48,"lang.connectionTest")),no(2),Vr("disabled",!e.form.valid||!t.canValidate()),no(2),Oa(pc(60,50,"lang.validate"))}}let sF=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.http=e,this.translate=t,this.route=n,this.signaturesService=i,this.notificationService=s,this.dialog=o,this.authService=r,this.modalController=a,this.loading=!0,this.title="",this.passwordLanguage="",this.hidePassword=!0,this.smtpTypeList=[{id:"smtp",label:"lang.smtpclient"},{id:"sendmail",label:"lang.smtprelay"},{id:"qmail",label:"lang.qmail"},{id:"mail",label:"lang.phpmail"}],this.smtpSecList=[{id:"",label:"lang.none"},{id:"ssl",label:"ssl"},{id:"tls",label:"tls"}]}ngOnInit(){this.route.params.subscribe(()=>{this.http.get("../rest/configurations/1").pipe(k(e=>e.configuration),Iv(()=>this.loading=!1)).subscribe({next:e=>{this.sendmail=e.value,this.sendmailLabel=e.label,this.sendmailClone=JSON.parse(JSON.stringify(this.sendmail)),this.title=this.translate.instant("lang.manage_email_configuration"),this.passwordLanguage=this.translate.instant(this.sendmail.passwordAlreadyExists?"lang.passwordModification":"lang.password")}})})}canValidate(){return JSON.stringify(this.sendmail)!==JSON.stringify(this.sendmailClone)}onSubmit(){this.loading=!0,this.http.patch("../rest/configurations/1",{value:this.sendmail,label:this.sendmailLabel}).pipe(Iv(()=>this.loading=!1)).subscribe({next:()=>{this.sendmailClone=JSON.parse(JSON.stringify(this.sendmail)),this.notificationService.success("lang.emailConfigurationUpdated")}})}cleanAuthInfo(){this.sendmail.passwordAlreadyExists=!1,this.sendmail.user="",this.sendmail.password=""}checkConnection(e){return t=this,void 0,i=function*(){const e=JSON.parse(JSON.stringify(this.authService.user));JSON.stringify(this.sendmailClone)!==JSON.stringify(this.sendmail)&&this.onSubmit();const t=yield this.modalController.create({component:eF,componentProps:{sendmailFrom:this.sendmail.from,recipientTest:e.email}});yield t.present()},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(Ny),zr(oS),zr(QA),zr(LM),zr(aS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-sendmail"]],decls:8,vars:3,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","sendmailForm",3,"ngSubmit",4,"ngIf"],["id","sendmailForm",2,"display","contents",3,"ngSubmit"],["sendmailForm","ngForm"],["color","secondary","position","floating"],["name","smtpType","interface","popover","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["size","2"],["name","SMTPSecure","interface","popover","required","",3,"disabled","ngModel","value","ngModelChange"],["size","8"],["name","host","required","",3,"disabled","ngModel","ngModelChange"],["type","number","name","port","required","",3,"disabled","ngModel","ngModelChange"],["name","SMTPAuth",3,"ngModel","checked","disabled","ngModelChange"],["name","user","required","",3,"ngModel","disabled","ngModelChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","password",3,"type","ngModel","disabled","required","ngModelChange"],["name","mailFrom","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],[2,"font-size","13px"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[3,"value"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),jr(),jr(),jr(),Fr(7,iF,61,52,"form",4)),2&e&&(Vr("translucent",!0),no(6),Oa(t.title),no(1),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Wu,Lm,am,Mm,Tx,Gx,Zx,uC,ox,Jm,rm,Rm,ju,zx,aC,Mx,Wx,ax,tx,vC,J_,Cx,Nx,ib,hC],pipes:[qA],styles:[".testSendTo[_ngcontent-%COMP%]{width:95%;margin-top:10px;margin-left:10px}.bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px;word-wrap:break-word}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:25px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.cancel[_ngcontent-%COMP%]{position:absolute;top:10px;left:0;height:65px;width:65px;font-size:35px;color:#fff}.auth-container[_ngcontent-%COMP%]{display:flex}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100px;padding-right:10px}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:50px;padding-left:10px}@media (max-width:360px){.auth-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100%;padding-right:0}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{width:100%;flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:100%;padding-left:0}}"]}),e})();function oF(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function rF(e,t,n,i){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=i}function aF(e,t){var n=this,i=t||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.throttle="throttle"in i?i.throttle:16,this.minDistance="minDistance"in i?i.minDistance:5,this._strokeMoveUpdate=this.throttle?function(e,t,n){var i,s,o,r=null,a=0;n||(n={});var l=function(){a=!1===n.leading?0:Date.now(),r=null,o=e.apply(i,s),r||(i=s=null)};return function(){var c=Date.now();a||!1!==n.leading||(a=c);var d=t-(c-a);return i=this,s=arguments,d<=0||d>t?(r&&(clearTimeout(r),r=null),a=c,o=e.apply(i,s),r||(i=s=null)):r||!1===n.trailing||(r=setTimeout(l,d)),o}}(aF.prototype._strokeUpdate,this.throttle):aF.prototype._strokeUpdate,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onBegin=i.onBegin,this.onEnd=i.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()}oF.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},oF.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},oF.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},rF.prototype.length=function(){for(var e=0,t=void 0,n=void 0,i=0;i<=10;i+=1){var s=i/10,o=this._point(s,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(s,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var a=o-t,l=r-n;e+=Math.sqrt(a*a+l*l)}t=o,n=r}return e},rF.prototype._point=function(e,t,n,i,s){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*i*(1-e)*e*e+s*e*e*e},aF.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},aF.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Image,s=n.ratio||window.devicePixelRatio||1,o=n.width||this._canvas.width/s,r=n.height||this._canvas.height/s;this._reset(),i.src=e,i.onload=function(){t._ctx.drawImage(i,0,0,o,r)},this._isEmpty=!1},aF.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return(t=this._canvas).toDataURL.apply(t,[e].concat(i))}},aF.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},aF.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)},aF.prototype.isEmpty=function(){return this._isEmpty},aF.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},aF.prototype._strokeUpdate=function(e){var t=this._createPoint(e.clientX,e.clientY),n=this._data[this._data.length-1],i=n&&n[n.length-1],s=i&&t.distanceTo(i)<this.minDistance;if(!i||!s){var o=this._addPoint(t),r=o.curve,a=o.widths;r&&a&&this._drawCurve(r,a.start,a.end),this._data[this._data.length-1].push({x:t.x,y:t.y,time:t.time,color:this.penColor})}},aF.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)},aF.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},aF.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)},aF.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},aF.prototype._createPoint=function(e,t,n){var i=this._canvas.getBoundingClientRect();return new oF(e-i.left,t-i.top,n||(new Date).getTime())},aF.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 i=(n=this._calculateCurveControlPoints(t[0],t[1],t[2])).c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var s=new rF(t[1],i,n.c1,t[2]),o=this._calculateCurveWidths(s);return t.shift(),{curve:s,widths:o}}return{}},aF.prototype._calculateCurveControlPoints=function(e,t,n){var i=e.x-t.x,s=e.y-t.y,o=t.x-n.x,r=t.y-n.y,a=(e.x+t.x)/2,l=(e.y+t.y)/2,c=(t.x+n.x)/2,d=(t.y+n.y)/2,u=Math.sqrt(i*i+s*s),h=Math.sqrt(o*o+r*r),p=h/(u+h),g=t.x-(c+(a-c)*p),f=t.y-(d+(l-d)*p);return{c1:new oF(a+g,l+f),c2:new oF(c+g,d+f)}},aF.prototype._calculateCurveWidths=function(e){var t={start:null,end:null},n=this.velocityFilterWeight*e.endPoint.velocityFrom(e.startPoint)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(n);return t.start=this._lastWidth,t.end=i,this._lastVelocity=n,this._lastWidth=i,t},aF.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},aF.prototype._drawPoint=function(e,t,n){var i=this._ctx;i.moveTo(e,t),i.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},aF.prototype._drawCurve=function(e,t,n){var i=this._ctx,s=n-t,o=Math.floor(e.length());i.beginPath();for(var r=0;r<o;r+=1){var a=r/o,l=a*a,c=l*a,d=1-a,u=d*d,h=u*d,p=h*e.startPoint.x;p+=3*u*a*e.control1.x,p+=3*d*l*e.control2.x;var g=h*e.startPoint.y;g+=3*u*a*e.control1.y,g+=3*d*l*e.control2.y,this._drawPoint(p+=c*e.endPoint.x,g+=c*e.endPoint.y,t+c*s)}i.closePath(),i.fill()},aF.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()},aF.prototype._fromData=function(e,t,n){for(var i=0;i<e.length;i+=1){var s=e[i];if(s.length>1)for(var o=0;o<s.length;o+=1){var r=s[o],a=new oF(r.x,r.y,r.time),l=r.color;if(0===o)this.penColor=l,this._reset(),this._addPoint(a);else if(o!==s.length-1){var c=this._addPoint(a),d=c.curve,u=c.widths;d&&u&&t(d,u,l)}}else this._reset(),n(s[0])}},aF.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,i=Math.max(window.devicePixelRatio||1,1),s=n.width/i,o=n.height/i,r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttributeNS(null,"width",n.width),r.setAttributeNS(null,"height",n.height),this._fromData(t,function(e,t,n){var i=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var s="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);i.setAttribute("d",s),i.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),i.setAttribute("stroke",n),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),r.appendChild(i)}},function(t){var n=document.createElement("circle"),i="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",i),n.setAttribute("cx",t.x),n.setAttribute("cy",t.y),n.setAttribute("fill",t.color),r.appendChild(n)});var a='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+s+" "+o+'" width="'+s+'" height="'+o+'">',l=r.innerHTML;if(void 0===l){var c=document.createElement("dummy"),d=r.childNodes;c.innerHTML="";for(var u=0;u<d.length;u+=1)c.appendChild(d[u].cloneNode(!0));l=c.innerHTML}return"data:image/svg+xml;base64,"+btoa(a+l+"</svg>")},aF.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},aF.prototype.toData=function(){return this._data};var lF=aF;let cF=(()=>{class e{constructor(e){this.elementRef=e,this.options=this.options||{},this.onBeginEvent=new yc,this.onEndEvent=new yc}ngAfterContentInit(){const 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 lF(e,this.options),this.signaturePad.onBegin=this.onBegin.bind(this),this.signaturePad.onEnd=this.onEnd.bind(this)}ngOnDestroy(){const e=this.elementRef.nativeElement.querySelector("canvas");e.width=0,e.height=0}resizeCanvas(){const 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()}toData(){return this.signaturePad?this.signaturePad.toData():[]}fromData(e){this.signaturePad.fromData(e)}toDataURL(e,t){return this.signaturePad.toDataURL(e,t)}fromDataURL(e,t={}){!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)}clear(){this.signaturePad.clear()}isEmpty(){return this.signaturePad.isEmpty()}off(){this.signaturePad.off()}on(){this.signaturePad.on()}set(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}}onBegin(){this.onBeginEvent.emit(!0)}onEnd(){this.onEndEvent.emit(!0)}queryPad(){return this.signaturePad}}return e.\u0275fac=function(t){return new(t||e)(zr(rl))},e.\u0275cmp=$e({type:e,selectors:[["signature-pad"]],inputs:{options:"options"},outputs:{onBeginEvent:"onBeginEvent",onEndEvent:"onEndEvent"},decls:1,vars:0,template:function(e,t){1&e&&Ur(0,"canvas")},encapsulation:2}),e})(),dF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[]]}),e})();const uF=["signaturePad"],hF=function(e,t){return{"border-color":e,"background-color":t}};function pF(e,t){if(1&e){const e=qr();Wr(0,20),Hr(1,"input",21),Xr("change",function(){Lt(e);const n=t.$implicit;return na().onColorChange(n)}),jr(),Gr()}if(2&e){const e=t.$implicit,n=na();no(1),Vr("checked",0===n.idx)("value",e.id)("ngStyle",lc(3,hF,e.id,e.id))}}let gF=(()=>{class e{constructor(e,t,n,i,s,o,r){this.translate=e,this.http=t,this.signaturesService=n,this.notificationService=i,this.authService=s,this.localStorage=o,this.modalController=r,this.reloaded=new yc,this.penColors=[{id:"black"},{id:"#1a75ff"},{id:"#FF0000"}],this.disableState=!1,this.signaturePadOptions={minWidth:1,maxWidth:2.5,backgroundColor:"rgba(255, 255, 255, 0)",canvasWidth:600,canvasHeight:400}}ngAfterViewInit(){this.localStorage.get("signature")}onColorChange(e){this.selectedColor=Object.assign({},this.selectedColor,e),this.signaturePad.set("penColor",this.selectedColor.id)}onDotChange(e){this.signaturePad.set("minWidth",parseFloat(e)),this.signaturePad.set("maxWidth",parseFloat(e)+2)}drawComplete(){this.localStorage.save("signature",JSON.stringify(this.signaturePad.toData())),this.haveSigned=!0}drawClear(){this.signaturePad.clear(),this.haveSigned=!1}closePad(){this.modalController.dismiss("cancel")}saveSignature(){this.disableState=!0,this.haveSigned=!0;const e=this.signaturePad.toDataURL("image/png").replace("data:image/png;base64,","");this.localStorage.save("signature",JSON.stringify(e));const t={id:0,encodedSignature:e,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",t).pipe(Iv(()=>{this.disableState=!1})).subscribe(e=>{t.id=e.signatureId,this.signaturesService.signaturesList.unshift({id:t.id,encodedSignature:t.encodedSignature}),this.modalController.dismiss("reload"),this.notificationService.success("lang.signatureRegistered")})}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(QA),zr(aS),zr(rS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-pad"]],viewQuery:function(e,t){if(1&e&&Tc(uF,1),2&e){let e;Mc(e=Rc())&&(t.signaturePad=e.first)}},outputs:{reloaded:"reloaded"},decls:34,vars:16,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],["color","light",1,"pad"],[1,"pad-actions"],[1,"pad-actions-boxed"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"btn",3,"click"],["type","range","name","dot","min","1","max","10","step","1","value","1",1,"range",3,"input"],["padContent",""],[1,"pad"],[1,"pad-draw"],[1,"padContent",3,"options","onEndEvent"],["signaturePad",""],[1,"draw"],[1,"footer-buttons"],["color","danger",3,"click"],["color","success",3,"click"],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle","change"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.closePad()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header",0),Hr(9,"ion-toolbar",5),Hr(10,"section",6),Hr(11,"div",7),Fr(12,pF,2,6,"ng-container",8),jr(),Hr(13,"button",9),Xr("click",function(){return t.drawClear()}),Da(14),hc(15,"translate"),jr(),Hr(16,"div",7),Hr(17,"input",10),Xr("input",function(e){return t.onDotChange(e.target.value)}),jr(),jr(),jr(),jr(),jr(),Hr(18,"ion-content",null,11),Hr(20,"article",12),Hr(21,"section",13),Hr(22,"signature-pad",14,15),Xr("onEndEvent",function(){return t.drawComplete()}),jr(),jr(),Ur(24,"div",16),jr(),jr(),Hr(25,"ion-footer",17),Hr(26,"ion-button",18),Xr("click",function(){return t.closePad()}),Hr(27,"ion-label"),Da(28),hc(29,"translate"),jr(),jr(),Hr(30,"ion-button",19),Xr("click",function(){return t.saveSignature()}),Hr(31,"ion-label"),Da(32),hc(33,"translate"),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,8,"lang.createNewSignature")),no(5),Vr("translucent",!0),no(4),Vr("ngForOf",t.penColors),no(2),Oa(pc(15,10,"lang.erase")),no(8),Vr("options",t.signaturePadOptions),no(6),Oa(pc(29,12,"lang.cancel")),no(4),Oa(pc(33,14,"lang.save")))},directives:[Vx,yC,bC,Ax,Cx,Nx,ju,Tx,cF,Bx,Zx,Xu],pipes:[qA],styles:[".pad-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly;padding:10px 0}.pad-actions-boxed[_ngcontent-%COMP%]{border-radius:60px;height:60px;background:#f1f4f4;padding:0 20px}.pad-actions-boxed[_ngcontent-%COMP%], .pad-draw[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.pad-draw[_ngcontent-%COMP%]{background:#fff}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:checked, .pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.padContent[_ngcontent-%COMP%]{border:1px dashed hsla(0,0%,59.2%,.55)}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),e})();const fF=["slides"];function mF(e,t){if(1&e&&(Hr(0,"small",9),Da(1),hc(2,"translate"),jr()),2&e){const e=na();no(1),Ta("",e.currentWorflow.signaturePositions.length," ",pc(2,2,"lang.prePositionings"),"")}}function bF(e,t){1&e&&(Hr(0,"ion-label",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.substitutedSignature")))}function vF(e,t){if(1&e){const e=qr();Hr(0,"ion-card",27),Hr(1,"img",28),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).selectSignature(n)}),jr(),Hr(2,"ion-toolbar",29),Fr(3,bF,3,3,"ion-label",30),Hr(4,"ion-buttons",31),Hr(5,"ion-button",32),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).selectSignature(n)}),hc(6,"translate"),Ur(7,"ion-icon",33),jr(),jr(),Hr(8,"ion-buttons",3),Hr(9,"ion-button",34),Xr("click",function(){Lt(e);const n=t.$implicit;return na(4).removeSignature(n)}),hc(10,"translate"),Ur(11,"ion-icon",35),jr(),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(4);no(1),aa("id","imgSign_",n,""),Vr("src",i.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os),no(2),Vr("ngIf",e.substituted),no(2),Vr("title",pc(6,5,"lang.selectSignature")),no(4),Vr("title",pc(10,7,"lang.removeSignature"))}}function yF(e,t){if(1&e&&(Hr(0,"ion-slide",24),Hr(1,"div",25),Fr(2,vF,12,9,"ion-card",26),jr(),jr()),2&e){const e=t.$implicit;no(2),Vr("ngForOf",e)}}function wF(e,t){if(1&e&&(Hr(0,"ion-slides",21,22),Fr(2,yF,3,1,"ion-slide",23),jr()),2&e){const e=na(2);Vr("options",e.slideOpts),no(2),Vr("ngForOf",e.signaturesList)}}function _F(e,t){if(1&e){const e=qr();Wr(0),Fr(1,wF,3,2,"ion-slides",10),Hr(2,"ion-fab",11),Hr(3,"ion-fab-button",12),Ur(4,"ion-icon",13),jr(),Hr(5,"ion-fab-list",14),Hr(6,"ion-fab-button",15),Xr("click",function(){return Lt(e),na().addNewDate()}),hc(7,"translate"),Ur(8,"ion-icon",16),jr(),Hr(9,"ion-fab-button",15),Xr("click",function(){return Lt(e),Br(16).click()}),hc(10,"translate"),Ur(11,"ion-icon",17),jr(),Hr(12,"ion-fab-button",15),Xr("click",function(){return Lt(e),na().openSignatures()}),hc(13,"translate"),Ur(14,"ion-icon",18),jr(),jr(),jr(),Hr(15,"input",19,20),Xr("change",function(t){return Lt(e),na().handleFileInput(t.target.files)}),jr(),Gr()}if(2&e){const e=na();no(1),Vr("ngIf",!e.loading),no(5),Vr("title",pc(7,4,"lang.addNewDate")),no(3),Vr("title",pc(10,6,"lang.importNewSignature")),no(3),Vr("title",pc(13,8,"lang.createNewSignature"))}}function xF(e,t){1&e&&(Hr(0,"div",37),Ur(1,"ion-icon",38),Hr(2,"div"),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Ma(" ",pc(4,1,"lang.certifiedDocumentMsg")," "))}let CF=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.translate=e,this.http=t,this.signaturesService=n,this.bottomSheetRef=i,this.sanitization=s,this.notificationService=o,this.authService=r,this.localStorage=a,this.renderer=l,this.modalController=c,this.loading=!0,this.scrolling=!1,this.signPosMode=!1,this.datePosMode=!1,this.title="lang.signatures",this.slideOpts={initialSlide:0,speed:400,direction:"vertical"},this.signaturesList=[],this.inAllPage=!1,this.count=0}dismissModal(){this.modalController.dismiss("cancel")}scroll(e){this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(()=>{this.scrolling=!1},500))}ngOnInit(){this.initSignatures(),this.signPosMode=this.currentWorflow.signaturePositions.length>0&&this.emptySigns(),this.getImgDimensions(this.content)}initSignatures(){this.signaturesList=[];let e=[],t=0;this.signaturesService.signaturesListSubstituted.concat(this.signaturesService.signaturesList).forEach(n=>{6===t?(this.signaturesList.push(e),e=[n],t=0):(e.push(n),t++)}),e.length>0&&this.signaturesList.push(e)}ionViewDidEnter(){this.loading=!1}openSignatures(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:gF,cssClass:"my-custom-class"});yield e.present();const{data:t}=yield e.onWillDismiss();"reload"===t&&this.initSignatures()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}mustPrePosSignature(e,t){return!(!this.signPosMode||0===e.length&&0===t.length)}selectSignature(e){const t=document.getElementById("imgSign_"+this.signaturesList[0].indexOf(e).toString());this.signatureWidth=t.naturalWidth;let n=25;this.signatureScaling=void 0!==this.authService.user.preferences.signatureScaling&&this.authService.user.preferences.signatureScaling,n=!1===this.signatureScaling?this.signatureWidth>=this.documentWidth?100:100*this.signatureWidth/this.documentWidth:this.signatureScaling,e.width=n;const i=this.currentWorflow.signaturePositions.filter(e=>e.page===this.signaturesService.currentPage),s=this.currentWorflow.signaturePositions.filter(e=>e.page!==this.signaturesService.currentPage);this.mustPrePosSignature(i,s)?(i.length>0&&(e.positionX=i[0].positionX,e.positionY=i[0].positionY,this.storeSignature(e,this.signaturesService.currentPage)),s.length>0&&s.forEach(t=>{e.positionX=t.positionX,e.positionY=t.positionY,this.storeSignature(e,t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.signatureInDocAddedAlt"):this.translate.get("lang.signaturesInDocAdded",{0:this.currentWorflow.signaturePositions.map(e=>e.page)}).subscribe(e=>{this.notificationService.success(e)}),this.modalController.dismiss(0===i.length&&s.length>0?{redirectPage:s[0].page}:"success")):(e.positionX=60,e.positionY=80,this.storeSignature(e,this.signaturesService.currentPage),this.notificationService.success("lang.signatureInDocAdded"),this.modalController.dismiss("success"))}addNewDate(){const e=this.currentWorflow.datePositions.filter(e=>e.page===this.signaturesService.currentPage),t=this.currentWorflow.datePositions.filter(e=>e.page!==this.signaturesService.currentPage);if(0===e.length&&0===t.length){const e={width:13e3/this.signaturesService.workingAreaWidth,height:3e3/this.signaturesService.workingAreaHeight,positionX:0,positionY:0,font:"Arial",size:15,color:"#666",format:"d MMMM y"};e.positionX=60,e.positionY=80,this.storeDate(e,this.signaturesService.currentPage),this.notificationService.success("lang.dateInDocAdded"),this.modalController.dismiss("success")}else e.length>0&&this.storeDate({width:e[0].width,height:e[0].height,positionX:e[0].positionX,positionY:e[0].positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},this.signaturesService.currentPage),t.forEach(e=>{this.storeDate({width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},e.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.dateInDocAddedAlt"):this.translate.get("lang.dateInDocAdded",{0:this.currentWorflow.signaturePositions.map(e=>e.page)}).subscribe(e=>{this.notificationService.success(e)}),this.modalController.dismiss(0===e.length&&t.length>0?{redirectPage:t[0].page}:"success")}storeSignature(e,t){this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}storeDate(e,t){this.signaturesService.datesContent[t]||(this.signaturesService.datesContent[t]=[]),this.signaturesService.datesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}removeSignature(e){confirm(this.translate.instant("lang.wantDeleteSignature"))&&this.http.delete("../rest/users/"+this.authService.user.id+"/signatures/"+e.id).subscribe(()=>{this.signaturesService.signaturesList=this.signaturesService.signaturesList.filter(t=>t.id!==e.id),this.notificationService.success("lang.signatureDeleted"),this.initSignatures()},e=>{this.notificationService.error(e.error.errors)})}toggleAllPage(){this.inAllPage=!this.inAllPage}tapEvent(e,t,n){this.count++,setTimeout(()=>{1===this.count?this.count=0:this.count>1&&(this.count=0,this.selectSignature(e))},250)}handleFileInput(e){const t=e.item(0);if(t.size<=1e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(t.type)){const e=new FileReader;e.onloadend=n=>{const i=e.result.toString().replace("data:"+t.type+";base64,","");this.localStorage.save("signature",JSON.stringify(i));const s={id:0,encodedSignature:i,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",s).subscribe(e=>{s.id=e.signatureId,this.signaturesService.signaturesList.unshift({id:s.id,encodedSignature:s.encodedSignature}),this.initSignatures(),this.notificationService.success("lang.signatureRegistered")})},e.readAsDataURL(t)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.maxFileSizeReached")}emptySigns(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}getImgDimensions(e){const t=atob(e.slice(0,50)).slice(16,24),n=Uint8Array.from(t,e=>e.charCodeAt(0)),i=new DataView(n.buffer);this.documentWidth=i.getInt32(0)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(dM),zr(qh),zr(QA),zr(aS),zr(rS),zr(cl),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-signatures"]],viewQuery:function(e,t){if(1&e&&Tc(fF,1),2&e){let e;Mc(e=Rc())&&(t.slides=e.first)}},inputs:{currentWorflow:"currentWorflow",content:"content"},decls:13,vars:7,consts:[[3,"translucent"],["color","primary"],["class","secondary",4,"ngIf"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"wheel"],[4,"ngIf","ngIfElse"],["elseCertified",""],[1,"secondary"],["pager","true",3,"options",4,"ngIf"],["horizontal","start","vertical","bottom","slot","fixed"],["color","primary","close-icon","chevron-down"],["name","chevron-up-outline"],["side","top"],["color","light",3,"title","click"],["name","calendar-outline"],["name","download-outline"],["name","add-outline"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["pager","true",3,"options"],["slides",""],["style","display: grid;grid-template-columns: repeat(2, 1fr);",4,"ngFor","ngForOf"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],[2,"display","contents"],["class","sign-image",4,"ngFor","ngForOf"],[1,"sign-image"],[2,"width","190px","cursor","pointer",3,"id","src","click"],[2,"position","absolute","top","0px"],["color","secondary",4,"ngIf"],["slot","start"],["size","small","color","primary",3,"title","click"],["slot","icon-only","name","arrow-up-circle-outline"],["size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["color","secondary"],[1,"certified-msg"],["slot","start","name","ribbon-outline","color","success",2,"font-size","70px"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),Fr(5,mF,3,4,"small",2),jr(),Hr(6,"ion-buttons",3),Hr(7,"ion-button",4),Xr("click",function(){return t.dismissModal()}),Ur(8,"ion-icon",5),jr(),jr(),jr(),jr(),Hr(9,"ion-content",6),Xr("wheel",function(e){return t.scroll(e)}),Fr(10,_F,17,10,"ng-container",7),Fr(11,xF,5,3,"ng-template",null,8,zc),jr()),2&e){const e=Br(12);Vr("translucent",!0),no(3),Ma("",pc(4,5,"lang.signatures")," "),no(2),Vr("ngIf",t.signPosMode),no(5),Vr("ngIf",!t.signaturesService.stampLock)("ngIfElse",e)}},directives:[Vx,yC,bC,Wu,Ax,Cx,Nx,Tx,Rx,Lx,Fx,gC,ju,pC,Sx,Zx],pipes:[qA],styles:[".secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.signatures[_ngcontent-%COMP%]{flex-direction:column}.signatures[_ngcontent-%COMP%], .signatures-top[_ngcontent-%COMP%]{display:flex;align-items:center}.signatures-top[_ngcontent-%COMP%]{height:105px;width:100%;justify-content:space-around;border-bottom:1px solid #e9e8e8}.signatures[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{width:100%;padding-top:40px;overflow:auto;display:flex;justify-content:center;flex-wrap:wrap;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{transition:all .3s ease-in-out;height:190px;width:190px;margin:8px;border:1px solid hsla(0,0%,59.2%,.55);border-radius:5px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.04);display:flex;justify-content:center;align-items:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%] .substituteInfo[_ngcontent-%COMP%]{color:#f99830;font-size:10px;position:absolute;top:0;left:10px}.signatures[_ngcontent-%COMP%] .list-item.create[_ngcontent-%COMP%]{background-color:#f1f4f4;flex-direction:column;text-align:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:active, .signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{transform:translateY(-20px);cursor:pointer}.sign_icon[_ngcontent-%COMP%]{position:absolute;top:5px}.sign_icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff;height:auto}.add_icon[_ngcontent-%COMP%]{right:5px}.remove_icon[_ngcontent-%COMP%]{left:5px}.sign-image[_ngcontent-%COMP%]{height:95%}.certified-msg[_ngcontent-%COMP%], .sign-image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.certified-msg[_ngcontent-%COMP%]{height:100%;flex-direction:column;padding:40px}.certified-msg[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:30px;color:var(--ion-color-medium)}"]}),e})();const AF=["mainContent"],SF=["canvas"],kF=["img"],EF=["nav"],PF=function(e,t){return{"border-color":e,"background-color":t}};function DF(e,t){if(1&e&&(Wr(0,28),Ur(1,"input",29),Gr()),2&e){const e=t.$implicit,n=na(2);no(1),Vr("checked",0===n.idx)("value",e.id)("ngStyle",lc(3,PF,e.id,e.id))}}function OF(e,t){if(1&e){const e=qr();Hr(0,"ion-content",null,8),Hr(2,"div",9),Fr(3,DF,2,6,"ng-container",10),Ur(4,"hr"),Hr(5,"i",11),Xr("click",function(){return Lt(e),na().undo()}),jr(),jr(),Hr(6,"ion-fab",12),Hr(7,"ion-fab-button",13),Ur(8,"ion-icon",14),jr(),Hr(9,"ion-fab-list",15),Hr(10,"ion-fab-button",16),Xr("click",function(t){Lt(e);const n=na();return t.stopPropagation(),n.editMode=!n.editMode}),hc(11,"translate"),hc(12,"translate"),Ur(13,"ion-icon",17),jr(),Hr(14,"ion-fab-button",18),Xr("click",function(t){Lt(e);const n=na();return t.stopPropagation(),n.getImageDimensions(!n.originalSize)}),hc(15,"translate"),hc(16,"translate"),Ur(17,"ion-icon",17),jr(),jr(),jr(),Hr(18,"div",19),Hr(19,"drag-scroll",20,21),Hr(21,"div",22,23),Hr(23,"ion-img",24,25),Xr("ionImgDidLoad",function(t){return Lt(e),na().imageLoaded(t)}),jr(),Ur(25,"canvas",26,27),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(3),Vr("ngForOf",e.penColors),no(7),Vr("color",e.editMode?"danger":"success")("title",e.editMode?pc(11,19,"lang.lockEdition"):pc(12,21,"lang.unlockEdition")),no(3),Vr("name",e.editMode?"lock-closed-outline":"lock-open-outline"),no(1),Vr("title",e.originalSize?pc(15,23,"lang.originalSize"):pc(16,25,"lang.screenSize")),no(3),Vr("name",e.originalSize?"scan-outline":"crop-outline"),no(2),fa("max-width",e.areaWidth,"px"),no(2),fa("width",e.areaWidth,"px")("height",e.areaHeight,"px"),no(2),fa("width",e.areaWidth,"px")("height",e.areaHeight,"px"),Vr("src",e.content),no(2),fa("display",e.editMode?"initial":"none")}}let MF=(()=>{class e{constructor(e,t,n,i,s){this.signaturesService=e,this.notificationService=t,this.authService=n,this.localStorage=i,this.modalController=s,this.triggerEvent=new yc,this.penColors=[{id:"#000000"},{id:"#1a75ff"},{id:"#FF0000"}],this.areaWidth=0,this.areaHeight=0,this.editMode=!0,this.originalSize=!0,this.loading=!0}ngOnInit(){setTimeout(()=>{this.loading=!1},100)}imageLoaded(e){this.getImageDimensions(!1)}getImageDimensions(e=!1){this.originalSize=e;const t=new Image;t.onload=n=>{this.areaWidth=n.target.naturalWidth,this.areaHeight=n.target.naturalHeight,e||this.getAreaDimension(),this.editMode&&setTimeout(()=>{const e=$("#myBounds").offset();let n,i,s;n=1===Math.sign(e.top)||this.precentScrollTop<=Math.abs(e.top)?this.precentScrollTop-e.top:-1===Math.sign(e.top)&&this.precentScrollTop<=-Math.sign(e.top)?2*(this.precentScrollTop-e.top):100*(this.precentScrollTop-e.top);const o=this.precentScrollLeft-e.left;i=this.precentScrollLeft-document.documentElement.offsetLeft,s=this.precentScrollTop-document.documentElement.offsetTop,i=i/this.areaWidth*100,s=s/this.areaHeight*100,document.getElementsByClassName("drag-scroll-content")[1].scrollTo(o,n),t.style.transform="translate(-"+i+"%,-"+s+"%) scale(2)",this.initPad()},200)},t.src=this.content}getAreaDimension(){const e=100*this.mainContent.el.offsetWidth/this.areaWidth;this.areaWidth=e*this.areaWidth/100,this.areaHeight=e*this.areaHeight/100}dismissModal(){this.modalController.dismiss("cancel")}initPad(){$("#myCanvas").sign({mode:this.authService.user.preferences.writingMode,lineWidth:this.authService.user.preferences.writingSize,changeColor:$(".radio"),undo:$(".undo"),height:this.areaHeight,width:this.areaWidth,fixHeight:56,fixWidth:0,mobileMode:this.signaturesService.mobileMode}),$("input[value='"+this.authService.user.preferences.writingColor+"']").trigger("click")}validateAnnotation(){this.signaturesService.notesContent[this.signaturesService.currentPage]||(this.signaturesService.notesContent[this.signaturesService.currentPage]=[]),this.signaturesService.notesContent[this.signaturesService.currentPage].push({fullPath:this.canvas.nativeElement.toDataURL("image/png"),positionX:0,positionY:0,height:this.signaturesService.workingAreaHeight,width:this.signaturesService.workingAreaWidth}),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.modalController.dismiss(""),this.notificationService.success("lang.annotationAdded")}undo(){}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(QA),zr(aS),zr(rS),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-note-pad"]],viewQuery:function(e,t){if(1&e&&(Tc(AF,1),Tc(SF,1),Tc(kF,1),Tc(EF,1,Zk)),2&e){let e;Mc(e=Rc())&&(t.mainContent=e.first),Mc(e=Rc())&&(t.canvas=e.first),Mc(e=Rc())&&(t.img=e.first),Mc(e=Rc())&&(t.ds=e.first)}},inputs:{content:"content",precentScrollTop:"precentScrollTop",precentScrollLeft:"precentScrollLeft"},outputs:{triggerEvent:"triggerEvent"},decls:16,vars:11,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],[2,"text-align","center"],["color","danger","shape","round","fill","outline","size","large",3,"click"],[2,"font-size","13px"],["color","success","shape","round","fill","outline","size","large",2,"margin-left","50px",3,"click"],["mainContent",""],[1,"tool-content","tool-content-right"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"fa","fa-undo","fa-2x","undo",3,"click"],["vertical","top","horizontal","start","slot","fixed","activated",""],["close-icon","chevron-up"],["name","chevron-down"],["side","bottom"],[3,"color","title","click"],[3,"name"],[3,"title","click"],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto"],["nav",""],[2,"position","relative"],["myBounds",""],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],["id","myCanvas",2,"position","absolute","top","0px","left","0px"],["canvas",""],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),jr(),Fr(5,OF,27,27,"ion-content",2),Hr(6,"ion-footer",3),Hr(7,"div",4),Hr(8,"ion-button",5),Xr("click",function(){return t.dismissModal()}),Hr(9,"ion-label",6),Da(10),hc(11,"translate"),jr(),jr(),Hr(12,"ion-button",7),Xr("click",function(){return t.validateAnnotation()}),Hr(13,"ion-label",6),Da(14),hc(15,"translate"),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,5,"lang.annotateDocument")),no(2),Vr("ngIf",!t.loading),no(5),Oa(pc(11,7,"lang.cancel")),no(4),Oa(pc(15,9,"lang.save")))},directives:[Vx,yC,bC,Wu,Bx,Cx,Zx,Tx,ju,Rx,Lx,Nx,Fx,Zk,Hx,Xu],pipes:[qA],styles:[".tool-content[_ngcontent-%COMP%]{position:fixed}.fullscreen[_ngcontent-%COMP%]{--width:100%;--height:100%}.tool-content[_ngcontent-%COMP%]{z-index:1;display:flex;position:absolute;background:hsla(0,0%,50.2%,.30196078431372547);border-radius:20px;top:170px;transform:translateY(-50%) rotate(-90deg);padding:10px}.tool-content-left[_ngcontent-%COMP%]{left:-40px}.tool-content-right[_ngcontent-%COMP%]{right:-40px}.undo[_ngcontent-%COMP%]{cursor:pointer;transform:rotate(90deg);transition:all .2s}.undo[_ngcontent-%COMP%]:active{transform:rotate(90deg) scale(1.5)}.radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.radio[_ngcontent-%COMP%]:checked, .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.footer-buttons[_ngcontent-%COMP%]{display:grid;padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),e})(),TF=(()=>{class e{constructor(e,t,n){this.http=e,this.signaturesService=t,this.router=n,this.currentIndex=0,this.offset=0,this.limit=10}resfreshDocuments(e=!1){this.http.get("../rest/documents?limit="+(this.limit+this.offset)+"&offset=0&mode="+this.signaturesService.mode).subscribe(t=>{this.signaturesService.documentsList=t.documents,this.signaturesService.documentsListCount=t.count,e&&this.router.navigate(void 0!==this.signaturesService.documentsList[this.currentIndex]?["/documents/"+this.signaturesService.documentsList[this.currentIndex].id]:this.signaturesService.documentsList.length>0?["/documents/"+this.signaturesService.documentsList[0].id]:["/home"])})}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(oS),gi(r_))},e.\u0275prov=pe({token:e,factory:e.\u0275fac}),e})(),IF=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.filtersService=t,this.authService=n,this.bottomSheetRef=i,this.date=new Date}ngOnInit(){setTimeout(()=>{this.signaturesService.currentToobal="mainDocumentDetail",this.filtersService.resfreshDocuments(!0),this.bottomSheetRef.dismiss()},2e3)}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(TF),zr(aS),zr(lM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"red",2,"text-align","center"],[1,"fa","fa-thumbs-down","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"h1"),Ur(2,"i",1),jr(),Hr(3,"p"),Da(4),hc(5,"translate"),jr(),Hr(6,"p",2),Da(7),jr(),Hr(8,"p",3),Da(9),hc(10,"translate"),hc(11,"date"),hc(12,"translate"),hc(13,"date"),jr(),jr()),2&e&&(no(4),Oa(pc(5,7,"lang.documentRefusedAs")),no(3),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(2),Ra("",pc(10,9,"lang.onRange")," ",gc(11,11,t.date,"dd/MM/yyyy")," ",pc(12,14,"lang.atRange")," ",gc(13,16,t.date,"HH:mm"),""))},pipes:[qA,lh],styles:[""]}),e})();const RF=["slides"];function LF(e,t){1&e&&(Hr(0,"span",16),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma("(",pc(2,1,"lang.mainDocument"),")"))}function FF(e,t){1&e&&(Hr(0,"span",16),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma("(",pc(2,1,"lang.attachment"),")"))}const BF=function(e){return{background:e}};function zF(e,t){if(1&e){const e=qr();Hr(0,"ion-slide"),Hr(1,"div",12),Hr(2,"div",13),Xr("click",function(){Lt(e);const n=t.index;return na(2).loadDoc(n)}),jr(),Hr(3,"div",14),Da(4),Fr(5,LF,3,3,"span",15),Fr(6,FF,3,3,"span",15),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(2);no(2),ma("current",n==i.currentDocId),Vr("ngStyle",ac(6,BF,"url("+e.imgContent[1]+") no-repeat scroll center center / contain")),no(2),Ma(" ",e.title,"\xa0"),no(1),Vr("ngIf",0==n),no(1),Vr("ngIf",n>0)}}function VF(e,t){if(1&e&&(Hr(0,"ion-slides",9,10),Fr(2,zF,7,8,"ion-slide",11),jr()),2&e){const e=na();Vr("options",e.slideOpts),no(2),Vr("ngForOf",e.docList)}}let NF=(()=>{class e{constructor(e,t,n,i){this.http=e,this.signaturesService=t,this.sanitizer=n,this.menu=i,this.triggerEvent=new yc,this.loading=!0,this.scrolling=!1,this.slideOpts={initialSlide:0,speed:400,direction:"vertical"}}ngOnInit(){this.docList.forEach((e,t)=>{void 0===e.imgContent[1]&&t>0&&this.http.get("../rest/attachments/"+e.id+"/thumbnails/1").subscribe(t=>{e.imgContent[1]="data:image/png;base64,"+t.fileContent})})}ngAfterViewInit(){this.loading=!1}loadDoc(e){this.triggerEvent.emit(e),this.menu.close("right-menu")}scroll(e){this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(()=>{this.scrolling=!1},500))}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(qh),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-document-list"]],viewQuery:function(e,t){if(1&e&&Tc(RF,1),2&e){let e;Mc(e=Rc())&&(t.slides=e.first)}},inputs:{docList:"docList",currentDocId:"currentDocId"},outputs:{triggerEvent:"triggerEvent"},decls:12,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","document-outline"],[1,"ion-text-center"],[1,"secondary"],[3,"wheel"],["pager","true",3,"options",4,"ngIf"],["pager","true",3,"options"],["slides",""],[4,"ngFor","ngForOf"],[2,"height","90%","width","100%","position","relative","padding","10px"],[2,"cursor","pointer","height","100%","width","100%","border-radius","4px","transition","box-shadow 280ms cubic-bezier(.4,0,.2,1)","border","solid 1px #E0E0E0",3,"ngStyle","click"],[1,"pjToolsContent"],["class","red",4,"ngIf"],[1,"red"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Hr(6,"b",6),Da(7),jr(),Da(8),hc(9,"translate"),jr(),jr(),jr(),Hr(10,"ion-content",7),Xr("wheel",function(e){return t.scroll(e)}),Fr(11,VF,3,2,"ion-slides",8),jr()),2&e&&(Vr("translucent",!0),no(7),Oa(t.docList.length),no(1),Ma("\xa0",pc(9,4,"lang.attachedElements"),""),no(3),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,gC,ju,pC,Xu],pipes:[qA],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.pjToolsContent[_ngcontent-%COMP%]{position:absolute;border:1px solid #e0e0e0;border-bottom-left-radius:5px;background:#fff;padding:10px;font-weight:600;color:#135f7f;font-size:14px;top:10px}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}"]}),e})(),HF=(()=>{class e{constructor(e,t){this.translate=e,this.latinisePipe=t}empty(e){return null==e||!1===e||(Array.isArray(e)?!(e.length>0):""===String(e))}isDate(e){return e instanceof Date&&!isNaN(e.valueOf())}formatFrenchDateToTechnicalDate(e){if(this.empty(e))return e;{let t=e.split("-");return t=t.concat(t[t.length-1].split(" ")),t.splice(2,1),this.empty(t[3])&&(t[3]="00:00:00"),`${t[2]}-${t[1]}-${t[0]} ${t[3]}`}}formatFrenchDateToObjectDate(e,t="-"){if(this.empty(e))return e;{let n=e.split(t);return n=n.concat(n[n.length-1].split(" ")),n.splice(2,1),this.empty(n[3])&&(n[3]="00:00:00"),new Date(`${n[2]}-${n[1]}-${n[0]} ${n[3]}`)}}formatDateObjectToDateString(e,t=!1,n="dd-mm-yyyy"){if(null!==e){const i=[];n.split("-").forEach(t=>{if("dd"===t){let t=e.getDate();t=("00"+t).slice(-2),i.push(t)}else if("mm"===t){let t=e.getMonth()+1;t=("00"+t).slice(-2),i.push(t)}else if("yyyy"===t){const t=e.getFullYear();i.push(t)}});let s="";return t&&(s=" 23:59:59"),`${i.join("-")}${s}`}return e}formatSerializedDateToDateString(e){return this.formatDateObjectToDateString(new Date(e))}listSortingDataAccessor(e,t){return"string"==typeof e[t]?e[t].toLowerCase():e[t]}filterUnSensitive(e,t,n){let i=!1;return t=this.latinisePipe.transform(t),n.forEach(n=>{let s=e[n];"string"!=typeof e[n]&&(s=void 0===s?"":JSON.stringify(s)),i=i||this.latinisePipe.transform(s.toLowerCase()).includes(t)}),i}formatBytes(e,t=2){if("number"==typeof e){if(0===e)return"0 Octet";const n=1024,i=t<0?0:t,s=["Octets","KO","MO","GO","TO","PO","EO","ZO","YO"],o=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,o)).toFixed(i))+" "+s[o]}return e}}return e.\u0275fac=function(t){return new(t||e)(gi($A),gi(uE))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var jF=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let UF=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.notificationService=n,this.signaturesService=i,this.functionsService=s,this.alertController=o}sendDocument(e,t,n=null,i=null,s=null,o=null){return new Promise(r=>jF(this,void 0,void 0,function*(){let a={};this.signaturesService.currentAction>0?(a.signatures=null===o?yield this.getElementsFromDoc():o,null!==n&&(a=Object.assign(Object.assign({},a),n),a.step="hashCertificate"),null!==t&&(a.note=t),null!==i&&(a.signatureLength=i),this.functionsService.empty(s)||(a.tmpUniqueId=s),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,a).pipe(Ov(e=>{r(null===n||{hashDocument:e.dataToSign,signatureContentLength:e.signatureContentLength,signatureFieldName:e.signatureFieldName,tmpUniqueId:e.tmpUniqueId})}),fv(e=>(this.notificationService.handleErrors(e),r(403===e.status&&null),lb(!1)))).subscribe()):r(!1)}))}getElementsFromDoc(){return jF(this,void 0,void 0,function*(){return new Promise(e=>jF(this,void 0,void 0,function*(){const t=[];for(let e=1;e<=this.signaturesService.totalPage;e++){if(this.signaturesService.datesContent[e])for(let n=0;n<this.signaturesService.datesContent[e].length;n++){const i=this.signaturesService.datesContent[e][n],s=yield this.getSvgContent(n);t.push({encodedImage:s.replace("data:image/svg+xml;base64,",""),width:i.width,height:i.height,positionX:i.positionX,positionY:i.positionY,type:"SVG",page:e})}this.signaturesService.signaturesContent[e]&&this.signaturesService.signaturesContent[e].forEach(n=>{t.push({encodedImage:n.encodedSignature,width:n.width,positionX:n.positionX,positionY:n.positionY,type:"PNG",page:e})}),this.signaturesService.notesContent[e]&&this.signaturesService.notesContent[e].forEach(n=>{t.push({encodedImage:n.fullPath.replace("data:image/png;base64,",""),width:n.width,positionX:n.positionX,positionY:n.positionY,type:"PNG",page:e})})}e(t)}))})}getSvgContent(e){return new Promise(t=>{const n=document.getElementById("testSVG_"+e),i=(new XMLSerializer).serializeToString(n),s=new Blob([i],{type:"image/svg+xml"}),o=new FileReader;o.readAsDataURL(s),o.onloadend=()=>{t(o.result)}})}checkGroupMail(e,t){return new Promise(n=>jF(this,void 0,void 0,function*(){this.functionsService.empty(e.mailingId)?n([this.signaturesService.mainDocumentId]):this.http.get(`../rest/documents/${this.signaturesService.mainDocumentId}/linkedMailing`).pipe(Ov(e=>jF(this,void 0,void 0,function*(){if(e.documents.length>1){const i=yield this.alertController.create({header:this.translate.instant("lang.mailing"),message:this.translate.instant("validate"===t?"lang.makeActionOnDocInMailGroup":"lang.refuseActionDocInMailGroup"),backdropDismiss:!1,buttons:[{text:this.translate.instant("lang.yes"),handler:()=>{n(e.documents)}},{role:"cancel",text:this.translate.instant("lang.no"),cssClass:"secondary",handler:()=>{n([this.signaturesService.mainDocumentId])}}]});yield i.present()}else n([this.signaturesService.mainDocumentId])})),fv(e=>(this.notificationService.handleErrors(e),n([]),lb(!1)))).subscribe()}))}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi($A),gi(QA),gi(oS),gi(HF),gi(XC))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var WF=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let GF=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l){this.modalController=e,this.http=t,this.translate=n,this.notificationService=i,this.loadingController=s,this.signaturesService=o,this.actionsService=r,this.functionsService=a,this.authService=l,this.filters={expired:!1,keyUsage:[],onlyWithPrivateKey:!0},this.provider=null,this.cert=null,this.certPem=null,this.privateKey=null,this.signatures=[],this.signatureLength=null,this.server=null}ngOnInit(){return WF(this,void 0,void 0,function*(){const e=this.authService.signatureRoles.filter(e=>e.id===this.signatureMode)[0];this.functionsService.empty(e.issuer)||(this.filters.issuerDNMatch=new RegExp(e.issuer,"i")),this.functionsService.empty(e.subject)||(this.filters.subjectDNMatch=new RegExp(e.subject,"i")),this.functionsService.empty(e.keyUsage)||this.filters.keyUsage.push(e.keyUsage)})}certificateChosen(e){return WF(this,void 0,void 0,function*(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(t=>WF(this,void 0,void 0,function*(){t.present();try{this.server=e.detail.server,this.checkWebsocketSession(),this.provider=yield e.detail.server.getCrypto(e.detail.providerId),this.checkWebsocketSession(),this.cert=yield this.provider.certStorage.getItem(e.detail.certificateId),this.checkWebsocketSession(),this.certPem=yield this.provider.certStorage.exportCert("pem",this.cert),this.checkWebsocketSession(),this.privateKey=yield this.provider.keyStorage.getItem(e.detail.privateKeyId)}catch(i){return this.notificationService.error(i),t.dismiss(),void this.modalController.dismiss(!1)}this.certificate={certificate:this.certPem};let n=!1;for(let e=0;e<this.idsToProcess.length;e++)this.signatures=yield this.actionsService.getElementsFromDoc(),n=yield this.sendAndSign(this.idsToProcess[e]);t.dismiss(),this.modalController.dismiss(n)}))})}checkWebsocketSession(){return WF(this,void 0,void 0,function*(){for(;this.server.client.state!==WebSocket.OPEN;)yield this.server.connect(),yield new Promise(e=>setTimeout(e,150))})}sendAndSign(e){return WF(this,void 0,void 0,function*(){let t=!1,n={};for(;!t;){let i=!1;for(;!1===i;){if(n=yield this.fusionStampAndGenerateSignature(e,n.tmpUniqueId),null===n)return!1;if(!1===n)return!1;if(i=yield this.signDocument(e,n.hashDocument,n.signatureContentLength,n.signatureFieldName,n.tmpUniqueId),!0!==i)return!1;this.signatures.shift(),t=0===this.signatures.length}}return t})}fusionStampAndGenerateSignature(e,t=null){return WF(this,void 0,void 0,function*(){let n={};return n=yield this.actionsService.sendDocument(e,null,this.certificate,this.signatureLength,t,this.signatures),n})}signDocument(e,t,n,i,s){return new Promise(o=>WF(this,void 0,void 0,function*(){const r={name:this.privateKey.algorithm.name,hash:"SHA-256"},a=this.fromHex(t);let l;try{this.checkWebsocketSession(),l=yield this.provider.subtle.sign(r,this.privateKey,a)}catch(h){return this.notificationService.error(h),o(!1),lb(!1)}const c={note:this.note},d={signatures:this.signatures,certificate:this.certPem,hashSignature:this.toHex(l),signatureContentLength:n,signatureFieldName:i,tmpUniqueId:s},u=Object.assign(Object.assign({},c),d);this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,u).pipe(Ov(()=>{o(!0)}),fv(e=>(void 0!==e.error.newSignatureLength?(this.signatureLength=e.error.newSignatureLength,o(!1)):(this.notificationService.handleErrors(e),o("error")),lb(!1)))).subscribe()}))}cancelSign(){this.modalController.dismiss(!1)}toHex(e){const t=new Uint8Array(e),n=[],i=t.length;for(let s=0;s<i;s++){const e=t[s].toString(16);n.push(1===e.length?"0"+e:e)}return n.join("")}fromHex(e){const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}}return e.\u0275fac=function(t){return new(t||e)(zr(eA),zr(Db),zr($A),zr(QA),zr(KC),zr(oS),zr(UF),zr(HF),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["signature-method-modal"]],inputs:{note:"note",signatureMode:"signatureMode",idsToProcess:"idsToProcess"},decls:2,vars:1,consts:[["language","fr","hide-footer","",2,"height","100%","width","100%",3,"filters","continue","cancel"]],template:function(e,t){1&e&&(Hr(0,"ion-content"),Hr(1,"peculiar-fortify-certificates",0),Xr("continue",function(e){return t.certificateChosen(e)})("cancel",function(){return t.cancelSign()}),jr(),jr()),2&e&&(no(1),Vr("filters",t.filters))},directives:[Tx],styles:[".content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:30px!important;height:100%;flex-direction:column}.content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:130px;color:var(--ion-color-primary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)!important}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)!important}@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:bounce;animation-name:bounce;transform-origin:center bottom;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}"]}),e})();var $F=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};let qF=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.modalController=t,this.actionsService=n,this.loadingController=i,this.translate=s,this.authService=o,this.notificationService=r}checkAuthenticationAndLaunchAction(e,t=null,n){return $F(this,void 0,void 0,function*(){return["rgs_2stars","rgs_2stars_timestamped","inca_card","inca_card_eidas"].indexOf(e.signatureMode)>-1?0!==this.authService.coreUrl.indexOf("https://")?(yield this.notificationService.error("lang.securedUrlNeeded"),null):yield this.openRgsAuth(t,e.signatureMode,n):yield this.launchDefaultMode(t,n)})}launchDefaultMode(e,t){return $F(this,void 0,void 0,function*(){return new Promise(n=>$F(this,void 0,void 0,function*(){const i=yield this.loadingController.create({message:this.translate.instant("lang.loadingValidation"),spinner:"dots"});i.present();let s=!0;for(let n=0;n<t.length;n++)s=yield this.actionsService.sendDocument(t[n],e);i.dismiss(),n(s)}))})}openRgsAuth(e,t,n){return $F(this,void 0,void 0,function*(){return new Promise(i=>$F(this,void 0,void 0,function*(){const s=yield this.modalController.create({component:GF,componentProps:{note:e,signatureMode:t,idsToProcess:n}});yield s.present();const{data:o}=yield s.onWillDismiss();i(o)}))})}}return e.\u0275fac=function(t){return new(t||e)(gi(Db),gi(eA),gi(UF),gi(KC),gi($A),gi(aS),gi(QA))},e.\u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YF=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.filtersService=t,this.authService=n,this.bottomSheetRef=i,this.date=new Date}ngOnInit(){setTimeout(()=>{this.signaturesService.currentToobal="mainDocumentDetail",this.filtersService.resfreshDocuments(!0),this.bottomSheetRef.dismiss()},2e3)}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(TF),zr(aS),zr(lM))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"green",2,"text-align","center"],[1,"fa","fa-thumbs-up","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(Hr(0,"div",0),Hr(1,"h1"),Ur(2,"i",1),jr(),Hr(3,"p"),Da(4),hc(5,"translate"),jr(),Hr(6,"p",2),Da(7),jr(),Hr(8,"p",3),Da(9),hc(10,"translate"),hc(11,"date"),hc(12,"translate"),hc(13,"date"),jr(),jr()),2&e&&(no(4),Oa(pc(5,7,"lang.documentValidateAs")),no(3),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(2),Ra("",pc(10,9,"lang.onRange")," ",gc(11,11,t.date,"dd/MM/yyyy")," ",pc(12,14,"lang.atRange")," ",gc(13,16,t.date,"HH:mm"),""))},pipes:[qA,lh],styles:[""]}),e})();function ZF(e,t){if(1&e&&(Wr(0),Hr(1,"div",1),Ur(2,"img",2),jr(),Gr()),2&e){const e=t.$implicit,n=na();no(1),fa("width",n.signaturesService.workingAreaWidth,"px")("height",n.signaturesService.workingAreaHeight,"px"),no(1),fa("width",100,"%"),Vr("src",n.sanitization.bypassSecurityTrustUrl(e.fullPath),os)}}let QF=(()=>{class e{constructor(e,t,n){this.translate=e,this.sanitization=t,this.signaturesService=n}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(qh),zr(oS))},e.\u0275cmp=$e({type:e,selectors:[["app-document-note-list"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[2,"top","0","left","0","position","absolute"],[3,"src"]],template:function(e,t){1&e&&Fr(0,ZF,3,7,"ng-container",0),2&e&&Vr("ngForOf",t.signaturesService.notesContent[t.signaturesService.currentPage])},directives:[ju],encapsulation:2}),e})();const XF=["menuTrigger"],KF=["test"],JF=function(e,t){return{x:e,y:t}};function eB(e,t){if(1&e){const e=qr();Hr(0,"div",1,2),Xr("rzResizing",function(n){Lt(e);const i=t.index;return na().onResizing(n,i)})("rzStart",function(){return Lt(e),na().signaturesService.resizing=!0})("movingOffset",function(){return Lt(e),na().signaturesService.dragging=!0})("endOffset",function(n){Lt(e);const i=t.index;return na().moveSign(n,i)})("rzStop",function(n){Lt(e);const i=t.index,s=na();return s.onResizeStop(n,i),s.signaturesService.resizing=!1}),Hr(2,"ion-item",3),Hr(3,"ion-select",4),Xr("click",function(e){return e.stopPropagation()})("ionChange",function(n){Lt(e);const i=t.index;return na().select(n,i)}),Hr(4,"ion-select-option",5),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-select-option",6),Da(8),hc(9,"translate"),jr(),jr(),jr(),Ur(10,"img",7),jr()}if(2&e){const e=t.$implicit,n=na();fa("width",e.width,"%")("height",n.fix),Vr("position",lc(20,JF,e.positionX*n.signaturesService.workingAreaWidth/100,e.positionY*n.signaturesService.workingAreaHeight/100))("ngDraggable",!n.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",n.bounds)("inBounds",!0),no(5),Ma("",pc(6,16,"lang.delete")," "),no(2),Vr("disabled",e.inAllPage),no(1),Ma(" ",pc(9,18,"lang.replicate"),""),no(2),fa("width",100,"%"),Vr("src",n.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os)}}let tB=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.translate=e,this.sanitization=t,this.signaturesService=n,this.notificationService=i,this.localStorage=s,this.dialog=o,this.popoverController=r,this.modalController=a,this.fix="auto",this.today=new Date}ngOnInit(){}select(e,t){this[e.detail.value](t)}moveSign(e,t){const n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}onResizing(e,t){this.test.nativeElement.style.height="auto"}onResizeStop(e,t){this.test.nativeElement.style.height="auto",this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}cloneSign(e){this.dialog.open(YR,{autoFocus:!1,width:"450px",data:{title:"lang.wantSignOtherPage",msg:""}}).afterClosed().subscribe(t=>{if("yes"===t){this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage=!0,this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token=Math.random().toString(36).substr(2,9);for(let t=1;t<=this.signaturesService.totalPage;t++)this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),t!==this.signaturesService.currentPage&&this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(this.signaturesService.signaturesContent[this.signaturesService.currentPage][e])));this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}}),this.menuSign.closeMenu()}deleteSignature(e){if(!0===this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage){const t=this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token;if(confirm(this.translate.instant("lang.wantDeleteSignatureOtherPage")))for(let e=1;e<=this.signaturesService.totalPage;e++){this.signaturesService.signaturesContent[e]||(this.signaturesService.signaturesContent[e]=[]);for(let n=0;n<=this.signaturesService.signaturesContent[e].length;n++)this.signaturesService.signaturesContent[e][n]&&t===this.signaturesService.signaturesContent[e][n].token&&this.signaturesService.signaturesContent[e].splice(n,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1);this.emptySigns()&&(this.signaturesService.signaturesContent=[]),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}emptySigns(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(qh),zr(oS),zr(QA),zr(rS),zr(LM),zr(tA),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-sign-list"]],viewQuery:function(e,t){if(1&e&&(Tc(XF,1),Tc(KF,1)),2&e){let e;Mc(e=Rc())&&(t.menuSign=e.first),Mc(e=Rc())&&(t.test=e.first)}},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["ngResizable","","style","position:absolute;border: dashed 1px grey;background: rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%;",3,"position","width","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","height","rzResizing","rzStart","movingOffset","endOffset","rzStop",4,"ngFor","ngForOf"],["ngResizable","",2,"position","absolute","border","dashed 1px grey","background","rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%",3,"position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop"],["test",""],[2,"position","absolute","--background","none","right","0","--border-width","0"],["selectedText"," ","value","","interface","popover",3,"click","ionChange"],["value","deleteSignature",1,"action-item"],["value","cloneSign",1,"action-item",3,"disabled"],[1,"img-content",3,"src"]],template:function(e,t){1&e&&Fr(0,eB,11,23,"div",0),2&e&&Vr("ngForOf",t.signaturesService.signaturesContent[t.signaturesService.currentPage])},directives:[ju,nE,Jk,Gx,uC,ox,hC],pipes:[qA],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}"]}),e})();function nB(e,t){if(1&e&&(Hr(0,"ion-select-option",19),Da(1),hc(2,"date"),hc(3,"translate"),jr()),2&e){const e=t.$implicit,n=na();Vr("value",e),no(1),Ma(" ",mc(2,2,n.today,e,void 0,pc(3,7,"lang.langISO"))," ")}}function iB(e,t){if(1&e&&(Hr(0,"ion-select-option",19),Da(1),jr()),2&e){const e=t.$implicit;ba(na().getFontLabel(e)),Vr("value",e),no(1),Ma(" ",e," ")}}const sB=function(){return{cssClass:"selectFormat"}};let oB=(()=>{class e{constructor(e){this.modalController=e,this.today=new Date,this.dateformats=["dd/MM/y","dd-MM-y","dd.MM.y","d MMM y","d MMMM y"],this.datefonts=["Arial","Verdana","Helvetica","Tahoma","Times New Roman","Courier New"],this.size={Arial:15,Verdana:13,Helvetica:13,Tahoma:13,"Times New Roman":15,"Courier New":13}}ngOnInit(){this.date=JSON.parse(JSON.stringify(this.currentDate))}dismissModal(){this.modalController.dismiss()}getFontLabel(e){return e.replace(" ","_")}onSubmit(){this.modalController.dismiss(this.date)}select(e){this.date.size=this.size[e]}}return e.\u0275fac=function(t){return new(t||e)(zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],inputs:{currentDate:"currentDate"},decls:45,vars:43,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[2,"text-align","center","font-weight","normal","font-size","50px","padding","50px"],["color","secondary"],["interface","popover",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["button","","lines","full",3,"click"],["type","color",2,"display","none",3,"ngModel","ngModelChange"],["colorPicker",""],["slot","end","name","ellipse"],[3,"ngModel","interfaceOptions","cancelText","ngModelChange","ionChange"],[3,"value","class",4,"ngFor","ngForOf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"click"],["type","button",3,"click"],[3,"value"]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-content"),Hr(9,"ion-toolbar"),Hr(10,"ion-title",5),Da(11),hc(12,"date"),hc(13,"translate"),jr(),jr(),Hr(14,"ion-item"),Hr(15,"ion-label",6),Da(16),hc(17,"translate"),jr(),Hr(18,"ion-select",7),Xr("ngModelChange",function(e){return t.date.format=e}),Fr(19,nB,4,9,"ion-select-option",8),jr(),jr(),Hr(20,"ion-item",9),Xr("click",function(){return Lt(e),Br(22).click()}),Hr(21,"input",10,11),Xr("ngModelChange",function(e){return t.date.color=e}),jr(),Hr(23,"ion-label",6),Da(24),hc(25,"translate"),jr(),Ur(26,"ion-icon",12),jr(),Hr(27,"ion-item"),Hr(28,"ion-label",6),Da(29),hc(30,"translate"),jr(),Hr(31,"ion-select",13),Xr("ngModelChange",function(e){return t.date.font=e})("ionChange",function(e){return t.select(e.detail.value)}),hc(32,"translate"),Fr(33,iB,2,4,"ion-select-option",14),jr(),jr(),jr(),Hr(34,"ion-footer",15),Hr(35,"ion-toolbar"),Hr(36,"ion-buttons",16),Hr(37,"ion-button",17),Xr("click",function(){return t.onSubmit()}),Hr(38,"ion-label"),Da(39),hc(40,"translate"),jr(),jr(),Hr(41,"ion-button",18),Xr("click",function(){return t.dismissModal()}),Hr(42,"ion-label"),Da(43),hc(44,"translate"),jr(),jr(),jr(),jr(),jr()}2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,21,"lang.options")),no(7),ba(t.getFontLabel(t.date.font)),fa("color",t.date.color),no(1),Oa(mc(12,23,t.today,t.date.format,void 0,pc(13,28,"lang.langISO"))),no(5),Oa(pc(17,30,"lang.format")),no(2),Vr("ngModel",t.date.format),no(1),Vr("ngForOf",t.dateformats),no(2),Vr("ngModel",t.date.color),no(3),Oa(pc(25,32,"lang.color")),no(2),fa("color",t.date.color),no(3),Oa(pc(30,34,"lang.font")),no(2),Vr("ngModel",t.date.font)("interfaceOptions",rc(42,sB))("cancelText",pc(32,36,"lang.cancel")),no(2),Vr("ngForOf",t.datefonts),no(6),Oa(pc(40,38,"lang.save")),no(4),Oa(pc(44,40,"lang.cancel")))},directives:[Vx,yC,bC,Ax,Cx,Nx,Tx,Gx,Zx,uC,ox,rm,Rm,ju,Tf,Bx,hC],pipes:[qA,lh],styles:[".Arial{font-family:Arial,sans-serif} .Verdana{font-family:Verdana,sans-serif} .Helvetica{font-family:Helvetica,sans-serif} .Tahoma{font-family:Tahoma,sans-serif} .Times_New_Roman{font-family:Times New Roman,serif} .Courier_New{font-family:Courier New,monospace}"]}),e})();const rB=["menuTrigger"],aB=["test2"],lB=function(e,t){return{x:e,y:t}};function cB(e,t){if(1&e){const e=qr();Hr(0,"div",1,2),Xr("rzResizing",function(n){Lt(e);const i=t.index;return na().onResizingDate(n,i)})("rzStart",function(){return Lt(e),na().signaturesService.resizing=!0})("movingOffset",function(){return Lt(e),na().signaturesService.dragging=!0})("endOffset",function(n){Lt(e);const i=t.index;return na().moveDate(n,i)})("rzStop",function(n){Lt(e);const i=t.index,s=na();return s.onResizeDateStop(n,i),s.signaturesService.resizing=!1})("click",function(e){return e.stopPropagation()}),Hr(2,"ion-buttons",3),Hr(3,"ion-button",4),Ur(4,"ion-icon",5),jr(),jr(),Hr(5,"mat-menu",null,6),Hr(7,"button",7),Xr("click",function(){Lt(e);const n=t.index;return na().openDateSettings(n)}),Da(8),hc(9,"translate"),jr(),Hr(10,"button",7),Xr("click",function(){Lt(e);const n=t.index;return na().deleteDate(n)}),Da(11),hc(12,"translate"),jr(),jr(),dn(),Hr(13,"svg",8),Hr(14,"text",9),Da(15),hc(16,"date"),hc(17,"translate"),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=Br(6),s=na();fa("width",e.width,"%")("height",e.height,"%")("height",s.fix),Vr("id","dateDiv_"+n)("position",lc(34,lB,e.positionX*s.signaturesService.workingAreaWidth/100,e.positionY*s.signaturesService.workingAreaHeight/100))("ngDraggable",!s.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",s.bounds)("inBounds",!0),no(3),Vr("matMenuTriggerFor",i),no(5),Oa(pc(9,23,"lang.options")),no(3),Oa(pc(12,25,"lang.delete")),no(2),Vr("id","testSVG_"+n),no(1),fa("font-family",e.font)("fill",e.color),Ir("font-size",e.size),no(1),Oa(mc(16,27,s.today,e.format,void 0,pc(17,32,"lang.langISO")))}}let dB=(()=>{class e{constructor(e,t,n,i,s,o,r){this.translate=e,this.signaturesService=t,this.notificationService=n,this.localStorage=i,this.dialog=s,this.popoverController=o,this.modalController=r,this.fix="auto",this.today=new Date}ngOnInit(){}moveDate(e,t){const n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}onResizingDate(e,t){this.test2.nativeElement.style.height="auto"}onResizeDateStop(e,t){this.test2.nativeElement.style.height="auto",this.signaturesService.datesContent[this.signaturesService.currentPage][t].height=100*e.size.height/this.signaturesService.workingAreaHeight,this.signaturesService.datesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}deleteDate(e){this.signaturesService.datesContent[this.signaturesService.currentPage].splice(e,1),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}openDateSettings(e){return t=this,void 0,i=function*(){const t=yield this.modalController.create({component:oB,componentProps:{currentDate:this.signaturesService.datesContent[this.signaturesService.currentPage][e]}});yield t.present();const{data:n}=yield t.onWillDismiss();void 0!==n&&(this.signaturesService.datesContent[this.signaturesService.currentPage][e]=n)},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(oS),zr(QA),zr(rS),zr(LM),zr(tA),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-document-date-list"]],viewQuery:function(e,t){if(1&e&&(Tc(rB,1),Tc(aB,1)),2&e){let e;Mc(e=Rc())&&(t.menuSign=e.first),Mc(e=Rc())&&(t.test2=e.first)}},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["class","test","ngResizable","",3,"id","position","width","height","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click",4,"ngFor","ngForOf"],["ngResizable","",1,"test",3,"id","position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click"],["test2",""],[2,"position","absolute","top","-30px","right","0px"],["slot","icon-only","shape","round","color","secondary",3,"matMenuTriggerFor"],["name","ellipsis-vertical"],["menu","matMenu"],["mat-menu-item","",3,"click"],["viewBox","0 0 130 30","preserveAspectRatio","xMinYMin meet",3,"id"],["y","21"]],template:function(e,t){1&e&&Fr(0,cB,18,37,"div",0),2&e&&Vr("ngForOf",t.signaturesService.datesContent[t.signaturesService.currentPage])},directives:[ju,nE,Jk,Ax,Cx,VI,Nx,LI,MI],pipes:[qA,lh],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}svg.text[_ngcontent-%COMP%]{display:block;font-size:inherit}"]}),e})();var uB=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function hB(e,t){if(1&e){const e=qr();Hr(0,"ion-item",6),Xr("click",function(){Lt(e);const n=t.$implicit;return na().loadVisaWorkflow(n)}),Hr(1,"ion-label"),Da(2),jr(),Hr(3,"ion-buttons",7),Hr(4,"ion-button",8),Xr("click",function(n){Lt(e);const i=t.$implicit,s=na();return n.stopPropagation(),s.removeModel(i)}),Ur(5,"ion-icon",9),jr(),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(e.title)}}let pB=(()=>{class e{constructor(e,t,n,i,s,o){this.http=e,this.translate=t,this.popoverController=n,this.alertController=i,this.notificationService=s,this.authService=o,this.currentWorkflow=[],this.visaWorkflowModels=[]}ngOnInit(){this.getVisaUserModels()}createModel(){return uB(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.newTemplate"),message:this.translate.instant("lang.newTemplateDesc"),inputs:[{name:"title",type:"text",placeholder:this.translate.instant("lang.label")+" *"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:e=>""!==e.title?(this.saveModel(e.title),!0):(this.notificationService.error(this.translate.instant("lang.label")+" "+this.translate.instant("lang.mandatory")),!1)}]});yield e.present()})}saveModel(e){const t={title:e,items:this.currentWorkflow.map(e=>({userId:e.userId,mode:this.authService.getWorkflowMode(e.role),signatureMode:this.authService.getSignatureMode(e.role)}))};this.http.post("../rest/workflowTemplates",t).pipe(Ov(t=>{this.notificationService.success("lang.modelCreated"),this.visaWorkflowModels.push({id:t.id,title:e})}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}removeModel(e){return uB(this,void 0,void 0,function*(){const t=yield this.alertController.create({header:this.translate.instant("lang.delete"),message:this.translate.instant("lang.deleteTemplate"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{this.http.delete("../rest/workflowTemplates/"+e.id).pipe(Ov(()=>{this.visaWorkflowModels=this.visaWorkflowModels.filter(t=>t.id!==e.id),this.notificationService.success(`Mod\xe8le ${e.title} supprim\xe9`)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}]});yield t.present()})}getVisaUserModels(){this.http.get("../rest/workflowTemplates").pipe(Ov(e=>{this.visaWorkflowModels=e.workflowTemplates}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}loadVisaWorkflow(e){this.http.get("../rest/workflowTemplates/"+e.id).pipe(Ov(e=>{const t=e.workflowTemplate.items.map(e=>({userId:e.userId,userDisplay:e.userLabel,role:"visa"===e.mode?"visa":e.signatureMode,processDate:null,current:!1,modes:["visa"].concat(e.userSignatureModes)}));this.popoverController.dismiss(t)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(tA),zr(XC),zr(QA),zr(aS))},e.\u0275cmp=$e({type:e,selectors:[["app-visa-workflow-models"]],inputs:{currentWorkflow:"currentWorkflow"},decls:11,vars:8,consts:[["lines","none"],["color","secondary"],["button","",3,"click",4,"ngFor","ngForOf"],["button","",3,"disabled","click"],["color","primary","slot","start","name","add-circle-outline"],["color","primary"],["button","",3,"click"],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-list",0),Hr(1,"ion-list-header"),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,hB,6,1,"ion-item",2),Hr(6,"ion-item",3),Xr("click",function(){return t.createModel()}),Ur(7,"ion-icon",4),Hr(8,"ion-label",5),Da(9),hc(10,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,4,"lang.circuitModels")),no(2),Vr("ngForOf",t.visaWorkflowModels),no(1),Vr("disabled",0===t.currentWorkflow.length),no(3),Oa(pc(10,6,"lang.newTemplate")))},directives:[Qx,Xx,Zx,ju,Gx,Nx,Ax,Cx],pipes:[qA],styles:[""]}),e})();function gB(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",19),Xr("ionChange",function(t){Lt(e),na(2);const n=Br(3);return na().addUser(t.detail.value,n)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Hr(4,"ion-note",13),Da(5),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(2),Oa(e.email)}}function fB(e,t){if(1&e&&(Hr(0,"ion-list",17),Fr(1,gB,6,4,"ion-item",18),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.visaUsersList)}}function mB(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-item",10),Hr(2,"ion-searchbar",11,12),Xr("ngModelChange",function(t){return Lt(e),na().visaUsersSearchVal=t})("ionChange",function(t){return Lt(e),na().getVisaUsers(t)})("ionFocus",function(){return Lt(e),na().visaUsersSearchVal=""}),hc(4,"translate"),jr(),Hr(5,"ion-buttons",13),Hr(6,"ion-button",14),Xr("click",function(t){return Lt(e),na().openVisaWorkflowModels(t)}),hc(7,"translate"),Ur(8,"ion-icon",15),jr(),jr(),jr(),Fr(9,fB,2,1,"ion-list",16),Gr()}if(2&e){const e=na();no(2),Vr("ngModel",e.visaUsersSearchVal)("placeholder",pc(4,4,"lang.searchUser")),no(4),Vr("title",pc(7,6,"lang.circuitModels")),no(3),Vr("ngIf",e.visaUsersList.length>0)}}function bB(e,t){1&e&&(Hr(0,"ion-list"),Hr(1,"ion-item",10),Hr(2,"ion-label",20),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noUserInWorkflow")))}function vB(e,t){1&e&&(Hr(0,"p",31),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.substituteMsg"),""))}function yB(e,t){if(1&e&&(Hr(0,"h2",32),Da(1),jr()),2&e){const e=na().$implicit;Vr("title",e.userDisplay),no(1),Oa(e.userDisplay)}}function wB(e,t){1&e&&(Hr(0,"h2",33),Da(1),hc(2,"translate"),jr()),2&e&&(Vr("title",na().$implicit.userDisplay),no(1),Ma(" ",pc(2,2,"lang.userDeleted"),""))}function _B(e,t){if(1&e&&(Hr(0,"ion-select-option",37),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit,n=na(2),i=n.index,s=n.$implicit,o=na();Vr("value",e)("disabled",!o.isValidRole(i,e,s.role)),no(1),Ma(" ",pc(2,3,"lang."+e+"User")," ")}}function xB(e,t){if(1&e){const e=qr();Hr(0,"p",34),Hr(1,"ion-select",35),Xr("ngModelChange",function(t){return Lt(e),na().$implicit.role=t}),hc(2,"translate"),Fr(3,_B,3,5,"ion-select-option",36),jr(),jr()}if(2&e){const e=na().$implicit,t=na();let n=null;no(1),fa("color",null==(n=t.getRole(e.role))?null:n.color),Vr("ngModel",e.role)("title",pc(2,7,"lang."+e.role+"User"))("interfaceOptions",t.customPopoverOptions)("disabled",!t.editMode),no(2),Vr("ngForOf",e.modes)}}function CB(e,t){if(1&e&&(Hr(0,"ion-note",41),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang."+e.mode+"ProcessInfo")," ",e.processDate," ")}}function AB(e,t){if(1&e&&(Hr(0,"ion-note",42),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang.refProcessInfo")," ",e.processDate," ")}}function SB(e,t){if(1&e&&(Hr(0,"ion-note",43),Da(1),hc(2,"translate"),jr()),2&e){const e=na(2).$implicit;no(1),Ta(" ",pc(2,2,"lang.stopProcessInfo")," ",e.processDate," ")}}function kB(e,t){if(1&e&&(Hr(0,"p",32),Fr(1,CB,3,4,"ion-note",38),Fr(2,AB,3,4,"ion-note",39),Fr(3,SB,3,4,"ion-note",40),jr()),2&e){const e=na().$implicit;Vr("title",e.processDate),no(1),Vr("ngIf","VAL"===e.status),no(1),Vr("ngIf","REF"===e.status),no(1),Vr("ngIf","STOP"===e.status)}}function EB(e,t){1&e&&Ur(0,"ion-icon",44)}function PB(e,t){if(1&e){const e=qr();Hr(0,"ion-button",45),Xr("click",function(t){Lt(e);const n=na().index,i=na();return t.stopPropagation(),i.removeUser(n)}),Ur(1,"ion-icon",46),jr()}}function DB(e,t){if(1&e&&(Hr(0,"ion-item",21),Hr(1,"ion-reorder",2),Ur(2,"ion-icon",22),hc(3,"translate"),jr(),Hr(4,"ion-avatar",23),Xr("click",function(e){return e.stopPropagation()}),Ur(5,"img",24),jr(),Hr(6,"ion-label"),Fr(7,vB,3,3,"p",25),Fr(8,yB,2,2,"h2",26),Fr(9,wB,3,4,"h2",27),Fr(10,xB,4,9,"p",28),Fr(11,kB,4,4,"p",26),jr(),Fr(12,EB,1,0,"ion-icon",29),Hr(13,"ion-buttons",13),Fr(14,PB,2,0,"ion-button",30),jr(),jr()),2&e){const e=t.$implicit,n=na();ma("current",e.current),no(2),Vr("title",pc(3,11,"lang.reorder")),no(3),Vr("src",e.userPicture,os),no(2),Vr("ngIf",n.userDelegated&&e.current),no(1),Vr("ngIf",""!==e.userDisplay),no(1),Vr("ngIf",""===e.userDisplay),no(1),Vr("ngIf",null===e.processDate),no(1),Vr("ngIf",null!==e.processDate),no(1),Vr("ngIf",!n.editMode&&e.current),no(2),Vr("ngIf",n.editMode)}}let OB=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.signaturesService=t,this.authService=n,this.notificationService=i,this.popoverController=s,this.editMode=!1,this.visaWorkflow=[],this.userDelegated=!1,this.loading=!1,this.visaUsersSearchVal="",this.visaUsersList=[],this.showVisaUsersList=!1,this.customPopoverOptions={header:"Roles"},this.roles=[]}ngOnInit(){this.visaWorkflow.forEach((e,t)=>{this.getAvatarUser(t)})}doReorder(e){this.canMoveUser(e)?this.visaWorkflow=e.detail.complete(this.visaWorkflow):(this.notificationService.error("lang.errorUserSignType"),e.detail.complete(!1))}canMoveUser(e){let t=this.array_move(this.visaWorkflow.slice(),e.detail.from,e.detail.to);return t=t.filter(e=>void 0!==e),this.isValidWorkflow(t)}isValidWorkflow(e=this.visaWorkflow){let t=!0;return e.forEach((n,i)=>{-1===["visa","stamp"].indexOf(n.role)&&e.filter((e,t)=>t>i&&"stamp"===e.role).length>0&&(t=!1)}),t}array_move(e,t,n){if(n>=e.length){let t=n-e.length+1;for(;t--;)e.push(void 0)}return e.splice(n,0,e.splice(t,1)[0]),e}getVisaUsers(e){this.showVisaUsersList=!0,""===e.detail.value?this.resetVisaUsersList():e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.visaUsersList=e}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}addUser(e,t){this.resetVisaUsersList(),e.signatureModes.unshift("visa"),this.visaWorkflow.push({userId:e.id,userDisplay:`${e.firstname} ${e.lastname}`,role:e.signatureModes[e.signatureModes.length-1],processDate:null,current:!1,modes:e.signatureModes}),this.isValidWorkflow()||(this.visaWorkflow[this.visaWorkflow.length-1].role="visa"),this.getAvatarUser(this.visaWorkflow.length-1),this.visaUsersSearchVal="",t.setFocus()}removeUser(e){this.visaWorkflow.splice(e,1)}getAvatarUser(e){void 0===this.visaWorkflow[e].userPicture&&""!==this.visaWorkflow[e].userDisplay&&this.http.get("../rest/users/"+this.visaWorkflow[e].userId+"/picture").pipe(Ov(t=>{this.visaWorkflow[e].userPicture=t.picture}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}resetVisaUsersList(){this.visaUsersList=[]}openVisaWorkflowModels(e){return t=this,void 0,i=function*(){const t=yield this.popoverController.create({component:pB,componentProps:{currentWorkflow:this.visaWorkflow},event:e});yield t.present(),t.onDidDismiss().then(e=>{"backdrop"!==e.role&&(this.visaWorkflow=this.visaWorkflow.concat(e.data),this.visaWorkflow.forEach((e,t)=>{this.getAvatarUser(t)}))})},new((n=void 0)||(n=Promise))(function(e,s){function o(e){try{a(i.next(e))}catch(t){s(t)}}function r(e){try{a(i.throw(e))}catch(t){s(t)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,r)}a((i=i.apply(t,[])).next())});var t,n,i}getCurrentWorkflow(){return this.visaWorkflow}getRole(e){return this.authService.signatureRoles.filter(t=>t.id===e)[0]}loadWorkflow(e){this.visaWorkflow=e;const t=this.visaWorkflow.length;for(let n=0;n<t;n++)this.getAvatarUser(n)}isValidRole(e,t,n){return!(this.visaWorkflow.filter((t,n)=>n>e&&["stamp"].indexOf(t.role)>-1).length>0&&["visa","stamp"].indexOf(n)>-1&&-1===["visa","stamp"].indexOf(t)||this.visaWorkflow.filter((t,n)=>n<e&&-1===["visa","stamp"].indexOf(t.role)).length>0&&"stamp"===t)}setPositionsWorkfow(e,t){this.clearPositionsFromResource(e),t.length>0&&Object.keys(t).forEach(n=>{const i=Object.assign(Object.assign({},t[n]),{mainDocument:e.mainDocument});this.visaWorkflow[t[n].sequence].signaturePositions=this.visaWorkflow[t[n].sequence].signaturePositions.filter(t=>t.mainDocument!==e.mainDocument),this.visaWorkflow[t[n].sequence].signaturePositions.push(i)})}clearPositionsFromResource(e){this.visaWorkflow.forEach(t=>{t.signaturePositions=t.signaturePositions.filter(t=>t.mainDocument!==e.mainDocument)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(aS),zr(QA),zr(tA))},e.\u0275cmp=$e({type:e,selectors:[["app-visa-workflow"]],viewQuery:function(e,t){if(1&e&&Tc(rC,1),2&e){let e;Mc(e=Rc())&&(t.reorderGroup=e.first)}},inputs:{editMode:"editMode",visaWorkflow:"visaWorkflow",userDelegated:"userDelegated"},decls:13,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","list-outline"],[1,"ion-text-center"],[3,"click"],[4,"ngIf"],[3,"disabled","ionItemReorder"],["class","no-ripple",3,"current",4,"ngFor","ngForOf"],["lines","none"],[3,"ngModel","placeholder","ngModelChange","ionChange","ionFocus"],["searchInput",""],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","albums-outline"],["style","position: absolute;z-index: 2;width: 100%;box-shadow: 0 4px 2px -2px gray;",4,"ngIf"],[2,"position","absolute","z-index","2","width","100%","box-shadow","0 4px 2px -2px gray"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["color","medium",1,"ion-text-center"],[1,"no-ripple"],["name","reorder-three",2,"font-size","30px",3,"title"],["slot","start",1,"avatar-user",2,"cursor","grab",3,"click"],[3,"src"],["class","secondary",4,"ngIf"],[3,"title",4,"ngIf"],["class","danger",3,"title",4,"ngIf"],["style","display: flex;justify-content: start;",4,"ngIf"],["color","success","slot","end","name","caret-back-outline",4,"ngIf"],["style","z-index: 9999","fill","clear","slot","icon-only","shape","round","color","danger",3,"click",4,"ngIf"],[1,"secondary"],[3,"title"],[1,"danger",3,"title"],[2,"display","flex","justify-content","start"],["interface","popover",2,"width","auto","max-width","100%","padding-left","0px",3,"ngModel","title","interfaceOptions","disabled","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["class","valProcess",4,"ngIf"],["class","refProcess",4,"ngIf"],["class","stopProcess",4,"ngIf"],[1,"valProcess"],[1,"refProcess"],[1,"stopProcess"],["color","success","slot","end","name","caret-back-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",2,"z-index","9999",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content",6),Xr("click",function(){return t.resetVisaUsersList()}),Fr(9,mB,10,8,"ng-container",7),Fr(10,bB,5,3,"ion-list",7),Hr(11,"ion-reorder-group",8),Xr("ionItemReorder",function(e){return t.doReorder(e)}),Fr(12,DB,15,13,"ion-item",9),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,6,"lang.circuit")),no(3),Vr("ngIf",t.editMode),no(1),Vr("ngIf",0===t.visaWorkflow.length),no(1),Vr("disabled",!t.editMode),no(1),Vr("ngForOf",t.visaWorkflow))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,rC,ju,Gx,lC,ax,rm,Rm,Qx,Dx,J_,Zx,tC,oC,wx,uC,ox,hC],pipes:[qA],styles:[".current[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-success)}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.avatar-user[_ngcontent-%COMP%]{width:50px;height:50px;border:solid var(--ion-color-secondary)}ion-select[_ngcontent-%COMP%]{font-size:12px}.no-ripple[_ngcontent-%COMP%]{--ripple-color:transparent}.item-select-disabled[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%], .select-disabled[_ngcontent-%COMP%]{opacity:1}.item-select-disabled[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]::part(icon){display:none!important}.valProcess[_ngcontent-%COMP%]{color:var(--ion-color-success)}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%], .valProcess[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font-size:12px;text-align:right;padding-top:10px;padding-bottom:10px}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%]{color:var(--ion-color-danger)}"]}),e})();function MB(e,t){if(1&e){const e=qr();Hr(0,"ion-item",9),Xr("click",function(){Lt(e);const n=t.$implicit;return na().goTo(n.id)}),Hr(1,"div"),Hr(2,"ion-label",10),Da(3),jr(),Hr(4,"ion-label",11),Da(5),hc(6,"shorten"),jr(),jr(),Ur(7,"ion-icon",12),jr()}if(2&e){const e=t.$implicit;no(3),Oa(e.reference),no(2),Oa(fc(6,2,e.title,50,"..."))}}let TB=(()=>{class e{constructor(e){this.router=e}ngOnInit(){}goTo(e){this.router.navigate(["/documents/"+e])}}return e.\u0275fac=function(t){return new(t||e)(zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["app-associated-documents"]],inputs:{associatedDocuments:"associatedDocuments"},decls:14,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","link-outline"],[1,"ion-text-center"],[1,"secondary"],[2,"display","flex","flex-direction","column","height","100%"],["class","doc-item",3,"click",4,"ngFor","ngForOf"],[1,"doc-item",3,"click"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["slot","end","color","medium","name","arrow-forward-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Hr(6,"b",6),Da(7),jr(),Da(8),hc(9,"translate"),jr(),jr(),jr(),Hr(10,"ion-content"),Hr(11,"div",7),Hr(12,"ion-list"),Fr(13,MB,8,6,"ion-item",8),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(7),Oa(null==t.associatedDocuments?null:t.associatedDocuments.length),no(1),Ma("\xa0",pc(9,4,"lang.associatedDocuments"),""),no(5),Vr("ngForOf",t.associatedDocuments))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Qx,ju,Gx,Zx],pipes:[qA,cE],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px;cursor:pointer}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}"]}),e})();function IB(e,t){1&e&&(Hr(0,"ion-card"),Hr(1,"ion-item",13),Ur(2,"ion-icon",14),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),jr(),jr()),2&e&&(no(4),Oa(pc(5,1,"lang.docIsInMailGroup")))}function RB(e,t){if(1&e&&(Hr(0,"ion-item",8),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=na();Vr("title",e.mainDocument.description),no(2),Oa(pc(3,3,"lang.description")),no(2),Vr("value",e.mainDocument.description)}}function LB(e,t){if(1&e&&(Hr(0,"ion-item",8),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=na();Vr("title",e.mainDocument.deadline),no(2),Oa(pc(3,3,"lang.processingDeadline")),no(2),Vr("value",e.mainDocument.deadline)}}function FB(e,t){if(1&e&&(Hr(0,"ion-item"),Hr(1,"ion-label",9),Da(2),hc(3,"translate"),jr(),Ur(4,"ion-input",10),jr()),2&e){const e=t.$implicit;no(2),Oa(pc(3,2,e.label)),no(2),Vr("value",e.value)}}let BB=(()=>{class e{constructor(e,t){this.signaturesService=e,this.functionsService=t,this.loading=!1}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr(HF))},e.\u0275cmp=$e({type:e,selectors:[["app-main-document-detail"]],inputs:{mainDocument:"mainDocument"},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","information-circle"],[1,"ion-text-center"],[4,"ngIf"],["lines","full",1,"ion-no-margin"],[3,"title"],["color","secondary","position","floating"],["readonly","",3,"value"],[3,"title",4,"ngIf"],[4,"ngFor","ngForOf"],["color","danger"],["name","alert-circle","slot","start"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Hr(3,"ion-button",3),Ur(4,"ion-icon",4),jr(),jr(),Hr(5,"ion-title",5),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"ion-content"),Fr(9,IB,6,3,"ion-card",6),Hr(10,"ion-list",7),Hr(11,"ion-item",8),Hr(12,"ion-label",9),Da(13),hc(14,"translate"),jr(),Ur(15,"ion-input",10),jr(),Fr(16,RB,5,5,"ion-item",11),Fr(17,LB,5,5,"ion-item",11),Hr(18,"ion-item",8),Hr(19,"ion-label",9),Da(20),hc(21,"translate"),jr(),Ur(22,"ion-input",10),jr(),Hr(23,"ion-item",8),Hr(24,"ion-label",9),Da(25),hc(26,"translate"),jr(),Ur(27,"ion-input",10),jr(),Fr(28,FB,5,4,"ion-item",12),jr(),jr()),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,15,"lang.informations")),no(3),Vr("ngIf",!t.functionsService.empty(t.mainDocument.mailingId)),no(2),Vr("title",t.mainDocument.sender),no(2),Oa(pc(14,17,"lang.emittedBy")),no(2),Vr("value",t.mainDocument.sender),no(1),Vr("ngIf",null!=t.mainDocument.description),no(1),Vr("ngIf",null!=t.mainDocument.deadline),no(1),Vr("title",t.mainDocument.reference),no(2),Oa(pc(21,19,"lang.reference")),no(2),Vr("value",t.mainDocument.reference),no(1),Vr("title",t.mainDocument.title),no(2),Oa(pc(26,21,"lang.subject")),no(2),Vr("value",t.mainDocument.title),no(1),Vr("ngForOf",t.mainDocument.metadata))},directives:[Vx,yC,Ax,Cx,Nx,bC,Tx,Wu,Qx,Gx,Zx,Wx,ax,ju,Sx],pipes:[qA],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}.closePanel[_ngcontent-%COMP%]{position:absolute;left:0;font-size:24px}.panel-content[_ngcontent-%COMP%] .mat-form-field-label{color:#f99830}.panel-content[_ngcontent-%COMP%] .mat-input-element:disabled{color:#135f7f}"]}),e})();var zB=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const VB=["mainContent"],NB=["img"],HB=["snav"],jB=["dragElem"],UB=["appDocumentNotePad"],WB=["appDocumentList"],GB=["rightContent"],$B=["pagesList"];function qB(e,t){if(1&e){const e=qr();Hr(0,"ion-segment-button",20),Xr("click",function(){return Lt(e),na(2).openAssociatedDocuments()}),Hr(1,"ion-label",11),Da(2),hc(3,"ucfirst"),hc(4,"translate"),jr(),Ur(5,"ion-icon",21),Hr(6,"ion-badge",15),Da(7),jr(),jr()}if(2&e){const e=na(2);no(2),Oa(pc(3,2,pc(4,4,"lang.associatedDocuments"))),no(5),Ma(" ",e.mainDocument.linkedDocuments.length," ")}}function YB(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",22),Hr(1,"ion-button",23),Xr("click",function(t){return Lt(e),na(2).openAction(t)}),Ur(2,"ion-icon",24),jr(),jr()}if(2&e){const e=na(2);no(1),Vr("disabled","CONVERTING"===e.mainDocument.status)}}function ZB(e,t){if(1&e){const e=qr();Hr(0,"ion-header",6),Hr(1,"ion-toolbar",7),Hr(2,"ion-buttons",8),Ur(3,"ion-menu-button"),jr(),Hr(4,"ion-segment",9),Xr("ionChange",function(t){return Lt(e),na().signaturesService.currentToobal=t.detail.value}),Hr(5,"ion-segment-button",10),Xr("click",function(){return Lt(e),na().openMainDocumentDetail()}),Hr(6,"ion-label",11),Da(7),hc(8,"translate"),jr(),Ur(9,"ion-icon",12),jr(),Hr(10,"ion-segment-button",13),Xr("click",function(){return Lt(e),na().openDocumentList()}),Hr(11,"ion-label",11),Da(12),hc(13,"ucfirst"),hc(14,"translate"),jr(),Ur(15,"ion-icon",14),Hr(16,"ion-badge",15),Da(17),jr(),jr(),Fr(18,qB,8,6,"ion-segment-button",16),Hr(19,"ion-segment-button",17),Xr("click",function(){return Lt(e),na().openVisaWorkflow()}),Hr(20,"ion-label",11),Da(21),hc(22,"translate"),jr(),Ur(23,"ion-icon",18),Hr(24,"ion-badge",15),Da(25),jr(),jr(),jr(),Fr(26,YB,3,1,"ion-buttons",19),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(4),Vr("value",e.signaturesService.currentToobal),no(3),Oa(pc(8,9,"lang.informations")),no(5),Oa(pc(13,11,pc(14,13,"lang.attachedElements"))),no(5),Ma(" ",e.mainDocument.attachments.length+1," "),no(1),Vr("ngIf",void 0!==e.mainDocument.linkedDocuments&&e.mainDocument.linkedDocuments.length>0),no(3),Oa(pc(22,15,"lang.circuit")),no(4),Ma(" ",e.mainDocument.workflow.length," "),no(1),Vr("ngIf",!e.detailMode)}}function QB(e,t){1&e&&(Hr(0,"ion-toolbar",25),Hr(1,"ion-label",26),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.substitutionInfo")))}function XB(e,t){1&e&&(Hr(0,"ion-toolbar",27),Hr(1,"div",28),Hr(2,"ion-label",29),Da(3),hc(4,"translate"),jr(),Ur(5,"ion-spinner",30),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.convertingDocument")))}function KB(e,t){1&e&&(Hr(0,"ion-toolbar",27),Hr(1,"ion-label",31),Da(2),hc(3,"translate"),jr(),jr()),2&e&&(no(2),Oa(pc(3,1,"lang.errorConvertingDocument")))}function JB(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",44),Xr("movingOffset",function(){return Lt(e),na(3).signaturesService.dragging=!0})("endOffset",function(){return Lt(e),na(3).signaturesService.dragging=!1})("click",function(){return Lt(e),na(3).expandedNote=!0}),hc(1,"translate"),Ur(2,"ion-icon",45),jr()}if(2&e){na(2);const e=Br(7),t=na();Vr("bounds",e)("inBounds",!0)("title",pc(1,4,"lang.expandNote"))("disabled",t.signaturesService.dragging)}}function ez(e,t){if(1&e&&(Wr(0),Hr(1,"div",52),Da(2),jr(),Hr(3,"div",53),Da(4),jr(),Gr()),2&e){const e=na(4);no(2),Ta(" ",e.mainDocument.notes.creator," (",e.mainDocument.notes.creationDate,") : "),no(2),Ma(" ",e.mainDocument.notes.value," ")}}function tz(e,t){if(1&e&&(Hr(0,"div"),Hr(1,"div",52),Da(2),jr(),Hr(3,"div",53),Da(4),jr(),jr()),2&e){const e=na().$implicit;no(2),Ta(" ",e.userDisplay," (",e.processDate,") : "),no(2),Ma(" ",e.note," ")}}function nz(e,t){if(1&e&&(Wr(0),Fr(1,tz,5,3,"div",3),Gr()),2&e){const e=t.$implicit;no(1),Vr("ngIf",e.note)}}function iz(e,t){if(1&e){const e=qr();Hr(0,"div",46),Xr("movingOffset",function(){return Lt(e),na(3).signaturesService.dragging=!0})("endOffset",function(){return Lt(e),na(3).signaturesService.dragging=!1}),Hr(1,"div",47),Ur(2,"i",48),Hr(3,"span",49),Da(4),hc(5,"translate"),jr(),Hr(6,"i",50),Xr("click",function(){return Lt(e),na(3).expandedNote=!1}),hc(7,"translate"),jr(),jr(),Fr(8,ez,5,3,"ng-container",3),Fr(9,nz,2,1,"ng-container",51),jr()}if(2&e){na(2);const e=Br(7),t=na();Vr("bounds",e)("inBounds",!0),no(4),Oa(pc(5,6,"lang.note")),no(2),Vr("title",pc(7,8,"lang.collapseNote")),no(2),Vr("ngIf",null!=t.mainDocument.notes),no(1),Vr("ngForOf",t.mainDocument.workflow)}}function sz(e,t){if(1&e&&(Wr(0),Fr(1,JB,3,6,"ion-fab-button",42),Fr(2,iz,10,10,"div",43),Gr()),2&e){const e=na(2);no(1),Vr("ngIf",!e.expandedNote),no(1),Vr("ngIf",e.expandedNote)}}function oz(e,t){1&e&&Ur(0,"app-document-note-list")}function rz(e,t){1&e&&Ur(0,"app-document-sign-list",54),2&e&&(na(),Vr("bounds",Br(7)))}function az(e,t){1&e&&Ur(0,"app-document-date-list",54),2&e&&(na(),Vr("bounds",Br(7)))}function lz(e,t){if(1&e){const e=qr();Hr(0,"ion-img",55,56),Xr("ionImgDidLoad",function(t){return Lt(e),na(2).imageLoaded(t)}),jr()}if(2&e){const e=na(2);fa("width",e.signaturesService.workingAreaWidth,"px")("height",e.signaturesService.workingAreaHeight,"px"),Vr("src",e.docList[e.currentDoc].imgContent[e.pageNum])}}function cz(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),jr()),2&e){const e=t.index,n=na(3);Vr("value",e+1)("disabled",e+1===n.pageNum),no(1),Oa(e+1)}}const dz=function(e){return{cssClass:e}};function uz(e,t){if(1&e){const e=qr();Hr(0,"section",57),Hr(1,"div",58),Da(2),jr(),Hr(3,"div",59),Xr("click",function(t){return Lt(e),na(2).openSelect(t)}),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-select",60,61),Xr("ngModelChange",function(t){return Lt(e),na(2).pageNum=t})("ionChange",function(t){return Lt(e),na(2).goTo(t.target.value)}),Fr(8,cz,2,3,"ion-select-option",62),jr(),jr()}if(2&e){const e=na(2);no(2),Ma(" ",e.docList[e.currentDoc].title," "),no(2),Ia("",pc(5,7,"lang.page")," ",e.pageNum," / ",e.totalPages,""),no(2),Vr("ngModel",e.pageNum)("interfaceOptions",ac(9,dz,e.totalPages>10?"popover-class":"custom-popover-class")),no(2),Vr("ngForOf",e.pagesArray(e.totalPages))}}function hz(e,t){1&e&&(Hr(0,"ion-item",64),Ur(1,"ion-icon",65),Hr(2,"ion-label"),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.certifiedDocument")))}function pz(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",68),Xr("click",function(){return Lt(e),na(3).prevPage()}),Ur(1,"ion-icon",69),jr()}}function gz(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",70),Xr("click",function(){return Lt(e),na(3).nextPage()}),Ur(1,"ion-icon",71),jr()}}function fz(e,t){if(1&e&&(Wr(0),Fr(1,pz,2,0,"ion-fab-button",66),Fr(2,gz,2,0,"ion-fab-button",67),Gr()),2&e){const e=na(2);no(1),Vr("ngIf",e.pageNum>1&&!e.loadingImage),no(1),Vr("ngIf",e.pageNum<e.totalPages&&!e.loadingImage)}}function mz(e,t){if(1&e){const e=qr();Hr(0,"ion-content",null,32),Fr(2,sz,3,2,"ng-container",3),Hr(3,"div",33),Hr(4,"drag-scroll",34,35),Xr("click",function(t){Lt(e);const n=na();return 0==n.currentDoc&&!n.detailMode&&n.openAction(t)}),Hr(6,"div",36,37),Fr(8,oz,1,0,"app-document-note-list",3),Fr(9,rz,1,1,"app-document-sign-list",38),Fr(10,az,1,1,"app-document-date-list",38),Fr(11,lz,2,5,"ion-img",39),jr(),jr(),jr(),Fr(12,uz,9,11,"section",40),Fr(13,hz,5,3,"ion-item",41),Fr(14,fz,3,2,"ng-container",3),jr()}if(2&e){const e=na();no(2),Vr("ngIf",null!=e.mainDocument.notes||e.hasWorkflowNotes),no(2),fa("max-width",e.signaturesService.workingAreaWidth,"px"),Vr("drag-scroll-disabled",(e.signaturesService.dragging||e.signaturesService.resizing)&&e.signaturesService.mobileMode)("drag-disabled",(e.signaturesService.dragging||e.signaturesService.resizing)&&!e.signaturesService.mobileMode),no(2),fa("width",e.signaturesService.workingAreaWidth,"px")("height",e.signaturesService.workingAreaHeight,"px"),no(2),Vr("ngIf",0==e.currentDoc&&!e.loadingImage),no(1),Vr("ngIf",0===e.currentDoc&&!e.loadingImage&&e.signaturesService.signaturesContent[e.pageNum]),no(1),Vr("ngIf",0===e.currentDoc&&!e.loadingImage&&e.signaturesService.datesContent[e.pageNum]),no(1),Vr("ngIf",void 0!==e.docList[e.currentDoc]&&!e.functionsService.empty(e.docList[e.currentDoc].imgContent[e.pageNum])),no(1),Vr("ngIf",!e.signaturesService.dragging&&!e.signaturesService.resizing&&e.docList[e.currentDoc]),no(1),Vr("ngIf",e.mainDocument.isCertified),no(1),Vr("ngIf",!e.signaturesService.dragging&&!e.signaturesService.resizing&&!e.loadingImage)}}function bz(e,t){if(1&e&&Ur(0,"ion-icon",76),2&e){const e=na().$implicit;Vr("slot","start")("name",e.logo)}}function vz(e,t){if(1&e){const e=qr();Hr(0,"ion-button",74),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).launchEvent(n)}),Fr(1,bz,1,2,"ion-icon",75),Hr(2,"ion-label",26),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;Vr("disabled",na(2).isNotReady())("color",e.color),no(1),Vr("ngIf",""!==e.logo),no(2),Oa(pc(4,4,e.label))}}function yz(e,t){if(1&e&&(Hr(0,"ion-footer",72),Fr(1,vz,5,6,"ion-button",73),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.actionsList)}}function wz(e,t){if(1&e&&Ur(0,"app-visa-workflow",81),2&e){const e=na(2);Vr("visaWorkflow",e.mainDocument.workflow)("userDelegated",e.userDelegated)}}function _z(e,t){if(1&e){const e=qr();Hr(0,"app-document-list",82,83),Xr("triggerEvent",function(t){return Lt(e),na(2).loadDoc(t)}),jr()}if(2&e){const e=na(2);Vr("currentDocId",e.currentDoc)("docList",e.docList)}}function xz(e,t){1&e&&Ur(0,"app-associated-documents",84,85),2&e&&Vr("associatedDocuments",na(2).mainDocument.linkedDocuments)}function Cz(e,t){1&e&&Ur(0,"app-main-document-detail",86,87),2&e&&Vr("mainDocument",na(2).mainDocument)}function Az(e,t){if(1&e&&(Fr(0,wz,1,2,"app-visa-workflow",77),Fr(1,_z,2,2,"app-document-list",78),Fr(2,xz,2,1,"app-associated-documents",79),Fr(3,Cz,2,1,"app-main-document-detail",80)),2&e){const e=na();Vr("ngIf","visaWorkflow"==e.signaturesService.currentToobal),no(1),Vr("ngIf","documentList"==e.signaturesService.currentToobal),no(1),Vr("ngIf","associatedDocuments"==e.signaturesService.currentToobal),no(1),Vr("ngIf","mainDocumentDetail"==e.signaturesService.currentToobal)}}let Sz=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p,g,f,m,b,v,y,w,_,x){this.translate=e,this.router=t,this.route=n,this.http=i,this.signaturesService=s,this.notificationService=o,this.cookieService=r,this.sanitizer=a,this.dialog=l,this.bottomSheet=c,this.authService=d,this.localStorage=u,this.menu=h,this.actionSheetController=p,this.loadingController=g,this.viewContainerRef=f,this.modalController=m,this.pdfViewerService=b,this.alertController=v,this.signatureMethodService=y,this.navCtrl=w,this.functionsService=_,this.actionsService=x,this.posX=0,this.posY=0,this.enterApp=!0,this.detailMode=!1,this.pageNum=1,this.signaturesContent=[],this.currentDoc=0,this.docList=[],this.actionsList=[{id:2,label:"lang.reject",color:"danger",logo:"thumbs-down-outline",event:"refuseDocument"},{id:3,label:"lang.signatures",color:"",logo:"",event:"openSignatures"},{id:1,label:"lang.validate",color:"success",logo:"thumbs-up-outline",event:"validateDocument"}],this.freezeSidenavClose=!1,this.startX=0,this.startY=0,this.widthDoc="100%",this.resetDragPos=!1,this.mainDocument={id:0,status,attachments:[],workflow:[]},this.loadingUI=!1,this.expandedNote=!0,this.hasWorkflowNotes=!1,this.currentTool="info",this.load=null,this.dragging=!1,this.resizing=!1,this.pdfname=null,this.loadingdocument=!0,this.loadingpdf=!1,this.loadingImage=!0,this.fileContent="",this.userDelegated=!1,this.draggable=!1}imageLoaded(e){this.getImageDimensions(!0),"CONVERTING"!==this.mainDocument.status&&this.load.dismiss(),this.menu.enable(!0,"right-menu"),this.loadingImage=!1,document.getElementsByClassName("drag-scroll-content")[0].scrollTop=0}getImageDimensions(e=!1){const t=new Image;t.onload=t=>{this.signaturesService.workingAreaWidth=t.target.naturalWidth,this.signaturesService.workingAreaHeight=t.target.naturalHeight,e&&this.getAreaDimension()},t.src=this.docList[this.currentDoc].imgContent[this.pageNum]}getAreaDimension(){const e=100*this.mainContent.el.offsetWidth/this.signaturesService.workingAreaWidth;this.signaturesService.workingAreaWidth=e*this.signaturesService.workingAreaWidth/100,this.signaturesService.workingAreaHeight=e*this.signaturesService.workingAreaHeight/100}openAction(e){return zB(this,void 0,void 0,function*(){this.posX=e.clientX,this.posY=e.clientY;const t=[];this.checkEmptyNote()||t.push({text:this.translate.instant("lang.cancelPreviousNote"),icon:"arrow-undo-outline",handler:()=>{this.undoTag()}}),this.signaturesService.stampLock||(t.push({text:this.translate.instant("lang.affixSignature"),icon:"ribbon-outline",handler:()=>{this.openSignatures()}}),t.push({text:this.translate.instant("lang.annotateDocument"),icon:"receipt-outline",handler:()=>{this.openNoteEditor()}})),this.checkEmptiness()||t.push({text:this.translate.instant("lang.deleteAll"),icon:"color-wand-outline",handler:()=>{this.removeTags()}});const n=yield this.actionSheetController.create({header:"Actions",cssClass:"my-custom-class",buttons:t});yield n.present()})}openSignatures(){return zB(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:CF,cssClass:"my-custom-class",componentProps:{currentWorflow:this.mainDocument.workflow.filter(e=>!0===e.current)[0],content:this.fileContent}});yield e.present();const{data:t}=yield e.onWillDismiss();this.dragging=!1,void 0!==t&&("success"===t||void 0!==t.redirectPage&&this.goTo(t.redirectPage))})}openNoteEditor(){return zB(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:MF,cssClass:"fullscreen",componentProps:{precentScrollLeft:this.posX,precentScrollTop:this.posY,content:this.docList[this.currentDoc].imgContent[this.pageNum]}});yield e.present(),yield e.onWillDismiss()})}scrollToElem(){const e=this.signaturesService.signaturesContent[this.pageNum][this.signaturesService.signaturesContent[this.pageNum].length-1].positionY-75-($("#myBounds")[0].getBoundingClientRect().top-70)-$(window).height();document.getElementsByClassName("drag-scroll-content")[0].scrollTo(1e3,-e)}ionViewWillEnter(){this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent")}ngOnInit(){return zB(this,void 0,void 0,function*(){this.menu.enable(!1,"right-menu"),this.menu.enable(!0,"left-menu"),this.route.params.subscribe(e=>{void 0!==e.id&&this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(t=>{this.load=t,this.load.present(),this.http.get("../rest/documents/"+e.id).pipe(Ov(t=>zB(this,void 0,void 0,function*(){const n=yield this.checkSubstitute(t.document.workflow.find(e=>e.current));this.mainDocument=t.document,this.mainDocument.workflow=this.mainDocument.workflow.map(e=>(e.note&&(this.hasWorkflowNotes=!0),e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes}))),this.totalPages=this.mainDocument.pages,this.signaturesService.mainDocumentId=this.mainDocument.id,this.signaturesService.totalPage=this.mainDocument.pages,this.menu.enable(!0,"right-menu"),this.initDoc();const i=this.mainDocument.workflow.find(e=>!0===e.current);this.mainDocument.isCertified=this.mainDocument.workflow.filter(e=>"REF"!==e.status&&"STOP"!==e.status&&"sign"===e.mode&&"stamp"!==e.signatureMode&&null!==e.processDate).length>0,this.userDelegated=n;const s=[{id:4,label:"lang.back",color:"medium",logo:"chevron-back-outline",event:"back"}];this.mainDocument.readOnly?(this.actionsList=s,this.detailMode=!0):(null==i?void 0:i.userId)!==this.authService.user.id?n||(this.actionsList=s,this.detailMode=!0):this.functionsService.empty(i)||(this.signaturesService.stampLock=this.mainDocument.isCertified&&("stamp"===i.signatureMode&&"sign"===i[0].mode||"visa"===i.mode),i.userId!==this.authService.user.id?this.http.get("../rest/users/"+i.userId+"/signatures").subscribe(e=>{this.signaturesService.signaturesListSubstituted=e.signatures}):this.signaturesService.signaturesListSubstituted=[],i.datePositions.length>0&&this.functionsService.empty(this.signaturesService.datesContent)&&i.datePositions.forEach(e=>{this.signaturesService.datesContent[e.page]||(this.signaturesService.datesContent[e.page]=[]),this.signaturesService.datesContent[e.page][0]={width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:e.font,size:e.size,color:e.color,format:e.format}})),this.docList.push({id:this.mainDocument.id,title:this.mainDocument.title,pages:this.mainDocument.pages,imgContent:[],imgUrl:"../rest/documents/"+this.mainDocument.id+"/thumbnails"}),this.mainDocument.attachments.forEach(e=>{this.docList.push({id:e.id,title:e.title,pages:e.pages,imgContent:[],imgUrl:"../rest/attachments/"+e.id+"/thumbnails"})}),this.menu.enable(!0,"right-menu"),this.renderImage(),this.loadingdocument=!1,this.load.dismiss(),"CONVERTING"===this.mainDocument.status&&(this.timerSubscription=bD(0,1e4).pipe(Ov(()=>{this.http.get("../rest/documents/"+e.id).pipe(Ov(e=>{var t;this.totalPages=e.document.pages,"CONVERTING"!==e.document.status&&(this.mainDocument.status=e.document.status,null===(t=this.timerSubscription)||void 0===t||t.unsubscribe())})).subscribe()}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),lb(!1)))).subscribe())})),fv(e=>(console.log("error",e),setTimeout(()=>{this.load.dismiss()},200),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe()})})})}ngOnDestroy(){var e;null===(e=this.timerSubscription)||void 0===e||e.unsubscribe()}checkSubstitute(e){return!this.functionsService.empty(e)&&new Promise(t=>{this.http.get("../rest/users/"+e.userId).pipe(Ov(e=>{t(e.user.substitute===this.authService.user.id)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}renderPdf(){this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/content").subscribe(e=>{this.pdfname="data:application/pdf;base64,"+e.encodedDocument,this.loadingpdf=!0})}onPagesLoaded(e){return zB(this,void 0,void 0,function*(){this.totalPages=e.pagesCount,this.exportAsImage()})}exportAsImage(){return zB(this,void 0,void 0,function*(){const e=yield this.pdfViewerService.getPageAsImage(this.pageNum,{width:1e3});this.docList[this.currentDoc].imgContent[this.pageNum]=e,this.loadingpdf=!1,this.load.dismiss()})}renderImage(){void 0===this.docList[this.currentDoc].imgContent[this.pageNum]&&(0===this.currentDoc?this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(Ov(e=>{this.docList[this.currentDoc].imgContent[this.pageNum]="data:image/png;base64,"+e.fileContent,this.fileContent=e.fileContent}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe():this.http.get("../rest/attachments/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(Ov(e=>{this.docList[this.currentDoc].imgContent[this.pageNum]="data:image/png;base64,"+e.fileContent}),fv(e=>(this.load.dismiss(),this.notificationService.handleErrors(e),this.router.navigate(["/home"]),lb(!1)))).subscribe())}initDoc(){this.docList=[],this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.signaturesService.currentToobal="mainDocumentDetail";const e=this.localStorage.get(this.mainDocument.id.toString());if(e){const t=JSON.parse(e);this.signaturesService.notesContent=void 0!==t.note?t.note:[],this.signaturesService.signaturesContent=void 0!==t.sign?t.sign:[],this.signaturesService.datesContent=void 0!==t.date?t.date:[]}this.signaturesService.currentAction=0,this.signaturesService.currentPage=1,this.pageNum=1,this.signaturesContent.currentDoc=1,this.currentDoc=0}testDrag(e){const t=e.source.getRootElement(),n=t.getBoundingClientRect(),i=this.getPosition(t);this.signaturesService.y=n.y-i.top,this.signaturesService.x=n.x-i.left}getPosition(e){let t=0,n=0;for(;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-e.scrollLeft,n+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{top:n,left:t}}zoomForNotes(){this.widthDoc="200%",this.signaturesService.scale=2,$(".example-box").css({transform:"translate3d("+this.signaturesService.x*this.signaturesService.scale+"px, "+this.signaturesService.y*this.signaturesService.scale+"px, 0px)"}),this.signaturesService.workingAreaHeight*=this.signaturesService.scale,this.signaturesService.workingAreaWidth*=this.signaturesService.scale}zoomForView(){this.resetDragPos=!0,this.widthDoc="100%",this.signaturesService.workingAreaHeight=this.signaturesService.workingAreaHeight/2,this.signaturesService.workingAreaWidth=this.signaturesService.workingAreaWidth/2,setTimeout(()=>{this.resetDragPos=!1},200),this.signaturesService.scale=1}prevPage(){this.loadingImage=!0,this.pageNum--,0===this.pageNum&&(this.pageNum=1),0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}nextPage(){this.loadingImage=!0,this.pageNum>=this.totalPages?this.pageNum=this.totalPages:this.pageNum++,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}goTo(e){this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(e=>{this.load=e,this.load.present(),this.loadingImage=!0,this.load.dismiss()}),this.pageNum=e,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}pagesArray(e){return Array(e)}initWorkingArea(){}refuseDocument(){return zB(this,void 0,void 0,function*(){let e=this.translate.instant("lang.rejectDocumentWarning");0===this.signaturesService.notesContent.length&&(e=this.translate.instant("lang.refuseDocumentWithoutNote"));const t=yield this.alertController.create({cssClass:"custom-alert-danger",header:this.translate.instant("lang.reject"),message:e,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.reject"),handler:e=>zB(this,void 0,void 0,function*(){const t=yield this.actionsService.checkGroupMail(this.mainDocument,"reject"),n=yield this.signatureMethodService.launchDefaultMode(e.paragraph,t);this.functionsService.empty(n)||(this.bottomSheet.open(IF,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()))})}]});yield t.present()})}validateDocument(e){return zB(this,void 0,void 0,function*(){let e=this.translate.instant("lang.validateDocumentWarning");0===this.signaturesService.signaturesContent.length&&0===this.signaturesService.notesContent.length&&(e=this.translate.instant("lang.validateDocumentWithoutSignOrNote")),this.signaturesService.stampLock&&(e=this.translate.instant("lang.certifiedDocumentMsg2"));const t=yield this.alertController.create({cssClass:"custom-alert-success",header:this.translate.instant("lang.validate"),message:e,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.validate"),handler:e=>zB(this,void 0,void 0,function*(){const t=this.mainDocument.workflow.filter(e=>!0===e.current)[0],n=yield this.actionsService.checkGroupMail(this.mainDocument,"validate"),i=yield this.signatureMethodService.checkAuthenticationAndLaunchAction(t,e.paragraph,n);this.functionsService.empty(i)||(this.bottomSheet.open(YF,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()))})}]});yield t.present()})}removeTags(){return zB(this,void 0,void 0,function*(){this.signaturesService.currentAction=0;const e=yield this.alertController.create({header:this.translate.instant("lang.deleteNoteAndSignature"),buttons:[{text:this.translate.instant("lang.validate"),handler:()=>{this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.localStorage.remove(this.mainDocument.id.toString()),this.notificationService.success("lang.noteAndSignatureDeleted")}}]});yield e.present()})}loadDoc(e){this.pageNum=1,this.currentDoc=e,this.totalPages=this.docList[e].pages}launchEvent(e){this.backToDetails(),this.signaturesService.currentAction=e.id,this[e.event]()}undoTag(){this.signaturesService.notesContent[this.pageNum]&&(this.signaturesService.notesContent[this.pageNum].pop(),this.localStorage.remove(this.mainDocument.id.toString()),this.localStorage.save(this.mainDocument.id.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.isEmptyNote()&&(this.signaturesService.notesContent=[]))}checkEmptyNote(){return!this.signaturesService.notesContent[this.pageNum]||"undefined"===this.signaturesService.notesContent[this.pageNum]||0===this.signaturesService.notesContent[this.pageNum].length}isEmptyNote(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}return e}checkEmptiness(){let e=!0;for(let t=1;t<=this.signaturesService.totalPage;t++){if(this.signaturesService.datesContent[t]&&this.signaturesService.datesContent[t].length>0){e=!1;break}if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}}return e}openVisaWorkflow(){this.menu.open("right-menu"),this.signaturesService.currentToobal="visaWorkflow"}openDocumentList(){this.menu.open("right-menu"),this.signaturesService.currentToobal="documentList"}openAssociatedDocuments(){this.menu.open("right-menu"),this.signaturesService.currentToobal="associatedDocuments"}openMainDocumentDetail(){this.menu.open("right-menu"),this.signaturesService.currentToobal="mainDocumentDetail"}backToDetails(){this.signaturesService.currentToobal="mainDocumentDetail"}deleteSubstution(){confirm(this.translate.instant("lang.deleteSubstitution")+" ?")&&this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:null}).subscribe(()=>{this.authService.updateUserInfoWithTokenRefresh(),this.notificationService.success("lang.substitutionDeleted")})}back(){this.navCtrl.back()}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent"),this.loadingController.dismiss()}openSelect(e){this.totalPages>1&&(this.pagesList.interface="popover",this.pagesList.open(e))}fromHex(e){const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}isNotReady(){return["CONVERTING","ERROR"].indexOf(this.mainDocument.status)>-1}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(r_),zr(Ny),zr(Db),zr(oS),zr(QA),zr(oE),zr(qh),zr(LM),zr(dM),zr(aS),zr(rS),zr(JC),zr(QC),zr(KC),zr(Gl),zr(eA),zr(XS),zr(XC),zr(qF),zr(ux),zr(HF),zr(UF))},e.\u0275cmp=$e({type:e,selectors:[["app-document"]],viewQuery:function(e,t){if(1&e&&(Tc(VB,1),Tc(NB,1),Tc(HB,3),Tc(jB,1),Tc(UB,1),Tc(WB,1),Tc(GB,3),Tc($B,1)),2&e){let e;Mc(e=Rc())&&(t.mainContent=e.first),Mc(e=Rc())&&(t.img=e.first),Mc(e=Rc())&&(t.snav=e.first),Mc(e=Rc())&&(t.dragElem=e.first),Mc(e=Rc())&&(t.appDocumentNotePad=e.first),Mc(e=Rc())&&(t.appDocumentList=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.pagesList=e.first)}},decls:8,vars:6,consts:[[3,"translucent",4,"ngIf"],["class","ion-text-center","color","primary",4,"ngIf"],["class","ion-text-center","color","danger",4,"ngIf"],[4,"ngIf"],["class","ion-no-border footer-buttons",4,"ngIf"],["rightContent",""],[3,"translucent"],["color","light"],["slot","start"],["value","favorite",3,"value","ionChange"],["value","mainDocumentDetail",3,"click"],["color","primary"],["color","primary","name","information-circle"],["value","documentList",3,"click"],["color","primary","name","document-attach-outline"],["color","danger",2,"position","absolute","top","10px","right","40%"],["value","associatedDocuments",3,"click",4,"ngIf"],["value","visaWorkflow",3,"click"],["color","primary","name","list-outline"],["slot","end",4,"ngIf"],["value","associatedDocuments",3,"click"],["color","primary","name","link-outline"],["slot","end"],["color","primary",3,"disabled","click"],["slot","icon-only","name","settings-sharp"],["color","primary",1,"ion-text-center"],[2,"font-size","13px"],["color","danger",1,"ion-text-center"],[1,"loading",2,"display","flex","height","100%"],[1,"loadingMsg"],["name","dots","color","light",2,"padding-top","6.5%"],[2,"font-size","14px","font-weight","bold"],["mainContent",""],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-scroll-disabled","drag-disabled","click"],["nav",""],["id","myBounds",2,"position","relative","cursor","grab"],["myBounds",""],[3,"bounds",4,"ngIf"],["class","img-content",3,"src","width","height","ionImgDidLoad",4,"ngIf"],["class","page-info",4,"ngIf"],["lines","none","class","certified",4,"ngIf"],["ngDraggable","","style","top: 40px;right: 40px;z-index:2;position:absolute;",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click",4,"ngIf"],["ngDraggable","","class","note",3,"bounds","inBounds","movingOffset","endOffset",4,"ngIf"],["ngDraggable","",2,"top","40px","right","40px","z-index","2","position","absolute",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click"],["name","chatbubble-ellipses-outline"],["ngDraggable","",1,"note",3,"bounds","inBounds","movingOffset","endOffset"],[1,"note-title"],[1,"far","fa-sticky-note",2,"padding-right","5px"],[2,"flex","1"],[1,"fa","fa-minus-square",2,"cursor","pointer",3,"title","click"],[4,"ngFor","ngForOf"],[1,"note-creator"],[1,"note-content"],[3,"bounds"],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","popover","hidden","true",2,"max-height","100%",3,"ngModel","interfaceOptions","ngModelChange","ionChange"],["pagesList",""],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["lines","none",1,"certified"],["slot","start","name","ribbon-outline","color","success"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"],[1,"ion-no-border","footer-buttons"],["shape","round","size","large","fill","outline",3,"disabled","color","click",4,"ngFor","ngForOf"],["shape","round","size","large","fill","outline",3,"disabled","color","click"],[3,"slot","name",4,"ngIf"],[3,"slot","name"],["style","display: contents;",3,"visaWorkflow","userDelegated",4,"ngIf"],["style","display: contents;",3,"currentDocId","docList","triggerEvent",4,"ngIf"],["style","display: contents;",3,"associatedDocuments",4,"ngIf"],["style","display: contents;",3,"mainDocument",4,"ngIf"],[2,"display","contents",3,"visaWorkflow","userDelegated"],[2,"display","contents",3,"currentDocId","docList","triggerEvent"],["appDocumentList",""],[2,"display","contents",3,"associatedDocuments"],["appAssociatedDocuments",""],[2,"display","contents",3,"mainDocument"],["appMainDocumentDetail",""]],template:function(e,t){1&e&&(Fr(0,ZB,27,17,"ion-header",0),Fr(1,QB,4,3,"ion-toolbar",1),Fr(2,XB,6,3,"ion-toolbar",2),Fr(3,KB,4,3,"ion-toolbar",2),Fr(4,mz,15,16,"ion-content",3),Fr(5,yz,2,1,"ion-footer",4),Fr(6,Az,4,4,"ng-template",null,5,zc)),2&e&&(Vr("ngIf",!t.loadingdocument),no(1),Vr("ngIf",null!==t.authService.user.substitute&&t.docList[t.currentDoc]),no(1),Vr("ngIf",0!==t.mainDocument.id&&"CONVERTING"===t.mainDocument.status),no(1),Vr("ngIf",0!==t.mainDocument.id&&"ERROR"===t.mainDocument.status),no(1),Vr("ngIf",!t.loadingdocument),no(1),Vr("ngIf",!t.loadingImage&&0===t.currentDoc))},directives:[Wu,Vx,yC,Ax,Jx,cC,ox,dC,Zx,Nx,xx,Cx,fC,Tx,Zk,Lx,Jk,ju,QF,tB,dB,Hx,uC,rm,Rm,hC,Gx,Bx,OB,NF,TB,BB],pipes:[qA,dE],styles:[".enterApp[_ngcontent-%COMP%]{position:fixed;height:100vh;width:100vw;background-color:#135f7f;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px}.mainView[_ngcontent-%COMP%]{height:100%;width:auto;display:flex;flex-direction:column;overflow:hidden}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:70px;width:auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:40px}.article[_ngcontent-%COMP%]{display:flex;justify-content:center;overflow:hidden;flex:1;top:0;left:0}.canvas-wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:120px}canvas[_ngcontent-%COMP%]{margin:0 auto;display:block}.header[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:80px;align-items:center;padding:0}.header[_ngcontent-%COMP%], .header-action[_ngcontent-%COMP%]{display:flex;justify-content:center}.header-action[_ngcontent-%COMP%]{color:#135f7f}.header-action-button[_ngcontent-%COMP%]{white-space:normal;word-break:break-word;width:135px!important}.header-infos[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:5px;display:flex;justify-content:space-between;align-items:flex-start;width:100%;padding-top:12px;padding-bottom:7px;position:relative;overflow-y:hidden;overflow-x:auto}.header-info[_ngcontent-%COMP%]{border-right:1px solid #979797;width:200px;height:60px;font-size:12px;padding-left:20px}.header-info[_ngcontent-%COMP%]:last-of-type{border:none}.header-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0}.header-expand[_ngcontent-%COMP%]{width:70%;position:absolute;left:50%;transform:translateX(-50%);top:25px;border:1px solid #f1f4f4}.header-expand[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.header-expand[_ngcontent-%COMP%] .mat-expansion-panel{box-shadow:none}.header-expand[_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f}.header-expand[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.header-expand-content[_ngcontent-%COMP%]{width:33%;display:inline-block}.header-expand-content[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-overflow:ellipsis}.header-expand-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.header-expand[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{opacity:1;color:#666}.header-expand[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1;font-size:12px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.btn-next[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;right:25px;top:50%;cursor:pointer;z-index:1}.btn-next.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.btn-previous[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;left:25px;top:50%;cursor:pointer;z-index:1}.btn-previous.disabled[_ngcontent-%COMP%], button.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.overlay[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5)}.pdf-page-canvas[_ngcontent-%COMP%]{opacity:1;transition:opacity .5s ease-in}.pdf-page-canvas-loading-doc[_ngcontent-%COMP%]{opacity:0}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leftPosDesk[_ngcontent-%COMP%]{left:25%!important}.mat-badge-content[_ngcontent-%COMP%]{background:#e74c3c}.substutionModal[_ngcontent-%COMP%]{color:#fff;background:#135f7f}.substutionModal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:10px}.substutionModal[_ngcontent-%COMP%] .msgModal[_ngcontent-%COMP%]{text-align:center;flex:1}.substitutedInformations[_ngcontent-%COMP%]{top:85px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis;background:#135f7f;color:#fff;font-size:13px;text-align:center}.note[_ngcontent-%COMP%]{top:40px;right:40px;z-index:2;cursor:-webkit-grab;cursor:grab;position:absolute;background-color:#fff8bb;width:300px;max-height:400px;overflow:auto;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.note-title[_ngcontent-%COMP%]{background-color:#fff8bb;position:sticky;top:0;display:flex;align-items:center;font-weight:700}.note-creator[_ngcontent-%COMP%], .note-title[_ngcontent-%COMP%]{padding:10px;color:#135f7f}.note-creator[_ngcontent-%COMP%]{font-size:12px;text-decoration:underline}.note-content[_ngcontent-%COMP%]{padding:0 10px 10px;color:#4f4f4f}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.certified[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;border:1px solid var(--ion-color-success);color:var(--ion-color-success)} .popover-class .popover-content{height:50%;top:50px} .custom-popover-class .popover-class{height:10%;top:50px}.loading[_ngcontent-%COMP%]{display:flex;position:absolute;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:2;overflow:hidden}.loadingMsg[_ngcontent-%COMP%]{padding:2%;color:var(--ion-color-light);font-weight:700;margin-right:-5px}"]}),e})();var kz=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function Ez(e,t){1&e&&(Hr(0,"a",13),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.forgotPassword")))}function Pz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.ldapEnabled")))}function Dz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.kerberosEnabled")))}function Oz(e,t){1&e&&(Hr(0,"a",14),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.x509Enabled")))}function Mz(e,t){if(1&e&&(Hr(0,"a",15),hc(1,"translate"),Da(2),jr()),2&e){const e=na();la("href","",pc(1,3,"lang.repoUrl"),"/commit/",e.commitHash,"",os),no(2),Oa(e.commitHash.substring(0,8))}}let Tz=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.http=e,this.router=t,this.authService=n,this.signaturesService=i,this.notificationService=s,this.dialog=o,this.formBuilder=r,this.loadingController=a,this.translate=l,this.menu=c,this.loading=!1,this.showForm=!1,this.commitHash=null}ngOnInit(){return kz(this,void 0,void 0,function*(){this.loginForm=this.formBuilder.group({login:[null,zf.required],password:[null,zf.required]}),this.environment=zd,this.signaturesService.reset(),yield this.loadCommitInformation()})}ionViewWillEnter(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}ngAfterViewInit(){setTimeout(()=>{this.showForm=!0,this.fixAutoFill(),this.initConnection()},500)}fixAutoFill(){setTimeout(()=>{this.loginForm.get("login").setValue($("#login").val()),this.loginForm.get("password").setValue($("#password").val())},100)}onSubmit(){return kz(this,void 0,void 0,function*(){const e=yield this.loadingController.create({cssClass:"my-custom-class",message:this.translate.instant("lang.connexion")});yield e.present(),this.authService.authFailed=!1,this.loginForm.invalid?(e.dismiss(),this.notificationService.error("lang.requiredLoginPassword")):this.http.post("../rest/authenticate",{login:this.loginForm.get("login").value,password:this.loginForm.get("password").value},{observe:"response"}).pipe(Ov(t=>{this.loading=!1,this.showForm=!1,this.authService.saveTokens(t.headers.get("Token"),t.headers.get("Refresh-Token")),this.authService.setUser({}),this.authService.getCachedUrl()?(this.router.navigateByUrl(this.authService.getCachedUrl()),this.authService.cleanCachedUrl()):this.router.navigate(["/home"]),e.dismiss()}),fv(t=>(this.loading=!1,this.authService.authFailed=!0,401===t.status&&-1===["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)?(this.notificationService.error("lang.wrongLoginPassword"),e.dismiss()):"azure_saml"===this.authService.authMode&&"Authentication Failed : not logged"===t.error.errors?(e.dismiss(),window.location.href=t.error.authUri):(e.dismiss(),this.notificationService.handleErrors(t)),lb(!1)))).subscribe()})}initConnection(){["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)>-1&&(this.loginForm.disable(),this.loginForm.setValidators(null),this.onSubmit())}loadCommitInformation(){return new Promise(e=>{this.http.get("../rest/commitInformation").pipe(Ov(t=>{this.commitHash=t.hash,e(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(r_),zr(aS),zr(oS),zr(QA),zr(LM),zr(ab),zr(KC),zr($A),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:27,vars:18,consts:[[1,"login-content"],["svgIcon","maarchLogo",1,"maarchLogo"],[2,"width","400px","position","absolute","left","50%","top","50%","transform","translate(-50%,-50%)"],[3,"formGroup","ngSubmit"],["position","floating"],["formControlName","login","type","text",3,"keyup.enter"],["name","password","matInput","","type","password","formControlName","password",3,"keyup.enter"],[1,"connection-type"],["routerLink","/forgot-password","class","forgot-password",4,"ngIf"],["href","","class","forgot-password",4,"ngIf"],["type","submit","expand","block",3,"disabled"],[1,"version-info"],["style","color: white","target","blank",3,"href",4,"ngIf"],["routerLink","/forgot-password",1,"forgot-password"],["href","",1,"forgot-password"],["target","blank",2,"color","white",3,"href"]],template:function(e,t){1&e&&(Hr(0,"ion-content",0),Ur(1,"mat-icon",1),Hr(2,"ion-card",2),Hr(3,"ion-card-content"),Hr(4,"form",3),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(5,"ion-item"),Hr(6,"ion-label",4),Da(7),hc(8,"translate"),jr(),Hr(9,"ion-input",5),Xr("keyup.enter",function(){return t.onSubmit()}),jr(),jr(),Hr(10,"ion-item"),Hr(11,"ion-label",4),Da(12),hc(13,"translate"),jr(),Hr(14,"ion-input",6),Xr("keyup.enter",function(){return t.onSubmit()}),jr(),jr(),Hr(15,"div",7),Fr(16,Ez,3,3,"a",8),Fr(17,Pz,3,3,"a",9),Fr(18,Dz,3,3,"a",9),Fr(19,Oz,3,3,"a",9),jr(),Hr(20,"ion-button",10),Da(21),hc(22,"translate"),jr(),jr(),jr(),jr(),Hr(23,"ion-note",11),Da(24),Fr(25,Mz,3,5,"a",12),Da(26),jr(),jr()),2&e&&(no(4),Vr("formGroup",t.loginForm),no(3),Oa(pc(8,12,"lang.login")),no(5),Oa(pc(13,14,"lang.password")),no(4),Vr("ngIf","default"===t.authService.authMode),no(1),Vr("ngIf","ldap"===t.authService.authMode),no(1),Vr("ngIf","kerberos"===t.authService.authMode),no(1),Vr("ngIf","x509"===t.authService.authMode),no(1),Vr("disabled",t.loginForm.invalid||t.loading),no(1),Ma(" ",pc(22,16,"lang.connect")," "),no(3),Ma(" Maarch Parapheur ",t.environment.VERSION," "),no(1),Vr("ngIf",null!==t.commitHash),no(1),Ma(" Powered by ",t.environment.AUTHOR," "))},directives:[Tx,iT,Sx,kx,Lm,am,Hm,Gx,Zx,Wx,ax,rm,Um,Wu,Cx,tC,l_,UC],pipes:[qA],styles:[".version-info[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;top:10%;left:50%;transform:translateX(-50%);width:250px;height:auto;padding-bottom:10px}.login-content[_ngcontent-%COMP%]{--background:var(--ion-color-primary)}.forgot-password[_ngcontent-%COMP%]{display:block;text-align:right}.connection-type[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]}),e})(),Iz=(()=>{class e{constructor(e,t,n,i,s){this.router=e,this.http=t,this.notificationService=s,this.loadingForm=!1,this.loading=!1,this.newLogin={login:"",password:""},this.labelButton="lang.send",this.appVersion="",this.appAuthor="",n.addSvgIcon("maarchLogo",i.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg"))}ngOnInit(){}generateLink(){this.labelButton="lang.generation",this.loading=!0,this.http.post("../rest/password",{login:this.newLogin.login}).pipe(Iv(()=>{this.labelButton="lang.send",this.loading=!1})).subscribe(e=>{this.loadingForm=!0,this.notificationService.success("lang.requestSentByEmail"),this.router.navigate(["/login"])},e=>{this.notificationService.handleErrors(e)})}}return e.\u0275fac=function(t){return new(t||e)(zr(r_),zr(Db),zr(YM),zr(qh),zr(QA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:28,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","floating"],["name","login","matInput","","type","text","oninput","this.value = this.value.toLowerCase()",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,3),Hr(9,"form",4,5),Xr("ngSubmit",function(){return t.generateLink()}),Hr(11,"ion-grid"),Hr(12,"ion-row"),Hr(13,"ion-col",6),Hr(14,"ion-card",7),Ur(15,"ion-card-content",8),hc(16,"translate"),jr(),Hr(17,"ion-item"),Hr(18,"ion-label",9),Da(19),hc(20,"translate"),jr(),Hr(21,"ion-input",10),Xr("ngModelChange",function(e){return t.newLogin.login=e}),jr(),jr(),jr(),jr(),jr(),Hr(22,"ion-item",11),Hr(23,"div",12),Hr(24,"ion-button",13),Hr(25,"ion-label",14),Da(26),hc(27,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,7,"lang.forgotPassword")),no(10),Vr("innerHTML",pc(16,9,"lang.afterClickingSendLinkChangePassword"),ss),no(4),Ma("",pc(20,11,"lang.enterLogin")," *"),no(2),Vr("ngModel",t.newLogin.login),no(3),Vr("disabled",""==t.newLogin.login||t.loading),no(2),Oa(pc(27,13,t.labelButton)))},directives:[Vx,yC,Ax,_x,jC,bC,Tx,Lm,am,Mm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Rm,Cx],pipes:[qA],styles:[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-200px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]}),e})();function Rz(e,t){if(1&e&&(Hr(0,"ion-note",22),Da(1),hc(2,"translate"),jr()),2&e){const e=na();no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function Lz(e,t){1&e&&(Hr(0,"ion-note",23),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function Fz(e,t){1&e&&(Hr(0,"ion-note",22),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}let Bz=(()=>{class e{constructor(e,t,n,i,s,o,r,a){this.translate=e,this.router=t,this.route=n,this.http=i,this.notificationService=r,this.menu=a,this.loadingForm=!1,this.loading=!1,this.token="",this.password={newPassword:"",passwordConfirmation:""},this.labelButton="lang.update",this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.handlePassword={error:!1,errorMsg:""},this.ruleText="",this.otherRuleText="",s.addSvgIcon("maarchLogo",o.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.route.queryParams.subscribe(e=>{this.token=e.token})}ngOnInit(){this.getPassRules()}ionViewWillEnter(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}updatePassword(){this.labelButton="lang.sending",this.loading=!0,this.http.put("../rest/password",{token:this.token,password:this.password.newPassword}).pipe(Iv(()=>{this.labelButton="lang.update",this.loading=!1})).subscribe(e=>{this.loadingForm=!0,this.notificationService.success("lang.passwordChanged"),this.router.navigate(["/login"])},e=>{this.notificationService.handleErrors(e)})}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}getPassRules(){this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)})}allowValidate(){return!(!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(r_),zr(Ny),zr(Db),zr(YM),zr(qh),zr(QA),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:47,vars:35,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","stacked"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium","routerLink","/login"],["color","danger"],["color","success"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content",null,3),Hr(9,"form",4,5),Xr("ngSubmit",function(){return t.updatePassword()}),Hr(11,"ion-grid"),Hr(12,"ion-row"),Hr(13,"ion-col",6),Hr(14,"ion-card",7),Ur(15,"ion-card-content",8),hc(16,"translate"),jr(),Hr(17,"ion-item"),Hr(18,"ion-label",9),Da(19),hc(20,"translate"),jr(),Hr(21,"ion-input",10),Xr("ngModelChange",function(e){return t.password.newPassword=e})("keyup",function(){return t.checkPasswordValidity(t.password.newPassword)}),hc(22,"translate"),jr(),Hr(23,"ion-button",11),Xr("click",function(){return t.hideNewPassword=!t.hideNewPassword}),Ur(24,"ion-icon",12),jr(),Fr(25,Rz,3,3,"ion-note",13),jr(),Hr(26,"ion-item"),Hr(27,"ion-label",9),Da(28),hc(29,"translate"),jr(),Hr(30,"ion-input",14),Xr("ngModelChange",function(e){return t.password.passwordConfirmation=e}),hc(31,"translate"),jr(),Hr(32,"ion-button",11),Xr("click",function(){return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(33,"ion-icon",12),jr(),jr(),Hr(34,"ion-item",15),Fr(35,Lz,3,3,"ion-note",16),Fr(36,Fz,3,3,"ion-note",13),jr(),jr(),jr(),jr(),Hr(37,"ion-item",17),Hr(38,"div",18),Hr(39,"ion-button",19),Hr(40,"ion-label",20),Da(41),hc(42,"translate"),jr(),jr(),Hr(43,"ion-button",21),Hr(44,"ion-label",20),Da(45),hc(46,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,19,"lang.newPassword")),no(10),Vr("innerHTML",pc(16,21,"lang.logInOncePasswordChanged"),ss),no(4),Oa(pc(20,23,"lang.newPassword")),no(2),ra("placeholder",pc(22,25,"lang.newPassword")),Vr("ngModel",t.password.newPassword)("type",t.hideNewPassword?"password":"text"),no(3),Vr("name",t.hideNewPassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.handlePassword.error),no(3),Ma("",pc(29,27,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(31,29,"lang.passwordConfirmation")),Vr("ngModel",t.password.passwordConfirmation)("type",t.hideNewPasswordConfirm?"password":"text"),no(3),Vr("name",t.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),no(2),Vr("ngIf",t.password.passwordConfirmation===t.password.newPassword&&t.password.newPassword.length>0&&t.password.passwordConfirmation.length>0),no(1),Vr("ngIf",t.password.passwordConfirmation!==t.password.newPassword),no(3),Vr("disabled",t.allowValidate()||t.loading),no(2),Oa(pc(42,31,t.labelButton)),no(4),Oa(pc(46,33,"lang.cancel")))},directives:[Vx,yC,Ax,_x,jC,bC,Tx,Lm,am,Mm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Rm,Cx,Nx,Wu,UC,a_,tC],pipes:[qA],styles:[".login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-230px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}"]}),e})(),zz=(()=>{class e{constructor(e,t,n,i){this.http=e,this.translate=t,this.notify=n,this.signaturesService=i,this.loading=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0},lockTime:{enabled:!1,value:0},lockAttempts:{enabled:!1,value:0}},this.passwordRulesClone={},this.passwordRulesList=[]}ngOnInit(){this.loading=!0,this.http.get("../rest/passwordRules").subscribe(e=>{this.passwordRulesList=e.rules,e.rules.forEach(e=>{this.passwordRules[e.label].enabled=e.enabled,this.passwordRules[e.label].value=e.value,this.passwordRules[e.label].label=this.translate.instant("lang.password_"+e.label+"Required"),this.passwordRules[e.label].id=e.label,this.loading=!1}),this.passwordRulesClone=JSON.parse(JSON.stringify(this.passwordRules))},e=>{this.notify.error(e.error.errors)})}cancelModification(){this.passwordRules=JSON.parse(JSON.stringify(this.passwordRulesClone)),this.passwordRulesList.forEach(e=>{e.enabled=this.passwordRules[e.label].enabled,e.value=this.passwordRules[e.label].value})}checkModif(){return JSON.stringify(this.passwordRules)===JSON.stringify(this.passwordRulesClone)}disabledForm(){return!(this.passwordRules.lockTime.enabled||this.passwordRules.minLength.enabled||this.passwordRules.lockAttempts.enabled||this.passwordRules.renewal.enabled||this.passwordRules.historyLastUse.enabled)}toggleRule(e){this.passwordRulesList.forEach(t=>{"lockAttempts"!==e.id||"lockTime"!==t.label&&"lockAttempts"!==t.label?e.id===t.label&&(t.enabled=e.enabled):(t.enabled=e.enabled,this.passwordRules.lockTime.enabled=e.enabled)})}onSubmit(){this.passwordRulesList.forEach(e=>{e.enabled=this.passwordRules[e.label].enabled,e.value=this.passwordRules[e.label].value}),this.http.put("../rest/passwordRules",{rules:this.passwordRulesList}).subscribe(()=>{this.passwordRulesClone=JSON.parse(JSON.stringify(this.passwordRules)),this.notify.success("lang.passwordRulesUpdated")},e=>{this.notify.error(e.error.errors)})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(QA),zr(oS))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:69,vars:49,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","passwordForm",2,"display","contents",3,"ngSubmit"],["passwordForm","ngForm"],["color","secondary"],["slot","start","name","complexityUpper",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexityNumber",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexitySpecial",3,"ngModel","checked","ngModelChange"],["slot","start","name","minLengthToggle",3,"ngModel","checked","ngModelChange"],["color","secondary","position","floating"],["name","minLength","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","end"],["slot","start","name","lockAttemptsToggle",3,"ngModel","checked","ngModelChange"],["name","lockAttempts","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["name","lockTime","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","renewalToggle",3,"ngModel","checked","ngModelChange"],["name","renewal","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","historyLastUseToggle",3,"ngModel","checked","ngModelChange"],["name","historyLastUse","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){if(1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Hr(8,"form",4,5),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(10,"ion-content"),Hr(11,"ion-row"),Hr(12,"ion-col"),Hr(13,"ion-item"),Hr(14,"ion-label",6),Da(15),jr(),Hr(16,"ion-toggle",7),Xr("ngModelChange",function(e){return t.passwordRules.complexityUpper.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityUpper)}),jr(),jr(),jr(),Hr(17,"ion-col"),Hr(18,"ion-item"),Hr(19,"ion-label",6),Da(20),jr(),Hr(21,"ion-toggle",8),Xr("ngModelChange",function(e){return t.passwordRules.complexityNumber.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityNumber)}),jr(),jr(),jr(),Hr(22,"ion-col"),Hr(23,"ion-item"),Hr(24,"ion-label",6),Da(25),jr(),Hr(26,"ion-toggle",9),Xr("ngModelChange",function(e){return t.passwordRules.complexitySpecial.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexitySpecial)}),jr(),jr(),jr(),jr(),Hr(27,"ion-item"),Hr(28,"ion-toggle",10),Xr("ngModelChange",function(e){return t.passwordRules.minLength.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.minLength)}),jr(),Hr(29,"ion-label",11),Da(30),jr(),Hr(31,"ion-input",12),Xr("ngModelChange",function(e){return t.passwordRules.minLength.value=e}),jr(),Hr(32,"ion-note",13),Da(33),hc(34,"translate"),jr(),jr(),Hr(35,"ion-row"),Hr(36,"ion-col"),Hr(37,"ion-item"),Hr(38,"ion-toggle",14),Xr("ngModelChange",function(e){return t.passwordRules.lockAttempts.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.lockAttempts)}),jr(),Hr(39,"ion-label",11),Da(40),jr(),Hr(41,"ion-input",15),Xr("ngModelChange",function(e){return t.passwordRules.lockAttempts.value=e}),jr(),jr(),jr(),Hr(42,"ion-col"),Hr(43,"ion-item"),Hr(44,"ion-label",11),Da(45),jr(),Hr(46,"ion-input",16),Xr("ngModelChange",function(e){return t.passwordRules.lockTime.value=e}),jr(),Hr(47,"ion-note",13),Da(48),hc(49,"translate"),jr(),jr(),jr(),jr(),Hr(50,"ion-item"),Hr(51,"ion-toggle",17),Xr("ngModelChange",function(e){return t.passwordRules.renewal.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.renewal)}),jr(),Hr(52,"ion-label",11),Da(53),jr(),Hr(54,"ion-input",18),Xr("ngModelChange",function(e){return t.passwordRules.renewal.value=e}),jr(),Hr(55,"ion-note",13),Da(56),hc(57,"translate"),jr(),jr(),Hr(58,"ion-item"),Hr(59,"ion-toggle",19),Xr("ngModelChange",function(e){return t.passwordRules.historyLastUse.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.historyLastUse)}),jr(),Hr(60,"ion-label",11),Da(61),jr(),Hr(62,"ion-input",20),Xr("ngModelChange",function(e){return t.passwordRules.historyLastUse.value=e}),jr(),jr(),Hr(63,"ion-item",21),Hr(64,"div",22),Hr(65,"ion-button",23),Hr(66,"ion-label",24),Da(67),hc(68,"translate"),jr(),jr(),jr(),jr(),jr(),jr()),2&e){const e=Br(9);Vr("translucent",!0),no(6),Oa(pc(7,39,"lang.manage_password_rules")),no(9),Oa(t.passwordRules.complexityUpper.label),no(1),Vr("ngModel",t.passwordRules.complexityUpper.enabled)("checked",t.passwordRules.complexityUpper.enabled),no(4),Oa(t.passwordRules.complexityNumber.label),no(1),Vr("ngModel",t.passwordRules.complexityNumber.enabled)("checked",t.passwordRules.complexityNumber.enabled),no(4),Oa(t.passwordRules.complexitySpecial.label),no(1),Vr("ngModel",t.passwordRules.complexitySpecial.enabled)("checked",t.passwordRules.complexitySpecial.enabled),no(2),Vr("ngModel",t.passwordRules.minLength.enabled)("checked",t.passwordRules.minLength.enabled),no(2),Oa(t.passwordRules.minLength.label),no(1),Vr("disabled",!t.passwordRules.minLength.enabled)("ngModel",t.passwordRules.minLength.value),no(2),Oa(pc(34,41,"lang.chars")),no(5),Vr("ngModel",t.passwordRules.lockAttempts.enabled)("checked",t.passwordRules.lockAttempts.enabled),no(2),Oa(t.passwordRules.lockAttempts.label),no(1),Vr("disabled",!t.passwordRules.lockAttempts.enabled)("ngModel",t.passwordRules.lockAttempts.value),no(4),Oa(t.passwordRules.lockTime.label),no(1),Vr("disabled",!t.passwordRules.lockTime.enabled)("ngModel",t.passwordRules.lockTime.value),no(2),Oa(pc(49,43,"lang.minutes")),no(3),Vr("ngModel",t.passwordRules.renewal.enabled)("checked",t.passwordRules.renewal.enabled),no(2),Oa(t.passwordRules.renewal.label),no(1),Vr("disabled",!t.passwordRules.renewal.enabled)("ngModel",t.passwordRules.renewal.value),no(2),Oa(pc(57,45,"lang.days")),no(3),Vr("ngModel",t.passwordRules.historyLastUse.enabled)("checked",t.passwordRules.historyLastUse.enabled),no(2),Oa(t.passwordRules.historyLastUse.label),no(1),Vr("disabled",!t.passwordRules.historyLastUse.enabled)("ngModel",t.passwordRules.historyLastUse.value),no(3),Vr("disabled",!e.valid&&!t.disabledForm()||t.checkModif()),no(2),Oa(pc(68,47,"lang.validate"))}},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Lm,am,Mm,Tx,aC,Mx,Gx,Zx,vC,J_,rm,Rm,Wx,ax,ib,tC,Cx],pipes:[qA],encapsulation:2}),e})();function Vz(e,t){1&e&&(Hr(0,"ion-note",17),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.requiredField")))}function Nz(e,t){1&e&&(Hr(0,"ion-item",26),Ur(1,"ion-icon",27),Hr(2,"ion-label",28),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.passwordValid")))}function Hz(e,t){1&e&&(Hr(0,"ion-item",26),Ur(1,"ion-icon",27),Hr(2,"ion-label",28),Da(3),hc(4,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.passwordMatch")))}function jz(e,t){1&e&&Ur(0,"ion-item",29),2&e&&Vr("innerHTML",na().otherRuleText,ss)}let Uz=(()=>{class e{constructor(e,t,n,i,s,o,r){this.http=e,this.notify=t,this._formBuilder=n,this.translate=i,this.signaturesService=s,this.authService=o,this.router=r,this.config={},this.loading=!1,this.user={},this.ruleText="",this.hidePassword=!0,this.validPassword=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.user=JSON.parse(atob(this.authService.getToken().split(".")[1])).user}ngOnInit(){this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[],i=[];t.push(zf.required),e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&(t.push(zf.minLength(this.passwordRules.minLength.value)),n.push(e.value+" "+this.translate.instant("lang.password_"+e.label)))):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&(t.push(this.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),n.push(this.translate.instant("lang.password_"+e.label)))):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&i.push(this.translate.instant("lang.password_"+e.label)+" <b>"+e.value+" "+this.translate.instant("lang.days")+"</b>. "+this.translate.instant("lang.password2_"+e.label)+".")):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&i.push(this.translate.instant("lang.password_historyLastUseDesc")+" <b>"+e.value+"</b> "+this.translate.instant("lang.password_historyLastUseDesc2")+"."))}),this.ruleText=n.join(", "),this.otherRuleText=i.join("<br/>"),this.firstFormGroup.controls.newPasswordCtrl.setValidators(t)},e=>{this.notify.error(e.error.errors)}),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",zf.compose([zf.required])],currentPasswordCtrl:["",zf.compose([zf.required])]},{validator:this.matchValidator})}regexValidator(e,t){return n=>n.value?e.test(n.value)?null:t:null}matchValidator(e){return e.controls.newPasswordCtrl.value!==e.controls.retypePasswordCtrl.value&&(e.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})}getErrorMessage(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!==this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.translate.instant("lang.requiredField")+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.translate.instant("lang.password_minLength")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.translate.instant("lang.password_complexityUpper")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.translate.instant("lang.password_complexityNumber")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.translate.instant("lang.password_complexitySpecial")+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")}onSubmit(){this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.passwordConfirmation=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../rest/users/"+this.user.id+"/password",this.passwordModel).subscribe(()=>{this.notify.success(this.translate.instant("lang.passwordChanged")),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(e=>{this.authService.user.picture=e.picture}),this.router.navigate(["/home"])},e=>{this.notify.handleErrors(e)})}logout(){this.authService.logout()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA),zr(ab),zr($A),zr(oS),zr(aS),zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:68,vars:53,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],[2,"display","contents",3,"formGroup","ngSubmit"],["offset","3","size","6"],[1,"info"],["color","secondary","position","stacked"],["formControlName","currentPasswordCtrl","required","",3,"placeholder","type"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["lines","full"],["color","dark"],["formControlName","newPasswordCtrl","required","",3,"placeholder","type"],["inputPasswd",""],["lines","none",4,"ngIf"],["color","danger"],["required","","formControlName","retypePasswordCtrl",3,"placeholder","type"],["inputPasswd2",""],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","default",3,"click"],["color","warning","class","alert-warning","role","alert",3,"innerHTML",4,"ngIf"],["lines","none"],["slot","start","color","success","name","checkmark-outline"],["color","success"],["color","warning","role","alert",1,"alert-warning",3,"innerHTML"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Ur(2,"ion-buttons",2),Hr(3,"ion-title"),Da(4),hc(5,"translate"),jr(),jr(),jr(),Hr(6,"ion-content",null,3),Hr(8,"form",4),Xr("ngSubmit",function(){return t.onSubmit()}),Hr(9,"ion-grid"),Hr(10,"ion-row"),Hr(11,"ion-col",5),Hr(12,"ion-card",6),Hr(13,"ion-card-content"),Da(14),hc(15,"translate"),Hr(16,"b"),Da(17),jr(),Da(18),hc(19,"translate"),jr(),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",7),Da(22),hc(23,"translate"),jr(),Ur(24,"ion-input",8),hc(25,"translate"),Hr(26,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(27,"ion-icon",10),jr(),Fr(28,Vz,3,3,"ion-note",11),jr(),Hr(29,"ion-list-header",12),Hr(30,"ion-label",13),Da(31),jr(),jr(),Hr(32,"ion-item"),Hr(33,"ion-label",7),Da(34),hc(35,"translate"),jr(),Ur(36,"ion-input",14,15),hc(38,"translate"),Hr(39,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(40,"ion-icon",10),jr(),Fr(41,Nz,5,3,"ion-item",16),Hr(42,"ion-note",17),Da(43),jr(),jr(),Hr(44,"ion-item"),Hr(45,"ion-label",7),Da(46),hc(47,"translate"),jr(),Ur(48,"ion-input",18,19),hc(50,"translate"),Hr(51,"ion-button",9),Xr("click",function(){return t.hidePassword=!t.hidePassword}),Ur(52,"ion-icon",10),jr(),Fr(53,Hz,5,3,"ion-item",16),Hr(54,"ion-note",17),Da(55),hc(56,"translate"),jr(),jr(),jr(),jr(),jr(),Hr(57,"ion-item",20),Hr(58,"div",21),Hr(59,"ion-button",22),Hr(60,"ion-label",23),Da(61),hc(62,"translate"),jr(),jr(),Hr(63,"ion-button",24),Xr("click",function(){return t.logout()}),Hr(64,"ion-label",23),Da(65),hc(66,"translate"),jr(),jr(),jr(),jr(),jr(),Fr(67,jz,1,1,"ion-item",25),jr()),2&e&&(Vr("translucent",!0),no(4),Oa(pc(5,29,"lang.passwordModification")),no(4),Vr("formGroup",t.firstFormGroup),no(6),Ma(" ",pc(15,31,"lang.hello")," "),no(3),Ta(" ",t.user.firstname," ",t.user.lastname,""),no(1),Ma(", ",pc(19,33,"lang.changePasswordInfo"),". "),no(4),Oa(pc(23,35,"lang.typeCurrentPassword")),no(2),ra("placeholder",pc(25,37,"lang.typeCurrentPassword")),Vr("type",t.hidePassword?"password":"text"),no(3),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),no(3),Oa(t.ruleText),no(3),Ma("",pc(35,39,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(38,41,"lang.passwordConfirmation")),Vr("type",t.hidePassword?"password":"text"),no(4),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",t.validPassword),no(2),Oa(t.getErrorMessage()),no(3),Ma("",pc(47,43,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(50,45,"lang.passwordConfirmation")),Vr("type",t.hidePassword?"password":"text"),no(4),Vr("name",t.hidePassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",!t.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=t.firstFormGroup.controls.retypePasswordCtrl.value),no(2),Oa(pc(56,47,"lang.passwordNotMatch")),no(4),Vr("disabled",!t.firstFormGroup.valid),no(2),Oa(pc(62,49,"lang.validate")),no(4),Oa(pc(66,51,"lang.logout")),no(2),Vr("ngIf",t.passwordRules.renewal.enabled||t.passwordRules.historyLastUse.enabled))},directives:[Vx,yC,Ax,bC,Tx,Lm,am,Hm,zx,aC,Mx,Sx,kx,Gx,Zx,Wx,ax,rm,Um,Jm,Cx,Nx,Wu,Xx,tC],pipes:[qA],styles:[".alert-warning[_ngcontent-%COMP%]{text-align:center;width:100%;margin:0;color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc;padding-top:15px;padding-bottom:15px}.alert-warning[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{left:0;bottom:0;position:absolute}.container[_ngcontent-%COMP%]{margin-top:-63px;display:flex;flex-direction:column;top:64px;right:0;height:100%}"]}),e})();var Wz=n("b0Xh"),Gz=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const $z=["passwordContent"];function qz(e,t){if(1&e&&(Hr(0,"ion-note",35),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Ma(" ",pc(2,1,e.handlePassword.errorMsg),"")}}function Yz(e,t){if(1&e){const e=qr();Hr(0,"div"),Hr(1,"ion-list-header",26),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"ion-item"),Hr(6,"ion-label",29),Da(7),hc(8,"translate"),jr(),Hr(9,"ion-input",30),Xr("ngModelChange",function(t){return Lt(e),na(2).password.currentPassword=t}),hc(10,"translate"),jr(),Hr(11,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideCurrentPassword=!t.hideCurrentPassword}),Ur(12,"ion-icon",32),jr(),jr(),Hr(13,"ion-item"),Hr(14,"ion-label",29),Da(15),hc(16,"translate"),jr(),Hr(17,"ion-input",33),Xr("ngModelChange",function(t){return Lt(e),na(2).password.newPassword=t})("keyup",function(){Lt(e);const t=na(2);return t.checkPasswordValidity(t.password.newPassword)}),hc(18,"translate"),jr(),Hr(19,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPassword=!t.hideNewPassword}),Ur(20,"ion-icon",32),jr(),Fr(21,qz,3,3,"ion-note",28),jr(),Hr(22,"ion-item"),Hr(23,"ion-label",29),Da(24),hc(25,"translate"),jr(),Hr(26,"ion-input",34),Xr("ngModelChange",function(t){return Lt(e),na(2).password.passwordConfirmation=t}),hc(27,"translate"),jr(),Hr(28,"ion-button",31),Xr("click",function(){Lt(e);const t=na(2);return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),Ur(29,"ion-icon",32),jr(),jr(),jr()}if(2&e){const e=na(2);no(3),Oa(pc(4,17,"lang.changePassword")),no(4),Oa(pc(8,19,"lang.currentPassword")),no(2),ra("placeholder",pc(10,21,"lang.currentPassword")),Vr("ngModel",e.password.currentPassword)("type",e.hideCurrentPassword?"password":"text"),no(3),Vr("name",e.hideCurrentPassword?"eye-outline":"eye-off-outline"),no(3),Oa(pc(16,23,"lang.newPassword")),no(2),ra("placeholder",pc(18,25,"lang.newPassword")),Vr("ngModel",e.password.newPassword)("type",e.hideNewPassword?"password":"text"),no(3),Vr("name",e.hideNewPassword?"eye-outline":"eye-off-outline"),no(1),Vr("ngIf",e.handlePassword.error),no(3),Ma("",pc(25,27,"lang.passwordConfirmation")," "),no(2),ra("placeholder",pc(27,29,"lang.passwordConfirmation")),Vr("ngModel",e.password.passwordConfirmation)("type",e.hideNewPasswordConfirm?"password":"text"),no(3),Vr("name",e.hideNewPasswordConfirm?"eye-outline":"eye-off-outline")}}function Zz(e,t){1&e&&(Hr(0,"ion-note",36),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.samePassword"),""))}function Qz(e,t){1&e&&(Hr(0,"ion-note",35),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.passwordNotMatch"),""))}function Xz(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-list",16),Hr(2,"ion-item"),Hr(3,"ion-avatar",17),Xr("click",function(){return Lt(e),Br(10).click()}),Ur(4,"img",18),jr(),Hr(5,"ion-label",19),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-input",20),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.login=t}),jr(),Hr(9,"input",21,22),Xr("change",function(t){return Lt(e),na().handleFileInput(t.target.files)}),jr(),jr(),Hr(11,"ion-item"),Hr(12,"ion-label",19),Da(13),hc(14,"translate"),jr(),Hr(15,"ion-input",23),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.email=t}),jr(),jr(),Hr(16,"ion-item"),Hr(17,"ion-label",19),Da(18),hc(19,"translate"),jr(),Hr(20,"ion-input",24),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.firstname=t}),jr(),jr(),Hr(21,"ion-item"),Hr(22,"ion-label",19),Da(23),hc(24,"translate"),jr(),Hr(25,"ion-input",25),Xr("ngModelChange",function(t){return Lt(e),na().profileInfo.lastname=t}),jr(),jr(),Fr(26,Yz,30,31,"div",14),Hr(27,"ion-item",26),Fr(28,Zz,3,3,"ion-note",27),Fr(29,Qz,3,3,"ion-note",28),jr(),jr(),Gr()}if(2&e){const e=na();no(4),Vr("src",e.avatarInfo.picture,os),no(2),Oa(pc(7,19,"lang.login")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.login),no(5),Oa(pc(14,21,"lang.email")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.email)("readonly","default"!==e.authService.authMode),no(3),Oa(pc(19,23,"lang.firstname")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.firstname)("readonly","default"!==e.authService.authMode),no(3),Oa(pc(24,25,"lang.lastname")),no(2),Vr("maxlength",128)("ngModel",e.profileInfo.lastname)("readonly","default"!==e.authService.authMode),no(1),Vr("ngIf","default"===e.authService.authMode),no(2),Vr("ngIf",e.password.passwordConfirmation===e.password.newPassword&&e.password.newPassword.length>0&&e.password.passwordConfirmation.length>0),no(1),Vr("ngIf",e.password.passwordConfirmation!==e.password.newPassword)}}function Kz(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),hc(2,"translate"),jr()),2&e){const e=t.$implicit;Vr("value",e),no(1),Oa(pc(2,2,"lang."+e))}}function Jz(e,t){1&e&&(Ur(0,"ion-note",64),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,"lang.freeModeInfo"),ss)}function eV(e,t){1&e&&(Ur(0,"ion-note",64),hc(1,"translate")),2&e&&Vr("innerHTML",pc(1,1,"lang.standardModeInfo"),ss)}function tV(e,t){if(1&e&&(Hr(0,"ion-select-option",63),Da(1),jr()),2&e){const e=t.index;Vr("value",e+1),no(1),Ma("",e+1," ")}}const nV=function(e){return{value:e}};function iV(e,t){if(1&e&&(Ur(0,"ion-note",65),hc(1,"translate")),2&e){const e=na(2);Vr("innerHTML",gc(1,1,"lang.scalingDocWith",ac(4,nV,e.signatureScaling)),ss)}}function sV(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-list",16),Hr(2,"ion-item"),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Hr(6,"ion-toggle",37),Xr("ionChange",function(){Lt(e);const t=na();return t.preferenceInfo.notifications=!t.preferenceInfo.notifications}),jr(),jr(),Hr(7,"ion-list"),Hr(8,"ion-item"),Hr(9,"ion-label",38),Da(10),hc(11,"translate"),jr(),Hr(12,"ion-select",39),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.lang=t}),Fr(13,Kz,3,4,"ion-select-option",40),jr(),jr(),jr(),Hr(14,"ion-list"),Hr(15,"ion-item"),Hr(16,"ion-label",38),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-select",41),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingMode=t}),Hr(20,"ion-select-option",42),Da(21),hc(22,"translate"),jr(),Hr(23,"ion-select-option",43),Da(24),hc(25,"translate"),Ur(26,"i",44),jr(),jr(),Fr(27,Jz,2,3,"ion-note",45),Fr(28,eV,2,3,"ion-note",45),jr(),jr(),Hr(29,"ion-list"),Hr(30,"ion-item"),Hr(31,"ion-label",38),Da(32),hc(33,"translate"),jr(),Hr(34,"ion-select",46),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingSize=t})("ionChange",function(){return Lt(e),na().drawSample()}),Fr(35,tV,2,2,"ion-select-option",40),jr(),Hr(36,"ion-note",2),Ur(37,"canvas",47),jr(),jr(),jr(),Hr(38,"ion-list"),Hr(39,"ion-item"),Hr(40,"ion-label",38),Da(41),hc(42,"translate"),jr(),Hr(43,"ion-select",48),Xr("ngModelChange",function(t){return Lt(e),na().preferenceInfo.writingColor=t}),Hr(44,"ion-select-option",49),Da(45),hc(46,"translate"),jr(),Hr(47,"ion-select-option",50),Da(48),hc(49,"translate"),jr(),Hr(50,"ion-select-option",51),Da(51),hc(52,"translate"),jr(),jr(),Hr(53,"ion-note",2),Ur(54,"div",52),jr(),jr(),jr(),Hr(55,"ion-list"),Hr(56,"ion-row"),Hr(57,"iotn-item"),Hr(58,"ion-label",53),Da(59),hc(60,"translate"),jr(),jr(),jr(),Hr(61,"ion-row"),Hr(62,"ion-col",54),Hr(63,"ion-item",55),Hr(64,"ion-range",56),Xr("ngModelChange",function(t){return Lt(e),na().signatureScaling=t}),Ur(65,"ion-icon",57),Ur(66,"ion-icon",58),jr(),jr(),Fr(67,iV,2,6,"ion-note",59),jr(),Hr(68,"ion-col",60),Hr(69,"ion-item",61),Hr(70,"ion-label"),Da(71),hc(72,"translate"),jr(),Hr(73,"ion-toggle",62),Xr("ionChange",function(){Lt(e);const t=na();return t.originalSize=!t.originalSize}),jr(),jr(),jr(),jr(),jr(),jr(),Gr()}if(2&e){const e=na();no(4),Oa(pc(5,27,"lang.receiveNotif")),no(2),Vr("checked",e.preferenceInfo.notifications),no(4),Oa(pc(11,29,"lang.language")),no(2),Vr("ngModel",e.preferenceInfo.lang),no(1),Vr("ngForOf",e.profileInfo.availableLanguages),no(4),Ma("",pc(18,31,"lang.annotationMode")," "),no(2),Vr("ngModel",e.preferenceInfo.writingMode),no(2),Oa(pc(22,33,"lang.free")),no(3),Ma("",pc(25,35,"lang.appleStylus")," "),no(3),Vr("ngIf","stylus"===e.preferenceInfo.writingMode),no(1),Vr("ngIf","direct"===e.preferenceInfo.writingMode),no(4),Oa(pc(33,37,"lang.stylusWidh")),no(2),Vr("ngModel",e.preferenceInfo.writingSize),no(1),Vr("ngForOf",e.counter(10)),no(6),Oa(pc(42,39,"lang.defaultColor")),no(2),Vr("ngModel",e.preferenceInfo.writingColor),no(2),Oa(pc(46,41,"lang.black")),no(3),Oa(pc(49,43,"lang.blue")),no(3),Oa(pc(52,45,"lang.red")),no(3),fa("background-color",e.preferenceInfo.writingColor),no(5),Oa(pc(60,47,"lang.signatureScaling")),no(5),Vr("disabled",e.originalSize)("ngModel",e.signatureScaling),no(3),Vr("ngIf",!e.originalSize),no(4),Oa(pc(72,49,"lang.originalSize")),no(2),Vr("checked",e.originalSize)}}function oV(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-item"),Ur(2,"ion-input",66),Hr(3,"ion-button",67),Xr("click",function(){return Lt(e),na(2).deleteSubstitute()}),Ur(4,"ion-icon",68),jr(),jr(),jr()}if(2&e){const e=na(2);no(2),Vr("value",e.authService.user.substituteUser)}}function rV(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-item"),Hr(2,"ion-searchbar",69),Xr("ionChange",function(t){return Lt(e),na(2).test(t)}),hc(3,"translate"),jr(),jr(),jr()}2&e&&(no(2),Vr("placeholder",pc(3,1,"lang.chooseSubstitute")))}function aV(e,t){if(1&e&&(Hr(0,"ion-note",2),Da(1),jr()),2&e){const e=na().$implicit;no(1),Oa(e.email)}}function lV(e,t){1&e&&(Hr(0,"ion-note",74),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.delegatedUser")))}function cV(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",71),Xr("ionChange",function(t){return Lt(e),na(3).selectSubstitute(t.detail.value)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Fr(4,aV,2,1,"ion-note",72),Fr(5,lV,3,3,"ion-note",73),jr()}if(2&e){const e=t.$implicit;no(1),Vr("disabled",e.substitute)("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(1),Vr("ngIf",!e.substitute),no(1),Vr("ngIf",e.substitute)}}function dV(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,cV,6,6,"ion-item",70),jr()),2&e){const e=na(2);no(1),Vr("ngForOf",e.userList)}}function uV(e,t){if(1&e){const e=qr();Hr(0,"button",78),Xr("click",function(){Lt(e);const n=t.index;return na(3).toggleSignature(n)}),Ur(1,"img",79),jr()}if(2&e){const e=t.$implicit,n=na(3);ma("selected",e.substituted),no(1),Vr("src",n.sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+e.encodedSignature),os)}}function hV(e,t){if(1&e&&(Wr(0),Hr(1,"ion-item",26),Hr(2,"ion-label",75),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"div",76),Fr(6,uV,2,3,"button",77),jr(),Gr()),2&e){const e=na(2);no(3),Ma(" ",pc(4,2,"lang.signSubstituted")," : "),no(3),Vr("ngForOf",e.signaturesService.signaturesList)}}function pV(e,t){if(1&e&&(Wr(0),Fr(1,oV,5,1,"ion-list",14),Fr(2,rV,4,3,"ion-list",14),Fr(3,dV,2,1,"ion-list",14),Fr(4,hV,7,4,"ng-container",14),Gr()),2&e){const e=na();no(1),Vr("ngIf",null!==e.authService.user.substitute),no(1),Vr("ngIf",null===e.authService.user.substitute),no(1),Vr("ngIf",null===e.authService.user.substitute),no(1),Vr("ngIf",null!=e.authService.user.substitute&&e.signaturesService.signaturesList.length>0)}}function gV(e,t){if(1&e){const e=qr();Hr(0,"ion-footer",80),Hr(1,"ion-toolbar"),Hr(2,"ion-buttons",81),Hr(3,"ion-button",82),Xr("click",function(){return Lt(e),na().submitProfile()}),Hr(4,"ion-label"),Da(5),hc(6,"translate"),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na(),t=Br(27);no(3),Vr("disabled",e.allowValidate()||!t.form.valid),no(2),Oa(pc(6,2,"lang.save"))}}const fV=function(){return["info","pref"]};let mV=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.sanitizer=t,this.notificationService=n,this.signaturesService=i,this.authService=s,this.filtersService=o,this.modalController=r,this.renderer=a,this.translate=l,this.alertController=c,this.cookieService=d,this.router=u,this.currentTool="info",this.profileInfo={substitute:null,preferences:[]},this.preferenceInfo={},this.avatarInfo={picture:"",pictureOrientation:""},this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.password={currentPassword:"",newPassword:"",passwordConfirmation:""},this.handlePassword={error:!1,errorMsg:""},this.usersList=[],this.ruleText="",this.otherRuleText="",this.disableState=!1,this.msgButton="lang.validate",this.loading=!1,this.slideOpts={initialSlide:0,speed:400},this.showHideContent=!1,this.userList=[],this.signatureScaling=25,this.originalSize=!1}ngOnInit(){this.initProfileInfo(),this.getPassRules()}dismissModal(){this.modalController.dismiss("cancel")}test(e){""===e.detail.value?this.userList=[]:e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.userList=e.filter(e=>e.id!==this.profileInfo.id)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}initProfileInfo(){this.profileInfo=JSON.parse(JSON.stringify(this.authService.user)),this.preferenceInfo=this.profileInfo.preferences,this.avatarInfo.picture=this.profileInfo.picture,void 0!==this.preferenceInfo.signatureScaling?!1===this.preferenceInfo.signatureScaling?this.originalSize=!0:this.signatureScaling=this.preferenceInfo.signatureScaling:this.originalSize=!0,delete this.profileInfo.picture,delete this.profileInfo.preferences}initTab(e){this.currentTool=e,"pref"===e&&setTimeout(()=>{this.drawSample()},200)}closeProfile(){setTimeout(()=>{this.initProfileInfo()},200),this.dismissModal()}getPassRules(){this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(e=>{const t=[],n=[];e.rules.forEach(e=>{"minLength"===e.label?(this.passwordRules.minLength.enabled=e.enabled,this.passwordRules.minLength.value=e.value,e.enabled&&this.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(e=>{t.push(e)})):"complexityUpper"===e.label?(this.passwordRules.complexityUpper.enabled=e.enabled,this.passwordRules.complexityUpper.value=e.value,e.enabled&&t.push("lang.upperRequired")):"complexityNumber"===e.label?(this.passwordRules.complexityNumber.enabled=e.enabled,this.passwordRules.complexityNumber.value=e.value,e.enabled&&t.push("lang.numberRequired")):"complexitySpecial"===e.label?(this.passwordRules.complexitySpecial.enabled=e.enabled,this.passwordRules.complexitySpecial.value=e.value,e.enabled&&t.push("lang.specialCharRequired")):"renewal"===e.label?(this.passwordRules.renewal.enabled=e.enabled,this.passwordRules.renewal.value=e.value,e.enabled&&this.translate.get("lang.renewalInfo",{time:e.value}).subscribe(e=>{n.push(e)})):"historyLastUse"===e.label&&(this.passwordRules.historyLastUse.enabled=e.enabled,this.passwordRules.historyLastUse.value=e.value,e.enabled&&this.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(e=>{n.push(e)}))}),this.ruleText=t.join(", "),this.otherRuleText=n.join("<br/>")},e=>{this.notificationService.handleErrors(e)})}checkPasswordValidity(e){this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(e=>{this.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}allowValidate(){return!!this.disableState||!(""===this.password.newPassword||!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.currentPassword.length&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}submitProfile(){return Gz(this,void 0,void 0,function*(){this.disableState=!0,this.msgButton="lang.sending",this.preferenceInfo=Object.assign(Object.assign({},this.preferenceInfo),{signatureScaling:!this.originalSize&&this.signatureScaling}),this.http.put("../rest/users/"+this.authService.user.id+"/preferences",this.preferenceInfo).pipe(Ov(()=>{this.disableState=!1,this.msgButton="lang.validate",this.setLang(this.preferenceInfo.lang),this.cookieService.set("maarchParapheurLang",this.preferenceInfo.lang)}),jL(()=>"default"===this.authService.authMode?this.http.put("../rest/users/"+this.authService.user.id,this.profileInfo):new Promise(e=>{e(!0)})),jL(()=>{if(this.authService.updateUserInfoWithTokenRefresh(),""===this.password.newPassword)return this.closeProfile(),this.notificationService.success("lang.profileUpdated"),lb(!1);if("default"===this.authService.authMode){const e=new fb({Authorization:"Bearer "+this.authService.getToken()});return this.http.put("../rest/users/"+this.authService.user.id+"/password",this.password,{observe:"response",headers:e})}return lb(!1)}),db(e=>!!e),Ov(e=>{this.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),this.password.newPassword="",this.password.passwordConfirmation="",this.password.currentPassword="",this.notificationService.success("lang.profileUpdated")}),fv(e=>(401===e.status?this.notificationService.error("lang.wrongPassword"):this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}changePicture(){this.msgButton="lang.sending",this.disableState=!0,this.http.put("../rest/users/"+this.authService.user.id+"/picture",this.avatarInfo).pipe(Ov(()=>{this.authService.user.picture=this.avatarInfo.picture,this.notificationService.success("lang.profileUpdated")}),Iv(()=>{this.msgButton="lang.validate",this.disableState=!1})).subscribe()}selectSubstitute(e){this.userList=[],this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:e.id}).subscribe(()=>{this.authService.updateUserInfoWithTokenRefresh(),this.filtersService.resfreshDocuments(),this.signaturesService.documentsList.length>0&&!1===this.signaturesService.documentsList[this.signaturesService.indexDocumentsList].owner&&this.router.navigate(["/documents"]),this.notificationService.success("lang.substituteEnabled")})}deleteSubstitute(){return Gz(this,void 0,void 0,function*(){const e=yield this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.yes"),handler:()=>{const e=this.signaturesService.signaturesList.filter(e=>e.substituted);this.profileInfo.substitute=null,this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:this.profileInfo.substitute}).pipe(Ov(t=>{this.authService.updateUserInfoWithTokenRefresh(),this.filtersService.resfreshDocuments(),e.length>0&&e.forEach(e=>{this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+e.id+"/substituted",{substituted:!1}).pipe(Ov(()=>{this.signaturesService.signaturesList.find(t=>t.id===e.id).substituted=!1}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}),this.signaturesService.documentsList.length>0&&!1===this.signaturesService.documentsList[this.signaturesService.indexDocumentsList].owner&&this.router.navigate(["/documents"]),this.notificationService.success("lang.substitutionDeleted")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}}]});yield e.present()})}handleFileInput(e){this.passwordContent&&this.passwordContent.close();const t=e.item(0);if(t.size<=5e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(t.type)){const e=new FileReader;e.onloadend=t=>{const n=new Image;n.src=e.result.toString(),this.avatarInfo.picture=e.result,n.onload=()=>this.fixImgOrientation(n)},e.readAsDataURL(t)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.imageTooBig")}fixImgOrientation(e){Wz.getData(e,()=>{let t=0;switch(Wz.getTag(e,"Orientation")){case 3:t=180;break;case 6:t=90;break;case 8:t=-90}this.avatarInfo.pictureOrientation=t,this.changePicture()})}drawSample(){const e=document.getElementById("sampleNote").getContext("2d");e.clearRect(0,0,100,100),e.beginPath(),e.lineWidth=this.preferenceInfo.writingSize,e.moveTo(0,0),e.lineTo(100,100),e.moveTo(100,0),e.lineTo(0,100),e.stroke()}initProfileTab(e){1===e.index&&this.drawSample()}counter(e){return new Array(e)}setLang(e){this.translate.use(e)}toggleSignature(e){this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+this.signaturesService.signaturesList[e].id+"/substituted",{substituted:!this.signaturesService.signaturesList[e].substituted}).subscribe(()=>{this.signaturesService.signaturesList[e].substituted=!this.signaturesService.signaturesList[e].substituted,this.notificationService.success("lang.modificationSaved")})}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(qh),zr(QA),zr(oS),zr(aS),zr(TF),zr(eA),zr(cl),zr($A),zr(XC),zr(oE),zr(r_))},e.\u0275cmp=$e({type:e,selectors:[["app-my-profile"]],viewQuery:function(e,t){if(1&e&&Tc($z,1),2&e){let e;Mc(e=Rc())&&(t.passwordContent=e.first)}},decls:33,vars:19,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","pref"],["name","brush-outline"],["value","deleg"],["name","hand-left-outline"],[2,"display","contents",3,"ngSubmit"],["profileForm","ngForm"],[4,"ngIf"],["class","ion-no-border",4,"ngIf"],["lines","full",1,"ion-no-margin"],["slot","start",2,"cursor","pointer",3,"click"],[3,"src"],["color","secondary","position","floating"],["name","login","readonly","","required","",3,"maxlength","ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["name","email","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["color","danger",4,"ngIf"],["color","secondary","position","stacked"],["name","currentPassword",3,"ngModel","placeholder","type","ngModelChange"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["color","danger"],["color","success"],["slot","start",3,"checked","ionChange"],["position","floating","color","secondary"],["name","langUser",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","writingMode",3,"ngModel","ngModelChange"],["value","direct"],["value","stylus"],[1,"fab","fa-apple"],[3,"innerHTML",4,"ngIf"],["name","writingSize",3,"ngModel","ngModelChange","ionChange"],["id","sampleNote","width","100","height","100"],["name","writingColor",3,"ngModel","ngModelChange"],["value","#000000"],["value","#1a75ff"],["value","#FF0000"],[2,"height","25px","width","25px","border-radius","20px"],["color","secondary",2,"opacity","1","margin-left","15px"],["size","7"],["lines","none",2,"margin-left","-10px"],["min","10","max","50","pin","","color","primary","name","signatureScaling",3,"disabled","ngModel","ngModelChange"],["slot","start","size","small","name","scan-circle-outline"],["slot","end","name","scan-outline"],["style","margin-left: 20px; font-size: 14px;",3,"innerHTML",4,"ngIf"],["size","5"],["lines","none",2,"margin-top","22px","margin-left","10px"],["slot","start","name","originalSize","color","primary",2,"cursor","pointer",3,"checked","ionChange"],[3,"value"],[3,"innerHTML"],[2,"margin-left","20px","font-size","14px",3,"innerHTML"],["readonly","",3,"value"],["slot","end","color","danger",3,"click"],["name","close-outline"],[3,"placeholder","ionChange"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"disabled","value","ionChange"],["slot","end",4,"ngIf"],["slot","end","color","danger",4,"ngIf"],["slot","end","color","danger"],["color","secondary"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],["type","button","class","signListButton","mat-stroked-button","",3,"selected","click",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","",1,"signListButton",3,"click"],[2,"width","190px",3,"src"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled","click"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header"),Hr(9,"ion-toolbar"),Hr(10,"ion-segment",5),Xr("ionChange",function(e){return t.initTab(e.detail.value)}),Hr(11,"ion-segment-button",6),Hr(12,"ion-label"),Da(13),hc(14,"translate"),jr(),Ur(15,"ion-icon",7),jr(),Hr(16,"ion-segment-button",8),Hr(17,"ion-label"),Da(18),hc(19,"translate"),jr(),Ur(20,"ion-icon",9),jr(),Hr(21,"ion-segment-button",10),Hr(22,"ion-label"),Da(23),hc(24,"translate"),jr(),Ur(25,"ion-icon",11),jr(),jr(),jr(),jr(),Hr(26,"form",12,13),Xr("ngSubmit",function(){return t.submitProfile()}),Hr(28,"ion-content"),Fr(29,Xz,30,27,"ng-container",14),Fr(30,sV,74,51,"ng-container",14),Fr(31,pV,5,4,"ng-container",14),jr(),jr(),Fr(32,gV,7,4,"ion-footer",15)),2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,10,"lang.myProfil")),no(7),Vr("value",t.currentTool),no(3),Oa(pc(14,12,"lang.informations")),no(5),Oa(pc(19,14,"lang.preferences")),no(5),Oa(pc(24,16,"lang.substitute")),no(6),Vr("ngIf","info"===t.currentTool),no(1),Vr("ngIf","pref"===t.currentTool),no(1),Vr("ngIf","deleg"===t.currentTool),no(1),Vr("ngIf",rc(18,fV).indexOf(t.currentTool)>-1))},directives:[Vx,yC,bC,Ax,Cx,Nx,cC,ox,dC,Zx,Lm,am,Mm,Tx,Wu,Qx,Gx,wx,Wx,ax,Jm,tb,rm,Rm,ib,Xx,tC,vC,J_,uC,ju,hC,aC,Mx,sC,lC,Dx,mM,Bx],pipes:[qA],styles:['.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{margin-top:0}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.user[_ngcontent-%COMP%]{color:#fff;color:#f99830;position:absolute;top:15px;font-weight:700;font-size:20px}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.profile-content[_ngcontent-%COMP%]{padding:10px;text-align:center}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px;margin:10px;color:#fff;font-size:20px}.actions[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:65px;width:65px;font-size:35px}.actions[_ngcontent-%COMP%] .validate[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;font-size:20px}canvas[_ngcontent-%COMP%]{background-color:#f1f4f4}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center}legend[_ngcontent-%COMP%]{color:#f99830}.form-container[_ngcontent-%COMP%]{display:table;width:100%}.form-2-col[_ngcontent-%COMP%]{width:50%}.form-2-col[_ngcontent-%COMP%], .form-col[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.notification[_ngcontent-%COMP%]{text-align:left;padding:10px}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.mat-icon[_ngcontent-%COMP%]{height:auto}.selected[_ngcontent-%COMP%]{border:solid #f99830}.selectedSubstitute[_ngcontent-%COMP%]{width:100%}.selectedSubstitute[_ngcontent-%COMP%] .mat-input-element{cursor:default}.selectedSubstitute[_ngcontent-%COMP%] .mat-form-field-suffix{top:0;display:flex}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}']}),e})();function bV(e,t){if(1&e){const e=qr();Hr(0,"ion-button",3),Xr("click",function(){return Lt(e),na().menu.open("left-menu")}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.accessMenu")," "))}let vV=(()=>{class e{constructor(e,t,n,i){this.signaturesService=e,this.translate=t,this.menu=n,this.modalController=i,this.loading=!1}ngOnInit(){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu"),this.menu.open("left-menu")}}return e.\u0275fac=function(t){return new(t||e)(zr(oS),zr($A),zr(JC),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:3,vars:1,consts:[["color","primary"],["svgIcon","maarchLogo",1,"maarchLogo"],["class","menu-button","color","light","fill","outline","size","large",3,"click",4,"ngIf"],["color","light","fill","outline","size","large",1,"menu-button",3,"click"]],template:function(e,t){1&e&&(Hr(0,"ion-content",0),Ur(1,"mat-icon",1),Fr(2,bV,3,3,"ion-button",2),jr()),2&e&&(no(2),Vr("ngIf",t.signaturesService.mobileMode))},directives:[Tx,iT,Wu,Cx],pipes:[qA],styles:[".maarchLogo[_ngcontent-%COMP%]{top:50%;width:250px;height:auto}.maarchLogo[_ngcontent-%COMP%], .menu-button[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%,-50%)}.menu-button[_ngcontent-%COMP%]{top:60%}"]}),e})();var yV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};function wV(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",25),Xr("click",function(){Lt(e);const t=na().$implicit,n=na().index;return na().goToSignUserPage(n,t.page)}),hc(1,"translate"),Hr(2,"ion-label"),Da(3),jr(),jr()}if(2&e){const e=na().$implicit,t=na().index,n=na();Vr("title",pc(1,3,"lang.accessToPage")+" "+e.page)("color",t===n.currentUser&&e.page===n.currentPage?"primary":"medium"),no(3),Oa(e.page)}}function _V(e,t){if(1&e&&(Wr(0),Fr(1,wV,4,5,"ion-chip",24),Gr()),2&e){const e=t.$implicit,n=na().index;no(1),Vr("ngIf",e.sequence==n)}}function xV(e,t){if(1&e&&(Hr(0,"ion-segment-button",21),Hr(1,"ion-label"),Hr(2,"h2"),Da(3),jr(),Hr(4,"p",22),Fr(5,_V,2,1,"ng-container",7),jr(),jr(),Ur(6,"ion-icon",23),jr()),2&e){const e=t.$implicit,n=t.index,i=na();Vr("value",n),no(3),Oa(e.userDisplay),no(2),Vr("ngForOf",i.signList),no(1),Vr("name","sign"===e.mode?"pencil-outline":"checkmark-done-outline")}}const CV=function(e,t){return{x:e,y:t}};function AV(e,t){if(1&e){const e=qr();Hr(0,"div",27),Xr("movingOffset",function(){return Lt(e),na(2).dragging=!0})("endOffset",function(t){Lt(e);const n=na(2);return n.moveSign(t,n.i)})("click",function(){Lt(e);const t=na().$implicit,n=na();return n.currentUser!=t.sequence&&n.goToSignUserPage(t.sequence,n.currentPage)}),Hr(1,"ion-buttons",28),Hr(2,"ion-button",29),Xr("click",function(){Lt(e);const t=na().index;return na().deleteSign(t)}),hc(3,"translate"),Ur(4,"ion-icon",30),jr(),jr(),Hr(5,"span",31),Da(6),jr(),Da(7),hc(8,"uppercase"),hc(9,"translate"),jr()}if(2&e){const e=na().$implicit,t=na(),n=Br(11);fa("width",25,"%"),ma("signDisabled",t.currentUser!==e.sequence)("hide",!t.pagesLoaded),Vr("position",lc(20,CV,e.position.positionX*t.workingAreaWidth/100,e.position.positionY*t.workingAreaHeight/100))("ngDraggable",t.currentUser===e.sequence)("preventDefaultEvent",!1)("bounds",n)("inBounds",!0),no(2),Vr("title",pc(3,14,"lang.delete")),no(4),Oa(t.getUserName(e.sequence)),no(1),Ma(" ",pc(8,16,pc(9,18,"lang.signature"))," ")}}function SV(e,t){if(1&e&&(Wr(0),Fr(1,AV,10,23,"div",26),Gr()),2&e){const e=t.$implicit,n=na();no(1),Vr("ngIf",e.page===n.currentPage)}}function kV(e,t){if(1&e){const e=qr();Hr(0,"ion-button",32),Xr("click",function(){return Lt(e),na().initSign()}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.createSignaturePosition"),""))}function EV(e,t){if(1&e&&(Hr(0,"ion-select-option",33),Da(1),jr()),2&e){const e=t.index;Vr("value",t.$implicit),no(1),Oa(e+1)}}function PV(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",36),Xr("click",function(){Lt(e);const t=na(2);return t.changePage(t.currentPage-1)}),Ur(1,"ion-icon",37),jr()}}function DV(e,t){if(1&e){const e=qr();Hr(0,"ion-fab-button",38),Xr("click",function(){Lt(e);const t=na(2);return t.changePage(t.currentPage+1)}),Ur(1,"ion-icon",39),jr()}}function OV(e,t){if(1&e&&(Wr(0),Fr(1,PV,2,0,"ion-fab-button",34),Fr(2,DV,2,0,"ion-fab-button",35),Gr()),2&e){const e=na();no(1),Vr("ngIf",e.currentPage>1),no(1),Vr("ngIf",e.currentPage<e.pages.length)}}let MV=(()=>{class e{constructor(e,t,n,i,s,o){this.translate=e,this.http=t,this.signaturesService=n,this.pdfViewerService=i,this.modalController=s,this.loadingController=o,this.workflow=[],this.resource=[],this.pdfContent=null,this.loading=!1,this.dragging=!1,this.pages=[],this.currentUser=0,this.currentPage=1,this.currentSignature={positionX:0,positionY:0},this.workingAreaWidth=0,this.workingAreaHeight=0,this.signList=[],this.imgContent=null,this.load=null,this.pagesLoaded=!1}ngOnInit(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(e=>{this.load=e,this.load.present()}),this.resource.signPos&&this.initSignPos()}initSignPos(){this.workflow.forEach((e,t)=>{var n;(null===(n=e.signaturePositions)||void 0===n?void 0:n.length)>0&&(this.signList=this.signList.concat(e.signaturePositions.filter(e=>e.mainDocument===this.resource.mainDocument).map(e=>Object.assign(Object.assign({},e),{sequence:t}))))})}onSubmit(){this.modalController.dismiss(this.formatData())}onPagesLoaded(e){return yV(this,void 0,void 0,function*(){this.pages=Array.from({length:e.pagesCount}).map((e,t)=>t+1),this.changePage(1)})}exportAsImage(){return yV(this,void 0,void 0,function*(){const e=yield this.pdfViewerService.getPageAsImage(this.currentPage,{width:1e3});this.getImageDimensions(e),this.imgContent=e,this.pagesLoaded=!0})}getImageDimensions(e){const t=new Image;t.onload=e=>{this.workingAreaWidth=e.target.naturalWidth,this.workingAreaHeight=e.target.naturalHeight},t.src=e}changePage(e){this.currentPage=e,this.exportAsImage()}moveSign(e,t){const n=100*e.x/this.workingAreaWidth,i=100*e.y/this.workingAreaHeight;this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage)[0].position.positionX=n,this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage)[0].position.positionY=i,this.dragging=!1}emptySign(){return 0===this.signList.filter(e=>e.sequence===this.currentUser&&e.page===this.currentPage).length}initSign(){this.signList.push({sequence:this.currentUser,page:this.currentPage,position:{positionX:75,positionY:90}});let e=0;Array.from(document.getElementsByClassName("drag-scroll-content")).forEach((t,n)=>{if(null!==t.offsetParent)return e=n,!0}),document.getElementsByClassName("drag-scroll-content")[e].scrollTop=this.workingAreaHeight}getUserSignPosPage(e){return this.signList.filter(t=>t.sequence===e)}selectUser(e){this.currentUser=+e}getUserName(e){return this.workflow[e].userDisplay}goToSignUserPage(e,t){this.currentUser=e,this.currentPage=t,this.exportAsImage()}deleteSign(e){this.signList.splice(e,1)}formatData(){let e=[];return this.workflow.forEach((t,n)=>{this.signList.filter(e=>e.sequence===n).length>0&&(e=e.concat(this.signList.filter(e=>e.sequence===n)))}),e}imageLoaded(e){this.load.dismiss()}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(XS),zr(eA),zr(KC))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],inputs:{workflow:"workflow",resource:"resource",pdfContent:"pdfContent"},decls:37,vars:35,consts:[[3,"translucent"],["color","primary"],["color","warning","scrollable","",2,"justify-content","center",3,"value","ionChange"],["layout","icon-start",3,"value",4,"ngFor","ngForOf"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-disabled","drag-scroll-disabled"],["id","myBounds",2,"margin","auto","position","relative","box-shadow","0px 0px 5px 0px #656565"],["myBounds",""],[4,"ngFor","ngForOf"],[1,"img-content",3,"src","ionImgDidLoad"],["color","primary","style","position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);font-size:20px;",3,"click",4,"ngIf"],[2,"display","none",3,"src","useBrowserLocale","textLayer","pdfLoaded"],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","action-sheet","hidden","true",2,"max-height","30%",3,"cancelText","ionChange"],["pagesList",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],["type","button","color","primary","fill","outline","shape","round","size","large",3,"click"],["type","button","color","medium","fill","outline","shape","round","size","large",3,"click"],["layout","icon-start",3,"value"],[1,"chip-item-content"],[3,"name"],["class","chip-item","outline","",3,"title","color","click",4,"ngIf"],["outline","",1,"chip-item",3,"title","color","click"],["class","signature",3,"signDisabled","position","width","ngDraggable","preventDefaultEvent","bounds","inBounds","hide","movingOffset","endOffset","click",4,"ngIf"],[1,"signature",3,"position","ngDraggable","preventDefaultEvent","bounds","inBounds","movingOffset","endOffset","click"],[2,"position","absolute","top","-50px","right","0px"],["fill","clear","slot","icon-only","shape","round","size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],[1,"signUserName"],["color","primary",2,"position","fixed","top","50%","left","50%","transform","translate(-50%,-50%)","font-size","20px",3,"click"],[3,"value"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),jr(),Hr(5,"ion-toolbar",1),Hr(6,"ion-segment",2),Xr("ionChange",function(e){return t.selectUser(e.detail.value)}),Fr(7,xV,7,4,"ion-segment-button",3),jr(),jr(),jr(),Hr(8,"ion-content"),Hr(9,"drag-scroll",4),Hr(10,"div",5,6),Fr(12,SV,2,1,"ng-container",7),Hr(13,"ion-img",8),Xr("ionImgDidLoad",function(e){return t.imageLoaded(e)}),jr(),Fr(14,kV,3,3,"ion-button",9),jr(),jr(),Hr(15,"ngx-extended-pdf-viewer",10),Xr("pdfLoaded",function(e){return t.onPagesLoaded(e)}),jr(),Hr(16,"section",11),Hr(17,"div",12),Da(18),jr(),Hr(19,"div",13),Xr("click",function(){Lt(e);const n=Br(23);return t.pages.length>1&&n.open()}),Da(20),hc(21,"translate"),jr(),Hr(22,"ion-select",14,15),Xr("ionChange",function(e){return t.changePage(e.target.value)}),hc(24,"translate"),Fr(25,EV,2,2,"ion-select-option",16),jr(),jr(),Fr(26,OV,3,2,"ng-container",17),jr(),Hr(27,"ion-footer",18),Hr(28,"div"),Hr(29,"ion-button",19),Xr("click",function(){return t.onSubmit()}),Hr(30,"ion-label"),Da(31),hc(32,"translate"),jr(),jr(),Hr(33,"ion-button",20),Xr("click",function(){return t.modalController.dismiss()}),Hr(34,"ion-label"),Da(35),hc(36,"translate"),jr(),jr(),jr(),jr()}2&e&&(Vr("translucent",!0),no(3),Oa(pc(4,25,"lang.adminSignaturesPositions")),no(3),Vr("value",t.currentUser),no(1),Vr("ngForOf",t.workflow),no(2),Vr("drag-disabled",t.dragging&&!t.signaturesService.mobileMode)("drag-scroll-disabled",t.dragging&&t.signaturesService.mobileMode),no(1),fa("width",t.workingAreaWidth,"px")("height",t.workingAreaHeight,"px"),no(2),Vr("ngForOf",t.signList),no(1),Vr("src",t.imgContent),no(1),Vr("ngIf",t.emptySign()),no(1),Vr("src",t.pdfContent)("useBrowserLocale",!0)("textLayer",!1),no(3),Oa(t.resource.title),no(2),Ia("",pc(21,27,"lang.page")," ",t.currentPage," / ",t.pages.length,""),no(2),Vr("cancelText",pc(24,29,"lang.cancel")),no(3),Vr("ngForOf",t.pages),no(1),Vr("ngIf",t.pages.length>1),no(5),Oa(pc(32,31,"lang.save")),no(4),Oa(pc(36,33,"lang.cancel")))},directives:[Vx,yC,bC,cC,ox,ju,Tx,Zk,Hx,Wu,QS,uC,Bx,Cx,Zx,dC,Nx,Ox,Jk,Ax,hC,Lx],pipes:[qA,ah],styles:[".containerMobile[_ngcontent-%COMP%]{flex-direction:column}.containerMobile[_ngcontent-%COMP%] .signPosForm[_ngcontent-%COMP%]{flex:none!important;height:auto}.containerMobile[_ngcontent-%COMP%] .signatureContainer[_ngcontent-%COMP%], .signPosForm[_ngcontent-%COMP%]{flex:1}.signatureContainer[_ngcontent-%COMP%]{position:relative;overflow:auto;width:1050px;display:flex;justify-content:center}.posSignButton[_ngcontent-%COMP%]{position:sticky;top:0;left:50%;transform:translateX(-50%)}.signature[_ngcontent-%COMP%]{z-index:2;position:absolute;border:1px dashed var(--ion-color-danger);background:rgba(var(--ion-color-danger-rgb),.6) none repeat scroll 0 0;font-weight:700;font-size:20px;color:#fff;height:110px;display:flex;align-items:center;justify-content:center}.signDisabled[_ngcontent-%COMP%]{z-index:1;opacity:.2;cursor:pointer}.signUserName[_ngcontent-%COMP%]{position:absolute;font-size:12px;bottom:20px;font-weight:400;color:#fff;font-style:italic}.chip-item-content[_ngcontent-%COMP%]{z-index:9999;position:absolute;margin:0;bottom:0}.chip-item[_ngcontent-%COMP%]{font-size:7px;width:15px;height:15px;padding:0;margin:0 5px;color:#fff;border-color:#fff;justify-content:center}img[_ngcontent-%COMP%]{pointer-events:none}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out;z-index:9999}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.hide[_ngcontent-%COMP%]{display:none}"]}),e})(),TV=(()=>{class e{constructor(){this.fileDropped=new yc,this.disabled=!1,this.background="none",this.opacity="1"}onDragOver(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="#9ecbec",this.opacity="0.8")}onDragLeave(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1")}ondrop(e){if(!this.disabled){e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1";const t=e.dataTransfer.files;t.length>0&&this.fileDropped.emit(t)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ke({type:e,selectors:[["","appUploadFileDragDrop",""]],hostVars:4,hostBindings:function(e,t){1&e&&Xr("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)}),2&e&&fa("background-color",t.background)("opacity",t.opacity)},inputs:{disabled:"disabled"},outputs:{fileDropped:"fileDropped"}}),e})();var IV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const RV=["appVisaWorkflow"],LV=["rightContent"],FV=["docToUpload"];function BV(e,t){1&e&&Ur(0,"ion-icon",34)}function zV(e,t){1&e&&Ur(0,"ion-icon",35)}function VV(e,t){1&e&&Ur(0,"i",36)}function NV(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-buttons",2),Hr(2,"ion-button",22),Xr("click",function(){const e=t.$implicit;return e.mainDocument=!e.mainDocument}),hc(3,"translate"),hc(4,"translate"),Fr(5,BV,1,0,"ion-icon",23),Fr(6,zV,1,0,"ion-icon",24),jr(),jr(),Hr(7,"ion-item",25),Hr(8,"ion-label",26),Da(9),hc(10,"translate"),jr(),Hr(11,"ion-input",27),Xr("ngModelChange",function(e){return t.$implicit.reference=e}),hc(12,"translate"),jr(),jr(),Hr(13,"ion-item",25),Hr(14,"ion-label",26),Da(15),hc(16,"translate"),jr(),Hr(17,"ion-input",28),Xr("ngModelChange",function(e){return t.$implicit.title=e}),hc(18,"translate"),jr(),jr(),Hr(19,"ion-buttons",5),Hr(20,"ion-button",29),Xr("click",function(){Lt(e);const n=t.index;return na(2).signPos(n)}),hc(21,"translate"),Fr(22,VV,1,0,"i",30),Ur(23,"ion-icon",31),jr(),Hr(24,"ion-button",32),Xr("click",function(){Lt(e);const n=t.index;return na(2).deleteFile(n)}),hc(25,"translate"),Ur(26,"ion-icon",33),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=t.index,i=na(2);no(2),Vr("title",e.mainDocument?pc(3,15,"lang.docToSign"):pc(4,17,"lang.attachDocToSign")),no(3),Vr("ngIf",e.mainDocument),no(1),Vr("ngIf",!e.mainDocument),no(3),Oa(pc(10,19,"lang.reference")),no(2),ra("placeholder",pc(12,21,"lang.fileReference")),Vr("maxlength",53)("ngModel",e.reference)("disabled",!e.mainDocument),no(4),Ma("",pc(16,23,"lang.subject")," *"),no(2),ra("placeholder",pc(18,25,"lang.filename")),Vr("ngModel",e.title),no(3),Vr("disabled",!e.mainDocument)("title",pc(21,27,"lang.setSignaturesPosition")),no(2),Vr("ngIf",void 0!==i.filesToUpload[n].signPos&&i.filesToUpload[n].signPos.length>0),no(2),Vr("title",pc(25,29,"lang.delete"))}}function HV(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-list-header"),Hr(2,"ion-label",1),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,NV,27,31,"ion-item",21),jr()),2&e){const e=na();no(3),Oa(pc(4,2,"lang.documentsToUpload")),no(2),Vr("ngForOf",e.filesToUpload)}}function jV(e,t){1&e&&Ur(0,"app-visa-workflow",37,38),2&e&&Vr("editMode",!0)}let UV=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){this.http=e,this.translate=t,this.router=n,this.menu=i,this.signaturesService=s,this.viewContainerRef=o,this.notificationService=r,this.authService=a,this.loadingController=l,this.alertController=c,this.datePipe=d,this.modalController=u,this.loading=!1,this.filesToUpload=[],this.errors=[],this.fromDocument=null}ngOnInit(){}ionViewWillEnter(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.filesToUpload=[],this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),void 0!==window.history.state.documentId&&(this.fromDocument=window.history.state.documentId,this.getDocumentData(this.fromDocument))}getDocumentData(e){return new Promise(t=>{this.http.get("../rest/documents/"+e).pipe(Ov(n=>{let i="",s=n.document.reference.split("/");s=s.slice(3,s.length),s.length>0&&(i=s.join("/")),this.filesToUpload.push({title:n.document.title,reference:i,mainDocument:!0,content:"",linkId:n.document.linkId,metadata:n.document.metadata}),this.getDocumentContent(e),this.appVisaWorkflow.loadWorkflow(n.document.workflow.map(e=>(e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{processDate:null,current:!1,role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes}))));for(let e=0;e<n.document.attachments.length;e++)this.getAttachment(n.document.attachments[e].id);t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}getDocumentContent(e){return new Promise(t=>{this.http.get(`../rest/documents/${e}/content?type=original`).pipe(Ov(e=>{this.filesToUpload[0].content=e.encodedDocument,t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}getAttachment(e){return new Promise(t=>{this.http.get("../rest/attachments/"+e).pipe(Ov(e=>{this.filesToUpload.push({title:e.attachment.title,mainDocument:!1,content:e.attachment.encodedDocument}),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent")}onSubmit(){this.isValid()&&this.promptSaveDoc()}promptSaveDoc(){return IV(this,void 0,void 0,function*(){const e=yield this.alertController.create({cssClass:"alert-info-no-msg",header:this.translate.instant("lang.areYouSure"),inputs:[{name:"note",id:"note",type:"textarea",placeholder:this.translate.instant("lang.addNote")}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:e=>{this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(t=>IV(this,void 0,void 0,function*(){t.present();const n=this.formatData(e.note);for(let e=0;e<n.length;e++)yield this.saveDocument(n[e],e);t.dismiss(),0===this.errors.length&&(this.notificationService.success("lang.documentsImported"),this.router.navigate(["/home"]))}))}}]});yield e.present()})}saveDocument(e,t){return new Promise(t=>{this.http.post("../rest/documents",e).pipe(Ov(()=>{this.errors=[]}),Iv(()=>t(!0)),fv(t=>(this.errors.push(e.title),this.notificationService.handleErrors(t),lb(!1)))).subscribe()})}formatData(e){const t=new Date;let n=null,i=null;""!==e&&(n={value:e,creator:`${this.authService.user.firstname} ${this.authService.user.lastname}`,creationDate:this.datePipe.transform(t,"dd-MM-y")});const s=[],o=this.filesToUpload.filter(e=>e.mainDocument),r=this.filesToUpload.filter(e=>!e.mainDocument);return o.length>1&&(i=this.datePipe.transform(t,"ddMMYhmmss")+"_"+Math.random().toString(36).substr(2,9)),o.forEach(e=>{const o={};null!==this.fromDocument&&e.metadata.forEach(e=>{o[e.label]=e.value});let a="";""!==e.reference&&(a=this.datePipe.transform(t,"y/MM/dd")+"/"+e.reference),s.push({title:e.title,reference:a,encodedDocument:e.content,isZipped:!1,linkId:null!==this.fromDocument?e.linkId:i,sender:`${this.authService.user.firstname} ${this.authService.user.lastname}`,notes:n,attachments:r.map(e=>({title:e.title,encodedDocument:e.content})),workflow:this.appVisaWorkflow.getCurrentWorkflow().map((t,n)=>({userId:t.userId,mode:this.authService.getWorkflowMode(t.role),signatureMode:this.authService.getSignatureMode(t.role),signaturePositions:void 0!==t.signaturePositions?this.formatPositions(t.signaturePositions.filter(t=>t.mainDocument===e.mainDocument&&void 0!==e.signPos)).map(e=>({page:e.page,positionX:e.position.positionX,positionY:e.position.positionY})):[]})),metadata:o})}),s}formatPositions(e){return delete e.mainDocument,e}dndUploadFile(e){this.uploadTrigger({target:{files:[e[0]]}})}uploadTrigger(e){this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(t=>IV(this,void 0,void 0,function*(){if(t.present(),e.target.files&&e.target.files[0]&&this.isExtensionAllowed(e.target.files)){for(let n=0;n<e.target.files.length;n++){const i=e.target.files[n].name,s={title:i.substr(0,i.lastIndexOf(".")),reference:i.substr(0,i.lastIndexOf(".")).substr(0,53),mainDocument:!0,content:""},o=new FileReader;o.readAsArrayBuffer(e.target.files[n]),o.onload=e=>{s.mainDocument=0===this.filesToUpload.length,s.reference=0===this.filesToUpload.length?s.reference:"",s.content=this.getBase64Document(e.target.result),this.filesToUpload.push(s),1===this.filesToUpload.length&&setTimeout(()=>{this.menu.open("right-menu")},500)},n===e.target.files.length-1&&t.dismiss()}this.fileImport.nativeElement.value=""}else this.loading=!1,t.dismiss()}))}isExtensionAllowed(e){for(let t=0;t<e.length;t++)if("pdf"!==e[t].name.toLowerCase().split(".").pop())return this.notificationService.error("lang.onlyPdfAuthorized"),!1;return!0}getBase64Document(e){const t=new Uint8Array(e).reduce((e,t)=>e+String.fromCharCode(t),"");return btoa(t)}deleteFile(e){this.filesToUpload.splice(e,1)}signPos(e){return IV(this,void 0,void 0,function*(){if(this.appVisaWorkflow.getCurrentWorkflow().length>0){this.appVisaWorkflow.getCurrentWorkflow().forEach((e,t)=>{void 0===e.signaturePositions&&(this.appVisaWorkflow.visaWorkflow[t].signaturePositions=[])});const t=yield this.modalController.create({component:MV,cssClass:"custom-alert-fullscreen",componentProps:{workflow:this.appVisaWorkflow.getCurrentWorkflow(),resource:this.filesToUpload[e],pdfContent:"data:application/pdf;base64,"+this.filesToUpload[e].content}});yield t.present();const{data:n}=yield t.onWillDismiss();void 0!==n&&(this.filesToUpload[e].signPos=n,this.appVisaWorkflow.setPositionsWorkfow(this.filesToUpload[e],n))}else this.notificationService.error("lang.mustSetWorkflowBeforeSignPositions")})}isValid(){return this.filesToUpload.filter(e=>""===e.title).length>0?(this.notificationService.error("lang.subjectMandatory"),!1):0===this.filesToUpload.filter(e=>e.mainDocument).length?(this.notificationService.error("lang.mainDocumentMandatory"),!1):0!==this.appVisaWorkflow.getCurrentWorkflow().length||(this.notificationService.error("lang.workflowUserstMandatory"),this.menu.open("right-menu"),!1)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(r_),zr(JC),zr(oS),zr(Gl),zr(QA),zr(aS),zr(KC),zr(XC),zr(lh),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&(Tc(RV,1),Tc(LV,3),Tc(FV,1)),2&e){let e;Mc(e=Rc())&&(t.appVisaWorkflow=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.fileImport=e.first)}},features:[Ja([lh])],decls:31,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],[1,"ion-text-center"],["slot","end"],["menu","right-menu"],["name","list-outline"],[2,"display","flex","flex-direction","column","height","100%"],[4,"ngIf"],["type","file","name","files[]","multiple","","accept","application/pdf",2,"display","none",3,"change"],["docToUpload",""],["appUploadFileDragDrop","",1,"dnd-area",3,"fileDropped"],["fill","outline","color","medium","size","large",3,"click"],["lines","none",1,"ion-text-center","no-background"],["color","medium"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["rightContent",""],[4,"ngFor","ngForOf"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","pencil-outline",4,"ngIf"],["slot","icon-only","name","document-attach-outline",4,"ngIf"],[2,"width","100%"],["position","floating","color","secondary"],["matInput","","type","text",3,"placeholder","maxlength","ngModel","disabled","ngModelChange"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"disabled","title","click"],["class","badge-sign-pos",4,"ngIf"],["slot","icon-only","name","contract-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["slot","icon-only","name","pencil-outline"],["slot","icon-only","name","document-attach-outline"],[1,"badge-sign-pos"],[2,"display","contents",3,"editMode"],["appVisaWorkflow",""]],template:function(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title",4),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-buttons",5),Hr(8,"ion-menu-button",6),Ur(9,"ion-icon",7),jr(),jr(),jr(),jr(),Hr(10,"ion-content"),Hr(11,"div",8),Fr(12,HV,6,4,"ion-list",9),Hr(13,"input",10,11),Xr("change",function(e){return t.uploadTrigger(e)}),jr(),Hr(15,"div",12),Xr("fileDropped",function(e){return t.dndUploadFile(e)}),Hr(16,"ion-button",13),Xr("click",function(){return Lt(e),Br(14).click()}),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-item",14),Hr(20,"ion-label",15),Da(21),hc(22,"translate"),jr(),jr(),jr(),jr(),jr(),Hr(23,"ion-footer",16),Hr(24,"div",17),Hr(25,"ion-button",18),Xr("click",function(){return t.onSubmit()}),Hr(26,"ion-label",19),Da(27),hc(28,"translate"),jr(),jr(),jr(),jr(),Fr(29,jV,2,1,"ng-template",null,20,zc)}2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,6,"lang.newDocumentToVisa")),no(7),Vr("ngIf",t.filesToUpload.length>0),no(5),Ma(" ",pc(18,8,"lang.chooseDocuments")," "),no(4),Ma(" ",pc(22,10,"lang.dndDocuments")," "),no(6),Oa(pc(28,12,"lang.validate")))},directives:[Vx,yC,Ax,Jx,bC,Nx,Tx,Wu,TV,Cx,Gx,Zx,Bx,Qx,Xx,ju,Wx,ax,tb,rm,Rm,OB],pipes:[qA],styles:[".dnd-area[_ngcontent-%COMP%]{border:5px dashed;margin:20px;text-align:center;color:grey;padding:50px 10px;flex:1;align-items:center;display:flex;flex-direction:column;justify-content:center}.no-background[_ngcontent-%COMP%]{--background:none} .alert-info-no-msg .alert-message{display:none} .alert-info-no-msg .alert-title{color:var(--ion-color-primary)}.badge-sign-pos[_ngcontent-%COMP%]{width:10px;height:10px;background:var(--ion-color-danger);position:absolute;top:0;right:0;border-radius:5px}"]}),e})();const WV=["searchInput"];function GV(e,t){if(1&e){const e=qr();Hr(0,"ion-searchbar",6,7),Xr("ngModelChange",function(t){return Lt(e),na().searchValue=t})("ionChange",function(t){return Lt(e),na().getDatas(t)}),hc(2,"translate"),jr()}2&e&&Vr("ngModel",na().searchValue)("placeholder",pc(2,2,"lang.search"))}function $V(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-checkbox",10),Xr("ionChange",function(t){return Lt(e),na(2).selectItem(t.detail.value)}),jr(),Hr(2,"ion-label"),Da(3),jr(),Hr(4,"ion-note",11),Da(5),jr(),jr()}if(2&e){const e=t.$implicit;no(1),Vr("value",e),no(2),Ta("",e.firstname," ",e.lastname,""),no(2),Oa(e.email)}}function qV(e,t){if(1&e&&(Hr(0,"ion-list",8),Fr(1,$V,6,4,"ion-item",9),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.itemList)}}function YV(e,t){1&e&&(Hr(0,"ion-label",12),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Oa(pc(2,1,"lang.noItem")))}function ZV(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",13),Xr("click",function(){Lt(e);const n=t.index;return na().removeItem(n)}),Hr(1,"ion-label",14),Da(2),jr(),Ur(3,"ion-icon",15),jr()}if(2&e){const e=t.$implicit;no(2),Ta("",e.firstname," ",e.lastname,"")}}function QV(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",11),Hr(1,"ion-button",16),Xr("click",function(){return Lt(e),na().toggleEdit()}),Hr(2,"ion-label",17),Da(3),hc(4,"translate"),jr(),jr(),jr()}2&e&&(no(3),Oa(pc(4,1,"lang.edit")))}let XV=(()=>{class e{constructor(e,t){this.http=e,this.notificationService=t,this.currentItems=[],this.selectedOpt=new yc,this.myControl=new km,this.loading=!1,this.searchValue="",this.editMode=!1,this.itemList=[]}ngOnInit(){}getDatas(e){""===e.detail.value?this.itemList=[]:this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(Ov(e=>{this.itemList=e}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}selectItem(e){this.currentItems.push(e),this.searchValue="",this.itemList=[],this.editMode=!1,this.selectedOpt.emit(e)}removeItem(e){this.currentItems.splice(e,1)}toggleEdit(){this.editMode=!this.editMode,this.editMode&&setTimeout(()=>{this.searchInput.setFocus()},0)}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA))},e.\u0275cmp=$e({type:e,selectors:[["plugin-autocomplete"]],viewQuery:function(e,t){if(1&e&&Tc(WV,1),2&e){let e;Mc(e=Rc())&&(t.searchInput=e.first)}},inputs:{currentItems:"currentItems",singleMode:"singleMode",required:"required",options:["datas","options"],routeDatas:"routeDatas",placeholder:["labelPlaceholder","placeholder"],key:["targetSearchKey","key"],subInfoKey:"subInfoKey"},outputs:{selectedOpt:"triggerEvent"},decls:8,vars:5,consts:[[3,"ngModel","placeholder","ngModelChange","ionChange",4,"ngIf"],["class","item-list",4,"ngIf"],["lines","none"],["color","medium","style","font-style: italic;",4,"ngIf"],["style","height: auto;",3,"click",4,"ngFor","ngForOf"],["slot","end",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange","ionChange"],["searchInput",""],[1,"item-list"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["slot","end"],["color","medium",2,"font-style","italic"],[2,"height","auto",3,"click"],[1,"ion-text-wrap"],["name","close-circle"],["size","small",3,"click"],["color","medium"]],template:function(e,t){1&e&&(Fr(0,GV,3,4,"ion-searchbar",0),Fr(1,qV,2,1,"ion-list",1),Hr(2,"ion-list"),Hr(3,"ion-item",2),Fr(4,YV,3,3,"ion-label",3),Hr(5,"p"),Fr(6,ZV,4,2,"ion-chip",4),jr(),Fr(7,QV,5,3,"ion-buttons",5),jr(),jr()),2&e&&(Vr("ngIf",t.editMode),no(1),Vr("ngIf",t.itemList.length>0),no(3),Vr("ngIf",0===t.currentItems.length),no(2),Vr("ngForOf",t.currentItems),no(1),Vr("ngIf",!t.editMode))},directives:[Wu,Qx,Gx,ju,lC,ax,rm,Rm,Dx,J_,Zx,tC,Ox,Nx,Ax,Cx],pipes:[qA],styles:[""]}),e})();var KV=function(e,t,n,i){return new(n||(n=Promise))(function(s,o){function r(e){try{l(i.next(e))}catch(t){o(t)}}function a(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,a)}l((i=i.apply(e,t||[])).next())})};const JV=["appVisaWorkflow"],eN=["rightContent"];function tN(e,t){1&e&&Ur(0,"ion-icon",26)}function nN(e,t){1&e&&Ur(0,"ion-icon",27)}function iN(e,t){1&e&&Ur(0,"ion-icon",28)}function sN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const t=na().$implicit;return na(2).removeFilter(t)}),hc(1,"translate"),Fr(2,tN,1,0,"ion-icon",22),Fr(3,nN,1,0,"ion-icon",23),Fr(4,iN,1,0,"ion-icon",24),Hr(5,"ion-label"),Da(6),jr(),Ur(7,"ion-icon",25),jr()}if(2&e){const e=na().$implicit;Vr("title",pc(1,5,"lang."+e.id+"Search")),no(2),Vr("ngIf","title"===e.id),no(1),Vr("ngIf","reference"===e.id),no(1),Vr("ngIf","documentId"===e.id),no(2),Oa(e.val)}}function oN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).removeFilter(i,n.id)}),hc(1,"translate"),Ur(2,"ion-icon",30),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Ur(6,"ion-icon",25),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,2,"lang.workflowStatesSearch")),no(4),Oa(pc(5,4,e.label))}}function rN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,oN,7,6,"ion-chip",29),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.val)}}function aN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",21),Xr("click",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).removeFilter(i,n)}),hc(1,"translate"),Ur(2,"ion-icon",31),Hr(3,"ion-label"),Da(4),jr(),Ur(5,"ion-icon",25),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,3,"lang.workflowUsersSearch")),no(4),Ta("",e.firstname," ",e.lastname,"")}}function lN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,aN,6,5,"ion-chip",29),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.val)}}function cN(e,t){if(1&e&&(Hr(0,"div"),Fr(1,sN,8,7,"ion-chip",20),Fr(2,rN,2,1,"div",10),Fr(3,lN,2,1,"div",10),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf",("title"===e.id||"reference"===e.id||"documentId"===e.id)&&""!==e.val),no(1),Vr("ngIf","workflowStates"===e.id&&e.val.length>0),no(1),Vr("ngIf","workflowUsers"===e.id&&e.val.length>0)}}function dN(e,t){if(1&e){const e=qr();Hr(0,"ion-toolbar",14),Hr(1,"div",15),Hr(2,"ion-button",16),Xr("click",function(){return Lt(e),na().clearFilters()}),hc(3,"translate"),Ur(4,"ion-icon",17),jr(),Hr(5,"div",18),Fr(6,cN,4,3,"div",19),jr(),jr(),jr()}if(2&e){const e=na();no(2),Vr("title",pc(3,2,"lang.clearFilters")),no(4),Vr("ngForOf",e.currentFilters)}}function uN(e,t){1&e&&(Hr(0,"ion-list",32),Hr(1,"ion-item",33),Hr(2,"ion-label",34),Da(3),hc(4,"translate"),jr(),jr(),jr()),2&e&&(no(3),Oa(pc(4,1,"lang.noResult")))}function hN(e,t){1&e&&Ur(0,"ion-icon",57)}function pN(e,t){1&e&&Ur(0,"ion-icon",58)}function gN(e,t){1&e&&Ur(0,"ion-icon",59)}function fN(e,t){if(1&e&&(Hr(0,"ion-badge",60),Da(1),hc(2,"translate"),jr()),2&e){const e=na().$implicit;no(1),Oa(pc(2,1,"lang."+e.mode+"User"))}}const mN=function(){return["END","STOP"]};function bN(e,t){if(1&e&&(Wr(0),Fr(1,hN,1,0,"ion-icon",52),Hr(2,"span",53),Da(3),hc(4,"translate"),Fr(5,pN,1,0,"ion-icon",54),Fr(6,gN,1,0,"ion-icon",55),Fr(7,fN,3,3,"ion-badge",56),jr(),Gr()),2&e){const e=t.$implicit,n=t.index,i=na(3);no(1),Vr("ngIf",n>0),no(1),ma("success",null!==e.processDate&&"STOP"!==e.status)("typist-interrupt","REF"===e.status)("interrupt",null===e.processDate&&"END"===e.status||"STOP"===e.status)("current",e.current)("no-visa",null===e.processDate&&null===e.status&&!e.current),no(1),Ma("",i.functionsService.empty(e.userDisplay)?pc(4,15,"lang.userDeleted"):e.userDisplay,"\xa0 "),no(2),Vr("ngIf",null!==e.processDate&&"REF"!==e.status&&"STOP"!==e.status),no(1),Vr("ngIf",null!==e.processDate&&"REF"===e.status),no(1),Vr("ngIf",null===e.processDate&&(null===e.status||rc(17,mN).indexOf(e.status)>-1))}}function vN(e,t){1&e&&Ur(0,"ion-icon",61)}function yN(e,t){1&e&&Ur(0,"ion-icon",62)}function wN(e,t){1&e&&Ur(0,"ion-icon",63)}function _N(e,t){1&e&&Ur(0,"ion-icon",64)}function xN(e,t){if(1&e&&(Wr(0),Ur(1,"ion-icon",66),Da(2),Gr()),2&e){const e=t.$implicit;no(2),Ma(" ",e," ")}}function CN(e,t){if(1&e&&(Hr(0,"p",65),Fr(1,xN,3,1,"ng-container",19),jr()),2&e){const e=na().$implicit;no(1),Vr("ngForOf",e.reason)}}function AN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",67),Xr("click",function(t){Lt(e);const n=na().$implicit,i=Br(7),s=na(2);return t.stopPropagation(),s.toggleSlide(i,n.id)}),Ur(1,"ion-icon",68),jr()}}function SN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",67),Xr("click",function(t){Lt(e);const n=na().$implicit,i=Br(7),s=na(2);return t.stopPropagation(),s.toggleSlide(i,n.id)}),Ur(1,"ion-icon",69),jr()}}function kN(e,t){if(1&e){const e=qr();Hr(0,"ion-item-option",50),Xr("click",function(){Lt(e);const t=na().$implicit;return na(2).openPromptProof(t)}),Ur(1,"ion-icon",70),Da(2),hc(3,"translate"),jr()}2&e&&(no(2),Ma(" ",pc(3,1,"lang.download")," "))}function EN(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Hr(2,"ion-toolbar",37),Hr(3,"ion-title",38),Hr(4,"p",39),Fr(5,bN,8,18,"ng-container",19),jr(),jr(),jr(),Hr(6,"ion-item-sliding",40,41),Xr("ionDrag",function(n){Lt(e);const i=t.$implicit;return na(2).onSliding(n,i.id)}),Hr(8,"ion-item",33),Fr(9,vN,1,0,"ion-icon",42),Fr(10,yN,1,0,"ion-icon",43),Fr(11,wN,1,0,"ion-icon",44),Fr(12,_N,1,0,"ion-icon",45),Hr(13,"ion-label",46),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).goTo(n.id)}),hc(14,"translate"),Hr(15,"p"),Da(16),jr(),Hr(17,"h2"),Da(18),jr(),Fr(19,CN,2,1,"p",47),jr(),Hr(20,"ion-buttons",5),Fr(21,AN,2,0,"ion-button",48),Fr(22,SN,2,0,"ion-button",48),jr(),jr(),Hr(23,"ion-item-options"),Fr(24,kN,4,3,"ion-item-option",49),Hr(25,"ion-item-option",50),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).openActions(n)}),Ur(26,"ion-icon",51),Da(27),hc(28,"translate"),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(5),Vr("ngForOf",e.workflow),no(4),Vr("ngIf","PROG"==e.state),no(1),Vr("ngIf","STOP"==e.state),no(1),Vr("ngIf","VAL"==e.state),no(1),Vr("ngIf","REF"==e.state),no(1),Vr("title",pc(14,13,"lang.accessDocument")),no(3),Oa(e.reference),no(2),Oa(e.title),no(1),Vr("ngIf",e.reason.length>0),no(2),Vr("ngIf",n.openedLine===e.id),no(1),Vr("ngIf",n.openedLine!==e.id),no(2),Vr("ngIf","PROG"!==e.state),no(3),Ma(" ",pc(28,15,"lang.actions")," ")}}function PN(e,t){if(1&e&&(Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",35),Fr(2,EN,29,17,"ion-item",36),jr(),jr()),2&e){const e=na();no(1),Vr("items",e.ressources)}}function DN(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-item"),Hr(2,"ion-label",76),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-input",77),Xr("ngModelChange",function(t){return Lt(e),na().$implicit.val=t})("keyup.enter",function(){return Lt(e),na(3).launchSearch()})("ionChange",function(){return Lt(e),na(3).checkInput()}),jr(),jr(),Gr()}if(2&e){const e=na().$implicit;no(3),Ma("",pc(4,3,"lang."+e.id+"Search")," "),no(2),Vr("ngModel",e.val)("value",e.val)}}function ON(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label"),Da(2),hc(3,"translate"),jr(),Hr(4,"ion-checkbox",79),Xr("ngModelChange",function(){Lt(e);const n=t.$implicit,i=na(2).$implicit;return na(2).toggleItem(i,n,!n.selected)})("ngModelChange",function(e){return t.$implicit.selected=e}),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(pc(3,4,e.label)),no(2),Vr("ngModel",e.selected)("checked",e.selected)("value",e.id)}}function MN(e,t){if(1&e&&(Wr(0),Hr(1,"ion-list-header"),Hr(2,"ion-label",78),Da(3),hc(4,"translate"),jr(),jr(),Fr(5,ON,5,6,"ion-item",19),Gr()),2&e){const e=na().$implicit;no(3),Oa(pc(4,2,"lang."+e.id+"Search")),no(2),Vr("ngForOf",e.values)}}function TN(e,t){if(1&e&&(Wr(0),Hr(1,"ion-list-header"),Hr(2,"ion-label",78),Da(3),hc(4,"translate"),jr(),jr(),Ur(5,"plugin-autocomplete",80),Gr()),2&e){const e=na().$implicit;no(3),Oa(pc(4,2,"lang."+e.id+"Search")),no(2),Vr("currentItems",e.val)}}function IN(e,t){if(1&e&&(Hr(0,"ion-list"),Fr(1,DN,6,5,"ng-container",10),Fr(2,MN,6,4,"ng-container",10),Fr(3,TN,6,4,"ng-container",10),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","text"===e.type),no(1),Vr("ngIf","checkbox"===e.type),no(1),Vr("ngIf","autocompleteUsers"===e.type)}}function RN(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title",71),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content"),Fr(8,IN,4,3,"ion-list",19),jr(),Hr(9,"ion-footer",72),Hr(10,"div",73),Hr(11,"ion-button",74),Xr("click",function(){return Lt(e),na().onSubmit()}),Hr(12,"ion-label",75),Da(13),hc(14,"translate"),jr(),jr(),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(5),Oa(pc(6,4,"lang.filters")),no(3),Vr("ngForOf",e.filters),no(5),Oa(pc(14,6,"lang.search"))}}let LN=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u,h,p){this.http=e,this.translate=t,this.router=n,this.menu=i,this.signaturesService=s,this.viewContainerRef=o,this.notificationService=r,this.authService=a,this.loadingController=l,this.alertController=c,this.actionSheetController=d,this.datePipe=u,this.functionsService=h,this._activatedRoute=p,this.loading=!1,this.filesToUpload=[],this.errors=[],this.filters=[{id:"title",type:"text",val:"",values:[]},{id:"reference",type:"text",val:"",values:[]},{id:"documentId",type:"text",val:"",values:[]},{id:"workflowStates",type:"checkbox",val:[],values:[{id:"PROG",label:"lang.inprogress",selected:!1},{id:"STOP",label:"lang.interrupt",selected:!1},{id:"VAL",label:"lang.end",selected:!1},{id:"REF",label:"lang.refused",selected:!1}]},{id:"workflowUsers",type:"autocompleteUsers",val:[],values:[]}],this.actions=[{icon:"hand-left-outline",id:"interruptWorkflow"},{icon:"document-outline",id:"newWorkflow"}],this.ressources=[],this.currentFilters=[],this.offset=0,this.limit=10,this.count=0,this.openedLine=""}ngOnInit(){this._activatedRoute.queryParamMap.subscribe(e=>{this.functionsService.empty(e.get("documentId"))||(this.documentId=e.get("documentId"),this.filters.filter(e=>"documentId"===e.id)[0].val=this.documentId,this.search())})}ionViewWillEnter(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),setTimeout(()=>{this.menu.open("right-menu")},500)}ionViewWillLeave(){this.signaturesService.detachTemplate("rightContent")}toggleSlide(e,t){e.getOpenAmount().then(n=>{0===n?(this.openedLine=t,e.open("end")):(this.openedLine="",e.close("end"))})}onSliding(e,t){this.openedLine=1===e.detail.ratio?t:""}onSubmit(){this.search(),this.menu.close("right-menu")}toggleItem(e,t,n){if(n)e.val.push(t.id);else{const n=e.val.indexOf(t.id);e.val.splice(n,1)}}formatDatas(){const e={};return JSON.parse(JSON.stringify(this.filters.filter(e=>"text"===e.type&&""!==e.val||"text"!==e.type&&e.val.length>0))).forEach(t=>{e[t.id]="workflowUsers"===t.id?t.val.map(e=>e.id):"workflowStates"===t.id?t.values.filter(e=>e.selected).map(e=>e.id):t.val}),e}formatListDatas(e){return e.map(e=>Object.assign(Object.assign({},e),{reason:this.getReason(e),currentUser:this.getCurrentUser(e)}))}getNbFilters(){let e=0;for(let t=0;t<this.currentFilters.length;t++)Array.isArray(this.currentFilters[t].val)||""===this.currentFilters[t].val||e++,Array.isArray(this.currentFilters[t].val)&&this.currentFilters[t].val.length>0&&(e+=this.currentFilters[t].val.length);return e}openActions(e){return KV(this,void 0,void 0,function*(){const t=[];this.actions.forEach(n=>{this.canShowButton(n.id,e)&&t.push({text:this.translate.instant("PROG"===e.state&&"newWorkflow"===n.id?"lang."+n.id+"Prog":"lang."+n.id),icon:n.icon,handler:()=>{this[n.id](e)}})});const n=yield this.actionSheetController.create({header:this.translate.instant("lang.actions")+(null!==e.reference?" - "+e.reference:""),buttons:t});yield n.present()})}canShowButton(e,t){return!("interruptWorkflow"!==e||!t.canInterrupt)||!("newWorkflow"!==e||!t.canReaffect)}search(){this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(e=>KV(this,void 0,void 0,function*(){e.present(),yield this.launchSearch(),e.dismiss()}))}launchSearch(){return this.ressources=[],this.offset=0,this.refreshCurrentFilter(),new Promise(e=>{this.http.post("../rest/search/documents?limit=10&offset=0",this.formatDatas()).pipe(Ov(t=>{this.ressources=this.formatListDatas(t.documents),this.count=t.count,this.infiniteScroll.disabled=!1,e(!0)}),fv(t=>(this.notificationService.handleErrors(t),e(!1),lb(!1)))).subscribe()})}refreshCurrentFilter(){this.currentFilters=JSON.parse(JSON.stringify(this.filters.filter(e=>!this.functionsService.empty(e.val)))),this.currentFilters.filter(e=>"workflowStates"===e.id).length>0&&(this.currentFilters.filter(e=>"workflowStates"===e.id)[0].val=this.currentFilters.filter(e=>"workflowStates"===e.id)[0].values.filter(e=>e.selected),0===this.currentFilters.filter(e=>"workflowStates"===e.id)[0].val.length&&(this.currentFilters=this.currentFilters.filter(e=>"workflowStates"!==e.id)))}loadData(e){this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/search/documents?limit="+this.limit+"&offset="+this.offset,this.formatDatas()).pipe(Ov(t=>{this.ressources=this.ressources.concat(this.formatListDatas(t.documents)),e.target.complete(),this.count===this.ressources.length&&(e.target.disabled=!0)})).subscribe())}interruptWorkflow(e){return KV(this,void 0,void 0,function*(){return new Promise(t=>KV(this,void 0,void 0,function*(){const n=yield this.alertController.create({header:this.translate.instant("lang.warning"),message:this.translate.instant("lang.warnInterrupt"),buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:()=>{this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(n=>KV(this,void 0,void 0,function*(){n.present(),yield this.launchInterrupt(e),this.launchSearch(),t(!0),n.dismiss()}))}}]});yield n.present()}))})}launchInterrupt(e){return new Promise(t=>{this.http.put(`../rest/documents/${e.id}/workflows/interrupt`,{}).pipe(Ov(()=>{this.notificationService.success("lang.documentInterrupted"),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),t(!1),lb(!1)))).subscribe()})}newWorkflow(e){return KV(this,void 0,void 0,function*(){"PROG"===e.state&&(yield this.interruptWorkflow(e)),this.router.navigate(["/indexation"],{state:{documentId:e.id}})})}openPromptProof(e){return KV(this,void 0,void 0,function*(){const t=yield this.alertController.create({cssClass:"promptProof",header:this.translate.instant("lang.download"),inputs:[{name:"option1",type:"radio",label:this.translate.instant("lang.proof"),value:"onlyProof",checked:!0},{name:"option1",type:"radio",label:this.translate.instant("lang.completeFolder"),value:"all"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:()=>{}},{text:this.translate.instant("lang.validate"),handler:n=>KV(this,void 0,void 0,function*(){yield this.downloadProof(e,n),t.dismiss()})}]});yield t.present()})}downloadProof(e,t){const n="onlyProof"===t?"&onlyProof=true":"";return new Promise(t=>{this.http.get(`../rest/documents/${e.id}/proof?mode=stream${n}`,{responseType:"blob"}).pipe(Ov(n=>{const i=new Date,s="proof_"+e.id+"_"+this.datePipe.transform(i,"dd-MM-y")+"."+n.type.replace("application/",""),o=document.createElement("a");o.href=window.URL.createObjectURL(n),o.setAttribute("download",s),document.body.appendChild(o),o.click(),t(!0)}),fv(e=>(this.notificationService.handleErrors(e),t(!1),lb(!1)))).subscribe()})}getReason(e){return e.workflow.map(e=>e.reason).filter(e=>null!==e)}getCurrentUser(e){const t=e.workflow.filter(e=>!0===e.current);return t.length>0?t[0].userId:null}goTo(e){this.router.navigate(["/documents/"+e])}clearFilters(){for(let e=0;e<this.filters.length;e++)Array.isArray(this.filters[e].val)||""===this.filters[e].val||(this.filters[e].val=""),Array.isArray(this.filters[e].val)&&(this.filters[e].val=[],this.filters[e].values=this.filters[e].values.map(e=>Object.assign(Object.assign({},e),{selected:!1})));this.ressources.length>0&&this.launchSearch()}removeFilter(e,t){if(Array.isArray(e.val))if("workflowStates"===e.id)this.filters.find(t=>t.id===e.id).values.filter(e=>e.id===t)[0].selected=!1;else{const n=e.val.indexOf(t);this.filters.filter(t=>t.id===e.id)[0].val.splice(n,1)}else this.filters.find(t=>t.id===e.id).val="";this.launchSearch()}getLabel(e){return this.filters.filter(e=>"workflowStates"===e.id)[0].values.find(t=>t.id===e).label}checkInput(){""===this.filters.find(e=>"title"===e.id).val&&""===this.filters.find(e=>"reference"===e.id).val&&""===this.filters.find(e=>"documentId"===e.id).val&&0===this.filters.find(e=>"workflowStates"===e.id).val.length&&0===this.filters.find(e=>"workflowUsers"===e.id).val.length&&(this.clearFilters(),this.currentFilters=[])}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(r_),zr(JC),zr(oS),zr(Gl),zr(QA),zr(aS),zr(KC),zr(XC),zr(QC),zr(lh),zr(HF),zr(Ny))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&(Tc(JV,1),Tc(eN,3),Tc(jx,1)),2&e){let e;Mc(e=Rc())&&(t.appVisaWorkflow=e.first),Mc(e=Rc())&&(t.rightContent=e.first),Mc(e=Rc())&&(t.infiniteScroll=e.first)}},features:[Ja([lh])],decls:22,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["class","no-result",4,"ngIf"],[4,"ngIf"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["rightContent",""],["color","primary",2,"padding-left","1px","padding-right","1px"],[2,"display","flex"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],[4,"ngFor","ngForOf"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngIf"],["outline","","color","primary",2,"background","white",3,"title","click"],["name","document-text-outline",4,"ngIf"],["name","compass-outline",4,"ngIf"],["name","bookmark-outline",4,"ngIf"],["name","close-circle"],["name","document-text-outline"],["name","compass-outline"],["name","bookmark-outline"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngFor","ngForOf"],["name","swap-horizontal-outline"],["name","person-outline"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"],["approxItemHeight","165px",3,"items"],[4,"virtualItem"],["color","light"],["size","small"],[2,"display","flex","align-items","center","white-space","pre","overflow-x","auto","overflow-y","hidden"],[3,"ionDrag"],["slidingItem",""],["color","primary","slot","start","name","hourglass-outline",4,"ngIf"],["color","danger","slot","start","name","hand-left-outline",4,"ngIf"],["color","success","slot","start","name","thumbs-up-outline",4,"ngIf"],["color","danger","slot","start","name","thumbs-down-outline",4,"ngIf"],[2,"cursor","pointer",3,"title","click"],["class","primary",4,"ngIf"],["slot","icon-only","fill","clear","shape","round",3,"click",4,"ngIf"],["color","primary",3,"click",4,"ngIf"],["color","primary",3,"click"],["slot","bottom","name","settings-sharp"],["name","chevron-forward-outline",4,"ngIf"],[1,"workflow-item","success"],["name","thumbs-up-outline",4,"ngIf"],["name","thumbs-down-outline",4,"ngIf"],["color","medium",4,"ngIf"],["name","chevron-forward-outline"],["name","thumbs-up-outline"],["name","thumbs-down-outline"],["color","medium"],["color","primary","slot","start","name","hourglass-outline"],["color","danger","slot","start","name","hand-left-outline"],["color","success","slot","start","name","thumbs-up-outline"],["color","danger","slot","start","name","thumbs-down-outline"],[1,"primary"],["name","chatbox-outline"],["slot","icon-only","fill","clear","shape","round",3,"click"],["color","medium","slot","icon-only","name","arrow-forward-outline"],["color","medium","slot","icon-only","name","arrow-back-outline"],["slot","bottom","name","ribbon-sharp"],[1,"ion-text-center"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["color","secondary","position","floating"],[3,"ngModel","value","ngModelChange","keyup.enter","ionChange"],["color","secondary"],["slot","end",1,"workflowStates",3,"ngModel","checked","value","ngModelChange"],[3,"currentItems"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),jr(),Hr(4,"ion-title"),Da(5),hc(6,"translate"),jr(),Hr(7,"ion-title",4),Da(8),hc(9,"translate"),jr(),Hr(10,"ion-buttons",5),Hr(11,"ion-menu-button",6),Ur(12,"ion-icon",7),jr(),jr(),jr(),Fr(13,dN,7,4,"ion-toolbar",8),jr(),Hr(14,"ion-content"),Fr(15,uN,5,3,"ion-list",9),Fr(16,PN,3,1,"ion-list",10),Hr(17,"ion-infinite-scroll",11),Xr("ionInfinite",function(e){return t.loadData(e)}),Ur(18,"ion-infinite-scroll-content",12),hc(19,"translate"),jr(),jr(),Fr(20,RN,15,8,"ng-template",null,13,zc)),2&e&&(Vr("translucent",!0),no(5),Oa(pc(6,8,"lang.search")),no(3),Ta("",t.count," ",pc(9,10,"lang.results"),""),no(5),Vr("ngIf",t.currentFilters.length>0),no(2),Vr("ngIf",0===t.ressources.length),no(1),Vr("ngIf",t.ressources.length>0),no(2),Vr("loadingText",pc(19,12,"lang.loadingMoreData")))},directives:[Vx,yC,Ax,Jx,bC,Nx,Wu,Tx,jx,Ux,Cx,ju,Ox,Zx,Qx,Gx,qC,$C,Yx,qx,$x,xx,_x,jC,Bx,Wx,ax,rm,Rm,Xx,Dx,J_,XV],pipes:[qA],styles:[".line-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;grid-gap:10px;width:100%}.line-workflow[_ngcontent-%COMP%]{font-size:12px}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.workflow-item[_ngcontent-%COMP%]{display:flex;align-items:center}.no-visa[_ngcontent-%COMP%]{opacity:.3}.current[_ngcontent-%COMP%]{font-weight:700;color:var(--ion-color-primary)}.interrupt[_ngcontent-%COMP%], .typist-interrupt[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.interrupt[_ngcontent-%COMP%]{text-decoration:line-through}.no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:50px}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap}.scrollfilters[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;display:inline-block}"]}),e})(),FN=(()=>{class e{constructor(e){this.latinisePipe=e}transform(e,t){return null!==e?(e.sort((e,n)=>{const i=this.latinisePipe.transform(e[t]).toLocaleLowerCase(),s=this.latinisePipe.transform(n[t]).toLocaleLowerCase();return i<s?-1:i>s?1:0}),e):[]}}return e.\u0275fac=function(t){return new(t||e)(zr(uE))},e.\u0275pipe=Je({name:"sortBy",type:e,pure:!0}),e})();const BN=["rightContent"];function zN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).removeFilter(n)}),hc(1,"translate"),Ur(2,"ion-icon",19),Hr(3,"ion-label"),Da(4),hc(5,"translate"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=t.$implicit;Vr("title",pc(1,2,"lang.actions")),no(4),Oa(pc(5,4,"lang."+e))}}function VN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.user)}),hc(1,"translate"),Ur(2,"ion-icon",21),Hr(3,"ion-label"),Da(4),jr(),Ur(5,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.userName")),no(4),Oa(e.filters.user)}}function NN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.date.start)}),hc(1,"translate"),Ur(2,"ion-icon",22),Hr(3,"ion-label"),Da(4),hc(5,"date"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.since")),no(4),Oa(gc(5,4,e.filters.date.start,"dd/MM/yyyy"))}}function HN(e,t){if(1&e){const e=qr();Hr(0,"ion-chip",18),Xr("click",function(){Lt(e);const t=na(2);return t.removeFilter(t.filters.date.end)}),hc(1,"translate"),Ur(2,"ion-icon",23),Hr(3,"ion-label"),Da(4),hc(5,"date"),jr(),Ur(6,"ion-icon",20),jr()}if(2&e){const e=na(2);Vr("title",pc(1,2,"lang.until")),no(4),Oa(gc(5,4,e.filters.date.end,"dd/MM/yyyy"))}}function jN(e,t){if(1&e){const e=qr();Hr(0,"ion-toolbar",12),Hr(1,"ion-button",13),Xr("click",function(){return Lt(e),na().clearFilters()}),hc(2,"translate"),Ur(3,"ion-icon",14),jr(),Hr(4,"div",15),Fr(5,zN,7,6,"ion-chip",16),Fr(6,VN,6,4,"ion-chip",17),Fr(7,NN,7,7,"ion-chip",17),Fr(8,HN,7,7,"ion-chip",17),jr(),jr()}if(2&e){const e=na();no(1),Vr("title",pc(2,5,"lang.clearFilters")),no(4),Vr("ngForOf",e.filters.messageTypes),no(1),Vr("ngIf",""!==e.filters.user),no(1),Vr("ngIf",null!==e.filters.date.start),no(1),Vr("ngIf",null!==e.filters.date.end)}}function UN(e,t){if(1&e&&(Hr(0,"ion-item",28),Ur(1,"ion-icon",29),Hr(2,"ion-label"),Hr(3,"p"),Da(4),hc(5,"titlecase"),hc(6,"translate"),Hr(7,"span",30),Da(8),hc(9,"date"),jr(),Da(10),hc(11,"translate"),Hr(12,"span",30),Da(13),jr(),jr(),Hr(14,"h2"),Da(15),jr(),jr(),Hr(16,"ion-note",5),Hr(17,"p",31),hc(18,"translate"),Da(19),hc(20,"translate"),hc(21,"shorten"),hc(22,"translate"),jr(),Hr(23,"p",32),Da(24),jr(),jr(),jr()),2&e){const e=t.$implicit,n=na(2);no(1),Vr("name",n.aventTypesIcon[e.type]),no(3),Ma("",pc(5,10,pc(6,12,"lang.the"))," "),no(4),Oa(gc(9,14,e.date,"dd/MM/yyyy HH:mm")),no(2),Ma(" ",pc(11,17,"lang.by")," "),no(3),Oa(e.user),no(2),Oa(e.message),no(2),Vr("title",pc(18,19,"lang.resource")+" : "+e.objectId),no(2),Ta("",pc(20,21,"lang."+e.objectType)," : ",null!==e.objectLabel?fc(21,23,e.objectLabel,50,"..."):pc(22,27,"lang.undefined"),""),no(5),Ma("IP : ",e.ip,"")}}function WN(e,t){if(1&e){const e=qr();Hr(0,"ion-list"),Hr(1,"ion-virtual-scroll",24),Fr(2,UN,25,29,"ion-item",25),jr(),Hr(3,"ion-infinite-scroll",26),Xr("ionInfinite",function(t){return Lt(e),na().loadData(t)}),Ur(4,"ion-infinite-scroll-content",27),hc(5,"translate"),jr(),jr()}if(2&e){const e=na();no(1),Vr("items",e.resources),no(3),Vr("loadingText",pc(5,2,"lang.loadingMoreData"))}}function GN(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",5),Hr(1,"ion-button",42),Xr("click",function(){Lt(e);const t=na(2);return t.filters.date.start=null,t.getDatas()}),Ur(2,"ion-icon",43),jr(),jr()}}function $N(e,t){if(1&e){const e=qr();Hr(0,"ion-buttons",5),Hr(1,"ion-button",42),Xr("click",function(){Lt(e);const t=na(2);return t.filters.date.end=null,t.getDatas()}),Ur(2,"ion-icon",43),jr(),jr()}}function qN(e,t){if(1&e){const e=qr();Hr(0,"ion-item",31),Hr(1,"ion-checkbox",44),Xr("ionChange",function(t){return Lt(e),na(2).toggleAction(t.detail)}),jr(),Hr(2,"ion-label"),Da(3),jr(),jr()}if(2&e){const e=t.$implicit;Vr("title",e.label),no(1),Vr("value",e.id),no(2),Oa(e.label)}}function YN(e,t){if(1&e){const e=qr();Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-back-button"),jr(),Hr(4,"ion-title",33),Da(5),hc(6,"translate"),jr(),jr(),jr(),Hr(7,"ion-content"),Hr(8,"ion-list"),Hr(9,"ion-item",34),Hr(10,"ion-searchbar",35),Xr("ionChange",function(t){return Lt(e),na().applyFilter(t.detail.value)}),hc(11,"translate"),jr(),jr(),Hr(12,"ion-item"),Hr(13,"ion-label",36),Da(14),hc(15,"translate"),jr(),Hr(16,"ion-datetime",37),Xr("ngModelChange",function(t){return Lt(e),na().filters.date.start=t})("ionChange",function(){return Lt(e),na().getDatas()}),hc(17,"translate"),hc(18,"translate"),jr(),Fr(19,GN,3,0,"ion-buttons",38),jr(),Hr(20,"ion-item"),Hr(21,"ion-label",36),Da(22),hc(23,"translate"),jr(),Hr(24,"ion-datetime",39),Xr("ngModelChange",function(t){return Lt(e),na().filters.date.end=t})("ionChange",function(){return Lt(e),na().getDatas()}),hc(25,"translate"),hc(26,"translate"),jr(),Fr(27,$N,3,0,"ion-buttons",38),jr(),Hr(28,"ion-item",40),Hr(29,"ion-label",36),Da(30),hc(31,"translate"),jr(),jr(),Fr(32,qN,4,3,"ion-item",41),jr(),jr()}if(2&e){const e=na();Vr("translucent",!0),no(5),Oa(pc(6,17,"lang.filters")),no(5),Vr("placeholder",pc(11,19,"lang.enterUserName")),no(4),Ma("",pc(15,21,"lang.since"),": "),no(2),Vr("doneText",pc(17,23,"lang.validate"))("cancelText",pc(18,25,"lang.cancel"))("ngModel",e.filters.date.start)("max",null!==e.filters.date.end?e.filters.date.end:void 0),no(3),Vr("ngIf",null!==e.filters.date.start),no(3),Ma("",pc(23,27,"lang.until"),": "),no(2),Vr("doneText",pc(25,29,"lang.validate"))("cancelText",pc(26,31,"lang.cancel"))("ngModel",e.filters.date.end)("min",null!==e.filters.date.start?e.filters.date.start:void 0),no(3),Vr("ngIf",null!==e.filters.date.end),no(3),Ma("",pc(31,33,"lang.actions"),": "),no(2),Vr("ngForOf",e.actions)}}let ZN=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d){this.http=e,this.translate=t,this.menu=n,this.latinisePipe=i,this.viewContainerRef=s,this.dialog=o,this.signaturesService=r,this.notificationService=a,this.authService=l,this.alertController=c,this.sortPipe=d,this.displayedColumns=["creation_date","user","info","ip"],this.loading=!0,this.resources=[],this.offset=0,this.limit=10,this.count=0,this.filters={user:"",messageTypes:[],date:{start:null,end:null}},this.aventTypesIcon={VIEW:"eye-outline",CREATION:"add-circle-outline",ACTION:"settings-outline",THUMBNAIL:"image-outline",EMAIL:"mail-outline",SUPPRESSION:"trash-bin-outline",MODIFICATION:"create-outline",LOGIN:"log-in-outline",LOGOUT:"log-out-outline"},this.actions=[]}applyFilter(e){e=this.latinisePipe.transform(e.toLowerCase()),this.filters.user=e,this.getDatas()}openFilters(){this.menu.open("right-menu")}ionViewWillEnter(){return e=this,void 0,n=function*(){this.filters.messageTypes=[],this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),this.getActions(),this.getDatas()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getActions(){this.http.get("../rest/history/messageTypes",this.filters).pipe(Ov(e=>{this.actions=e.messageTypes.map(e=>({id:e,label:this.translate.instant("lang."+e)})),this.actions=this.sortPipe.transform(this.actions,"label")}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}getDatas(){return this.resources=[],this.offset=0,new Promise(e=>{this.http.post("../rest/history?limit=10&offset=0",this.filters).pipe(Ov(t=>{this.resources=t.history,this.count=t.total,e(!0)}),fv(t=>(this.notificationService.handleErrors(t),e(!1),lb(!1)))).subscribe()})}sortData(e){console.log(e)}loadData(e){this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/history?limit="+this.limit+"&offset="+this.offset,this.filters).pipe(Ov(t=>{this.resources=this.resources.concat(t.history),e.target.complete(),this.count===this.resources.length&&(e.target.disabled=!0)})).subscribe())}getNbFilters(){let e=0;return""!==this.filters.user&&e++,null!==this.filters.date.start&&e++,null!==this.filters.date.end&&e++,this.filters.messageTypes.length>0&&(e+=this.filters.messageTypes.length),e}toggleAction(e){e.checked?this.filters.messageTypes.push(e.value):this.filters.messageTypes=this.filters.messageTypes.filter(t=>t!==e.value),this.getDatas()}clearFilters(){$(".checkedAction").each(function(){$(this).prop("checked",!1)}),document.querySelector("ion-searchbar").getInputElement().then(e=>{e.value=""}),this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.getDatas()}removeFilter(e){this.filters.messageTypes.includes(e)&&$(".checkedAction").each(function(){if($(this).val()===e)return $(this).prop("checked",!1),!1}),this.filters.user===e&&(document.querySelector("ion-searchbar").getInputElement().then(e=>{e.value=""}),this.filters.user=""),this.filters.date.start===e&&(this.filters.date.start=null),this.filters.date.end===e&&(this.filters.date.end=null),this.getDatas()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(JC),zr(uE),zr(Gl),zr(LM),zr(oS),zr(QA),zr(aS),zr(XC),zr(FN))},e.\u0275cmp=$e({type:e,selectors:[["app-administration-history-list"]],viewQuery:function(e,t){if(1&e&&Tc(BN,3),2&e){let e;Mc(e=Rc())&&(t.rightContent=e.first)}},features:[Ja([FN])],decls:20,vars:10,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["mainContent",""],[4,"ngIf"],["rightContent",""],["color","primary","color","primary",2,"padding-left","1px","padding-right","1px"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],["outline","","color","primary",3,"title","click",4,"ngFor","ngForOf"],["outline","","color","primary",3,"title","click",4,"ngIf"],["outline","","color","primary",3,"title","click"],["name","swap-horizontal-outline"],["name","close-circle"],["name","person-outline"],["name","today-outline"],["name","calendar-outline"],["approxItemHeight","90px",3,"items"],["lines","full","class","canSelect",4,"virtualItem"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","full",1,"canSelect"],["color","primary","slot","start",3,"name"],[1,"primary"],[3,"title"],[2,"float","right","margin-top","0px"],[1,"ion-text-center"],["lines","none"],[3,"placeholder","ionChange"],["color","secondary"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","max","ngModelChange","ionChange"],["slot","end",4,"ngIf"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","min","ngModelChange","ionChange"],["lines","none",2,"position","sticky","top","0","z-index","2"],[3,"title",4,"ngFor","ngForOf"],["color","danger","shape","round","fill","clear",3,"click"],["slot","icon-only","name","close-outline"],["slot","start",1,"checkedAction",3,"value","ionChange"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),Hr(8,"ion-title",4),Da(9),hc(10,"translate"),jr(),Hr(11,"ion-buttons",5),Hr(12,"ion-menu-button",6),Ur(13,"ion-icon",7),jr(),jr(),jr(),Fr(14,jN,9,7,"ion-toolbar",8),jr(),Hr(15,"ion-content",null,9),Fr(17,WN,6,4,"ion-list",10),jr(),Fr(18,YN,33,35,"ng-template",null,11,zc)),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,6,"lang.history")),no(3),Ta("",t.count," ",pc(10,8,"lang.entries"),""),no(5),Vr("ngIf",t.getNbFilters()>0),no(3),Vr("ngIf",t.resources.length>0))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Nx,Wu,Tx,Cx,ju,Ox,Zx,Qx,qC,$C,jx,Ux,Gx,tC,lC,ax,Ix,ox,rm,Rm,Dx,J_],pipes:[qA,lh,rh,cE],styles:[".flex1[_ngcontent-%COMP%]{flex:1}.flex2[_ngcontent-%COMP%]{flex:2}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)} .test .alert-wrapper{min-width:350px}.canSelect[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{user-select:text!important;-webkit-user-select:text!important;-khtml-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap;height:50%}.scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;margin:4px;display:inline-block}ion-button.clearFilter[_ngcontent-%COMP%]{position:sticky;left:0;z-index:1}ion-chip[_ngcontent-%COMP%]{background-color:#fff}"]}),e})();const QN=["customizationForm"];function XN(e,t){if(1&e){const e=qr();Hr(0,"ion-button",14),Xr("click",function(){return Lt(e),na(2).watermark.enabled=!1}),Da(1),hc(2,"translate"),jr()}2&e&&(no(1),Ma(" ",pc(2,1,"lang.disableWatermark"),""))}function KN(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-button",15),Xr("click",function(){return Lt(e),na(2).watermark.enabled=!0}),Da(2),hc(3,"translate"),jr(),jr()}2&e&&(no(2),Ma("",pc(3,1,"lang.enableWatermark")," "))}function JN(e,t){if(1&e){const e=qr();Wr(0),Hr(1,"ion-card"),Hr(2,"ion-item",1),Ur(3,"ion-icon",16),Ur(4,"ion-label",17),hc(5,"translate"),jr(),jr(),Hr(6,"ion-item"),Hr(7,"ion-label",18),Da(8),hc(9,"translate"),jr(),Hr(10,"ion-input",19),Xr("ngModelChange",function(t){return Lt(e),na(2).watermark.text=t}),jr(),Ur(11,"ion-note",20),hc(12,"translate"),jr(),Hr(13,"ion-radio-group",21),Xr("ionChange",function(t){return Lt(e),na(2).watermark.align=t.detail.value}),Hr(14,"ion-list-header"),Hr(15,"ion-label",7),Da(16),hc(17,"translate"),jr(),jr(),Hr(18,"ion-item"),Hr(19,"ion-label"),Da(20),hc(21,"translate"),jr(),Ur(22,"ion-radio",22),jr(),Hr(23,"ion-item"),Hr(24,"ion-label"),Da(25),hc(26,"translate"),jr(),Ur(27,"ion-radio",23),jr(),Hr(28,"ion-item"),Hr(29,"ion-label"),Da(30),hc(31,"translate"),jr(),Ur(32,"ion-radio",24),jr(),jr(),Hr(33,"ion-item"),Hr(34,"ion-label",18),Da(35),hc(36,"translate"),jr(),Hr(37,"ion-input",25),Xr("ngModelChange",function(t){return Lt(e),na(2).watermark.posY=t})("keypress",function(t){return Lt(e),na(2).isNumber(t)}),jr(),Hr(38,"ion-note",26),Da(39,"px"),jr(),jr(),Gr()}if(2&e){const e=na(2);no(4),Vr("innerHTML",pc(5,12,"lang.watermarkDesc"),ss),no(4),Oa(pc(9,14,"lang.content")),no(2),Vr("ngModel",e.watermark.text),no(1),Vr("innerHTML",pc(12,16,"lang.watermarkContentDesc"),ss),no(2),Vr("value",e.watermark.align),no(3),Oa(pc(17,18,"lang.alignment")),no(4),Oa(pc(21,20,"lang.left")),no(5),Oa(pc(26,22,"lang.center")),no(5),Oa(pc(31,24,"lang.right")),no(5),Ma("",pc(36,26,"lang.positionY")," "),no(2),Vr("ngModel",e.watermark.posY)("min",0)}}function eH(e,t){if(1&e){const e=qr();Hr(0,"form",5,6),Xr("ngSubmit",function(){return Lt(e),na().onSubmit()}),Hr(2,"ion-content"),Hr(3,"ion-list"),Hr(4,"ion-list-header"),Hr(5,"ion-label",7),Da(6),hc(7,"translate"),jr(),Fr(8,XN,3,3,"ion-button",8),jr(),Fr(9,KN,4,3,"ion-item",9),Fr(10,JN,40,28,"ng-container",9),jr(),Hr(11,"ion-item",10),Hr(12,"div",11),Hr(13,"ion-button",12),Hr(14,"ion-label",13),Da(15),hc(16,"translate"),jr(),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(6),Ma(" ",pc(7,5,"lang.watermark")," "),no(2),Vr("ngIf",e.watermark.enabled),no(1),Vr("ngIf",!e.watermark.enabled),no(1),Vr("ngIf",e.watermark.enabled),no(5),Oa(pc(16,7,"lang.validate"))}}let tH=(()=>{class e{constructor(e,t,n,i,s){this.http=e,this.translate=t,this.notificationService=n,this.authService=i,this.functions=s,this.loading=!0,this.loginMessage="",this.applicationUrl="",this.watermark={enabled:!1,text:"Document n\xb0[id]",align:"R",posY:10}}ngOnInit(){return e=this,void 0,n=function*(){yield this.getWatermark(),this.loading=!1},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getWatermark(){return new Promise(e=>{this.http.get("../rest/customization/watermark").pipe(Ov(t=>{this.functions.empty(t.configuration)||(this.watermark=t.configuration),e(!0)}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()})}onSubmit(){this.http.put("../rest/customization",{id:this.authService.user.id,watermark:this.watermark}).pipe(Ov(()=>{this.notificationService.success(this.translate.instant("lang.modificationSaved"))}),fv(e=>(this.notificationService.handleErrors(e),lb(!1)))).subscribe()}isNumber(e){const t=(e=e||window.event).which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr($A),zr(QA),zr(aS),zr(HF))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&Tc(QN,1),2&e){let e;Mc(e=Rc())&&(t.customizationForm=e.first)}},decls:9,vars:5,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","customizationForm",3,"ngSubmit",4,"ngIf"],["id","customizationForm",2,"display","contents",3,"ngSubmit"],["customizationForm","ngForm"],["color","secondary"],["size","small","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary"],[2,"font-size","13px"],["size","small","color","danger",3,"click"],["size","small","color","primary",3,"click"],["name","information-circle","slot","start"],[2,"white-space","initial",3,"innerHTML"],["color","secondary","position","floating"],["name","watermarkContent",3,"ngModel","ngModelChange"],[3,"innerHTML"],[3,"value","ionChange"],["slot","start","value","L"],["slot","start","value","C"],["slot","start","value","R"],["type","number","name","watermarkPosY",3,"ngModel","min","ngModelChange","keypress"],["slot","end"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-buttons",2),Ur(3,"ion-menu-button",3),Ur(4,"ion-back-button"),jr(),Hr(5,"ion-title"),Da(6),hc(7,"translate"),jr(),jr(),jr(),Fr(8,eH,17,9,"form",4)),2&e&&(Vr("translucent",!0),no(6),Oa(pc(7,3,"lang.customization")),no(2),Vr("ngIf",!t.loading))},directives:[Vx,yC,Ax,Jx,_x,jC,bC,Wu,Lm,am,Mm,Tx,Qx,Xx,Zx,Gx,Cx,Sx,Nx,Wx,ax,rm,Rm,tC,iC,ox,nC,ix,tx],pipes:[qA],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),e})(),nH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e}),e.\u0275inj=fe({imports:[[w_.forRoot([{path:"home",canActivate:[BR],component:vV},{path:"indexation",canActivate:[BR],component:UV},{path:"profile",canActivate:[BR],component:mV},{path:"search",canActivate:[BR],component:LN},{path:"administration",canActivate:[BR],component:NR},{path:"administration/users",canActivate:[BR],component:$R},{path:"administration/users/new",canActivate:[BR],component:aL},{path:"administration/users/:id",canActivate:[BR],component:aL},{path:"administration/groups",canActivate:[BR],component:pL},{path:"administration/groups/new",canActivate:[BR],component:ML},{path:"administration/groups/:id",canActivate:[BR],component:ML},{path:"administration/connections",canActivate:[BR],component:LL},{path:"administration/connections/ldaps",canActivate:[BR],component:HL},{path:"administration/connections/ldaps/new",canActivate:[BR],component:XL},{path:"administration/connections/ldaps/:id",canActivate:[BR],component:XL},{path:"administration/emailConfiguration",canActivate:[BR],component:sF},{path:"administration/passwordRules",canActivate:[BR],component:zz},{path:"administration/history",canActivate:[BR],component:ZN},{path:"administration/customization",canActivate:[BR],component:tH},{path:"documents/:id",canActivate:[BR],component:Sz},{path:"login",canActivate:[BR],component:Tz},{path:"forgot-password",component:Iz},{path:"update-password",component:Bz},{path:"password-modification",component:Uz},{path:"**",redirectTo:"login",pathMatch:"full"}],{relativeLinkResolution:"legacy"})],w_]}),e})();function iH(e,t){if(1&e){const e=qr();Hr(0,"ion-item",3),Xr("click",function(){return Lt(e),na().menu.close("left-menu")}),Ur(1,"ion-icon",4),Hr(2,"ion-label"),Da(3),hc(4,"translate"),jr(),jr()}if(2&e){const e=t.$implicit;ma("item-active",na().isActiveRoute(e.route)),Vr("routerLink",e.route),no(1),Vr("name",e.icon),no(2),Oa(pc(4,5,"lang."+e.id))}}let sH=(()=>{class e{constructor(e,t,n,i){this.route=e,this.router=t,this.authService=n,this.menu=i,this.loading=!0,this.privileges=[]}ngOnInit(){}openHome(){this.router.navigate(["/documents/"])}isActiveRoute(e){return this.router.url.split("/").indexOf(e.replace("/administration/",""))>-1}}return e.\u0275fac=function(t){return new(t||e)(zr(Ny),zr(r_),zr(aS),zr(JC))},e.\u0275cmp=$e({type:e,selectors:[["app-admin-sidebar"]],decls:8,vars:4,consts:[["color","light"],[2,"text-align","center","font-size","14px"],["routerDirection","root",3,"routerLink","item-active","click",4,"ngFor","ngForOf"],["routerDirection","root",3,"routerLink","click"],["slot","start","color","primary",3,"name"]],template:function(e,t){1&e&&(Hr(0,"ion-header"),Hr(1,"ion-toolbar",0),Hr(2,"ion-title",1),Da(3),hc(4,"translate"),jr(),jr(),jr(),Hr(5,"ion-content"),Hr(6,"ion-list"),Fr(7,iH,5,7,"ion-item",2),jr(),jr()),2&e&&(no(3),Ma(" ",pc(4,2,"lang.administration")," "),no(4),Vr("ngForOf",t.authService.user.administrativePrivileges))},directives:[Vx,yC,bC,Tx,Qx,ju,Gx,UC,a_,Nx,Zx],pipes:[qA],styles:[".item-active[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.14);color:var(--ion-color-primary);font-weight:700}"]}),e})();const oH=["listContent"],rH=["searchInput"];function aH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().authService.logout()}),hc(1,"translate"),Ur(2,"ion-icon",15),jr()}2&e&&Vr("title",pc(1,1,"lang.logout"))}function lH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openAdmin()}),hc(1,"translate"),Ur(2,"ion-icon",16),jr()}2&e&&Vr("title",pc(1,1,"lang.administration"))}function cH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openHome()}),hc(1,"translate"),Ur(2,"ion-icon",17),jr()}2&e&&Vr("title",pc(1,1,"lang.homePage"))}function dH(e,t){if(1&e){const e=qr();Hr(0,"ion-button",8),Xr("click",function(){return Lt(e),na().openIndexation()}),hc(1,"translate"),Ur(2,"ion-icon",18),Ur(3,"ion-icon",19),jr()}2&e&&Vr("title",pc(1,1,"lang.indexationAdmin"))}function uH(e,t){if(1&e&&(Hr(0,"span",26),Da(1),hc(2,"translate"),jr()),2&e){const e=na(3);no(1),Oa(pc(2,1,"lang."+e.signaturesService.mode+"Label"))}}function hH(e,t){if(1&e){const e=qr();Hr(0,"ion-title",23),Xr("click",function(t){return Lt(e),na(2).search(t)}),hc(1,"translate"),Hr(2,"span"),Da(3),jr(),Da(4),hc(5,"translate"),Fr(6,uH,3,3,"span",24),Da(7," \xa0 "),Ur(8,"ion-icon",25),jr()}if(2&e){const e=na(2);Vr("title",pc(1,6,"lang.filterInfo")),no(2),ma("primary",""!=e.signaturesService.mode),no(1),Oa(e.signaturesService.documentsListCount.current),no(1),Ma(" ",pc(5,8,"lang.documents")," "),no(2),Vr("ngIf",""!=e.signaturesService.mode)}}function pH(e,t){if(1&e){const e=qr();Hr(0,"ion-searchbar",27,28),Xr("ionCancel",function(t){Lt(e);const n=na(2);return n.search(t),n.searchMode=!n.searchMode}),hc(2,"translate"),jr()}if(2&e){const e=na(2);Vr("placeholder",pc(2,2,"lang.filterInfo"))("formControl",e.searchTerm)}}function gH(e,t){if(1&e&&(Hr(0,"ion-header"),Hr(1,"ion-toolbar",20),Fr(2,hH,9,10,"ion-title",21),Fr(3,pH,3,4,"ion-searchbar",22),jr(),jr()),2&e){const e=na();no(2),Vr("ngIf",!e.searchMode),no(1),Vr("ngIf",e.searchMode)}}function fH(e,t){if(1&e){const e=qr();Hr(0,"ion-header",29),Hr(1,"ion-toolbar",30),Hr(2,"ion-segment",31),Hr(3,"ion-segment-button",32),Xr("click",function(){return Lt(e),na().filter("sign")}),Hr(4,"ion-label"),Da(5),hc(6,"titlecase"),hc(7,"translate"),jr(),Ur(8,"ion-icon",33),Hr(9,"ion-badge",34),Da(10),jr(),jr(),Hr(11,"ion-segment-button",35),Xr("click",function(){return Lt(e),na().filter("visa")}),Hr(12,"ion-label"),Da(13),hc(14,"titlecase"),hc(15,"translate"),jr(),Ur(16,"ion-icon",36),Hr(17,"ion-badge",34),Da(18),jr(),jr(),Hr(19,"ion-segment-button",37),Xr("click",function(){return Lt(e),na().filter("note")}),Hr(20,"ion-label"),Da(21),hc(22,"titlecase"),hc(23,"translate"),jr(),Ur(24,"ion-icon",38),Hr(25,"ion-badge",34),Da(26),jr(),jr(),jr(),jr(),jr()}if(2&e){const e=na();no(2),Vr("value",e.signaturesService.mode),no(1),ma("segment-button-notFocused","sign"!==e.signaturesService.mode),no(2),Oa(pc(6,13,pc(7,15,"lang.signLabel"))),no(5),Oa(e.signaturesService.documentsListCount.sign),no(1),ma("segment-button-notFocused","visa"!==e.signaturesService.mode),no(2),Oa(pc(14,17,pc(15,19,"lang.visaLabel"))),no(5),Oa(e.signaturesService.documentsListCount.visa),no(1),ma("segment-button-notFocused","note"!==e.signaturesService.mode),no(2),Oa(pc(22,21,pc(23,23,"lang.noteLabel"))),no(5),Oa(e.signaturesService.documentsListCount.note)}}function mH(e,t){1&e&&Ur(0,"app-admin-sidebar",39)}function bH(e,t){1&e&&(Hr(0,"ion-item",44),Hr(1,"ion-label",45),Da(2),hc(3,"titlecase"),hc(4,"translate"),jr(),jr()),2&e&&(no(2),Ma(" ",pc(3,1,pc(4,3,"lang.noResult"))," "))}function vH(e,t){1&e&&Ur(0,"ion-icon",56)}function yH(e,t){1&e&&Ur(0,"ion-icon",57)}function wH(e,t){1&e&&Ur(0,"ion-icon",58)}function _H(e,t){1&e&&Ur(0,"ion-icon",59)}function xH(e,t){1&e&&(Hr(0,"ion-label",60),Da(1),hc(2,"translate"),jr()),2&e&&(no(1),Ma(" ",pc(2,1,"lang.substitutedDoc"),""))}const CH=function(e){return[e]};function AH(e,t){if(1&e){const e=qr();Hr(0,"ion-menu-toggle",46),Hr(1,"ion-item",47),Xr("click",function(){Lt(e);const n=t.index;return na(2).filterService.currentIndex=n}),Fr(2,vH,1,0,"ion-icon",48),Fr(3,yH,1,0,"ion-icon",49),Fr(4,wH,1,0,"ion-icon",50),Fr(5,_H,1,0,"ion-icon",51),Hr(6,"div"),Hr(7,"ion-label",52),Da(8),jr(),Hr(9,"ion-label",53),Da(10),hc(11,"shorten"),jr(),Fr(12,xH,3,3,"ion-label",54),jr(),Ur(13,"ion-icon",55),jr(),jr()}if(2&e){const e=t.$implicit,n=na(2);no(1),ma("selected",n.router.url==="/documents/"+e.id),Vr("routerLink",ac(14,CH,"/documents/"+e.id)),no(1),Vr("ngIf","sign"==e.mode),no(1),Vr("ngIf","visa"==e.mode),no(1),Vr("ngIf","note"==e.mode),no(1),Vr("ngIf",!n.functionsService.empty(e.mailingId)),no(3),Oa(e.reference),no(2),Oa(fc(11,10,e.title,50,"...")),no(2),Vr("ngIf",!e.owner)}}function SH(e,t){if(1&e){const e=qr();Hr(0,"ion-infinite-scroll",61),Xr("ionInfinite",function(t){return Lt(e),na(2).loadData(t)}),Ur(1,"ion-infinite-scroll-content",62),hc(2,"translate"),jr()}2&e&&(no(1),Vr("loadingText",pc(2,1,"lang.loadingMoreData")))}function kH(e,t){if(1&e&&(Hr(0,"ion-content"),Hr(1,"ion-list",40),Fr(2,bH,5,5,"ion-item",41),Fr(3,AH,14,16,"ion-menu-toggle",42),jr(),Fr(4,SH,3,3,"ion-infinite-scroll",43),jr()),2&e){const e=na();no(2),Vr("ngIf",0==e.signaturesService.documentsList.length),no(1),Vr("ngForOf",e.signaturesService.documentsList),no(1),Vr("ngIf",e.signaturesService.documentsList.length>0)}}let EH=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c){this.http=e,this.signaturesService=t,this.route=n,this.router=i,this.menu=s,this.notificationService=o,this.authService=r,this.modalController=a,this.functionsService=l,this.filterService=c,this.loadingList=!1,this.searchMode=!1,this.searchTerm=new km,this.searchTerm.valueChanges.pipe(yE(500),H_(),Ov(e=>this.loadingList=!0),sv(e=>this.http.get("../rest/documents?limit="+this.filterService.limit+"&search="+e))).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count,this.loadingList=!1})}ngOnInit(){$(".avatar").css({background:"url(data:image/png;base64,"+this.authService.user.picture+") no-repeat #135F7F"}).css({"background-size":"cover"}).css({"background-position":"center"}),this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count})}ngAfterViewInit(){this.filter("")}openProfile(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:mV,cssClass:"my-custom-class"});yield e.present()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}openAdmin(){this.menu.close("left-menu"),this.router.navigate(["/administration/"])}openHome(){this.router.navigate(["/home"])}openIndexation(){this.menu.close("left-menu"),this.router.navigate(["/indexation"])}openSearch(){this.menu.close("left-menu"),this.router.navigate(["/search"])}search(e){this.searchMode=!0,this.signaturesService.mode="",this.filter(""),setTimeout(()=>{"ionCancel"!==e.type&&(this.searchInput.value="",this.searchInput.setFocus())},0)}filter(e){this.signaturesService.documentsList=[],""!==e&&(this.searchMode=!1),this.loadingList=!0,this.signaturesService.mode=this.signaturesService.mode===e?"":e,this.filterService.offset=0,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(Iv(()=>{this.loadingList=!1})).subscribe(e=>{this.signaturesService.documentsList=e.documents,this.signaturesService.documentsListCount=e.count,this.loadingList=!1})}checkClose(){return!(!(-1!==this.route.routeConfig.path.indexOf("administration")||this.signaturesService.mainDocumentId>0)||!this.signaturesService.mobileMode)}loadData(e){this.filterService.offset=this.filterService.offset+this.filterService.limit,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(Ov(t=>{this.signaturesService.documentsList=this.signaturesService.documentsList.concat(t.documents),e.target.complete(),this.signaturesService.documentsList.length===this.signaturesService.documentsListCount.current&&(e.target.disabled=!0)})).subscribe()}isAdminRoute(){return this.router.url.split("/").indexOf("administration")>-1}canIndex(){return this.authService.user.appPrivileges.map(e=>e.id).indexOf("indexation")>-1}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(oS),zr(Ny),zr(r_),zr(JC),zr(QA),zr(aS),zr(eA),zr(HF),zr(TF))},e.\u0275cmp=$e({type:e,selectors:[["app-sidebar"]],viewQuery:function(e,t){if(1&e&&(Tc(oH,1),Tc(rH,1)),2&e){let e;Mc(e=Rc())&&(t.listContent=e.first),Mc(e=Rc())&&(t.searchInput=e.first)}},decls:23,vars:16,consts:[[3,"translucent"],["color","primary"],["color","primary","lines","none"],["color","secondary",1,"ion-text-center"],[2,"font-weight","bold","font-size","24px"],["slot","start"],[3,"title","click",4,"ngIf"],["slot","end"],[3,"title","click"],["slot","icon-only","name","search-outline"],[1,"avatar-user",3,"click"],[3,"src"],[4,"ngIf"],["style","background: white;",4,"ngIf"],["style","display: contents;",4,"ngIf"],["slot","icon-only","name","power"],["slot","icon-only","name","settings-outline"],["slot","icon-only","name","home"],["slot","icon-only","name","document-outline"],["slot","icon-only","name","add-circle",2,"position","absolute","top","0px","font-size","15px","right","-5px"],["color","light"],["style","text-align: center;font-size: 14px;",3,"title","click",4,"ngIf"],["showCancelButton","always",3,"placeholder","formControl","ionCancel",4,"ngIf"],[2,"text-align","center","font-size","14px",3,"title","click"],["class","primary",4,"ngIf"],["color","primary","name","search-outline"],[1,"primary"],["showCancelButton","always",3,"placeholder","formControl","ionCancel"],["searchInput",""],[2,"background","white"],[1,"filters"],["value","heart",3,"value"],["value","sign",3,"click"],["color","primary","name","pencil-outline"],["color","secondary"],["value","visa",3,"click"],["color","primary","name","checkmark-done-outline"],["value","note",3,"click"],["color","primary","name","chatbubble-ellipses-outline"],[2,"display","contents"],["id","labels-list"],["lines","none",4,"ngIf"],["auto-hide","false",4,"ngFor","ngForOf"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none"],["color","medium",1,"ion-text-center"],["auto-hide","false"],["routerDirection","root","detail","false",1,"doc-item",3,"routerLink","click"],["color","primary","slot","start","name","pencil-outline",4,"ngIf"],["color","primary","slot","start","name","checkmark-done-outline",4,"ngIf"],["color","primary","slot","start","name","chatbubble-ellipses-outline",4,"ngIf"],["slot","start","color","danger","name","layers","class","groupMailIcon",4,"ngIf"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["color","secondary","class","sub-label",4,"ngIf"],["slot","end","color","medium","name","arrow-forward-outline"],["color","primary","slot","start","name","pencil-outline"],["color","primary","slot","start","name","checkmark-done-outline"],["color","primary","slot","start","name","chatbubble-ellipses-outline"],["slot","start","color","danger","name","layers",1,"groupMailIcon"],["color","secondary",1,"sub-label"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-item",2),Hr(3,"ion-label",3),Hr(4,"h2",4),Da(5),jr(),jr(),jr(),jr(),jr(),Hr(6,"ion-header",0),Hr(7,"ion-toolbar",1),Hr(8,"ion-buttons",5),Fr(9,aH,3,3,"ion-button",6),Fr(10,lH,3,3,"ion-button",6),Fr(11,cH,3,3,"ion-button",6),jr(),Hr(12,"ion-buttons",7),Hr(13,"ion-button",8),Xr("click",function(){return t.openSearch()}),hc(14,"translate"),Ur(15,"ion-icon",9),jr(),Fr(16,dH,4,3,"ion-button",6),jr(),jr(),jr(),Hr(17,"ion-avatar",10),Xr("click",function(){return t.openProfile()}),Ur(18,"img",11),jr(),Fr(19,gH,4,2,"ion-header",12),Fr(20,fH,27,25,"ion-header",13),Fr(21,mH,1,0,"app-admin-sidebar",14),Fr(22,kH,5,3,"ion-content",12)),2&e&&(Vr("translucent",!0),no(5),Ta("",t.authService.user.firstname," ",t.authService.user.lastname,""),no(1),Vr("translucent",!0),no(3),Vr("ngIf","x509"!==t.authService.authMode&&"kerberos"!==t.authService.authMode&&"azure_saml"!==t.authService.authMode),no(1),Vr("ngIf",!t.isAdminRoute()&&t.authService.user.administrativePrivileges.length>0),no(1),Vr("ngIf",t.isAdminRoute()),no(2),Vr("title",pc(14,14,"lang.search")),no(3),Vr("ngIf",t.canIndex()),no(2),Vr("src",t.authService.user.picture,os),no(1),Vr("ngIf",!t.isAdminRoute()),no(1),Vr("ngIf",!t.isAdminRoute()),no(1),Vr("ngIf",t.isAdminRoute()),no(1),Vr("ngIf",!t.isAdminRoute()))},directives:[Vx,yC,Gx,Zx,Ax,Wu,Cx,Nx,wx,bC,lC,ax,rm,Vm,cC,ox,dC,xx,sH,Tx,Qx,ju,eC,UC,a_,jx,Ux],pipes:[qA,rh,cE],styles:['.main-header[_ngcontent-%COMP%]{height:205px;overflow:auto}.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:hidden;display:flex;flex-direction:column}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{flex:1;overflow-y:scroll;margin-top:0;overflow-x:hidden;margin-bottom:0;padding:0;position:relative}.sidebar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:70px;display:flex;align-items:center;border-bottom:1px solid #e6e6e6;margin:0;padding:5px 5px 5px 30px;cursor:pointer}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]:after{position:absolute;right:10px;content:"";height:60px;background:#f1f4f4}.sidebar[_ngcontent-%COMP%] .nav-item-right[_ngcontent-%COMP%]{text-align:center}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%]{width:50px}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .fas[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:50%;color:#135f7f;font-size:22px;height:25px;width:25px;padding:10px;margin-right:10px}.sidebar[_ngcontent-%COMP%] .nav-item-middle[_ngcontent-%COMP%]{width:180px;height:50px;font-size:12px;color:#4f4f4f}.sidebar[_ngcontent-%COMP%] .nav-item-title[_ngcontent-%COMP%]{font-weight:600;color:#135f7f;font-size:14px}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.avatar[_ngcontent-%COMP%]{cursor:pointer;position:absolute;width:65px;height:65px;border-radius:40px;bottom:-20px;border:3px solid #f99830;background-size:cover;background-repeat:no-repeat;background-position:50%;transition:all .2s}.avatar[_ngcontent-%COMP%]:hover{box-shadow:0 0 5px 0 #656565}.user[_ngcontent-%COMP%]{color:#fff;padding-top:10px;font-weight:700;font-size:20px;max-width:90%;right:0;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:10px}.filter[_ngcontent-%COMP%]{font-size:10px;width:95px;padding-left:0;padding-right:0}.filter.active[_ngcontent-%COMP%]{background:#135f7f}.mat-badge-content[_ngcontent-%COMP%]{right:0!important;top:-8px!important;background:#f99830}.noResult[_ngcontent-%COMP%]{position:absolute;top:50%;text-align:center;width:100%;opacity:.5}.noDoc[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#ddd}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}ion-item.selected[_ngcontent-%COMP%]{--background:rgba(var(--ion-color-primary-rgb),0.2)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px}.filters[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;color:#fff}.avatar-user[_ngcontent-%COMP%]{cursor:pointer;position:absolute;z-index:99;left:50%;transform:translateX(-50%);top:60px;border:solid var(--ion-color-secondary);width:71px;height:71px}.groupMailIcon[_ngcontent-%COMP%]{position:absolute;left:40px;font-size:14px;bottom:10px}.segment-button-notFocused[_ngcontent-%COMP%]{--indicator-color:none}']}),e})();function PH(e,t){if(1&e){const e=qr();Hr(0,"ion-segment-button",10),Xr("ionChange",function(t){return Lt(e),na(2).setActiveLang(t)}),Hr(1,"ion-label"),Da(2),Hr(3,"ion-badge",11),Da(4),jr(),jr(),jr()}if(2&e){const e=na().$implicit,t=na();Vr("value",t.currentLang),no(2),Ma("",e.key," "),no(2),Oa(t.missingLang[e.key].length)}}function DH(e,t){if(1&e&&(Hr(0,"span"),Fr(1,PH,5,3,"ion-segment-button",9),jr()),2&e){const e=t.$implicit;no(1),Vr("ngIf","fr"!==e.key)}}function OH(e,t){if(1&e){const e=qr();Hr(0,"ion-item"),Hr(1,"ion-label",13),Da(2),jr(),Hr(3,"ion-input",14),Xr("ngModelChange",function(e){return t.$implicit.value=e}),jr(),Hr(4,"ion-button",15),Xr("click",function(){Lt(e);const n=t.$implicit;return na(2).openTranslation(n.value)}),Ur(5,"ion-icon",16),jr(),jr()}if(2&e){const e=t.$implicit;no(2),Oa(e.id),no(1),Vr("ngModel",e.value)}}function MH(e,t){if(1&e&&(Hr(0,"ion-list",12),Fr(1,OH,6,2,"ion-item",5),jr()),2&e){const e=na();no(1),Vr("ngForOf",e.missingLang[e.currentLang])}}let TH=(()=>{class e{constructor(e,t,n,i){this.http=e,this.notify=t,this.translate=n,this.modalController=i,this.missingLang={},this.currentLang="en",this.data={}}ngOnInit(){this.getLangs()}dismissModal(){this.modalController.dismiss("cancel")}getLangs(){this.http.get("../rest/languages").pipe(Ov(e=>{this.allLang=e.languages,Object.keys(this.allLang).forEach(e=>{this.missingLang[e]=Object.keys(this.allLang.fr.lang).filter(t=>-1===Object.keys(this.allLang[e].lang).indexOf(t)).map(e=>({id:e,value:this.allLang.fr.lang[e]+"__TO_TRANSLATE"}))})}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}openTranslation(e){window.open("https://translate.google.fr/?hl=fr#view=home&op=translate&sl=fr&tl="+this.currentLang+"&text="+e.replace("__TO_TRANSLATE",""),"_blank")}setActiveLang(e){this.currentLang=e.detail.value}generateMissingLang(e){const t={},n=this.allLang[this.currentLang],i=/__TO_TRANSLATE$/g;this.missingLang[this.currentLang].forEach(n=>{null===n.value.match(i)&&e?t[n.id]=n.value:e||(t[n.id]=n.value)}),n.lang=Object.assign(Object.assign({},n.lang),t),this.http.put("../rest/languages",{langId:this.currentLang,jsonContent:n}).pipe(Ov(e=>{Object.keys(t).forEach(e=>{delete this.allLang[this.currentLang][e],this.missingLang[this.currentLang]=this.missingLang[this.currentLang].filter(t=>t.id!==e),this.data.countMissingLang--}),this.modalController.dismiss("cancel")}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(Db),zr(QA),zr($A),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],decls:22,vars:14,consts:[["translucent",""],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[4,"ngFor","ngForOf"],["lines","full",4,"ngIf"],[3,"translucent"],["size","small","color","primary",3,"click"],[3,"value","ionChange",4,"ngIf"],[3,"value","ionChange"],["color","secondary"],["lines","full"],["position","stacked"],["type","text",3,"ngModel","ngModelChange"],["slot","end","color","primary",3,"click"],["name","language-outline"]],template:function(e,t){1&e&&(Hr(0,"ion-header",0),Hr(1,"ion-toolbar",1),Hr(2,"ion-title"),Da(3),hc(4,"translate"),jr(),Hr(5,"ion-buttons",2),Hr(6,"ion-button",3),Xr("click",function(){return t.dismissModal()}),Ur(7,"ion-icon",4),jr(),jr(),jr(),jr(),Hr(8,"ion-header"),Hr(9,"ion-segment"),Fr(10,DH,2,1,"span",5),hc(11,"keyvalue"),jr(),jr(),Hr(12,"ion-content"),Wr(13),Fr(14,MH,2,1,"ion-list",6),Gr(),jr(),Hr(15,"ion-footer",7),Hr(16,"ion-button",8),Xr("click",function(){return t.generateMissingLang(!1)}),Da(17),hc(18,"translate"),jr(),Hr(19,"ion-button",8),Xr("click",function(){return t.generateMissingLang(!0)}),Da(20),hc(21,"translate"),jr(),jr()),2&e&&(no(3),Oa(pc(4,6,"lang.langChecking")),no(7),Vr("ngForOf",pc(11,8,t.allLang)),no(4),Vr("ngIf","en"===t.currentLang),no(1),Vr("translucent",!0),no(2),Oa(pc(18,10,"lang.generateLangVar")),no(3),Oa(pc(21,12,"lang.generateLangVarIgnoreTranslate")))},directives:[Vx,yC,bC,Ax,Cx,Nx,cC,ox,ju,Tx,Wu,Bx,dC,Zx,xx,Qx,Gx,Wx,ax,rm,Rm],pipes:[qA,ch],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding-top:0}.lang-container[_ngcontent-%COMP%] .mat-tab-header{position:sticky;top:0;z-index:2}.lang-container[_ngcontent-%COMP%] .mat-tab-label-container{background:#fff}"]}),e})(),IH=(()=>{class e{constructor(e,t,n,i){this.notify=e,this.http=t,this.functionsService=n,this.modalController=i,this.countMissingLang=0}ngOnInit(){this.getLangs()}openLangTool(){return e=this,void 0,n=function*(){const e=yield this.modalController.create({component:TH,cssClass:"my-custom-class"});yield e.present()},new((t=void 0)||(t=Promise))(function(i,s){function o(e){try{a(n.next(e))}catch(t){s(t)}}function r(e){try{a(n.throw(e))}catch(t){s(t)}}function a(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,r)}a((n=n.apply(e,[])).next())});var e,t,n}getLangs(){this.http.get("../rest/languages").pipe(Ov(e=>{this.allLang=e.languages,Object.keys(this.allLang).forEach(e=>{this.countMissingLang+=Object.keys(this.allLang.fr.lang).filter(t=>-1===Object.keys(this.allLang[e].lang).indexOf(t)).length})}),fv(e=>(this.notify.handleErrors(e),lb(!1)))).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(zr(QA),zr(Db),zr(HF),zr(eA))},e.\u0275cmp=$e({type:e,selectors:[["app-dev-tool"]],decls:11,vars:7,consts:[["cdkDrag","","horizontal","end","vertical","top",3,"title"],["color","light"],["name","language-outline"],["side","start"],["color","light",3,"click"],["color","secondary"]],template:function(e,t){1&e&&(Hr(0,"ion-fab",0),hc(1,"translate"),Hr(2,"ion-fab-button",1),Ur(3,"ion-icon",2),jr(),Hr(4,"ion-fab-list",3),Hr(5,"ion-button",4),Xr("click",function(){return t.openLangTool()}),Hr(6,"ion-label"),Da(7),hc(8,"translate"),Hr(9,"ion-badge",5),Da(10),jr(),jr(),jr(),jr(),jr()),2&e&&(Vr("title",pc(1,3,"lang.missingLang")),no(7),Ma("",pc(8,5,"lang.missingLang")," "),no(3),Ma(" ",t.countMissingLang,""))},directives:[Rx,OR,Lx,Nx,Fx,Cx,Zx,xx],pipes:[qA],styles:[".devToolListMenu{min-height:auto!important;width:250px}"]}),e})();function RH(e,t){1&e&&Ur(0,"app-sidebar",10)}function LH(e,t){1&e&&Ur(0,"app-dev-tool")}const FH=function(e){return[e]};let BH=(()=>{class e{constructor(e,t,n,i,s,o,r,a,l,c,d,u){if(this.translate=e,this.http=t,this.signaturesService=n,this.sanitizer=i,this.cookieService=s,this.notificationService=o,this.dialog=r,this.authService=l,this.menu=c,this.router=d,this.platform=u,this.showLeftContent=!1,this.showRightContent=!1,a.addSvgIcon("maarchLogo",i.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.cookieService.check("maarchParapheurLang")){const t=this.cookieService.get("maarchParapheurLang");e.setDefaultLang(t)}else this.cookieService.set("maarchParapheurLang","fr"),e.setDefaultLang("fr");zd.production||(this.debugMode=!0)}test(){return!0}allowedRoute(){const e=this.router.url.split("?")[0];return-1===["/","/login","/forgot-password","/update-password","/password-modification"].indexOf(e)}}return e.\u0275fac=function(t){return new(t||e)(zr($A),zr(Db),zr(oS),zr(qh),zr(oE),zr(QA),zr(LM),zr(YM),zr(aS),zr(JC),zr(r_),zr(lx))},e.\u0275cmp=$e({type:e,selectors:[["app-root"]],decls:11,vars:5,consts:[["contentId","main-content"],["menuId","left-menu","contentId","main-content","type","overlay","disabled","",1,"left-menu",3,"ionDidOpen","ionDidClose"],["leftMenu",""],["style","display: contents;",4,"ngIf"],["id","leftContent",2,"display","contents"],["id","main-content"],["menuId","right-menu","contentId","main-content","side","end","type","overlay","disabled","",3,"ngClass","ionDidOpen","ionDidClose"],["rightMenu",""],["id","rightContent",2,"display","contents"],[4,"ngIf"],[2,"display","contents"]],template:function(e,t){1&e&&(Hr(0,"ion-app"),Hr(1,"ion-split-pane",0),Hr(2,"ion-menu",1,2),Xr("ionDidOpen",function(){return t.showLeftContent=!0})("ionDidClose",function(){return t.showLeftContent=!1}),Fr(4,RH,1,0,"app-sidebar",3),Ur(5,"div",4),jr(),Ur(6,"ion-router-outlet",5),Hr(7,"ion-menu",6,7),Xr("ionDidOpen",function(){return t.showRightContent=!0})("ionDidClose",function(){return t.showRightContent=!1}),Ur(9,"div",8),jr(),jr(),jr(),Fr(10,LH,1,0,"app-dev-tool",9)),2&e&&(no(4),Vr("ngIf",t.allowedRoute()),no(3),Vr("ngClass",ac(3,FH,t.signaturesService.mobileMode?"right-menu-responsive":"right-menu")),no(3),Vr("ngIf",t.debugMode&&t.authService.isAuth()))},directives:[yx,mC,Kx,Wu,NC,Nu,EH,IH],styles:[".left-menu{--width:350px;--min-width:350px;--max-width:350px}.right-menu{--width:450px;--min-width:450px;--max-width:450px}.right-menu-responsive{--width:89%;--min-width:89%;--max-width:89%}.split-pane-visible>.left-menu{width:350px!important;--max-width:350px!important;--min-width:350px!important}.split-pane-visible>.right-menu{width:450px!important;--max-width:450px!important;--min-width:450px!important}"],encapsulation:2}),e})();var zH,VH,NH;zH=cA.a,NH=void 0,"string"!=typeof(VH="fr-FR")&&(NH=VH,VH=zH[Ua.LocaleId]),VH=VH.toLowerCase().replace(/_/g,"-"),Na[VH]=zH,NH&&(Na[VH][Ua.ExtraData]=NH);let HH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Qe({type:e,bootstrap:[BH]}),e.\u0275inj=fe({providers:[{provide:Mb,useClass:lS,multi:!0},oS,TF,QA,{provide:Qw,useClass:iA},oE,uE],imports:[[ob,rb,Xh,Cf,Wb,aA.forRoot({mode:"md"}),YA.forRoot({loader:{provide:kA,useFactory:UH,deps:[Db]}}),dF,Gk,Qk,mE,iE,LR,nH,Hh]]}),e})();class jH{constructor(e){this.http=e}getTranslation(e){return this.http.get("../rest/languages/"+e)}}function UH(e){return new jH(e)}zd.production&&function(){if(wd)throw new Error("Cannot enable prod mode after platform setup.");yd=!1}(),Zh().bootstrapModule(HH).catch(e=>console.log(e))},meiF:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("1vRN");let s;const o=e=>{if(void 0===s){const t=void 0!==e.style.webkitAnimationName;s=void 0===e.style.animationName&&t?"-webkit-":""}return s},r=(e,t,n)=>{const i=t.startsWith("animation")?o(e):"";e.style.setProperty(i+t,n)},a=(e,t)=>{const n=t.startsWith("animation")?o(e):"";e.style.removeProperty(n+t)},l=[],c=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},d=e=>{let t,n,s,d,u,h,p,g,f,m,b,v,y,w=[],_=[],x=[],C=!1,A={},S=[],k=[],E={},P=0,D=!1,O=!1,M=!0,T=!1,I=!0;const R=e,L=[],F=[],B=[],z=[],V=[],N=[],H=[],j=[],U=[],W=[],G="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,$="function"==typeof Element&&"function"==typeof Element.prototype.animate&&G,q=(e,t)=>((t&&t.oneTimeCallback?F:L).push({c:e,o:t}),y),Y=()=>{if($)W.forEach(e=>{e.cancel()}),W.length=0;else{const e=B.slice();Object(i.q)(()=>{e.forEach(e=>{a(e,"animation-name"),a(e,"animation-duration"),a(e,"animation-timing-function"),a(e,"animation-iteration-count"),a(e,"animation-delay"),a(e,"animation-play-state"),a(e,"animation-fill-mode"),a(e,"animation-direction")})})}},Z=()=>{V.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),V.length=0},Q=()=>void 0!==u?u:p?p.getFill():"both",X=()=>void 0!==f?f:void 0!==h?h:p?p.getDirection():"normal",K=()=>D?"linear":void 0!==s?s:p?p.getEasing():"linear",J=()=>O?0:void 0!==m?m:void 0!==n?n:p?p.getDuration():0,ee=()=>void 0!==d?d:p?p.getIterations():1,te=()=>void 0!==b?b:void 0!==t?t:p?p.getDelay():0,ne=()=>{0!==P&&(P--,0===P&&((()=>{de(),j.forEach(e=>e()),U.forEach(e=>e());const e=M?1:0,t=S,n=k,i=E;B.forEach(e=>{const s=e.classList;t.forEach(e=>s.add(e)),n.forEach(e=>s.remove(e));for(const t in i)i.hasOwnProperty(t)&&r(e,t,i[t])}),L.forEach(t=>t.c(e,y)),F.forEach(t=>t.c(e,y)),F.length=0,I=!0,M&&(T=!0),M=!0})(),p&&p.animationFinish()))},ie=(t=!0)=>{(()=>{N.forEach(e=>e()),H.forEach(e=>e());const e=_,t=x,n=A;B.forEach(i=>{const s=i.classList;e.forEach(e=>s.add(e)),t.forEach(e=>s.remove(e));for(const e in n)n.hasOwnProperty(e)&&r(i,e,n[e])})})(),w.length>0&&($?(B.forEach(e=>{const t=e.animate(w,{id:R,delay:te(),duration:J(),easing:K(),iterations:ee(),fill:Q(),direction:X()});t.pause(),W.push(t)}),W.length>0&&(W[0].onfinish=()=>{ne()})):((t=!0)=>{Z();const n=((s=w).forEach(e=>{for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{const i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();i!==t&&(e[i]=n,delete e[t])}}}),s);var s;B.forEach(s=>{if(n.length>0){const a=((e=[])=>e.map(e=>{const t=e.offset,n=[];for(const i in e)e.hasOwnProperty(i)&&"offset"!==i&&n.push(`${i}: ${e[i]};`);return`${100*t}% { ${n.join(" ")} }`}).join(" "))(n);v=void 0!==e?e:(e=>{let t=l.indexOf(e);return t<0&&(t=l.push(e)-1),"ion-animation-"+t})(a);const c=((e,t,n)=>{const i=(e=>{const t=e.getRootNode();return t.head||t})(n),s=o(n),r=i.querySelector("#"+e);if(r)return r;const a=(n.ownerDocument||document).createElement("style");return a.id=e,a.textContent=`@${s}keyframes ${e} { ${t} } @${s}keyframes ${e}-alt { ${t} }`,i.appendChild(a),a})(v,a,s);V.push(c),r(s,"animation-duration",J()+"ms"),r(s,"animation-timing-function",K()),r(s,"animation-delay",te()+"ms"),r(s,"animation-fill-mode",Q()),r(s,"animation-direction",X());const d=ee()===1/0?"infinite":ee().toString();r(s,"animation-iteration-count",d),r(s,"animation-play-state","paused"),t&&r(s,"animation-name",c.id+"-alt"),Object(i.q)(()=>{r(s,"animation-name",c.id||null)})}})})(t)),C=!0},se=e=>{if(e=Math.min(Math.max(e,0),.9999),$)W.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+J()*e,t.pause()});else{const t=`-${J()*e}ms`;B.forEach(e=>{w.length>0&&(r(e,"animation-delay",t),r(e,"animation-play-state","paused"))})}},oe=e=>{W.forEach(e=>{e.effect.updateTiming({delay:te(),duration:J(),easing:K(),iterations:ee(),fill:Q(),direction:X()})}),void 0!==e&&se(e)},re=(e=!0,t)=>{Object(i.q)(()=>{B.forEach(n=>{r(n,"animation-name",v||null),r(n,"animation-duration",J()+"ms"),r(n,"animation-timing-function",K()),r(n,"animation-delay",void 0!==t?`-${t*J()}ms`:te()+"ms"),r(n,"animation-fill-mode",Q()||null),r(n,"animation-direction",X()||null);const s=ee()===1/0?"infinite":ee().toString();r(n,"animation-iteration-count",s),e&&r(n,"animation-name",v+"-alt"),Object(i.q)(()=>{r(n,"animation-name",v||null)})})})},ae=(e=!1,t=!0,n)=>(e&&z.forEach(i=>{i.update(e,t,n)}),$?oe(n):re(t,n),y),le=()=>{C&&($?W.forEach(e=>{e.pause()}):B.forEach(e=>{r(e,"animation-play-state","paused")}))},ce=()=>{g=void 0,ne()},de=()=>{g&&clearTimeout(g)},ue=e=>new Promise(t=>{e&&e.sync&&(O=!0,q(()=>O=!1,{oneTimeCallback:!0})),C||ie(),T&&($?(se(0),oe()):re(),T=!1),I&&(P=z.length+1,I=!1),q(()=>t(),{oneTimeCallback:!0}),z.forEach(e=>{e.play()}),$?(W.forEach(e=>{e.play()}),0!==w.length&&0!==B.length||ne()):(()=>{if(de(),Object(i.q)(()=>{B.forEach(e=>{w.length>0&&r(e,"animation-play-state","running")})}),0===w.length||0===B.length)ne();else{const e=te()||0,t=J()||0,n=ee()||1;isFinite(n)&&(g=setTimeout(ce,e+t*n+100)),((e,t)=>{let n;const s={passive:!0},o=t=>{e===t.target&&(n&&n(),de(),Object(i.q)(()=>{B.forEach(e=>{a(e,"animation-duration"),a(e,"animation-delay"),a(e,"animation-play-state")}),Object(i.q)(ne)}))};e&&(e.addEventListener("webkitAnimationEnd",o,s),e.addEventListener("animationend",o,s),n=()=>{e.removeEventListener("webkitAnimationEnd",o,s),e.removeEventListener("animationend",o,s)})})(B[0])}})()}),he=(e,t)=>{const n=w[0];return void 0===n||void 0!==n.offset&&0!==n.offset?w=[{offset:0,[e]:t},...w]:n[e]=t,y};return y={parentAnimation:p,elements:B,childAnimations:z,id:R,animationFinish:ne,from:he,to:(e,t)=>{const n=w[w.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?w=[...w,{offset:1,[e]:t}]:n[e]=t,y},fromTo:(e,t,n)=>he(e,t).to(e,n),parent:e=>(p=e,y),play:ue,pause:()=>(z.forEach(e=>{e.pause()}),le(),y),stop:()=>{z.forEach(e=>{e.stop()}),C&&(Y(),C=!1),D=!1,O=!1,I=!0,f=void 0,m=void 0,b=void 0,P=0,T=!1,M=!0},destroy:e=>(z.forEach(t=>{t.destroy(e)}),(e=>{Y(),e&&Z()})(e),B.length=0,z.length=0,w.length=0,L.length=0,F.length=0,C=!1,I=!0,y),keyframes:e=>(w=e,y),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(y),z.push(t);else e.parent(y),z.push(e);return y},addElement:e=>{if(null!=e)if(1===e.nodeType)B.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)B.push(e[t]);else console.error("Invalid addElement value");return y},update:ae,fill:e=>(u=e,ae(!0),y),direction:e=>(h=e,ae(!0),y),iterations:e=>(d=e,ae(!0),y),duration:e=>($||0!==e||(e=1),n=e,ae(!0),y),easing:e=>(s=e,ae(!0),y),delay:e=>(t=e,ae(!0),y),getWebAnimations:()=>W,getKeyframes:()=>w,getFill:Q,getDirection:X,getDelay:te,getIterations:ee,getEasing:K,getDuration:J,afterAddRead:e=>(j.push(e),y),afterAddWrite:e=>(U.push(e),y),afterClearStyles:(e=[])=>{for(const t of e)E[t]="";return y},afterStyles:(e={})=>(E=e,y),afterRemoveClass:e=>(k=c(k,e),y),afterAddClass:e=>(S=c(S,e),y),beforeAddRead:e=>(N.push(e),y),beforeAddWrite:e=>(H.push(e),y),beforeClearStyles:(e=[])=>{for(const t of e)A[t]="";return y},beforeStyles:(e={})=>(A=e,y),beforeRemoveClass:e=>(x=c(x,e),y),beforeAddClass:e=>(_=c(_,e),y),onFinish:q,progressStart:(e=!1,t)=>(z.forEach(n=>{n.progressStart(e,t)}),le(),D=e,C?ae(!1,!0,t):ie(),y),progressStep:e=>(z.forEach(t=>{t.progressStep(e)}),se(e),y),progressEnd:(e,t,n)=>(D=!1,z.forEach(i=>{i.progressEnd(e,t,n)}),void 0!==n&&(m=n),T=!1,M=!0,0===e?(f="reverse"===X()?"normal":"reverse","reverse"===f&&(M=!1),$?(ae(),se(1-t)):(b=(1-t)*J()*-1,ae(!1,!1))):1===e&&($?(ae(),se(t)):(b=t*J()*-1,ae(!1,!1))),void 0!==e&&(q(()=>{m=void 0,f=void 0,b=void 0},{oneTimeCallback:!0}),p||ue()),y)}}},r7QR:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("B4Jq"),s=n("1vRN"),o=n("E/Mt"),r=n("meiF");const a=e=>Object(r.a)().duration(e?400:300),l=e=>{let t,n;const i=e.width+8,s=Object(r.a)(),l=Object(r.a)();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),s.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const c="ios"===Object(o.b)(e),d=c?.2:.25;return l.addElement(e.backdropEl).fromTo("opacity",.01,d),a(c).addAnimation([s,l])},c=e=>{let t,n;const i=Object(o.b)(e),s=e.width;e.isEndSide?(t=-s+"px",n=s+"px"):(t=s+"px",n=-s+"px");const l=Object(r.a)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),d=Object(r.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return a("ios"===i).addAnimation([l,c,d])},d=e=>{const t=Object(o.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return a("ios"===t).addAnimation(i)},u=(()=>{const e=new Map,t=[],n=async e=>(await g(),"start"===e||"end"===e?p(t=>t.side===e&&!t.disabled)||p(t=>t.side===e):null!=e?p(t=>t.menuId===e):p(e=>!e.disabled)||(t.length>0?t[0].el:void 0)),o=async()=>(await g(),u()),r=(t,n)=>{e.set(t,n)},a=e=>{const n=e.side;t.filter(t=>t.side===n&&t!==e).forEach(e=>e.disabled=!0)},u=()=>p(e=>e._isOpen),h=()=>t.some(e=>e.isAnimating),p=e=>{const n=t.find(e);if(void 0!==n)return n.el},g=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>new Promise(t=>Object(s.c)(e,t))));return r("reveal",d),r("push",c),r("overlay",l),"undefined"!=typeof document&&document.addEventListener("ionBackButton",e=>{const t=u();t&&e.detail.register(i.MENU_BACK_BUTTON_PRIORITY,()=>t.close())}),{registerAnimation:r,get:n,getMenus:async()=>(await g(),t.map(e=>e.el)),getOpen:o,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const i=await n(t);return i&&(i.swipeGesture=e),i},isAnimating:async()=>(await g(),h()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await o()},enable:async(e,t)=>{const i=await n(t);return i&&(i.disabled=!e),i},toggle:async e=>{const t=await n(e);return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e):o());return void 0!==t&&t.close()},open:async e=>{const t=await n(e);return!!t&&t.open()},_getOpenSync:u,_createAnimation:(t,n)=>{const i=e.get(t);if(!i)throw new Error("animation not registered");return i(n)},_register:e=>{t.indexOf(e)<0&&(e.disabled||a(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(h())return!1;if(t){const t=await o();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:a}})()},wEJo:function(e,t,n){"use strict";n.d(t,"a",function(){return Ne}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return we}),n.d(t,"f",function(){return Ve}),n.d(t,"g",function(){return te}),n.d(t,"h",function(){return ze}),n.d(t,"i",function(){return P}),n.d(t,"j",function(){return M}),n.d(t,"k",function(){return ee}),n.d(t,"l",function(){return ce}),n.d(t,"m",function(){return _e}),n.d(t,"n",function(){return g}),n.d(t,"o",function(){return Ae}),n.d(t,"p",function(){return E}),n.d(t,"q",function(){return u});let i,s,o,r=!1,a=!1,l=!1,c=!1,d=!1;const u="undefined"!=typeof window?window:{},h=u.CSS,p=u.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},f=(()=>(p.head.attachShadow+"").indexOf("[native")>-1)(),m=e=>Promise.resolve(e),b=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),v=(e,t,n,i)=>{n&&n.map(([n,i,s])=>{const o=w(e,n),r=y(t,s),a=_(n);g.ael(o,i,r,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(o,i,r,a))})},y=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(i){Ee(i)}},w=(e,t)=>4&t?p:8&t?u:16&t?p.body:e,_=e=>0!=(2&e),x="http://www.w3.org/1999/xlink",C=new WeakMap,A=(e,t,n)=>{let i=Oe.get(e);b&&n?(i=i||new CSSStyleSheet,i.replace(t)):i=t,Oe.set(e,i)},S=(e,t,n,i)=>{let s=k(t,n),o=Oe.get(s);if(e=11===e.nodeType?e:p,o)if("string"==typeof o){let n,r=C.get(e=e.head||e);if(r||C.set(e,r=new Set),!r.has(s)){if(e.host&&(n=e.querySelector(`[sty-id="${s}"]`)))n.innerHTML=o;else{if(g.$cssShim$){n=g.$cssShim$.createHostStyle(i,s,o,!!(10&t.$flags$));const e=n["s-sc"];e&&(s=e,r=null)}else n=p.createElement("style"),n.innerHTML=o;e.insertBefore(n,e.querySelector("link"))}r&&r.add(s)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return s},k=(e,t)=>"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),E=e=>Me.push(e),P=e=>Ce(e).$modeName$,D={},O=e=>"object"==(e=typeof e)||"function"===e,M=(e,t,...n)=>{let i=null,s=null,o=null,r=!1,a=!1,l=[];const c=t=>{for(let n=0;n<t.length;n++)i=t[n],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof e&&!O(i))&&(i=String(i)),r&&a?l[l.length-1].$text$+=i:l.push(r?T(null,i):i),a=r)};if(c(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,R);const d=T(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),d.$key$=s,d.$name$=o,d},T=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),I={},R={forEach:(e,t)=>e.map(L).forEach(t),map:(e,t)=>e.map(L).map(t).map(F)},L=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),F=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),M(e.vtag,t,...e.vchildren||[])}const t=T(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},B=(e,t,n,i,s,o)=>{if(n!==i){let a=ke(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,s=V(n),o=V(i);t.remove(...s.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)i&&null!=i[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in i)n&&i[t]===n[t]||(t.includes("-")?e.style.setProperty(t,i[t]):e.style[t]=i[t])}else if("key"===t);else if("ref"===t)i&&i(e);else if(a||"o"!==t[0]||"n"!==t[1]){const c=O(i);if((a||c&&null!==i)&&!s)try{if(e.tagName.includes("-"))e[t]=i;else{let s=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(r){}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(d?e.removeAttributeNS(x,t):e.removeAttribute(t)):(!a||4&o||s)&&!c&&(i=!0===i?"":i,d?e.setAttributeNS(x,t,i):e.setAttribute(t,i))}else t="-"===t[2]?t.slice(3):ke(u,l)?l.slice(2):l[2]+t.slice(3),n&&g.rel(e,t,n,!1),i&&g.ael(e,t,i,!1)}},z=/\s/,V=e=>e?e.split(z):[],N=(e,t,n,i)=>{const s=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||D,r=t.$attrs$||D;for(i in o)i in r||B(s,i,o[i],void 0,n,t.$flags$);for(i in r)B(s,i,o[i],r[i],n,t.$flags$)},H=(e,t,n,a)=>{let d,u,h,g=t.$children$[n],f=0;if(r||(l=!0,"slot"===g.$tag$&&(i&&a.classList.add(i+"-s"),g.$flags$|=g.$children$?2:1)),null!==g.$text$)d=g.$elm$=p.createTextNode(g.$text$);else if(1&g.$flags$)d=g.$elm$=p.createTextNode("");else{if(c||(c="svg"===g.$tag$),d=g.$elm$=p.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&g.$flags$?"slot-fb":g.$tag$),c&&"foreignObject"===g.$tag$&&(c=!1),N(null,g,c),null!=i&&d["s-si"]!==i&&d.classList.add(d["s-si"]=i),g.$children$)for(f=0;f<g.$children$.length;++f)u=H(e,g,f,d),u&&d.appendChild(u);"svg"===g.$tag$?c=!1:"foreignObject"===d.tagName&&(c=!0)}return d["s-hn"]=o,3&g.$flags$&&(d["s-sr"]=!0,d["s-cr"]=s,d["s-sn"]=g.$name$||"",h=e&&e.$children$&&e.$children$[n],h&&h.$tag$===g.$tag$&&e.$elm$&&j(e.$elm$,!1)),d},j=(e,t)=>{g.$flags$|=1;const n=e.childNodes;for(let i=n.length-1;i>=0;i--){const e=n[i];e["s-hn"]!==o&&e["s-ol"]&&(q(e).insertBefore(e,$(e)),e["s-ol"].remove(),e["s-ol"]=void 0,l=!0),t&&j(e,t)}g.$flags$&=-2},U=(e,t,n,i,s,r)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===o&&(l=l.shadowRoot);s<=r;++s)i[s]&&(a=H(null,n,s,e),a&&(i[s].$elm$=a,l.insertBefore(a,$(t))))},W=(e,t,n,i,s)=>{for(;t<=n;++t)(i=e[t])&&(s=i.$elm$,J(i),a=!0,s["s-ol"]?s["s-ol"].remove():j(s,!0),s.remove())},G=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),$=e=>e&&e["s-ol"]||e,q=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Y=(e,t)=>{const n=t.$elm$=e.$elm$,i=e.$children$,s=t.$children$,o=t.$tag$,r=t.$text$;let a;null===r?(c="svg"===o||"foreignObject"!==o&&c,"slot"===o||N(e,t,c),null!==i&&null!==s?((e,t,n,i)=>{let s,o,r=0,a=0,l=0,c=0,d=t.length-1,u=t[0],h=t[d],p=i.length-1,g=i[0],f=i[p];for(;r<=d&&a<=p;)if(null==u)u=t[++r];else if(null==h)h=t[--d];else if(null==g)g=i[++a];else if(null==f)f=i[--p];else if(G(u,g))Y(u,g),u=t[++r],g=i[++a];else if(G(h,f))Y(h,f),h=t[--d],f=i[--p];else if(G(u,f))"slot"!==u.$tag$&&"slot"!==f.$tag$||j(u.$elm$.parentNode,!1),Y(u,f),e.insertBefore(u.$elm$,h.$elm$.nextSibling),u=t[++r],f=i[--p];else if(G(h,g))"slot"!==u.$tag$&&"slot"!==f.$tag$||j(h.$elm$.parentNode,!1),Y(h,g),e.insertBefore(h.$elm$,u.$elm$),h=t[--d],g=i[++a];else{for(l=-1,c=r;c<=d;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===g.$key$){l=c;break}l>=0?(o=t[l],o.$tag$!==g.$tag$?s=H(t&&t[a],n,l,e):(Y(o,g),t[l]=void 0,s=o.$elm$),g=i[++a]):(s=H(t&&t[a],n,a,e),g=i[++a]),s&&q(u.$elm$).insertBefore(s,$(u.$elm$))}r>d?U(e,null==i[p+1]?null:i[p+1].$elm$,n,i,a,p):a>p&&W(t,r,d)})(n,i,t,s):null!==s?(null!==e.$text$&&(n.textContent=""),U(n,null,t,s,0,s.length-1)):null!==i&&W(i,0,i.length-1),c&&"svg"===o&&(c=!1)):(a=n["s-cr"])?a.parentNode.textContent=r:e.$text$!==r&&(n.data=r)},Z=e=>{let t,n,i,s,o,r,a=e.childNodes;for(n=0,i=a.length;n<i;n++)if(t=a[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<i;s++)if(r=a[s].nodeType,a[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===r&&o===a[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===r||3===r&&""!==a[s].textContent.trim()){t.hidden=!0;break}Z(t)}},Q=[],X=e=>{let t,n,i,s,o,r,l=0,c=e.childNodes,d=c.length;for(;l<d;l++){if(t=c[l],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(i=n.parentNode.childNodes,s=t["s-sn"],r=i.length-1;r>=0;r--)n=i[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=Q.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||s,o?o.$slotRefNode$=t:Q.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&Q.map(e=>{K(e.$nodeToRelocate$,n["s-sn"])&&(o=Q.find(e=>e.$nodeToRelocate$===n),o&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$))})):Q.some(e=>e.$nodeToRelocate$===n)||Q.push({$nodeToRelocate$:n}));1===t.nodeType&&X(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,J=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(J)},ee=e=>Ce(e).$hostElement$,te=(e,t,n)=>{const i=ee(e);return{emit:e=>ne(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},ne=(e,t,n)=>{const i=g.ce(t,n);return e.dispatchEvent(i),i},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},se=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return ie(e,e.$ancestorComponent$),Ve(()=>oe(e,t));e.$flags$|=512},oe=(e,t)=>{const n=e.$lazyInstance$;let i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>ue(n,e,t)),e.$queuedListeners$=null),i=ue(n,"componentWillLoad")),i=he(i,()=>ue(n,"componentWillRender")),he(i,()=>re(e,n,t))},re=async(e,t,n)=>{const i=e.$hostElement$,s=i["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,s=S(f&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&i&&n.classList.add(s+"-s"))})(e),ae(e,t),g.$cssShim$&&g.$cssShim$.updateHost(i),s&&(s.map(e=>e()),i["s-rc"]=void 0);{const t=i["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},ae=(e,t,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,((e,t)=>{const n=e.$hostElement$,c=e.$cmpMeta$,d=e.$vnode$||T(null,null),u=(h=t)&&h.$tag$===I?t:M(null,null,t);var h;if(o=n.tagName,c.$attrsToReflect$&&(u.$attrs$=u.$attrs$||{},c.$attrsToReflect$.map(([e,t])=>u.$attrs$[t]=n[e])),u.$tag$=null,u.$flags$|=4,e.$vnode$=u,u.$elm$=d.$elm$=n.shadowRoot||n,i=n["s-sc"],s=n["s-cr"],r=f&&0!=(1&c.$flags$),a=!1,Y(d,u),g.$flags$|=1,l){let e,t,n,i,s,o;X(u.$elm$);let r=0;for(;r<Q.length;r++)e=Q[r],t=e.$nodeToRelocate$,t["s-ol"]||(n=p.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<Q.length;r++)if(e=Q[r],t=e.$nodeToRelocate$,e.$slotRefNode$){for(i=e.$slotRefNode$.parentNode,s=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&i===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&i!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),i.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}a&&Z(u.$elm$),g.$flags$&=-2,Q.length=0})(e,t)}catch(c){Ee(c,e.$hostElement$)}return null},le=e=>{const t=e.$hostElement$,n=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?ue(n,"componentDidUpdate"):(e.$flags$|=64,pe(t),ue(n,"componentDidLoad"),e.$onReadyResolve$(t),i||de()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Be(()=>se(e,!1)),e.$flags$&=-517},ce=e=>{{const t=Ce(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&se(t,!1),n}},de=e=>{pe(p.documentElement),Be(()=>ne(u,"appload",{detail:{namespace:"ionic"}}))},ue=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(i){Ee(i)}},he=(e,t)=>e&&e.then?e.then(t):t(),pe=e=>e.classList.add("hydrated"),ge=(e,t,n,i,s,o,r)=>{let a,l,c,d;if(1===o.nodeType){for(a=o.getAttribute("c-id"),a&&(l=a.split("."),l[0]!==r&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),o.removeAttribute("c-id"),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,i&&"0"===c.$depth$&&(i[c.$index$]=c.$elm$))),d=o.childNodes.length-1;d>=0;d--)ge(e,t,n,i,s,o.childNodes[d],r);if(o.shadowRoot)for(d=o.shadowRoot.childNodes.length-1;d>=0;d--)ge(e,t,n,i,s,o.shadowRoot.childNodes[d],r)}else if(8===o.nodeType)l=o.nodeValue.split("."),l[1]!==r&&"0"!==l[1]||(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(c.$elm$=o.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),o.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,i&&"0"===c.$depth$&&(i[c.$index$]=c.$elm$))):c.$hostId$===r&&("s"===a?(c.$tag$="slot",o["s-sn"]=l[5]?c.$name$=l[5]:"",o["s-sr"]=!0,i&&(c.$elm$=p.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),o.parentNode.insertBefore(c.$elm$,o),o.remove(),"0"===c.$depth$&&(i[c.$index$]=c.$elm$)),n.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):"r"===a&&(i?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=T(null,o.textContent);t.$elm$=o,t.$index$="0",e.$children$=[t]}},fe=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)fe(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)fe(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},me=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),s=e.prototype;if(i.map(([e,[i]])=>{31&i||2&n&&32&i?Object.defineProperty(s,e,{get(){return t=e,Ce(this).$instanceValues$.get(t);var t},set(n){((e,t,n,i)=>{const s=Ce(this),o=s.$hostElement$,r=s.$instanceValues$.get(t),a=s.$flags$,l=s.$lazyInstance$;var c,d;if(d=i.$members$[t][0],n=null==(c=n)||O(c)?c:4&d?"false"!==c&&(""===c||!!c):2&d?parseFloat(c):1&d?String(c):c,!(8&a&&void 0!==r||n===r)&&(s.$instanceValues$.set(t,n),l)){if(i.$watchers$&&128&a){const e=i.$watchers$[t];e&&e.map(e=>{try{l[e](n,r,t)}catch(i){Ee(i,o)}})}2==(18&a)&&se(s,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&i&&Object.defineProperty(s,e,{value(...t){const n=Ce(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,i){g.jmp(()=>{const t=n.get(e);this[t]=(null!==i||"boolean"!=typeof this[t])&&i})},e.observedAttributes=i.filter(([e,t])=>15&t[0]).map(([e,i])=>{const s=i[1]||e;return n.set(s,e),512&i[0]&&t.$attrsToReflect$.push([e,s]),s})}}return e},be=e=>{ue(e,"connectedCallback")},ve=e=>{if(0==(1&g.$flags$)){const t=Ce(e),i=t.$cmpMeta$,s=()=>{};if(1&t.$flags$)v(e,t,i.$listeners$),be(t.$lazyInstance$);else{let s;if(t.$flags$|=1,s=e.getAttribute("s-id"),s){if(f&&1&i.$flags$){const t=S(e.shadowRoot,i,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,i)=>{const s=e.shadowRoot,o=[],r=s?[]:null,a=i.$vnode$=T(t,null);g.$orgLocNodes$||fe(p.body,g.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),ge(a,o,[],r,e,e,n),o.map(e=>{const n=e.$hostId$+"."+e.$nodeId$,i=g.$orgLocNodes$.get(n),o=e.$elm$;i&&f&&""===i["s-en"]&&i.parentNode.insertBefore(o,i.nextSibling),s||(o["s-hn"]=t,i&&(o["s-ol"]=i,o["s-ol"]["s-nr"]=o)),g.$orgLocNodes$.delete(n)}),s&&r.map(e=>{e&&s.appendChild(e)})})(e,i.$tagName$,s,t)}s||12&i.$flags$&&ye(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ie(t,t.$ancestorComponent$=n);break}}i.$members$&&Object.entries(i.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Be(()=>(async(e,t,i,s,o)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(o=De(i)).then){const e=()=>{};o=await o,e()}o.isProxied||(i.$watchers$=o.watchers,me(o,i,2),o.isProxied=!0);const e=()=>{};t.$flags$|=8;try{new o(t)}catch(l){Ee(l)}t.$flags$&=-9,t.$flags$|=128,e(),be(t.$lazyInstance$)}if(o.style){let s=o.style;"string"!=typeof s&&(s=s[t.$modeName$=(e=>Me.map(t=>t(e)).find(e=>!!e))(e)]);const r=k(i,t.$modeName$);if(!Oe.has(r)){const e=()=>{};8&i.$flags$&&(s=await n.e(56).then(n.bind(null,"JmUR")).then(e=>e.scopeCss(s,r,!1))),A(r,s,!!(1&i.$flags$)),e()}}}const r=t.$ancestorComponent$,a=()=>se(t,!0);r&&r["s-rc"]?r["s-rc"].push(a):a()})(e,t,i))}s()}},ye=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},we=(e,t={})=>{const n=[],i=t.exclude||[],s=u.customElements,o=p.head,r=o.querySelector("meta[charset]"),a=p.createElement("style"),l=[],c=p.querySelectorAll("[sty-id]");let d,h=!0,m=0;for(Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,g.$flags$|=2;m<c.length;m++)A(c[m].getAttribute("sty-id"),c[m].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);e.map(e=>e[1].map(t=>{const o={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};o.$members$=t[2],o.$listeners$=t[3],o.$attrsToReflect$=[],o.$watchers$={},!f&&1&o.$flags$&&(o.$flags$|=8);const r=o.$tagName$,a=class extends HTMLElement{constructor(e){super(e),Se(e=this,o),1&o.$flags$&&(f?e.attachShadow({mode:"open",delegatesFocus:!!(16&o.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){d&&(clearTimeout(d),d=null),h?l.push(this):g.jmp(()=>ve(this))}disconnectedCallback(){g.jmp(()=>(e=>{if(0==(1&g.$flags$)){const t=Ce(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),g.$cssShim$&&g.$cssShim$.removeHost(e),ue(n,"disconnectedCallback")}})(this))}componentOnReady(){return Ce(this).$onReadyPromise$}};o.$lazyBundleId$=e[0],i.includes(r)||s.get(r)||(n.push(r),s.define(r,me(a,o,1)))})),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),o.insertBefore(a,r?r.nextSibling:o.firstChild),h=!1,l.length?l.map(e=>e.connectedCallback()):g.jmp(()=>d=setTimeout(de,30))},_e=e=>{const t=new URL(e,g.$resourcesUrl$);return t.origin!==u.location.origin?t.href:t.pathname},xe=new WeakMap,Ce=e=>xe.get(e),Ae=(e,t)=>xe.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.$listeners$),xe.set(e,n)},ke=(e,t)=>t in e,Ee=(e,t)=>(0,console.error)(e,t),Pe=new Map,De=(e,t,i)=>{const s=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,r=Pe.get(o);return r?r[s]:n("kLfG")(`./${o}.entry.js`).then(e=>(Pe.set(o,e),e[s]),Ee)},Oe=new Map,Me=[],Te=[],Ie=[],Re=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&g.$flags$?Be(Fe):g.raf(Fe))},Le=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Ee(t)}e.length=0},Fe=()=>{Le(Te),Le(Ie),(d=Te.length>0)&&g.raf(Fe)},Be=e=>m().then(e),ze=Re(Te,!1),Ve=Re(Ie,!0),Ne={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},y08P:function(e,t,n){"use strict";n.d(t,"a",function(){return o});class i{constructor(e,t,n,i,s){this.id=t,this.name=n,this.disableScroll=s,this.priority=1e6*i+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class s{constructor(e,t,n,i){this.id=t,this.disable=n,this.disableScroll=i,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const o=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){return new i(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}createBlocker(e={}){return new s(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const i=this.requestedStart;let s=-1e4;if(i.forEach(e=>{s=Math.max(s,e)}),s===n){this.capturedId=t,i.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return i.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}}},[[0,1]]]); \ No newline at end of file diff --git a/dist/main-es5.1f7bc32be92a0ed27143.js b/dist/main-es5.1f7bc32be92a0ed27143.js deleted file mode 100644 index 05174376e4..0000000000 --- a/dist/main-es5.1f7bc32be92a0ed27143.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function e(n){var i="function"==typeof Map?new Map:void 0;return(e=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(e))return i.get(e);i.set(e,r)}function r(){return t(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)})(n)}function t(e,n,i){return(t=u()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&o(r,n.prototype),r}).apply(null,arguments)}function i(e,t,n){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function r(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&&o(e,t)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=u();return function(){var n,i=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return s(this,n)}}function s(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 l(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}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 f(e,t){return g(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(l){s=!0,r=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}(e,t)||b(e,t)||p()}function p(){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 g(e){if(Array.isArray(e))return e}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function y(e){return function(e){if(Array.isArray(e))return _(e)}(e)||w(e)||b(e)||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.")}()}function b(e,t){if(e){if("string"==typeof e)return _(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)?_(e,t):void 0}}function w(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function k(e,t,n,i,r,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(i,r)}function x(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function a(e){k(o,i,r,a,s,"next",e)}function s(e){k(o,i,r,a,s,"throw",e)}a(void 0)})}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{0:function(e,t,n){e.exports=n("m9/o")},"1vRN":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return y}),n.d(t,"g",function(){return s}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return r}),n.d(t,"j",function(){return f}),n.d(t,"k",function(){return u}),n.d(t,"l",function(){return p}),n.d(t,"m",function(){return m}),n.d(t,"n",function(){return b}),n.d(t,"o",function(){return g}),n.d(t,"p",function(){return v}),n.d(t,"q",function(){return l});var i=function(e,t){e.componentOnReady?e.componentOnReady().then(function(e){return t(e)}):l(function(){return t(e)})},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return t.forEach(function(t){e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},o=function(e,t,n,i){if("undefined"!=typeof window){var r=window,o=r&&r.Ionic&&r.Ionic.config;if(o){var a=o.get("_ael");if(a)return a(e,t,n,i);if(o._ael)return o._ael(e,t,n,i)}}return e.addEventListener(t,n,i)},a=function(e,t,n,i){if("undefined"!=typeof window){var r=window,o=r&&r.Ionic&&r.Ionic.config;if(o){var a=o.get("_rel");if(a)return a(e,t,n,i);if(o._rel)return o._rel(e,t,n,i)}}return e.removeEventListener(t,n,i)},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return e.shadowRoot||t},l=function(e){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e)},u=function(e){return!!e.shadowRoot&&!!e.attachShadow},c=function(e){var t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},d=function(e,t){var n,i=e.getAttribute("aria-labelledby"),r=e.id,o=null!==i&&""!==i.trim()?i:t+"-lbl",a=null!==i&&""!==i.trim()?document.getElementById(i):c(e);return a?(null===i&&(a.id=o),n=a.textContent,a.setAttribute("aria-hidden","true")):""!==r.trim()&&((a=document.querySelector('label[for="'.concat(r,'"]')))&&(""!==a.id?o=a.id:a.id=o=r+"-lbl",n=a.textContent)),{label:a,labelId:o,labelText:n}},h=function(e,t,n,i,r){if(e||u(t)){var o=t.querySelector("input.aux-input");o||((o=t.ownerDocument.createElement("input")).type="hidden",o.classList.add("aux-input"),t.appendChild(o)),o.disabled=r,o.name=n,o.value=i||""}},f=function(e,t,n){return Math.max(e,Math.min(t,n))},p=function(e,t){if(!e){var n="ASSERT: "+t;throw console.error(n),new Error(n)}},g=function(e){return e.timeStamp||Date.now()},v=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},m=function(e){var t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error('"'.concat(e,'" is not a valid value for [side]. Use "start" or "end" instead.'))}},y=function(e,t){var n=e._original||e;return{_original:e,emit:b(n.emit.bind(n),t)}},b=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];clearTimeout(t),t=setTimeout.apply(void 0,[e,n].concat(r))}}},"39oe":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){try{if(e instanceof function(){return function e(t){A(this,e),this.value=t}}())return e.value;if(!a()||"string"!=typeof e||""===e)return e;var t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(function(e){for(var n=t.querySelectorAll(e),i=n.length-1;i>=0;i--){var a=n[i];a.parentNode?a.parentNode.removeChild(a):t.removeChild(a);for(var s=o(a),l=0;l<s.length;l++)r(s[l])}});for(var i=o(t),s=0;s<i.length;s++)r(i[s]);var u=document.createElement("div");u.appendChild(t);var c=u.querySelector("div");return null!==c?c.innerHTML:u.innerHTML}catch(d){return console.error(d),""}},r=function e(t){if(!t.nodeType||1===t.nodeType){for(var n=t.attributes.length-1;n>=0;n--){var i=t.attributes.item(n),r=i.name;if(s.includes(r.toLowerCase())){var a=i.value;null!=a&&a.toLowerCase().includes("javascript:")&&t.removeAttribute(r)}else t.removeAttribute(r)}for(var l=o(t),u=0;u<l.length;u++)e(l[u])}},o=function(e){return null!=e.children?e.children:e.childNodes},a=function(){var e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},s=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},"7OTs":function(e,t,n){"use strict";n.d(t,"a",function(){return L}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return C}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return E}),n.d(t,"h",function(){return O}),n.d(t,"i",function(){return s}),n.d(t,"j",function(){return T}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return f}),n.d(t,"n",function(){return R}),n.d(t,"o",function(){return g});var i=n("E/Mt"),r=n("B4Jq"),o=n("1vRN"),a=0,s=new WeakMap,l=function(e){return{create:function(t){return m(e,t)},dismiss:function(t,n,i){return k(document,t,n,e,i)},getTop:(t=x(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",A(document,e));case 1:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})};var t},u=l("ion-alert"),c=l("ion-action-sheet"),d=l("ion-loading"),h=l("ion-modal"),f=l("ion-picker"),p=l("ion-popover"),g=l("ion-toast"),v=function(e){"undefined"!=typeof document&&_(document);var t=a++;e.overlayIndex=t,e.hasAttribute("id")||(e.id="ion-overlay-"+t)},m=function(e,t){return"undefined"!=typeof customElements?customElements.whenDefined(e).then(function(){var n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),P(document).appendChild(n),new Promise(function(e){return Object(o.c)(n,e)})}):Promise.resolve()},b='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',w="input:not([type=hidden]), textarea, button, select",_=function(e){0===a&&(a=1,e.addEventListener("focus",function(t){return function(e,t){var n,i,r,a=A(t),s=e.target;if(a&&s)if(a===s)a.lastFocus=void 0;else{var l=Object(o.g)(a);if(!l.contains(s))return;var u=l.querySelector(".ion-overlay-wrapper");if(!u)return;if(u.contains(s))a.lastFocus=s;else{var c=a.lastFocus;n=a,i=u.querySelector(b),(r=i&&i.shadowRoot)&&(i=r.querySelector(w)||i),i?i.focus():n.focus(),c===t.activeElement&&function(e,t){var n=Array.from(e.querySelectorAll(b)),i=n.length>0?n[n.length-1]:null,r=i&&i.shadowRoot;r&&(i=r.querySelector(w)||i),i?i.focus():t.focus()}(u,a),a.lastFocus=t.activeElement}}}(t,e)},!0),e.addEventListener("ionBackButton",function(t){var n=A(e);n&&n.backdropDismiss&&t.detail.register(r.OVERLAY_BACK_BUTTON_PRIORITY,function(){return n.dismiss(void 0,L)})}),e.addEventListener("keyup",function(t){if("Escape"===t.key){var n=A(e);n&&n.backdropDismiss&&n.dismiss(void 0,L)}}))},k=function(e,t,n,i,r){var o=A(e,i,r);return o?o.dismiss(t,n):Promise.reject("overlay does not exist")},A=function(e,t,n){var i=function(e,t){return void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(function(e){return e.overlayIndex>0})}(e,t);return void 0===n?i[i.length-1]:i.find(function(e){return e.id===n})},C=function(){var e=x(regeneratorRuntime.mark(function e(t,n,r,o,a){var s,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.presented){e.next=2;break}return e.abrupt("return");case 2:return t.presented=!0,t.willPresent.emit(),s=Object(i.b)(t),l=t.enterAnimation?t.enterAnimation:i.c.get(n,"ios"===s?r:o),e.next=6,D(t,l,t.el,a);case 6:if(e.t0=e.sent,!e.t0){e.next=9;break}t.didPresent.emit();case 9:"ION-TOAST"!==t.el.tagName&&S(t.el),t.keyboardClose&&t.el.focus();case 11:case"end":return e.stop()}},e)}));return function(t,n,i,r,o){return e.apply(this,arguments)}}(),S=function(){var e=x(regeneratorRuntime.mark(function e(t){var n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=document.activeElement){e.next=3;break}return e.abrupt("return");case 3:return(i=n&&n.shadowRoot)&&(n=i.querySelector(w)||n),e.next=7,t.onDidDismiss();case 7:n.focus();case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=x(regeneratorRuntime.mark(function e(t,n,r,o,a,l,u){var c,d;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.presented){e.next=2;break}return e.abrupt("return",!1);case 2:if(t.presented=!1,e.prev=3,t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:n,role:r}),c=Object(i.b)(t),d=t.leaveAnimation?t.leaveAnimation:i.c.get(o,"ios"===c?a:l),e.t0="gesture"!==r,!e.t0){e.next=10;break}return e.next=10,D(t,d,t.el,u);case 10:t.didDismiss.emit({data:n,role:r}),s.delete(t),e.next=17;break;case 14:e.prev=14,e.t1=e.catch(3),console.error(e.t1);case 17:return e.abrupt("return",(t.el.remove(),!0));case 18:case"end":return e.stop()}},e,null,[[3,14]])}));return function(t,n,i,r,o,a,s){return e.apply(this,arguments)}}(),P=function(e){return e.querySelector("ion-app")||e.body},D=function(){var e=x(regeneratorRuntime.mark(function e(t,n,r,o){var a,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.classList.remove("overlay-hidden"),a=n(r.shadowRoot||t.el,o),t.animated&&i.c.getBoolean("animated",!0)||a.duration(0),t.keyboardClose&&a.beforeAddWrite(function(){var e=r.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()}),l=s.get(t)||[],s.set(t,[].concat(y(l),[a])),e.next=7,a.play();case 7:return e.abrupt("return",!0);case 8:case"end":return e.stop()}},e)}));return function(t,n,i,r){return e.apply(this,arguments)}}(),O=function(e,t){var n,i=new Promise(function(e){return n=e});return M(e,t,function(e){n(e.detail)}),i},M=function(e,t,n){Object(o.a)(e,t,function i(r){Object(o.b)(e,t,i),n(r)})},T=function(e){return"cancel"===e||e===L},I=function(e){return e()},R=function(e,t){if("function"==typeof e)return i.c.get("_zoneGate",I)(function(){try{return e(t)}catch(n){console.error(n)}})},L="backdrop"},B4Jq:function(e,t,n){"use strict";n.r(t),n.d(t,"MENU_BACK_BUTTON_PRIORITY",function(){return a}),n.d(t,"OVERLAY_BACK_BUTTON_PRIORITY",function(){return o}),n.d(t,"blockHardwareBackButton",function(){return i}),n.d(t,"startHardwareBackButton",function(){return r});var i=function(){document.addEventListener("backbutton",function(){})},r=function(){var e=document,t=!1;e.addEventListener("backbutton",function(){if(!t){var n=0,i=[],r=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register:function(e,t){i.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(r);!function e(){if(i.length>0){var n={priority:Number.MIN_SAFE_INTEGER,handler:function(){},id:-1};i.forEach(function(e){e.priority>=n.priority&&(n=e)}),t=!0,i=i.filter(function(e){return e.id!==n.id}),(r=x(regeneratorRuntime.mark(function t(n){var i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!n||!n.handler){t.next=7;break}if(i=n.handler(e),t.t0=null!=i,!t.t0){t.next=7;break}return t.next=7,i;case 7:t.next=12;break;case 9:t.prev=9,t.t1=t.catch(0),console.error(t.t1);case 12:case"end":return t.stop()}},t,null,[[0,9]])})),function(e){return r.apply(this,arguments)})(n).then(function(){return t=!1})}var r}()}})},o=100,a=99},"E/Mt":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return _}),n.d(t,"c",function(){return w}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return k});var i,r=n("wEJo"),o=function(e){return s(e)},a=function(e,t){return"string"==typeof e&&(t=e,e=void 0),o(e).includes(t)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(void 0===e)return[];e.Ionic=e.Ionic||{};var t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=l(e)).forEach(function(t){return e.document.documentElement.classList.add("plt-"+t)}),t},l=function(e){return Object.keys(b).filter(function(t){return b[t](e)})},u=function(e){return!!v(e,/iPad/i)||!(!v(e,/Macintosh/i)||!d(e))},c=function(e){return v(e,/android|sink/i)},d=function(e){return y(e,"(any-pointer:coarse)")},h=function(e){return p(e)||g(e)},p=function(e){return!!(e.cordova||e.phonegap||e.PhoneGap)},g=function(e){var t=e.Capacitor;return!(!t||!t.isNative)},v=function(e,t){return t.test(e.navigator.userAgent)},y=function(e,t){return e.matchMedia(t).matches},b={ipad:u,iphone:function(e){return v(e,/iPhone/i)},ios:function(e){return v(e,/iPhone|iPod/i)||u(e)},android:c,phablet:function(e){var t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),r=Math.max(t,n);return i>390&&i<520&&r>620&&r<800},tablet:function(e){var t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),r=Math.max(t,n);return u(e)||function(e){return c(e)&&!v(e,/mobile/i)}(e)||i>460&&i<820&&r>780&&r<1400},cordova:p,capacitor:g,electron:function(e){return v(e,/electron/i)},pwa:function(e){return!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone)},mobile:d,mobileweb:function(e){return d(e)&&!h(e)},desktop:function(e){return!d(e)},hybrid:h},w=new(function(){function e(){A(this,e),this.m=new Map}return m(e,[{key:"reset",value:function(e){this.m=new Map(Object.entries(e))}},{key:"get",value:function(e,t){var n=this.m.get(e);return void 0!==n?n:t}},{key:"getBoolean",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}},{key:"getNumber",value:function(e,t){var n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}},{key:"set",value:function(e,t){this.m.set(e,t)}}]),e}()),_=function(e){return e&&Object(r.i)(e)||i},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!=typeof window){var t=window.document,n=window,o=n.Ionic=n.Ionic||{};s(n);var l=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},function(e){try{var t=e.sessionStorage.getItem("ionic-persist-config");return null!==t?JSON.parse(t):{}}catch(n){return{}}}(n)),{persistConfig:!1}),o.config),function(e){var t={};return e.location.search.slice(1).split("&").map(function(e){return e.split("=")}).map(function(e){var t=f(e,2),n=t[0],i=t[1];return[decodeURIComponent(n),decodeURIComponent(i)]}).filter(function(e){return"ionic:"===f(e,1)[0].substr(0,"ionic:".length)}).map(function(e){var t=f(e,2),n=t[0],i=t[1];return[n.slice("ionic:".length),i]}).forEach(function(e){var n=f(e,2),i=n[0],r=n[1];t[i]=r}),t}(n)),e);w.reset(l),w.getBoolean("persistConfig")&&function(e,t){try{e.sessionStorage.setItem("ionic-persist-config",JSON.stringify(t))}catch(n){return}}(n,l),o.config=w,o.mode=i=w.get("mode",t.documentElement.getAttribute("mode")||(a(n,"ios")?"ios":"md")),w.set("mode",i),t.documentElement.setAttribute("mode",i),t.documentElement.classList.add(i),w.getBoolean("_testing")&&w.set("animated",!1);var u=function(e){return e.tagName&&e.tagName.startsWith("ION-")},c=function(e){return["ios","md"].includes(e)};Object(r.p)(function(e){for(;e;){var t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;u(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return i})}}},Hfs6:function(e,t,n){var i,r,o;!function(a){if("object"==typeof e.exports){var s=a(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},MYvV: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="MYvV"},RQGG:function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",function(){return o});var i=n("meiF"),r=n("k4ps");n("1vRN"),n("wEJo");var o=function(e,t){var n="back"===t.direction,o=t.enteringEl,a=t.leavingEl,s=Object(r.g)(o),l=s.querySelector("ion-toolbar"),u=Object(i.a)();if(u.addElement(s).fill("both").beforeRemoveClass("ion-page-invisible"),n?u.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):u.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){var c=Object(i.a)();c.addElement(l),u.addAnimation(c)}if(a&&n){u.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var d=Object(i.a)();d.addElement(Object(r.g)(a)).onFinish(function(e){1===e&&d.elements.length>0&&d.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),u.addAnimation(d)}return u}},b0Xh:function(e,t,i){var r;(function(){var i=function e(t){return t instanceof e?t:this instanceof e?void(this.EXIFwrapped=t):new e(t)};e.exports&&(t=e.exports=i),t.EXIF=i;var o=i.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},a=i.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},s=i.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=i.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},u=i.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function c(e){return!!e.exifdata}function d(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return m(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var h={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function f(e,t,n){for(var i,r,o,a,s=new DataView(e),l={},u=t;u<t+n;)28===s.getUint8(u)&&2===s.getUint8(u+1)&&(a=s.getUint8(u+2))in h&&(o=s.getInt16(u+3),r=h[a],i=v(s,u+5,o),l.hasOwnProperty(r)?l[r]instanceof Array?l[r].push(i):l[r]=[l[r],i]:l[r]=i),u++;return l}function p(e,t,n,i,r){var o,a,s=e.getUint16(n,!r),l={};for(a=0;a<s;a++)l[i[e.getUint16(o=n+12*a+2,!r)]]=g(e,o,t,0,r);return l}function g(e,t,n,i,r){var o,a,s,l,u,c,d=e.getUint16(t+2,!r),h=e.getUint32(t+4,!r),f=e.getUint32(t+8,!r)+n;switch(d){case 1:case 7:if(1==h)return e.getUint8(t+8,!r);for(o=h>4?f:t+8,a=[],l=0;l<h;l++)a[l]=e.getUint8(o+l);return a;case 2:return v(e,o=h>4?f:t+8,h-1);case 3:if(1==h)return e.getUint16(t+8,!r);for(o=h>2?f:t+8,a=[],l=0;l<h;l++)a[l]=e.getUint16(o+2*l,!r);return a;case 4:if(1==h)return e.getUint32(t+8,!r);for(a=[],l=0;l<h;l++)a[l]=e.getUint32(f+4*l,!r);return a;case 5:if(1==h)return u=e.getUint32(f,!r),c=e.getUint32(f+4,!r),(s=new Number(u/c)).numerator=u,s.denominator=c,s;for(a=[],l=0;l<h;l++)u=e.getUint32(f+8*l,!r),c=e.getUint32(f+4+8*l,!r),a[l]=new Number(u/c),a[l].numerator=u,a[l].denominator=c;return a;case 9:if(1==h)return e.getInt32(t+8,!r);for(a=[],l=0;l<h;l++)a[l]=e.getInt32(f+4*l,!r);return a;case 10:if(1==h)return e.getInt32(f,!r)/e.getInt32(f+4,!r);for(a=[],l=0;l<h;l++)a[l]=e.getInt32(f+8*l,!r)/e.getInt32(f+4+8*l,!r);return a}}function v(e,t,i){var r="";for(n=t;n<t+i;n++)r+=String.fromCharCode(e.getUint8(n));return r}function m(e,t){if("Exif"!=v(e,t,4))return!1;var n,i,r,c,d,h=t+6;if(18761==e.getUint16(h))n=!1;else{if(19789!=e.getUint16(h))return!1;n=!0}if(42!=e.getUint16(h+2,!n))return!1;var f=e.getUint32(h+4,!n);if(f<8)return!1;if((i=p(e,h,h+f,a,n)).ExifIFDPointer)for(r in c=p(e,h,h+i.ExifIFDPointer,o,n)){switch(r){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":c[r]=u[r][c[r]];break;case"ExifVersion":case"FlashpixVersion":c[r]=String.fromCharCode(c[r][0],c[r][1],c[r][2],c[r][3]);break;case"ComponentsConfiguration":c[r]=u.Components[c[r][0]]+u.Components[c[r][1]]+u.Components[c[r][2]]+u.Components[c[r][3]]}i[r]=c[r]}if(i.GPSInfoIFDPointer)for(r in d=p(e,h,h+i.GPSInfoIFDPointer,s,n)){switch(r){case"GPSVersionID":d[r]=d[r][0]+"."+d[r][1]+"."+d[r][2]+"."+d[r][3]}i[r]=d[r]}return i.thumbnail=function(e,t,n,i){var r=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!r)return{};if(r>e.byteLength)return{};var o=p(e,t,t+r,l,i);if(o.Compression)switch(o.Compression){case 6:o.JpegIFOffset&&o.JpegIFByteCount&&(o.blob=new Blob([new Uint8Array(e.buffer,t+o.JpegIFOffset,o.JpegIFByteCount)],{type:"image/jpeg"}));break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,h,f,n),i}function y(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var r=0;r<e.childNodes.length;r++){var o=e.childNodes.item(r),a=o.nodeName;if(null==t[a])t[a]=y(o);else{if(null==t[a].push){var s=t[a];t[a]=[],t[a].push(s)}t[a].push(y(o))}}return t}function b(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),r=i.attributes;for(var o in r){var a=r[o],s=a.nodeName;void 0!==s&&(t[s]=a.nodeValue)}var l=i.nodeName;if(void 0===t[l])t[l]=y(i);else{if(void 0===t[l].push){var u=t[l];t[l]=[],t[l].push(u)}t[l].push(y(i))}}else t=e.textContent;return t}catch(c){console.log(c.message)}}i.enableXmp=function(){i.isXmpEnabled=!0},i.disableXmp=function(){i.isXmpEnabled=!1},i.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(c(e)?t&&t.call(e):function(e,t){function n(n){var r=d(n);e.exifdata=r||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,r=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(r(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),f(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},i.isXmpEnabled){var a=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,r=new DOMParser;n<i-4;){if("http"==v(t,n,4)){var o=n-1,a=t.getUint16(n-2)-1,s=v(t,o,a),l=s.indexOf("xmpmeta>")+8,u=(s=s.substring(s.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return s=s.slice(0,u)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+s.slice(u),b(r.parseFromString(s,"text/xml"))}n++}}}(n);e.xmpdata=a||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,r=new ArrayBuffer(i),o=new Uint8Array(r),a=0;a<i;a++)o[a]=n.charCodeAt(a);return r}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){200!=this.status&&0!==this.status||o.readAsArrayBuffer(this.response)},n.send()}(e.src);else{var r=new XMLHttpRequest;r.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(r.response),r=null},r.open("GET",e.src,!0),r.responseType="arraybuffer",r.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}(e,t),0))},i.getTag=function(e,t){if(c(e))return e.exifdata[t]},i.getIptcTag=function(e,t){if(c(e))return e.iptcdata[t]},i.getAllTags=function(e){if(!c(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.getAllIptcTags=function(e){if(!c(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.pretty=function(e){if(!c(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&(i+="object"==typeof n[t]?n[t]instanceof Number?t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":t+" : ["+n[t].length+" values]\r\n":t+" : "+n[t]+"\r\n");return i},i.readFromBinaryFile=function(e){return d(e)},void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}).call(this)},bC4P:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e,t,n,i,a){return o(e[1],t[1],n[1],i[1],a).map(function(o){return r(e[0],t[0],n[0],i[0],o)})},r=function(e,t,n,i,r){return r*(3*t*Math.pow(r-1,2)+r*(-3*n*r+3*n+i*r))-e*Math.pow(r-1,3)},o=function(e,t,n,i,r){return a((i-=r)-3*(n-=r)+3*(t-=r)-(e-=r),3*n-6*t+3*e,3*t-3*e,e).filter(function(e){return e>=0&&e<=1})},a=function(e,t,n,i){if(0===e)return function(e,t,n){var i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]}(t,n,i);var r=(3*(n/=e)-(t/=e)*t)/3,o=(2*t*t*t-9*t*n+27*(i/=e))/27;if(0===r)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-r),-Math.sqrt(-r)];var a=Math.pow(o/2,2)+Math.pow(r/3,3);if(0===a)return[Math.pow(o/2,.5)-t/3];if(a>0)return[Math.pow(-o/2+Math.sqrt(a),1/3)-Math.pow(o/2+Math.sqrt(a),1/3)-t/3];var s=Math.sqrt(Math.pow(-r/3,3)),l=Math.acos(-o/(2*Math.sqrt(Math.pow(-r/3,3)))),u=2*Math.pow(s,1/3);return[u*Math.cos(l/3)-t/3,u*Math.cos((l+2*Math.PI)/3)-t/3,u*Math.cos((l+4*Math.PI)/3)-t/3]}},iWo5:function(e,t,n){"use strict";n.r(t),n.d(t,"createGesture",function(){return l});var i=n("y08P");n.d(t,"GESTURE_CONTROLLER",function(){return i.a});var r,o=function(e,t,n,i){var r,o,s=a(e)?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",o="__zone_symbol__removeEventListener"):(r="addEventListener",o="removeEventListener"),e[r](t,n,s),function(){e[o](t,n,s)}},a=function(e){if(void 0===r)try{var t=Object.defineProperty({},"passive",{get:function(){r=!0}});e.addEventListener("optsTest",function(){},t)}catch(n){r=!1}return!!r},s=function(e){return e instanceof Document?e:e.ownerDocument},l=function(e){var t=!1,n=!1,r=!0,a=!1,l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),h=l.canStart,f=l.onWillStart,p=l.onStart,g=l.onEnd,v=l.notCaptured,m=l.onMove,y=l.threshold,b=l.passive,w=l.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},k=function(e,t,n){var i=n*(Math.PI/180),r="x"===e,o=Math.cos(i),a=t*t,s=0,l=0,u=!1,c=0;return{start:function(e,t){s=e,l=t,c=0,u=!0},detect:function(e,t){if(!u)return!1;var n=e-s,i=t-l,d=n*n+i*i;if(d<a)return!1;var h=Math.sqrt(d),f=(r?n:i)/h;return c=f>o?1:f<-o?-1:0,u=!1,!0},isGesture:function(){return 0!==c},getDirection:function(){return c}}}(l.direction,l.threshold,l.maxAngle),x=i.a.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),A=function(){t&&(a=!1,m&&m(_))},C=function(){return!(x&&!x.capture()||(t=!0,r=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,f?f(_).then(S):S(),0))},S=function(){w&&function(){if("undefined"!=typeof document){var e=document.activeElement;null!==e&&e.blur&&e.blur()}}(),p&&p(_),r=!0},E=function(){t=!1,n=!1,a=!1,r=!0,x.release()},P=function(e){var n=t,i=r;E(),i&&(u(_,e),n?g&&g(_):v&&v(_))},D=function(e,t,n,i,r){var a,l,u,c,d,h,f,p=0,g=function(i){p=Date.now()+2e3,t(i)&&(!l&&n&&(l=o(e,"touchmove",n,r)),u||(u=o(e,"touchend",m,r)),c||(c=o(e,"touchcancel",m,r)))},v=function(i){p>Date.now()||t(i)&&(!h&&n&&(h=o(s(e),"mousemove",n,r)),f||(f=o(s(e),"mouseup",y,r)))},m=function(e){b(),i&&i(e)},y=function(e){w(),i&&i(e)},b=function(){l&&l(),u&&u(),c&&c(),l=u=c=void 0},w=function(){h&&h(),f&&f(),h=f=void 0},_=function(){b(),w()},k=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t?(a||(a=o(e,"touchstart",g,r)),d||(d=o(e,"mousedown",v,r))):(a&&a(),d&&d(),a=d=void 0,_())};return{enable:k,stop:_,destroy:function(){k(!1),i=n=t=void 0}}}(l.el,function(e){var t=d(e);return!(n||!r)&&(c(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!h||!1!==h(_))&&(x.release(),!!x.start()&&(n=!0,0===y?C():(k.start(_.startX,_.startY),!0))))},function(e){t?!a&&r&&(a=!0,u(_,e),requestAnimationFrame(A)):(u(_,e),k.detect(_.currentX,_.currentY)&&(k.isGesture()&&C()||O()))},P,{capture:!1,passive:b}),O=function(){E(),D.stop(),v&&v(_)};return{enable:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e||(t&&P(void 0),E()),D.enable(e)},destroy:function(){x.destroy(),D.destroy()}}},u=function(e,t){if(t){var n=e.currentX,i=e.currentY,r=e.currentTime;c(t,e);var o=e.currentX,a=e.currentY,s=(e.currentTime=d(t))-r;if(s>0&&s<100){var l=(a-i)/s;e.velocityX=(o-n)/s*.7+.3*e.velocityX,e.velocityY=.7*l+.3*e.velocityY}e.deltaX=o-e.startX,e.deltaY=a-e.startY,e.event=t}},c=function(e,t){var n=0,i=0;if(e){var r=e.changedTouches;if(r&&r.length>0){var o=r[0];n=o.clientX,i=o.clientY}else void 0!==e.pageX&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},d=function(e){return e.timeStamp||Date.now()}},k4ps:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return C}),n.d(t,"g",function(){return P}),n.d(t,"h",function(){return k}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return c});var i=n("wEJo"),r=n("1vRN"),o="ionViewWillEnter",a="ionViewDidEnter",s="ionViewWillLeave",l="ionViewDidLeave",u="ionViewWillUnload",c=function(e){return new Promise(function(t,n){Object(i.f)(function(){d(e),h(e).then(function(n){n.animation&&n.animation.destroy(),f(e),t(n)},function(t){f(e),n(t)})})})},d=function(e){var t=e.enteringEl,n=e.leavingEl;E(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),S(t,!1),n&&S(n,!1)},h=function(){var e=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t);case 2:return n=e.sent,e.abrupt("return",n&&i.a.isBrowser?g(n,t):v(t));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),f=function(e){var t=e.leavingEl;e.enteringEl.classList.remove("ion-page-invisible"),void 0!==t&&t.classList.remove("ion-page-invisible")},p=function(){var e=x(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.leavingEl||!t.animated||0===t.duration){e.next=16;break}if(!t.animationBuilder){e.next=5;break}e.t0=t.animationBuilder,e.next=15;break;case 5:if("ios"!==t.mode){e.next=11;break}return e.next=8,Promise.resolve().then(n.bind(null,"lTIg"));case 8:e.t1=e.sent.iosTransitionAnimation,e.next=14;break;case 11:return e.next=13,Promise.resolve().then(n.bind(null,"RQGG"));case 13:e.t1=e.sent.mdTransitionAnimation;case 14:e.t0=e.t1;case 15:return e.abrupt("return",e.t0);case 16:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=x(regeneratorRuntime.mark(function e(t,n){var i,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m(n,!0);case 2:return i=t(n.baseEl,n),w(n.enteringEl,n.leavingEl),e.next=6,b(i,n);case 6:return r=e.sent,e.abrupt("return",(n.progressCallback&&n.progressCallback(void 0),r&&_(n.enteringEl,n.leavingEl),{hasCompleted:r,animation:i}));case 8:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),v=function(){var e=x(regeneratorRuntime.mark(function e(t){var n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.enteringEl,i=t.leavingEl,e.next=3,m(t,!1);case 3:return w(n,i),_(n,i),e.abrupt("return",{hasCompleted:!0});case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=x(regeneratorRuntime.mark(function e(t,n){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=(void 0!==t.deepWait?t.deepWait:n)?[C(t.enteringEl),C(t.leavingEl)]:[A(t.enteringEl),A(t.leavingEl)],e.next=3,Promise.all(i);case 3:return e.next=5,y(t.viewIsReady,t.enteringEl);case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),y=function(){var e=x(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=t,!e.t0){e.next=4;break}return e.next=4,t(n);case 4:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),b=function(e,t){var n=t.progressCallback,i=new Promise(function(t){e.onFinish(function(e){return t(1===e)})});return n?(e.progressStart(!0),n(e)):e.play(),i},w=function(e,t){k(t,s),k(e,o)},_=function(e,t){k(e,a),k(t,l)},k=function(e,t){if(e){var n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},A=function(e){return e?new Promise(function(t){return Object(r.c)(e,t)}):Promise.resolve()},C=function(){var e=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t)){e.next=12;break}if(e.t0=null!=n.componentOnReady,!e.t0){e.next=8;break}return e.next=6,n.componentOnReady();case 6:e.t1=e.sent,e.t0=null!=e.t1;case 8:if(!e.t0){e.next=10;break}return e.abrupt("return");case 10:return e.next=12,Promise.all(Array.from(n.children).map(C));case 12:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),S=function(e,t){t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},E=function(e,t,n){void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},P=function(e){return e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e}},kLfG:function(e,t,n){var i={"./ion-action-sheet.entry.js":["dUtr",0,12],"./ion-alert.entry.js":["Q8AI",0,13],"./ion-app_8.entry.js":["hgI1",0,14],"./ion-avatar_3.entry.js":["CfoV",0,15],"./ion-back-button.entry.js":["Nt02",0,16],"./ion-backdrop.entry.js":["Q2Bp",17],"./ion-button_2.entry.js":["0Pbj",0,18],"./ion-card_5.entry.js":["ydQj",0,19],"./ion-checkbox.entry.js":["4fMi",0,20],"./ion-chip.entry.js":["czK9",0,21],"./ion-col_3.entry.js":["/CAe",22],"./ion-datetime_3.entry.js":["WgF3",0,23],"./ion-fab_3.entry.js":["uQcF",0,24],"./ion-img.entry.js":["wHD8",25],"./ion-infinite-scroll_2.entry.js":["2lz6",26],"./ion-input.entry.js":["ercB",0,27],"./ion-item-option_3.entry.js":["MGMP",0,28],"./ion-item_8.entry.js":["9bur",0,29],"./ion-loading.entry.js":["cABk",0,30],"./ion-menu_3.entry.js":["kyFE",0,31],"./ion-modal.entry.js":["TvZU",0,32],"./ion-nav_2.entry.js":["vnES",0,33],"./ion-popover.entry.js":["qCuA",0,34],"./ion-progress-bar.entry.js":["0tOe",0,35],"./ion-radio_2.entry.js":["h11V",0,36],"./ion-range.entry.js":["XGij",0,37],"./ion-refresher_2.entry.js":["nYbb",0,38],"./ion-reorder_2.entry.js":["smMY",0,39],"./ion-ripple-effect.entry.js":["STjf",40],"./ion-route_4.entry.js":["k5eQ",0,41],"./ion-searchbar.entry.js":["OR5t",0,42],"./ion-segment_2.entry.js":["fSgp",0,43],"./ion-select_3.entry.js":["lfGF",0,44],"./ion-slide_2.entry.js":["5xYT",45],"./ion-spinner.entry.js":["nI0H",0,46],"./ion-split-pane.entry.js":["NAQR",47],"./ion-tab-bar_2.entry.js":["knkW",0,48],"./ion-tab_2.entry.js":["TpdJ",0,49],"./ion-text.entry.js":["ISmu",0,50],"./ion-textarea.entry.js":["U7LX",0,51],"./ion-toast.entry.js":["L3sA",0,52],"./ion-toggle.entry.js":["IUOf",0,53],"./ion-virtual-scroll.entry.js":["8Mb5",54]};function r(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(r)})}r.keys=function(){return Object.keys(i)},r.id="kLfG",e.exports=r},kiQV:function(e){e.exports=JSON.parse('{"name":"parapheur","version":"21.03.12","description":"Annoter ou Signer vos documents sur votre tablette","homepage":"https://labs.maarch.org/maarch/MaarchParapheur","engines":{"npm":"6.14.5","node":"14.4.0"},"scripts":{"dep-list":"npm list --depth=0","check-update":"ncu","upgrade":"ncu -u","lint":"eslint -c .eslintrc.js --ext .ts src/frontend","lint-fix":"eslint -c .eslintrc.js --ext .ts src/frontend/ --fix","reload-packages":"rm -Rf node_modules && rm package-lock.json && npm cache clean --force && npm i","reload-packages-prod":"rm -Rf node_modules && rm package-lock.json && npm cache clean --force && npm i --production","build":"ng build","build-watch":"ng build --watch","build-prod":"ng build --prod","build-release":"npm run build-prod && npm run reload-packages-prod"},"private":true,"keywords":[],"author":"Maarch","license":"GPL-3.0","dependencies":{"core-js":"3.6.4","tslib":"2.1.0","zone.js":"0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"0.1100.7","@angular-eslint/eslint-plugin":"2.0.2","@angular/animations":"11.2.6","@angular/cdk":"11.2.5","@angular/cli":"11.2.5","@angular/common":"11.2.6","@angular/compiler":"11.2.6","@angular/compiler-cli":"11.2.6","@angular/core":"11.2.6","@angular/forms":"11.2.6","@angular/language-service":"11.2.6","@angular/material":"11.2.5","@angular/platform-browser":"11.2.6","@angular/platform-browser-dynamic":"11.2.6","@angular/router":"11.2.6","@biesbjerg/ngx-translate-extract":"6.0.3","@fortawesome/fontawesome-free":"5.15.3","@ionic/angular":"5.6.3","@ngrx/store":"9.2.1","@ngrx/store-devtools":"9.2.1","@ngx-translate/core":"12.1.2","@ngx-translate/http-loader":"4.0.0","@peculiar/fortify-webcomponents":"0.17.3","@types/hammerjs":"2.0.39","@types/jasmine":"3.6.7","@types/jasminewd2":"2.0.8","@types/jquery":"3.5.5","@types/node":"13.13.47","@typescript-eslint/eslint-plugin":"4.19.0","@typescript-eslint/eslint-plugin-tslint":"4.19.0","@typescript-eslint/parser":"4.19.0","angular2-draggable":"2.3.2","angular2-signaturepad":"3.0.4","codelyzer":"5.1.2","eslint":"7.22.0","eslint-config-prettier":"8.1.0","eslint-plugin-import":"2.22.1","exif-js":"2.3.0","hammerjs":"2.0.8","jquery":"3.6.0","ngx-cookie-service":"3.0.3","ngx-drag-scroll":"9.0.0-beta.4","ngx-extended-pdf-viewer":"5.0.1","ngx-pipes":"2.7.3","npm-check-updates":"4.1.0","prettier":"2.2.1","rxjs":"6.6.6","stylus":"0.54.7","stylus-loader":"3.0.2","tslint":"6.1.0","typescript":"4.0.5","typescript-tools":"0.3.1"},"repository":{}}')},lTIg:function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",function(){return f}),n.d(t,"shadow",function(){return a});var i=n("meiF"),r=n("k4ps");n("1vRN"),n("wEJo");var o=function(e){return document.querySelector(e+".ion-cloned-element")},a=function(e){return e.shadowRoot||e},s=function(e){var t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){var i=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=i?i.querySelector(n):null}return e.querySelector(n)},l=function(e,t){var n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),i=[];if(null!=n){var r=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=r&&(i=r.querySelectorAll("ion-buttons"))}else i=e.querySelectorAll("ion-buttons");var o,a=h(i);try{for(a.s();!(o=a.n()).done;){var s=o.value,l=s.closest("ion-header"),u=l&&!l.classList.contains("header-collapse-condense-inactive"),c=s.querySelector("ion-back-button"),d=s.classList.contains("buttons-collapse"),f="start"===s.slot||""===s.slot;if(null!==c&&f&&(d&&u&&t||!d))return c}}catch(p){a.e(p)}finally{a.f()}return null},u=function(e,t,n,r,s,l){var u=t?"calc(100% - ".concat(l.right+4,"px)"):l.left-4+"px",c=t?"7px":"-7px",d=t?"-4px":"4px",h=t?"-4px":"4px",f=t?"right":"left",p=t?"left":"right",g=n?[{offset:0,opacity:1,transform:"translate3d(".concat(d,", ").concat(l.top-46,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(c,", ").concat(s.top-40,"px, 0) scale(2.1)")}]:[{offset:0,opacity:0,transform:"translate3d(".concat(c,", ").concat(s.top-40,"px, 0) scale(2.1)")},{offset:1,opacity:1,transform:"translate3d(".concat(d,", ").concat(l.top-46,"px, 0) scale(1)")}],v=n?[{offset:0,opacity:1,transform:"translate3d(".concat(h,", ").concat(l.top-46,"px, 0) scale(1)")},{offset:.2,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")}]:[{offset:0,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:1,transform:"translate3d(".concat(h,", ").concat(l.top-46,"px, 0) scale(1)")}],m=Object(i.a)(),y=Object(i.a)(),b=o("ion-back-button"),w=a(b).querySelector(".button-text"),_=a(b).querySelector("ion-icon");b.text=r.text,b.mode=r.mode,b.icon=r.icon,b.color=r.color,b.disabled=r.disabled,b.style.setProperty("display","block"),b.style.setProperty("position","fixed"),y.addElement(_),m.addElement(w),m.beforeStyles({"transform-origin":f+" center"}).beforeAddWrite(function(){r.style.setProperty("display","none"),b.style.setProperty(f,u)}).afterAddWrite(function(){r.style.setProperty("display",""),b.style.setProperty("display","none"),b.style.removeProperty(f)}).keyframes(g),y.beforeStyles({"transform-origin":p+" center"}).keyframes(v),e.addAnimation([m,y])},c=function(e,t,n,r,a,s){var l=t?"calc(100% - ".concat(a.right,"px)"):a.left+"px",u=t?"-18px":"18px",c=t?"right":"left",h=n?[{offset:0,opacity:0,transform:"translate3d(".concat(u,", ").concat(s.top-4,"px, 0) scale(0.49)")},{offset:.1,opacity:0},{offset:1,opacity:1,transform:"translate3d(0, ".concat(a.top-2,"px, 0) scale(1)")}]:[{offset:0,opacity:.99,transform:"translate3d(0, ".concat(a.top-2,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(u,", ").concat(s.top-4,"px, 0) scale(0.5)")}],f=o("ion-title"),p=Object(i.a)();f.innerText=r.innerText,f.size=r.size,f.color=r.color,p.addElement(f),p.beforeStyles(d({"transform-origin":c+" center",height:"46px",display:"",position:"relative"},c,l)).beforeAddWrite(function(){r.style.setProperty("display","none")}).afterAddWrite(function(){r.style.setProperty("display",""),f.style.setProperty("display","none")}).keyframes(h),e.addAnimation(p)},f=function(e,t){try{var n="opacity",o="transform",d="0%",h="rtl"===e.ownerDocument.dir,f=h?"-99.5%":"99.5%",p=h?"33%":"-33%",g=t.enteringEl,v=t.leavingEl,m="back"===t.direction,y=g.querySelector(":scope > ion-content"),b=g.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=g.querySelectorAll(":scope > ion-header > ion-toolbar"),_=Object(i.a)(),k=Object(i.a)();if(_.addElement(g).duration(t.duration||540).easing(t.easing||"cubic-bezier(0.32,0.72,0,1)").fill("both").beforeRemoveClass("ion-page-invisible"),v&&e){var x=Object(i.a)();x.addElement(e),_.addAnimation(x)}if(y||0!==w.length||0!==b.length?(k.addElement(y),k.addElement(b)):k.addElement(g.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),_.addAnimation(k),m?k.beforeClearStyles([n]).fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")).fromTo(n,.8,1):k.beforeClearStyles([n]).fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")),y){var A=a(y).querySelector(".transition-effect");if(A){var C=A.querySelector(".transition-cover"),S=A.querySelector(".transition-shadow"),E=Object(i.a)(),P=Object(i.a)(),D=Object(i.a)();E.addElement(A).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),P.addElement(C).beforeClearStyles([n]).fromTo(n,0,.1),D.addElement(S).beforeClearStyles([n]).fromTo(n,.03,.7),E.addAnimation([P,D]),k.addAnimation([E])}}var O=g.querySelector("ion-header.header-collapse-condense"),M=function(e,t,n,i,r){var o=l(i,n),a=s(r),d=s(i),h=l(r,n),f=null!==o&&null!==a&&!n,p=null!==d&&null!==h&&n;if(f){var g=a.getBoundingClientRect(),v=o.getBoundingClientRect();c(e,t,n,a,g,v),u(e,t,n,o,g,v)}else if(p){var m=d.getBoundingClientRect(),y=h.getBoundingClientRect();c(e,t,n,d,m,y),u(e,t,n,h,m,y)}return{forward:f,backward:p}}(_,h,m,g,v),T=M.forward,I=M.backward;if(w.forEach(function(e){var t=Object(i.a)();t.addElement(e),_.addAnimation(t);var r=Object(i.a)();r.addElement(e.querySelector("ion-title"));var o,s=Object(i.a)(),l=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),u=e.closest("ion-header"),c=u&&u.classList.contains("header-collapse-condense-inactive");o=l.filter(m?function(e){var t=e.classList.contains("buttons-collapse");return t&&!c||!t}:function(e){return!e.classList.contains("buttons-collapse")}),s.addElement(o);var g=Object(i.a)();g.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));var v=Object(i.a)();v.addElement(a(e).querySelector(".toolbar-background"));var y=Object(i.a)(),b=e.querySelector("ion-back-button");if(b&&y.addElement(b),t.addAnimation([r,s,g,v,y]),s.fromTo(n,.01,1),g.fromTo(n,.01,1),m)c||r.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")).fromTo(n,.01,1),g.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")),y.fromTo(n,.01,1);else if(O||r.fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")).fromTo(n,.01,1),g.fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")),v.beforeClearStyles([n,"transform"]),(null==u?void 0:u.translucent)?v.fromTo("transform",h?"translateX(-100%)":"translateX(100%)","translateX(0px)"):v.fromTo(n,.01,"var(--opacity)"),T||y.fromTo(n,.01,1),b&&!T){var w=Object(i.a)();w.addElement(a(b).querySelector(".button-text")).fromTo("transform",h?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(w)}}),v){var R=Object(i.a)(),L=v.querySelector(":scope > ion-content"),F=v.querySelectorAll(":scope > ion-header > ion-toolbar"),B=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==F.length||0!==B.length?(R.addElement(L),R.addElement(B)):R.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),_.addAnimation(R),m){R.beforeClearStyles([n]).fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)");var z=Object(r.g)(v);_.afterAddWrite(function(){"normal"===_.getDirection()&&z.style.setProperty("display","none")})}else R.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).fromTo(n,1,.8);if(L){var V=a(L).querySelector(".transition-effect");if(V){var N=V.querySelector(".transition-cover"),H=V.querySelector(".transition-shadow"),j=Object(i.a)(),U=Object(i.a)(),W=Object(i.a)();j.addElement(V).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),U.addElement(N).beforeClearStyles([n]).fromTo(n,.1,0),W.addElement(H).beforeClearStyles([n]).fromTo(n,.7,.03),j.addAnimation([U,W]),R.addAnimation([j])}}F.forEach(function(e){var t=Object(i.a)();t.addElement(e);var r=Object(i.a)();r.addElement(e.querySelector("ion-title"));var s=Object(i.a)(),l=e.querySelectorAll("ion-buttons,[menuToggle]"),u=e.closest("ion-header"),c=u&&u.classList.contains("header-collapse-condense-inactive"),f=Array.from(l).filter(function(e){var t=e.classList.contains("buttons-collapse");return t&&!c||!t});s.addElement(f);var g=Object(i.a)(),v=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");v.length>0&&g.addElement(v);var y=Object(i.a)();y.addElement(a(e).querySelector(".toolbar-background"));var b=Object(i.a)(),w=e.querySelector("ion-back-button");if(w&&b.addElement(w),t.addAnimation([r,s,g,b,y]),_.addAnimation(t),b.fromTo(n,.99,0),s.fromTo(n,.99,0),g.fromTo(n,.99,0),m){if(c||r.fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)").fromTo(n,.99,0),g.fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([n,"transform"]),(null==u?void 0:u.translucent)?y.fromTo("transform","translateX(0px)",h?"translateX(-100%)":"translateX(100%)"):y.fromTo(n,"var(--opacity)",0),w&&!I){var k=Object(i.a)();k.addElement(a(w).querySelector(".button-text")).fromTo("transform","translateX(".concat(d,")"),"translateX(".concat((h?-124:124)+"px",")")),t.addAnimation(k)}}else c||r.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).fromTo(n,.99,0).afterClearStyles([o,n]),g.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).afterClearStyles([o,n]),b.afterClearStyles([n]),r.afterClearStyles([n]),s.afterClearStyles([n])})}return _}catch(G){throw G}}},"m9/o":function(n,o,u){"use strict";function v(e){return"function"==typeof e}u.r(o);var _=!1,k={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 _&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_=e},get useDeprecatedSynchronousErrorHandling(){return _}};function x(e){setTimeout(function(){throw e},0)}var C={closed:!0,next:function(e){},error:function(e){if(k.useDeprecatedSynchronousErrorHandling)throw e;x(e)},complete:function(){}},S=Array.isArray||function(e){return e&&"number"==typeof e.length};function E(e){return null!==e&&"object"==typeof e}var P,D=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}(),O=((P=function(){function e(t){A(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return m(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,r=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a<n.length;++a)n[a].remove(this);if(v(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(c){t=c instanceof D?M(c.errors):[c]}}if(S(o))for(var s=-1,l=o.length;++s<l;){var u=o[s];if(E(u))try{u.unsubscribe()}catch(c){t=t||[],c instanceof D?t=t.concat(M(c.errors)):t.push(c)}}if(t)throw new D(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 i=n;(n=new e)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new P),P);function M(e){return e.reduce(function(e,t){return e.concat(t instanceof D?t.errors:t)},[])}var T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),I=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;switch(A(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=C;break;case 1:if(!e){o.destination=C;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(l(o))):(o.syncErrorThrowable=!0,o.destination=new R(l(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new R(l(o),e,i,r)}return o}return m(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,i(c(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,i){var r=new n(e,t,i);return r.syncErrorThrowable=!1,r}}]),n}(O),R=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a,s;A(this,n),(a=t.call(this))._parentSubscriber=e;var u=l(a);return v(i)?s=i:i&&(s=i.next,r=i.error,o=i.complete,i!==C&&(v((u=Object.create(i)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(l(a)))),a._context=u,a._next=s,a._error=r,a._complete=o,a}return m(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;k.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=k.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):x(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;x(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)};k.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(),k.useDeprecatedSynchronousErrorHandling)throw n;x(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!k.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return k.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(x(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(I),L="function"==typeof Symbol&&Symbol.observable||"@@observable";function F(e){return e}var B,z=((B=function(){function e(t){A(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return m(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,r=function(e,t,n){if(e){if(e instanceof I)return e;if(e[T])return e[T]()}return e||t||n?new I(e,t,n):new I(C)}(e,t,n);if(r.add(i?i.call(r,this.source):this.source||k.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),k.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){k.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,r=t.isStopped;if(n||r)return!1;e=i&&i instanceof I?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=V(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:L,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:(0===(i=t).length?F:1===i.length?i[0]:function(e){return i.reduce(function(e,t){return t(e)},e)})(this);var i}},{key:"toPromise",value:function(e){var t=this;return new(e=V(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})}}]),e}()).create=function(e){return new B(e)},B);function V(e){if(e||(e=k.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var N,H=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),j=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).subject=e,r.subscriber=i,r.closed=!1,r}return m(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(O),U=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this,e)).destination=e,i}return n}(I),W=((N=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return m(n,[{key:T,value:function(){return new U(this)}},{key:"lift",value:function(e){var t=new G(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new H;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].next(e)}},{key:"error",value:function(e){if(this.closed)throw new H;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new H;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),i=0;i<t;i++)n[i].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 H;return i(c(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new H;return this.hasError?(e.error(this.thrownError),O.EMPTY):this.isStopped?(e.complete(),O.EMPTY):(this.observers.push(e),new j(this,e))}},{key:"asObservable",value:function(){var e=new z;return e.source=this,e}}]),n}(z)).create=function(e,t){return new G(e,t)},N),G=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).destination=e,r.source=i,r}return m(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):O.EMPTY}}]),n}(W);function q(e){return e&&"function"==typeof e.schedule}function Y(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 Z(e,t))}}var Z=function(){function e(t,n){A(this,e),this.project=t,this.thisArg=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Q(e,this.project,this.thisArg))}}]),e}(),Q=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||l(o),o}return m(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(I),X=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()}};var K="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",J=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function ee(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var te=function(e){if(e&&"function"==typeof e[L])return i=e,function(e){var t=i[L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(J(e))return X(e);if(ee(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,x),e};if(e&&"function"==typeof e[K])return t=e,function(e){for(var n=t[K]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,i,r=E(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(r," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function ne(e,t){return new z(function(n){var i=new O,r=0;return i.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function ie(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[L]}(e))return function(e,t){return new z(function(n){var i=new O;return i.add(t.schedule(function(){var r=e[L]();i.add(r.subscribe({next:function(e){i.add(t.schedule(function(){return n.next(e)}))},error:function(e){i.add(t.schedule(function(){return n.error(e)}))},complete:function(){i.add(t.schedule(function(){return n.complete()}))}}))})),i})}(e,t);if(ee(e))return function(e,t){return new z(function(n){var i=new O;return i.add(t.schedule(function(){return e.then(function(e){i.add(t.schedule(function(){n.next(e),i.add(t.schedule(function(){return n.complete()}))}))},function(e){i.add(t.schedule(function(){return n.error(e)}))})})),i})}(e,t);if(J(e))return ne(e,t);if(function(e){return e&&"function"==typeof e[K]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new z(function(n){var i,r=new O;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(function(){i=e[K](),r.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof z?e:new z(te(e))}var re=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this)).parent=e,i}return m(n,[{key:"_next",value:function(e){this.parent.notifyNext(e)}},{key:"_error",value:function(e){this.parent.notifyError(e),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(I),oe=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(I);function ae(e,t){if(!t.closed)return e instanceof z?e.subscribe(t):te(e)(t)}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(se(function(n,i){return ie(e(n,i)).pipe(Y(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new le(e,n))})}var le=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;A(this,e),this.project=t,this.concurrent=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new ue(e,this.project,this.concurrent))}}]),e}(),ue=function(e){r(n,e);var t=a(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return A(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return m(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new re(this),n=this.destination;n.add(t);var i=ae(e,t);i!==t&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyComplete",value:function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(oe);function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return se(F,e)}function de(e,t){return t?ne(e,t):new z(X(e))}function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return q(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof o&&(i=t.pop()),null===r&&1===t.length&&t[0]instanceof z?t[0]:ce(i)(de(t,r))}function fe(){return function(e){return e.lift(new ge(e))}}var pe,ge=function(){function e(t){A(this,e),this.connectable=t}return m(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new ve(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),ve=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).connectable=i,r}return m(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(I),me=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return m(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new O).add(this.source.subscribe(new be(this.getSubject(),this))),e.closed&&(this._connection=null,e=O.EMPTY)),e}},{key:"refCount",value:function(){return fe()(this)}}]),n}(z),ye={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(pe=me.prototype)._subscribe},_isComplete:{value:pe._isComplete,writable:!0},getSubject:{value:pe.getSubject},connect:{value:pe.connect},refCount:{value:pe.refCount}},be=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).connectable=i,r}return m(n,[{key:"_error",value:function(e){this._unsubscribe(),i(c(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),i(c(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(U);function we(){return new W}function _e(){return function(e){return fe()((t=we,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,ye);return i.source=e,i.subjectFactory=n,i})(e));var t}}function ke(e){for(var t in e)if(e[t]===ke)return t;throw Error("Could not find renamed property on target object.")}function xe(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Se=ke({__forward_ref__:ke});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return Ae(this())},e}function Pe(e){return De(e)?e():e}function De(e){return"function"==typeof e&&e.hasOwnProperty(Se)&&e.__forward_ref__===Ee}var Oe=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(e(Error));function Me(e){return"string"==typeof e?e:null==e?"":String(e)}function Te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Me(e)}function Ie(e,t){var n=t?" in "+t:"";throw new Oe("201","No provider for ".concat(Te(e)," found").concat(n))}function Re(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var Le=Re;function Fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function Be(e){return ze(e,He)||ze(e,Ue)}function ze(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ve(e){return e&&(e.hasOwnProperty(je)||e.hasOwnProperty(We))?e[je]:null}var Ne,He=ke({"\u0275prov":ke}),je=ke({"\u0275inj":ke}),Ue=ke({ngInjectableDef:ke}),We=ke({ngInjectorDef:ke}),Ge=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 qe(e){var t=Ne;return Ne=e,t}function Ye(e,t,n){var i=Be(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ge.Optional?null:void 0!==t?t:void Ie(Ae(e),"Injector")}function Ze(e){return{toString:e}.toString()}var Qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Xe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Ke="undefined"!=typeof globalThis&&globalThis,Je="undefined"!=typeof window&&window,$e="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,et="undefined"!=typeof global&&global,tt=Ke||et||Je||$e,nt={},it=[],rt=[],ot=ke({"\u0275cmp":ke}),at=ke({"\u0275dir":ke}),st=ke({"\u0275pipe":ke}),lt=ke({"\u0275mod":ke}),ut=ke({"\u0275loc":ke}),ct=ke({"\u0275fac":ke}),dt=ke({__NG_ELEMENT_ID__:ke}),ht=0;function ft(e){return Ze(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Qe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||rt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Xe.Emulated,id:"c",styles:e.styles||rt,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=ht++,n.inputs=yt(e.inputs,t),n.outputs=yt(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(pt)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(gt)}:null,n})}function pt(e){return _t(e)||function(e){return e[at]||null}(e)}function gt(e){return function(e){return e[st]||null}(e)}var vt={};function mt(e){var t={type:e.type,bootstrap:e.bootstrap||rt,declarations:e.declarations||rt,imports:e.imports||rt,exports:e.exports||rt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Ze(function(){vt[e.id]=e.type}),t}function yt(e,t){if(null==e)return nt;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var bt=ft;function wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function _t(e){return e[ot]||null}function kt(e,t){var n=e[lt]||null;if(!n&&!0===t)throw new Error("Type ".concat(Ae(e)," does not have '\u0275mod' property."));return n}function xt(e){return Array.isArray(e)&&"object"==typeof e[1]}function At(e){return Array.isArray(e)&&!0===e[1]}function Ct(e){return 0!=(8&e.flags)}function St(e){return 2==(2&e.flags)}function Et(e){return 1==(1&e.flags)}function Pt(e){return null!==e.template}function Dt(e,t){return e.hasOwnProperty(ct)?e[ct]:null}var Ot=function(){function e(t,n,i){A(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return m(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Mt(){return Tt}function Tt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Rt),It}function It(){var e=Lt(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===nt)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Rt(e,t,n,i){var r=Lt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:nt,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],l=a[s];o[s]=new Ot(l&&l.currentValue,t,a===nt),e[i]=t}function Lt(e){return e.__ngSimpleChanges__||null}Mt.ngInherit=!0;var Ft=void 0;function Bt(){return void 0!==Ft?Ft:"undefined"!=typeof document?document:void 0}function zt(e){return!!e.listen}var Vt={createRenderer:function(e,t){return Bt()}};function Nt(e){for(;Array.isArray(e);)e=e[0];return e}function Ht(e,t){return Nt(t[e])}function jt(e,t){return Nt(t[e.index])}function Ut(e,t){return e.data[t]}function Wt(e,t){return e[t]}function Gt(e,t){var n=t[e];return xt(n)?n:n[0]}function qt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Yt(e){return 4==(4&e[2])}function Zt(e){return 128==(128&e[2])}function Qt(e,t){return null==t?null:e[t]}function Xt(e){e[18]=0}function Kt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Jt={lFrame:xn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function $t(){return Jt.bindingsEnabled}function en(){return Jt.lFrame.lView}function tn(){return Jt.lFrame.tView}function nn(e){Jt.lFrame.contextLView=e}function rn(){for(var e=on();null!==e&&64===e.type;)e=e.parent;return e}function on(){return Jt.lFrame.currentTNode}function an(e,t){var n=Jt.lFrame;n.currentTNode=e,n.isParent=t}function sn(){return Jt.lFrame.isParent}function ln(){Jt.lFrame.isParent=!1}function un(){return Jt.isInCheckNoChangesMode}function cn(e){Jt.isInCheckNoChangesMode=e}function dn(){var e=Jt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function hn(){return Jt.lFrame.bindingIndex}function fn(){return Jt.lFrame.bindingIndex++}function pn(e){var t=Jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gn(e){Jt.lFrame.currentDirectiveIndex=e}function vn(e){var t=Jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function mn(){return Jt.lFrame.currentQueryIndex}function yn(e){Jt.lFrame.currentQueryIndex=e}function bn(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function wn(e,t,n){if(n&Ge.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&Ge.Host||(i=bn(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var o=Jt.lFrame=kn();return o.currentTNode=t,o.lView=e,!0}function _n(e){var t=kn(),n=e[1];Jt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function kn(){var e=Jt.lFrame,t=null===e?null:e.child;return null===t?xn(e):t}function xn(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function An(){var e=Jt.lFrame;return Jt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Cn=An;function Sn(){var e=An();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function En(){return Jt.lFrame.selectedIndex}function Pn(e){Jt.lFrame.selectedIndex=e}function Dn(){var e=Jt.lFrame;return Ut(e.tView,e.selectedIndex)}function On(){Jt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Mn(){Jt.lFrame.currentNamespace=null}function Tn(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n<i;n++){var r=e.data[n].type.prototype,o=r.ngAfterContentInit,a=r.ngAfterContentChecked,s=r.ngAfterViewInit,l=r.ngAfterViewChecked,u=r.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function In(e,t,n){Fn(e,t,3,n)}function Rn(e,t,n,i){(3&e[2])===n&&Fn(e,t,n,i)}function Ln(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Fn(e,t,n,i){for(var r=null!=i?i:-1,o=t.length-1,a=0,s=void 0!==i?65535&e[18]:0;s<o;s++)if("number"==typeof t[s+1]){if(a=t[s],null!=i&&a>=i)break}else t[s]<0&&(e[18]+=65536),(a<r||-1==r)&&(Bn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function Bn(e,t,n,i){var r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var zn=function e(t,n,i){A(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Vn(e,t,n){for(var i=zt(e),r=0;r<n.length;){var o=n[r];if("number"==typeof o){if(0!==o)break;r++;var a=n[r++],s=n[r++],l=n[r++];i?e.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l)}else{var u=o,c=n[++r];Hn(u)?i&&e.setProperty(t,u,c):i?e.setAttribute(t,u,c):t.setAttribute(u,c),r++}}return r}function Nn(e){return 3===e||4===e||6===e}function Hn(e){return 64===e.charCodeAt(0)}function jn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,i=0;i<t.length;i++){var r=t[i];"number"==typeof r?n=r:0===n||Un(e,n,r,null,-1===n||2===n?t[++i]:null)}return e}function Un(e,t,n,i,r){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var l=e[o];if("number"==typeof l)break;if(l===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function Wn(e){return-1!==e}function Gn(e){return 32767&e}function qn(e,t){for(var n=e>>16,i=t;n>0;)i=i[15],n--;return i}var Yn=!0;function Zn(e){var t=Yn;return Yn=e,t}var Qn=0;function Xn(e,t){var n=Jn(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Kn(i.data,e),Kn(t,null),Kn(i.blueprint,null));var r=$n(e,t),o=e.injectorIndex;if(Wn(r))for(var a=Gn(r),s=qn(r,t),l=s[1].data,u=0;u<8;u++)t[o+u]=s[a+u]|l[a+u];return t[o+8]=r,o}function Kn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Jn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $n(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ei(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(dt)&&(i=n[dt]),null==i&&(i=n[dt]=Qn++);var r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function ti(e,t,n){if(n&Ge.Optional)return e;Ie(t,"NodeInjector")}function ni(e,t,n,i){if(n&Ge.Optional&&void 0===i&&(i=null),0==(n&(Ge.Self|Ge.Host))){var r=e[9],o=qe(void 0);try{return r?r.get(t,i,n&Ge.Optional):Ye(t,i,n&Ge.Optional)}finally{qe(o)}}return ti(i,t,n)}function ii(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ge.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(dt)?e[dt]:void 0;return"number"==typeof t?t>=0?255&t:oi:t}(n);if("function"==typeof o){if(!wn(t,e,i))return i&Ge.Host?ti(r,n,i):ni(t,n,i,r);try{var a=o();if(null!=a||i&Ge.Optional)return a;Ie(n)}finally{Cn()}}else if("number"==typeof o){var s=null,l=Jn(e,t),u=-1,c=i&Ge.Host?t[16][6]:null;for((-1===l||i&Ge.SkipSelf)&&(-1!==(u=-1===l?$n(e,t):t[l+8])&&ci(i,!1)?(s=t[1],l=Gn(u),t=qn(u,t)):l=-1);-1!==l;){var d=t[1];if(ui(o,l,d.data)){var h=ai(l,t,n,s,i,c);if(h!==ri)return h}-1!==(u=t[l+8])&&ci(i,t[1].data[l+8]===c)&&ui(o,l,t)?(s=d,l=Gn(u),t=qn(u,t)):l=-1}}}return ni(t,n,i,r)}var ri={};function oi(){return new di(rn(),en())}function ai(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],l=si(s,a,n,null==i?St(s)&&Yn:i!=a&&0!=(3&s.type),r&Ge.Host&&o===s);return null!==l?li(t,a,l,s):ri}function si(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,l=e.directiveStart,u=o>>20,c=r?s+u:e.directiveEnd,d=i?s:s+u;d<c;d++){var h=a[d];if(d<l&&n===h||d>=l&&h.type===n)return d}if(r){var f=a[l];if(f&&Pt(f)&&f.type===n)return l}return null}function li(e,t,n,i){var r=e[n],o=t.data;if(r instanceof zn){var a=r;a.resolving&&function(e,t){throw new Oe("200","Circular dependency in DI detected for "+e)}(Te(o[n]));var s=Zn(a.canSeeViewProviders);a.resolving=!0;var l=a.injectImpl?qe(a.injectImpl):null;wn(e,i,Ge.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=Tt(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==l&&qe(l),Zn(s),a.resolving=!1,Cn()}}return r}function ui(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ci(e,t){return!(e&Ge.Self||e&Ge.Host&&t)}var di=function(){function e(t,n){A(this,e),this._tNode=t,this._lView=n}return m(e,[{key:"get",value:function(e,t){return ii(this._tNode,this._lView,e,void 0,t)}}]),e}();function hi(e){return Ze(function(){for(var t=e.prototype.constructor,n=t[ct]||fi(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;r&&r!==i;){var o=r[ct]||fi(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(e){return new e}})}function fi(e){return De(e)?function(){var t=fi(Pe(e));return t&&t()}:Dt(e)}function pi(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r<i;){var o=n[r];if(Nn(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}return null}(rn(),e)}function gi(e,n,i){return Ze(function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(n);function o(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(this instanceof o)return r.apply(this,n),this;var a=t(o,n);return s.annotation=a,s;function s(e,t,n){for(var i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),e}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var vi=gi("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return pi(e)}}}),mi=function(){function e(t,n){A(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Re({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return m(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),yi=new mi("AnalyzeForEntryComponents"),bi=Function;function wi(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),wi(i,t)):t!==e&&t.push(i)}return t}function _i(e,t){e.forEach(function(e){return Array.isArray(e)?_i(e,t):t(e)})}function ki(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ai(e,t){for(var n=[],i=0;i<e;i++)n.push(t);return n}function Ci(e,t,n){var i=Ei(e,t);return i>=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function Si(e,t){var n=Ei(e,t);if(n>=0)return e[1|n]}function Ei(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var Pi={},Di=/\n/gm,Oi=ke({provide:String,useValue:ke}),Mi=void 0;function Ti(e){var t=Mi;return Mi=e,t}function Ii(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge.Default;if(void 0===Mi)throw new Error("inject() must be called from an injection context");return null===Mi?Ye(e,void 0,t):Mi.get(e,t&Ge.Optional?null:void 0,t)}function Ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge.Default;return(Ne||Ii)(Pe(e),t)}var Li=Ri;function Fi(e){for(var t=[],n=0;n<e.length;n++){var i=Pe(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=Ge.Default,a=0;a<i.length;a++){var s=i[a],l=s.__NG_DI_FLAG__;"number"==typeof l?-1===l?r=s.token:o|=l:r=s}t.push(Ri(r,o))}else t.push(Ri(i))}return t}function Bi(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}var zi,Vi,Ni=Bi(gi("Inject",function(e){return{token:e}}),-1),Hi=Bi(gi("Optional"),8),ji=Bi(gi("SkipSelf"),4);function Ui(e){var t;return(null===(t=function(){if(void 0===zi&&(zi=null,tt.trustedTypes))try{zi=tt.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return zi}())||void 0===t?void 0:t.createHTML(e))||e}function Wi(e){var t;return(null===(t=function(){if(void 0===Vi&&(Vi=null,tt.trustedTypes))try{Vi=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Vi}())||void 0===t?void 0:t.createHTML(e))||e}var Gi=function(){function e(t){A(this,e),this.changingThisBreaksApplicationSecurity=t}return m(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}]),e}(),qi=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Gi),Yi=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Gi),Zi=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Gi),Qi=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Gi),Xi=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Gi);function Ki(e){return e instanceof Gi?e.changingThisBreaksApplicationSecurity:e}function Ji(e,t){var n=$i(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function $i(e){return e instanceof Gi&&e.getTypeName()||null}var er=function(){function e(t){A(this,e),this.inertDocumentHelper=t}return m(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(Ui(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),tr=function(){function e(t){if(A(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return m(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Ui(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Ui(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),e}(),nr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ir=/^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 rr(e){return(e=String(e)).match(nr)||e.match(ir)?e:"unsafe:"+e}function or(e){var t,n={},i=h(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(r){i.e(r)}finally{i.f()}return n}function ar(){for(var e={},t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=0,o=n;r<o.length;r++){var a=o[r];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var sr,lr=or("area,br,col,hr,img,wbr"),ur=or("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cr=or("rp,rt"),dr=ar(cr,ur),hr=ar(lr,ar(ur,or("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")),ar(cr,or("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),dr),fr=or("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pr=or("srcset"),gr=ar(fr,pr,or("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),or("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),vr=or("script,style,template"),mr=function(){function e(){A(this,e),this.sanitizedSomething=!1,this.buf=[]}return m(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!hr.hasOwnProperty(t))return this.sanitizedSomething=!0,!vr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,i=e.attributes,r=0;r<i.length;r++){var o=i.item(r),a=o.name,s=a.toLowerCase();if(gr.hasOwnProperty(s)){var l=o.value;fr[s]&&(l=rr(l)),pr[s]&&(n=l,l=(n=String(n)).split(",").map(function(e){return rr(e.trim())}).join(", ")),this.buf.push(" ",a,'="',wr(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();hr.hasOwnProperty(t)&&!lr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(wr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),yr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,br=/([^\#-~ |!])/g;function wr(e){return e.replace(/&/g,"&").replace(yr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(br,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function _r(e,t){var n=null;try{sr=sr||function(e){var t=new tr(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ui(""),"text/html")}catch(e){return!1}}()?new er(t):t}(e);var i=t?String(t):"";n=sr.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=sr.getInertBodyElement(i)}while(i!==o);return Ui((new mr).sanitizeChildren(kr(n)||n))}finally{if(n)for(var a=kr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function kr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ar(e){var t=Sr();return t?Wi(t.sanitize(xr.HTML,e)||""):Ji(e,"HTML")?Wi(Ki(e)):_r(Bt(),Me(e))}function Cr(e){var t=Sr();return t?t.sanitize(xr.URL,e)||"":Ji(e,"URL")?Ki(e):rr(Me(e))}function Sr(){var e=en();return e&&e[12]}function Er(e){return e.ngDebugContext}function Pr(e){return e.ngOriginalError}function Dr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];e.error.apply(e,n)}var Or=function(){function e(){A(this,e),this._console=console}return m(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Dr}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?Er(e)?Er(e):this._findContext(Pr(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Pr(e);t&&Pr(t);)t=Pr(t);return t}}]),e}();function Mr(e,t){e.__ngContext__=t}var Tr=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(tt);function Ir(e){return{name:"window",target:e.ownerDocument.defaultView}}function Rr(e){return{name:"body",target:e.ownerDocument.body}}function Lr(e){return e instanceof Function?e():e}var Fr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Br(e,t){return(void 0)(e,t)}function zr(e){var t=e[3];return At(t)?t[3]:t}function Vr(e){return Hr(e[13])}function Nr(e){return Hr(e[4])}function Hr(e){for(;null!==e&&!At(e);)e=e[4];return e}function jr(e,t,n,i,r){if(null!=i){var o,a=!1;At(i)?o=i:xt(i)&&(a=!0,i=i[0]);var s=Nt(i);0===e&&null!==n?null==r?Xr(t,n,s):Qr(t,n,s,r||null,!0):1===e&&null!==n?Qr(t,n,s,r||null,!0):2===e?function(e,t,n){var i=Jr(e,t);i&&function(e,t,n,i){zt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,i,r){var o=n[7];o!==Nt(n)&&jr(t,e,i,o,r);for(var a=10;a<n.length;a++){var s=n[a];ao(s[1],s,e,t,i,o)}}(t,e,o,n,r)}}function Ur(e,t,n){return zt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Wr(e,t){var n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Kt(r,-1)),n.splice(i,1)}function Gr(e,t){if(!(e.length<=10)){var n,i=10+t,r=e[i];if(r){var o=r[17];null!==o&&o!==e&&Wr(o,r),t>0&&(e[i-1][4]=r[4]);var a=xi(e,10+t);ao(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function qr(e,t){if(!(256&t[2])){var n=t[11];zt(n)&&n.destroyNode&&ao(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Yr(e[1],e);for(;t;){var n=null;if(xt(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)xt(t)&&Yr(t[1],t),t=t[3];null===t&&(t=e),xt(t)&&Yr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Yr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i<n.length;i+=2){var r=t[n[i]];if(!(r instanceof zn)){var o=n[i+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(r[o[a]]);else o.call(r)}}}(e,t),function(e,t){var n=e.cleanup,i=t[7],r=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var a=n[o+1],s="function"==typeof a?a(t):Nt(t[a]),l=i[r=n[o+2]],u=n[o+3];"boolean"==typeof u?s.removeEventListener(n[o],l,u):u>=0?i[r=u]():i[r=-u].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var d=r+1;d<i.length;d++)(0,i[d])();t[7]=null}}(e,t),1===t[1].type&&zt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&At(t[3])){n!==t[3]&&Wr(n,t);var i=t[19];null!==i&&i.detachView(e)}}}function Zr(e,t,n){return function(e,t,n){for(var i=t;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){var r=e.data[i.directiveStart].encapsulation;if(r===Xe.None||r===Xe.Emulated)return null}return jt(i,n)}(e,t.parent,n)}function Qr(e,t,n,i,r){zt(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function Xr(e,t,n){zt(e)?e.appendChild(t,n):t.appendChild(n)}function Kr(e,t,n,i,r){null!==i?Qr(e,t,n,i,r):Xr(e,t,n)}function Jr(e,t){return zt(e)?e.parentNode(t):t.parentNode}function $r(e,t,n){return eo(e,t,n)}var eo=function(e,t,n){return 40&e.type?jt(e,n):null};function to(e,t,n,i){var r=Zr(e,i,t),o=t[11],a=$r(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(var s=0;s<n.length;s++)Kr(o,r,n[s],a,!1);else Kr(o,r,n,a,!1)}function no(e,t){if(null!==t){var n=t.type;if(3&n)return jt(t,e);if(4&n)return ro(-1,e[t.index]);if(8&n){var i=t.child;if(null!==i)return no(e,i);var r=e[t.index];return At(r)?ro(-1,r):Nt(r)}if(32&n)return Br(t,e)()||Nt(e[t.index]);var o=io(e,t);return null!==o?Array.isArray(o)?o[0]:no(zr(e[16]),o):no(e,t.next)}return null}function io(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ro(e,t){var n=10+e+1;if(n<t.length){var i=t[n],r=i[1].firstChild;if(null!==r)return no(i,r)}return t[7]}function oo(e,t,n,i,r,o,a){for(;null!=n;){var s=i[n.index],l=n.type;if(a&&0===t&&(s&&Mr(Nt(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)oo(e,t,n.child,i,r,o,!1),jr(t,e,r,s,o);else if(32&l){for(var u=Br(n,i),c=void 0;c=u();)jr(t,e,r,c,o);jr(t,e,r,s,o)}else 16&l?so(e,t,i,n,r,o):jr(t,e,r,s,o);n=a?n.projectionNext:n.next}}function ao(e,t,n,i,r,o){oo(n,i,e.firstChild,t,r,o,!1)}function so(e,t,n,i,r,o){var a=n[16],s=a[6].projection[i.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)jr(t,e,r,s[l],o);else oo(e,t,s,a[3],r,o,!0)}function lo(e,t,n){zt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function uo(e,t,n){zt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function co(e,t,n){for(var i=e.length;;){var r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){var o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function ho(e,t,n){for(var i=0;i<e.length;){var r=e[i++];if(n&&"class"===r){if(-1!==co((r=e[i]).toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function fo(e){return 4===e.type&&"ng-template"!==e.value}function po(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function go(e,t,n){for(var i=4,r=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Nn(e[t]))return t;return e.length}(r),a=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!a)if(4&i){if(i=2|1&i,""!==l&&!po(e,l,n)||""===l&&1===t.length){if(vo(i))return!1;a=!0}}else{var u=8&i?l:t[++s];if(8&i&&null!==e.attrs){if(!ho(e.attrs,u,n)){if(vo(i))return!1;a=!0}continue}var c=mo(8&i?"class":l,r,fo(e),n);if(-1===c){if(vo(i))return!1;a=!0;continue}if(""!==u){var d;d=c>o?"":r[c+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==co(h,u,0)||2&i&&u!==d){if(vo(i))return!1;a=!0}}}}else{if(!a&&!vo(i)&&!vo(l))return!1;if(a&&vo(l))continue;a=!1,i=l|1&i}}return vo(i)||a}function vo(e){return 0==(1&e)}function mo(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r<t.length;){var a=t[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++r];"string"==typeof s;)s=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function yo(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<t.length;i++)if(go(e,t[i],n))return!0;return!1}function bo(e,t){e:for(var n=0;n<t.length;n++){var i=t[n];if(e.length===i.length){for(var r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function wo(e,t){return e?":not("+t.trim()+")":t}function _o(e){for(var t=e[0],n=1,i=2,r="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&i){var s=e[++n];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||vo(a)||(t+=wo(o,r),r=""),i=a,o=o||!vo(i);n++}return""!==r&&(t+=wo(o,r)),t}var ko={};function xo(e){Ao(tn(),en(),En()+e,un())}function Ao(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&In(t,r,n)}else{var o=e.preOrderHooks;null!==o&&Rn(t,o,0,n)}Pn(n)}function Co(e,t){return e<<17|t<<2}function So(e){return e>>17&32767}function Eo(e){return 2|e}function Po(e){return(131068&e)>>2}function Do(e,t){return-131069&e|t<<2}function Oo(e){return 1|e}function Mo(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],o=n[i+1];if(-1!==o){var a=e.data[o];yn(r),a.contentQueries(2,t[o],o)}}}function To(e,t,n,i,r,o,a,s,l,u){var c=t.blueprint.slice();return c[0]=r,c[2]=140|i,Xt(c),c[3]=c[15]=e,c[8]=n,c[10]=a||e&&e[10],c[11]=s||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function Io(e,t,n,i,r){var o,a,s=e.data[t];if(null===s)s=function(e,t,n,i,r){var o=on(),a=sn(),s=e.data[t]=function(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=s),null!==o&&(a?null==o.child&&null!==s.parent&&(o.child=s):null===o.next&&(o.next=s)),s}(e,t,n,i,r),Jt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;var l=(o=Jt.lFrame,a=o.currentTNode,o.isParent?a:a.parent);s.injectorIndex=null===l?-1:l.injectorIndex}return an(s,!0),s}function Ro(e,t,n,i){if(0===n)return-1;for(var r=t.length,o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Lo(e,t,n){_n(t);try{var i=e.viewQuery;null!==i&&da(1,i,n);var r=e.template;null!==r&&zo(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Mo(e,t),e.staticViewQueries&&da(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)aa(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,Sn()}}function Fo(e,t,n,i){var r=t[2];if(256!=(256&r)){_n(t);var o=un();try{Xt(t),Jt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&zo(e,t,n,2,i);var a=3==(3&r);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&In(t,s,null)}else{var l=e.preOrderHooks;null!==l&&Rn(t,l,0,null),Ln(t,0)}if(function(e){for(var t=Vr(e);null!==t;t=Nr(t))if(t[2])for(var n=t[9],i=0;i<n.length;i++){var r=n[i],o=r[3];0==(1024&r[2])&&Kt(o,1),r[2]|=1024}}(t),function(e){for(var t=Vr(e);null!==t;t=Nr(t))for(var n=10;n<t.length;n++){var i=t[n],r=i[1];Zt(i)&&Fo(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&Mo(e,t),!o)if(a){var u=e.contentCheckHooks;null!==u&&In(t,u)}else{var c=e.contentHooks;null!==c&&Rn(t,c,1),Ln(t,1)}!function(e,t){var n,i,r,o=e.hostBindingOpCodes;if(null!==o)try{for(var a=0;a<o.length;a++){var s=o[a];if(s<0)Pn(~s);else{var l=s,u=o[++a],c=o[++a];n=u,i=l,r=void 0,(r=Jt.lFrame).bindingIndex=r.bindingRootIndex=n,gn(i),c(2,t[l])}}}finally{Pn(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)ra(e,t[n])}(t,d);var h=e.viewQuery;if(null!==h&&da(2,h,i),!o)if(a){var f=e.viewCheckHooks;null!==f&&In(t,f)}else{var p=e.viewHooks;null!==p&&Rn(t,p,2),Ln(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Kt(t[3],-1))}finally{Sn()}}}function Bo(e,t,n,i){var r=t[10],o=!un(),a=Yt(t);try{o&&!a&&r.begin&&r.begin(),a&&Lo(e,t,i),Fo(e,t,n,i)}finally{o&&!a&&r.end&&r.end()}}function zo(e,t,n,i,r){var o=En();try{Pn(-1),2&i&&t.length>20&&Ao(e,t,20,un()),n(i,r)}finally{Pn(o)}}function Vo(e,t,n){if(Ct(t))for(var i=t.directiveEnd,r=t.directiveStart;r<i;r++){var o=e.data[r];o.contentQueries&&o.contentQueries(1,n[r],r)}}function No(e,t,n){$t()&&(function(e,t,n,i){var r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Xn(n,t),Mr(i,t);for(var a=n.initialInputs,s=r;s<o;s++){var l=e.data[s],u=Pt(l);u&&ea(t,n,l);var c=li(t,e,s,n);Mr(c,t),null!==a&&ta(0,s-r,c,l,0,a),u&&(Gt(n.index,t)[8]=c)}}(e,t,n,jt(n,t)),128==(128&n.flags)&&function(e,t,n){var i=n.directiveStart,r=n.directiveEnd,o=n.index,a=Jt.lFrame.currentDirectiveIndex;try{Pn(o);for(var s=i;s<r;s++){var l=e.data[s],u=t[s];gn(s),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||Qo(l,u)}}finally{Pn(-1),gn(a)}}(e,t,n))}function Ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:jt,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o<i.length;o+=2){var a=i[o+1],s=-1===a?n(t,e):e[a];e[r++]=s}}function jo(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Uo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Uo(e,t,n,i,r,o,a,s,l,u){var c=20+i,d=c+r,h=function(e,t){for(var n=[],i=0;i<t;i++)n.push(i<e?null:ko);return n}(c,d),f="function"==typeof u?u():u;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Wo(e,t,n,i){var r=fa(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&pa(e).push(i,r.length-1))}function Go(e,t,n){for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function qo(e,t,n,i,r,o,a,s){var l,u,c=jt(t,n),d=t.inputs;!s&&null!=d&&(l=d[i])?(ma(e,n,l,i,r),St(t)&&function(e,t){var n=Gt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=a?a(r,t.value||"",i):r,zt(o)?o.setProperty(c,i,r):Hn(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function Yo(e,t,n,i){var r=!1;if($t()){var o=function(e,t,n){var i=e.directiveRegistry,r=null;if(i)for(var o=0;o<i.length;o++){var a=i[o];yo(n,a.selectors,!1)&&(r||(r=[]),ei(Xn(n,t),e,a.type),Pt(a)?(Xo(e,n),r.unshift(a)):r.push(a))}return r}(e,t,n),a=null===i?null:{"":-1};if(null!==o){r=!0,Jo(n,e.data.length,o.length);for(var s=0;s<o.length;s++){var l=o[s];l.providersResolver&&l.providersResolver(l)}for(var u=!1,c=!1,d=Ro(e,t,o.length,null),h=0;h<o.length;h++){var f=o[h];n.mergedAttrs=jn(n.mergedAttrs,f.hostAttrs),$o(e,n,t,d,f),Ko(d,f,a),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128);var p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),c||!p.ngOnChanges&&!p.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),d++}!function(e,t){for(var n=t.directiveEnd,i=e.data,r=t.attrs,o=[],a=null,s=null,l=t.directiveStart;l<n;l++){var u=i[l],c=u.inputs,d=null===r||fo(t)?null:na(c,r);o.push(d),a=Go(c,l,a),s=Go(u.outputs,l,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n)}a&&function(e,t,n){if(t)for(var i=e.localNames=[],r=0;r<t.length;r+=2){var o=n[t[r+1]];if(null==o)throw new Oe("301","Export of name '".concat(t[r+1],"' not found!"));i.push(t[r],o)}}(n,i,a)}return n.mergedAttrs=jn(n.mergedAttrs,n.attrs),r}function Zo(e,t,n,i,r,o){var a=o.hostBindings;if(a){var s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);var l=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(i,r,a)}}function Qo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ko(e,t,n){if(n){if(t.exportAs)for(var i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Pt(t)&&(n[""]=e)}}function Jo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $o(e,t,n,i,r){e.data[i]=r;var o=r.factory||(r.factory=Dt(r.type)),a=new zn(o,Pt(r),null);e.blueprint[i]=a,n[i]=a,Zo(e,t,0,i,Ro(e,n,r.hostVars,ko),r)}function ea(e,t,n){var i=jt(t,e),r=jo(n),o=e[10],a=sa(e,To(e,r,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=a}function ta(e,t,n,i,r,o){var a=o[t];if(null!==a)for(var s=i.setInput,l=0;l<a.length;){var u=a[l++],c=a[l++],d=a[l++];null!==s?i.setInput(n,d,u,c):n[c]=d}}function na(e,t){for(var n=null,i=0;i<t.length;){var r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function ia(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ra(e,t){var n=Gt(t,e);if(Zt(n)){var i=n[1];80&n[2]?Fo(i,n,i.template,n[8]):n[5]>0&&oa(n)}}function oa(e){for(var t=Vr(e);null!==t;t=Nr(t))for(var n=10;n<t.length;n++){var i=t[n];if(1024&i[2]){var r=i[1];Fo(r,i,r.template,i[8])}else i[5]>0&&oa(i)}var o=e[1].components;if(null!==o)for(var a=0;a<o.length;a++){var s=Gt(o[a],e);Zt(s)&&s[5]>0&&oa(s)}}function aa(e,t){var n=Gt(t,e),i=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),Lo(i,n,n[8])}function sa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function la(e){for(;e;){e[2]|=64;var t=zr(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function ua(e,t,n){var i=t[10];i.begin&&i.begin();try{Fo(e,t,e.template,n)}catch(r){throw va(t,r),r}finally{i.end&&i.end()}}function ca(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],i=qt(n),r=i[1];Bo(r,i,r.template,n)}}(e[8])}function da(e,t,n){yn(0),t(e,n)}var ha=Promise.resolve(null);function fa(e){return e[7]||(e[7]=[])}function pa(e){return e.cleanup||(e.cleanup=[])}function ga(e,t,n){return(null===e||Pt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function va(e,t){var n=e[9],i=n?n.get(Or,null):null;i&&i.handleError(t)}function ma(e,t,n,i,r){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],l=t[a],u=e.data[a];null!==u.setInput?u.setInput(l,r,i,s):l[s]=r}}function ya(e,t,n){var i=Ht(t,e);!function(e,t,n){zt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function ba(e,t,n){var i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?r=Ce(r,s):2==o&&(i=Ce(i,s+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}var wa=new mi("INJECTOR",-1),_a=function(){function e(){A(this,e)}return m(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pi;if(t===Pi){var n=new Error("NullInjectorError: No provider for ".concat(Ae(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),ka=new mi("Set Injector scope."),xa={},Aa={},Ca=[],Sa=void 0;function Ea(){return void 0===Sa&&(Sa=new _a),Sa}function Pa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Da(e,n,t||Ea(),i)}var Da=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;A(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&_i(n,function(e){return r.processProvider(e,t,n)}),_i([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(wa,Ta(void 0,this));var s=this.records.get(ka);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:Ae(t))}return m(e,[{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]:Pi,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ge.Default;this.assertNotDestroyed();var i,r=Ti(this);try{if(!(n&Ge.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(i=e)||"object"==typeof i&&i instanceof mi)&&Be(e);o=a&&this.injectableDefInScope(a)?Ta(Oa(e),xa):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&Ge.Self?Ea():this.parent).get(e,t=n&Ge.Optional&&t===Pi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(Ae(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=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 r=Ae(t);if(Array.isArray(t))r=t.map(Ae).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):Ae(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(Di,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Ti(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(Ae(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 i=this;if(!(e=Pe(e)))return!1;var r=Ve(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=Ve(o)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(a);try{_i(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var u=function(e){var t=l[e],n=t.ngModule,r=t.providers;_i(r,function(e){return i.processProvider(e,n,r||Ca)})},c=0;c<l.length;c++)u(c)}this.injectorDefTypes.add(a);var d=Dt(a)||function(){return new a};this.records.set(a,Ta(d,xa));var h=r.providers;if(null!=h&&!s){var f=e;_i(h,function(e){return i.processProvider(e,f,h)})}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var i=Ra(e=Pe(e))?e:Pe(e&&e.provide),r=function(e,t,n){return Ia(e)?Ta(void 0,e.useValue):Ta(Ma(e),xa)}(e);if(Ra(e)||!0!==e.multi)this.records.get(i);else{var o=this.records.get(i);o||((o=Ta(void 0,xa,!0)).factory=function(){return Fi(o.multi)},this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,r)}},{key:"hydrate",value:function(e,t){var n;return t.value===xa&&(t.value=Aa,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}]),e}();function Oa(e){var t=Be(e),n=null!==t?t.factory:Dt(e);if(null!==n)return n;if(e instanceof mi)throw new Error("Token ".concat(Ae(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=Ai(t,"?");throw new Error("Can't resolve all parameters for ".concat(Ae(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[He]||e[Ue]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ma(e,n,i){var r,o=void 0;if(Ra(e)){var a=Pe(e);return Dt(a)||Oa(a)}if(Ia(e))o=function(){return Pe(e.useValue)};else if((r=e)&&r.useFactory)o=function(){return e.useFactory.apply(e,y(Fi(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return Ri(Pe(e.useExisting))};else{var s=Pe(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Dt(s)||Oa(s);o=function(){return t(s,y(Fi(e.deps)))}}return o}function Ta(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ia(e){return null!==e&&"object"==typeof e&&Oi in e}function Ra(e){return"function"==typeof e}var La=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Pa(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},Fa=function(){var e=function(){function e(){A(this,e)}return m(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?La(e,t,""):La(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Pi,e.NULL=new _a,e.\u0275prov=Re({token:e,providedIn:"any",factory:function(){return Ri(wa)}}),e.__NG_ELEMENT_ID__=-1,e}();function Ba(e,t){Tn(qt(e)[1],rn())}function za(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(Pt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=Va(e.inputs),o.declaredInputs=Va(e.declaredInputs),o.outputs=Va(e.outputs);var a=r.hostBindings;a&&ja(e,a);var s=r.viewQuery,l=r.contentQueries;if(s&&Na(e,s),l&&Ha(e,l),xe(e.inputs,r.inputs),xe(e.declaredInputs,r.declaredInputs),xe(e.outputs,r.outputs),Pt(r)&&r.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var d=0;d<c.length;d++){var h=c[d];h&&h.ngInherit&&h(e),h===za&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,i=e.length-1;i>=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=jn(r.hostAttrs,n=jn(n,r.hostAttrs))}}(i)}function Va(e){return e===nt?{}:e===rt?[]:e}function Na(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Ha(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function ja(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Ua=null;function Wa(){if(!Ua){var e=tt.Symbol;if(e&&e.iterator)Ua=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Ua=i)}}return Ua}var Ga=function(){function e(t){A(this,e),this.wrapped=t}return m(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function qa(e){return!!Ya(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wa()in e)}function Ya(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Za(e,t,n){return e[t]=n}function Qa(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Xa(e,t,n,i){var r=Qa(e,t,n);return Qa(e,t+1,i)||r}function Ka(e,t,n,i,r){var o=Xa(e,t,n,i);return Qa(e,t+2,r)||o}function Ja(e,t,n,i,r,o){var a=Xa(e,t,n,i);return Xa(e,t+2,r,o)||a}function $a(e,t,n,i){var r=en();return Qa(r,fn(),t)&&(tn(),function(e,t,n,i,r,o){var a=jt(e,t);!function(e,t,n,i,r,o,a){if(null==o)zt(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{var s=null==a?Me(o):a(o,i||"",r);zt(e)?e.setAttribute(t,r,s,n):n?t.setAttributeNS(n,r,s):t.setAttribute(r,s)}}(t[11],a,o,e.value,n,i,r)}(Dn(),r,e,t,n,i)),$a}function es(e,t,n,i){return Qa(e,fn(),n)?t+Me(n)+i:ko}function ts(e,t,n,i,r,o){var a=Xa(e,hn(),n,r);return pn(2),a?t+Me(n)+i+Me(r)+o:ko}function ns(e,t,n,i,r,o,a,s){var l=en(),u=tn(),c=e+20,d=u.firstCreatePass?function(e,t,n,i,r,o,a,s,l){var u=t.consts,c=Io(t,e,4,a||null,Qt(u,s));Yo(t,n,c,Qt(u,l)),Tn(t,c);var d=c.tViews=Uo(2,c,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,i,r,o,a):u.data[c];an(d,!1);var h=l[11].createComment("");to(u,l,h,d),Mr(h,l),sa(l,l[c]=ia(h,l,h,d)),Et(d)&&No(u,l,d),null!=a&&Ho(l,d,s)}function is(e){return Wt(Jt.lFrame.contextLView,20+e)}function rs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge.Default,n=en();return null===n?Ri(e,t):ii(rn(),n,Pe(e),t)}function os(e,t,n){var i=en();return Qa(i,fn(),t)&&qo(tn(),Dn(),i,e,t,i[11],n,!1),os}function as(e,t,n,i,r){var o=r?"class":"style";ma(e,n,t.inputs[o],o,i)}function ss(e,t,n,i){var r=en(),o=tn(),a=20+e,s=r[11],l=r[a]=Ur(s,t,Jt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,l=Io(t,e,2,r,Qt(s,o));return Yo(t,n,l,Qt(s,a)),null!==l.attrs&&ba(l,l.attrs,!1),null!==l.mergedAttrs&&ba(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,r,0,t,n,i):o.data[a];an(u,!0);var c=u.mergedAttrs;null!==c&&Vn(s,l,c);var d=u.classes;null!==d&&uo(s,l,d);var h=u.styles;null!==h&&lo(s,l,h),64!=(64&u.flags)&&to(o,r,l,u),0===Jt.lFrame.elementDepthCount&&Mr(l,r),Jt.lFrame.elementDepthCount++,Et(u)&&(No(o,r,u),Vo(o,u,r)),null!==i&&Ho(r,u)}function ls(){var e=rn();sn()?ln():an(e=e.parent,!1);var t=e;Jt.lFrame.elementDepthCount--;var n=tn();n.firstCreatePass&&(Tn(n,e),Ct(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&as(n,t,en(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&as(n,t,en(),t.stylesWithoutHost,!1)}function us(e,t,n,i){ss(e,t,n,i),ls()}function cs(e,t,n){var i=en(),r=tn(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Qt(o,i),s=Io(t,e,8,"ng-container",a);return null!==a&&ba(s,a,!0),Yo(t,n,s,Qt(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];an(a,!0);var s=i[o]=i[11].createComment("");to(r,i,s,a),Mr(s,i),Et(a)&&(No(r,i,a),Vo(r,a,i)),null!=n&&Ho(i,a)}function ds(){var e=rn(),t=tn();sn()?ln():an(e=e.parent,!1),t.firstCreatePass&&(Tn(t,e),Ct(e)&&t.queries.elementEnd(e))}function hs(e,t,n){cs(e,t,n),ds()}function fs(){return en()}function ps(e){return!!e&&"function"==typeof e.then}function gs(e){return!!e&&"function"==typeof e.subscribe}var vs=gs;function ms(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=en(),o=tn(),a=rn();return bs(o,r,r[11],a,e,t,n,i),ms}function ys(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=rn(),o=en(),a=tn();return bs(a,o,ga(vn(a.data),r,o),r,e,t,n,i),ys}function bs(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Et(i),u=e.firstCreatePass&&pa(e),c=fa(t),d=!0;if(3&i.type){var h=jt(i,t),f=s?s(h):nt,p=f.target||h,g=c.length,v=s?function(e){return s(Nt(e[i.index])).target}:i.index;if(zt(n)){var m=null;if(!s&&l&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;o<r.length-1;o+=2){var a=r[o];if(a===n&&r[o+1]===i){var s=t[7],l=r[o+2];return s.length>l?s[l]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,d=!1;else{o=_s(i,t,o,!1);var y=n.listen(f.name||p,r,o);c.push(o,y),u&&u.push(r,v,g,g+1)}}else o=_s(i,t,o,!0),p.addEventListener(r,o,a),c.push(o),u&&u.push(r,v,g,a)}else o=_s(i,t,o,!1);var b,w=i.outputs;if(d&&null!==w&&(b=w[r])){var _=b.length;if(_)for(var k=0;k<_;k+=2){var x=t[b[k]][b[k+1]].subscribe(o),A=c.length;c.push(o,x),u&&u.push(r,i.index,A,-(A+1))}}}function ws(e,t,n){try{return!1!==t(n)}catch(i){return va(e,i),!1}}function _s(e,t,n,i){return function r(o){if(o===Function)return n;var a=2&e.flags?Gt(e.index,t):t;0==(32&t[2])&&la(a);for(var s=ws(t,n,o),l=r.__ngNextListenerFn__;l;)s=ws(t,l,o)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function ks(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Jt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Jt.lFrame.contextLView))[8]}(e)}function xs(e,t){for(var n=null,i=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),r=0;r<t.length;r++){var o=t[r];if("*"!==o){if(null===i?yo(e,o,!0):bo(i,o))return r}else n=r}return n}function As(e){var t=en()[16][6];if(!t.projection)for(var n=t.projection=Ai(e?e.length:1,null),i=n.slice(),r=t.child;null!==r;){var o=e?xs(r,e):0;null!==o&&(i[o]?i[o].projectionNext=r:n[o]=r,i[o]=r),r=r.next}}function Cs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=en(),r=tn(),o=Io(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),ln(),64!=(64&o.flags)&&function(e,t,n){so(t[11],0,t,n,Zr(e,n,t),$r(n.parent||t[6],n,t))}(r,i,o)}function Ss(e,t,n){return Es(e,"",t,"",n),Ss}function Es(e,t,n,i,r){var o=en(),a=es(o,t,n,i);return a!==ko&&qo(tn(),Dn(),o,e,a,o[11],r,!1),Es}function Ps(e,t,n,i,r,o,a){var s=en(),l=ts(s,t,n,i,r,o);return l!==ko&&qo(tn(),Dn(),s,e,l,s[11],a,!1),Ps}function Ds(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?So(o):Po(o),l=!1;0!==s&&(!1===l||a);){var u=e[s+1];Os(e[s],t)&&(l=!0,e[s+1]=i?Oo(u):Eo(u)),s=i?So(u):Po(u)}l&&(e[n+1]=i?Eo(o):Oo(o))}function Os(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ei(e,t)>=0}var Ms={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ts(e){return e.substring(Ms.key,Ms.keyEnd)}function Is(e,t){var n=Ms.textEnd;return n===t?-1:(t=Ms.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ms.key=t,n),Rs(e,t,n))}function Rs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ls(e,t,n){return Vs(e,t,n,!1),Ls}function Fs(e,t){return Vs(e,t,null,!0),Fs}function Bs(e){Ns(Ci,zs,e,!0)}function zs(e,t){for(var n=function(e){return function(e){Ms.key=0,Ms.keyEnd=0,Ms.value=0,Ms.valueEnd=0,Ms.textEnd=e.length}(e),Is(e,Rs(e,0,Ms.textEnd))}(t);n>=0;n=Is(t,n))Ci(e,Ts(t),!0)}function Vs(e,t,n,i){var r=en(),o=tn(),a=pn(2);o.firstUpdatePass&&js(o,e,a,i),t!==ko&&Qa(r,a,t)&&Gs(o,o.data[En()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ae(Ki(e)))),e}(t,n),i,a)}function Ns(e,t,n,i){var r=tn(),o=pn(2);r.firstUpdatePass&&js(r,null,o,i);var a=en();if(n!==ko&&Qa(a,o,n)){var s=r.data[En()];if(Zs(s,i)&&!Hs(r,o)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=Ce(l,n||"")),as(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===ko&&(r=it);for(var l=0,u=0,c=0<r.length?r[0]:null,d=0<o.length?o[0]:null;null!==c||null!==d;){var h=l<r.length?r[l+1]:void 0,f=u<o.length?o[u+1]:void 0,p=null,g=void 0;c===d?(l+=2,u+=2,h!==f&&(p=d,g=f)):null===d||null!==c&&c<d?(l+=2,p=c):(u+=2,p=d,g=f),null!==p&&Gs(e,t,n,i,p,g,a,s),c=l<r.length?r[l]:null,d=u<o.length?o[u]:null}}(r,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return it;var i=[],r=Ki(n);if(Array.isArray(r))for(var o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(var a in r)r.hasOwnProperty(a)&&e(i,a,r[a]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function Hs(e,t){return t>=e.expandoStartIndex}function js(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[En()],a=Hs(e,n);Zs(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=vn(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ws(n=Us(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Us(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Po(i))return e[So(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[So(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Ws(s=Us(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i=void 0,r=t.directiveEnd,o=1+t.directiveStylingLast;o<r;o++)i=Ws(i,e[o].hostAttrs,n);return Ws(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function(e,t,n,i,r,o){var a=o?t.classBindings:t.styleBindings,s=So(a),l=Po(a);e[i]=n;var u,c=!1;if(Array.isArray(n)){var d=n;(null===(u=d[1])||Ei(d,u)>0)&&(c=!0)}else u=n;if(r)if(0!==l){var h=So(e[s+1]);e[i+1]=Co(h,s),0!==h&&(e[h+1]=Do(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Co(s,0),0!==s&&(e[s+1]=Do(e[s+1],i)),s=i;else e[i+1]=Co(l,0),0===s?s=i:e[l+1]=Do(e[l+1],i),l=i;c&&(e[i+1]=Eo(e[i+1])),Ds(e,u,i,!0),Ds(e,u,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Ei(o,t)>=0&&(n[i+1]=Oo(n[i+1]))}(t,u,e,i,o),a=Co(s,l),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Us(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(i=Ws(i,(o=t[s]).hostAttrs,r),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),i}function Ws(e,t,n){var i=n?1:2,r=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ci(e,a,!!n||t[++o]))}return void 0===e?null:e}function Gs(e,t,n,i,r,o,a,s){if(3&t.type){var l=e.data,u=l[s+1];Ys(1==(1&u)?qs(l,t,n,r,Po(u),a):void 0)||(Ys(o)||2==(2&u)&&(o=qs(l,null,n,r,s,a)),function(e,t,n,i,r){var o=zt(e);if(t)r?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{var a=-1===i.indexOf("-")?void 0:Fr.DashCase;if(null==r)o?e.removeStyle(n,i,a):n.style.removeProperty(i);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),a|=Fr.Important),o?e.setStyle(n,i,r,a):n.style.setProperty(i,r,s?"important":"")}}}(i,a,Ht(En(),n),r,o))}}function qs(e,t,n,i,r,o){for(var a=null===t,s=void 0;r>0;){var l=e[r],u=Array.isArray(l),c=u?l[1]:l,d=null===c,h=n[r+1];h===ko&&(h=d?it:void 0);var f=d?Si(h,i):c===i?h:void 0;if(u&&!Ys(f)&&(f=Si(l,i)),Ys(f)&&(s=f,a))return s;var p=e[r+1];r=a?So(p):Po(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=Si(g,i))}return s}function Ys(e){return void 0!==e}function Zs(e,t){return 0!=(e.flags&(t?16:32))}function Qs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=en(),i=tn(),r=e+20,o=i.firstCreatePass?Io(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return zt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);to(i,n,a,o),an(o,!1)}function Xs(e){return Ks("",e,""),Xs}function Ks(e,t,n){var i=en(),r=es(i,e,t,n);return r!==ko&&ya(i,En(),r),Ks}function Js(e,t,n,i,r){var o=en(),a=ts(o,e,t,n,i,r);return a!==ko&&ya(o,En(),a),Js}function $s(e,t,n,i,r,o,a){var s=en(),l=function(e,t,n,i,r,o,a,s){var l=Ka(e,hn(),n,r,a);return pn(3),l?t+Me(n)+i+Me(r)+o+Me(a)+s:ko}(s,e,t,n,i,r,o,a);return l!==ko&&ya(s,En(),l),$s}function el(e,t,n,i,r,o,a,s,l){var u=en(),c=function(e,t,n,i,r,o,a,s,l,u){var c=Ja(e,hn(),n,r,a,l);return pn(4),c?t+Me(n)+i+Me(r)+o+Me(a)+s+Me(l)+u:ko}(u,e,t,n,i,r,o,a,s,l);return c!==ko&&ya(u,En(),c),el}function tl(e,t,n){Ns(Ci,zs,es(en(),e,t,n),!0)}function nl(e,t,n){var i=en();return Qa(i,fn(),t)&&qo(tn(),Dn(),i,e,t,i[11],n,!0),nl}function il(e,t,n){var i=en();if(Qa(i,fn(),t)){var r=tn(),o=Dn();qo(r,o,i,e,t,ga(vn(r.data),o,i),n,!0)}return il}var rl=void 0,ol=["en",[["a","p"],["AM","PM"],rl],[["AM","PM"],rl,rl],[["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"]],rl,[["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"]],rl,[["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}",rl,"{1} 'at' {0}",rl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],al={};function sl(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=ll(t);if(n)return n;var i=t.split("-")[0];if(n=ll(i))return n;if("en"===i)return ol;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function ll(e){return e in al||(al[e]=tt.ng&&tt.ng.common&&tt.ng.common.locales&&tt.ng.common.locales[e]),al[e]}var ul=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function cl(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function dl(e,t,n,i,r){if(e=Pe(e),Array.isArray(e))for(var o=0;o<e.length;o++)dl(e[o],t,n,i,r);else{var a=tn(),s=en(),l=Ra(e)?e:Pe(e.provide),u=Ma(e),c=rn(),d=1048575&c.providerIndexes,h=c.directiveStart,f=c.providerIndexes>>20;if(Ra(e)||!e.multi){var p=new zn(u,r,rs),g=pl(l,t,r?d:d+f,h);-1===g?(ei(Xn(c,s),a,l),hl(a,e,t.length),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=pl(l,t,d+f,h),m=pl(l,t,d,d+f),y=v>=0&&n[v],b=m>=0&&n[m];if(r&&!b||!r&&!y){ei(Xn(c,s),a,l);var w=function(e,t,n,i,r){var o=new zn(e,n,rs);return o.multi=[],o.index=t,o.componentProviders=0,fl(o,r,i&&!n),o}(r?vl:gl,n.length,r,i,u);!r&&b&&(n[m].providerFactory=w),hl(a,e,t.length,0),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(w),s.push(w)}else hl(a,e,v>-1?v:m,fl(n[r?m:v],u,!r&&i));!r&&i&&b&&n[m].componentProviders++}}}function hl(e,t,n,i){var r=Ra(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function fl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pl(e,t,n,i){for(var r=n;r<i;r++)if(t[r]===e)return r;return-1}function gl(e,t,n,i){return ml(this.multi,[])}function vl(e,t,n,i){var r,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=li(n,n[1],this.providerFactory.index,i);ml(o,r=s.slice(0,a));for(var l=a;l<s.length;l++)r.push(s[l])}else ml(o,r=[]);return r}function ml(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function yl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=tn();if(i.firstCreatePass){var r=Pt(e);dl(n,i.data,i.blueprint,r,!0),dl(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var bl=function e(){A(this,e)},wl=function(){function e(){A(this,e)}return m(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(Ae(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),_l=function(){var e=function e(){A(this,e)};return e.NULL=new wl,e}();function kl(){}function xl(e,t){return new Cl(jt(e,t))}var Al=function(){return xl(rn(),en())},Cl=function(){var e=function e(t){A(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=Al,e}();function Sl(e){return e instanceof Cl?e.nativeElement:e}var El=function e(){A(this,e)},Pl=function(){var e=function e(){A(this,e)};return e.__NG_ELEMENT_ID__=function(){return Dl()},e}(),Dl=function(){var e=en(),t=Gt(rn().index,e);return function(e){return e[11]}(xt(t)?t:e)},Ol=function(){var e=function e(){A(this,e)};return e.\u0275prov=Re({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ml=function e(t){A(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Tl=new Ml("11.2.6"),Il=function(){function e(){A(this,e)}return m(e,[{key:"supports",value:function(e){return qa(e)}},{key:"create",value:function(e){return new Ll(e)}}]),e}(),Rl=function(e,t){return t},Ll=function(){function e(t){A(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||Rl}return m(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex<Vl(n,i,r)?t:n,a=Vl(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{r||(r=[]);var l=a-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var d=c<r.length?r[c]:r[c]=0,h=d+c;u<=h&&h<l&&(r[c]=d+1)}r[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!qa(e))throw new Error("Error trying to diff '".concat(Ae(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,i,r,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),null!==o&&Object.is(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),Object.is(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,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 i,r=e[Wa()]();!(i=r.next()).done;)t(i.value)}(e,function(e){r=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,r)?(a&&(o=t._verifyReinsertion(o,e,r,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,r,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;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,i){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new Fl(t,n),r,i),e}},{key:"_verifyReinsertion",value:function(e,t,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}},{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 i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{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 i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new zl),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 zl),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}}]),e}(),Fl=function e(t,n){A(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},Bl=function(){function e(){A(this,e),this._head=null,this._tail=null}return m(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),zl=function(){function e(){A(this,e),this.map=new Map}return m(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Bl,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()}}]),e}();function Vl(e,t,n){var i=e.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Nl=function(){function e(){A(this,e)}return m(e,[{key:"supports",value:function(e){return e instanceof Map||Ya(e)}},{key:"create",value:function(){return new Hl}}]),e}(),Hl=function(){function e(){A(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return m(e,[{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||Ya(e)))throw new Error("Error trying to diff '".concat(Ae(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,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new jl(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){Object.is(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)})}}]),e}(),jl=function e(t){A(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};function Ul(){return new Wl([new Il])}var Wl=function(){var e=function(){function e(t){A(this,e),this.factories=t}return m(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 i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Ul())},deps:[[e,new ji,new Hi]]}}}]),e}();return e.\u0275prov=Re({token:e,providedIn:"root",factory:Ul}),e}();function Gl(){return new ql([new Nl])}var ql=function(){var e=function(){function e(t){A(this,e),this.factories=t}return m(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 i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Gl())},deps:[[e,new ji,new Hi]]}}}]),e}();return e.\u0275prov=Re({token:e,providedIn:"root",factory:Gl}),e}();function Yl(e,t,n,i){for(var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&i.push(Nt(o)),At(o))for(var a=10;a<o.length;a++){var s=o[a],l=s[1].firstChild;null!==l&&Yl(s[1],s,l,i)}var u=n.type;if(8&u)Yl(e,t,n.child,i);else if(32&u)for(var c=Br(n,t),d=void 0;d=c();)i.push(d);else if(16&u){var h=io(t,n);if(Array.isArray(h))i.push.apply(i,y(h));else{var f=zr(t[16]);Yl(f[1],f,h,i,!0)}}n=r?n.projectionNext:n.next}return i}var Zl=function(){function e(t,n){A(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return m(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return Yl(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(At(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Gr(e,n),xi(t,n))}this._attachedToViewContainer=!1}qr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Wo(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){la(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ua(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){cn(!0);try{ua(e,t,n)}finally{cn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,ao(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Ql=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this,e))._view=e,i}return m(n,[{key:"detectChanges",value:function(){ca(this._view)}},{key:"checkNoChanges",value:function(){!function(e){cn(!0);try{ca(e)}finally{cn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Zl),Xl=Jl,Kl=function(){var e=function e(){A(this,e)};return e.__NG_ELEMENT_ID__=Xl,e.__ChangeDetectorRef__=!0,e}();function Jl(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&St(e)){var i=Gt(e.index,t);return new Zl(i,i)}return 47&e.type?new Zl(t[16],t):null}(rn(),en(),e)}var $l=[new Nl],eu=new Wl([new Il]),tu=new ql($l),nu=function(){return ou(rn(),en())},iu=function(){var e=function e(){A(this,e)};return e.__NG_ELEMENT_ID__=nu,e}(),ru=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return m(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=To(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Lo(t,n,e),new Zl(n)}}]),n}(iu);function ou(e,t){return 4&e.type?new ru(t,e,xl(e,t)):null}var au=function e(){A(this,e)},su=function e(){A(this,e)},lu=function(){return fu(rn(),en())},uu=function(){var e=function e(){A(this,e)};return e.__NG_ELEMENT_ID__=lu,e}(),cu=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return m(n,[{key:"element",get:function(){return xl(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new di(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=$n(this._hostTNode,this._hostLView);if(Wn(e)){var t=qn(e,this._hostLView),n=Gn(e);return new di(t[1].data[n+8],t)}return new di(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=du(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(au,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(At(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var l=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i<o-10?(t[4]=n[r],ki(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,i,u,l);var c=ro(l,u),d=i[11],h=Jr(d,u[7]);return null!==h&&function(e,t,n,i,r,o){i[0]=r,i[6]=t,ao(e,i,n,1,r,o)}(r,u[6],d,i,h,c),e.attachToViewContainerRef(),ki(hu(u),l,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=du(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=Gr(this._lContainer,t);n&&(xi(hu(this._lContainer),t),qr(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=Gr(this._lContainer,t);return n&&null!=xi(hu(this._lContainer),t)?new Zl(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(uu);function du(e){return e[8]}function hu(e){return e[8]||(e[8]=[])}function fu(e,t){var n,i=t[e.index];if(At(i))n=i;else{var r;if(8&e.type)r=Nt(i);else{var o=t[11];r=o.createComment("");var a=jt(e,t);Qr(o,Jr(o,a),r,function(e,t){return zt(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=ia(i,t,r,e),sa(t,n)}return new cu(n,e,t)}var pu={},gu=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this)).ngModule=e,i}return m(n,[{key:"resolveComponentFactory",value:function(e){var t=_t(e);return new yu(t,this.ngModule)}}]),n}(_l);function vu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var mu=new mi("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Tr}}),yu=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(_o).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return m(n,[{key:"inputs",get:function(){return vu(this.componentDef.inputs)}},{key:"outputs",get:function(){return vu(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,pu,r);return o!==pu||i===pu?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(El,Vt),l=a.get(Ol,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(zt(e))return e.selectRootElement(t,n===Xe.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(u,n,this.componentDef.encapsulation):Ur(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,f={components:[],scheduler:Tr,clean:ha,playerHandler:null,flags:0},p=Uo(0,null,null,1,0,null,null,null,null,null),g=To(null,p,f,h,null,null,s,u,l,a);_n(g);try{var v=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=Io(a,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(ba(s,l,!0),null!==e&&(Vn(r,e,l),null!==s.classes&&uo(r,e,s.classes),null!==s.styles&&lo(r,e,s.styles)));var u=i.createRenderer(e,t),c=To(n,jo(t),null,t.onPush?64:16,n[20],s,i,u,null,null);return a.firstCreatePass&&(ei(Xn(s,n),a,t.type),Xo(a,s),Jo(s,n.length,1)),sa(n,c),n[20]=c}(d,this.componentDef,g,s,u);if(d)if(n)Vn(u,d,["ng-version",Tl.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i<e.length;){var o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!vo(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=m.attrs,b=m.classes;y&&Vn(u,d,y),b&&b.length>0&&uo(u,d,b.join(" "))}if(o=Ut(p,20),void 0!==t)for(var w=o.projection=[],_=0;_<this.ngContentSelectors.length;_++){var k=t[_];w.push(null!=k?Array.from(k):null)}r=function(e,t,n,i,r){var o=n[1],a=function(e,t,n){var i=rn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$o(e,i,t,Ro(e,t,1,null),n));var r=li(t,e,i.directiveStart,i);Mr(r,t);var o=jt(i,t);return o&&Mr(o,t),r}(o,n,t);if(i.components.push(a),e[8]=a,r&&r.forEach(function(e){return e(a,t)}),t.contentQueries){var s=rn();t.contentQueries(1,a,s.directiveStart)}var l=rn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Pn(l.index),Zo(n[1],l,0,l.directiveStart,l.directiveEnd,t),Qo(t,a)),a}(v,this.componentDef,g,f,[Ba]),Lo(p,g,null)}finally{Sn()}return new bu(this.componentType,r,xl(o,g),g,o)}}]),n}(bl),bu=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a){var s;return A(this,n),(s=t.call(this)).location=r,s._rootLView=o,s._tNode=a,s.instance=i,s.hostView=s.changeDetectorRef=new Ql(o),s.componentType=e,s}return m(n,[{key:"injector",get:function(){return new di(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),n}(function(){return function e(){A(this,e)}}()),wu=new Map,_u=function(e){r(n,e);var t=a(n);function n(e,i){var r;A(this,n),(r=t.call(this))._parent=i,r._bootstrapComponents=[],r.injector=l(r),r.destroyCbs=[],r.componentFactoryResolver=new gu(l(r));var o=kt(e),a=e[ut]||null;return a&&cl(a),r._bootstrapComponents=Lr(o.bootstrap),r._r3Injector=Pa(e,i,[{provide:au,useValue:l(r)},{provide:_l,useValue:r.componentFactoryResolver}],Ae(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return m(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ge.Default;return e===Fa||e===au||e===wa?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(au),ku=function(e){r(n,e);var t=a(n);function n(e){var i,r,o;return A(this,n),(i=t.call(this)).moduleType=e,null!==kt(e)&&(r=e,o=new Set,function e(t){var n=kt(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Ae(t)," vs ").concat(Ae(t.name)))}(i,wu.get(i),t),wu.set(i,t));var r,a=h(Lr(n.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),e(s))}}catch(l){a.e(l)}finally{a.f()}}(r)),i}return m(n,[{key:"create",value:function(e){return new _u(this.moduleType,e)}}]),n}(su);function xu(e,t,n){var i=dn()+e,r=en();return r[i]===ko?Za(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Au(e,t,n,i){return Eu(en(),dn(),e,t,n,i)}function Cu(e,t,n,i,r){return Pu(en(),dn(),e,t,n,i,r)}function Su(e,t){var n=e[t];return n===ko?void 0:n}function Eu(e,t,n,i,r,o){var a=t+n;return Qa(e,a,r)?Za(e,a+1,o?i.call(o,r):i(r)):Su(e,a+1)}function Pu(e,t,n,i,r,o,a){var s=t+n;return Xa(e,s,r,o)?Za(e,s+2,a?i.call(a,r,o):i(r,o)):Su(e,s+2)}function Du(e,t){var n,i=tn(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Oe("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=Dt(n.type)),a=qe(rs);try{var s=Zn(!1),l=o();return Zn(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,en(),r,l),l}finally{qe(a)}}function Ou(e,t,n){var i=e+20,r=en(),o=Wt(r,i);return Lu(r,Ru(r,i)?Eu(r,dn(),t,o.transform,n,o):o.transform(n))}function Mu(e,t,n,i){var r=e+20,o=en(),a=Wt(o,r);return Lu(o,Ru(o,r)?Pu(o,dn(),t,a.transform,n,i,a):a.transform(n,i))}function Tu(e,t,n,i,r){var o=e+20,a=en(),s=Wt(a,o);return Lu(a,Ru(a,o)?function(e,t,n,i,r,o,a,s){var l=t+n;return Ka(e,l,r,o,a)?Za(e,l+3,s?i.call(s,r,o,a):i(r,o,a)):Su(e,l+3)}(a,dn(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function Iu(e,t,n,i,r,o){var a=e+20,s=en(),l=Wt(s,a);return Lu(s,Ru(s,a)?function(e,t,n,i,r,o,a,s,l){var u=t+n;return Ja(e,u,r,o,a,s)?Za(e,u+4,l?i.call(l,r,o,a,s):i(r,o,a,s)):Su(e,u+4)}(s,dn(),t,l.transform,n,i,r,o,l):l.transform(n,i,r,o))}function Ru(e,t){return e[1].data[t].pure}function Lu(e,t){return Ga.isWrapped(t)&&(t=Ga.unwrap(t),e[hn()]=ko),t}var Fu=function(e){r(n,e);var t=a(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return A(this,n),(e=t.call(this)).__isAsync=i,e}return m(n,[{key:"emit",value:function(e){i(c(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,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)},t&&(a=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var l=i(c(n.prototype),"subscribe",this).call(this,o,a,s);return e instanceof O&&e.add(l),l}}]),n}(W);function Bu(){return this._results[Wa()]()}var zu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Wa(),i=e.prototype;i[n]||(i[n]=Bu)}return m(e,[{key:"changes",get:function(){return this._changes||(this._changes=new Fu)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=wi(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++){var r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}},{key:"notifyOnChanges",value:function(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Vu=function(){function e(t){A(this,e),this.queryList=t,this.matches=null}return m(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Nu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];A(this,e),this.queries=t}return m(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o<i;o++){var a=n.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new e(r)}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!==ec(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Hu=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;A(this,e),this.predicate=t,this.flags=n,this.read=i},ju=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];A(this,e),this.queries=t}return m(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),Uu=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;A(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return m(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(e,t,Wu(t,r)),this.matchTNodeWithReadOption(e,t,si(t,e,r,!1,!1))}else n===iu?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,si(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===Cl||i===uu||i===iu&&4&t.type)this.addMatch(t.index,-2);else{var r=si(t,e,i,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Wu(e,t){var n=e.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Gu(e,t,n,i){return-1===n?function(e,t){return 11&e.type?xl(e,t):4&e.type?ou(e,t):null}(t,e):-2===n?function(e,t,n){return n===Cl?xl(t,e):n===iu?ou(t,e):n===uu?fu(t,e):void 0}(e,t,i):li(e,e[1],n,t)}function qu(e,t,n,i){var r=t[19].queries[i];if(null===r.matches){for(var o=e.data,a=n.matches,s=[],l=0;l<a.length;l+=2){var u=a[l];s.push(u<0?null:Gu(t,o[u],a[l+1],n.metadata.read))}r.matches=s}return r.matches}function Yu(e,t,n,i){var r=e.queries.getByIndex(n),o=r.matches;if(null!==o)for(var a=qu(e,t,r,n),s=0;s<o.length;s+=2){var l=o[s];if(l>0)i.push(a[s/2]);else{for(var u=o[s+1],c=t[-l],d=10;d<c.length;d++){var h=c[d];h[17]===h[3]&&Yu(h[1],h,u,i)}if(null!==c[9])for(var f=c[9],p=0;p<f.length;p++){var g=f[p];Yu(g[1],g,u,i)}}}return i}function Zu(e){var t=en(),n=tn(),i=mn();yn(i+1);var r=ec(n,i);if(e.dirty&&Yt(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{var o=r.crossesNgTemplate?Yu(n,t,i,[]):qu(n,t,r,i);e.reset(o,Sl),e.notifyOnChanges()}return!0}return!1}function Qu(e,t,n){var i=tn();i.firstCreatePass&&($u(i,new Hu(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Ju(i,en(),t)}function Xu(e,t,n,i){var r=tn();if(r.firstCreatePass){var o=rn();$u(r,new Hu(t,n,i),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}Ju(r,en(),n)}function Ku(){return e=en(),t=mn(),e[19].queries[t].queryList;var e,t}function Ju(e,t,n){var i=new zu(4==(4&n));Wo(e,t,i,i.destroy),null===t[19]&&(t[19]=new Nu),t[19].queries.push(new Vu(i))}function $u(e,t,n){null===e.queries&&(e.queries=new ju),e.queries.track(new Uu(t,n))}function ec(e,t){return e.queries.getByIndex(t)}function tc(e,t){return ou(e,t)}function nc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ge.Default,t=Jl(!0);if(null!=t||e&Ge.Optional)return t;Ie("ChangeDetectorRef")}var ic=new mi("Application Initializer"),rc=function(){var e=function(){function e(t){var n=this;A(this,e),this.appInits=t,this.resolve=kl,this.reject=kl,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return m(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();ps(r)&&t.push(r)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ri(ic,8))},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}(),oc=new mi("AppId"),ac={provide:oc,useFactory:function(){return"".concat(sc()).concat(sc()).concat(sc())},deps:[]};function sc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var lc=new mi("Platform Initializer"),uc=new mi("Platform ID"),cc=new mi("appBootstrapListener"),dc=function(){var e=function(){function e(){A(this,e)}return m(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}(),hc=new mi("LocaleId"),fc=new mi("DefaultCurrencyCode"),pc=function e(t,n){A(this,e),this.ngModuleFactory=t,this.componentFactories=n},gc=function(e){return new ku(e)},vc=gc,mc=function(e){return Promise.resolve(gc(e))},yc=function(e){var t=gc(e),n=Lr(kt(e).declarations).reduce(function(e,t){var n=_t(t);return n&&e.push(new yu(n)),e},[]);return new pc(t,n)},bc=yc,wc=function(e){return Promise.resolve(yc(e))},_c=function(){var e=function(){function e(){A(this,e),this.compileModuleSync=vc,this.compileModuleAsync=mc,this.compileModuleAndAllComponentsSync=bc,this.compileModuleAndAllComponentsAsync=wc}return m(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}(),kc=Promise.resolve(0);function xc(e){"undefined"==typeof Zone?kc.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Ac=function(){function e(t){var n,i,r=t.enableLongStackTrace,o=void 0!==r&&r,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a,l=t.shouldCoalesceRunChangeDetection,u=void 0!==l&&l;if(A(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fu(!1),this.onMicrotaskEmpty=new Fu(!1),this.onStable=new Fu(!1),this.onError=new Fu(!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.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!u&&s,this.shouldCoalesceRunChangeDetection=u,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=tt.requestAnimationFrame,t=tt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,i=function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(tt,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,Ec(e),Sc(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),Ec(e))}(n)},(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,r,o,a,s){try{return Pc(n),e.invokeTask(r,o,a,s)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&i(),Dc(n)}},onInvoke:function(e,t,r,o,a,s,l){try{return Pc(n),e.invoke(r,o,a,s,l)}finally{n.shouldCoalesceRunChangeDetection&&i(),Dc(n)}},onHasTask:function(e,t,i,r){e.hasTask(i,r),t===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Ec(n),Sc(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,t,i,r){return e.handleError(i,r),n.runOutsideAngular(function(){return n.onError.emit(r)}),!1}})}return m(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,Cc,kl,kl);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),Cc={};function Sc(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 Ec(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Pc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dc(e){e._nesting--,Sc(e)}var Oc,Mc=function(){function e(){A(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fu,this.onMicrotaskEmpty=new Fu,this.onStable=new Fu,this.onError=new Fu}return m(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,i){return e.apply(t,n)}}]),e}(),Tc=function(){var e=function(){function e(t){var n=this;A(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return m(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Ac.assertNotInAngularZone(),xc(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())xc(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 i=this,r=-1;t&&t>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ri(Ac))},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}(),Ic=function(){var e=function(){function e(){A(this,e),this._applications=new Map,Rc.addToWindow(this)}return m(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Rc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}(),Rc=new(function(){function e(){A(this,e)}return m(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Lc=!0,Fc=!1;function Bc(){return Fc=!0,Lc}var zc=new mi("AllowMultipleToken"),Vc=function e(t,n){A(this,e),this.name=t,this.token=n};function Nc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+t,r=new mi(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Hc();if(!o||o.injector.get(zc,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:ka,useValue:"platform"});!function(e){if(Oc&&!Oc.destroyed&&!Oc.injector.get(zc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oc=e.get(jc);var t=e.get(lc,null);t&&t.forEach(function(e){return e()})}(Fa.create({providers:a,name:i}))}return function(e){var t=Hc();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}(r)}}function Hc(){return Oc&&!Oc.destroyed?Oc:null}var jc=function(){var e=function(){function e(t){A(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return m(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new Mc:("zone.js"===n?void 0:n)||new Ac({enableLongStackTrace:Bc(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),a=[{provide:Ac,useValue:o}];return o.run(function(){var t=Fa.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Or,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){qc(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var o=((a=n.injector.get(rc)).runInitializers(),a.donePromise.then(function(){return cl(n.injector.get(hc,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return ps(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}(i,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Uc({},n);return function(e,t,n){var i=new ku(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Gc);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(Ae(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}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ri(Fa))},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}();function Uc(e,t){return Array.isArray(t)?t.reduce(Uc,e):Object.assign(Object.assign({},e),t)}var Wc,Gc=((Wc=function(){function e(t,n,i,r,o){var a=this;A(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new z(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),l=new z(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Ac.assertNotInAngularZone(),xc(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ac.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=he(s,l.pipe(_e()))}return m(e,[{key:"bootstrap",value:function(e,t){var n,i=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 bl?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(au),o=n.create(Fa.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(Tc,null),l=s&&o.injector.get(Ic);return s&&l&&l.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),qc(i.components,o),l&&l.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=h(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;qc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(cc,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Wc)(Ri(Ac),Ri(Fa),Ri(Or),Ri(_l),Ri(rc))},Wc.\u0275prov=Re({token:Wc,factory:Wc.\u0275fac}),Wc);function qc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Yc=function e(){A(this,e)},Zc=function e(){A(this,e)},Qc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Xc=function(){var e=function(){function e(t,n){A(this,e),this._compiler=t,this._config=n||Qc}return m(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,n=f(e.split("#"),2),i=n[0],r=n[1];return void 0===r&&(r="default"),u("MYvV")(i).then(function(e){return e[r]}).then(function(e){return Kc(e,i,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=f(e.split("#"),2),n=t[0],i=t[1],r="NgFactory";return void 0===i&&(i="default",r=""),u("MYvV")(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[i+r]}).then(function(e){return Kc(e,n,i)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ri(_c),Ri(Zc,8))},e.\u0275prov=Re({token:e,factory:e.\u0275fac}),e}();function Kc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Jc=Nc(null,"core",[{provide:uc,useValue:"unknown"},{provide:jc,deps:[Fa]},{provide:Ic,deps:[]},{provide:dc,deps:[]}]),$c=[{provide:Gc,useClass:Gc,deps:[Ac,Fa,Or,_l,rc]},{provide:mu,deps:[Ac],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:rc,useClass:rc,deps:[[new Hi,ic]]},{provide:_c,useClass:_c,deps:[]},ac,{provide:Wl,useFactory:function(){return eu},deps:[]},{provide:ql,useFactory:function(){return tu},deps:[]},{provide:hc,useFactory:function(e){return cl(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Ni(hc),new Hi,new ji]]},{provide:fc,useValue:"USD"}],ed=function(){var e=function e(t){A(this,e)};return e.\u0275fac=function(t){return new(t||e)(Ri(Gc))},e.\u0275mod=mt({type:e}),e.\u0275inj=Fe({providers:$c}),e}(),td={production:!0,VERSION:u("kiQV").version,AUTHOR:u("kiQV").author},nd=null;function id(){return nd}var rd,od=new mi("DocumentToken"),ad=((rd=function e(){A(this,e)}).\u0275fac=function(e){return new(e||rd)},rd.\u0275prov=Re({factory:sd,token:rd,providedIn:"platform"}),rd);function sd(){return Ri(cd)}var ld,ud=new mi("Location Initialized"),cd=((ld=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this))._doc=e,i._init(),i}return m(n,[{key:"_init",value:function(){this.location=id().getLocation(),this._history=id().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return id().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){id().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){id().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){dd()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){dd()?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}}]),n}(ad)).\u0275fac=function(e){return new(e||ld)(Ri(od))},ld.\u0275prov=Re({factory:hd,token:ld,providedIn:"platform"}),ld);function dd(){return!!window.history.pushState}function hd(){return new cd(Ri(od))}function fd(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function pd(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 gd(e){return e&&"?"!==e[0]?"?"+e:e}var vd,md=((vd=function e(){A(this,e)}).\u0275fac=function(e){return new(e||vd)},vd.\u0275prov=Re({factory:yd,token:vd,providedIn:"root"}),vd);function yd(e){var t=Ri(od).location;return new xd(Ri(ad),t&&t.origin||"")}var bd,wd,_d,kd=new mi("appBaseHref"),xd=((_d=function(e){r(n,e);var t=a(n);function n(e,i){var r;if(A(this,n),(r=t.call(this))._platformLocation=e,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,s(r)}return m(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return fd(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+gd(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+gd(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+gd(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(md)).\u0275fac=function(e){return new(e||_d)(Ri(ad),Ri(kd,8))},_d.\u0275prov=Re({token:_d,factory:_d.\u0275fac}),_d),Ad=((wd=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",null!=i&&(r._baseHref=i),r}return m(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=fd(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+gd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+gd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(md)).\u0275fac=function(e){return new(e||wd)(Ri(ad),Ri(kd,8))},wd.\u0275prov=Re({token:wd,factory:wd.\u0275fac}),wd),Cd=((bd=function(){function e(t,n){var i=this;A(this,e),this._subject=new Fu,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=pd(Ed(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return m(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+gd(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Ed(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||bd)(Ri(md),Ri(ad))},bd.normalizeQueryParams=gd,bd.joinWithSlash=fd,bd.stripTrailingSlash=pd,bd.\u0275prov=Re({factory:Sd,token:bd,providedIn:"root"}),bd);function Sd(){return new Cd(Ri(md),Ri(ad))}function Ed(e){return e.replace(/\/index.html$/,"")}var Pd=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Dd=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Od=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Md=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Td=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Id(e,t){return zd(sl(e)[ul.DateFormat],t)}function Rd(e,t){return zd(sl(e)[ul.TimeFormat],t)}function Ld(e,t){return zd(sl(e)[ul.DateTimeFormat],t)}function Fd(e,t){var n=sl(e),i=n[ul.NumberSymbols][t];if(void 0===i){if(t===Td.CurrencyDecimal)return n[ul.NumberSymbols][Td.Decimal];if(t===Td.CurrencyGroup)return n[ul.NumberSymbols][Td.Group]}return i}function Bd(e){if(!e[ul.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[ul.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function zd(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 Vd(e){var t=f(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var Nd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hd={},jd=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|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]*)/,Ud=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Wd=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),Gd=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function qd(e,t,n,i){var r=function(e){if(oh(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=f(e.split("-").map(function(e){return+e}),3),n=t[0],i=t[1],r=void 0===i?1:i,o=t[2];return Yd(n,r-1,void 0===o?1:o)}var a,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(a=e.match(Nd))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(a)}var l=new Date(e);if(!oh(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=Zd(n,t)||t;for(var o,a=[];t;){if(!(o=jd.exec(t))){a.push(t);break}var s=(a=a.concat(o.slice(1))).pop();if(!s)break;t=s}var l=r.getTimezoneOffset();i&&(l=rh(i,l),r=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(rh(t,i)-i))}(r,i));var u="";return a.forEach(function(e){var t=function(e){if(ih[e])return ih[e];var t;switch(e){case"G":case"GG":case"GGG":t=Jd(Gd.Eras,Od.Abbreviated);break;case"GGGG":t=Jd(Gd.Eras,Od.Wide);break;case"GGGGG":t=Jd(Gd.Eras,Od.Narrow);break;case"y":t=Kd(Wd.FullYear,1,0,!1,!0);break;case"yy":t=Kd(Wd.FullYear,2,0,!0,!0);break;case"yyy":t=Kd(Wd.FullYear,3,0,!1,!0);break;case"yyyy":t=Kd(Wd.FullYear,4,0,!1,!0);break;case"Y":t=nh(1);break;case"YY":t=nh(2,!0);break;case"YYY":t=nh(3);break;case"YYYY":t=nh(4);break;case"M":case"L":t=Kd(Wd.Month,1,1);break;case"MM":case"LL":t=Kd(Wd.Month,2,1);break;case"MMM":t=Jd(Gd.Months,Od.Abbreviated);break;case"MMMM":t=Jd(Gd.Months,Od.Wide);break;case"MMMMM":t=Jd(Gd.Months,Od.Narrow);break;case"LLL":t=Jd(Gd.Months,Od.Abbreviated,Dd.Standalone);break;case"LLLL":t=Jd(Gd.Months,Od.Wide,Dd.Standalone);break;case"LLLLL":t=Jd(Gd.Months,Od.Narrow,Dd.Standalone);break;case"w":t=th(1);break;case"ww":t=th(2);break;case"W":t=th(1,!0);break;case"d":t=Kd(Wd.Date,1);break;case"dd":t=Kd(Wd.Date,2);break;case"E":case"EE":case"EEE":t=Jd(Gd.Days,Od.Abbreviated);break;case"EEEE":t=Jd(Gd.Days,Od.Wide);break;case"EEEEE":t=Jd(Gd.Days,Od.Narrow);break;case"EEEEEE":t=Jd(Gd.Days,Od.Short);break;case"a":case"aa":case"aaa":t=Jd(Gd.DayPeriods,Od.Abbreviated);break;case"aaaa":t=Jd(Gd.DayPeriods,Od.Wide);break;case"aaaaa":t=Jd(Gd.DayPeriods,Od.Narrow);break;case"b":case"bb":case"bbb":t=Jd(Gd.DayPeriods,Od.Abbreviated,Dd.Standalone,!0);break;case"bbbb":t=Jd(Gd.DayPeriods,Od.Wide,Dd.Standalone,!0);break;case"bbbbb":t=Jd(Gd.DayPeriods,Od.Narrow,Dd.Standalone,!0);break;case"B":case"BB":case"BBB":t=Jd(Gd.DayPeriods,Od.Abbreviated,Dd.Format,!0);break;case"BBBB":t=Jd(Gd.DayPeriods,Od.Wide,Dd.Format,!0);break;case"BBBBB":t=Jd(Gd.DayPeriods,Od.Narrow,Dd.Format,!0);break;case"h":t=Kd(Wd.Hours,1,-12);break;case"hh":t=Kd(Wd.Hours,2,-12);break;case"H":t=Kd(Wd.Hours,1);break;case"HH":t=Kd(Wd.Hours,2);break;case"m":t=Kd(Wd.Minutes,1);break;case"mm":t=Kd(Wd.Minutes,2);break;case"s":t=Kd(Wd.Seconds,1);break;case"ss":t=Kd(Wd.Seconds,2);break;case"S":t=Kd(Wd.FractionalSeconds,1);break;case"SS":t=Kd(Wd.FractionalSeconds,2);break;case"SSS":t=Kd(Wd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=$d(Ud.Short);break;case"ZZZZZ":t=$d(Ud.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=$d(Ud.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=$d(Ud.Long);break;default:return null}return ih[e]=t,t}(e);u+=t?t(r,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Yd(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Zd(e,t){var n=function(e){return sl(e)[ul.LocaleId]}(e);if(Hd[n]=Hd[n]||{},Hd[n][t])return Hd[n][t];var i="";switch(t){case"shortDate":i=Id(e,Md.Short);break;case"mediumDate":i=Id(e,Md.Medium);break;case"longDate":i=Id(e,Md.Long);break;case"fullDate":i=Id(e,Md.Full);break;case"shortTime":i=Rd(e,Md.Short);break;case"mediumTime":i=Rd(e,Md.Medium);break;case"longTime":i=Rd(e,Md.Long);break;case"fullTime":i=Rd(e,Md.Full);break;case"short":var r=Zd(e,"shortTime"),o=Zd(e,"shortDate");i=Qd(Ld(e,Md.Short),[r,o]);break;case"medium":var a=Zd(e,"mediumTime"),s=Zd(e,"mediumDate");i=Qd(Ld(e,Md.Medium),[a,s]);break;case"long":var l=Zd(e,"longTime"),u=Zd(e,"longDate");i=Qd(Ld(e,Md.Long),[l,u]);break;case"full":var c=Zd(e,"fullTime"),d=Zd(e,"fullDate");i=Qd(Ld(e,Md.Full),[c,d])}return i&&(Hd[n][t]=i),i}function Qd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Xd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return i&&(a=a.substr(a.length-t)),o+a}function Kd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,l=function(e,t){switch(e){case Wd.FullYear:return t.getFullYear();case Wd.Month:return t.getMonth();case Wd.Date:return t.getDate();case Wd.Hours:return t.getHours();case Wd.Minutes:return t.getMinutes();case Wd.Seconds:return t.getSeconds();case Wd.FractionalSeconds:return t.getMilliseconds();case Wd.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||l>-n)&&(l+=n),e===Wd.Hours)0===l&&-12===n&&(l=12);else if(e===Wd.FractionalSeconds)return s=t,Xd(l,3).substr(0,s);var u=Fd(a,Td.MinusSign);return Xd(l,t,u,i,r)}}function Jd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dd.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,o){return function(e,t,n,i,r,o){switch(n){case Gd.Months:return function(e,t,n){var i=sl(e),r=zd([i[ul.MonthsFormat],i[ul.MonthsStandalone]],t);return zd(r,n)}(t,r,i)[e.getMonth()];case Gd.Days:return function(e,t,n){var i=sl(e),r=zd([i[ul.DaysFormat],i[ul.DaysStandalone]],t);return zd(r,n)}(t,r,i)[e.getDay()];case Gd.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var l=function(e){var t=sl(e);return Bd(t),(t[ul.ExtraData][2]||[]).map(function(e){return"string"==typeof e?Vd(e):[Vd(e[0]),Vd(e[1])]})}(t),u=function(e,t,n){var i=sl(e);Bd(i);var r=zd([i[ul.ExtraData][0],i[ul.ExtraData][1]],t)||[];return zd(r,n)||[]}(t,r,i),c=l.findIndex(function(e){if(Array.isArray(e)){var t=f(e,2),n=t[0],i=t[1],r=a>=n.hours&&s>=n.minutes,o=a<i.hours||a===i.hours&&s<i.minutes;if(n.hours<i.hours){if(r&&o)return!0}else if(r||o)return!0}else if(e.hours===a&&e.minutes===s)return!0;return!1});if(-1!==c)return u[c]}return function(e,t,n){var i=sl(e),r=zd([i[ul.DayPeriodsFormat],i[ul.DayPeriodsStandalone]],t);return zd(r,n)}(t,r,i)[a<12?0:1];case Gd.Eras:return function(e,t){return zd(sl(e)[ul.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,e,t,n,i)}}function $d(e){return function(t,n,i){var r=-1*i,o=Fd(n,Td.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Ud.Short:return(r>=0?"+":"")+Xd(a,2,o)+Xd(Math.abs(r%60),2,o);case Ud.ShortGMT:return"GMT"+(r>=0?"+":"")+Xd(a,1,o);case Ud.Long:return"GMT"+(r>=0?"+":"")+Xd(a,2,o)+":"+Xd(Math.abs(r%60),2,o);case Ud.Extended:return 0===i?"Z":(r>=0?"+":"")+Xd(a,2,o)+":"+Xd(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function eh(e){return Yd(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function th(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,o,a;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();r=1+Math.floor((l+s)/7)}else{var u=eh(n),c=(o=u.getFullYear(),a=Yd(o,0,1).getDay(),Yd(o,0,1+(a<=4?4:11)-a)),d=u.getTime()-c.getTime();r=1+Math.round(d/6048e5)}return Xd(r,e,Fd(i,Td.MinusSign))}}function nh(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return Xd(eh(n).getFullYear(),e,Fd(i,Td.MinusSign),t)}}var ih={};function rh(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oh(e){return e instanceof Date&&!isNaN(e.valueOf())}var ah,sh=function e(){A(this,e)},lh=((ah=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this)).locale=e,i}return m(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return sl(e)[ul.PluralCase]}(t||this.locale)(e)){case Pd.Zero:return"zero";case Pd.One:return"one";case Pd.Two:return"two";case Pd.Few:return"few";case Pd.Many:return"many";default:return"other"}}}]),n}(sh)).\u0275fac=function(e){return new(e||ah)(Ri(hc))},ah.\u0275prov=Re({token:ah,factory:ah.\u0275fac}),ah);function uh(e,t){t=encodeURIComponent(t);var n,i=h(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.indexOf("="),a=f(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],l=a[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(u){i.e(u)}finally{i.f()}return null}var ch,dh,hh,fh=((ch=function(){function e(t,n,i,r){A(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return m(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set: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&&(qa(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",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 "+Ae(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)})}}]),e}()).\u0275fac=function(e){return new(e||ch)(rs(Wl),rs(ql),rs(Cl),rs(Pl))},ch.\u0275dir=bt({type:ch,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),ch),ph=function(){function e(t,n,i,r){A(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return m(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),gh=((dh=function(){function e(t,n,i){A(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return m(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){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(i){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,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new ph(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new vh(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var l=new vh(e,s);n.push(l)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var a=this._viewContainer.get(r);a.context.index=r,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}}]),e}()).\u0275fac=function(e){return new(e||dh)(rs(uu),rs(iu),rs(Wl))},dh.\u0275dir=bt({type:dh,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),dh),vh=function e(t,n){A(this,e),this.record=t,this.view=n},mh=((hh=function(){function e(t,n){A(this,e),this._viewContainer=t,this._context=new yh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return m(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){bh("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){bh("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)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||hh)(rs(uu),rs(iu))},hh.\u0275dir=bt({type:hh,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),hh),yh=function e(){A(this,e),this.$implicit=null,this.ngIf=null};function bh(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Ae(t),"'."))}var wh,_h,kh,xh,Ah,Ch=function(){function e(t,n){A(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return m(e,[{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()}}]),e}(),Sh=((Ah=function(){function e(){A(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return m(e,[{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)}}}]),e}()).\u0275fac=function(e){return new(e||Ah)},Ah.\u0275dir=bt({type:Ah,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Ah),Eh=((xh=function(){function e(t,n,i){A(this,e),this.ngSwitch=i,i._addCase(),this._view=new Ch(t,n)}return m(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}()).\u0275fac=function(e){return new(e||xh)(rs(uu),rs(iu),rs(Sh,1))},xh.\u0275dir=bt({type:xh,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),xh),Ph=((kh=function e(t,n,i){A(this,e),i._addDefault(new Ch(t,n))}).\u0275fac=function(e){return new(e||kh)(rs(uu),rs(iu),rs(Sh,1))},kh.\u0275dir=bt({type:kh,selectors:[["","ngSwitchDefault",""]]}),kh),Dh=((_h=function(){function e(t,n,i){A(this,e),this._ngEl=t,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return m(e,[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=f(e.split("."),2),i=n[0],r=n[1];null!=(t=null!=t&&r?"".concat(t).concat(r):t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{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)})}}]),e}()).\u0275fac=function(e){return new(e||_h)(rs(Cl),rs(ql),rs(Pl))},_h.\u0275dir=bt({type:_h,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),_h),Oh=((wh=function(){function e(t){A(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return m(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var i,r=h(n);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(-1===t.indexOf(o))return!0}}catch(a){r.e(a)}finally{r.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var i=n[t];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),e}()).\u0275fac=function(e){return new(e||wh)(rs(uu))},wh.\u0275dir=bt({type:wh,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Mt]}),wh);function Mh(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Ae(e),"'"))}var Th,Ih,Rh,Lh,Fh,Bh=function(){function e(){A(this,e)}return m(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),zh=new(function(){function e(){A(this,e)}return m(e,[{key:"createSubscription",value:function(e,t){return e.then(t,function(e){throw e})}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),Vh=new Bh,Nh=((Th=function(){function e(t){A(this,e),this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return m(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)):this._latestValue:(e&&this._subscribe(e),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(ps(t))return zh;if(gs(t))return Vh;throw Mh(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}()).\u0275fac=function(e){return new(e||Th)(nc())},Th.\u0275pipe=wt({name:"async",type:Th,pure:!1}),Th),Hh=/(?:[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,jh=((Fh=function(){function e(){A(this,e)}return m(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw Mh(e,t);return t.replace(Hh,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})}}]),e}()).\u0275fac=function(e){return new(e||Fh)},Fh.\u0275pipe=wt({name:"titlecase",type:Fh,pure:!0}),Fh),Uh=((Lh=function(){function e(){A(this,e)}return m(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw Mh(e,t);return t.toUpperCase()}}]),e}()).\u0275fac=function(e){return new(e||Lh)},Lh.\u0275pipe=wt({name:"uppercase",type:Lh,pure:!0}),Lh),Wh=((Rh=function(){function e(t){A(this,e),this.locale=t}return m(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,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return qd(t,n,r||this.locale,i)}catch(o){throw Mh(e,o.message)}}}]),e}()).\u0275fac=function(e){return new(e||Rh)(rs(hc))},Rh.\u0275pipe=wt({name:"date",type:Rh,pure:!0}),Rh),Gh=((Ih=function(){function e(t){A(this,e),this.differs=t,this.keyValues=[]}return m(e,[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qh;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem(function(e){t.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(n)),this.keyValues}}]),e}()).\u0275fac=function(e){return new(e||Ih)(rs(ql))},Ih.\u0275pipe=wt({name:"keyvalue",type:Ih,pure:!1}),Ih);function qh(e,t){var n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),o=String(i);return r==o?0:r<o?-1:1}var Yh,Zh=((Yh=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Yh)},Yh.\u0275mod=mt({type:Yh}),Yh.\u0275inj=Fe({providers:[{provide:sh,useClass:lh}]}),Yh);function Qh(e){return"browser"===e}var Xh,Kh=((Xh=function e(){A(this,e)}).\u0275prov=Re({token:Xh,providedIn:"root",factory:function(){return new Jh(Ri(od),window)}}),Xh),Jh=function(){function e(t,n){A(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return m(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){var t;if(this.supportsScrolling()){var n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}}},{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,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=$h(this.window.history)||$h(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function $h(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var ef,tf,nf,rf,of=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=af||(af=document.querySelector("base"))?af.getAttribute("href"):null;return null==n?null:(t=n,ef||(ef=document.createElement("a")),ef.setAttribute("href",t),"/"===ef.pathname.charAt(0)?ef.pathname:"/"+ef.pathname)}},{key:"resetBaseElement",value:function(){af=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return uh(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,nd||(nd=e)}}]),n}(function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.call(this)}return m(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(function(){return function e(){A(this,e)}}())),af=null,sf=new mi("TRANSITION_ID"),lf=[{provide:ic,useFactory:function(e,t,n){return function(){n.get(rc).donePromise.then(function(){var n=id();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[sf,od,Fa],multi:!0}],uf=function(){function e(){A(this,e)}return m(e,[{key:"addToWindow",value:function(e){tt.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},tt.getAllAngularTestabilities=function(){return e.getAllTestabilities()},tt.getAllAngularRootElements=function(){return e.getAllRootElements()},tt.frameworkStabilizers||(tt.frameworkStabilizers=[]),tt.frameworkStabilizers.push(function(e){var t=tt.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?id().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Rc=t}}]),e}(),cf=new mi("EventManagerPlugins"),df=((tf=function(){function e(t,n){var i=this;A(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return m(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)}}]),e}()).\u0275fac=function(e){return new(e||tf)(Ri(cf),Ri(Ac))},tf.\u0275prov=Re({token:tf,factory:tf.\u0275fac}),tf),hf=function(){function e(t){A(this,e),this._doc=t}return m(e,[{key:"addGlobalEventListener",value:function(e,t,n){var i=id().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}]),e}(),ff=((rf=function(){function e(){A(this,e),this._stylesSet=new Set}return m(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}()).\u0275fac=function(e){return new(e||rf)},rf.\u0275prov=Re({token:rf,factory:rf.\u0275fac}),rf),pf=((nf=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this))._doc=e,i._hostNodes=new Set,i._styleNodes=new Set,i._hostNodes.add(e.head),i}return m(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach(function(e){var i=n._doc.createElement("style");i.textContent=e,n._styleNodes.add(t.appendChild(i))})}},{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 id().remove(e)})}}]),n}(ff)).\u0275fac=function(e){return new(e||nf)(Ri(od))},nf.\u0275prov=Re({token:nf,factory:nf.\u0275fac}),nf),gf={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/"},vf=/%COMP%/g;function mf(e,t,n){for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?mf(e,r,n):(r=r.replace(vf,e),n.push(r))}return n}function yf(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var bf,wf,_f,kf,xf,Af,Cf,Sf,Ef,Pf=((bf=function(){function e(t,n,i){A(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Df(t)}return m(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Xe.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Of(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case Xe.ShadowDom:return new Mf(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=mf(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||bf)(Ri(df),Ri(pf),Ri(oc))},bf.\u0275prov=Re({token:bf,factory:bf.\u0275fac}),bf),Df=function(){function e(t){A(this,e),this.eventManager=t,this.data=Object.create(null)}return m(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(gf[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,i){if(i){t=i+":"+t;var r=gf[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var i=gf[n];i?e.removeAttributeNS(i,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,i){i&(Fr.DashCase|Fr.Important)?e.style.setProperty(t,n,i&Fr.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&Fr.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,yf(n)):this.eventManager.addEventListener(e,t,yf(n))}}]),e}(),Of=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;A(this,n),(a=t.call(this,e)).component=r;var s=mf(o+"-"+r.id,r.styles,[]);return i.addStyles(s),a.contentAttr="_ngcontent-%COMP%".replace(vf,o+"-"+r.id),a.hostAttr="_nghost-%COMP%".replace(vf,o+"-"+r.id),a}return m(n,[{key:"applyToHost",value:function(e){i(c(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=i(c(n.prototype),"createElement",this).call(this,e,t);return i(c(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(Df),Mf=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;A(this,n),(a=t.call(this,e)).sharedStylesHost=i,a.hostEl=r,a.shadowRoot=r.attachShadow({mode:"open"}),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=mf(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 m(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return i(c(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return i(c(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return i(c(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(i(c(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(Df),Tf=((wf=function(e){r(n,e);var t=a(n);function n(e){return A(this,n),t.call(this,e)}return m(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var i=this;return e.addEventListener(t,n,!1),function(){return i.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(hf)).\u0275fac=function(e){return new(e||wf)(Ri(od))},wf.\u0275prov=Re({token:wf,factory:wf.\u0275fac}),wf),If={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Rf=new mi("HammerGestureConfig"),Lf=new mi("HammerLoader"),Ff=((_f=function(){function e(){A(this,e),this.events=[],this.overrides={}}return m(e,[{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}}]),e}()).\u0275fac=function(e){return new(e||_f)},_f.\u0275prov=Re({token:_f,factory:_f.\u0275fac}),_f),Bf=[{provide:cf,useClass:(kf=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e))._config=i,a.console=r,a.loader=o,a._loaderPromise=null,a}return m(n,[{key:"supports",value:function(e){return!(!If.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}},{key:"addEventListener",value:function(e,t,n){var i=this,r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();var o=!1,a=function(){o=!0};return this._loaderPromise.then(function(){window.Hammer?o||(a=i.addEventListener(e,t,n)):a=function(){}}).catch(function(){a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var o=i._config.buildHammer(e),a=function(e){r.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}}]),n}(hf),kf.\u0275fac=function(e){return new(e||kf)(Ri(od),Ri(Rf),Ri(dc),Ri(Lf,8))},kf.\u0275prov=Re({token:kf,factory:kf.\u0275fac}),kf),multi:!0,deps:[od,Rf,dc,[new Hi,Lf]]},{provide:Rf,useClass:Ff,deps:[]}],zf=((xf=function e(){A(this,e)}).\u0275fac=function(e){return new(e||xf)},xf.\u0275mod=mt({type:xf}),xf.\u0275inj=Fe({providers:Bf}),xf),Vf=["alt","control","meta","shift"],Nf={"\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"},Hf={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"},jf={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Uf=((Sf=function(e){r(n,e);var t=a(n);function n(e){return A(this,n),t.call(this,e)}return m(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var r=n.parseEventName(t),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return id().onAndCancel(e,r.domEventName,o)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),o="";if(Vf.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Hf.hasOwnProperty(t)&&(t=Hf[t]))}return Nf[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Vf.forEach(function(i){i!=n&&(0,jf[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(hf)).\u0275fac=function(e){return new(e||Sf)(Ri(od))},Sf.\u0275prov=Re({token:Sf,factory:Sf.\u0275fac}),Sf),Wf=((Cf=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Cf)},Cf.\u0275prov=Re({factory:function(){return Ri(Gf)},token:Cf,providedIn:"root"}),Cf),Gf=((Af=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this))._doc=e,i}return m(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case xr.NONE:return t;case xr.HTML:return Ji(t,"HTML")?Ki(t):_r(this._doc,String(t)).toString();case xr.STYLE:return Ji(t,"Style")?Ki(t):t;case xr.SCRIPT:if(Ji(t,"Script"))return Ki(t);throw new Error("unsafe value used in a script context");case xr.URL:return $i(t),Ji(t,"URL")?Ki(t):rr(String(t));case xr.RESOURCE_URL:if(Ji(t,"ResourceURL"))return Ki(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new qi(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new Yi(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new Zi(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new Qi(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new Xi(e)}}]),n}(Wf)).\u0275fac=function(e){return new(e||Af)(Ri(od))},Af.\u0275prov=Re({factory:function(){return e=Ri(wa),new Gf(e.get(od));var e},token:Af,providedIn:"root"}),Af),qf=Nc(Jc,"browser",[{provide:uc,useValue:"browser"},{provide:lc,useValue:function(){of.makeCurrent(),uf.init()},multi:!0},{provide:od,useFactory:function(){return function(e){Ft=e}(document),document},deps:[]}]),Yf=[[],{provide:ka,useValue:"root"},{provide:Or,useFactory:function(){return new Or},deps:[]},{provide:cf,useClass:Tf,multi:!0,deps:[od,Ac,uc]},{provide:cf,useClass:Uf,multi:!0,deps:[od]},[],{provide:Pf,useClass:Pf,deps:[df,pf,oc]},{provide:El,useExisting:Pf},{provide:ff,useExisting:pf},{provide:pf,useClass:pf,deps:[od]},{provide:Tc,useClass:Tc,deps:[Ac]},{provide:df,useClass:df,deps:[cf,Ac]},[]],Zf=((Ef=function(){function e(t){if(A(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 m(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:oc,useValue:t.appId},{provide:sf,useExisting:oc},lf]}}}]),e}()).\u0275fac=function(e){return new(e||Ef)(Ri(Ef,12))},Ef.\u0275mod=mt({type:Ef}),Ef.\u0275inj=Fe({providers:Yf,imports:[Zh,ed]}),Ef);"undefined"!=typeof window&&window;var Qf=function e(){A(this,e)};function Xf(e,t){return{type:7,name:e,definitions:t,options:{}}}function Kf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function Jf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function $f(e){return{type:6,styles:e,offset:null}}function ep(e,t,n){return{type:0,name:e,styles:t,options:n}}function tp(e){return{type:5,steps:e}}function np(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function ip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function rp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function op(e){Promise.resolve(null).then(e)}var ap=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;A(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return m(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;op(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){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),sp=function(){function e(t){var n=this;A(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 i=0,r=0,o=0,a=this.players.length;0==a?op(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return m(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}();function lp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function up(e){switch(e.length){case 0:return new ap;case 1:return e[0];default:return new sp(e)}}function cp(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],l=-1,u=null;if(i.forEach(function(e){var n=e.offset,i=n==l,c=i&&u||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),s){case"!":s=r[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,i,s,a)}c[i]=s}),i||s.push(c),u=c,l=n}),a.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(a.join(c)))}return s}function dp(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&hp(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&hp(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&hp(n,"destroy",e))})}}function hp(e,t,n){var i=n.totalTime,r=fp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function fp(e,t,n,i){var r=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:i,phaseName:r,totalTime:o,disabled:!!a}}function pp(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function gp(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var vp=function(e,t){return!1},mp=function(e,t){return!1},yp=function(e,t,n){return[]},bp=lp();(bp||"undefined"!=typeof Element)&&(vp=function(e,t){return e.contains(t)},mp=function(){if(bp||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])}:mp}(),yp=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o<r.length;o++)i.push(r[o]);else{var a=e.querySelector(t);a&&i.push(a)}return i});var wp=null,_p=!1;function kp(e){wp||(wp=("undefined"!=typeof document?document.body:null)||{},_p=!!wp.style&&"WebkitAppearance"in wp.style);var t=!0;return wp.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in wp.style)&&_p)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in wp.style),t}var xp=mp,Ap=vp,Cp=yp;function Sp(e){var t={};return Object.keys(e).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}var Ep,Pp=((Ep=function(){function e(){A(this,e)}return m(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return xp(e,t)}},{key:"containsElement",value:function(e,t){return Ap(e,t)}},{key:"query",value:function(e,t,n){return Cp(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,r){return new ap(n,i)}}]),e}()).\u0275fac=function(e){return new(e||Ep)},Ep.\u0275prov=Re({token:Ep,factory:Ep.\u0275fac}),Ep),Dp=function(){var e=function e(){A(this,e)};return e.NOOP=new Pp,e}();function Op(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Mp(parseFloat(t[1]),t[2])}function Mp(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Tp(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=Mp(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=Mp(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else i=e;if(!n){var u=!1,c=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<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:i,delay:r,easing:o}}(e,t,n)}function Ip(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 Rp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else Ip(e,n);return n}function Lp(e,t,n){return n?t+":"+n+";":""}function Fp(e){for(var t="",n=0;n<e.style.length;n++){var i=e.style.item(n);t+=Lp(0,i,e.style.getPropertyValue(i))}for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=Lp(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function Bp(e,t,n){e.style&&(Object.keys(t).forEach(function(i){var r=Gp(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),lp()&&Fp(e))}function zp(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=Gp(t);e.style[n]=""}),lp()&&Fp(e))}function Vp(e){return Array.isArray(e)?1==e.length?e[0]:Jf(e):e}var Np=new RegExp("{{\\s*(.+?)\\s*}}","g");function Hp(e){var t=[];if("string"==typeof e){for(var n;n=Np.exec(e);)t.push(n[1]);Np.lastIndex=0}return t}function jp(e,t,n){var i=e.toString(),r=i.replace(Np,function(e,i){var r=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?e:r}function Up(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Wp=/-+([a-z0-9])/g;function Gp(e){return e.replace(Wp,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function qp(e,t){return 0===e||0===t}function Yp(e,t,n){var i=Object.keys(n);if(i.length&&t.length){var r=t[0],o=[];if(i.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=n[e]}),o.length)for(var a=function(){var n=t[s];o.forEach(function(t){n[t]=Qp(e,t)})},s=1;s<t.length;s++)a()}return t}function Zp(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 Qp(e,t){return window.getComputedStyle(e)[t]}var Xp=new Set(["true","1"]),Kp=new Set(["false","0"]);function Jp(e,t){var n=Xp.has(e)||Kp.has(e),i=Xp.has(t)||Kp.has(t);return function(r,o){var a="*"==e||e==r,s="*"==t||t==o;return!a&&n&&"boolean"==typeof r&&(a=r?Xp.has(e):Kp.has(e)),!s&&i&&"boolean"==typeof o&&(s=o?Xp.has(t):Kp.has(t)),a&&s}}var $p=new RegExp("s*:selfs*,?","g");function eg(e,t,n){return new tg(e).build(t,n)}var tg=function(){function e(t){A(this,e),this._driver=t}return m(e,[{key:"build",value:function(e,t){var n=new ng(t);return this._resetContextStyleTimingState(n),Zp(this,Vp(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,i=t.queryCount=0,r=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);i+=u.queryCount,r+=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:i,depCount:r,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(e){if(ig(e)){var t=e;Object.keys(t).forEach(function(e){Hp(t[e]).forEach(function(e){o.hasOwnProperty(e)||r.add(e)})})}}),r.size){var a=Up(r.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:i?{params:i}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,i,r,o=Zp(this,Vp(e.animation),t);return{type:1,matchers:(n=e.expr,i=t.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var i=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 i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(Jp(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Jp(s,o))}(e,r,i)}):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:rg(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Zp(n,e,t)}),options:rg(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=Zp(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:rg(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 og(Tp(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=og(0,0,"");return r.dynamic=!0,r.strValue=i,r}return og((n=n||Tp(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:$f({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=$f(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}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?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,r=null;return n.forEach(function(e){if(ig(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,l,u,c,d=t.collectedStyles[t.currentQuerySelector],h=d[i],f=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),f=!1),o=h.startTime),f&&(d[i]={startTime:o,endTime:r}),t.options&&(a=e[i],s=t.options,l=t.errors,u=s.params||{},(c=Hp(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(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ig(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ig(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),i});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,d=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(d=1/(c-1));var h=c-1,f=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return u.forEach(function(e,r){var a=d>0?r==h?1:d*r:o[r],s=a*g;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:Zp(this,Vp(e.animation),t),options:rg(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:rg(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:rg(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=f(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace($p,"")),[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=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,pp(t.collectedStyles,t.currentQuerySelector,{});var s=Zp(this,Vp(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:rg(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"}:Tp(e.timings,t.errors,!0);return{type:12,animation:Zp(this,Vp(e.animation),t),timings:n,options:null}}}]),e}(),ng=function e(t){A(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 ig(e){return!Array.isArray(e)&&"object"==typeof e}function rg(e){var t;return e?(e=Ip(e)).params&&(e.params=(t=e.params)?Ip(t):null):e={},e}function og(e,t,n){return{duration:e,delay:t,easing:n}}function ag(e,t,n,i,r,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:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var sg=function(){function e(){A(this,e),this._map=new Map}return m(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,y(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),lg=new RegExp(":enter","g"),ug=new RegExp(":leave","g");function cg(e,t,n,i,r){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 dg).buildKeyframes(e,t,n,i,r,o,a,s,l,u)}var dg=function(){function e(){A(this,e)}return m(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new sg;var c=new fg(e,t,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Zp(this,n,c);var d=c.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(a).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,c.errors,s)}return d.length?d.map(function(e){return e.buildKeyframes()}):[ag(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 i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=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 i=t.currentTimeline.currentTime,r=null!=n.duration?Op(n.duration):null,o=null!=n.delay?Op(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Zp(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=hg);var a=Op(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Zp(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Op(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Zp(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return Tp(t.params?jp(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),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Op(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=hg);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(l=s.currentTimeline),Zp(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,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Zp(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),e}(),hg={},fg=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=hg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new pg(this._driver,n,0),s.push(this.currentTimeline)}return m(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=Op(i.duration)),null!=i.delay&&(r.delay=Op(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=jp(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,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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=hg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new gg(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{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,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(lg,"."+this._enterClassName)).replace(ug,"."+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,y(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),pg=function(){function e(t,n,i,r){A(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return m(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]||"*",t._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},a=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]="*"}):Rp(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=jp(a[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:"*"),r._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 i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.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,r=[];this._keyframes.forEach(function(o,a){var s=Rp(o,!0);Object.keys(s).forEach(function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)}),i||(s.offset=a/e.duration),r.push(s)});var o=t.size?Up(t.values()):[],a=n.size?Up(n.values()):[];if(i){var s=r[0],l=Ip(s);s.offset=0,l.offset=1,r=[s,l]}return ag(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),e}(),gg=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return A(this,n),(l=t.call(this,e,i,s.delay)).element=i,l.keyframes=r,l.preStyleProps=o,l.postStyleProps=a,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return m(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=Rp(e[0],!1);l.offset=0,o.push(l);var u=Rp(e[0],!1);u.offset=vg(s),o.push(u);for(var c=e.length-1,d=1;d<=c;d++){var h=Rp(e[d],!1);h.offset=vg((n+h.offset*i)/a),o.push(h)}i=a,n=0,r="",e=o}return ag(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(pg);function vg(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 mg=function e(){A(this,e)},yg=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"normalizePropertyName",value:function(e,t){return Gp(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(bg[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(mg),bg=function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function wg(e,t,n,i,r,o,a,s,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var _g={},kg=function(){function e(t,n,i){A(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return m(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||_g,h=this.buildStyles(n,a&&a.params||_g,c),f=s&&s.params||_g,p=this.buildStyles(i,f,c),g=new Set,v=new Map,m=new Map,y="void"===i,b={params:Object.assign(Object.assign({},d),f)},w=u?[]:cg(e,t,this.ast.animation,r,o,h,p,b,l,c),_=0;if(w.forEach(function(e){_=Math.max(e.duration+e.delay,_)}),c.length)return wg(t,this._triggerName,n,i,y,h,p,[],[],v,m,_,c);w.forEach(function(e){var n=e.element,i=pp(v,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=pp(m,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var k=Up(g.values());return wg(t,this._triggerName,n,i,y,h,p,w,k,v,m,_)}}]),e}(),xg=function(){function e(t,n){A(this,e),this.styles=t,this.defaultParams=n}return m(e,[{key:"buildStyles",value:function(e,t){var n={},i=Ip(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=jp(o,i,t)),n[e]=o})}}),n}}]),e}(),Ag=function(){function e(t,n){var i=this;A(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new xg(e.style,e.options&&e.options.params||{})}),Cg(this.states,"true","1"),Cg(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new kg(t,e,i.states))}),this.fallbackTransition=new kg(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return m(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Cg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Sg=new sg,Eg=function(){function e(t,n,i){A(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return m(e,[{key:"register",value:function(e,t){var n=[],i=eg(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]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=cp(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=cg(this._driver,t,a,"ng-enter","ng-leave",{},{},r,Sg,o)).forEach(function(e){var t=pp(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,"*")})});var l=up(n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return i.destroy(e)}),this.players.push(l),l}},{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,i){var r=fp(t,"","","");return dp(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Pg=[],Dg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Og={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mg=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";A(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=Ip(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return m(e,[{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])})}}}]),e}(),Tg=new Mg("void"),Ig=function(){function e(t,n,i){A(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ng(n,this._hostClassName)}return m(e,[{key:"listen",value:function(e,t,n,i){var r,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"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=pp(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var l=pp(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Ng(e,"ng-trigger"),Ng(e,"ng-trigger-"+t),l[t]=Tg),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 i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Lg(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ng(e,"ng-trigger"),Ng(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new Mg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Tg),"void"===u.value||l.value!==u.value){var c=pp(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=o.matchTransition(l.value,u.value,e,u.params),h=!1;if(!d){if(!r)return;d=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:h}),h||(Ng(e,"ng-animate-queued"),a.onStart(function(){Hg(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,u.params)){var f=[],p=o.matchStyles(l.value,l.params,f),g=o.matchStyles(u.value,u.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){zp(e,p),Bp(e,g)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,i){t._elementListeners.set(i,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,i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var r=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach(function(t){if(r._triggers[t]){var n=r.trigger(e,t,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&up(a).onDone(function(){return r._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var a=t._triggers[o].fallbackTransition,s=i[o]||Tg,l=new Mg("void"),u=new Lg(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:a,fromState:s,toState:l,player:u,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else for(var a=e;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Dg||(i.afterFlush(function(){return n.clearElementCache(e)}),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Ng(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=t._elementListeners.get(o);a&&a.forEach(function(t){if(t.name==i.triggerName){var n=fp(o,i.triggerName,i.fromState.value,i.toState.value);n._data=e,dp(i.player,t.phase,n,t.callback)}}),r.markedForDestroy?t._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),Rg=function(){function e(t,n,i){A(this,e),this.bodyNode=t,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return m(e,[{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 Ig(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 i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||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 i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.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 i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,i){if(Fg(t)){var r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1}},{key:"insertNode",value:function(e,t,n,i){if(Fg(t)){var r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&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),Ng(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Hg(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Fg(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Fg(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{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 up(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=Dg,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.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 i=0;i<this.collectedEnterElements.length;i++)Ng(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,t)}finally{for(var o=0;o<r.length;o++)r[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?up(n).onDone(function(){s.forEach(function(e){return e()})}):s.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,i=new sg,r=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(function(e){c.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),i=0;i<t.length;i++)c.add(t[i])});var d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=Vg(h,this.collectedEnterElements),p=new Map,g=0;f.forEach(function(e,t){var n="ng-enter"+g++;p.set(t,n),e.forEach(function(e){return Ng(e,n)})});for(var v=[],m=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++){var _=this.collectedLeaveElements[w],k=_.__ng_removed;k&&k.setForRemoval&&(v.push(_),m.add(_),k.hasAnimation?this.driver.query(_,".ng-star-inserted",!0).forEach(function(e){return m.add(e)}):b.add(_))}var x=new Map,A=Vg(h,Array.from(m));A.forEach(function(e,t){var n="ng-leave"+g++;x.set(t,n),e.forEach(function(e){return Ng(e,n)})}),e.push(function(){f.forEach(function(e,t){var n=p.get(t);e.forEach(function(e){return Hg(e,n)})}),A.forEach(function(e,t){var n=x.get(t);e.forEach(function(e){return Hg(e,n)})}),v.forEach(function(e){n.processLeaveNode(e)})});for(var C=[],S=[],E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(C.push(t),n.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,o),f=x.get(o),g=p.get(o),v=n._buildInstruction(e,i,g,f,h);if(v.errors&&v.errors.length)S.push(v);else{if(h)return t.onStart(function(){return zp(o,v.fromStyles)}),t.onDestroy(function(){return Bp(o,v.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return zp(o,v.fromStyles)}),t.onDestroy(function(){return Bp(o,v.toStyles)}),void r.push(t);v.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,v.timelines),a.push({instruction:v,player:t,element:o}),v.queriedElements.forEach(function(e){return pp(s,e,[]).push(t)}),v.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),v.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=u.get(t);i||u.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(S.length){var P=[];S.forEach(function(e){P.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return P.push("- ".concat(e,"\n"))})}),C.forEach(function(e){return e.destroy()}),this.reportError(P)}var D=new Map,O=new Map;a.forEach(function(e){var t=e.element;i.has(t)&&(O.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,D))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){pp(D,t,[]).push(e),e.destroy()})});var M=v.filter(function(e){return Wg(e,l,u)}),T=new Map;zg(T,this.driver,b,u,"*").forEach(function(e){Wg(e,l,u)&&M.push(e)});var I=new Map;f.forEach(function(e,t){zg(I,n.driver,new Set(e),l,"!")}),M.forEach(function(e){var t=T.get(e),n=I.get(e);T.set(e,Object.assign(Object.assign({},t),n))});var R=[],L=[],F={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(i.has(t)){if(c.has(t))return a.onDestroy(function(){return Bp(t,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void r.push(a);var l=F;if(O.size>1){for(var u=t,d=[];u=u.parentNode;){var h=O.get(u);if(h){l=h;break}d.push(u)}d.forEach(function(e){return O.set(e,l)})}var f=n._buildAnimation(a.namespaceId,s,D,o,I,T);if(a.setRealPlayer(f),l===F)R.push(a);else{var p=n.playersByElement.get(l);p&&p.length&&(a.parentPlayer=up(p)),r.push(a)}}else zp(t,s.fromStyles),a.onDestroy(function(){return Bp(t,s.toStyles)}),L.push(a),c.has(t)&&r.push(a)}),L.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=up(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var B=0;B<v.length;B++){var z=v[B],V=z.__ng_removed;if(Hg(z,"ng-leave"),!V||!V.hasAnimation){var N=[];if(s.size){var H=s.get(z);H&&H.length&&N.push.apply(N,y(H));for(var j=this.driver.query(z,".ng-animating",!0),U=0;U<j.length;U++){var W=s.get(j[U]);W&&W.length&&N.push.apply(N,y(W))}}var G=N.filter(function(e){return!e.destroyed});G.length?jg(this,z,G):this.processLeaveNode(z)}}return v.length=0,R.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()}),R}},{key:"elementContainsData",value:function(e,t){var n=!1,i=t.__ng_removed;return i&&i.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,i,r){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var l=!r||"void"==r;s.forEach(function(e){e.queued||(l||e.triggerName==i)&&o.push(e)})}}return(n||i)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||i&&i!=e.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var i,r=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,l=h(t.timelines);try{var u=function(){var e=i.value.element,l=e!==o,u=pp(n,e,[]);r._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();!(i=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}zp(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,i,r,o){var a=this,s=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,h=t.timelines.map(function(t){var h=t.element;c.add(h);var f=h.__ng_removed;if(f&&f.removedBeforeQueried)return new ap(t.duration,t.delay);var p,g,v=h!==l,m=(p=(n.get(h)||Pg).map(function(e){return e.getRealPlayer()}),g=[],Ug(p,g),g).filter(function(e){return!!e.element&&e.element===h}),y=r.get(h),b=o.get(h),w=cp(0,a._normalizer,0,t.keyframes,y,b),_=a._buildPlayer(t,w,m);if(t.subTimeline&&i&&d.add(h),v){var k=new Lg(e,s,h);k.setRealPlayer(_),u.push(k)}return _});u.forEach(function(e){pp(a.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var i;if(e instanceof Map){if(i=e.get(t)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&e.delete(t)}}else if(i=e[t]){if(i.length){var o=i.indexOf(n);i.splice(o,1)}0==i.length&&delete e[t]}return i}(a.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return Ng(e,"ng-animating")});var f=up(h);return f.onDestroy(function(){c.forEach(function(e){return Hg(e,"ng-animating")}),Bp(l,t.toStyles)}),d.forEach(function(e){pp(i,e,[]).push(f)}),f}},{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 ap(e.duration,e.delay)}}]),e}(),Lg=function(){function e(t,n,i){A(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new ap,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return m(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return dp(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){pp(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Fg(e){return e&&1===e.nodeType}function Bg(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function zg(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(Bg(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Og,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return Bg(e,o[s++])}),a}function Vg(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function Ng(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Hg(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function jg(e,t,n){up(n).onDone(function(){return e.processLeaveNode(t)})}function Ug(e,t){for(var n=0;n<e.length;n++){var i=e[n];i instanceof sp?Ug(i.players,t):t.push(i)}}function Wg(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach(function(e){return r.add(e)}):t.set(e,i),n.delete(e),!0}var Gg=function(){function e(t,n,i){var r=this;A(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Rg(t,n,i),this._timelineEngine=new Eg(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return m(e,[{key:"registerTrigger",value:function(e,t,n,i,r){var o=e+"-"+i,a=this._triggerCache[o];if(!a){var s=[],l=eg(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new Ag(e,t)}(i,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,i,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,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var r=f(gp(n),2),o=r[0],a=r[1];this._timelineEngine.command(o,t,a,i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,r){if("@"==n.charAt(0)){var o=f(gp(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,r)}return this._transitionEngine.listen(e,t,n,i,r)}},{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()}}]),e}();function qg(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Zg(t[0]),t.length>1&&(i=Zg(t[t.length-1]))):t&&(n=Zg(t)),n||i?new Yg(e,n,i):null}var Yg=function(){var e=function(){function e(t,n,i){A(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return m(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Bp(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Bp(this._element,this._initialStyles),this._endStyles&&(Bp(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&&(zp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zp(this._element,this._endStyles),this._endStyles=null),Bp(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Zg(e){for(var t=null,n=Object.keys(e),i=0;i<n.length;i++){var r=n[i];Qg(r)&&((t=t||{})[r]=e[r])}return t}function Qg(e){return"display"===e||"position"===e}var Xg=function(){function e(t,n,i,r,o,a,s){var l=this;A(this,e),this._element=t,this._name=n,this._duration=i,this._delay=r,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)}}return m(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=nv(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),tv(e,"",t),ev(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Kg(this._element,this._name,"paused")}},{key:"resume",value:function(){Kg(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=Jg(this._element,this._name);this._position=e*this._duration,tv(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(),ev(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=nv(e,"").split(","),(i=$g(n,t))>=0&&(n.splice(i,1),tv(e,"",n.join(","))))}}]),e}();function Kg(e,t,n){tv(e,"PlayState",n,Jg(e,t))}function Jg(e,t){var n=nv(e,"");return n.indexOf(",")>0?$g(n.split(","),t):$g([n],t)}function $g(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function ev(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function tv(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function nv(e,t){return e.style["animation"+t]||""}var iv=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,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=r+o,this._buildStyler()}return m(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Xg(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(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:Qp(e.element,i))})}this.currentSnapshot=t}}]),e}(),rv=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=Sp(i),r}return m(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),i(c(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),i(c(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,i(c(n.prototype),"destroy",this).call(this))}}]),n}(ap),ov=function(){function e(){A(this,e),this._count=0,this._head=document.querySelector("head")}return m(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return xp(e,t)}},{key:"containsElement",value:function(e,t){return Ap(e,t)}},{key:"query",value:function(e,t,n){return Cp(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 Sp(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+=r+"}\n"}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof iv}),s={};qp(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Yp(e,t,s));if(0==n)return new rv(e,l);var u="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(c);var d=qg(e,t),h=new iv(e,t,u,n,i,r,l,d);return h.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),h}}]),e}(),av=function(){function e(t,n,i,r){A(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return m(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),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]:Qp(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}}]),e}(),sv=function(){function e(){A(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(lv().toString()),this._cssKeyframesDriver=new ov}return m(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return xp(e,t)}},{key:"containsElement",value:function(e,t){return Ap(e,t)}},{key:"query",value:function(e,t,n){return Cp(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,i,r){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,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var l={},u=o.filter(function(e){return e instanceof av});qp(n,i)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=qg(e,t=Yp(e,t=t.map(function(e){return Rp(e,!1)}),l));return new av(e,t,s,c)}}]),e}();function lv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var uv,cv=((uv=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Xe.None,styles:[],data:{animation:[]}}),r}return m(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Jf(e):e;return fv(this._renderer,null,t,"register",[n]),new dv(t,this._renderer)}}]),n}(Qf)).\u0275fac=function(e){return new(e||uv)(Ri(El),Ri(od))},uv.\u0275prov=Re({token:uv,factory:uv.\u0275fac}),uv),dv=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return m(n,[{key:"create",value:function(e,t){return new hv(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){A(this,e)}}()),hv=function(){function e(t,n,i,r){A(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return m(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return fv(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(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function fv(e,t,n,i,r){return e.setProperty(t,"@@".concat(n,":").concat(i),r)}var pv,gv,vv,mv=((pv=function(){function e(t,n,i){A(this,e),this.delegate=t,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return m(e,[{key:"createRenderer",value:function(e,t){var n=this,i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var r=this._rendererCache.get(i);return r||(r=new yv("",i,this.engine),this._rendererCache.set(i,r)),r}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach(function t(i){Array.isArray(i)?i.forEach(t):n.engine.registerTrigger(o,a,e,i.name,i)}),new bv(this,a,i,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 i=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(e){var t=f(e,2);(0,t[0])(t[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||pv)(Ri(El),Ri(Gg),Ri(Ac))},pv.\u0275prov=Re({token:pv,factory:pv.\u0275fac}),pv),yv=function(){function e(t,n,i){A(this,e),this.namespaceId=t,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return m(e,[{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){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{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,i){this.delegate.setAttribute(e,t,n,i)}},{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,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),bv=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,i,r,o)).factory=e,a.namespaceId=i,a}return m(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,r,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)&&(r=(i=l).indexOf("."),l=(a=f([i.substring(0,r),i.substr(r+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)}}]),n}(yv),wv=((gv=function(e){r(n,e);var t=a(n);function n(e,i,r){return A(this,n),t.call(this,e.body,i,r)}return n}(Gg)).\u0275fac=function(e){return new(e||gv)(Ri(od),Ri(Dp),Ri(mg))},gv.\u0275prov=Re({token:gv,factory:gv.\u0275fac}),gv),_v=new mi("AnimationModuleType"),kv=[{provide:Dp,useFactory:function(){return"function"==typeof lv()?new sv:new ov}},{provide:_v,useValue:"BrowserAnimations"},{provide:Qf,useClass:cv},{provide:mg,useFactory:function(){return new yg}},{provide:Gg,useClass:wv},{provide:El,useFactory:function(e,t,n){return new mv(e,t,n)},deps:[Pf,Gg,Ac]}],xv=((vv=function e(){A(this,e)}).\u0275fac=function(e){return new(e||vv)},vv.\u0275mod=mt({type:vv}),vv.\u0275inj=Fe({providers:kv,imports:[Zf]}),vv);function Av(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var i=t[0];if(S(i))return Cv(i,null);if(E(i)&&Object.getPrototypeOf(i)===Object.prototype){var r=Object.keys(i);return Cv(r.map(function(e){return i[e]}),r)}}if("function"==typeof t[t.length-1]){var o=t.pop();return Cv(t=1===t.length&&S(t[0])?t[0]:t,null).pipe(Y(function(e){return o.apply(void 0,y(e))}))}return Cv(t,null)}function Cv(e,t){return new z(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var l=ie(e[s]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,a++),r[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==i&&u||(a===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},l=0;l<i;l++)s(l);else n.complete()})}var Sv,Ev,Pv=function e(){A(this,e)},Dv=new mi("NgValueAccessor"),Ov={provide:Dv,useExisting:Ee(function(){return Mv}),multi:!0},Mv=((Sv=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r.onChange=function(e){},r.onTouched=function(){},r}return m(n,[{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)}}]),n}(Pv)).\u0275fac=function(e){return new(e||Sv)(rs(Pl),rs(Cl))},Sv.\u0275dir=bt({type:Sv,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&ms("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[yl([Ov]),za]}),Sv),Tv={provide:Dv,useExisting:Ee(function(){return Rv}),multi:!0},Iv=new mi("CompositionEventMode"),Rv=((Ev=function(){function e(t,n,i){var r;A(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=id()?id().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return m(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}()).\u0275fac=function(e){return new(e||Ev)(rs(Pl),rs(Cl),rs(Iv,8))},Ev.\u0275dir=bt({type:Ev,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&ms("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[yl([Tv])]}),Ev);function Lv(e){return null==e||0===e.length}function Fv(e){return null!=e&&"number"==typeof e.length}var Bv=new mi("NgValidators"),zv=new mi("NgAsyncValidators"),Vv=/^(?=.{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])?)*$/,Nv=function(){function e(){A(this,e)}return m(e,null,[{key:"min",value:function(e){return function(e){return function(t){if(Lv(t.value)||Lv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)}},{key:"max",value:function(e){return function(e){return function(t){if(Lv(t.value)||Lv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return Hv(e)}},{key:"requiredTrue",value:function(e){return function(e){return!0===e.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function(e){return Lv(e.value)||Vv.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return Lv(t.value)||!Fv(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"maxLength",value:function(e){return jv(e)}},{key:"pattern",value:function(e){return Uv(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return Xv(e)}},{key:"composeAsync",value:function(e){return Jv(e)}}]),e}();function Hv(e){return Lv(e.value)?{required:!0}:null}function jv(e){return function(t){return Fv(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}function Uv(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(Lv(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):Wv;var t,n}function Wv(e){return null}function Gv(e){return null!=e}function qv(e){var t=ps(e)?ie(e):e;return vs(t),t}function Yv(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Zv(e,t){return t.map(function(t){return t(e)})}function Qv(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function Xv(e){if(!e)return null;var t=e.filter(Gv);return 0==t.length?null:function(e){return Yv(Zv(e,t))}}function Kv(e){return null!=e?Xv(Qv(e)):null}function Jv(e){if(!e)return null;var t=e.filter(Gv);return 0==t.length?null:function(e){return Av(Zv(e,t).map(qv)).pipe(Y(Yv))}}function $v(e){return null!=e?Jv(Qv(e)):null}function em(e,t){return null===e?[t]:Array.isArray(e)?[].concat(y(e),[t]):[e,t]}function tm(e){return e._rawValidators}function nm(e){return e._rawAsyncValidators}var im,rm,om,am,sm=((rm=function(){function e(){A(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return m(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:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=Kv(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=$v(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{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}}]),e}()).\u0275fac=function(e){return new(e||rm)},rm.\u0275dir=bt({type:rm}),rm),lm=((im=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(sm)).\u0275fac=function(e){return um(e||im)},im.\u0275dir=bt({type:im,features:[za]}),im),um=hi(lm),cm=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(sm),dm=function(){function e(t){A(this,e),this._cd=t}return m(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}(),hm=((am=function(e){r(n,e);var t=a(n);function n(e){return A(this,n),t.call(this,e)}return n}(dm)).\u0275fac=function(e){return new(e||am)(rs(cm,2))},am.\u0275dir=bt({type:am,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&Fs("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[za]}),am),fm=((om=function(e){r(n,e);var t=a(n);function n(e){return A(this,n),t.call(this,e)}return n}(dm)).\u0275fac=function(e){return new(e||om)(rs(lm,10))},om.\u0275dir=bt({type:om,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&Fs("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[za]}),om);function pm(e,t){return[].concat(y(t.path),[e])}function gm(e,t){ym(e,t,!0),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&&wm(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&wm(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function vm(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),bm(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function mm(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ym(e,t,n){var i=tm(e);null!==t.validator?e.setValidators(em(i,t.validator)):"function"==typeof i&&e.setValidators([i]);var r=nm(e);if(null!==t.asyncValidator?e.setAsyncValidators(em(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){var o=function(){return e.updateValueAndValidity()};mm(t._rawValidators,o),mm(t._rawAsyncValidators,o)}}function bm(e,t,n){var i=!1;if(null!==e){if(null!==t.validator){var r=tm(e);if(Array.isArray(r)&&r.length>0){var o=r.filter(function(e){return e!==t.validator});o.length!==r.length&&(i=!0,e.setValidators(o))}}if(null!==t.asyncValidator){var a=nm(e);if(Array.isArray(a)&&a.length>0){var s=a.filter(function(e){return e!==t.asyncValidator});s.length!==a.length&&(i=!0,e.setAsyncValidators(s))}}}if(n){var l=function(){};mm(t._rawValidators,l),mm(t._rawAsyncValidators,l)}return i}function wm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _m(e,t){ym(e,t,!1)}function km(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function xm(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 Am(e,t){if(!t)return null;Array.isArray(t);var n=void 0,i=void 0,r=void 0;return t.forEach(function(e){e.constructor===Rv?n=e:Object.getPrototypeOf(e.constructor)===Pv?i=e:r=e}),r||i||n||null}function Cm(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sm(e){return(Om(e)?e.validators:e)||null}function Em(e){return Array.isArray(e)?Kv(e):e||null}function Pm(e,t){return(Om(t)?t.asyncValidators:e)||null}function Dm(e){return Array.isArray(e)?$v(e):e||null}function Om(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Mm,Tm,Im,Rm,Lm,Fm,Bm,zm=function(){function e(t,n){A(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Em(this._rawValidators),this._composedAsyncValidatorFn=Dm(this._rawAsyncValidators)}return m(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{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._rawValidators=e,this._composedValidatorFn=Em(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Dm(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=qv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof Nm?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Hm&&i.at(e)||null}),i}(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 Fu,this.statusChanges=new Fu}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){Om(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),Vm=function(e){r(n,e);var t=a(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return A(this,n),(e=t.call(this,Sm(r),Pm(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!o}),e}return m(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){Cm(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){Cm(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(zm),Nm=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,Sm(i),Pm(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),o}return m(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{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]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{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,i){n.reset(e[i],{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 Vm?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){var i=t.controls[n];i&&e(i,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){for(var t=0,n=Object.keys(this.controls);t<n.length;t++){var i=n[t],r=this.controls[i];if(this.contains(i)&&e(r))return!0}return!1}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t})}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild(function(e,i){n=t(n,e,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(zm),Hm=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,Sm(i),Pm(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),o}return m(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"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,i){t._throwIfControlMissing(i),t.at(i).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]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).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,i){n.reset(e[i],{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 Vm?e.value:e.getRawValue()})}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=h(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)}}]),n}(zm),jm={provide:lm,useExisting:Ee(function(){return Wm})},Um=Promise.resolve(null),Wm=((Mm=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Fu,r.form=new Nm({},Kv(e),$v(i)),r}return m(n,[{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;Um.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),gm(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;Um.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Cm(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;Um.then(function(){var n=t._findContainer(e.path),i=new Nm({});_m(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;Um.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;Um.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,xm(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}}]),n}(lm)).\u0275fac=function(e){return new(e||Mm)(rs(Bv,10),rs(zv,10))},Mm.\u0275dir=bt({type:Mm,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&ms("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[yl([jm]),za]}),Mm),Gm={provide:cm,useExisting:Ee(function(){return Ym})},qm=Promise.resolve(null),Ym=((Rm=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this)).control=new Vm,a._registered=!1,a.update=new Fu,a._parent=e,a._setValidators(i),a._setAsyncValidators(r),a.valueAccessor=Am(0,o),a}return m(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),km(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?pm(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{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(){gm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;qm.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;qm.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(cm)).\u0275fac=function(e){return new(e||Rm)(rs(lm,9),rs(Bv,10),rs(zv,10),rs(Dv,10))},Rm.\u0275dir=bt({type:Rm,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[yl([Gm]),za,Mt]}),Rm),Zm=((Im=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Im)},Im.\u0275dir=bt({type:Im,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Im),Qm=((Tm=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Tm)},Tm.\u0275mod=mt({type:Tm}),Tm.\u0275inj=Fe({}),Tm),Xm=new mi("NgModelWithFormControlWarning"),Km={provide:cm,useExisting:Ee(function(){return Jm})},Jm=((Lm=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this))._ngModelWarningConfig=o,a.update=new Fu,a._ngModelWarningSent=!1,a._setValidators(e),a._setAsyncValidators(i),a.valueAccessor=Am(0,r),a}return m(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&vm(t,this,!1),gm(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}km(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&vm(this.form,this,!1)}},{key:"path",get:function(){return[]}},{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")}}]),n}(cm)).\u0275fac=function(e){return new(e||Lm)(rs(Bv,10),rs(zv,10),rs(Dv,10),rs(Xm,8))},Lm.\u0275dir=bt({type:Lm,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[yl([Km]),za,Mt]}),Lm._ngModelWarningSentOnce=!1,Lm),$m={provide:lm,useExisting:Ee(function(){return ey})},ey=((Fm=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new Fu,r._setValidators(e),r._setAsyncValidators(i),r}return m(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(bm(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{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 gm(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){vm(e.control||null,e,!1),Cm(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(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,xm(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=t.control,i=e.form.get(t.path);n!==i&&(vm(n||null,t),i instanceof Vm&&(gm(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);_m(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return bm(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){ym(this.form,this,!1),this._oldForm&&bm(this._oldForm,this,!1)}},{key:"_checkFormPresent",value:function(){}}]),n}(lm)).\u0275fac=function(e){return new(e||Fm)(rs(Bv,10),rs(zv,10))},Fm.\u0275dir=bt({type:Fm,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&ms("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[yl([$m]),za,Mt]}),Fm),ty={provide:cm,useExisting:Ee(function(){return ny})},ny=((Bm=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a){var s;return A(this,n),(s=t.call(this))._ngModelWarningConfig=a,s._added=!1,s.update=new Fu,s._ngModelWarningSent=!1,s._parent=e,s._setValidators(i),s._setAsyncValidators(r),s.valueAccessor=Am(0,o),s}return m(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),km(e,this.viewModel)&&(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 pm(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{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}}]),n}(cm)).\u0275fac=function(e){return new(e||Bm)(rs(lm,13),rs(Bv,10),rs(zv,10),rs(Dv,10),rs(Xm,8))},Bm.\u0275dir=bt({type:Bm,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[yl([ty]),za,Mt]}),Bm._ngModelWarningSentOnce=!1,Bm),iy={provide:Dv,useExisting:Ee(function(){return sy}),multi:!0};function ry(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var oy,ay,sy=((ay=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return m(n,[{key:"compareWith",set:function(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=ry(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 i=n[t];if(this._compareWith(this._optionMap.get(i),e))return i}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}}]),n}(Pv)).\u0275fac=function(e){return new(e||ay)(rs(Pl),rs(Cl))},ay.\u0275dir=bt({type:ay,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&ms("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[yl([iy]),za]}),ay),ly=((oy=function(){function e(t,n,i){A(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}return m(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(ry(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}()).\u0275fac=function(e){return new(e||oy)(rs(Cl),rs(Pl),rs(sy,9))},oy.\u0275dir=bt({type:oy,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),oy),uy={provide:Dv,useExisting:Ee(function(){return wy}),multi:!0};function cy(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var dy,hy,fy,py,gy,vy,my,yy,by,wy=((hy=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return m(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(i.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 i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,o=0;o<r.length;o++){var a=r.item(o),s=t._getOptionValue(a.value);i.push(s)}else for(var l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var d=t._getOptionValue(c.value);i.push(d)}}t.value=i,e(i)}}},{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 i=n[t];if(this._compareWith(this._optionMap.get(i)._value,e))return i}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}}]),n}(Pv)).\u0275fac=function(e){return new(e||hy)(rs(Pl),rs(Cl))},hy.\u0275dir=bt({type:hy,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&ms("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[yl([uy]),za]}),hy),_y=((dy=function(){function e(t,n,i){A(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return m(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(cy(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(cy(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}()).\u0275fac=function(e){return new(e||dy)(rs(Cl),rs(Pl),rs(wy,9))},dy.\u0275dir=bt({type:dy,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),dy),ky={provide:Bv,useExisting:Ee(function(){return xy}),multi:!0},xy=((fy=function(){function e(){A(this,e),this._required=!1}return m(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?Hv(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}()).\u0275fac=function(e){return new(e||fy)},fy.\u0275dir=bt({type:fy,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&$a("required",t.required?"":null)},inputs:{required:"required"},features:[yl([ky])]}),fy),Ay={provide:Bv,useExisting:Ee(function(){return Cy}),multi:!0},Cy=((py=function(){function e(){A(this,e),this._validator=Wv}return m(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=jv("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}()).\u0275fac=function(e){return new(e||py)},py.\u0275dir=bt({type:py,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&$a("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[yl([Ay]),Mt]}),py),Sy={provide:Bv,useExisting:Ee(function(){return Ey}),multi:!0},Ey=((by=function(){function e(){A(this,e),this._validator=Wv}return m(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=Uv(this.pattern)}}]),e}()).\u0275fac=function(e){return new(e||by)},by.\u0275dir=bt({type:by,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&$a("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[yl([Sy]),Mt]}),by),Py=((yy=function e(){A(this,e)}).\u0275fac=function(e){return new(e||yy)},yy.\u0275mod=mt({type:yy}),yy.\u0275inj=Fe({imports:[[Qm]]}),yy),Dy=((my=function e(){A(this,e)}).\u0275fac=function(e){return new(e||my)},my.\u0275mod=mt({type:my}),my.\u0275inj=Fe({imports:[Py]}),my),Oy=((vy=function(){function e(){A(this,e)}return m(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Xm,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275fac=function(e){return new(e||vy)},vy.\u0275mod=mt({type:vy}),vy.\u0275inj=Fe({imports:[Py]}),vy),My=((gy=function(){function e(){A(this,e)}return m(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Nm(n,{asyncValidators:r,updateOn:o,validators:i})}},{key:"control",value:function(e,t,n){return new Vm(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new Hm(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),n}},{key:"_createControl",value:function(e){return e instanceof Vm||e instanceof Nm||e instanceof Hm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}()).\u0275fac=function(e){return new(e||gy)},gy.\u0275prov=Re({factory:function(){return new gy},token:gy,providedIn:Oy}),gy);function Ty(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return q(i)?(t.pop(),ne(t,i)):de(t)}function Iy(e,t){return se(e,t,1)}function Ry(e,t){return function(n){return n.lift(new Ly(e,t))}}var Ly=function(){function e(t,n){A(this,e),this.predicate=t,this.thisArg=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Fy(e,this.predicate,this.thisArg))}}]),e}(),Fy=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return m(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(I),By=function e(){A(this,e)},zy=function e(){A(this,e)},Vy=function(){function e(t){var n=this;A(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 i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return m(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,y(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),Ny=function(){function e(){A(this,e)}return m(e,[{key:"encodeKey",value:function(e){return Hy(e)}},{key:"encodeValue",value:function(e){return Hy(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function Hy(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 jy=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(A(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Ny,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var i=e.indexOf("="),r=f(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}return m(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:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}();function Uy(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Wy(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Gy(e){return"undefined"!=typeof FormData&&e instanceof FormData}var qy=function(){function e(t,n,i,r){var o;if(A(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)||r?(this.body=void 0!==i?i:null,o=r):o=i,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 Vy),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 jy,this.urlWithParams=n}return m(e,[{key:"serializeBody",value:function(){return null===this.body?null:Uy(this.body)||Wy(this.body)||Gy(this.body)||"string"==typeof this.body?this.body:this.body instanceof jy?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||Gy(this.body)?null:Wy(this.body)?this.body.type||null:Uy(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof jy?"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,i=t.url||this.url,r=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,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})}}]),e}(),Yy=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),Zy=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";A(this,e),this.headers=t.headers||new Vy,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},Qy=function(e){r(n,e);var t=a(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return A(this,n),(e=t.call(this,i)).type=Yy.ResponseHeader,e}return m(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Zy),Xy=function(e){r(n,e);var t=a(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return A(this,n),(e=t.call(this,i)).type=Yy.Response,e.body=void 0!==i.body?i.body:null,e}return m(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Zy),Ky=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.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),i.error=e.error||null,i}return n}(Zy);function Jy(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var $y,eb,tb,nb,ib,rb,ob,ab,sb,lb=(($y=function(){function e(t){A(this,e),this.handler=t}return m(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof qy)n=e;else{var o=void 0;o=r.headers instanceof Vy?r.headers:new Vy(r.headers);var a=void 0;r.params&&(a=r.params instanceof jy?r.params:new jy({fromObject:r.params})),n=new qy(e,t,void 0!==r.body?r.body:null,{headers:o,params:a,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Ty(n).pipe(Iy(function(e){return i.handler.handle(e)}));if(e instanceof qy||"events"===r.observe)return s;var l=s.pipe(Ry(function(e){return e instanceof Xy}));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(Y(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Y(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Y(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 l.pipe(Y(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.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 jy).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,Jy(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,Jy(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,Jy(n,t))}}]),e}()).\u0275fac=function(e){return new(e||$y)(Ri(By))},$y.\u0275prov=Re({token:$y,factory:$y.\u0275fac}),$y),ub=function(){function e(t,n){A(this,e),this.next=t,this.interceptor=n}return m(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),cb=new mi("HTTP_INTERCEPTORS"),db=((eb=function(){function e(){A(this,e)}return m(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||eb)},eb.\u0275prov=Re({token:eb,factory:eb.\u0275fac}),eb),hb=/^\)\]\}',?\n/,fb=function e(){A(this,e)},pb=((nb=function(){function e(){A(this,e)}return m(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||nb)},nb.\u0275prov=Re({token:nb,factory:nb.\u0275fac}),nb),gb=((tb=function(){function e(t){A(this,e),this.xhrFactory=t}return m(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Vy(i.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}(i)||e.url;return s=new Qy({headers:r,status:t,statusText:n,url:o})},u=function(){var t=l(),r=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var d=u;u=u.replace(hb,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new Xy({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Ky({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=l().url,r=new Ky({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,h=function(t){d||(n.next(l()),d=!0);var r={type:Yy.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:Yy.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",h),null!==a&&i.upload&&i.upload.addEventListener("progress",f)),i.send(a),n.next({type:Yy.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",u),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",h),null!==a&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}]),e}()).\u0275fac=function(e){return new(e||tb)(Ri(fb))},tb.\u0275prov=Re({token:tb,factory:tb.\u0275fac}),tb),vb=new mi("XSRF_COOKIE_NAME"),mb=new mi("XSRF_HEADER_NAME"),yb=function e(){A(this,e)},bb=((sb=function(){function e(t,n,i){A(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return m(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=uh(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||sb)(Ri(od),Ri(uc),Ri(vb))},sb.\u0275prov=Re({token:sb,factory:sb.\u0275fac}),sb),wb=((ab=function(){function e(t,n){A(this,e),this.tokenService=t,this.headerName=n}return m(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||ab)(Ri(yb),Ri(mb))},ab.\u0275prov=Re({token:ab,factory:ab.\u0275fac}),ab),_b=((ob=function(){function e(t,n){A(this,e),this.backend=t,this.injector=n,this.chain=null}return m(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(cb,[]);this.chain=t.reduceRight(function(e,t){return new ub(e,t)},this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||ob)(Ri(zy),Ri(Fa))},ob.\u0275prov=Re({token:ob,factory:ob.\u0275fac}),ob),kb=((rb=function(){function e(){A(this,e)}return m(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:wb,useClass:db}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:vb,useValue:t.cookieName}:[],t.headerName?{provide:mb,useValue:t.headerName}:[]]}}}]),e}()).\u0275fac=function(e){return new(e||rb)},rb.\u0275mod=mt({type:rb}),rb.\u0275inj=Fe({providers:[wb,{provide:cb,useExisting:wb,multi:!0},{provide:yb,useClass:bb},{provide:vb,useValue:"XSRF-TOKEN"},{provide:mb,useValue:"X-XSRF-TOKEN"}]}),rb),xb=((ib=function e(){A(this,e)}).\u0275fac=function(e){return new(e||ib)},ib.\u0275mod=mt({type:ib}),ib.\u0275inj=Fe({providers:[lb,{provide:By,useClass:_b},gb,{provide:zy,useExisting:gb},pb,{provide:fb,useExisting:pb}],imports:[[kb.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),ib),Ab=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this))._value=e,i}return m(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=i(c(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new H;return this._value}},{key:"next",value:function(e){i(c(n.prototype),"next",this).call(this,this._value=e)}}]),n}(W),Cb=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(I),Sb=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this)).parent=e,o.outerValue=i,o.outerIndex=r,o.index=0,o}return m(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(I);function Eb(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Sb(e,n,i);if(!r.closed)return t instanceof z?t.subscribe(r):te(t)(r)}var Pb={};function Db(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=void 0,r=void 0;return q(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(i=t.pop()),1===t.length&&S(t[0])&&(t=t[0]),de(t,r).lift(new Ob(i))}var Ob=function(){function e(t){A(this,e),this.resultSelector=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Mb(e,this.resultSelector))}}]),e}(),Mb=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return m(n,[{key:"_next",value:function(e){this.values.push(Pb),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++)this.add(Eb(this,e[n],void 0,n))}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n){var i=this.values,r=this.toRespond?i[n]===Pb?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(Cb),Tb=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}();function Ib(){return ce(1)(Ty.apply(void 0,arguments))}var Rb=new z(function(e){return e.complete()});function Lb(e){return e?function(e){return new z(function(t){return e.schedule(function(){return t.complete()})})}(e):Rb}function Fb(e){return new z(function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?ie(n):Lb()).subscribe(t)})}function Bb(e,t){return"function"==typeof t?function(n){return n.pipe(Bb(function(n,i){return ie(e(n,i)).pipe(Y(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new zb(e))}}var zb=function(){function e(t){A(this,e),this.project=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Vb(e,this.project))}}]),e}(),Vb=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).project=i,r.index=0,r}return m(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new re(this),i=this.destination;i.add(n),this.innerSubscription=ae(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||i(c(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&i(c(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e){this.destination.next(e)}}]),n}(oe),Nb=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function Hb(e){return function(t){return 0===e?Lb():t.lift(new jb(e))}}var jb=function(){function e(t){if(A(this,e),this.total=t,this.total<0)throw new Nb}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Ub(e,this.total))}}]),e}(),Ub=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return m(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(I);function Wb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return q(i)?(t.pop(),function(e){return Ib(t,e,i)}):function(e){return Ib(t,e)}}function Gb(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new qb(e,t,n))}}var qb=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];A(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Yb(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Yb=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return m(n,[{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(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(I);function Zb(e){return function(t){var n=new Qb(e),i=t.lift(n);return n.caught=i}}var Qb=function(){function e(t){A(this,e),this.selector=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Xb(e,this.selector,this.caught))}}]),e}(),Xb=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return m(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(a){return void i(c(n.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var r=new re(this);this.add(r);var o=ae(t,r);o!==r&&this.add(o)}}}]),n}(oe);function Kb(e){return function(t){return 0===e?Lb():t.lift(new Jb(e))}}var Jb=function(){function e(t){if(A(this,e),this.total=t,this.total<0)throw new Nb}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new $b(e,this.total))}}]),e}(),$b=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return m(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%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,i=this.ring,r=0;r<n;r++){var o=t++%n;e.next(i[o])}e.complete()}}]),n}(I);function ew(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:iw;return function(t){return t.lift(new tw(e))}}var tw=function(){function e(t){A(this,e),this.errorFactory=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new nw(e,this.errorFactory))}}]),e}(),nw=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return m(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(I);function iw(){return new Tb}function rw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new ow(e))}}var ow=function(){function e(t){A(this,e),this.defaultValue=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new aw(e,this.defaultValue))}}]),e}(),aw=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return m(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(I);function sw(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Ry(function(t,n){return e(t,n,i)}):F,Hb(1),n?rw(t):ew(function(){return new Tb}))}}function lw(){}function uw(e,t,n){return function(i){return i.lift(new cw(e,t,n))}}var cw=function(){function e(t,n,i){A(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new dw(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),dw=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e))._tapNext=lw,a._tapError=lw,a._tapComplete=lw,a._tapError=r||lw,a._tapComplete=o||lw,v(i)?(a._context=l(a),a._tapNext=i):i&&(a._context=i,a._tapNext=i.next||lw,a._tapError=i.error||lw,a._tapComplete=i.complete||lw),a}return m(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(I);function hw(e){return function(t){return t.lift(new fw(e))}}var fw=function(){function e(t){A(this,e),this.callback=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new pw(e,this.callback))}}]),e}(),pw=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).add(new O(i)),r}return n}(I),gw=function e(t,n){A(this,e),this.id=t,this.url=n},vw=function(e){r(n,e);var t=a(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return A(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return m(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(gw),mw=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return m(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(gw),yw=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e,i)).reason=r,o}return m(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(gw),bw=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e,i)).error=r,o}return m(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(gw),ww=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return m(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(gw),_w=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return m(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(gw),kw=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a){var s;return A(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return m(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(gw),xw=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return m(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(gw),Aw=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return m(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(gw),Cw=function(){function e(t){A(this,e),this.route=t}return m(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),Sw=function(){function e(t){A(this,e),this.route=t}return m(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Ew=function(){function e(t){A(this,e),this.snapshot=t}return m(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Pw=function(){function e(t){A(this,e),this.snapshot=t}return m(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Dw=function(){function e(t){A(this,e),this.snapshot=t}return m(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ow=function(){function e(t){A(this,e),this.snapshot=t}return m(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Mw=function(){function e(t,n,i){A(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return m(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Tw=function(){function e(t){A(this,e),this.params=t||{}}return m(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Iw(e){return new Tw(e)}function Rw(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Lw(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=e[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function Fw(e,t){var n,i=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!i||!r||i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(!Bw(e[n=i[o]],t[n]))return!1;return!0}function Bw(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;var n=y(e).sort(),i=y(t).sort();return n.every(function(e,t){return i[t]===e})}return e===t}function zw(e){return Array.prototype.concat.apply([],e)}function Vw(e){return e.length>0?e[e.length-1]:null}function Nw(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Hw(e){return vs(e)?e:ps(e)?ie(Promise.resolve(e)):Ty(e)}function jw(e,t,n){return n?function(e,t){return Fw(e,t)}(e.queryParams,t.queryParams)&&Uw(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return Bw(e[n],t[n])})}(e.queryParams,t.queryParams)&&Ww(e.root,t.root)}function Uw(e,t){if(!Qw(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var n in t.children){if(!e.children[n])return!1;if(!Uw(e.children[n],t.children[n]))return!1}return!0}function Ww(e,t){return Gw(e,t,t.segments)}function Gw(e,t,n){if(e.segments.length>n.length)return!!Qw(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!Qw(e.segments,n))return!1;for(var i in t.children){if(!e.children[i])return!1;if(!Ww(e.children[i],t.children[i]))return!1}return!0}var r=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!Qw(e.segments,r)&&!!e.children.primary&&Gw(e.children.primary,t,o)}var qw=function(){function e(t,n,i){A(this,e),this.root=t,this.queryParams=n,this.fragment=i}return m(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Iw(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Jw.serialize(this)}}]),e}(),Yw=function(){function e(t,n){var i=this;A(this,e),this.segments=t,this.children=n,this.parent=null,Nw(n,function(e,t){return e.parent=i})}return m(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return $w(this)}}]),e}(),Zw=function(){function e(t,n){A(this,e),this.path=t,this.parameters=n}return m(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Iw(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return a_(this)}}]),e}();function Qw(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Xw=function e(){A(this,e)},Kw=function(){function e(){A(this,e)}return m(e,[{key:"parse",value:function(e){var t=new d_(e);return new qw(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+e_(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(n_(e),"=").concat(n_(t))}).join("&"):"".concat(n_(e),"=").concat(n_(n))}),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),Jw=new Kw;function $w(e){return e.segments.map(function(e){return a_(e)}).join("/")}function e_(e,t){if(!e.hasChildren())return $w(e);if(t){var n=e.children.primary?e_(e.children.primary,!1):"",i=[];return Nw(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(e_(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return Nw(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),Nw(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[e_(e.children.primary,!1)]:["".concat(n,":").concat(e_(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat($w(e),"/").concat(r[0]):"".concat($w(e),"/(").concat(r.join("//"),")")}function t_(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function n_(e){return t_(e).replace(/%3B/gi,";")}function i_(e){return t_(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function r_(e){return decodeURIComponent(e)}function o_(e){return r_(e.replace(/\+/g,"%20"))}function a_(e){return"".concat(i_(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(i_(e),"=").concat(i_(t[e]))}).join("")));var t}var s_=/^[^\/()?;=#]+/;function l_(e){var t=e.match(s_);return t?t[0]:""}var u_=/^[^=?&#]+/,c_=/^[^?&#]+/,d_=function(){function e(t){A(this,e),this.url=t,this.remaining=t}return m(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Yw([],{}):new Yw([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Yw(e,t)),n}},{key:"parseSegment",value:function(){var e=l_(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Zw(r_(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=l_(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=l_(this.remaining);i&&(n=i,this.capture(n))}e[r_(t)]=r_(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(u_);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(c_);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=o_(t),o=o_(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=l_(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Yw([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),h_=function(){function e(t){A(this,e),this._root=t}return m(e,[{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=f_(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=f_(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=p_(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 p_(e,this._root).map(function(e){return e.value})}}]),e}();function f_(e,t){if(e===t.value)return t;var n,i=h(t.children);try{for(i.s();!(n=i.n()).done;){var r=f_(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function p_(e,t){if(e===t.value)return[t];var n,i=h(t.children);try{for(i.s();!(n=i.n()).done;){var r=p_(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var g_=function(){function e(t,n){A(this,e),this.value=t,this.children=n}return m(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function v_(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var m_=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).snapshot=i,x_(l(r),e),r}return m(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(h_);function y_(e,t){var n=function(e,t){var n=new __([],{},{},"",{},"primary",t,null,e.root,-1,{});return new k_("",new g_(n,[]))}(e,t),i=new Ab([new Zw("",{})]),r=new Ab({}),o=new Ab({}),a=new Ab({}),s=new Ab(""),l=new b_(i,r,a,s,o,"primary",t,n.root);return l.snapshot=n.root,new m_(new g_(l,[]),n)}var b_=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=l}return m(e,[{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(Y(function(e){return Iw(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(function(e){return Iw(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function w_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var __=function(){function e(t,n,i,r,o,a,s,l,u,c,d){A(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}return m(e,[{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=Iw(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Iw(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:"","')")}}]),e}(),k_=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,i)).url=e,x_(l(r),i),r}return m(n,[{key:"toString",value:function(){return A_(this._root)}}]),n}(h_);function x_(e,t){t.value._routerState=e,t.children.forEach(function(t){return x_(e,t)})}function A_(e){var t=e.children.length>0?" { ".concat(e.children.map(A_).join(", ")," } "):"";return"".concat(e.value).concat(t)}function C_(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Fw(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Fw(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(!Fw(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Fw(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function S_(e,t){var n,i;return Fw(e.params,t.params)&&Qw(n=e.url,i=t.url)&&n.every(function(e,t){return Fw(e.parameters,i[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||S_(e.parent,t.parent))}function E_(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){var i=n.value;i._futureSnapshot=t.value;var r=function(e,t,n){return t.children.map(function(t){var i,r=h(n.children);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(e.shouldReuseRoute(t.value,o.value.snapshot))return E_(e,t,o)}}catch(a){r.e(a)}finally{r.f()}return E_(e,t)})}(e,t,n);return new g_(i,r)}var o=e.retrieve(t.value);if(o){var a=o.route;return P_(t,a),a}var s,l=new b_(new Ab((s=t.value).url),new Ab(s.params),new Ab(s.queryParams),new Ab(s.fragment),new Ab(s.data),s.outlet,s.component,s),u=t.children.map(function(t){return E_(e,t)});return new g_(l,u)}function P_(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var n=0;n<e.children.length;++n)P_(e.children[n],t.children[n])}function D_(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function O_(e){return"object"==typeof e&&null!=e&&e.outlets}function M_(e,t,n,i,r){var o={};return i&&Nw(i,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new qw(n.root===e?t:T_(n.root,e,t),o,r)}function T_(e,t,n){var i={};return Nw(e.children,function(e,r){i[r]=e===t?n:T_(e,t,n)}),new Yw(e.segments,i)}var I_=function(){function e(t,n,i){if(A(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&D_(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(O_);if(r&&r!==Vw(i))throw new Error("{outlets:{}} has to be the last command")}return m(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),R_=function e(t,n,i){A(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function L_(e,t,n){if(e||(e=new Yw([],{})),0===e.segments.length&&e.hasChildren())return F_(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(i>=n.length)return o;var a=e.segments[r],s=n[i];if(O_(s))break;var l=""+s,u=i<n.length-1?n[i+1]:null;if(r>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!N_(l,u,a))return o;i+=2}else{if(!N_(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var o=new Yw(e.segments.slice(0,i.pathIndex),{});return o.children.primary=new Yw(e.segments.slice(i.pathIndex),e.children),F_(o,0,r)}return i.match&&0===r.length?new Yw(e.segments,{}):i.match&&!e.hasChildren()?B_(e,t,n):i.match?F_(e,0,r):B_(e,t,n)}function F_(e,t,n){if(0===n.length)return new Yw(e.segments,{});var i=function(e){return O_(e[0])?e[0].outlets:{primary:e}}(n),r={};return Nw(i,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(r[i]=L_(e.children[i],t,n))}),Nw(e.children,function(e,t){void 0===i[t]&&(r[t]=e)}),new Yw(e.segments,r)}function B_(e,t,n){for(var i=e.segments.slice(0,t),r=0;r<n.length;){var o=n[r];if(O_(o)){var a=z_(o.outlets);return new Yw(i,a)}if(0===r&&D_(n[0]))i.push(new Zw(e.segments[t].path,V_(n[0]))),r++;else{var s=O_(o)?o.outlets.primary:""+o,l=r<n.length-1?n[r+1]:null;s&&l&&D_(l)?(i.push(new Zw(s,V_(l))),r+=2):(i.push(new Zw(s,{})),r++)}}return new Yw(i,{})}function z_(e){var t={};return Nw(e,function(e,n){"string"==typeof e&&(e=[e]),null!==e&&(t[n]=B_(new Yw([],{}),0,e))}),t}function V_(e){var t={};return Nw(e,function(e,n){return t[n]=""+e}),t}function N_(e,t,n){return e==n.path&&Fw(t,n.parameters)}var H_=function(){function e(t,n,i,r){A(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=r}return m(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),C_(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var i=this,r=v_(t);e.children.forEach(function(e){var t=e.value.outlet;i.deactivateRoutes(e,r[t],n),delete r[t]}),Nw(r,function(e,t){i.deactivateRouteAndItsChildren(e,n)})}},{key:"deactivateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else r&&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 i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){for(var n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=v_(e),o=0,a=Object.keys(r);o<a.length;o++){var s=a[o];this.deactivateRouteAndItsChildren(r[s],i)}n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}},{key:"activateChildRoutes",value:function(e,t,n){var i=this,r=v_(t);e.children.forEach(function(e){i.activateRoutes(e,r[e.value.outlet],n),i.forwardEvent(new Ow(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Pw(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(C_(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(i.component){var a=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),j_(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}(i.snapshot),u=l?l.module.componentFactoryResolver:null;a.attachRef=null,a.route=i,a.resolver=u,a.outlet&&a.outlet.activateWith(i,u),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function j_(e){C_(e.value),e.children.forEach(j_)}var U_=function e(t,n){A(this,e),this.routes=t,this.module=n};function W_(e){return"function"==typeof e}function G_(e){return e instanceof qw}var q_=Symbol("INITIAL_VALUE");function Y_(){return Bb(function(e){return Db(e.map(function(e){return e.pipe(Hb(1),Wb(q_))})).pipe(Gb(function(e,t){var n=!1;return t.reduce(function(e,i,r){if(e!==q_)return e;if(i===q_&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||G_(i))return i}return e},e)},q_),Ry(function(e){return e!==q_}),Y(function(e){return G_(e)?e:!0===e}),Hb(1))})}var Z_,Q_=((Z_=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Z_)},Z_.\u0275cmp=ft({type:Z_,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&us(0,"router-outlet")},directives:function(){return[Qk]},encapsulation:2}),Z_);function X_(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var i=e[n];K_(i,J_(t,i))}}function K_(e,t){e.children&&X_(e.children,t)}function J_(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function $_(e){var t=e.children&&e.children.map($_),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Q_),n}function ek(e){return e.outlet||"primary"}function tk(e,t){var n=e.filter(function(e){return ek(e)===t});return n.push.apply(n,y(e.filter(function(e){return ek(e)!==t}))),n}var nk={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ik(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},nk):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||Lw)(n,e,t);if(!r)return Object.assign({},nk);var o={};Nw(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function rk(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return ok(e,t,n)&&"primary"!==ek(n)})}(e,n,i)){var o=new Yw(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,a=h(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==ek(s)){var l=new Yw([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,r[ek(s)]=l}}}catch(u){a.e(u)}finally{a.f()}return r}(e,t,i,new Yw(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 ok(e,t,n)})}(e,n,i)){var a=new Yw(e.segments,function(e,t,n,i,r,o){var a,s={},l=h(i);try{for(l.s();!(a=l.n()).done;){var u=a.value;if(ok(e,n,u)&&!r[ek(u)]){var c=new Yw([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[ek(u)]=c}}}catch(d){l.e(d)}finally{l.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Yw(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function ok(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function ak(e,t,n,i){return!!(ek(e)===i||"primary"!==i&&ok(t,n,e))&&("**"===e.path||ik(t,e,n).matched)}function sk(e,t,n){return 0===t.length&&!e.children[n]}var lk=function e(t){A(this,e),this.segmentGroup=t||null},uk=function e(t){A(this,e),this.urlTree=t};function ck(e){return new z(function(t){return t.error(new lk(e))})}function dk(e){return new z(function(t){return t.error(new uk(e))})}function hk(e){return new z(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var fk=function(){function e(t,n,i,r,o){A(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(au)}return m(e,[{key:"apply",value:function(){var e=this,t=rk(this.urlTree.root,[],[],this.config).segmentGroup,n=new Yw(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe(Y(function(t){return e.createUrlTree(pk(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Zb(function(t){if(t instanceof uk)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof lk)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(Y(function(n){return t.createUrlTree(pk(n),e.queryParams,e.fragment)})).pipe(Zb(function(e){if(e instanceof lk)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 i=e.segments.length>0?new Yw([],{primary:e}):e;return new qw(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Y(function(e){return new Yw([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],o=0,a=Object.keys(n.children);o<a.length;o++){var s=a[o];"primary"===s?r.unshift(s):r.push(s)}return ie(r).pipe(Iy(function(r){var o=n.children[r],a=tk(t,r);return i.expandSegmentGroup(e,a,o,r).pipe(Y(function(e){return{segment:e,outlet:r}}))}),Gb(function(e,t){return e[t.outlet]=t.segment,e},{}),function(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Ry(function(t,n){return e(t,n,i)}):F,Kb(1),n?rw(t):ew(function(){return new Tb}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,o){var a=this;return ie(n).pipe(Iy(function(s){return a.expandSegmentAgainstRoute(e,t,n,s,i,r,o).pipe(Zb(function(e){if(e instanceof lk)return Ty(null);throw e}))}),sw(function(e){return!!e}),Zb(function(e,n){if(e instanceof Tb||"EmptyError"===e.name){if(sk(t,i,r))return Ty(new Yw([],{}));throw new lk(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return ak(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):ck(t):ck(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?dk(o):this.lineralizeSegments(n,o).pipe(se(function(n){var o=new Yw(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=ik(t,i,r),l=s.matched,u=s.consumedSegments,c=s.lastChild,d=s.positionalParamSegments;if(!l)return ck(t);var h=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?dk(h):this.lineralizeSegments(i,h).pipe(se(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Ty(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Y(function(e){return n._loadedConfig=e,new Yw(i,{})})):Ty(new Yw(i,{}));var a=ik(t,n,i),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return ck(t);var c=i.slice(u);return this.getChildConfig(e,n,i).pipe(se(function(e){var i=e.module,a=e.routes,s=rk(t,l,c,a),u=s.segmentGroup,d=s.slicedSegments,h=new Yw(u.segments,u.children);if(0===d.length&&h.hasChildren())return o.expandChildren(i,a,h).pipe(Y(function(e){return new Yw(l,e)}));if(0===a.length&&0===d.length)return Ty(new Yw(l,{}));var f=ek(n)===r;return o.expandSegment(i,h,a,d,f?"primary":r,!0).pipe(Y(function(e){return new Yw(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?Ty(new U_(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Ty(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(se(function(n){return n?i.configLoader.load(e.injector,t).pipe(Y(function(e){return t._loadedConfig=e,e})):function(e){return new z(function(t){return t.error(Rw("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):Ty(new U_([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;return r&&0!==r.length?Ty(r.map(function(i){var r,o=e.get(i);if(function(e){return e&&W_(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!W_(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return Hw(r)})).pipe(Y_(),uw(function(e){if(G_(e)){var t=Rw('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),Y(function(e){return!0===e})):Ty(!0)}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Ty(n);if(i.numberOfChildren>1||!i.children.primary)return hk(e.redirectTo);i=i.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,i){var r=this.createSegmentGroup(e,t.root,n,i);return new qw(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Nw(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return Nw(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Yw(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=h(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function pk(e){for(var t={},n=0,i=Object.keys(e.children);n<i.length;n++){var r=i[n],o=pk(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Yw(e.segments.concat(t.segments),t.children)}return e}(new Yw(e.segments,t))}var gk=function e(t){A(this,e),this.path=t,this.route=this.path[this.path.length-1]},vk=function e(t,n){A(this,e),this.component=t,this.route=n};function mk(e,t,n){var i=e._root;return bk(i,t?t._root:null,n,[i.value])}function yk(e,t,n){var i=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(i?i.module.injector:n).get(e)}function bk(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=v_(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Qw(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Qw(e.url,t.url)||!Fw(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!S_(e,t)||!Fw(e.queryParams,t.queryParams);case"paramsChange":default:return!S_(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new gk(i)):(o.data=a.data,o._resolvedData=a._resolvedData),bk(e,t,o.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new vk(s.outlet.component,a))}else a&&wk(t,s,r),r.canActivateChecks.push(new gk(i)),bk(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),Nw(o,function(e,t){return wk(e,n.getContext(t),r)}),r}function wk(e,t,n){var i=v_(e),r=e.value;Nw(i,function(e,i){wk(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new vk(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var _k=function e(){A(this,e)};function kk(e){return new z(function(t){return t.error(e)})}var xk=function(){function e(t,n,i,r,o,a){A(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return m(e,[{key:"recognize",value:function(){var e=rk(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new __([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new g_(n,t),r=new k_(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=w_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.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){for(var n=[],i=0,r=Object.keys(t.children);i<r.length;i++){var o=r[i],a=t.children[o],s=tk(e,o),l=this.processSegmentGroup(s,a,o);if(null===l)return null;n.push.apply(n,y(l))}var u=function(e){var t,n=[],i=h(e);try{var r=function(){var e,i=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(i))return n.push(i),"continue";var r=n.find(function(e){return i.value.routeConfig===e.value.routeConfig});void 0!==r?(e=r.children).push.apply(e,y(i.children)):n.push(i)};for(i.s();!(t=i.n()).done;)r()}catch(o){i.e(o)}finally{i.f()}return n}(n);return u.sort(function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)}),u}},{key:"processSegment",value:function(e,t,n,i){var r,o=h(e);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this.processSegmentAgainstRoute(a,t,n,i);if(null!==s)return s}}catch(l){o.e(l)}finally{o.f()}return sk(t,n,i)?[]:null}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo||!ak(e,t,n,i))return null;var r,o=[],a=[];if("**"===e.path){var s=n.length>0?Vw(n).parameters:{};r=new __(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Sk(e),ek(e),e.component,e,Ak(t),Ck(t)+n.length,Ek(e))}else{var l=ik(t,e,n);if(!l.matched)return null;o=l.consumedSegments,a=n.slice(l.lastChild),r=new __(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Sk(e),ek(e),e.component,e,Ak(t),Ck(t)+o.length,Ek(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=rk(t,o,a,u.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),d=c.segmentGroup,h=c.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(u,d);return null===f?null:[new g_(r,f)]}if(0===u.length&&0===h.length)return[new g_(r,[])];var p=ek(e)===i,g=this.processSegment(u,d,h,p?"primary":i);return null===g?null:[new g_(r,g)]}}]),e}();function Ak(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Ck(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 Sk(e){return e.data||{}}function Ek(e){return e.resolve||{}}function Pk(e){return Bb(function(t){var n=e(t);return n?ie(n).pipe(Y(function(){return t})):Ty(t)})}var Dk=function e(){A(this,e)},Ok=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(function(){function e(){A(this,e)}return m(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),Mk=new mi("ROUTES"),Tk=function(){function e(t,n,i,r){A(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return m(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe(Y(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new U_(zw(r.injector.get(Mk,void 0,Ge.Self|Ge.Optional)).map($_),r)}),Zb(function(e){throw t._loader$=void 0,e}));return t._loader$=new me(i,function(){return new W}).pipe(fe()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?ie(this.loader.load(e)):Hw(e()).pipe(se(function(e){return e instanceof su?Ty(e):ie(t.compiler.compileModuleAsync(e))}))}}]),e}(),Ik=function e(){A(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new Rk,this.attachRef=null},Rk=function(){function e(){A(this,e),this.contexts=new Map}return m(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new Ik,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Lk=function(){function e(){A(this,e)}return m(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Fk(e){throw e}function Bk(e,t,n){return t.parse("/")}function zk(e,t){return Ty(null)}var Vk,Nk,Hk,jk=((Hk=function(){function e(t,n,i,r,o,a,s,l){var u=this;A(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new W,this.errorHandler=Fk,this.malformedUriErrorHandler=Bk,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:zk,afterPreactivation:zk},this.urlHandlingStrategy=new Lk,this.routeReuseStrategy=new Ok,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=o.get(au),this.console=o.get(dc);var c=o.get(Ac);this.isNgZoneEnabled=c instanceof Ac&&Ac.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new qw(new Yw([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Tk(a,s,function(e){return u.triggerEvent(new Cw(e))},function(e){return u.triggerEvent(new Sw(e))}),this.routerState=y_(this.currentUrlTree,this.rootComponentType),this.transitions=new Ab({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return m(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Ry(function(e){return 0!==e.id}),Y(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),Bb(function(e){var i,r,o,a=!1,s=!1;return Ty(e).pipe(uw(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Bb(function(e){var i,r,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Ty(e).pipe(Bb(function(e){var i=t.transitions.getValue();return n.next(new vw(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?Rb:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,a=t.config,Bb(function(e){return function(e,t,n,i,r){return new fk(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe(Y(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),uw(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,o){return se(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new xk(e,t,n,i,r,o).recognize();return null===a?kk(new _k):Ty(a)}catch(s){return kk(s)}}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe(Y(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var a})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),uw(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects);var i=new ww(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,u=e.extractedUrl,c=e.source,d=e.restoredState,h=e.extras,f=new vw(l,t.serializeUrl(u),c,d);n.next(f);var p=y_(u,t.rootComponentType).snapshot;return Ty(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:u,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Rb}),Pk(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})}),uw(function(e){var n=new _w(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Y(function(e){return Object.assign(Object.assign({},e),{guards:mk(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return se(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Ty(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return ie(e).pipe(se(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Ty(o.map(function(o){var a,s=yk(o,t,r);if(function(e){return e&&W_(e.canDeactivate)}(s))a=Hw(s.canDeactivate(e,t,n,i));else{if(!W_(s))throw new Error("Invalid CanDeactivate guard");a=Hw(s(e,t,n,i))}return a.pipe(sw())})).pipe(Y_()):Ty(!0)}(e.component,e.route,n,t,i)}),sw(function(e){return!0!==e},!0))}(s,i,r,e).pipe(se(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return ie(t).pipe(Iy(function(t){return Ib(function(e,t){return null!==e&&t&&t(new Ew(e)),Ty(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Dw(e)),Ty(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=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 Fb(function(){return Ty(t.guards.map(function(r){var o,a=yk(r,t.node,n);if(function(e){return e&&W_(e.canActivateChild)}(a))o=Hw(a.canActivateChild(i,e));else{if(!W_(a))throw new Error("Invalid CanActivateChild guard");o=Hw(a(i,e))}return o.pipe(sw())})).pipe(Y_())})});return Ty(r).pipe(Y_())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Ty(i.map(function(i){return Fb(function(){var r,o=yk(i,t,n);if(function(e){return e&&W_(e.canActivate)}(o))r=Hw(o.canActivate(t,e));else{if(!W_(o))throw new Error("Invalid CanActivate guard");r=Hw(o(t,e))}return r.pipe(sw())})})).pipe(Y_()):Ty(!0)}(e,t.route,n))}),sw(function(e){return!0!==e},!0))}(i,a,e,t):Ty(n)}),Y(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),uw(function(e){if(G_(e.guardsResult)){var n=Rw('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new kw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),Ry(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new yw(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0}),Pk(function(e){if(e.guards.canActivateChecks.length)return Ty(e).pipe(uw(function(e){var n=new xw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Bb(function(e){var i,r,o=!1;return Ty(e).pipe((i=t.paramsInheritanceStrategy,r=t.ngModule.injector,se(function(e){var t=e.targetSnapshot,n=e.guards.canActivateChecks;if(!n.length)return Ty(e);var o=0;return ie(n).pipe(Iy(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Ty({});var o={};return ie(r).pipe(se(function(r){return function(e,t,n,i){var r=yk(e,t,i);return Hw(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(uw(function(e){o[r]=e}))}),Kb(1),se(function(){return Object.keys(o).length===r.length?Ty(o):Rb}))}(e._resolve,e,t,i).pipe(Y(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),w_(e,n).resolve),null}))}(e.route,t,i,r)}),uw(function(){return o++}),Kb(1),se(function(t){return o===n.length?Ty(e):Rb}))})),uw({next:function(){return o=!0},complete:function(){if(!o){var i=new yw(e.id,t.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),e.resolve(!1)}}}))}),uw(function(e){var n=new Aw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),Pk(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})}),Y(function(e){var n=function(e,t,n){var i=E_(e,t._root,n?n._root:void 0);return new m_(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),uw(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,o=function(e){return t.triggerEvent(e)},Y(function(e){return new H_(r,e.targetRouterState,e.currentRouterState,o).activate(i),e})),uw({next:function(){a=!0},complete:function(){a=!0}}),hw(function(){if(!a&&!s){t.resetUrlToCurrentUrlTree();var i=new yw(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(i),e.resolve(!1)}t.currentNavigation=null}),Zb(function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var r=G_(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new yw(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new bw(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var l;return Rb}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{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){X_(e),this.config=e.map($_),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=n||this.routerState.root,l=a?this.currentUrlTree.fragment:r,u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,i,r){if(0===n.length)return M_(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new I_(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return Nw(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(y(e),[{outlets:o}])}if(i.segmentPath)return[].concat(y(e),[i.segmentPath])}return"string"!=typeof i?[].concat(y(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(y(e),[i])},[]);return new I_(n,t,i)}(n);if(o.toRoot())return M_(t.root,new Yw([],{}),t,i,r);var a=function(e,t,n){if(e.isAbsolute)return new R_(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new R_(i,i===t.root,0)}var r=D_(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new R_(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?F_(a.segmentGroup,a.index,o.commands):L_(a.segmentGroup,a.index,o.commands);return M_(a.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,u,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=G_(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"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(G_(e))return jw(this.currentUrlTree,e,t);var n=this.parseUrl(e);return jw(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return null!=i&&(t[n]=i),t},{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new mw(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,i,r){if(this.disposed)return Promise.resolve(!1);var o,a,s,l=this.getTransition(),u="imperative"!==t&&"imperative"===(null==l?void 0:l.source),c=(this.lastSuccessfulId===l.id||this.currentNavigation?l.rawUrl:l.urlAfterRedirects).toString()===e.toString();if(u&&c)return Promise.resolve(!0);r?(o=r.resolve,a=r.reject,s=r.promise):s=new Promise(function(e,t){o=e,a=t});var d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,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,i){var r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{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})}}]),e}()).\u0275fac=function(e){return new(e||Hk)(Ri(bi),Ri(Xw),Ri(Rk),Ri(Cd),Ri(Fa),Ri(Yc),Ri(_c),Ri(void 0))},Hk.\u0275prov=Re({token:Hk,factory:Hk.\u0275fac}),Hk),Uk=((Nk=function(){function e(t,n,i,r,o){A(this,e),this.router=t,this.route=n,this.commands=[],this.onChanges=new W,null==i&&r.setAttribute(o.nativeElement,"tabindex","0")}return m(e,[{key:"ngOnChanges",value:function(e){this.onChanges.next(this)}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"onClick",value:function(){var e={skipLocationChange:Gk(this.skipLocationChange),replaceUrl:Gk(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Gk(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Nk)(rs(jk),rs(b_),pi("tabindex"),rs(Pl),rs(Cl))},Nk.\u0275dir=bt({type:Nk,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&ms("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[Mt]}),Nk),Wk=((Vk=function(){function e(t,n,i){var r=this;A(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new W,this.subscription=t.events.subscribe(function(e){e instanceof mw&&r.updateTargetUrlAndHref()})}return m(e,[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Gk(this.skipLocationChange),replaceUrl:Gk(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!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:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Gk(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Vk)(rs(jk),rs(b_),rs(md))},Vk.\u0275dir=bt({type:Vk,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&ms("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(nl("href",t.href,Cr),$a("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[Mt]}),Vk);function Gk(e){return""===e||!!e}var qk,Yk,Zk,Qk=((qk=function(){function e(t,n,i,r,o){A(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Fu,this.deactivateEvents=new Fu,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}return m(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Xk(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),e}()).\u0275fac=function(e){return new(e||qk)(rs(Rk),rs(uu),rs(_l),pi("name"),rs(Kl))},qk.\u0275dir=bt({type:qk,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),qk),Xk=function(){function e(t,n,i){A(this,e),this.route=t,this.childContexts=n,this.parent=i}return m(e,[{key:"get",value:function(e,t){return e===b_?this.route:e===Rk?this.childContexts:this.parent.get(e,t)}}]),e}(),Kk=function e(){A(this,e)},Jk=function(){function e(){A(this,e)}return m(e,[{key:"preload",value:function(e,t){return Ty(null)}}]),e}(),$k=((Zk=function(){function e(t,n,i,r,o){A(this,e),this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Tk(n,i,function(e){return t.triggerEvent(new Cw(e))},function(e){return t.triggerEvent(new Sw(e))})}return m(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Ry(function(e){return e instanceof mw}),Iy(function(){return e.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var e=this.injector.get(au);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],r=h(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;i.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(e,o)):o.children&&i.push(this.processRoutes(e,o.children))}}catch(s){r.e(s)}finally{r.f()}return ie(i).pipe(ce(),Y(function(e){}))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return(t._loadedConfig?Ty(t._loadedConfig):n.loader.load(e.injector,t)).pipe(se(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})}}]),e}()).\u0275fac=function(e){return new(e||Zk)(Ri(jk),Ri(Yc),Ri(_c),Ri(Fa),Ri(Kk))},Zk.\u0275prov=Re({token:Zk,factory:Zk.\u0275fac}),Zk),ex=((Yk=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};A(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return m(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof vw?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof mw&&(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 Mw&&(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 Mw(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Yk)(Ri(jk),Ri(Kh),Ri(void 0))},Yk.\u0275prov=Re({token:Yk,factory:Yk.\u0275fac}),Yk),tx=new mi("ROUTER_CONFIGURATION"),nx=new mi("ROUTER_FORROOT_GUARD"),ix=[Cd,{provide:Xw,useClass:Kw},{provide:jk,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new jk(null,e,t,n,i,r,o,zw(a));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,c),s.enableTracing){var d=id();c.events.subscribe(function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()})}return c},deps:[Xw,Rk,Cd,Fa,Yc,_c,Mk,tx,[function(){return function e(){A(this,e)}}(),new Hi],[Dk,new Hi]]},Rk,{provide:b_,useFactory:function(e){return e.routerState.root},deps:[jk]},{provide:Yc,useClass:Xc},$k,Jk,function(){function e(){A(this,e)}return m(e,[{key:"preload",value:function(e,t){return t().pipe(Zb(function(){return Ty(null)}))}}]),e}(),{provide:tx,useValue:{enableTracing:!1}}];function rx(){return new Vc("Router",jk)}var ox,ax=((ox=function(){function e(t,n){A(this,e)}return m(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[ix,cx(t),{provide:nx,useFactory:ux,deps:[[jk,new Hi,new ji]]},{provide:tx,useValue:n||{}},{provide:md,useFactory:lx,deps:[ad,[new Ni(kd),new Hi],tx]},{provide:ex,useFactory:sx,deps:[jk,Kh,tx]},{provide:Kk,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Jk},{provide:Vc,multi:!0,useFactory:rx},[hx,{provide:ic,multi:!0,useFactory:fx,deps:[hx]},{provide:gx,useFactory:px,deps:[hx]},{provide:cc,multi:!0,useExisting:gx}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[cx(t)]}}}]),e}()).\u0275fac=function(e){return new(e||ox)(Ri(nx,8),Ri(jk,8))},ox.\u0275mod=mt({type:ox}),ox.\u0275inj=Fe({}),ox);function sx(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new ex(e,t,n)}function lx(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Ad(e,t):new xd(e,t)}function ux(e){return"guarded"}function cx(e){return[{provide:yi,multi:!0,useValue:e},{provide:Mk,multi:!0,useValue:e}]}var dx,hx=((dx=function(){function e(t){A(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new W}return m(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(ud,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(jk),r=e.injector.get(tx);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?Ty(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(tx),n=this.injector.get($k),i=this.injector.get(ex),r=this.injector.get(jk),o=this.injector.get(Gc);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}()).\u0275fac=function(e){return new(e||dx)(Ri(Fa))},dx.\u0275prov=Re({token:dx,factory:dx.\u0275fac}),dx);function fx(e){return e.appInitializer.bind(e)}function px(e){return e.bootstrapListener.bind(e)}var gx=new mi("Router Initializer");function vx(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function mx(e,t){return function(n,i){t(n,i,e)}}function yx(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function bx(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})}u("meiF"),u("lTIg"),u("RQGG"),u("bC4P"),u("iWo5");var wx=u("E/Mt"),_x=u("1vRN"),kx=(u("39oe"),u("k4ps")),xx=u("r7QR"),Ax=u("7OTs"),Cx=(u("y08P"),u("wEJo"));function Sx(e,t,n,i){return v(n)&&(i=n,n=void 0),i?Sx(e,t,n).pipe(Y(function(e){return S(e)?i.apply(void 0,y(e)):i(e)})):new z(function(i){Ex(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function Ex(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),o=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,c=e.length;u<c;u++)Ex(e[u],t,n,i,r)}i.add(o)}function Px(e,t){return function(n){return n.lift(new jx(e,t))}}u("B4Jq");var Dx,Ox,Mx,Tx,Ix,Rx,Lx,Fx,Bx,zx,Vx,Nx,Hx,jx=function(){function e(t,n){A(this,e),this.compare=t,this.keySelector=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Ux(e,this.compare,this.keySelector))}}]),e}(),Ux=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return m(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(I),Wx=wx.e,Gx=["*"],qx=function(e){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e)},Yx=((Dx=function(){function e(t,n){A(this,e),this.injector=t,this.el=n,this.onChange=function(){},this.onTouched=function(){}}return m(e,[{key:"writeValue",value:function(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,Zx(this.el)}},{key:"handleChangeEvent",value:function(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),Zx(this.el))}},{key:"_handleBlurEvent",value:function(e){e===this.el.nativeElement&&(this.onTouched(),Zx(this.el))}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.el.nativeElement.disabled=e}},{key:"ngOnDestroy",value:function(){this.statusChanges&&this.statusChanges.unsubscribe()}},{key:"ngAfterViewInit",value:function(){var e,t=this;try{e=this.injector.get(cm)}catch(i){}if(e){e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(function(){return Zx(t.el)}));var n=e.control;n&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(function(e){if(n[e]){var i=n[e].bind(n);n[e]=function(){i.apply(void 0,arguments),Zx(t.el)}}})}}}]),e}()).\u0275fac=function(e){!function(){throw new Error("invalid")}()},Dx.\u0275dir=bt({type:Dx,hostBindings:function(e,t){1&e&&ms("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),Dx),Zx=function(e){qx(function(){var t=e.nativeElement,n=Qx(t);Xx(t,n);var i=t.closest("ion-item");i&&Xx(i,n)})},Qx=function(e){for(var t=e.classList,n=[],i=0;i<t.length;i++){var r=t.item(i);null!==r&&Kx(r,"ng-")&&n.push("ion-"+r.substr(3))}return n},Xx=function(e,t){var n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(function(e){return n.remove(e)}),t.forEach(function(e){return n.add(e)})},Kx=function(e,t){return e.substr(0,t.length)===t},Jx=((Mx=Ox=function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this,e,i)}return m(n,[{key:"writeValue",value:function(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,Zx(this.el)}},{key:"_handleIonChange",value:function(e){this.handleChangeEvent(e,e.checked)}}]),n}(Yx)).\u0275fac=function(e){return new(e||Mx)(rs(Fa),rs(Cl))},Mx.\u0275dir=bt({type:Mx,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&ms("ionChange",function(e){return t._handleIonChange(e.target)})},features:[yl([{provide:Dv,useExisting:Ox,multi:!0}]),za]}),Mx),$x=((Ix=Tx=function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this,e,i)}return m(n,[{key:"_handleIonChange",value:function(e){this.handleChangeEvent(e,e.value)}},{key:"registerOnChange",value:function(e){i(c(n.prototype),"registerOnChange",this).call(this,function(t){e(""===t?null:parseFloat(t))})}}]),n}(Yx)).\u0275fac=function(e){return new(e||Ix)(rs(Fa),rs(Cl))},Ix.\u0275dir=bt({type:Ix,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&ms("ionChange",function(e){return t._handleIonChange(e.target)})},features:[yl([{provide:Dv,useExisting:Tx,multi:!0}]),za]}),Ix),eA=((Lx=Rx=function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this,e,i)}return m(n,[{key:"_handleIonSelect",value:function(e){this.handleChangeEvent(e,e.checked)}}]),n}(Yx)).\u0275fac=function(e){return new(e||Lx)(rs(Fa),rs(Cl))},Lx.\u0275dir=bt({type:Lx,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&ms("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[yl([{provide:Dv,useExisting:Rx,multi:!0}]),za]}),Lx),tA=((Bx=Fx=function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this,e,i)}return m(n,[{key:"_handleChangeEvent",value:function(e){this.handleChangeEvent(e,e.value)}}]),n}(Yx)).\u0275fac=function(e){return new(e||Bx)(rs(Fa),rs(Cl))},Bx.\u0275dir=bt({type:Bx,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&ms("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[yl([{provide:Dv,useExisting:Fx,multi:!0}]),za]}),Bx),nA=((Nx=zx=function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this,e,i)}return m(n,[{key:"_handleInputEvent",value:function(e){this.handleChangeEvent(e,e.value)}}]),n}(Yx)).\u0275fac=function(e){return new(e||Nx)(rs(Fa),rs(Cl))},Nx.\u0275dir=bt({type:Nx,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&ms("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[yl([{provide:Dv,useExisting:zx,multi:!0}]),za]}),Nx),iA=((Vx=function(){function e(t,n){var i=this;A(this,e),this.doc=t,this.backButton=new W,this.keyboardDidShow=new W,this.keyboardDidHide=new W,this.pause=new W,this.resume=new W,this.resize=new W,n.run(function(){var e;i.win=t.defaultView,i.backButton.subscribeWithPriority=function(e,t){return this.subscribe(function(i){return i.register(e,function(e){return n.run(function(){return t(e)})})})},oA(i.pause,t,"pause"),oA(i.resume,t,"resume"),oA(i.backButton,t,"ionBackButton"),oA(i.resize,i.win,"resize"),oA(i.keyboardDidShow,i.win,"ionKeyboardDidShow"),oA(i.keyboardDidHide,i.win,"ionKeyboardDidHide"),i._readyPromise=new Promise(function(t){e=t}),i.win&&i.win.cordova?t.addEventListener("deviceready",function(){e("cordova")},{once:!0}):e("dom")})}return m(e,[{key:"is",value:function(e){return Object(wx.a)(this.win,e)}},{key:"platforms",value:function(){return Object(wx.d)(this.win)}},{key:"ready",value:function(){return this._readyPromise}},{key:"isRTL",get:function(){return"rtl"===this.doc.dir}},{key:"getQueryParam",value:function(e){return rA(this.win.location.href,e)}},{key:"isLandscape",value:function(){return!this.isPortrait()}},{key:"isPortrait",value:function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}},{key:"testUserAgent",value:function(e){var t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}},{key:"url",value:function(){return this.win.location.href}},{key:"width",value:function(){return this.win.innerWidth}},{key:"height",value:function(){return this.win.innerHeight}}]),e}()).\u0275fac=function(e){return new(e||Vx)(Ri(od),Ri(Ac))},Vx.\u0275prov=Re({token:Vx,factory:function(e){return Vx.\u0275fac(e)},providedIn:"root"}),Vx.ngInjectableDef=Re({factory:function(){return new Vx(Ri(od),Ri(Ac))},token:Vx,providedIn:"root"}),Vx=vx([mx(0,Ni(od))],Vx)),rA=function(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},oA=function(e,t,n){t&&t.addEventListener(n,function(t){e.next(null!=t?t.detail:void 0)})},aA=((Hx=function(){function e(t,n,i,r){var o=this;A(this,e),this.location=n,this.serializer=i,this.router=r,this.direction=lA,this.animated=uA,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe(function(e){if(e instanceof vw){var t=e.restoredState?e.restoredState.navigationId:e.id;o.guessDirection=t<o.lastNavId?"back":"forward",o.guessAnimation=e.restoredState?void 0:o.guessDirection,o.lastNavId="forward"===o.guessDirection?e.id:t}}),t.backButton.subscribeWithPriority(0,function(e){o.pop(),e()})}return m(e,[{key:"navigateForward",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"navigateBack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"navigateRoot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"back",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{animated:!0,animationDirection:"back"};return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}},{key:"pop",value:function(){return bx(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.topOutlet;case 1:if(e.t0=t,!e.t0){e.next=6;break}return e.next=5,t.pop();case 5:e.t0=!e.sent;case 6:if(!e.t0){e.next=10;break}t=t.parentOutlet;case 8:e.next=1;break;case 10:case"end":return e.stop()}},e,this)}))}},{key:"setDirection",value:function(e,t,n,i){this.direction=e,this.animated=sA(e,t,n),this.animationBuilder=i}},{key:"setTopOutlet",value:function(e){this.topOutlet=e}},{key:"consumeTransition",value:function(){var e,t="root",n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=lA,this.animated=uA,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}},{key:"navigate",value:function(e,t){if(Array.isArray(e))return this.router.navigate(e,t);var n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}]),e}()).\u0275fac=function(e){return new(e||Hx)(Ri(iA),Ri(Cd),Ri(Xw),Ri(jk,8))},Hx.\u0275prov=Re({token:Hx,factory:function(e){return Hx.\u0275fac(e)},providedIn:"root"}),Hx.ngInjectableDef=Re({factory:function(){return new Hx(Ri(iA),Ri(Cd),Ri(Xw),Ri(jk,8))},token:Hx,providedIn:"root"}),Hx=vx([mx(3,Hi())],Hx)),sA=function(e,t,n){if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},lA="auto",uA=void 0,cA=function(e,t,n){n.forEach(function(n){return e[n]=Sx(t,n)})};function dA(e){return function(t){return e.inputs&&(n=t,i=e.inputs,r=n.prototype,i.forEach(function(e){Object.defineProperty(r,e,{get:function(){return this.el[e]},set:function(t){var n=this;this.z.runOutsideAngular(function(){return n.el[e]=t})}})})),e.methods&&function(e,t){var n=e.prototype;t.forEach(function(e){n[e]=function(){var t=this,n=arguments;return this.z.runOutsideAngular(function(){return t.el[e].apply(t.el,n)})}})}(t,e.methods),t;var n,i,r}}var hA,fA,pA,gA,vA,mA,yA,bA,wA,_A,kA,xA,AA,CA,SA,EA,PA,DA,OA,MA,TA,IA,RA,LA,FA,BA,zA,VA,NA,HA,jA,UA,WA,GA,qA,YA,ZA,QA,XA,KA,JA,$A,eC,tC,nC,iC,rC,oC,aC,sC,lC,uC,cC,dC,hC,fC,pC,gC,vC,mC,yC,bC,wC,_C,kC,xC,AC,CC,SC,EC,PC,DC,OC,MC=((fC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||fC)(rs(Kl),rs(Cl),rs(Ac))},fC.\u0275cmp=ft({type:fC,selectors:[["ion-app"]],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),fC),TC=((hC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||hC)(rs(Kl),rs(Cl),rs(Ac))},hC.\u0275cmp=ft({type:hC,selectors:[["ion-avatar"]],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),hC),IC=((dC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||dC)(rs(Kl),rs(Cl),rs(Ac))},dC.\u0275cmp=ft({type:dC,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),dC=vx([dA({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],dC)),RC=((cC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||cC)(rs(Kl),rs(Cl),rs(Ac))},cC.\u0275cmp=ft({type:cC,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),cC=vx([dA({inputs:["color","mode"]})],cC)),LC=((uC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||uC)(rs(Kl),rs(Cl),rs(Ac))},uC.\u0275cmp=ft({type:uC,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),uC=vx([dA({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],uC)),FC=((lC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||lC)(rs(Kl),rs(Cl),rs(Ac))},lC.\u0275cmp=ft({type:lC,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),lC=vx([dA({inputs:["collapse"]})],lC)),BC=((sC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||sC)(rs(Kl),rs(Cl),rs(Ac))},sC.\u0275cmp=ft({type:sC,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),sC=vx([dA({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],sC)),zC=((aC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||aC)(rs(Kl),rs(Cl),rs(Ac))},aC.\u0275cmp=ft({type:aC,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),aC=vx([dA({inputs:["mode"]})],aC)),VC=((oC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||oC)(rs(Kl),rs(Cl),rs(Ac))},oC.\u0275cmp=ft({type:oC,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),oC=vx([dA({inputs:["color","mode","translucent"]})],oC)),NC=((rC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||rC)(rs(Kl),rs(Cl),rs(Ac))},rC.\u0275cmp=ft({type:rC,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),rC=vx([dA({inputs:["color","mode"]})],rC)),HC=((iC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange","ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||iC)(rs(Kl),rs(Cl),rs(Ac))},iC.\u0275cmp=ft({type:iC,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),iC=vx([dA({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],iC)),jC=((nC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||nC)(rs(Kl),rs(Cl),rs(Ac))},nC.\u0275cmp=ft({type:nC,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),nC=vx([dA({inputs:["color","disabled","mode","outline"]})],nC)),UC=((tC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||tC)(rs(Kl),rs(Cl),rs(Ac))},tC.\u0275cmp=ft({type:tC,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),tC=vx([dA({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],tC)),WC=((eC=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}).\u0275fac=function(e){return new(e||eC)(rs(Kl),rs(Cl),rs(Ac))},eC.\u0275cmp=ft({type:eC,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),eC=vx([dA({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],eC)),GC=(($A=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||$A)(rs(Kl),rs(Cl),rs(Ac))},$A.\u0275cmp=ft({type:$A,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",dayNames:"dayNames",dayShortNames:"dayShortNames",dayValues:"dayValues",disabled:"disabled",displayFormat:"displayFormat",displayTimezone:"displayTimezone",doneText:"doneText",hourValues:"hourValues",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthNames:"monthNames",monthShortNames:"monthShortNames",monthValues:"monthValues",name:"name",pickerFormat:"pickerFormat",pickerOptions:"pickerOptions",placeholder:"placeholder",readonly:"readonly",value:"value",yearValues:"yearValues"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),$A=vx([dA({inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","displayTimezone","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"],methods:["open"]})],$A)),qC=((JA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||JA)(rs(Kl),rs(Cl),rs(Ac))},JA.\u0275cmp=ft({type:JA,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),JA=vx([dA({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],JA)),YC=((KA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||KA)(rs(Kl),rs(Cl),rs(Ac))},KA.\u0275cmp=ft({type:KA,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),KA=vx([dA({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],KA)),ZC=((XA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||XA)(rs(Kl),rs(Cl),rs(Ac))},XA.\u0275cmp=ft({type:XA,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),XA=vx([dA({inputs:["activated","side"]})],XA)),QC=((QA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||QA)(rs(Kl),rs(Cl),rs(Ac))},QA.\u0275cmp=ft({type:QA,selectors:[["ion-footer"]],inputs:{mode:"mode",translucent:"translucent"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),QA=vx([dA({inputs:["mode","translucent"]})],QA)),XC=((ZA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||ZA)(rs(Kl),rs(Cl),rs(Ac))},ZA.\u0275cmp=ft({type:ZA,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),ZA=vx([dA({inputs:["fixed"]})],ZA)),KC=((YA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||YA)(rs(Kl),rs(Cl),rs(Ac))},YA.\u0275cmp=ft({type:YA,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),YA=vx([dA({inputs:["collapse","mode","translucent"]})],YA)),JC=((qA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||qA)(rs(Kl),rs(Cl),rs(Ac))},qA.\u0275cmp=ft({type:qA,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),qA=vx([dA({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],qA)),$C=((GA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}).\u0275fac=function(e){return new(e||GA)(rs(Kl),rs(Cl),rs(Ac))},GA.\u0275cmp=ft({type:GA,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),GA=vx([dA({inputs:["alt","src"]})],GA)),eS=((WA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionInfinite"])}).\u0275fac=function(e){return new(e||WA)(rs(Kl),rs(Cl),rs(Ac))},WA.\u0275cmp=ft({type:WA,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),WA=vx([dA({inputs:["disabled","position","threshold"],methods:["complete"]})],WA)),tS=((UA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||UA)(rs(Kl),rs(Cl),rs(Ac))},UA.\u0275cmp=ft({type:UA,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),UA=vx([dA({inputs:["loadingSpinner","loadingText"]})],UA)),nS=((jA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}).\u0275fac=function(e){return new(e||jA)(rs(Kl),rs(Cl),rs(Ac))},jA.\u0275cmp=ft({type:jA,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),jA=vx([dA({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],jA)),iS=((HA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||HA)(rs(Kl),rs(Cl),rs(Ac))},HA.\u0275cmp=ft({type:HA,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),HA=vx([dA({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],HA)),rS=((NA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||NA)(rs(Kl),rs(Cl),rs(Ac))},NA.\u0275cmp=ft({type:NA,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),NA=vx([dA({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],NA)),oS=((VA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionSwipe"])}).\u0275fac=function(e){return new(e||VA)(rs(Kl),rs(Cl),rs(Ac))},VA.\u0275cmp=ft({type:VA,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),VA=vx([dA({inputs:["side"]})],VA)),aS=((zA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionDrag"])}).\u0275fac=function(e){return new(e||zA)(rs(Kl),rs(Cl),rs(Ac))},zA.\u0275cmp=ft({type:zA,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),zA=vx([dA({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],zA)),sS=((BA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||BA)(rs(Kl),rs(Cl),rs(Ac))},BA.\u0275cmp=ft({type:BA,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),BA=vx([dA({inputs:["color","mode","position"]})],BA)),lS=((FA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||FA)(rs(Kl),rs(Cl),rs(Ac))},FA.\u0275cmp=ft({type:FA,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),FA=vx([dA({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],FA)),uS=((LA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||LA)(rs(Kl),rs(Cl),rs(Ac))},LA.\u0275cmp=ft({type:LA,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),LA=vx([dA({inputs:["color","lines","mode"]})],LA)),cS=((RA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}).\u0275fac=function(e){return new(e||RA)(rs(Kl),rs(Cl),rs(Ac))},RA.\u0275cmp=ft({type:RA,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),RA=vx([dA({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],RA)),dS=((IA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||IA)(rs(Kl),rs(Cl),rs(Ac))},IA.\u0275cmp=ft({type:IA,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),IA=vx([dA({inputs:["autoHide","color","disabled","menu","mode","type"]})],IA)),hS=((TA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||TA)(rs(Kl),rs(Cl),rs(Ac))},TA.\u0275cmp=ft({type:TA,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),TA=vx([dA({inputs:["autoHide","menu"]})],TA)),fS=((MA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||MA)(rs(Kl),rs(Cl),rs(Ac))},MA.\u0275cmp=ft({type:MA,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),MA=vx([dA({inputs:["color","mode"]})],MA)),pS=((OA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||OA)(rs(Kl),rs(Cl),rs(Ac))},OA.\u0275cmp=ft({type:OA,selectors:[["ion-radio"]],inputs:{color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),OA=vx([dA({inputs:["color","disabled","mode","name","value"]})],OA)),gS=((DA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange"])}).\u0275fac=function(e){return new(e||DA)(rs(Kl),rs(Cl),rs(Ac))},DA.\u0275cmp=ft({type:DA,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),DA=vx([dA({inputs:["allowEmptySelection","name","value"]})],DA)),vS=((PA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange","ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||PA)(rs(Kl),rs(Cl),rs(Ac))},PA.\u0275cmp=ft({type:PA,selectors:[["ion-range"]],inputs:{color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),PA=vx([dA({inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]})],PA)),mS=((EA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||EA)(rs(Kl),rs(Cl),rs(Ac))},EA.\u0275cmp=ft({type:EA,selectors:[["ion-reorder"]],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),EA),yS=((SA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionItemReorder"])}).\u0275fac=function(e){return new(e||SA)(rs(Kl),rs(Cl),rs(Ac))},SA.\u0275cmp=ft({type:SA,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),SA=vx([dA({inputs:["disabled"],methods:["complete"]})],SA)),bS=((CA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||CA)(rs(Kl),rs(Cl),rs(Ac))},CA.\u0275cmp=ft({type:CA,selectors:[["ion-row"]],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),CA),wS=((AA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}).\u0275fac=function(e){return new(e||AA)(rs(Kl),rs(Cl),rs(Ac))},AA.\u0275cmp=ft({type:AA,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),AA=vx([dA({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],AA)),_S=((xA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange"])}).\u0275fac=function(e){return new(e||xA)(rs(Kl),rs(Cl),rs(Ac))},xA.\u0275cmp=ft({type:xA,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),xA=vx([dA({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],xA)),kS=((kA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||kA)(rs(Kl),rs(Cl),rs(Ac))},kA.\u0275cmp=ft({type:kA,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),kA=vx([dA({inputs:["disabled","layout","mode","type","value"]})],kA)),xS=((_A=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||_A)(rs(Kl),rs(Cl),rs(Ac))},_A.\u0275cmp=ft({type:_A,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),_A=vx([dA({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],_A)),AS=((wA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||wA)(rs(Kl),rs(Cl),rs(Ac))},wA.\u0275cmp=ft({type:wA,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),wA=vx([dA({inputs:["disabled","value"]})],wA)),CS=((bA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||bA)(rs(Kl),rs(Cl),rs(Ac))},bA.\u0275cmp=ft({type:bA,selectors:[["ion-slide"]],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),bA),SS=((yA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}).\u0275fac=function(e){return new(e||yA)(rs(Kl),rs(Cl),rs(Ac))},yA.\u0275cmp=ft({type:yA,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),yA=vx([dA({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],yA)),ES=((mA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||mA)(rs(Kl),rs(Cl),rs(Ac))},mA.\u0275cmp=ft({type:mA,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),mA=vx([dA({inputs:["color","duration","name","paused"]})],mA)),PS=((vA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionSplitPaneVisible"])}).\u0275fac=function(e){return new(e||vA)(rs(Kl),rs(Cl),rs(Ac))},vA.\u0275cmp=ft({type:vA,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),vA=vx([dA({inputs:["contentId","disabled","when"]})],vA)),DS=((gA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||gA)(rs(Kl),rs(Cl),rs(Ac))},gA.\u0275cmp=ft({type:gA,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),gA=vx([dA({inputs:["color","size"]})],gA)),OS=((pA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement,cA(this,this.el,["ionChange","ionFocus","ionBlur"])}).\u0275fac=function(e){return new(e||pA)(rs(Kl),rs(Cl),rs(Ac))},pA.\u0275cmp=ft({type:pA,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),pA=vx([dA({inputs:["checked","color","disabled","mode","name","value"]})],pA)),MS=((fA=function e(t,n,i){A(this,e),this.z=i,t.detach(),this.el=n.nativeElement}).\u0275fac=function(e){return new(e||fA)(rs(Kl),rs(Cl),rs(Ac))},fA.\u0275cmp=ft({type:fA,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),fA=vx([dA({inputs:["color","mode"]})],fA)),TS=((hA=function(){function e(){A(this,e)}return m(e,[{key:"get",value:function(e,t){var n=RS();return n?n.get(e,t):null}},{key:"getBoolean",value:function(e,t){var n=RS();return!!n&&n.getBoolean(e,t)}},{key:"getNumber",value:function(e,t){var n=RS();return n?n.getNumber(e,t):0}},{key:"set",value:function(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=RS();n&&n.set(e,t)}}]),e}()).\u0275fac=function(e){return new(e||hA)},hA.\u0275prov=Re({token:hA,factory:function(e){return hA.\u0275fac(e)},providedIn:"root"}),hA.ngInjectableDef=Re({factory:function(){return new hA},token:hA,providedIn:"root"}),hA),IS=new mi("USERCONFIG"),RS=function(){if("undefined"!=typeof window){var e=window.Ionic;if(e&&e.config)return e.config}return null},LS=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};A(this,e),this.data=t}return m(e,[{key:"get",value:function(e){return this.data[e]}}]),e}(),FS=((pC=function(){function e(t,n){A(this,e),this.zone=t,this.appRef=n}return m(e,[{key:"create",value:function(e,t,n){return new BS(e,t,n,this.appRef,this.zone)}}]),e}()).\u0275fac=function(e){return new(e||pC)(Ri(Ac),Ri(Gc))},pC.\u0275prov=Re({token:pC,factory:function(e){return pC.\u0275fac(e)}}),pC),BS=function(){function e(t,n,i,r,o){A(this,e),this.resolver=t,this.injector=n,this.location=i,this.appRef=r,this.zone=o,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return m(e,[{key:"attachViewToDom",value:function(e,t,n,i){var r=this;return this.zone.run(function(){return new Promise(function(o){o(zS(r.zone,r.resolver,r.injector,r.location,r.appRef,r.elRefMap,r.elEventsMap,e,t,n,i))})})}},{key:"removeViewFromDom",value:function(e,t){var n=this;return this.zone.run(function(){return new Promise(function(e){var i=n.elRefMap.get(t);if(i){i.destroy(),n.elRefMap.delete(t);var r=n.elEventsMap.get(t);r&&(r(),n.elEventsMap.delete(t))}e()})})}}]),e}(),zS=function(e,t,n,i,r,o,a,s,l,u,c){var d=t.resolveComponentFactory(l),f=Fa.create({providers:jS(u),parent:n}),p=i?i.createComponent(d,i.length,f):d.create(f),g=p.instance,v=p.location.nativeElement;if(u&&Object.assign(g,u),c){var m,y=h(c);try{for(y.s();!(m=y.n()).done;){var b=m.value;v.classList.add(b)}}catch(_){y.e(_)}finally{y.f()}}var w=NS(e,g,v);return s.appendChild(v),i||r.attachView(p.hostView),p.changeDetectorRef.reattach(),o.set(v,p),a.set(v,w),v},VS=[kx.a,kx.b,kx.c,kx.d,kx.e],NS=function(e,t,n){return e.run(function(){var e=VS.filter(function(e){return"function"==typeof t[e]}).map(function(e){var i=function(n){return t[e](n.detail)};return n.addEventListener(e,i),function(){return n.removeEventListener(e,i)}});return function(){return e.forEach(function(e){return e()})}})},HS=new mi("NavParamsToken"),jS=function(e){return[{provide:HS,useValue:e},{provide:LS,useFactory:US,deps:[HS]}]},US=function(e){return new LS(e)},WS=function(e,t){return(e=e.filter(function(e){return e.stackId!==t.stackId})).push(t),e},GS=function(e,t){var n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},qS=function(e,t){if(e)for(var n=YS(t),i=0;i<n.length;i++){if(i>=e.length)return n[i];if(n[i]!==e[i])return}},YS=function(e){return e.split("/").map(function(e){return e.trim()}).filter(function(e){return""!==e})},ZS=function(e){e&&(e.ref.destroy(),e.unlistenEvents())},QS=function(){function e(t,n,i,r,o,a){A(this,e),this.containerEl=n,this.router=i,this.navCtrl=r,this.zone=o,this.location=a,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==t?YS(t):void 0}return m(e,[{key:"createView",value:function(e,t){var n=GS(this.router,t),i=e&&e.location&&e.location.nativeElement,r=NS(this.zone,e.instance,i);return{id:this.nextId++,stackId:qS(this.tabsPrefix,n),unlistenEvents:r,element:i,ref:e,url:n}}},{key:"getExistingView",value:function(e){var t=GS(this.router,e),n=this.views.find(function(e){return e.url===t});return n&&n.ref.changeDetectorRef.reattach(),n}},{key:"setActive",value:function(e){var t=this,n=this.navCtrl.consumeTransition(),i=n.direction,r=n.animation,o=n.animationBuilder,a=this.activeView,s=function(e,t){return!t||e.stackId!==t.stackId}(e,a);s&&(i="back",r=void 0);var l,u=this.views.slice(),c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var d=this.views.includes(e),h=this.insertView(e,i);d||e.ref.changeDetectorRef.detectChanges();var f=e.animationBuilder;return void 0!==o||"back"!==i||s||void 0===f||(o=f),a&&(a.animationBuilder=o),this.zone.runOutsideAngular(function(){return t.wait(function(){return a&&a.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),t.transition(e,a,r,t.canGoBack(1),!1,o).then(function(){return XS(e,h,u,t.location)}).then(function(){return{enteringView:e,direction:i,animation:r,tabSwitch:s}})})})}},{key:"canGoBack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getActiveStackId();return this.getStack(t).length>e}},{key:"pop",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getActiveStackId();return this.zone.run(function(){var i=t.getStack(n);if(i.length<=e)return Promise.resolve(!1);var r=i[i.length-e-1],o=r.url,a=r.savedData;if(a){var s=a.get("primary");s&&s.route&&s.route._routerState&&s.route._routerState.snapshot&&s.route._routerState.snapshot.url&&(o=s.route._routerState.snapshot.url)}var l=t.navCtrl.consumeTransition().animationBuilder;return t.navCtrl.navigateBack(o,Object.assign({},r.savedExtras,{animation:l})).then(function(){return!0})})}},{key:"startBackTransition",value:function(){var e=this,t=this.activeView;if(t){var n=this.getStack(t.stackId),i=n[n.length-2],r=i.animationBuilder;return this.wait(function(){return e.transition(i,t,"back",e.canGoBack(2),!0,r)})}return Promise.resolve()}},{key:"endBackTransition",value:function(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&KS(this.activeView,this.views,this.views,this.location)}},{key:"getLastUrl",value:function(e){var t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}},{key:"getRootUrl",value:function(e){var t=this.getStack(e);return t.length>0?t[0]:void 0}},{key:"getActiveStackId",value:function(){return this.activeView?this.activeView.stackId:void 0}},{key:"destroy",value:function(){this.containerEl=void 0,this.views.forEach(ZS),this.activeView=void 0,this.views=[]}},{key:"getStack",value:function(e){return this.views.filter(function(t){return t.stackId===e})}},{key:"insertView",value:function(e,t){return this.activeView=e,this.views=function(e,t,n){return"root"===n?WS(e,t):"forward"===n?function(e,t){return e.indexOf(t)>=0?e=e.filter(function(e){return e.stackId!==t.stackId||e.id<=t.id}):e.push(t),e}(e,t):function(e,t){return e.indexOf(t)>=0?e.filter(function(e){return e.stackId!==t.stackId||e.id<=t.id}):WS(e,t)}(e,t)}(this.views,e,t),this.views.slice()}},{key:"transition",value:function(e,t,n,i,r,o){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);var a=e?e.element:void 0,s=t?t.element:void 0,l=this.containerEl;return a&&a!==s&&(a.classList.add("ion-page"),a.classList.add("ion-page-invisible"),a.parentElement!==l&&l.appendChild(a),l.commit)?l.commit(a,s,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:i,progressAnimation:r,animationBuilder:o}):Promise.resolve(!1)}},{key:"wait",value:function(e){return bx(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=void 0!==this.runningTask,!t.t0){t.next=5;break}return t.next=4,this.runningTask;case 4:this.runningTask=void 0;case 5:return t.abrupt("return",this.runningTask=e());case 6:case"end":return t.stop()}},t,this)}))}}]),e}(),XS=function(e,t,n,i){return"function"==typeof requestAnimationFrame?new Promise(function(r){requestAnimationFrame(function(){KS(e,t,n,i),r()})}):Promise.resolve()},KS=function(e,t,n,i){n.filter(function(e){return!t.includes(e)}).forEach(ZS),t.forEach(function(t){var n=i.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){var r=t.element;r.setAttribute("aria-hidden","true"),r.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})},JS=((gC=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f){A(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.config=a,this.navCtrl=s,this.parentOutlet=f,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Ab(null),this.stackEvents=new Fu,this.activateEvents=new Fu,this.deactivateEvents=new Fu,this.nativeEl=u.nativeElement,this.name=r||"primary",this.tabsPrefix="true"===o?GS(c,h):void 0,this.stackCtrl=new QS(this.tabsPrefix,this.nativeEl,c,s,d,l),t.onChildOutletCreated(this.name,this)}return m(e,[{key:"animation",set:function(e){this.nativeEl.animation=e}},{key:"animated",set:function(e){this.nativeEl.animated=e}},{key:"swipeGesture",set:function(e){var t=this;this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:function(){return t.stackCtrl.canGoBack(1)},onStart:function(){return t.stackCtrl.startBackTransition()},onEnd:function(e){return t.stackCtrl.endBackTransition(e)}}:void 0}},{key:"ngOnDestroy",value:function(){this.stackCtrl.destroy()}},{key:"getContext",value:function(){return this.parentContexts.getContext(this.name)}},{key:"ngOnInit",value:function(){var e=this;if(!this.activated){var t=this.getContext();t&&t.route&&this.activateWith(t.route,t.resolver||null)}new Promise(function(t){return Object(_x.c)(e.nativeEl,t)}).then(function(){void 0===e._swipeGesture&&(e.swipeGesture=e.config.getBoolean("swipeBackEnabled","ios"===e.nativeEl.mode))})}},{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(){throw new Error("incompatible reuse strategy")}},{key:"attach",value:function(e,t){throw new Error("incompatible reuse strategy")}},{key:"deactivate",value:function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var e=this.getContext();if(e.route){var t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}},{key:"activateWith",value:function(e,t){var n,i=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var r=this.stackCtrl.getExistingView(e);if(r){n=this.activated=r.ref;var o=r.savedData;o&&(this.getContext().children.contexts=o),this.updateActivatedRouteProxy(n.instance,e)}else{var a=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,l=new Ab(null),u=this.createActivatedRouteProxy(l,e),c=new $S(u,s,this.location.injector);n=this.activated=this.location.createComponent(a,this.location.length,c),l.next(n.instance),r=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=r,this.stackCtrl.setActive(r).then(function(e){i.navCtrl.setTopOutlet(i),i.activateEvents.emit(n.instance),i.stackEvents.emit(e)})}},{key:"canGoBack",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return this.stackCtrl.canGoBack(e,t)}},{key:"pop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return this.stackCtrl.pop(e,t)}},{key:"getLastUrl",value:function(e){var t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}},{key:"getLastRouteView",value:function(e){return this.stackCtrl.getLastUrl(e)}},{key:"getRootView",value:function(e){return this.stackCtrl.getRootUrl(e)}},{key:"getActiveStackId",value:function(){return this.stackCtrl.getActiveStackId()}},{key:"createActivatedRouteProxy",value:function(e,t){var n=new b_;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}},{key:"proxyObservable",value:function(e,t){var n=this;return e.pipe(Ry(function(e){return!!e}),Bb(function(e){return n.currentActivatedRoute$.pipe(Ry(function(t){return null!==t&&t.component===e}),Bb(function(e){return e&&e.activatedRoute[t]}),Px())}))}},{key:"updateActivatedRouteProxy",value:function(e,t){var n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}}]),e}()).\u0275fac=function(e){return new(e||gC)(rs(Rk),rs(uu),rs(_l),pi("name"),pi("tabs"),rs(TS),rs(aA),rs(Cd),rs(Cl),rs(jk),rs(Ac),rs(b_),rs(gC,12))},gC.\u0275dir=bt({type:gC,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),gC=vx([mx(3,vi("name")),mx(4,Hi()),mx(4,vi("tabs")),mx(12,ji()),mx(12,Hi())],gC)),$S=function(){function e(t,n,i){A(this,e),this.route=t,this.childContexts=n,this.parent=i}return m(e,[{key:"get",value:function(e,t){return e===b_?this.route:e===Rk?this.childContexts:this.parent.get(e,t)}}]),e}(),eE=((_C=function(){function e(t,n,i){A(this,e),this.routerOutlet=t,this.navCtrl=n,this.config=i}return m(e,[{key:"onClick",value:function(e){var t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}}]),e}()).\u0275fac=function(e){return new(e||_C)(rs(JS,8),rs(aA),rs(TS))},_C.\u0275dir=bt({type:_C,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&ms("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),_C=vx([mx(0,Hi())],_C)),tE=((wC=function(){function e(t,n,i,r,o){A(this,e),this.locationStrategy=t,this.navCtrl=n,this.elementRef=i,this.router=r,this.routerLink=o,this.routerDirection="forward"}return m(e,[{key:"ngOnInit",value:function(){this.updateTargetUrlAndHref()}},{key:"ngOnChanges",value:function(){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"updateTargetUrlAndHref",value:function(){if(this.routerLink){var e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}},{key:"onClick",value:function(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}}]),e}()).\u0275fac=function(e){return new(e||wC)(rs(md),rs(aA),rs(Cl),rs(jk),rs(Uk,8))},wC.\u0275dir=bt({type:wC,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&ms("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[Mt]}),wC=vx([mx(4,Hi())],wC)),nE=((bC=function e(t){A(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||bC)(rs(iu))},bC.\u0275dir=bt({type:bC,selectors:[["","virtualFooter",""]]}),bC),iE=((yC=function e(t){A(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||yC)(rs(iu))},yC.\u0275dir=bt({type:yC,selectors:[["","virtualHeader",""]]}),yC),rE=((mC=function e(t,n){A(this,e),this.templateRef=t,this.viewContainer=n}).\u0275fac=function(e){return new(e||mC)(rs(iu),rs(uu))},mC.\u0275dir=bt({type:mC,selectors:[["","virtualItem",""]]}),mC),oE=((vC=function(){function e(t,n,i){A(this,e),this.z=t,this.iterableDiffers=n,this.refMap=new WeakMap,this.el=i.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return m(e,[{key:"ngOnChanges",value:function(e){if(this.trackBy&&"items"in e){var t=e.items.currentValue;if(void 0===this.differ&&null!=t)try{this.differ=this.iterableDiffers.find(t).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"'. VirtualScroll only supports binding to Iterables such as Arrays."))}}}},{key:"ngDoCheck",value:function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}},{key:"nodeRender",value:function(e,t,n){var i=this;return this.z.run(function(){var r;if(e){var o=(r=i.refMap.get(e)).context;o.$implicit=t.value,o.index=t.index}else r=i.itmTmp.viewContainer.createEmbeddedView(i.getComponent(t.type),{$implicit:t.value,index:n},n),e=aE(r),i.refMap.set(e,r);return r.detectChanges(),e})}},{key:"getComponent",value:function(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}}]),e}()).\u0275fac=function(e){return new(e||vC)(rs(Ac),rs(Wl),rs(Cl))},vC.\u0275cmp=ft({type:vC,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){var i;1&e&&(Xu(n,rE,1),Xu(n,iE,1),Xu(n,nE,1)),2&e&&(Zu(i=Ku())&&(t.itmTmp=i.first),Zu(i=Ku())&&(t.hdrTmp=i.first),Zu(i=Ku())&&(t.ftrTmp=i.first))},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[Mt],ngContentSelectors:Gx,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},encapsulation:2,changeDetection:0}),vC=vx([dA({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],vC)),aE=function(e){for(var t=e.rootNodes,n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")},sE=function(){function e(t){A(this,e),this.ctrl=t}return m(e,[{key:"create",value:function(e){return this.ctrl.create(e||{})}},{key:"dismiss",value:function(e,t,n){return this.ctrl.dismiss(e,t,n)}},{key:"getTop",value:function(){return this.ctrl.getTop()}}]),e}(),lE=((PC=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.call(this,Ax.c)}return n}(sE)).\u0275fac=function(e){return new(e||PC)},PC.\u0275prov=Re({token:PC,factory:function(e){return PC.\u0275fac(e)},providedIn:"root"}),PC.ngInjectableDef=Re({factory:function(){return new PC},token:PC,providedIn:"root"}),PC),uE=((EC=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.call(this,Ax.b)}return n}(sE)).\u0275fac=function(e){return new(e||EC)},EC.\u0275prov=Re({token:EC,factory:function(e){return EC.\u0275fac(e)},providedIn:"root"}),EC.ngInjectableDef=Re({factory:function(){return new EC},token:EC,providedIn:"root"}),EC),cE=((SC=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.call(this,Ax.k)}return n}(sE)).\u0275fac=function(e){return new(e||SC)},SC.\u0275prov=Re({token:SC,factory:function(e){return SC.\u0275fac(e)},providedIn:"root"}),SC.ngInjectableDef=Re({factory:function(){return new SC},token:SC,providedIn:"root"}),SC),dE=((CC=function(){function e(){A(this,e)}return m(e,[{key:"open",value:function(e){return xx.a.open(e)}},{key:"close",value:function(e){return xx.a.close(e)}},{key:"toggle",value:function(e){return xx.a.toggle(e)}},{key:"enable",value:function(e,t){return xx.a.enable(e,t)}},{key:"swipeGesture",value:function(e,t){return xx.a.swipeGesture(e,t)}},{key:"isOpen",value:function(e){return xx.a.isOpen(e)}},{key:"isEnabled",value:function(e){return xx.a.isEnabled(e)}},{key:"get",value:function(e){return xx.a.get(e)}},{key:"getOpen",value:function(){return xx.a.getOpen()}},{key:"getMenus",value:function(){return xx.a.getMenus()}}]),e}()).\u0275fac=function(e){return new(e||CC)},CC.\u0275prov=Re({token:CC,factory:function(e){return CC.\u0275fac(e)},providedIn:"root"}),CC.ngInjectableDef=Re({factory:function(){return new CC},token:CC,providedIn:"root"}),CC),hE=((AC=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,Ax.l)).angularDelegate=e,o.resolver=i,o.injector=r,o}return m(n,[{key:"create",value:function(e){return i(c(n.prototype),"create",this).call(this,Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}}]),n}(sE)).\u0275fac=function(e){return new(e||AC)(Ri(FS),Ri(_l),Ri(Fa))},AC.\u0275prov=Re({token:AC,factory:function(e){return AC.\u0275fac(e)}}),AC),fE=((xC=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,Ax.d)).angularDelegate=e,o.resolver=i,o.injector=r,o}return m(n,[{key:"create",value:function(e){return i(c(n.prototype),"create",this).call(this,Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}}]),n}(sE)).\u0275fac=function(e){return new(e||xC)(Ri(FS),Ri(_l),Ri(Fa))},xC.\u0275prov=Re({token:xC,factory:function(e){return xC.\u0275fac(e)}}),xC),pE=((kC=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.call(this,Ax.o)}return n}(sE)).\u0275fac=function(e){return new(e||kC)},kC.\u0275prov=Re({token:kC,factory:function(e){return kC.\u0275fac(e)},providedIn:"root"}),kC.ngInjectableDef=Re({factory:function(){return new kC},token:kC,providedIn:"root"}),kC),gE=function(){function e(){A(this,e)}return m(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"shouldAttach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){if(e.routeConfig!==t.routeConfig)return!1;var n=e.params,i=t.params,r=Object.keys(n),o=Object.keys(i);if(r.length!==o.length)return!1;for(var a=0,s=r;a<s.length;a++){var l=s[a];if(i[l]!==n[l])return!1}return!0}}]),e}(),vE=!1,mE=function(e,t,n){return function(){var i=t.defaultView;if(i&&"undefined"!=typeof window){vE&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),vE=!0,(i.Ionic=i.Ionic||{}).config=Object.assign({},e,{_zoneGate:function(e){return n.run(e)}});var r="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(u.e(7).then(u.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(u.e(5).then(u.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(function(){return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:qx,jmp:function(e){return n.runOutsideAngular(e)},ael:function(e,t,n,i){e[r](t,n,i)},rel:function(e,t,n,i){e.removeEventListener(t,n,i)}},"undefined"==typeof window?Promise.resolve():(Cx.b&&Cx.b.supports&&Cx.b.supports("color","var(--c)")?Object(Cx.d)():u.e(6).then(u.t.bind(null,"9qUq",7)).then(function(){return(Cx.n.$cssShim$=Cx.q.__cssshim)?Cx.n.$cssShim$.i():0})).then(function(){return Wx(),Object(Cx.e)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[1],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[1]}],[33,"ion-card-title",{"color":[1]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[1],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["ion-range",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[1],"lines":[1]}]]]]'),e)});var e})}}},yE=((OC=DC=function(){function e(){A(this,e)}return m(e,null,[{key:"forRoot",value:function(e){return{ngModule:DC,providers:[{provide:IS,useValue:e},{provide:ic,useFactory:mE,multi:!0,deps:[IS,od,Ac]}]}}}]),e}()).\u0275fac=function(e){return new(e||OC)},OC.\u0275mod=mt({type:OC}),OC.\u0275inj=Fe({providers:[FS,hE,fE],imports:[[Zh]]}),OC),bE=u("Hfs6"),wE=u.n(bE);function _E(e){return!!e&&(e instanceof z||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var kE=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.pending=!1,r}return m(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,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,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){r(n,e);var t=a(n);function n(e,i){return A(this,n),t.call(this)}return m(n,[{key:"schedule",value:function(e){return this}}]),n}(O)),xE=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return m(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?i(c(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?i(c(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?i(c(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(kE),AE=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;A(this,e),this.SchedulerAction=t,this.now=n}return m(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),CE=function(e){r(n,e);var t=a(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:AE.now;return A(this,n),(i=t.call(this,e,function(){return n.delegate&&n.delegate!==l(i)?n.delegate.now():r()})).actions=[],i.active=!1,i.scheduled=void 0,i}return m(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):i(c(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(AE),SE=new(function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return n}(CE))(xE);function EE(e,t){return new z(t?function(n){return t.schedule(PE,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function PE(e){var t=e.error;e.subscriber.error(t)}var DE,OE=((DE=function(){function e(t,n,i){A(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return m(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 Ty(this.value);case"E":return EE(this.error);case"C":return Lb()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new DE("C"),DE.undefinedValueNotification=new DE("N",void 0),DE),ME=function(e){r(n,e);var t=a(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return A(this,n),(r=t.call(this,e)).scheduler=i,r.delay=o,r}return m(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new TE(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(OE.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(OE.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(OE.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(I),TE=function e(t,n){A(this,e),this.notification=t,this.destination=n},IE=function(e){r(n,e);var t=a(n);function n(){var e,i=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,o=arguments.length>2?arguments[2]:void 0;return A(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return m(n,[{key:"nextInfiniteTimeWindow",value:function(e){if(!this.isStopped){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}i(c(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this.isStopped||(this._events.push(new RE(this._getNow(),e)),this._trimBufferThenGetEvents()),i(c(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new H;if(this.isStopped||this.hasError?t=O.EMPTY:(this.observers.push(e),t=new j(this,e)),r&&e.add(e=new ME(e,r)),n)for(var a=0;a<o&&!e.closed;a++)e.next(i[a]);else for(var s=0;s<o&&!e.closed;s++)e.next(i[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||SE).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(e-i[o].time<n);)o++;return r>t&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}]),n}(W),RE=function e(t,n){A(this,e),this.time=t,this.value=n};function LE(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=e.refCount,l=e.scheduler,u=0,c=!1,d=!1;return function(e){var i;u++,!t||c?(c=!1,t=new IE(r,a,l),i=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){c=!0,t.error(e)},complete:function(){d=!0,n=void 0,t.complete()}}),d&&(n=void 0)):i=t.subscribe(this),this.add(function(){u--,i.unsubscribe(),i=void 0,n&&!d&&s&&0===u&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}var FE,BE,zE=function e(){A(this,e)},VE=((FE=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"getTranslation",value:function(e){return Ty({})}}]),n}(zE)).\u0275fac=function(e){return NE(e||FE)},FE.\u0275prov=Re({token:FE,factory:FE.\u0275fac}),FE),NE=hi(VE),HE=function e(){A(this,e)},jE=((BE=function(){function e(){A(this,e)}return m(e,[{key:"handle",value:function(e){return e.key}}]),e}()).\u0275fac=function(e){return new(e||BE)},BE.\u0275prov=Re({token:BE,factory:BE.\u0275fac}),BE);function UE(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!UE(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!UE(e[i],t[i]))return!1;return!0}}return!1}function WE(e){return null!=e}function GE(e){return e&&"object"==typeof e&&!Array.isArray(e)}function qE(e,t){var n=Object.assign({},e);return GE(e)&&GE(t)&&Object.keys(t).forEach(function(i){GE(t[i])&&i in e?n[i]=qE(e[i],t[i]):Object.assign(n,d({},i,t[i]))}),n}var YE,ZE,QE,XE,KE,JE,$E,eP,tP,nP,iP,rP,oP=function e(){A(this,e)},aP=((YE=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return m(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!WE(e)||!WE(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,function(e,i){var r=n.getValue(t,i);return WE(r)?r:e}):e}}]),n}(oP)).\u0275fac=function(e){return sP(e||YE)},YE.\u0275prov=Re({token:YE,factory:YE.\u0275fac}),YE),sP=hi(aP),lP=function e(){A(this,e)},uP=((ZE=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(lP)).\u0275fac=function(e){return cP(e||ZE)},ZE.\u0275prov=Re({token:ZE,factory:ZE.\u0275fac}),ZE),cP=hi(uP),dP=function e(){A(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Fu,this.onLangChange=new Fu,this.onDefaultLangChange=new Fu},hP=new mi("USE_STORE"),fP=new mi("USE_DEFAULT_LANG"),pP=new mi("DEFAULT_LANGUAGE"),gP=new mi("USE_EXTEND"),vP=((KE=function(){function e(t,n,i,r,o){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8?arguments[8]:void 0;A(this,e),this.store=t,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new Fu,this._onLangChange=new Fu,this._onDefaultLangChange=new Fu,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}return m(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(Hb(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Ty(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(Hb(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),Ty(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(LE(1),Hb(1));return this.loadingTranslations=n.pipe(Y(function(n){return t.compiler.compileTranslations(n,e)}),LE(1),Hb(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?qE(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var r,o={},a=!1,s=h(t);try{for(s.s();!(r=s.n()).done;){var l=r.value;o[l]=this.getParsedResult(e,l,n),_E(o[l])&&(a=!0)}}catch(c){s.e(c)}finally{s.f()}return a?Av(t.map(function(e){return _E(o[e])?o[e]:Ty(o[e])})).pipe(Y(function(e){var n={};return e.forEach(function(e,i){n[t[i]]=e}),n})):o}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var u={key:t,translateService:this};void 0!==n&&(u.interpolateParams=n),i=this.missingTranslationHandler.handle(u)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!WE(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Iy(function(i){return _E(i=n.getParsedResult(i,e,t))?i:Ty(i)}));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return _E(i)?i:Ty(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!WE(e)||!e.length)throw new Error('Parameter "key" required');return Ib(Fb(function(){return n.get(e,t)}),this.onTranslationChange.pipe(Bb(function(i){var r=n.getParsedResult(i.translations,e,t);return"function"==typeof r.subscribe?r:Ty(r)})))}},{key:"stream",value:function(e,t){var n=this;if(!WE(e)||!e.length)throw new Error('Parameter "key" required');return Ib(Fb(function(){return n.get(e,t)}),this.onLangChange.pipe(Bb(function(i){var r=n.getParsedResult(i.translations,e,t);return _E(r)?r:Ty(r)})))}},{key:"instant",value:function(e,t){if(!WE(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(_E(n)){if(e instanceof Array){var i={};return e.forEach(function(t,n){i[e[n]]=e[n]}),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),e}()).\u0275fac=function(e){return new(e||KE)(Ri(dP),Ri(zE),Ri(lP),Ri(oP),Ri(HE),Ri(fP),Ri(hP),Ri(gP),Ri(pP))},KE.\u0275prov=Re({token:KE,factory:KE.\u0275fac}),KE),mP=((XE=function(){function e(t,n){A(this,e),this.translate=t,this._ref=n,this.value=""}return m(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var o=this.translate.getParsedResult(n,e,t);_E(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];if(UE(e,this.lastKey)&&UE(r,this.lastParams))return this.value;if(WE(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){var a=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(a)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+r[0])}}else"object"!=typeof r[0]||Array.isArray(r[0])||(t=r[0]);return this.lastKey=e,this.lastParams=r,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(function(i){n.lastKey&&i.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(function(i){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))})),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}()).\u0275fac=function(e){return new(e||XE)(rs(vP),nc())},XE.\u0275pipe=wt({name:"translate",type:XE,pure:!1}),XE.\u0275prov=Re({token:XE,factory:XE.\u0275fac}),XE),yP=((QE=function(){function e(){A(this,e)}return m(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:zE,useClass:VE},t.compiler||{provide:lP,useClass:uP},t.parser||{provide:oP,useClass:aP},t.missingTranslationHandler||{provide:HE,useClass:jE},dP,{provide:hP,useValue:t.isolate},{provide:fP,useValue:t.useDefaultLang},{provide:gP,useValue:t.extend},{provide:pP,useValue:t.defaultLanguage},vP]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:zE,useClass:VE},t.compiler||{provide:lP,useClass:uP},t.parser||{provide:oP,useClass:aP},t.missingTranslationHandler||{provide:HE,useClass:jE},{provide:hP,useValue:t.isolate},{provide:fP,useValue:t.useDefaultLang},{provide:gP,useValue:t.extend},{provide:pP,useValue:t.defaultLanguage},vP]}}}]),e}()).\u0275fac=function(e){return new(e||QE)},QE.\u0275mod=mt({type:QE}),QE.\u0275inj=Fe({}),QE),bP=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},wP=((JE=function(){function e(t,n,i){A(this,e),this.translate=t,this.router=n,this.toastController=i}return m(e,[{key:"success",value:function(e){return bP(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.includes("lang.")?this.translate.instant(e):e,t.next=3,this.toastController.create({cssClass:"notif-success",duration:3e3,message:n,position:"top"});case 3:t.sent.present();case 4:case"end":return t.stop()}},t,this)}))}},{key:"error",value:function(e){return bP(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.includes("lang.")?this.translate.instant(e):e,t.next=3,this.toastController.create({cssClass:"notif-error",duration:3e3,message:n,position:"top"});case 3:t.sent.present();case 4:case"end":return t.stop()}},t,this)}))}},{key:"handleErrors",value:function(e){console.log(e),0===e.status&&"Unknown Error"===e.statusText?this.error("lang.connectionServerFailed"):void 0!==e.error.errors?(this.error(void 0!==e.error.lang?"lang."+e.error.lang:e.error.errors),403!==e.status&&404!==e.status||this.router.navigate(["/home"])):this.error(void 0!==e.error.exception?e.error.exception[0].message:void 0!==e.error.error&&void 0!==e.error.error.message?e.error.error.message:void 0!==e.error.error[0]?e.error.error[0].message:e.message)}}]),e}()).\u0275fac=function(e){return new(e||JE)(Ri(vP),Ri(jk),Ri(pE))},JE.\u0275prov=Re({token:JE,factory:JE.\u0275fac}),JE),_P=function(){function e(){A(this,e)}return m(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),kP=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(_P),xP=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return m(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,i(c(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,i(c(n.prototype),"detach",this).call(this)}}]),n}(_P),AP=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this)).element=e instanceof Cl?e.nativeElement:e,i}return n}(_P),CP=function(){function e(){A(this,e),this._isDisposed=!1,this.attachDomPortal=null}return m(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof kP?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof xP?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof AP?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{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)}}]),e}(),SP=function(e){r(n,e);var t=a(n);function n(e,r,o,a,s){var u,d;return A(this,n),(d=t.call(this)).outletElement=e,d._componentFactoryResolver=r,d._appRef=o,d._defaultInjector=a,d.attachDomPortal=function(e){var t=e.element,r=d._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),d.outletElement.appendChild(t),i((u=l(d),c(n.prototype)),"setDisposeFn",u).call(u,function(){r.parentNode&&r.parentNode.replaceChild(t,r)})},d._document=s,d}return m(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.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,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),i}},{key:"dispose",value:function(){i(c(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(CP),EP=((rP=function(e){r(n,e);var t=a(n);function n(e,r,o){var a,s;return A(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new Fu,s.attachDomPortal=function(e){var t=e.element,r=s._document.createComment("dom-portal");e.setAttachedHost(l(s)),t.parentNode.insertBefore(r,t),s._getRootNode().appendChild(t),i((a=l(s),c(n.prototype)),"setDisposeFn",a).call(a,function(){r.parentNode&&r.parentNode.replaceChild(t,r)})},s._document=o,s}return m(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&i(c(n.prototype),"detach",this).call(this),e&&i(c(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){i(c(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),i(c(n.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return i(c(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(CP)).\u0275fac=function(e){return new(e||rP)(rs(_l),rs(uu),rs(od))},rP.\u0275dir=bt({type:rP,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[za]}),rP),PP=((iP=function e(){A(this,e)}).\u0275fac=function(e){return new(e||iP)},iP.\u0275mod=mt({type:iP}),iP.\u0275inj=Fe({}),iP),DP=((nP=function(){function e(t,n,i){A(this,e),this.componentFactoryResolver=t,this.injector=n,this.appRef=i,this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentToobal="mainDocumentDetail",this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.mobileMode=!0,this.smartphoneMode=!0,this.mode="",this.scale=1,this.x=0,this.y=90,this.dragging=!1,this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}return m(e,[{key:"reset",value:function(){this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.currentToobal="mainDocumentDetail",this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.mode="",this.scale=1,this.x=0,this.y=90}},{key:"getAppSession",value:function(){this.appSession="AD098AD9ADA0D9IAXKJ90AKS099S"}},{key:"initTemplate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"adminMenu";document.getElementById(""+n).innerHTML="",this.portalHost=new SP(document.querySelector("#"+n),this.componentFactoryResolver,this.appRef,this.injector);var i=new xP(e,t);this.portalHost.attach(i)}},{key:"detachTemplate",value:function(){this.portalHost.detach()}}]),e}()).\u0275fac=function(e){return new(e||nP)(Ri(_l),Ri(Fa),Ri(Gc))},nP.\u0275prov=Re({token:nP,factory:nP.\u0275fac}),nP),OP=((tP=function(){function e(){A(this,e)}return m(e,[{key:"setAppSession",value:function(e){this.appSession=e}},{key:"getAppSession",value:function(){return this.appSession}},{key:"save",value:function(e,t){localStorage.setItem(e+"_"+this.getAppSession(),t)}},{key:"get",value:function(e){return localStorage.getItem(e+"_"+this.getAppSession())}},{key:"remove",value:function(e){localStorage.removeItem(e+"_"+this.getAppSession())}}]),e}()).\u0275fac=function(e){return new(e||tP)},tP.\u0275prov=Re({token:tP,factory:tP.\u0275fac,providedIn:"root"}),tP),MP=((eP=function(){function e(t,n,i,r,o,a){A(this,e),this.http=t,this.router=n,this.notificationService=i,this.signaturesService=r,this.localStorage=o,this.navCtrl=a,this.authMode="default",this.changeKey=!1,this.coreUrl="",this.user={},this.signatureRoles=[],this.authFailed=!1}return m(e,[{key:"getToken",value:function(){return this.localStorage.get("MaarchParapheurToken")}},{key:"setToken",value:function(e){this.localStorage.save("MaarchParapheurToken",e)}},{key:"getRefreshToken",value:function(){return this.localStorage.get("MaarchParapheurRefreshToken")}},{key:"setRefreshToken",value:function(e){this.localStorage.save("MaarchParapheurRefreshToken",e)}},{key:"clearTokens",value:function(){this.localStorage.remove("MaarchParapheurToken"),this.localStorage.remove("MaarchParapheurRefreshToken")}},{key:"refreshToken",value:function(){var e=this;return this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).pipe(uw(function(t){e.setToken(t.token),e.updateUserInfo(t.token)}),Zb(function(t){return e.logout(),e.notificationService.error("lang.sessionExpired"),Ty(!1)}))}},{key:"logout",value:function(){var e=this;if(null===this.getRefreshToken())return this.clearTokens(),void this.navCtrl.navigateRoot("/login");this.http.get("../rest/authenticate/logout").pipe(uw(function(){e.clearTokens(),e.navCtrl.navigateRoot("/login")}),Zb(function(t){return e.notificationService.handleErrors(t),e.clearTokens(),e.navCtrl.navigateRoot("/login"),Ty(!1)})).subscribe()}},{key:"saveTokens",value:function(e,t){this.setToken(e),this.setRefreshToken(t)}},{key:"isAuth",value:function(){return null!==this.getToken()}},{key:"updateUserInfo",value:function(e){var t=this.user.picture,n=JSON.parse(atob(e.split(".")[1]));this.user=n.user,this.authMode=n.connection,this.user.picture=t}},{key:"updateUserInfoWithTokenRefresh",value:function(){var e=this;this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).subscribe({next:function(t){e.setToken(t.token),e.updateUserInfo(e.getToken())},error:function(t){e.notificationService.handleErrors(t)}})}},{key:"setUser",value:function(e){this.user=e}},{key:"getSignatureMode",value:function(e){return"visa"===e?"stamp":e}},{key:"getWorkflowMode",value:function(e){return this.signatureRoles.filter(function(t){return t.id===e})[0].type}},{key:"setCachedUrl",value:function(e){this.localStorage.save("MaarchParapheurCacheUrl",e)}},{key:"getCachedUrl",value:function(){return this.localStorage.get("MaarchParapheurCacheUrl")}},{key:"cleanCachedUrl",value:function(){return this.localStorage.remove("MaarchParapheurCacheUrl")}}]),e}()).\u0275fac=function(e){return new(e||eP)(Ri(lb),Ri(jk),Ri(wP),Ri(DP),Ri(OP),Ri(aA))},eP.\u0275prov=Re({token:eP,factory:eP.\u0275fac,providedIn:"root"}),eP),TP=(($E=function(){function e(t,n,i,r,o){A(this,e),this.http=t,this.router=n,this.notificationService=i,this.signaturesService=r,this.authService=o,this.excludeUrls=["../rest/authenticate","../rest/authenticate/token","../rest/authenticationInformations","../rest/password","../rest/passwordRules","../rest/languages/fr","../rest/languages/en"],this.frontUrl=["../rest/documents/","../rest/users/","../rest/groups/","../rest/configurations/"],this.byPassHandleErrors=[{route:"/password",method:["PUT"]},{route:"/logout",method:["GET"]}],this.isRefreshing=!1,this.refreshTokenSubject=new Ab(null)}return m(e,[{key:"addAuthHeader",value:function(e){var t=this.authService.getToken();return e.clone({setHeaders:{Authorization:"Bearer "+t}})}},{key:"intercept",value:function(e,t){var n=this;return(this.excludeUrls.indexOf(e.url)>-1||e.url.indexOf("/password")>-1)&&-1===e.url.indexOf("/passwordRules")&&-1===e.method.indexOf("PUT")?t.handle(e):(e=this.addAuthHeader(e),t.handle(e).pipe(Zb(function(i){return n.byPassHandleErrors.filter(function(t){return e.url.indexOf(t.route)>-1&&t.method.indexOf(e.method)>-1}).length>0?t.handle(e):401===i.status?n.handle401Error(e,t):"Password expired : User must change his password"===i.error.errors?n.router.navigate(["/password-modification"]):("GET"===e.method&&n.frontUrl.forEach(function(t){if(e.url.indexOf(t)>-1)return"../rest/documents/"===t&&(n.signaturesService.mainDocumentId=null),r=new Ky({error:i.error,status:i.status,statusText:i.statusText,headers:i.headers,url:i.url}),Promise.reject(r)}),r=new Ky({error:i.error,status:i.status,statusText:i.statusText,headers:i.headers,url:i.url}),Promise.reject(r));var r})))}},{key:"handle401Error",value:function(e,t){var n=this;return this.isRefreshing?this.refreshTokenSubject.pipe(Ry(function(e){return null!=e}),Hb(1),Bb(function(){return e=n.addAuthHeader(e),t.handle(e)})):(this.isRefreshing=!0,this.refreshTokenSubject.next(null),this.authService.refreshToken().pipe(Bb(function(i){return n.isRefreshing=!1,n.refreshTokenSubject.next(i.token),e=n.addAuthHeader(e),t.handle(e)})))}}]),e}()).\u0275fac=function(e){return new(e||$E)(Ri(lb),Ri(jk),Ri(wP),Ri(DP),Ri(MP))},$E.\u0275prov=Re({token:$E,factory:$E.\u0275fac}),$E);function IP(e,t){if(1&e){var n=fs();ss(0,"div",2),ss(1,"div",3),ss(2,"button",4),On(),ss(3,"svg",5),us(4,"path",6),ls(),Mn(),ss(5,"span",7),Qs(6,"Presentation Mode"),ls(),ls(),ss(7,"button",8),On(),ss(8,"svg",5),us(9,"path",9),ls(),Mn(),ss(10,"span",10),Qs(11,"Open"),ls(),ls(),ss(12,"button",11),On(),ss(13,"svg",5),us(14,"path",12),ls(),Mn(),ss(15,"span",13),Qs(16,"Print"),ls(),ls(),ss(17,"button",14),On(),ss(18,"svg",5),us(19,"path",15),ls(),Mn(),ss(20,"span",16),Qs(21,"Download"),ls(),ls(),ss(22,"a",17),On(),ss(23,"svg",5),us(24,"path",18),ls(),Mn(),ss(25,"span",19),Qs(26,"Current View"),ls(),ls(),ss(27,"button",20),On(),ss(28,"svg",21),us(29,"path",22),ls(),Mn(),ss(30,"span",23),Qs(31,"Go to First Page"),ls(),ls(),ss(32,"button",24),ms("click",function(){return nn(n),ks().previousPage()}),On(),ss(33,"svg",21),us(34,"path",25),ls(),Mn(),ss(35,"span",26),Qs(36,"Go to Previous Page"),ls(),ls(),ss(37,"button",27),ms("click",function(){return nn(n),ks().nextPage()}),On(),ss(38,"svg",21),us(39,"path",28),ls(),Mn(),ss(40,"span",29),Qs(41,"Go to Next Page"),ls(),ls(),ss(42,"button",30),On(),ss(43,"svg",21),us(44,"path",31),ls(),Mn(),ss(45,"span",32),Qs(46,"Go to Last Page"),ls(),ls(),ss(47,"button",33),On(),ss(48,"svg",5),us(49,"path",34),ls(),Mn(),ss(50,"span",35),Qs(51,"Rotate Clockwise"),ls(),ls(),ss(52,"button",36),On(),ss(53,"svg",5),us(54,"path",37),ls(),Mn(),ss(55,"span",38),Qs(56,"Rotate Counterclockwise"),ls(),ls(),ss(57,"button",39),On(),ss(58,"svg",5),us(59,"path",40),ls(),Mn(),ss(60,"span",41),Qs(61,"Text Selection Tool"),ls(),ls(),ss(62,"button",42),On(),ss(63,"svg",5),us(64,"path",43),ls(),Mn(),ss(65,"span",44),Qs(66,"Hand Tool"),ls(),ls(),ss(67,"button",45),On(),ss(68,"svg",46),us(69,"path",47),ls(),Mn(),ss(70,"span",48),Qs(71,"Vertical Scrolling"),ls(),ls(),ss(72,"button",49),On(),ss(73,"svg",46),us(74,"path",50),ls(),Mn(),ss(75,"span",51),Qs(76,"Horizontal Scrolling"),ls(),ls(),ss(77,"button",52),On(),ss(78,"svg",46),us(79,"path",53),ls(),Mn(),ss(80,"span",54),Qs(81,"Wrapped Scrolling"),ls(),ls(),ss(82,"button",55),ms("click",function(){return nn(n),ks().onSpreadChange("off")}),On(),ss(83,"svg",56),us(84,"path",57),ls(),Mn(),ss(85,"span",58),Qs(86,"No Spreads"),ls(),ls(),ss(87,"button",59),ms("click",function(){return nn(n),ks().onSpreadChange("odd")}),On(),ss(88,"svg",46),us(89,"path",60),ls(),Mn(),ss(90,"span",61),Qs(91,"Odd Spreads"),ls(),ls(),ss(92,"button",62),ms("click",function(){return nn(n),ks().onSpreadChange("even")}),On(),ss(93,"svg",46),us(94,"path",63),ls(),Mn(),ss(95,"span",64),Qs(96,"Even Spreads"),ls(),ls(),ss(97,"button",65),On(),ss(98,"svg",66),us(99,"path",67),us(100,"path",68),us(101,"circle",69),ls(),Mn(),ss(102,"span",70),Qs(103,"Document Properties\u2026"),ls(),ls(),ls(),ls()}if(2&e){var i=ks();Ls("top",i.secondaryToolbarTop)("transform","scale("+i.mobileFriendlyZoomScale+")")("transform-origin","right top"),xo(2),Fs("invisible",!i.showPresentationModeButton),xo(5),Fs("invisible",!i.showOpenFileButton),xo(5),Fs("invisible",!i.showPrintButton),xo(5),Fs("invisible",!i.showDownloadButton),xo(5),Fs("invisible",!i.showBookmarkButton),xo(5),Fs("invisible",!i.showPagingButtons),xo(5),Fs("invisible",!i.showPagingButtons),os("disabled",i.disablePreviousPage),xo(5),Fs("invisible",!i.showPagingButtons),os("disabled",i.disableNextPage),xo(5),Fs("invisible",!i.showPagingButtons),xo(5),Fs("invisible",!i.showRotateButton),xo(5),Fs("invisible",!i.showRotateButton),xo(5),Fs("invisible",!i.showHandToolButton),xo(5),Fs("invisible",!i.showHandToolButton),xo(5),Fs("invisible",!i.showScrollingButton),xo(5),Fs("invisible",!i.showScrollingButton),xo(5),Fs("invisible",!i.showScrollingButton),xo(5),Fs("invisible",!i.showSpreadButton),xo(5),Fs("invisible",!i.showSpreadButton),xo(5),Fs("invisible",!i.showSpreadButton),xo(5),Fs("invisible",!i.showPropertiesButton)}}function RP(e,t){1&e&&Cs(0,0,["*ngTemplateOutlet","customSidebar ? customSidebar : defaultSidebar"])}function LP(e,t){if(1&e){var n=fs();ss(0,"div",2),ss(1,"div",3),us(2,"pdf-sidebar-toolbar"),ls(),ss(3,"pdf-sidebar-content",4),ms("thumbnailDrawn",function(e){return nn(n),ks().thumbnailDrawn.emit(e)}),ls(),us(4,"div",5),ls()}if(2&e){var i=ks();Ls("top",i.sidebarPositionTop),xo(1),Ls("display",i.hideSidebarToolbar?"none":""),xo(2),os("customThumbnail",i.customThumbnail)("hideSidebarToolbar",i.hideSidebarToolbar)}}var FP=["*"],BP=["root"],zP=["pdfSecondaryToolbarComponent"],VP=["pdfsidebar"];function NP(e,t){1&e&&us(0,"link",48)}function HP(e,t){1&e&&us(0,"pdf-dark-theme")}function jP(e,t){1&e&&us(0,"pdf-light-theme")}function UP(e,t){1&e&&Cs(0,0,["*ngTemplateOutlet","customFreeFloatingBar ? customFreeFloatingBar : defaultFreeFloatingBar"])}function WP(e,t){}function GP(e,t){if(1&e&&(ss(0,"div",3),hs(1,0),ls()),2&e){var n=ks(),i=is(4);Ls("transform","scale("+n.mobileFriendlyZoomScale+")")("transform-origin","left center")("left",n.findbarLeft)("top",n.findbarTop),Fs("invisible",!n.showFindButton),xo(1),os("ngTemplateOutlet",n.customFindbarButtons?n.customFindbarButtons:i)}}function qP(e,t){1&e&&(us(0,"pdf-find-input-area",4),us(1,"pdf-findbar-options-one-container"),us(2,"pdf-findbar-options-two-container"),us(3,"pdf-findbar-options-three-container"),us(4,"pdf-findbar-message-container")),2&e&&os("customFindbarInputArea",ks().customFindbarInputArea)}function YP(e,t){1&e&&(ss(0,"div",2),us(1,"pdf-search-input-field"),us(2,"pdf-find-previous"),us(3,"pdf-find-next"),ls())}var ZP=["button"],QP="[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",XP=["button1"],KP=["button2"],JP="[_nghost-%COMP%]{margin-top:-1px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",$P="button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:-2px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}";function eD(e,t){1&e&&Cs(0,0,["*ngTemplateOutlet","customToolbar ? customToolbar : defaultToolbar"])}function tD(e,t){if(1&e&&(ss(0,"div",7),ss(1,"div",8),us(2,"pdf-toggle-sidebar",9),us(3,"pdf-find-button",10),us(4,"pdf-paging-area",11),ls(),us(5,"pdf-zoom-toolbar",12),ss(6,"div",13),us(7,"pdf-hand-tool",14),us(8,"pdf-select-tool",15),us(9,"pdf-rotate-page",16),us(10,"pdf-presentation-mode",17),us(11,"pdf-open-file",18),us(12,"pdf-print",19),us(13,"pdf-download",20),us(14,"pdf-bookmark",21),us(15,"pdf-toggle-secondary-toolbar",22),ls(),ls()),2&e){var n=ks();xo(2),os("showSidebarButton",n.showSidebarButton),xo(1),os("showFindButton",n.showFindButton)("textLayer",n.textLayer),xo(1),os("showPagingButtons",n.showPagingButtons),xo(1),os("showZoomButtons",n.showZoomButtons)("zoomLevels",n.zoomLevels),xo(2),os("showHandToolButton",n.showHandToolButton),xo(1),os("showSelectToolButton",n.showHandToolButton),xo(1),os("showRotateButton",n.showRotateButton),xo(1),os("showPresentationModeButton",n.showPresentationModeButton),xo(1),os("showOpenFileButton",n.showOpenFileButton),xo(1),os("showPrintButton",n.showPrintButton),xo(1),os("showDownloadButton",n.showDownloadButton),xo(1),os("showBookmarkButton",n.showBookmarkButton),xo(1),os("showSecondaryToolbarButton",n.showSecondaryToolbarButton)}}var nD=["sizeSelector"];function iD(e,t){if(1&e&&(ss(0,"option",5),Qs(1),ls()),2&e){var n=t.$implicit;os("id",n.id),$a("value",n.value)("data-l10n-id",n.dataL10nId)("data-l10n-args",n.dataL10nArgs),xo(1),Ks(" ",n.displayValue," ")}}var rD=["thumbnailViewTemplate"];function oD(e,t){1&e&&Cs(0,0,["*ngTemplateOutlet","customThumbnail ? customThumbnail : defaultThumbnail"])}function aD(e,t){1&e&&(ss(0,"a",8),ss(1,"div",9),us(2,"div",10),ls(),ls())}var sD="undefined"!=typeof window&&!!window.MSInputMethodContext&&!!document.documentMode,lD=/Edge\/\d./i.test(navigator.userAgent),uD="undefined"==typeof ReadableStream||void 0===Promise.allSettled,cD={cursorToolOnLoad:0,defaultUrl:"",defaultZoomValue:"",disableHistory:!1,disablePageLabels:!1,enablePrintAutoRotate:!1,enableWebGL:!1,eventBusDispatchToDOM:!1,externalLinkRel:"noopener noreferrer nofollow",externalLinkTarget:0,historyUpdateUrl:!1,imageResourcesPath:"./images/",maxCanvasPixels:16777216,pdfBugEnabled:!1,removePageBorders:!1,renderer:"canvas",renderInteractiveForms:!0,sidebarViewOnLoad:-1,scrollModeOnLoad:-1,spreadModeOnLoad:-1,textLayerMode:1,useOnlyCssZoom:!1,viewOnLoad:0,cMapPacked:!0,cMapUrl:function(){return"./"+cD.assetsFolder+"/cmaps/"},disableAutoFetch:!1,disableCreateObjectURL:!1,disableFontFace:!1,disableRange:!1,disableStream:!1,isEvalSupported:!0,maxImageSize:-1,pdfBug:!1,postMessageTransfers:!0,verbosity:1,workerPort:null,assetsFolder:"assets",workerSrc:function(){return sD||lD||uD?"./"+cD.assetsFolder+"/pdf.worker-es5.js":"./"+cD.assetsFolder+"/pdf.worker.js"}};window.pdfDefaultOptions?cD=window.pdfDefaultOptions:window.pdfDefaultOptions=cD;var dD={ERRORS:0,WARNINGS:1,INFOS:5};dD[dD.ERRORS]="ERRORS",dD[dD.WARNINGS]="WARNINGS",dD[dD.INFOS]="INFOS";var hD={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};hD[hD.FOUND]="FOUND",hD[hD.NOT_FOUND]="NOT_FOUND",hD[hD.WRAPPED]="WRAPPED",hD[hD.PENDING]="PENDING";var fD,pD,gD,vD=["toolbarViewer","numPages","pageNumber","scaleSelectContainer","customScaleOption","previous","next","zoomIn","zoomOut","viewFind","openFile","print","presentationMode","download","viewBookmark","secondaryToolbar","secondaryToolbarToggle","secondaryToolbarButtonContainer","secondaryPresentationMode","secondaryOpenFile","secondaryPrint","secondaryDownload","secondaryViewBookmark","firstPage","lastPage","pageRotateCw","pageRotateCcw","cursorSelectTool","cursorHandTool","scrollVertical","scrollHorizontal","scrollWrapped","spreadNone","spreadOdd","spreadEven","documentProperties","contextFirstPage","contextLastPage","contextPageRotateCw","contextPageRotateCcw","outerContainer","viewerContainer","sidebarToggle","viewThumbnail","viewOutline","viewAttachments","thumbnailView","outlineView","attachmentsView","outerContainer","sidebarResizer","findbar","viewFind","findInput","findInputMultiline","findHighlightAll","findMatchCase","findEntireWord","findMultipleSearchTexts","findIgnoreAccents","findMsg","findResultsCount","findPrevious","findNext","findFuzzy","passwordOverlay","passwordText","password","passwordSubmit","passwordCancel","documentPropertiesOverlay","documentPropertiesClose","fileNameField","fileSizeField","titleField","authorField","subjectField","keywordsField","creationDateField","modificationDateField","creatorField","producerField","versionField","pageCountField","pageSizeField","linearizedField","errorWrapper","errorMessage","errorClose","errorMoreInfo","errorShowMore","errorShowLess","scaleSelectContainer","viewAttachments","viewLayers","viewThumbnail","viewOutline"],mD=((gD=function(){function e(){A(this,e)}return m(e,[{key:"addMissingStandardWidgets",value:function(){var e=this;this.dummyComponentsContainer=document.getElementsByClassName("dummy-pdf-viewer-components")[0];var t=this.dummyComponentsContainer;if(t)for(var n=0;n<t.children.length;n++){var i=t.firstChild;i&&t.removeChild(i)}if(vD.forEach(function(t){if(e.needsDummyWidget(t)){var n=document.createElement("span");n.id=t,n.className="invisible dummy-component",e.dummyComponentsContainer.appendChild(n)}}),this.needsDummyWidget("scaleSelect")){var r=document.createElement("select");r.id="scaleSelect",r.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(r)}}},{key:"needsDummyWidget",value:function(e){return!document.getElementById(e)}}]),e}()).\u0275fac=function(e){return new(e||gD)},gD.\u0275cmp=ft({type:gD,selectors:[["pdf-dummy-components"]],decls:1,vars:0,consts:[[1,"invisible","dummy-pdf-viewer-components"]],template:function(e,t){1&e&&us(0,"span",0)},encapsulation:2}),gD),yD=((pD=function e(){var t=this;A(this,e),this.onPDFJSInit=new W,this.pdfjsVersion=new IE(1),window.pdfjsLib&&window.pdfjsLib.version?this.pdfjsVersion.next(window.pdfjsLib.version):this.onPDFJSInit.subscribe(function(){t.pdfjsVersion.next(window.pdfjsLib.version)})}).\u0275prov=Re({token:pD,factory:pD.\u0275fac=function(e){return new(e||pD)},providedIn:"root"}),pD.ngInjectableDef=Le({factory:function(){return new pD},token:pD,providedIn:"root"}),pD),bD=((fD=function(){function e(t,n){var i=this;A(this,e),this.element=t,this.notificationService=n,this.showPresentationModeButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.showPagingButtons=!0,this.showRotateButton=!0,this.showHandToolButton=!0,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.spreadChange=new Fu,this.secondaryMenuIsEmpty=new Fu,this.disablePreviousPage=!0,this.disableNextPage=!0;var r=this.notificationService.onPDFJSInit.subscribe(function(){i.onPdfJsInit(),r.unsubscribe()})}return m(e,[{key:"onPdfJsInit",value:function(){var e=this,t=window.PDFViewerApplication;t.eventBus.on("pagechanging",function(){e.updateUIState()}),t.eventBus.on("pagerendered",function(){e.updateUIState()})}},{key:"updateUIState",value:function(){var e=this;setTimeout(function(){var t=window.PDFViewerApplication,n=t.pdfViewer.currentPageNumber,i=document.getElementById("previousPage");i&&(e.disablePreviousPage=Number(n)<=1,i.disabled=e.disablePreviousPage);var r=document.getElementById("nextPage");r&&(e.disableNextPage=n===t.pagesCount,r.disabled=e.disableNextPage)})}},{key:"onSpreadChange",value:function(e){this.spreadChange.emit(e)}},{key:"ngOnChanges",value:function(e){var t=this;setTimeout(function(){return t.checkVisibility()})}},{key:"onResize",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"ngAfterViewInit",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"checkVisibility",value:function(){var e=0,t=this.element.nativeElement.children.item(0);if(t){var n=t.children.item(0);n&&n instanceof HTMLElement&&(e=this.checkVisibilityRecursively(n))}this.secondaryMenuIsEmpty.emit(0===e)}},{key:"checkVisibilityRecursively",value:function(e){if("none"===e.style.display)return 0;if(e.classList.contains("hidden"))return 0;if(e.classList.contains("invisible"))return 0;if("none"===window.getComputedStyle(e).display)return 0;if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement)return 1;var t=0,n=e.children;if(n&&n.length)for(var i=0;i<n.length&&0===t;i++){var r=n.item(i);r&&r instanceof HTMLElement&&(t+=this.checkVisibilityRecursively(r))}return t}},{key:"previousPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("previouspage")}},{key:"nextPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("nextpage")}}]),e}()).\u0275fac=function(e){return new(e||fD)(rs(Cl),rs(yD))},fD.\u0275cmp=ft({type:fD,selectors:[["pdf-secondary-toolbar"]],hostBindings:function(e,t){1&e&&ms("resize",function(){return t.onResize()},!1,Ir)},inputs:{showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",showPagingButtons:"showPagingButtons",showRotateButton:"showRotateButton",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",customSecondaryToolbar:"customSecondaryToolbar",secondaryToolbarTop:"secondaryToolbarTop",mobileFriendlyZoomScale:"mobileFriendlyZoomScale"},outputs:{spreadChange:"spreadChange",secondaryMenuIsEmpty:"secondaryMenuIsEmpty"},features:[Mt],decls:3,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultSecondaryToolbar",""],["id","secondaryToolbar",1,"secondaryToolbar","hidden","doorHangerRight"],["id","secondaryToolbarButtonContainer"],["type","button","id","secondaryPresentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"secondaryToolbarButton","visibleLargeView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"],["type","button","id","secondaryOpenFile","title","Open File","data-l10n-id","open_file",1,"secondaryToolbarButton","visibleMediumView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"],["type","button","id","secondaryPrint","title","Print","data-l10n-id","print",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"],["type","button","id","secondaryDownload","title","Download","data-l10n-id","download",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"],["href","#","id","secondaryViewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"secondaryToolbarButton","bookmark","visibleTinyView"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"],["type","button","id","firstPage","title","Go to First Page","data-l10n-id","first_page",1,"secondaryToolbarButton","firstPage","visibleLargeView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"],["type","button","id","previousPage","title","Go to Previous Page","data-l10n-id","previous",1,"secondaryToolbarButton","previousPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"],["type","button","id","nextPage","title","Go to Next Page","data-l10n-id","next",1,"secondaryToolbarButton","nextPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"],["type","button","id","lastPage","title","Go to Last Page","data-l10n-id","last_page",1,"secondaryToolbarButton","lastPage","visibleLargeView"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"],["type","button","id","pageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"secondaryToolbarButton","rotateCw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["data-l10n-id","page_rotate_cw_label"],["type","button","id","pageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"secondaryToolbarButton","rotateCcw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"],["data-l10n-id","page_rotate_ccw_label"],["type","button","id","cursorSelectTool","title","Enable Text Selection Tool","data-l10n-id","cursor_text_select_tool",1,"secondaryToolbarButton","toggled","visibleXXLView"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"],["type","button","id","cursorHandTool","title","Enable Hand Tool","data-l10n-id","cursor_hand_tool",1,"secondaryToolbarButton","visibleXXLView"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"],["type","button","id","scrollVertical","title","Use Vertical Scrolling","data-l10n-id","scroll_vertical",1,"secondaryToolbarButton","scrollVertical","toggled"],[2,"width","24px","height","24px","margin-top","3px"],["fill","currentColor","d","M9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM11 0v.5c0 1-.5 1.5-1.5 1.5h-3C5.5 2 5 1.5 5 .5V0h6zM11 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6z"],["data-l10n-id","scroll_vertical_label"],["type","button","id","scrollHorizontal","title","Use Horizontal Scrolling","data-l10n-id","scroll_horizontal",1,"secondaryToolbarButton","scrollHorizontal"],["fill","currentColor","d","M0 4h1.5c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5H0zM9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM16 4h-1.5c-1 0-1.5.5-1.5 1.5v5c0 1 .5 1.5 1.5 1.5H16z"],["data-l10n-id","scroll_horizontal_label"],["type","button","id","scrollWrapped","title","Use Wrapped Scrolling","data-l10n-id","scroll_wrapped",1,"secondaryToolbarButton","scrollWrapped"],["fill","currentColor","d","M5.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C1 4.5 1.5 4 2.5 4zM7 0v.5C7 1.5 6.5 2 5.5 2h-3C1.5 2 1 1.5 1 .5V0h6zM7 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6zM13.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5c0-1 .5-1.5 1.5-1.5zM15 0v.5c0 1-.5 1.5-1.5 1.5h-3C9.5 2 9 1.5 9 .5V0h6zM15 16v-.507c0-1-.5-1.5-1.5-1.5h-3C9.5 14 9 14.5 9 15.5v.5h6z"],["data-l10n-id","scroll_wrapped_label"],["type","button","id","spreadNone","title","Do not join page spreads","data-l10n-id","spread_none",1,"secondaryToolbarButton","spreadNone","toggled",3,"click"],["height","16","width","16"],["fill","currentColor","d","M6 3c-1 0-1.5.5-1.5 1.5v7c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5z"],["data-l10n-id","spread_none_label"],["type","button","id","spreadOdd","title","Join page spreads starting with odd-numbered pages","data-l10n-id","spread_odd",1,"secondaryToolbarButton","spreadOdd",3,"click"],["fill","currentColor","d","M10.56 3.5C9.56 3.5 9 4 9 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.93 1.2c.8 0 1.4.2 1.8.64.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.44-.2.3-.6.6-1 .93l-.6.4c-.4.3-.6.4-.7.55-.1.1-.2.2-.3.4h3.2v1.27h-5c0-.5.1-1 .3-1.43.2-.49.7-1 1.5-1.54.7-.5 1.1-.8 1.3-1.02.3-.3.4-.7.4-1.05 0-.3-.1-.6-.3-.77-.2-.2-.4-.3-.7-.3-.4 0-.7.2-.9.5-.1.2-.1.5-.2.9h-1.4c0-.6.2-1.1.3-1.5.4-.7 1.1-1.1 2-1.1zM1.54 3.5C.54 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.54 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.8 1.125H4.5V12H3V6.9H1.3v-1c.5 0 .8 0 .97-.03.33-.07.53-.17.73-.37.1-.2.2-.3.25-.5.05-.2.05-.3.05-.3z"],["data-l10n-id","spread_odd_label"],["type","button","id","spreadEven","title","Join page spreads starting with even-numbered pages","data-l10n-id","spread_even",1,"secondaryToolbarButton","spreadEven",3,"click"],["fill","currentColor","d","M1.5 3.5C.5 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm2 1.2c.8 0 1.4.2 1.8.6.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.4-.2.3-.5.7-1 1l-.6.4c-.4.3-.6.4-.75.56-.15.14-.25.24-.35.44H6v1.3H1c0-.6.1-1.1.3-1.5.3-.6.7-1 1.5-1.6.7-.4 1.1-.8 1.28-1 .32-.3.42-.6.42-1 0-.3-.1-.6-.23-.8-.17-.2-.37-.3-.77-.3s-.7.1-.9.5c-.04.2-.1.5-.1.9H1.1c0-.6.1-1.1.3-1.5.4-.7 1.1-1.1 2.1-1.1zM10.54 3.54C9.5 3.54 9 4 9 5v6.5c0 1 .5 1.5 1.54 1.5h4c.96 0 1.46-.5 1.46-1.5V5c0-1-.5-1.46-1.5-1.46zm1.9.95c.7 0 1.3.2 1.7.5.4.4.6.8.6 1.4 0 .4-.1.8-.4 1.1-.2.2-.3.3-.5.4.1 0 .3.1.6.3.4.3.5.8.5 1.4 0 .6-.2 1.2-.6 1.6-.4.5-1.1.7-1.9.7-1 0-1.8-.3-2.2-1-.14-.29-.24-.69-.24-1.29h1.4c0 .3 0 .5.1.7.2.4.5.5 1 .5.3 0 .5-.1.7-.3.2-.2.3-.5.3-.8 0-.5-.2-.8-.6-.95-.2-.05-.5-.15-1-.15v-1c.5 0 .8-.1 1-.14.3-.1.5-.4.5-.9 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.7-.3-.3 0-.6.1-.75.3-.2.2-.2.5-.2.86h-1.34c0-.4.1-.7.19-1.1 0-.12.2-.32.4-.62.2-.2.4-.3.7-.4.3-.1.6-.1 1-.1z"],["data-l10n-id","spread_even_label"],["type","button","id","documentProperties","title","Document Properties\u2026","data-l10n-id","document_properties",1,"secondaryToolbarButton","documentProperties"],["viewBox","0 0 16 16",2,"width","16px","height","16px","margin-top","3px"],["fill","currentColor","d","M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z"],["fill","currentColor","d","M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z"],["fill","currentColor","cx","8","cy","5","r","1.188"],["data-l10n-id","document_properties_label"]],template:function(e,t){if(1&e&&(hs(0,0),ns(1,IP,104,48,"ng-template",null,1,tc)),2&e){var n=is(2);os("ngTemplateOutlet",t.customSecondaryToolbar?t.customSecondaryToolbar:n)}},directives:[Oh],styles:["svg[_ngcontent-%COMP%]{position:absolute;display:inline-block;top:0;left:0}"]}),fD),wD={SELECT:0,HAND:1,ZOOM:2};wD[wD.SELECT]="SELECT",wD[wD.HAND]="HAND",wD[wD.ZOOM]="ZOOM";var _D,kD,xD,AD,CD,SD,ED,PD,DD,OD,MD,TD,ID,RD,LD,FD,BD,zD,VD,ND,HD,jD,UD,WD,GD,qD,YD,ZD,QD,XD,KD,JD,$D,eO,tO,nO,iO,rO,oO,aO,sO,lO,uO,cO,dO,hO,fO,pO,gO,vO=function(){function e(t){A(this,e),this._zone=t,this.startX=0,this.startY=0,this.initialPinchDistance=0,this.pinchScale=1,this.isMobile()&&this.initializePinchZoom()}return m(e,[{key:"isMobile",value:function(){return"ontouchstart"in document.documentElement}},{key:"onViewerTouchStart",value:function(e){if(this.initialPinchDistance=0,2===e.touches.length){var t=this.container.getBoundingClientRect();e.touches[0].pageX>=t.left&&e.touches[0].pageX<=t.right&&e.touches[0].pageY>=t.top&&e.touches[1].pageX>=t.left&&e.touches[1].pageX<=t.right&&e.touches[1].pageY>=t.top&&(this.startX=(e.touches[0].pageX+e.touches[1].pageX)/2,this.startY=(e.touches[0].pageY+e.touches[1].pageY)/2,this.initialPinchDistance=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),e.preventDefault(),e.stopPropagation())}}},{key:"onViewerTouchMove",value:function(e){var t=window.PDFViewerApplicationOptions;if(!(this.initialPinchDistance<=0||2!==e.touches.length)){1!==this.pinchScale&&e.preventDefault();var n=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),i=this.startX+this.container.scrollLeft,r=this.startY+this.container.scrollTop;this.pinchScale=n/this.initialPinchDistance;var o=Number(t.get("minZoom"));o||(o=.1),this.pinchScale<o&&(this.pinchScale=o);var a=Number(t.get("maxZoom"));a||(a=10),this.pinchScale>a&&(this.pinchScale=a),this.viewer.style.transform="scale(".concat(this.pinchScale,")"),this.viewer.style.transformOrigin="".concat(i,"px ").concat(r,"px"),e.preventDefault(),e.stopPropagation()}}},{key:"onViewerTouchEnd",value:function(e){var t=window.PDFViewerApplication;if(!(this.initialPinchDistance<=0)){this.viewer.style.transform="none",this.viewer.style.transformOrigin="unset",t.pdfViewer.currentScale*=this.pinchScale;var n=this.container.getBoundingClientRect(),i=this.startY-n.top;this.container.scrollLeft+=(this.startX-n.left)*(this.pinchScale-1),this.container.scrollTop+=i*(this.pinchScale-1),this.resetPinchZoomParams(),e.preventDefault(),e.stopPropagation()}}},{key:"resetPinchZoomParams",value:function(){this.startX=this.startY=this.initialPinchDistance=0,this.pinchScale=1}},{key:"initializePinchZoom",value:function(){var e=this;this.viewer=document.getElementById("viewer"),this.container=document.getElementById("viewerContainer"),this._zone.runOutsideAngular(function(){document.addEventListener("touchstart",e.onViewerTouchStart.bind(e)),document.addEventListener("touchmove",e.onViewerTouchMove.bind(e),{passive:!1}),document.addEventListener("touchend",e.onViewerTouchEnd.bind(e))})}},{key:"destroyPinchZoom",value:function(){this.isMobile()&&(document.removeEventListener("touchstart",this.onViewerTouchStart),document.removeEventListener("touchmove",this.onViewerTouchMove),document.removeEventListener("touchend",this.onViewerTouchEnd))}}]),e}(),mO=((gO=function(){function e(t,n){A(this,e),this.elementRef=t,this.ref=n,this.sidebarVisible=!0,this.showSidebarButton=!0,this.thumbnailDrawn=new Fu,this.hideSidebarToolbar=!0}return m(e,[{key:"showToolbarWhenNecessary",value:function(){var e=this.elementRef.nativeElement.querySelectorAll("button"),t=0;e.forEach(function(e){e.hidden||t++}),this.hideSidebarToolbar=t<=1,this.ref.markForCheck()}}]),e}()).\u0275fac=function(e){return new(e||gO)(rs(Cl),rs(Kl))},gO.\u0275cmp=ft({type:gO,selectors:[["pdf-sidebar"]],inputs:{sidebarVisible:"sidebarVisible",showSidebarButton:"showSidebarButton",sidebarPositionTop:"sidebarPositionTop",customSidebar:"customSidebar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:FP,decls:4,vars:1,consts:[[4,"ngTemplateOutlet"],["defaultSidebar",""],["id","sidebarContainer"],["id","additionalSidebarContainer"],[3,"customThumbnail","hideSidebarToolbar","thumbnailDrawn"],["id","sidebarResizer",1,"hidden"]],template:function(e,t){if(1&e&&(As(),ss(0,"div"),ns(1,RP,1,0,"ng-content",0),ls(),ns(2,LP,5,6,"ng-template",null,1,tc)),2&e){var n=is(3);xo(1),os("ngTemplateOutlet",t.customSidebar?t.customSidebar:n)}},directives:function(){return[Oh,uM,lM]},styles:[""]}),gO),yO=((pO=function(){function e(t,n,i,r){A(this,e),this.ngZone=t,this.platformId=n,this.notificationService=i,this.location=r,this.customFindbarButtons=void 0,this.srcChange=new Fu,this.authorization=void 0,this.httpHeaders=void 0,this.contextMenuAllowed=!0,this.afterPrint=new Fu,this.beforePrint=new Fu,this.currentZoomFactor=new Fu,this.enablePrint=!0,this.delayFirstView=0,this.logLevel=dD.WARNINGS,this.enablePinchOnMobile=!1,this.minifiedJSLibraries=!0,this.primaryMenuVisible=!0,this.printResolution=null,this.rotationChange=new Fu,this.minHeight=void 0,this._height="100%",this.useBrowserLocale=!1,this.backgroundColor="#e8e8eb",this.filenameForDownload="document.pdf",this.ignoreKeyboard=!1,this.ignoreKeys=[],this.acceptKeys=[],this.imageResourcesPath="./"+cD.assetsFolder+"/images/",this.language=void 0,this.listenToURL=!1,this.nameddest=void 0,this.password=void 0,this._showSidebarButton=!0,this.viewerPositionTop="32px",this.showUnverifiedSignatures=!1,this.showSidebarOnLoad=void 0,this.sidebarVisible=void 0,this.sidebarVisibleChange=new Fu,this.showFindButton=void 0,this.showPagingButtons=!0,this.showZoomButtons=!0,this.showPresentationModeButton=!1,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.theme="light",this.showSecondaryToolbarButton=!0,this.hideKebabMenuForSecondaryToolbar=!1,this.showRotateButton=!0,this.handTool=!0,this.handToolChange=new Fu,this.showHandToolButton=!1,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.showBorders=!0,this.spreadChange=new Fu,this.thumbnailDrawn=new Fu,this._page=void 0,this.pageChange=new Fu,this.pageLabel=void 0,this.pageLabelChange=new Fu,this.pagesLoaded=new Fu,this.pageRendered=new Fu,this.pdfDownloaded=new Fu,this.pdfLoaded=new Fu,this.pdfLoadingFailed=new Fu,this.textLayer=void 0,this.textlayerRendered=new Fu,this.textLayerRendered=new Fu,this.updateFindMatchesCount=new Fu,this.updateFindState=new Fu,this.zoom=void 0,this.zoomChange=new Fu,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,1,1.25,1.5,2,3,4],this.maxZoom=10,this.minZoom=.1,this._mobileFriendlyZoom="100%",this.mobileFriendlyZoomScale=1,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.toolbarWidthInPixels=100,this.secondaryToolbarTop=void 0,this.findbarTop=void 0,this.findbarLeft=void 0,this._top=void 0,this.shuttingDown=!1}return m(e,[{key:"src",set:function(e){e instanceof Uint8Array?this._src=e.buffer:e instanceof Blob?this._src=URL.createObjectURL(e):"string"==typeof e?(this._src=e,e.length>980&&e.length%4==0&&/^[a-zA-Z\d\/+]+={0,2}$/.test(e)&&console.error("The URL looks like a base64 encoded string. If so, please use the attribute base64 instead of src")):this._src=e}},{key:"base64Src",set:function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=t.charCodeAt(r);this.src=i.buffer}},{key:"height",get:function(){return this._height},set:function(e){var t=this;this.minHeight=void 0,e?this._height=e:this.height="100%",setTimeout(function(){t.checkHeight()})}},{key:"showSidebarButton",get:function(){return this._showSidebarButton},set:function(e){this._showSidebarButton=e;var t=1;/msie\s|trident\//i.test(window.navigator.userAgent)&&(t=Number((this._mobileFriendlyZoom||"100").replace("%",""))/100),this.findbarLeft=this._showSidebarButton?(68*t).toString()+"px":"0px"}},{key:"page",get:function(){return this._page},set:function(e){this._page=e?Number(e):void 0}},{key:"mobileFriendlyZoom",get:function(){return this._mobileFriendlyZoom},set:function(e){var t;"true"==e?e="150%":"false"!=e&&null!=e||(e="100%"),this._mobileFriendlyZoom=e,String(e).includes("%")||(e=100*Number(e)+"%"),t=Number((e||"100").replace("%",""))/100,this.mobileFriendlyZoomScale=t,this.toolbarWidth=(100/t).toString()+"%",this.toolbarPaddingTop=8*(t-1)+"px",this.findbarLeft=this.showSidebarButton?(68*t).toString()+"px":"0px",this.secondaryToolbarTop=(36+36*(t-1)).toString()+"px",this.findbarTop=(36+52*(t-1)).toString()+"px"}},{key:"mobileZoom",set:function(e){this.mobileFriendlyZoom=e}},{key:"sidebarPositionTop",get:function(){return this._top?this._top:this.mobileFriendlyZoom?this.mobileFriendlyZoom.endsWith("%")?(2+.29*Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1))).toString()+"px":this.mobileFriendlyZoom.endsWith("px")?this.mobileFriendlyZoom:(16+.16*Number(this.mobileFriendlyZoom)).toString()+"px":"32px"}},{key:"calcViewerPositionTop",value:function(){if(this._top)this.viewerPositionTop=this._top;else{if(this.mobileFriendlyZoom){if(this.mobileFriendlyZoom.endsWith("%")){var e=Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1));return void(this.viewerPositionTop=this.isPrimaryMenuVisible()?(1+.32*e).toString()+"px":"0")}if(this.mobileFriendlyZoom.endsWith("px"))return void(this.viewerPositionTop=this.mobileFriendlyZoom)}this.viewerPositionTop=this.isPrimaryMenuVisible()?"32px":"0"}}},{key:"iOSVersionRequiresES5",value:function(){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return null!=e&&parseInt(e[1],10)<13}},{key:"loadViewer",value:function(){var e=this;if(window["pdfjs-dist/build/pdf"]){var t=!!window.MSInputMethodContext&&!!document.documentMode,n=/Edge\/\d./i.test(navigator.userAgent),i=this.iOSVersionRequiresES5(),r="undefined"==typeof ReadableStream||void 0===Promise.allSettled,o=this.minifiedJSLibraries?".min.js":".js",a=document.createElement("script"),s=cD.assetsFolder;r&&console.log("Using the ES5 version of the PDF viewer."),a.src=this.location.normalize(t||n||i||r?s+"/viewer-es5"+o:s+"/viewer"+o),a.type="text/javascript",a.async=!0,document.getElementsByTagName("head")[0].appendChild(a)}else setTimeout(function(){return e.loadViewer()},25)}},{key:"ngOnInit",value:function(){if(this.onResize(),Qh(this.platformId)){if(!window["pdfjs-dist/build/pdf"]){var e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n="undefined"==typeof ReadableStream||void 0===Promise.allSettled,i=this.iOSVersionRequiresES5(),r=this.minifiedJSLibraries?".min.js":".js";if(this.minifiedJSLibraries&&!cD.workerSrc().endsWith(".min.js")){var o=cD.workerSrc();cD.workerSrc=function(){return o.replace(".js",".min.js")}}var a=cD.assetsFolder,s=document.createElement("script");s.src=this.location.normalize(e||t||i||n?a+"/pdf-es5"+r:a+"/pdf"+r),s.type="text/javascript",s.async=!0,document.getElementsByTagName("head")[0].appendChild(s)}window.webViewerLoad||this.loadViewer()}}},{key:"ngAfterViewInit",value:function(){var e=this;this.shuttingDown||(window.webViewerLoad?this.doInitPDFViewer():setTimeout(function(){return e.ngAfterViewInit()},50))}},{key:"assignTabindexes",value:function(){if(this.startTabindex){var e=this.root.nativeElement.cloneNode(!0);e.classList.add("offscreen"),this.showElementsRecursively(e),document.body.appendChild(e);var t=this.collectElementPositions(e,this.root.nativeElement,[]);document.body.removeChild(e);for(var n=t.sort(function(e,t){return e.y-t.y>15?1:t.y-e.y>15?-1:e.x-t.x}),i=0;i<n.length;i++)n[i].element.tabIndex=this.startTabindex+i}}},{key:"showElementsRecursively",value:function(e){if(e.classList.remove("hidden"),e.classList.remove("invisible"),e.classList.remove("hiddenXXLView"),e.classList.remove("hiddenXLView"),e.classList.remove("hiddenLargeView"),e.classList.remove("hiddenMediumView"),e.classList.remove("hiddenSmallView"),e.classList.remove("hiddenTinyView"),e.classList.remove("visibleXXLView"),e.classList.remove("visibleXLView"),e.classList.remove("visibleLargeView"),e.classList.remove("visibleMediumView"),e.classList.remove("visibleSmallView"),e.classList.remove("visibleTinyView"),!(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement)&&e.childElementCount>0)for(var t=0;t<e.childElementCount;t++){var n=e.children.item(t);n&&this.showElementsRecursively(n)}}},{key:"collectElementPositions",value:function(e,t,n){if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement){var i=e.getBoundingClientRect(),r={element:t,x:Math.round(i.left),y:Math.round(i.top)};n.push(r)}else if(e.childElementCount>0)for(var o=0;o<e.childElementCount;o++){var a=e.children.item(o),s=t.children.item(o);a&&s&&(n=this.collectElementPositions(a,s,n))}return n}},{key:"doInitPDFViewer",value:function(){var t=this,n=document.querySelectorAll('link[type="application/l10n"]');if(0===n.length)document.querySelector('script[type="application/l10n"]')?this.useBrowserLocale&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag."):this.useBrowserLocale||(console.error("If you set the attribute 'useBrowserLocale' to false, you must provide the translations yourself in a script or link tag."),console.error("The easiest way to do this is to add them to the index.html."));else if(this.useBrowserLocale){var i=n[0].attributes.origin;i&&"ngx-extended-pdf-viewer"!==i.value&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag.")}window.addEventListener("afterprint",function(e){t.afterPrint.emit()}),window.addEventListener("beforeprint",function(e){t.beforePrint.emit()}),document.addEventListener("localized",function e(n){document.removeEventListener("localized",e),t.initTimeout=setTimeout(function(){t.shuttingDown||(t.afterLibraryInit(),t.openPDF(),t.assignTabindexes())},t.delayFirstView)}),e.ngxExtendedPdfViewerInitialized&&console.error("You're trying to open two instances of the PDF viewer. Most likely, this will result in errors."),document.addEventListener("webviewerloaded",function e(){t.overrideDefaultSettings(),document.removeEventListener("webviewerloaded",e),t.enablePinchOnMobile&&(t.pinchOnMobileSupport=new vO(t.ngZone))}),this.activateTextlayerIfNecessary(null),setTimeout(function(){if(!t.shuttingDown){t.primaryMenuVisible=!0,t.hideKebabMenuForSecondaryToolbar&&!t.showSecondaryToolbarButton&&(t.isPrimaryMenuVisible()||(t.primaryMenuVisible=!1)),t.calcViewerPositionTop(),t.dummyComponents.addMissingStandardWidgets(),window.webViewerLoad();var e=window.PDFViewerApplication;e.appConfig.defaultUrl="",e.appConfig.filenameForDownload=t.filenameForDownload;var n=window.PDFViewerApplicationOptions;n.set("locale",t.language),n.set("imageResourcesPath",t.imageResourcesPath),n.set("minZoom",t.minZoom),n.set("maxZoom",t.maxZoom),e.isViewerEmbedded=!0,e.printKeyDownListener&&window.addEventListener("keydown",e.printKeyDownListener,!0);var i=document.getElementById("printContainer");i&&document.getElementsByTagName("body")[0].appendChild(i)}},0)}},{key:"afterLibraryInit",value:function(){this.notificationService.onPDFJSInit.next()}},{key:"checkHeight",value:function(){var e=document.getElementsByClassName("zoom")[0];if(e&&0===e.clientHeight&&this._height.includes("%")){var t=window.innerHeight-e.getBoundingClientRect().top;t=t*Number(this._height.replace("%",""))/100,this.minHeight=t>100?t+"px":"100px"}}},{key:"onSpreadChange",value:function(e){this.spreadChange.emit(e)}},{key:"activateTextlayerIfNecessary",value:function(e){var t=this;void 0===this.textLayer?this.handTool?(e&&e.set("textLayerMode",this.showHandToolButton?1:0),this.showHandToolButton||((this.showFindButton||void 0===this.showFindButton)&&(this.ngZone.run(function(){t.showFindButton=!1}),this.logLevel>=dD.WARNINGS&&console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.')),this.showHandToolButton&&this.logLevel>=dD.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))):(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(function(){var e=document.getElementById("viewFind");e&&e.classList.remove("invisible");var t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):this.textLayer?(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(function(){var e=document.getElementById("viewFind");e&&e.classList.remove("invisible");var t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):(e&&e.set("textLayerMode",0),this.textLayer=!1,this.showFindButton&&this.logLevel>=dD.WARNINGS&&(console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.'),this.ngZone.run(function(){t.showFindButton=!1})),this.showHandToolButton&&this.logLevel>=dD.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))}},{key:"overrideDefaultSettings",value:function(){var e=window.PDFViewerApplicationOptions;for(var t in cD)e.set(t,cD[t]);e.set("disablePreferences",!0),this.setZoom(),e.set("ignoreKeyboard",this.ignoreKeyboard),e.set("ignoreKeys",this.ignoreKeys),e.set("acceptKeys",this.acceptKeys),this.activateTextlayerIfNecessary(e);var n=this.sidebarVisible;void 0===n&&(n=this.showSidebarOnLoad);var i=window.PDFViewerApplication;void 0!==n&&(i.sidebarViewOnLoad=n?1:0,i.appConfig&&(i.appConfig.sidebarViewOnLoad=n?1:0),e.set("sidebarViewOnLoad",this.sidebarVisible?1:0)),"even"===this.spread?(e.set("spreadModeOnLoad",2),i.pdfViewer&&(i.pdfViewer.spreadMode=2),this.onSpreadChange("even")):"odd"===this.spread?(e.set("spreadModeOnLoad",1),i.pdfViewer&&(i.pdfViewer.spreadMode=1),this.onSpreadChange("odd")):(e.set("spreadModeOnLoad",0),i.pdfViewer&&(i.pdfViewer.spreadMode=0),this.onSpreadChange("off")),this.printResolution&&e.set("printResolution",this.printResolution),!1===this.showBorders&&e.set("removePageBorders",!this.showBorders)}},{key:"openPDF",value:function(){var t=this;ServiceWorkerOptions.showUnverifiedSignatures=this.showUnverifiedSignatures;var n=window.PDFViewerApplication;n.enablePrint=this.enablePrint,e.ngxExtendedPdfViewerInitialized=!0,this.onResize(),this.listenToURL||(n.pdfLinkService.setHash=function(){}),this.initTimeout=null,this.selectCursorTool(),n.eventBus.on("textlayerrendered",function(e){t.textlayerRendered.emit(e),t.textLayerRendered.emit(e)}),n.eventBus.on("pagesloaded",function(e){if(t.pagesLoaded.emit(e),t.rotation){var i=Number(t.rotation);0!==i&&90!==i&&180!==i&&270!==i||(n.pdfViewer.pagesRotation=i)}else n.pdfViewer.pagesRotation=0;setTimeout(function(){t.shuttingDown||(t.nameddest?n.pdfLinkService.navigateTo(t.nameddest):t.page?n.page=Number(t.page):t.pageLabel&&(n.pdfViewer.currentPageLabel=t.pageLabel))}),t.setZoom()}),n.eventBus.on("pagerendered",function(e){t.ngZone.run(function(){t.pageRendered.emit(e)})}),n.eventBus.on("download",function(e){t.ngZone.run(function(){t.pdfDownloaded.emit(e)})}),n.eventBus.on("scalechanging",function(e){setTimeout(function(){t.ngZone.run(function(){t.currentZoomFactor.emit(e.scale);var n=t.root.nativeElement.querySelector("#scaleSelect"),i=t.zoom;n&&(i=n.value),"auto"!==i&&"page-fit"!==i&&"page-actual"!==i&&"page-width"!==i&&t.zoomChange.emit(100*e.scale)})})}),n.eventBus.on("rotationchanging",function(e){t.ngZone.run(function(){t.rotationChange.emit(e.pagesRotation)})}),n.eventBus.on("fileinputchange",function(e){t.ngZone.run(function(){var n=e.fileInput.value.replace("C:\\fakepath\\","");t.srcChange.emit(n)})}),n.eventBus.on("cursortoolchanged",function(e){t.ngZone.run(function(){t.handToolChange.emit(e.tool===wD.HAND)})}),n.eventBus.on("sidebarviewchanged",function(e){t.ngZone.run(function(){t.sidebarVisibleChange.emit(e.view>0),t.sidebarComponent&&t.sidebarComponent.showToolbarWhenNecessary()})});var i=function(){t.ngZone.run(function(){t.sidebarComponent&&t.sidebarComponent.showToolbarWhenNecessary()})};if(n.eventBus.on("outlineloaded",i),n.eventBus.on("attachmentsloaded",i),n.eventBus.on("layersloaded",i),n.eventBus.on("updatefindcontrolstate",function(e){t.updateFindMatchesCount&&(e.state===hD.NOT_FOUND?t.updateFindMatchesCount.emit({current:0,total:0}):e.matchesCount.total&&t.updateFindMatchesCount.emit(e.matchesCount)),t.updateFindState&&t.updateFindState.emit(e.state)}),n.eventBus.on("updatefindmatchescount",function(e){t.updateFindMatchesCount&&e.matchesCount.total&&t.updateFindMatchesCount.emit(e.matchesCount)}),n.eventBus.on("pagechanging",function(e){t.shuttingDown||t.ngZone.run(function(){var e=n.pdfViewer.currentPageNumber,i=n.pdfViewer.currentPageLabel;e!==t.page&&t.pageChange.emit(e),i!==t.pageLabel&&t.pageLabelChange.emit(i)})}),this.checkHeight(),this._src){var r={password:this.password,verbosity:this.logLevel};this._src.range&&(r.range=this._src.range),this.httpHeaders&&(r.httpHeaders=this.httpHeaders),this.authorization&&(r.withCredentials=!0,r.httpHeaders?r.httpHeaders.Authorization||(r.httpHeaders.Authorization=this.authorization):r.httpHeaders={Authorization:this.authorization}),n.onError=function(e){return t.pdfLoadingFailed.emit(e)},n.open(this._src,r).then(function(){return t.pdfLoaded.emit({pagesCount:n.pagesCount})})}setTimeout(function(){t.shuttingDown||t.page&&(n.page=Number(t.page))},100)}},{key:"selectCursorTool",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:this.handTool?1:0})}},{key:"ngOnDestroy",value:function(){var t=window.PDFViewerApplication;if(this.shuttingDown=!0,e.ngxExtendedPdfViewerInitialized=!1,this.initTimeout&&(clearTimeout(this.initTimeout),this.initTimeout=void 0),t){this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0),t.cleanup(),t.close(),t.printKeyDownListener&&removeEventListener("keydown",t.printKeyDownListener,!0),t._boundEvents&&t.unbindWindowEvents();var n=t.eventBus;if(n)for(var i in t.unbindEvents(),n._listeners)if(n._listeners[i]){for(var r=n._listeners[i],o=0;o<r.length;o++)r[o]=void 0;n._listeners[i]=void 0}t.eventBus=null}var a=document.getElementsByTagName("body");if(a[0])for(var s=a[0].children,l=s.length-1;l>=0;l--){var u=s.item(l);(u&&"printContainer"===u.id||u&&"fileInput"===u.id)&&a[0].removeChild(u)}}},{key:"isPrimaryMenuVisible",value:function(){return!!(this.showBookmarkButton||this.showDownloadButton||this.showFindButton||this.showOpenFileButton||this.showPagingButtons||this.showPresentationModeButton||this.showPrintButton||this.showPropertiesButton||this.showSidebarButton||this.showZoomButtons)}},{key:"ngOnChanges",value:function(t){var n=this,i=window.PDFViewerApplication,r=window.PDFViewerApplicationOptions;if(e.ngxExtendedPdfViewerInitialized){if(("src"in t||"base64Src"in t)&&this._src){this.overrideDefaultSettings();var o={password:this.password,verbosity:this.logLevel};this._src.range&&(o.range=this._src.range),this.httpHeaders&&(o.httpHeaders=this.httpHeaders),this.authorization&&(o.withCredentials=!0,o.httpHeaders?o.httpHeaders.Authorization||(o.httpHeaders.Authorization=this.authorization):o.httpHeaders={Authorization:this.authorization}),i.open(this._src,o).then(function(){return n.pdfLoaded.emit({pagesCount:i.pagesCount})},function(e){return n.pdfLoadingFailed.emit(e)})}if("zoom"in t&&this.setZoom(),"maxZoom"in t&&r.set("maxZoom",this.maxZoom),"minZoom"in t&&r.set("minZoom",this.minZoom),"handTool"in t&&this.selectCursorTool(),"page"in t&&this.page&&this.page!=i.page&&(i.page=this.page),"pageLabel"in t&&this.pageLabel&&this.pageLabel!==i.pdfViewer.currentPageLabel&&(i.pdfViewer.currentPageLabel=this.pageLabel),"rotation"in t)if(this.rotation){var a=Number(this.rotation);0!==a&&90!==a&&180!==a&&270!==a||(i.pdfViewer.pagesRotation=a)}else i.pdfViewer.pagesRotation=0;"sidebarVisible"in t&&(this.sidebarVisible?i.pdfSidebar.open():i.pdfSidebar.close()),"filenameForDownload"in t&&(i.appConfig.filenameForDownload=this.filenameForDownload),"nameddest"in t&&this.nameddest&&i.pdfLinkService.navigateTo(this.nameddest),"spread"in t&&("even"===this.spread?(i.spreadModeOnLoad=2,i.pdfViewer.spreadMode=2,this.onSpreadChange("even")):"odd"===this.spread?(i.spreadModeOnLoad=1,i.pdfViewer.spreadMode=1,this.onSpreadChange("odd")):(i.spreadModeOnLoad=0,i.pdfViewer.spreadMode=0,this.onSpreadChange("off"))),"enablePinchOnMobile"in t&&(t.enablePinchOnMobile.isFirstChange()||t.enablePinchOnMobile.currentValue!==t.enablePinchOnMobile.previousValue&&(this.enablePinchOnMobile?this.pinchOnMobileSupport=new vO(this.ngZone):this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0))),this.primaryMenuVisible=!0,this.showSecondaryToolbarButton&&!this.hideKebabMenuForSecondaryToolbar||this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1),this.calcViewerPositionTop()}if(this.onResize(),"printResolution"in t&&r&&r.set("printResolution",this.printResolution),"ignoreKeyboard"in t&&r&&this.overrideDefaultSettings(),"ignoreKeys"in t&&r&&this.overrideDefaultSettings(),"acceptKeys"in t&&r&&this.overrideDefaultSettings(),"showBorders"in t&&!t.showBorders.isFirstChange()&&r){this.overrideDefaultSettings();var s=document.getElementById("viewer");this.showBorders?s.classList.remove("removePageBorders"):s.classList.add("removePageBorders"),i.pdfViewer&&(i.pdfViewer.removePageBorders=!this.showBorders);var l={source:s,scale:(100|Number(this.zoom))/100,presetValue:this.zoom};i.eventBus.dispatch("scalechanging",l)}"showUnverifiedSignatures"in t&&i&&i.pdfDocument&&i.pdfDocument._transport.messageHandler.send("showUnverifiedSignatures",this.showUnverifiedSignatures),"enablePrint"in t&&(t.enablePrint.isFirstChange()||(i.enablePrint=this.enablePrint)),("customFindbar"in t&&!t.customFindbar.isFirstChange()||"customFindbarButtons"in t&&!t.customFindbarButtons.isFirstChange()||"customFindbarInputArea"in t&&!t.customFindbarInputArea.isFirstChange()||"customToolbar"in t&&!t.customToolbar.isFirstChange())&&this.dummyComponents&&this.dummyComponents.addMissingStandardWidgets()}},{key:"setZoom",value:function(){var e=this.zoom;String(e).endsWith("%")?e=Number(String(e).replace("%",""))/100:isNaN(Number(e))||(e=Number(e)/100),e||(e="auto");var t=window.PDFViewerApplication;t&&window.PDFViewerApplicationOptions.set("defaultZoomValue",e),t.pdfViewer&&(t.pdfViewer.currentScaleValue=e)}},{key:"onResize",value:function(){var e=document.getElementsByClassName("html");if(e&&e.length>0){var t=document.getElementById("outerContainer");t&&(this.toolbarWidthInPixels=t.clientWidth,this.secondaryToolbarComponent&&this.secondaryToolbarComponent.checkVisibility())}}},{key:"onContextMenu",value:function(){return this.contextMenuAllowed}},{key:"onSecondaryMenuIsEmpty",value:function(e){this.hideKebabMenuForSecondaryToolbar=e}}]),e}()).\u0275fac=function(e){return new(e||pO)(rs(Ac),rs(uc),rs(yD),rs(Cd))},pO.\u0275cmp=ft({type:pO,selectors:[["ngx-extended-pdf-viewer"]],viewQuery:function(e,t){var n;1&e&&(Qu(mD,1),Qu(BP,1),Qu(zP,1),Qu(VP,1)),2&e&&(Zu(n=Ku())&&(t.dummyComponents=n.first),Zu(n=Ku())&&(t.root=n.first),Zu(n=Ku())&&(t.secondaryToolbarComponent=n.first),Zu(n=Ku())&&(t.sidebarComponent=n.first))},hostBindings:function(e,t){1&e&&ms("contextmenu",function(){return t.onContextMenu()})},inputs:{customFindbarButtons:"customFindbarButtons",authorization:"authorization",httpHeaders:"httpHeaders",contextMenuAllowed:"contextMenuAllowed",enablePrint:"enablePrint",delayFirstView:"delayFirstView",logLevel:"logLevel",enablePinchOnMobile:"enablePinchOnMobile",minifiedJSLibraries:"minifiedJSLibraries",printResolution:"printResolution",useBrowserLocale:"useBrowserLocale",backgroundColor:"backgroundColor",filenameForDownload:"filenameForDownload",ignoreKeyboard:"ignoreKeyboard",ignoreKeys:"ignoreKeys",acceptKeys:"acceptKeys",imageResourcesPath:"imageResourcesPath",language:"language",listenToURL:"listenToURL",nameddest:"nameddest",password:"password",showUnverifiedSignatures:"showUnverifiedSignatures",showSidebarOnLoad:"showSidebarOnLoad",sidebarVisible:"sidebarVisible",showFindButton:"showFindButton",showPagingButtons:"showPagingButtons",showZoomButtons:"showZoomButtons",showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",theme:"theme",showSecondaryToolbarButton:"showSecondaryToolbarButton",showRotateButton:"showRotateButton",handTool:"handTool",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",showBorders:"showBorders",pageLabel:"pageLabel",textLayer:"textLayer",zoom:"zoom",zoomLevels:"zoomLevels",maxZoom:"maxZoom",minZoom:"minZoom",_mobileFriendlyZoom:"_mobileFriendlyZoom",src:"src",base64Src:"base64Src",height:"height",showSidebarButton:"showSidebarButton",page:"page",mobileFriendlyZoom:"mobileFriendlyZoom",mobileZoom:"mobileZoom",customFindbarInputArea:"customFindbarInputArea",customToolbar:"customToolbar",customFindbar:"customFindbar",customSecondaryToolbar:"customSecondaryToolbar",customSidebar:"customSidebar",customThumbnail:"customThumbnail",customFreeFloatingBar:"customFreeFloatingBar",rotation:"rotation",startTabindex:"startTabindex",spread:"spread"},outputs:{srcChange:"srcChange",afterPrint:"afterPrint",beforePrint:"beforePrint",currentZoomFactor:"currentZoomFactor",rotationChange:"rotationChange",sidebarVisibleChange:"sidebarVisibleChange",handToolChange:"handToolChange",spreadChange:"spreadChange",thumbnailDrawn:"thumbnailDrawn",pageChange:"pageChange",pageLabelChange:"pageLabelChange",pagesLoaded:"pagesLoaded",pageRendered:"pageRendered",pdfDownloaded:"pdfDownloaded",pdfLoaded:"pdfLoaded",pdfLoadingFailed:"pdfLoadingFailed",textlayerRendered:"textlayerRendered",textLayerRendered:"textLayerRendered",updateFindMatchesCount:"updateFindMatchesCount",updateFindState:"updateFindState",zoomChange:"zoomChange"},features:[Mt],ngContentSelectors:FP,decls:66,vars:60,consts:[["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer",4,"ngIf"],[4,"ngIf"],[3,"zoom","width"],[1,"zoom"],["root",""],[1,"html"],[1,"loadingInProgress","body"],["id","outerContainer",3,"resize"],[1,"free-floating-bar"],[4,"ngTemplateOutlet"],[3,"sidebarPositionTop","sidebarVisible","showSidebarButton","customSidebar","customThumbnail","thumbnailDrawn"],["pdfsidebar",""],["id","mainContainer"],[3,"customToolbar","mobileFriendlyZoomScale","primaryMenuVisible","showBookmarkButton","showDownloadButton","showFindButton","showHandToolButton","showOpenFileButton","showPrintButton","showPagingButtons","showPresentationModeButton","showRotateButton","showSecondaryToolbarButton","showSidebarButton","showZoomButtons","textLayer","toolbarPaddingTop","toolbarWidth","zoomLevels"],[3,"customSecondaryToolbar","secondaryToolbarTop","mobileFriendlyZoomScale","showPresentationModeButton","showOpenFileButton","showPrintButton","showDownloadButton","showBookmarkButton","showPagingButtons","showRotateButton","showHandToolButton","showScrollingButton","showSpreadButton","showPropertiesButton","spreadChange","secondaryMenuIsEmpty"],["pdfSecondaryToolbarComponent",""],[3,"findbarLeft","findbarTop","mobileFriendlyZoomScale","showFindButton","customFindbarInputArea","customFindbarButtons"],["id","viewerContainer"],["id","viewer",1,"pdfViewer"],["id","errorWrapper","hidden","true"],["id","errorMessageLeft"],["id","errorMessage"],["type","button","id","errorShowMore","data-l10n-id","error_more_info"],["type","button","id","errorShowLess","data-l10n-id","error_less_info","hidden","true"],["id","errorMessageRight"],["type","button","id","errorClose","data-l10n-id","error_close"],[1,"clearBoth"],["id","errorMoreInfo","hidden","true","readonly","readonly"],["id","overlayContainer",1,"hidden"],["id","passwordOverlay",1,"container","hidden"],[1,"dialog"],[1,"row"],["id","passwordText","data-l10n-id","password_label"],["id","password",1,"toolbarField"],[1,"buttonRow"],["type","button","id","passwordCancel",1,"overlayButton"],["data-l10n-id","password_cancel"],["type","button","id","passwordSubmit",1,"overlayButton"],["data-l10n-id","password_ok"],["id","documentPropertiesOverlay",1,"container","hidden"],["id","printServiceOverlay",1,"container","hidden"],["data-l10n-id","print_progress_message"],["value","0","max","100"],["data-l10n-id","print_progress_percent","data-l10n-args",'{ "progress": 0 }',1,"relative-progress"],["type","button","id","printCancel",1,"overlayButton"],["data-l10n-id","print_progress_close"],["id","printContainer"],["defaultFreeFloatingBar",""],["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer"]],template:function(e,t){if(1&e&&(As(),ns(0,NP,1,0,"link",0),ns(1,HP,1,0,"pdf-dark-theme",1),ns(2,jP,1,0,"pdf-light-theme",1),us(3,"pdf-dynamic-css",2),ss(4,"div",3,4),ss(6,"div",5),ss(7,"div",6),ss(8,"div",7),ms("resize",function(){return t.onResize()},!1,Ir),ss(9,"div",8),ns(10,UP,1,0,"ng-content",9),ls(),ss(11,"pdf-sidebar",10,11),ms("thumbnailDrawn",function(e){return t.thumbnailDrawn.emit(e)}),ls(),ss(13,"div",12),us(14,"pdf-dummy-components"),us(15,"pdf-toolbar",13),ss(16,"pdf-secondary-toolbar",14,15),ms("spreadChange",function(e){return t.onSpreadChange(e)})("secondaryMenuIsEmpty",function(e){return t.onSecondaryMenuIsEmpty(e)}),ls(),us(18,"pdf-findbar",16),us(19,"pdf-context-menu"),ss(20,"div",17),us(21,"div",18),ls(),ss(22,"div",19),ss(23,"div",20),us(24,"span",21),ss(25,"button",22),Qs(26," More Information "),ls(),ss(27,"button",23),Qs(28," Less Information "),ls(),ls(),ss(29,"div",24),ss(30,"button",25),Qs(31,"Close"),ls(),ls(),us(32,"div",26),us(33,"textarea",27),ls(),ls(),ss(34,"div",28),ss(35,"div",29),ss(36,"div",30),ss(37,"div",31),ss(38,"p",32),Qs(39," Enter the password to open this PDF file: "),ls(),ls(),ss(40,"div",31),us(41,"input",33),ls(),ss(42,"div",34),ss(43,"button",35),ss(44,"span",36),Qs(45,"Cancel"),ls(),ls(),ss(46,"button",37),ss(47,"span",38),Qs(48,"OK"),ls(),ls(),ls(),ls(),ls(),us(49,"pdf-document-properties-overlay",39),ss(50,"div",40),ss(51,"div",30),ss(52,"div",31),ss(53,"span",41),Qs(54,"Preparing document for printing\u2026"),ls(),ls(),ss(55,"div",31),us(56,"progress",42),ss(57,"span",43),Qs(58,"0%"),ls(),ls(),ss(59,"div",34),ss(60,"button",44),ss(61,"span",45),Qs(62,"Cancel"),ls(),ls(),ls(),ls(),ls(),ls(),ls(),us(63,"div",46),ls(),ls(),ls(),ns(64,WP,0,0,"ng-template",null,47,tc)),2&e){var n=is(65);os("ngIf",t.useBrowserLocale),xo(1),os("ngIf","dark"===t.theme),xo(1),os("ngIf","light"===t.theme),xo(1),os("zoom",t.mobileFriendlyZoomScale)("width",t.toolbarWidthInPixels),xo(1),Ls("height",t.height)("min-height",t.minHeight),xo(3),Ls("background-color",t.backgroundColor),xo(3),os("ngTemplateOutlet",t.customFreeFloatingBar?t.customFreeFloatingBar:n),xo(1),os("sidebarPositionTop",t.sidebarPositionTop)("sidebarVisible",t.sidebarVisible)("showSidebarButton",t.showSidebarButton)("customSidebar",t.customSidebar)("customThumbnail",t.customThumbnail),xo(4),os("customToolbar",t.customToolbar)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("primaryMenuVisible",t.primaryMenuVisible)("showBookmarkButton",t.showBookmarkButton)("showDownloadButton",t.showDownloadButton)("showFindButton",t.showFindButton)("showHandToolButton",t.showHandToolButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showPagingButtons",t.showPagingButtons)("showPresentationModeButton",t.showPresentationModeButton)("showRotateButton",t.showRotateButton)("showSecondaryToolbarButton",t.showSecondaryToolbarButton&&!t.hideKebabMenuForSecondaryToolbar)("showSidebarButton",t.showSidebarButton)("showZoomButtons",t.showZoomButtons)("textLayer",t.textLayer)("toolbarPaddingTop",t.toolbarPaddingTop)("toolbarWidth",t.toolbarWidth)("zoomLevels",t.zoomLevels),xo(1),os("customSecondaryToolbar",t.customSecondaryToolbar)("secondaryToolbarTop",t.secondaryToolbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showPresentationModeButton",t.showPresentationModeButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showDownloadButton",t.showDownloadButton)("showBookmarkButton",t.showBookmarkButton)("showPagingButtons",t.showPagingButtons)("showRotateButton",t.showRotateButton)("showHandToolButton",t.showHandToolButton)("showScrollingButton",t.showScrollingButton)("showSpreadButton",t.showSpreadButton)("showPropertiesButton",t.showPropertiesButton),xo(2),os("findbarLeft",t.findbarLeft)("findbarTop",t.findbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showFindButton",t.showFindButton)("customFindbarInputArea",t.customFindbarInputArea)("customFindbarButtons",t.customFindbarButtons),xo(2),Ls("top",t.viewerPositionTop),xo(1),Ls("background-color",t.backgroundColor)}},directives:function(){return[mh,sM,Oh,mO,mD,tM,bD,CO,kO,xO,dM,cM]},encapsulation:2,changeDetection:0}),pO.ngxExtendedPdfViewerInitialized=!1,pO),bO=((fO=function(){function e(){A(this,e)}return m(e,[{key:"findMultiple",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object.assign({},t,{findMultipleSearchTexts:!0});var n=e.join("\n")+"\n";return this.find(n,t)}},{key:"find",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(yO.ngxExtendedPdfViewerInitialized){var n=document.getElementById("findHighlightAll");n&&(n.checked=t.highlightAll||!1);var i=document.getElementById("findMatchCase");i&&(i.checked=t.matchCase||!1);var r=document.getElementById("findEntireWord");r&&(r.checked=t.wholeWords||!1);var o=document.getElementById("findIgnoreAccents");o&&(o.checked=t.ignoreAccents||!1);var a=t.findMultipleSearchTexts||e.includes("\n")||!1,s=document.getElementById("findMultipleSearchTexts");s&&(s.checked=a);var l=document.getElementById("individualWordsMode");l&&(l.checked=!1);var u=document.getElementById("findFuzzy");u&&(u.checked=t.fuzzySearch||!1);var c=a?document.getElementById("findInputMultiline"):document.getElementById("findInput");return c?(c instanceof HTMLTextAreaElement?(c.value=e,c.classList.remove("hidden"),document.getElementById("findInput").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.remove("hidden"),document.getElementById("individualWordsMode").classList.remove("hidden")):c instanceof HTMLInputElement&&(c.value=e,c.classList.remove("hidden"),document.getElementById("findInputMultiline").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.add("hidden"),document.getElementById("individualWordsMode").classList.add("hidden")),c.dispatchEvent(new Event("input")),!0):(console.error("Unexpected error: the input field used to search isn't part of the DOM."),!1)}return console.error("The PDF viewer hasn't finished initializing. Please call find() later."),!1}},{key:"findNext",value:function(){if(yO.ngxExtendedPdfViewerInitialized){var e=document.getElementById("findNext");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findNext() later."),!1}},{key:"findPrevious",value:function(){if(yO.ngxExtendedPdfViewerInitialized){var e=document.getElementById("findPrevious");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findPrevious() later."),!1}},{key:"print",value:function(e){var t=this,n=window.PDFViewerApplication,i=!!window.isInPDFPrintRange&&!e;i||(e||(e={}),this.setPrintRange(e)),window.printPDF(),i||n.eventBus.on("afterprint",function(){t.removePrintRange()})}},{key:"removePrintRange",value:function(){window.isInPDFPrintRange=void 0,window.filteredPageCount=void 0}},{key:"setPrintRange",value:function(e){var t=this,n=window.PDFViewerApplication;window.isInPDFPrintRange=function(n){return t.isInPDFPrintRange(n,e)},window.filteredPageCount=this.filteredPageCount(n.pagesCount,e)}},{key:"filteredPageCount",value:function(e,t){for(var n=0,i=1;i<=e;i++)this.isInPDFPrintRange(i,t)&&n++;return n}},{key:"isInPDFPrintRange",value:function(e,t){var n=e+1;return!(t.from&&n<t.from||t.to&&n>t.to||t.excluded&&t.excluded.some(function(e){return e===n})||t.included&&!t.included.some(function(e){return e===n}))}},{key:"getPageAsText_preview",value:function(e,t){var n=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){e.getTextContent().then(function(e){return t(n.convertTextInfoToText(e))})})}},{key:"getPageAsText",value:function(e){var t=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){return new Promise(function(t,n){t(e.getTextContent())})}).then(function(e){return new Promise(function(n,i){n(t.convertTextInfoToText(e))})})}},{key:"convertTextInfoToText",value:function(e){return e?e.items.map(function(e){return e.str}).join(""):""}},{key:"getPageAsImage_preview",value:function(e,t,n,i){var r=this;window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){r.draw_preview(e,t,n,i)}).catch(function(e){i?i({message:"Unable to initialize PDF page service",reason:e}):console.error("Unable to initialize PDF page service",e)})}},{key:"getPageAsImage",value:function(e,t){var n=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){return new Promise(function(i,r){i(n.draw(e,t))})})}},{key:"draw",value:function(e,t){var n=1;t.scale?n=t.scale:t.width?n=t.width/e.getViewport({scale:1}).width:t.height&&(n=t.height/e.getViewport({scale:1}).height);var i=e.getViewport({scale:n}),r=this.getPageDrawContext(i.width,i.height),o=r.ctx,a=r.canvas,s=i.clone();return e.render({canvasContext:o,viewport:s}).promise.then(function(){return new Promise(function(e,t){e(a.toDataURL())})})}},{key:"draw_preview",value:function(e,t,n,i){var r=1;t.scale?r=t.scale:t.width?r=t.width/e.getViewport({scale:1}).width:t.height&&(r=t.height/e.getViewport({scale:1}).height);var o=e.getViewport({scale:r}),a=this.getPageDrawContext(o.width,o.height),s=a.ctx,l=a.canvas,u=o.clone();e.render({canvasContext:s,viewport:u}).promise.then(function(){var e=l.toDataURL();n(e)},function(e){i&&i(e)})}},{key:"getPageDrawContext",value:function(e,t){var n=document.createElement("canvas"),i=n.getContext("2d",{alpha:!1});if(!i)throw new Error("Couldn't create the 2d context");return n.width=e,n.height=t,n.style.width=e+"px",n.style.height=t+"px",{ctx:i,canvas:n}}}]),e}()).\u0275fac=function(e){return new(e||fO)},fO.\u0275prov=Re({token:fO,factory:fO.\u0275fac}),fO),wO=((hO=function(){function e(t){var n=this;A(this,e),this.notificationService=t,this.showHandToolButton=!0,this.isSelected=!1;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return m(e,[{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("cursortoolchanged",function(t){var n=t.tool;return e.isSelected=n===wD.HAND})}},{key:"onClick",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:wD.HAND})}}]),e}()).\u0275fac=function(e){return new(e||hO)(rs(yD))},hO.\u0275cmp=ft({type:hO,selectors:[["pdf-hand-tool"]],inputs:{showHandToolButton:"showHandToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorHandTool","title","Enable hand tool","data-l10n-id","cursor_hand_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"]],template:function(e,t){1&e&&(ss(0,"button",0),ms("click",function(){return t.onClick()}),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Hand Tool"),ls(),ls()),2&e&&Fs("invisible",!t.showHandToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),hO),_O=((dO=function e(){A(this,e),this.showBookmarkButton=!0}).\u0275fac=function(e){return new(e||dO)},dO.\u0275cmp=ft({type:dO,selectors:[["pdf-bookmark"]],inputs:{showBookmarkButton:"showBookmarkButton"},decls:5,vars:2,consts:[["href","#","id","viewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"toolbarButton","hiddenTinyView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"]],template:function(e,t){1&e&&(ss(0,"a",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Current View"),ls(),ls()),2&e&&Fs("invisible",!t.showBookmarkButton)},styles:["[_nghost-%COMP%] a.toolbarButton[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:4px}[_nghost-%COMP%]:focus{outline:0}a[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),dO),kO=((cO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||cO)},cO.\u0275cmp=ft({type:cO,selectors:[["pdf-context-menu"]],decls:5,vars:0,consts:[["type","context","id","viewerContextMenu",2,"display","none"],["id","contextFirstPage",2,"display","none"],["id","contextLastPage",2,"display","none"],["id","contextPageRotateCw",2,"display","none"],["id","contextPageRotateCcw",2,"display","none"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"div",1),us(2,"div",2),us(3,"div",3),us(4,"div",4),ls())},styles:["[_nghost-%COMP%]{margin-top:4px}"]}),cO),xO=((uO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||uO)},uO.\u0275cmp=ft({type:uO,selectors:[["pdf-document-properties-overlay"]],decls:77,vars:0,consts:[[1,"dialog"],[1,"row"],["data-l10n-id","document_properties_file_name"],["id","fileNameField"],["data-l10n-id","document_properties_file_size"],["id","fileSizeField"],["data-l10n-id","document_properties_title"],["id","titleField"],["data-l10n-id","document_properties_author"],["id","authorField"],["data-l10n-id","document_properties_subject"],["id","subjectField"],["data-l10n-id","document_properties_keywords"],["id","keywordsField"],["data-l10n-id","document_properties_creation_date"],["id","creationDateField"],["data-l10n-id","document_properties_modification_date"],["id","modificationDateField"],["data-l10n-id","document_properties_creator"],["id","creatorField"],["data-l10n-id","document_properties_producer"],["id","producerField"],["data-l10n-id","document_properties_version"],["id","versionField"],["data-l10n-id","document_properties_page_count"],["id","pageCountField"],["data-l10n-id","document_properties_page_size"],["id","pageSizeField"],[1,"separator"],["data-l10n-id","document_properties_linearized"],["id","linearizedField"],[1,"buttonRow"],["type","button","id","documentPropertiesClose",1,"overlayButton"],["data-l10n-id","document_properties_close"]],template:function(e,t){1&e&&(ss(0,"div"),ss(1,"div",0),ss(2,"div",1),ss(3,"span",2),Qs(4,"File name:"),ls(),ss(5,"p",3),Qs(6,"-"),ls(),ls(),ss(7,"div",1),ss(8,"span",4),Qs(9,"File size:"),ls(),ss(10,"p",5),Qs(11,"-"),ls(),ls(),ss(12,"div",1),ss(13,"span",6),Qs(14,"Title:"),ls(),ss(15,"p",7),Qs(16,"-"),ls(),ls(),ss(17,"div",1),ss(18,"span",8),Qs(19,"Author:"),ls(),ss(20,"p",9),Qs(21,"-"),ls(),ls(),ss(22,"div",1),ss(23,"span",10),Qs(24,"Subject:"),ls(),ss(25,"p",11),Qs(26,"-"),ls(),ls(),ss(27,"div",1),ss(28,"span",12),Qs(29,"Keywords:"),ls(),ss(30,"p",13),Qs(31,"-"),ls(),ls(),ss(32,"div",1),ss(33,"span",14),Qs(34,"Creation Date:"),ls(),ss(35,"p",15),Qs(36,"-"),ls(),ls(),ss(37,"div",1),ss(38,"span",16),Qs(39,"Modification Date:"),ls(),ss(40,"p",17),Qs(41,"-"),ls(),ls(),ss(42,"div",1),ss(43,"span",18),Qs(44,"Creator:"),ls(),ss(45,"p",19),Qs(46,"-"),ls(),ls(),ss(47,"div",1),ss(48,"span",20),Qs(49,"PDF Producer:"),ls(),ss(50,"p",21),Qs(51,"-"),ls(),ls(),ss(52,"div",1),ss(53,"span",22),Qs(54,"PDF Version:"),ls(),ss(55,"p",23),Qs(56,"-"),ls(),ls(),ss(57,"div",1),ss(58,"span",24),Qs(59,"Page Count:"),ls(),ss(60,"p",25),Qs(61,"-"),ls(),ls(),ss(62,"div",1),ss(63,"span",26),Qs(64,"Page Size:"),ls(),ss(65,"p",27),Qs(66,"-"),ls(),ls(),us(67,"div",28),ss(68,"div",1),ss(69,"span",29),Qs(70,"Fast Web View:"),ls(),ss(71,"p",30),Qs(72,"-"),ls(),ls(),ss(73,"div",31),ss(74,"button",32),ss(75,"span",33),Qs(76,"Close"),ls(),ls(),ls(),ls(),ls())},styles:[""]}),uO),AO=((lO=function e(){A(this,e),this.showDownloadButton=!0}).\u0275fac=function(e){return new(e||lO)},lO.\u0275cmp=ft({type:lO,selectors:[["pdf-download"]],inputs:{showDownloadButton:"showDownloadButton"},decls:5,vars:2,consts:[["type","button","id","download","title","Download","data-l10n-id","download",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Download"),ls(),ls()),2&e&&Fs("invisible",!t.showDownloadButton)},styles:[QP]}),lO),CO=((sO=function e(){A(this,e),this.showFindButton=!0}).\u0275fac=function(e){return new(e||sO)},sO.\u0275cmp=ft({type:sO,selectors:[["pdf-findbar"]],inputs:{showFindButton:"showFindButton",mobileFriendlyZoomScale:"mobileFriendlyZoomScale",findbarLeft:"findbarLeft",findbarTop:"findbarTop",customFindbarInputArea:"customFindbarInputArea",customFindbar:"customFindbar",customFindbarButtons:"customFindbarButtons"},decls:5,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultFindbar",""],["defaultFindbarButtons",""],["id","findbar",1,"findbar","hidden","doorHanger"],[3,"customFindbarInputArea"]],template:function(e,t){if(1&e&&(hs(0,0),ns(1,GP,2,11,"ng-template",null,1,tc),ns(3,qP,5,1,"ng-template",null,2,tc)),2&e){var n=is(2);os("ngTemplateOutlet",t.customFindbar?t.customFindbar:n)}},directives:function(){return[Oh,LO,EO,DO,PO,SO]},styles:[""]}),sO),SO=((aO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||aO)},aO.\u0275cmp=ft({type:aO,selectors:[["pdf-findbar-message-container"]],decls:2,vars:0,consts:[["id","findbarMessageContainer"],["id","findMsg",1,"toolbarLabel"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"span",1),ls())},styles:[""]}),aO),EO=((oO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||oO)},oO.\u0275cmp=ft({type:oO,selectors:[["pdf-findbar-options-one-container"]],decls:3,vars:0,consts:[["id","findbarOptionsOneContainer"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"pdf-find-highlight-all"),us(2,"pdf-find-match-case"),ls())},directives:function(){return[IO,FO]},styles:[""]}),oO),PO=((rO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||rO)},rO.\u0275cmp=ft({type:rO,selectors:[["pdf-findbar-options-three-container"]],decls:4,vars:0,consts:[["id","findbarOptionsThreeContainer"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"pdf-find-ignore-accents"),us(2,"pdf-find-fuzzily"),us(3,"pdf-find-results-count"),ls())},directives:function(){return[RO,TO,HO]},styles:[""]}),rO),DO=((iO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||iO)},iO.\u0275cmp=ft({type:iO,selectors:[["pdf-findbar-options-two-container"]],decls:3,vars:0,consts:[["id","findbarOptionsTwoContainer"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"pdf-find-entire-word"),us(2,"pdf-find-entire-phrase"),ls())},directives:function(){return[MO,zO]},styles:[""]}),iO),OO=((nO=function(){function e(){A(this,e),this.showFindButton=void 0,this.textLayer=void 0}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||nO)},nO.\u0275cmp=ft({type:nO,selectors:[["pdf-find-button"]],inputs:{showFindButton:"showFindButton",textLayer:"textLayer"},decls:5,vars:2,consts:[["type","button","id","viewFind","title","Find in Document","data-l10n-id","findbar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"],["data-l10n-id","findbar_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Find"),ls(),ls()),2&e&&Fs("invisible",!t.showFindButton||!t.textLayer)},styles:[$P]}),nO),MO=((tO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||tO)},tO.\u0275cmp=ft({type:tO,selectors:[["pdf-find-entire-word"]],decls:3,vars:0,consts:[["type","checkbox","id","findEntireWord",1,"toolbarField"],["for","findEntireWord","data-l10n-id","find_entire_word_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(us(0,"input",0),ss(1,"label",1),Qs(2," Whole words\n"),ls())},styles:[""]}),tO),TO=((eO=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||eO)},eO.\u0275cmp=ft({type:eO,selectors:[["pdf-find-fuzzily"]],decls:3,vars:0,consts:[["type","checkbox","id","findFuzzy",1,"toolbarField"],["for","findFuzzy","data-l10n-id","find_fuzzy",1,"toolbarLabel"]],template:function(e,t){1&e&&(us(0,"input",0),ss(1,"label",1),Qs(2," Fuzzy search\n"),ls())},styles:[""]}),eO),IO=(($D=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||$D)},$D.\u0275cmp=ft({type:$D,selectors:[["pdf-find-highlight-all"]],decls:3,vars:0,consts:[["type","checkbox","id","findHighlightAll",1,"toolbarField"],["for","findHighlightAll","data-l10n-id","find_highlight",1,"toolbarLabel"]],template:function(e,t){1&e&&(us(0,"input",0),ss(1,"label",1),Qs(2," Highlight all\n"),ls())},styles:[""]}),$D),RO=((JD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||JD)},JD.\u0275cmp=ft({type:JD,selectors:[["pdf-find-ignore-accents"]],decls:3,vars:0,consts:[["type","checkbox","id","findIgnoreAccents",1,"toolbarField"],["for","findIgnoreAccents","data-l10n-id","find_ignore_accents",1,"toolbarLabel"]],template:function(e,t){1&e&&(us(0,"input",0),ss(1,"label",1),Qs(2," Ignore accents and diacritics\n"),ls())},styles:[""]}),JD),LO=((KD=function e(){A(this,e)}).\u0275fac=function(e){return new(e||KD)},KD.\u0275cmp=ft({type:KD,selectors:[["pdf-find-input-area"]],inputs:{customFindbarInputArea:"customFindbarInputArea"},decls:2,vars:2,consts:[["id","findbarInputContainer",4,"ngIf"],[3,"ngTemplateOutlet"],["id","findbarInputContainer"]],template:function(e,t){1&e&&(ns(0,YP,4,0,"div",0),hs(1,1)),2&e&&(os("ngIf",!t.customFindbarInputArea),xo(1),os("ngTemplateOutlet",t.customFindbarInputArea))},directives:function(){return[mh,Oh,JO,NO,VO]},styles:[""]}),KD),FO=((XD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||XD)},XD.\u0275cmp=ft({type:XD,selectors:[["pdf-find-match-case"]],decls:3,vars:0,consts:[["type","checkbox","id","findMatchCase",1,"toolbarField"],["for","findMatchCase","data-l10n-id","find_match_case_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(us(0,"input",0),ss(1,"label",1),Qs(2," Match case\n"),ls())},styles:[""]}),XD),BO=((QD=function e(){A(this,e),this.individualWordsMode=!0,this.multipleSearchTexts=!1}).\u0275prov=Re({token:QD,factory:QD.\u0275fac=function(e){return new(e||QD)},providedIn:"root"}),QD.ngInjectableDef=Le({factory:function(){return new QD},token:QD,providedIn:"root"}),QD),zO=((ZD=function(){function e(t){A(this,e),this.pdfFindbarService=t}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ZD)(rs(BO))},ZD.\u0275cmp=ft({type:ZD,selectors:[["pdf-find-entire-phrase"]],decls:6,vars:6,consts:[["type","checkbox","id","findMultipleSearchTexts",1,"toolbarField",3,"ngModel","ngModelChange"],["for","findMultipleSearchTexts","data-l10n-id","find_multiple_texts_label",1,"toolbarLabel"],["type","checkbox","id","individualWordsMode",1,"toolbarField",3,"ngModel","ngModelChange"],["for","individualWordsMode","id","individualWordsModeLabel","data-l10n-id","find_individual_words_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(ss(0,"input",0),ms("ngModelChange",function(e){return t.pdfFindbarService.multipleSearchTexts=e}),ls(),ss(1,"label",1),Qs(2," multiple search texts\n"),ls(),ss(3,"input",2),ms("ngModelChange",function(e){return t.pdfFindbarService.individualWordsMode=e}),ls(),ss(4,"label",3),Qs(5," separated by word boundaries\n"),ls()),2&e&&(os("ngModel",t.pdfFindbarService.multipleSearchTexts),xo(3),Fs("hidden",!t.pdfFindbarService.multipleSearchTexts),os("ngModel",t.pdfFindbarService.individualWordsMode),xo(1),Fs("hidden",!t.pdfFindbarService.multipleSearchTexts))},directives:[Mv,hm,Ym],styles:[""]}),ZD),VO=((YD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||YD)},YD.\u0275cmp=ft({type:YD,selectors:[["pdf-find-next"]],decls:5,vars:0,consts:[["type","button","id","findNext","title","Find the next occurrence of the phrase","data-l10n-id","find_next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","find_next_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Next"),ls(),ls())},styles:["button.toolbarButton#findNext[_ngcontent-%COMP%]{margin-top:0}"]}),YD),NO=((qD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||qD)},qD.\u0275cmp=ft({type:qD,selectors:[["pdf-find-previous"]],decls:5,vars:0,consts:[["type","button","id","findPrevious","title","Find the previous occurrence of the phrase","data-l10n-id","find_previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","find_previous_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Previous"),ls(),ls())},styles:["button.toolbarButton#findPrevious[_ngcontent-%COMP%]{margin-top:0}"]}),qD),HO=((GD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||GD)},GD.\u0275cmp=ft({type:GD,selectors:[["pdf-find-results-count"]],decls:1,vars:0,consts:[["id","findResultsCount",1,"toolbarLabel","hidden"]],template:function(e,t){1&e&&us(0,"span",0)},styles:[""]}),GD),jO=((WD=function(){function e(t){var n=this;A(this,e),this.notificationService=t,this.disableFirstPage=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return m(e,[{key:"firstPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableFirstPage=e.pageNumber<=1,this.button.nativeElement.disabled=this.disableFirstPage}}]),e}()).\u0275fac=function(e){return new(e||WD)(rs(yD))},WD.\u0275cmp=ft({type:WD,selectors:[["pdf-first-page"]],viewQuery:function(e,t){var n;1&e&&Qu(ZP,1),2&e&&Zu(n=Ku())&&(t.button=n.first)},decls:6,vars:1,consts:[["type","button","title","First page","id","primaryFirstPage","data-l10n-id","first_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"]],template:function(e,t){1&e&&(ss(0,"button",0,1),ms("click",function(){return t.firstPage()}),On(),ss(2,"svg",2),us(3,"path",3),ls(),Mn(),ss(4,"span",4),Qs(5,"First page"),ls(),ls()),2&e&&os("disabled",t.disableFirstPage)},styles:[""]}),WD),UO=((UD=function(){function e(t){var n=this;A(this,e),this.notificationService=t,this.disableLastPage=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return m(e,[{key:"firstPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableLastPage=e.pageNumber===e.pagesCount,this.button.nativeElement.disabled=this.disableLastPage}},{key:"lastPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("lastpage")}}]),e}()).\u0275fac=function(e){return new(e||UD)(rs(yD))},UD.\u0275cmp=ft({type:UD,selectors:[["pdf-last-page"]],viewQuery:function(e,t){var n;1&e&&Qu(ZP,1),2&e&&Zu(n=Ku())&&(t.button=n.first)},decls:6,vars:1,consts:[["type","button","title","Last page","id","primaryLastPage","data-l10n-id","last_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"]],template:function(e,t){1&e&&(ss(0,"button",0,1),ms("click",function(){return t.lastPage()}),On(),ss(2,"svg",2),us(3,"path",3),ls(),Mn(),ss(4,"span",4),Qs(5,"Last page"),ls(),ls()),2&e&&os("disabled",t.disableLastPage)},styles:[""]}),UD),WO=((jD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||jD)},jD.\u0275cmp=ft({type:jD,selectors:[["pdf-next-page"]],decls:5,vars:0,consts:[["type","button","title","Next Page","id","next","data-l10n-id","next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Next"),ls(),ls())},styles:[""]}),jD),GO=((HD=function e(){A(this,e),this.showOpenFileButton=!0}).\u0275fac=function(e){return new(e||HD)},HD.\u0275cmp=ft({type:HD,selectors:[["pdf-open-file"]],inputs:{showOpenFileButton:"showOpenFileButton"},decls:5,vars:2,consts:[["type","button","id","openFile","title","Open File","data-l10n-id","open_file",1,"toolbarButton","hiddenMediumView"],["viewBox","0 0 24 24",2,"width","24px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Open"),ls(),ls()),2&e&&Fs("invisible",!t.showOpenFileButton)},styles:[QP]}),HD),qO=((ND=function(){function e(){A(this,e),this.showPagingButtons=!0}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ND)},ND.\u0275cmp=ft({type:ND,selectors:[["pdf-page-number"]],inputs:{showPagingButtons:"showPagingButtons"},decls:2,vars:4,consts:[["type","number","id","pageNumber","title","Page","value","1","size","4","min","1","data-l10n-id","page",1,"toolbarField","pageNumber"],["id","numPages",1,"toolbarLabel","hiddenXLView"]],template:function(e,t){1&e&&(us(0,"input",0),us(1,"span",1)),2&e&&(Fs("invisible",!t.showPagingButtons),xo(1),Fs("invisible",!t.showPagingButtons))},styles:[""]}),ND),YO=((VD=function e(){A(this,e),this.showPagingButtons=!0}).\u0275fac=function(e){return new(e||VD)},VD.\u0275cmp=ft({type:VD,selectors:[["pdf-paging-area"]],inputs:{showPagingButtons:"showPagingButtons"},decls:7,vars:5,consts:[[1,"paging-left","hiddenTinyView"],[2,"margin-right","-3px"],[2,"margin-left","-3px"],[3,"showPagingButtons"],[1,"paging-right","hiddenTinyView"],[2,"margin-right","-3px","margin-left","-3px"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"pdf-first-page",1),us(2,"pdf-previous-page",2),ls(),us(3,"pdf-page-number",3),ss(4,"div",4),us(5,"pdf-next-page",5),us(6,"pdf-last-page",2),ls()),2&e&&(Fs("invisible",!t.showPagingButtons),xo(3),os("showPagingButtons",t.showPagingButtons),xo(1),Fs("invisible",!t.showPagingButtons))},directives:function(){return[jO,QO,qO,WO,UO]},styles:[".paging-right[_ngcontent-%COMP%]{float:right;display:block;margin-top:-2px}.paging-left[_ngcontent-%COMP%]{float:left;display:block;margin-top:-2px}"]}),VD),ZO=((zD=function e(){A(this,e),this.showPresentationModeButton=!0}).\u0275fac=function(e){return new(e||zD)},zD.\u0275cmp=ft({type:zD,selectors:[["pdf-presentation-mode"]],inputs:{showPresentationModeButton:"showPresentationModeButton"},decls:5,vars:2,consts:[["type","button","id","presentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"toolbarButton","hiddenLargeView"],["viewBox","0 0 24 24",2,"width","27px","height","27px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Presentation Mode"),ls(),ls()),2&e&&Fs("invisible",!t.showPresentationModeButton)},styles:["[_nghost-%COMP%] button.toolbarButton[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),zD),QO=((BD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||BD)},BD.\u0275cmp=ft({type:BD,selectors:[["pdf-previous-page"]],decls:5,vars:0,consts:[["type","button","title","Previous Page","id","previous","data-l10n-id","previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Previous"),ls(),ls())},styles:[""]}),BD),XO=((FD=function e(){A(this,e),this.showPrintButton=!0}).\u0275fac=function(e){return new(e||FD)},FD.\u0275cmp=ft({type:FD,selectors:[["pdf-print"]],inputs:{showPrintButton:"showPrintButton"},decls:5,vars:2,consts:[["type","button","id","print","title","Print","data-l10n-id","print",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Print"),ls(),ls()),2&e&&Fs("invisible",!t.showPrintButton)},styles:[JP]}),FD),KO=((LD=function(){function e(t){var n=this;A(this,e),this.notificationService=t,this.showRotateButton=!0,this.disableRotate=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return m(e,[{key:"rotateCW",value:function(){window.PDFViewerApplication.eventBus.dispatch("rotatecw")}},{key:"rotateCCW",value:function(){window.PDFViewerApplication.eventBus.dispatch("rotateccw")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableRotate=0===e.pagesCount,this.button1.nativeElement.disabled=this.disableRotate,this.button2.nativeElement.disabled=this.disableRotate}}]),e}()).\u0275fac=function(e){return new(e||LD)(rs(yD))},LD.\u0275cmp=ft({type:LD,selectors:[["pdf-rotate-page"]],viewQuery:function(e,t){var n;1&e&&(Qu(XP,1),Qu(KP,1)),2&e&&(Zu(n=Ku())&&(t.button1=n.first),Zu(n=Ku())&&(t.button2=n.first))},inputs:{showRotateButton:"showRotateButton"},decls:8,vars:6,consts:[["type","button","id","primaryPageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"toolbarButton","hiddenXLView","rotateCw",3,"disabled","click"],["button1",""],["viewBox","0 0 24 24",2,"width","23px","height","23px"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["type","button","id","primaryPageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"toolbarButton","hiddenXLView","rotateCcw",3,"disabled","click"],["button2",""],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"]],template:function(e,t){1&e&&(ss(0,"button",0,1),ms("click",function(){return t.rotateCW()}),On(),ss(2,"svg",2),us(3,"path",3),ls(),ls(),Mn(),ss(4,"button",4,5),ms("click",function(){return t.rotateCCW()}),On(),ss(6,"svg",2),us(7,"path",6),ls(),ls()),2&e&&(Fs("invisible",!t.showRotateButton),os("disabled",t.disableRotate),xo(4),Fs("invisible",!t.showRotateButton),os("disabled",t.disableRotate))},styles:[JP]}),LD),JO=((RD=function e(t){A(this,e),this.pdfFindbarService=t}).\u0275fac=function(e){return new(e||RD)(rs(BO))},RD.\u0275cmp=ft({type:RD,selectors:[["pdf-search-input-field"]],decls:2,vars:5,consts:[["autocomplete","search-input-field","id","findInput","title","Find","data-l10n-id","find_input","name","search-input-field",1,"toolbarField",3,"placeholder"],["id","findInputMultiline","type","checkbox","placeholder","Multiple search terms. Each line is a search term.","data-l10n-id","find_input_line_by_line","lines","3",1,"toolbarField"]],template:function(e,t){1&e&&(us(0,"input",0),us(1,"textarea",1)),2&e&&(Fs("hidden",!t.pdfFindbarService.individualWordsMode),os("placeholder","Find in document\u2026"),xo(1),Fs("hidden",t.pdfFindbarService.individualWordsMode))},styles:["textarea[_ngcontent-%COMP%]{width:200px;height:3.5em}textarea[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#bfbfbf}textarea[_ngcontent-%COMP%]::-moz-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]:-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::placeholder{font-style:italic}"]}),RD),$O=((ID=function(){function e(){A(this,e),this.showSecondaryToolbarButton=!0}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ID)},ID.\u0275cmp=ft({type:ID,selectors:[["pdf-toggle-secondary-toolbar"]],inputs:{showSecondaryToolbarButton:"showSecondaryToolbarButton"},decls:5,vars:2,consts:[["type","button","id","secondaryToolbarToggle","title","Tools","data-l10n-id","tools",1,"toolbarButton"],["viewBox","0 0 24 24","onclick","event.preventDefault(); return false;",2,"width","27px","height","27px"],["fill","currentColor","d","M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"],["data-l10n-id","tools_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Tools"),ls(),ls()),2&e&&Fs("invisible",!t.showSecondaryToolbarButton)},styles:["svg[_ngcontent-%COMP%]{margin-top:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),ID),eM=((TD=function(){function e(){A(this,e),this.showSidebarButton=!0}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||TD)},TD.\u0275cmp=ft({type:TD,selectors:[["pdf-toggle-sidebar"]],inputs:{showSidebarButton:"showSidebarButton"},decls:5,vars:2,consts:[["type","button","id","sidebarToggle","title","Toggle Sidebar","data-l10n-id","toggle_sidebar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["data-l10n-id","toggle_sidebar_label"]],template:function(e,t){1&e&&(ss(0,"button",0),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Toggle Sidebar"),ls(),ls()),2&e&&Fs("invisible",!t.showSidebarButton)},styles:[$P]}),TD),tM=((MD=function e(){A(this,e),this.mobileFriendlyZoomScale=1,this.primaryMenuVisible=!0,this.showBookmarkButton=!0,this.showDownloadButton=!0,this.showFindButton=void 0,this.showHandToolButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showPagingButtons=!0,this.showPresentationModeButton=!1,this.showRotateButton=!0,this.showSecondaryToolbarButton=!0,this.showSidebarButton=!0,this.showZoomButtons=!0,this.textLayer=void 0,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}).\u0275fac=function(e){return new(e||MD)},MD.\u0275cmp=ft({type:MD,selectors:[["pdf-toolbar"]],inputs:{mobileFriendlyZoomScale:"mobileFriendlyZoomScale",primaryMenuVisible:"primaryMenuVisible",showBookmarkButton:"showBookmarkButton",showDownloadButton:"showDownloadButton",showFindButton:"showFindButton",showHandToolButton:"showHandToolButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showPagingButtons:"showPagingButtons",showPresentationModeButton:"showPresentationModeButton",showRotateButton:"showRotateButton",showSecondaryToolbarButton:"showSecondaryToolbarButton",showSidebarButton:"showSidebarButton",showZoomButtons:"showZoomButtons",textLayer:"textLayer",toolbarPaddingTop:"toolbarPaddingTop",toolbarWidth:"toolbarWidth",zoomLevels:"zoomLevels",customToolbar:"customToolbar"},ngContentSelectors:FP,decls:8,vars:11,consts:[[1,"toolbar"],["id","toolbarContainer"],[4,"ngTemplateOutlet"],["id","loadingBar"],[1,"progress"],[1,"glimmer"],["defaultToolbar",""],["id","toolbarViewer"],["id","toolbarViewerLeft"],[3,"showSidebarButton"],[3,"showFindButton","textLayer"],[3,"showPagingButtons"],[3,"showZoomButtons","zoomLevels"],["id","toolbarViewerRight"],[3,"showHandToolButton"],[3,"showSelectToolButton"],[3,"showRotateButton"],[3,"showPresentationModeButton"],[3,"showOpenFileButton"],[3,"showPrintButton"],[3,"showDownloadButton"],[3,"showBookmarkButton"],[3,"showSecondaryToolbarButton"]],template:function(e,t){if(1&e&&(As(),ss(0,"div",0),ss(1,"div",1),ns(2,eD,1,0,"ng-content",2),ss(3,"div",3),ss(4,"div",4),us(5,"div",5),ls(),ls(),ls(),ls(),ns(6,tD,16,15,"ng-template",null,6,tc)),2&e){var n=is(7);Fs("invisible",!t.primaryMenuVisible),xo(1),Ls("transform","scale("+t.mobileFriendlyZoomScale+")")("transform-origin","left center")("width",t.toolbarWidth)("padding-top",t.toolbarPaddingTop),xo(1),os("ngTemplateOutlet",t.customToolbar?t.customToolbar:n)}},directives:function(){return[Oh,eM,OO,YO,oM,wO,aM,KO,ZO,GO,XO,AO,_O,$O]},styles:[""]}),MD),nM=((OD=function(){function e(){A(this,e),this._zoomLevels=[]}return m(e,[{key:"zoomLevels",set:function(e){var t=this;this._zoomLevels=e.map(function(e){return t.valueToZoomLevel(e)})}},{key:"ngOnInit",value:function(){}},{key:"valueToZoomLevel",value:function(e){e.toString().endsWith("%")&&(e=e.toString().replace("%",""),e=Number(e)/100);var t=Number(e);if(!t){var n=String(e);return{id:this.snakeToCamel(e+"Option"),value:n,dataL10nId:"page_scale_"+n.replace("page-",""),dataL10nArgs:void 0,displayValue:n}}var i=Math.round(100*t);return{id:"scale_"+i,value:String(t),dataL10nId:"page_scale_percent",dataL10nArgs:'{ "scale": '.concat(i," }"),displayValue:String(i)+"%"}}},{key:"snakeToCamel",value:function(e){return e.replace(/([-_][a-z])/g,function(e){return e.toUpperCase().replace("-","").replace("_","")})}}]),e}()).\u0275fac=function(e){return new(e||OD)},OD.\u0275cmp=ft({type:OD,selectors:[["pdf-zoom-dropdown"]],viewQuery:function(e,t){var n;1&e&&Qu(nD,1),2&e&&Zu(n=Ku())&&(t.sizeSelector=n.first)},inputs:{zoomLevels:"zoomLevels"},decls:5,vars:1,consts:[["id","scaleSelectContainer",1,"dropdownToolbarButton"],["id","scaleSelect","title","Zoom","data-l10n-id","zoom"],["sizeSelector",""],[3,"id",4,"ngFor","ngForOf"],["id","customScaleOption","title","","value","custom","disabled","disabled","hidden","true"],[3,"id"]],template:function(e,t){1&e&&(ss(0,"span",0),ss(1,"select",1,2),ns(3,iD,2,5,"option",3),us(4,"option",4),ls(),ls()),2&e&&(xo(3),os("ngForOf",t._zoomLevels))},directives:[gh,ly,_y],styles:[".dropdownToolbarButton[_ngcontent-%COMP%]{display:table-cell;-webkit-appearance:none;width:150px;max-width:150px}.dropdownToolbarButton[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{width:170px}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){.dropdownToolbarButton[_ngcontent-%COMP%]::after{top:-1px}}"]}),OD),iM=((DD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||DD)},DD.\u0275cmp=ft({type:DD,selectors:[["pdf-zoom-in"]],decls:4,vars:0,consts:[["type","button","id","zoomIn","title","Zoom In","data-l10n-id","zoom_in",1,"toolbarButton","zoomIn"],["data-l10n-id","zoom_in_label"]],template:function(e,t){1&e&&(ss(0,"button",0),Qs(1," + "),ss(2,"span",1),Qs(3,"Zoom In"),ls(),ls())},styles:[""]}),DD),rM=((PD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||PD)},PD.\u0275cmp=ft({type:PD,selectors:[["pdf-zoom-out"]],decls:4,vars:0,consts:[["type","button","id","zoomOut","title","Zoom Out","data-l10n-id","zoom_out",1,"toolbarButton","zoomOut",2,"margin-top","2px"],["data-l10n-id","zoom_out_label"]],template:function(e,t){1&e&&(ss(0,"button",0),Qs(1," - "),ss(2,"span",1),Qs(3,"Zoom Out"),ls(),ls())},styles:[""]}),PD),oM=((ED=function e(){A(this,e),this.showZoomButtons=!0,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]}).\u0275fac=function(e){return new(e||ED)},ED.\u0275cmp=ft({type:ED,selectors:[["pdf-zoom-toolbar"]],inputs:{showZoomButtons:"showZoomButtons",zoomLevels:"zoomLevels"},decls:4,vars:3,consts:[["id","toolbarViewerMiddle"],[2,"width","unset","max-width","unset","padding-top","3px",3,"zoomLevels"]],template:function(e,t){1&e&&(ss(0,"div",0),us(1,"pdf-zoom-out"),us(2,"pdf-zoom-in"),us(3,"pdf-zoom-dropdown",1),ls()),2&e&&(Fs("invisible",!t.showZoomButtons),xo(3),os("zoomLevels",t.zoomLevels))},directives:[rM,iM,nM],styles:[""]}),ED),aM=((SD=function(){function e(t){var n=this;A(this,e),this.notificationService=t,this.showSelectToolButton=!0,this.isSelected=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return m(e,[{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("cursortoolchanged",function(t){var n=t.tool;return e.isSelected=n===wD.SELECT})}},{key:"onClick",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:wD.SELECT})}}]),e}()).\u0275fac=function(e){return new(e||SD)(rs(yD))},SD.\u0275cmp=ft({type:SD,selectors:[["pdf-select-tool"]],inputs:{showSelectToolButton:"showSelectToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorSelectTool","title","Enable text selection tool","data-l10n-id","cursor_text_select_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"]],template:function(e,t){1&e&&(ss(0,"button",0),ms("click",function(){return t.onClick()}),On(),ss(1,"svg",1),us(2,"path",2),ls(),Mn(),ss(3,"span",3),Qs(4,"Text selection tool"),ls(),ls()),2&e&&Fs("invisible",!t.showSelectToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0;margin-right:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),SD),sM=((CD=function(){function e(t,n){A(this,e),this.renderer=t,this.document=n,this.zoom=1,this.width=100,this.xs=490,this.sm=560,this.md=610,this.lg=660,this.xl=740,this.xxl=830}return m(e,[{key:"style",get:function(){return"\n@media all and (max-width: ".concat(this.xl,"px) {\n #toolbarViewerMiddle {\n display: table;\n margin: auto;\n left: auto;\n position: inherit;\n transform: none;\n }\n}\n\n@media all and (max-width: 840px) {\n #sidebarContent {\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {\n left: 0px !important;\n }\n html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {\n right: 0px !important;\n }\n\n #outerContainer .hiddenLargeView,\n #outerContainer .hiddenMediumView {\n display: inherit;\n }\n #outerContainer .visibleLargeView,\n #outerContainer .visibleMediumView {\n display: none;\n }\n}\n\n@media all and (max-width: ").concat(this.lg,"px) {\n .toolbarButtonSpacer {\n width: 15px;\n }\n\n #outerContainer .hiddenLargeView {\n display: none;\n }\n #outerContainer .visibleLargeView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.md,"px) {\n .toolbarButtonSpacer {\n display: none;\n }\n #outerContainer .hiddenMediumView {\n display: none;\n }\n #outerContainer .visibleMediumView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.sm,"px) {\n .hiddenSmallView,\n .hiddenSmallView * {\n display: none;\n }\n .visibleSmallView {\n display: inherit;\n }\n .toolbarButtonSpacer {\n width: 0;\n }\n html[dir='ltr'] .findbar {\n left: 38px;\n }\n html[dir='rtl'] .findbar {\n right: 38px;\n }\n}\n\n@media all and (max-width: ").concat(this.xs,"px) {\n #scaleSelectContainer {\n display: none;\n }\n}\n\n.visibleXLView,\n.visibleXXLView,\n.visibleTinyView {\n display: none;\n}\n\n.hiddenXLView,\n.hiddenXXLView {\n display: unset;\n}\n\n@media all and (max-width: ").concat(this.xl,"px) {\n #outerContainer .hiddenXLView {\n display: none;\n }\n #outerContainer .visibleXLView {\n display: inherit;\n }\n\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-36%);\n transform: translateX(-36%);\n display: unset;\n margin: unset;\n left: 50%;\n position: absolute;\n }\n}\n\n@media all and (max-width: ").concat(this.xxl,"px) {\n #outerContainer .hiddenXXLView {\n display: none;\n }\n #outerContainer .visibleXXLView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.md,"px) {\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-26%);\n transform: translateX(-26%);\n }\n}\n\n@media all and (max-width: ").concat(this.xs,"px) {\n .hiddenTinyView,\n .hiddenTinyView * {\n display: none;\n }\n .visibleTinyView {\n display: inherit;\n }\n}\n ")}},{key:"ngOnInit",value:function(){this.injectStyle()}},{key:"ngOnChanges",value:function(){var e=this.document.body.clientWidth/this.width*(this.zoom?this.zoom:1);this.xs=490*e,this.sm=560*e,this.md=610*e,this.lg=660*e,this.xl=740*e,this.xxl=830*e;var t=this.document.getElementById("pdf-dynamic-css");t&&(t.innerHTML=this.style)}},{key:"injectStyle",value:function(){var e=this.document.createElement("STYLE");e.id="pdf-dynamic-css",e.innerHTML=this.style,this.renderer.appendChild(this.document.head,e)}},{key:"ngOnDestroy",value:function(){var e=this.document.getElementById("pdf-dynamic-css");e&&e.parentElement&&e.parentElement.removeChild(e)}}]),e}()).\u0275fac=function(e){return new(e||CD)(rs(Pl),rs(od))},CD.\u0275cmp=ft({type:CD,selectors:[["pdf-dynamic-css"]],inputs:{zoom:"zoom",width:"width"},features:[Mt],decls:0,vars:0,template:function(e,t){},styles:[""]}),CD),lM=((AD=function(){function e(){var t=this;A(this,e),this.thumbnailDrawn=new Fu,this.top="32px",this._hideSidebarToolbar=!1,window.pdfThumbnailGeneratorReady=function(){return t.pdfThumbnailGeneratorReady()},window.pdfThumbnailGenerator=function(e,n,i,r,o){return t.createThumbnail(e,n,i,r,o)}}return m(e,[{key:"ngOnDestroy",value:function(){this.linkService=void 0}},{key:"pdfThumbnailGeneratorReady",value:function(){if(!this.thumbnailViewTemplate)return!1;var e=this.thumbnailViewTemplate.nativeElement;return!!e&&!!e.innerHTML&&e.innerHTML.length>0}},{key:"createThumbnail",value:function(e,t,n,i,r){this.linkService=t;var o=this.thumbnailViewTemplate.nativeElement.innerHTML.split(/_ng\w+-\w+-\w+=""/g).join("").split(/ng-\w+-\w+/g).join("").split(/<!--[\s\S]*?-->/g).join(""),a=e.canvasWidth+2+"px",s=e.canvasHeight+2+"px",l=o.split("WIDTH_OF_RING").join(a).split("HEIGHT_OF_RING").join(s).split("PAGE_NUMBER").join(n),u=this.createElementFromHTML(l);u.classList.remove("pdf-viewer-template");var c=u;c.href=t.getAnchorUrl("#page="+n),r.then(function(e){c.title=e}),c.onclick=function(){return t.page=n,!1},e.anchor=c;var d=u.getElementsByClassName("image-container")[0];e.ring=d,e.div=u.getElementsByClassName("thumbnail")[0],i.appendChild(u),this.thumbnailDrawn.emit({thumbnail:u,container:i,pageId:n})}},{key:"createElementFromHTML",value:function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}},{key:"onKeyDown",value:function(e){"ArrowDown"===e.code?this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=this.linkService.pagesCount:this.linkService.page<this.linkService.pagesCount&&(this.linkService.page=this.linkService.page+1),e.preventDefault()):"ArrowUp"===e.code&&this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=1:this.linkService.page>1&&(this.linkService.page=this.linkService.page-1),e.preventDefault())}},{key:"hideSidebarToolbar",set:function(e){this._hideSidebarToolbar=e,this.top=this._hideSidebarToolbar?"0":"32px"}}]),e}()).\u0275fac=function(e){return new(e||AD)},AD.\u0275cmp=ft({type:AD,selectors:[["pdf-sidebar-content"]],viewQuery:function(e,t){var n;1&e&&Qu(rD,1),2&e&&Zu(n=Ku())&&(t.thumbnailViewTemplate=n.first)},inputs:{hideSidebarToolbar:"hideSidebarToolbar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:FP,decls:10,vars:3,consts:[["id","sidebarContent"],["thumbnailViewTemplate",""],[4,"ngTemplateOutlet"],["id","thumbnailView",3,"keydown"],["id","outlineView",1,"hidden"],["id","attachmentsView",1,"hidden"],["id","layersView",1,"hidden"],["defaultThumbnail",""],[1,"pdf-viewer-template"],["data-page-number","$page",1,"thumbnail"],[1,"thumbnailSelectionRing","image-container",2,"width","WIDTH_OF_RING","height","HEIGHT_OF_RING"]],template:function(e,t){if(1&e&&(As(),ss(0,"div",0),ss(1,"div",null,1),ns(3,oD,1,0,"ng-content",2),ls(),ss(4,"div",3),ms("keydown",function(e){return t.onKeyDown(e)}),ls(),us(5,"div",4),us(6,"div",5),us(7,"div",6),ls(),ns(8,aD,3,0,"ng-template",null,7,tc)),2&e){var n=is(9);Ls("top",t.top),xo(3),os("ngTemplateOutlet",t.customThumbnail?t.customThumbnail:n)}},directives:[Oh],styles:[""]}),AD),uM=((xD=function(){function e(){A(this,e)}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||xD)},xD.\u0275cmp=ft({type:xD,selectors:[["pdf-sidebar-toolbar"]],decls:21,vars:0,consts:[["id","toolbarSidebar"],["type","button","id","viewThumbnail","title","Show Thumbnails","data-l10n-id","thumbs",1,"toolbarButton","toggled"],["data-l10n-id","thumbs_label"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z"],["type","button","id","viewOutline","title","Show Document Outline (double-click to expand/collapse all items)","data-l10n-id","document_outline","hidden","true",1,"toolbarButton"],["data-l10n-id","document_outline_label"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["type","button","id","viewAttachments","title","Show Attachments","data-l10n-id","attachments","hidden","true",1,"toolbarButton"],["data-l10n-id","attachments_label"],["fill","currentColor","d","M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"],["id","viewLayers","title","Show Layers (double-click to reset all layers to the default state)","data-l10n-id","layers","hidden","true",1,"toolbarButton"],["data-l10n-id","layers_label"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 4.233 4.233",2,"width","20px","height","20px"],["d","M.15 2.992c-.198.1-.2.266-.002.365l1.604.802a.93.93 0 00.729-.001l1.602-.801c.198-.1.197-.264 0-.364l-.695-.348c-1.306.595-2.542 0-2.542 0m-.264.53l.658-.329c.6.252 1.238.244 1.754 0l.659.329-1.536.768zM.15 1.935c-.198.1-.198.265 0 .364l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363l-.694-.35c-1.14.56-2.546.001-2.546.001m-.264.53l.664-.332c.52.266 1.261.235 1.75.002l.659.33-1.537.768zM.15.877c-.198.099-.198.264 0 .363l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363L2.481.075a.926.926 0 00-.727 0zm.43.182L2.117.29l1.538.769-1.538.768z"]],template:function(e,t){1&e&&(ss(0,"div",0),ss(1,"button",1),ss(2,"span",2),Qs(3,"Thumbnails"),ls(),On(),ss(4,"svg",3),us(5,"path",4),ls(),ls(),Mn(),ss(6,"button",5),ss(7,"span",6),Qs(8,"Document Outline"),ls(),On(),ss(9,"svg",3),us(10,"path",7),ls(),ls(),Mn(),ss(11,"button",8),ss(12,"span",9),Qs(13,"Attachments"),ls(),On(),ss(14,"svg",3),us(15,"path",10),ls(),ls(),Mn(),ss(16,"button",11),ss(17,"span",12),Qs(18,"Layers"),ls(),On(),ss(19,"svg",13),us(20,"path",14),ls(),ls(),ls())},styles:["button[_ngcontent-%COMP%]{margin-right:4px!important}div#toolbarSidebar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-child{margin-left:4px!important}"]}),xD),cM=((kD=function e(){A(this,e)}).\u0275fac=function(e){return new(e||kD)},kD.\u0275cmp=ft({type:kD,selectors:[["pdf-light-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(90, 90, 90)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#5a5a5a;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#5a5a5a;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:#fff!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#f9f9f9}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:#e3e1e6}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid #ddd}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:var(#e3e1e6);color:#5a5a5a;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#f9f9f9}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#f9f9f9;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#5a5a5a;color:#f9f9f9;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#5a5a5a;margin:0;padding:3px 2px 2px;border:none;background-color:#fff}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#f9f9f9}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:#fff;background-clip:padding-box;color:#5a5a5a;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#5a5a5a;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#f9f9f9;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#5a5a5a;font-size:12px;line-height:14px;background-color:#f9f9f9;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#f9f9f9;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),kD),dM=((_D=function e(){A(this,e)}).\u0275fac=function(e){return new(e||_D)},_D.\u0275cmp=ft({type:_D,selectors:[["pdf-dark-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(217, 217, 217)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#474747;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#474747;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:rgba(255,255,255,.09)!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#000}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#000;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:rgba(0,0,0,.1)}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid rgba(0,0,0,.5)}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:#424242;color:#d9d9d9;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#474747}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#474747;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#d9d9d9;color:#474747;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#d9d9d9;margin:0;padding:3px 2px 2px;border:none;background-color:rgba(255,255,255,.09)}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#474747}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:rgba(255,255,255,.09);background-clip:padding-box;color:#d9d9d9;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#424242;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#000;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#d9d9d9;font-size:12px;line-height:14px;background-color:#474747;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#000;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),_D);function hM(e,t,n){return!e||e.some(function(e){return function(e,t,n){var i,r=0;return(e=e.toLowerCase()).includes("ctrl+")&&(r|=1,e=e.replace("ctrl+","")),e.includes("cmd+")&&(r|=8,e=e.replace("cmd+","")),e.includes("alt+")&&(r|=2,e=e.replace("alt+","")),e.includes("shift+")&&(r|=4,e=e.replace("shift+","")),e.includes("meta+")&&(r|=8,e=e.replace("meta+","")),i="up"===e?38:"down"===e?40:"+"===e||'"+"'===e?171:"-"===e||'"-"'===e?173:"esc"===e?27:"enter"===e?13:"space"===e?32:"f4"===e?115:"backspace"===e?8:"home"===e?36:"end"===e?35:"left"===e?37:"right"===e?39:"pagedown"===e?34:"pageup"===e?33:e.toUpperCase().charCodeAt(0),"WHEEL"===n?"wheel"===e&&t===r:i===n&&t===r}(e,t,n)})}Promise.allSettled||window.Zone&&!window["__zone_symbol__Promise.allSettled"]&&console.error("Please update zone.js to version 0.10.3 or higher. Otherwise, you'll run the slow ECMAScript 5 version even on modern browser that can run the fast ESMAScript 2015 version."),"undefined"!=typeof window&&(window.isKeyIgnored=function(e,t){var n=window.PDFViewerApplicationOptions,i=n.get("ignoreKeys"),r=n.get("acceptKeys");return"WHEEL"===t?!!hM(i,e,"WHEEL")||!!(r&&r.length>0)&&!hM(r,e,"WHEEL"):16===t||17===t||18===t||224===t||!!n.get("ignoreKeyboard")||!!(i&&i.length>0&&hM(i,e,t))||!!(r&&r.length>0)&&!hM(r,e,t)});var fM,pM,gM,vM,mM,yM,bM,wM=((fM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||fM)},fM.\u0275mod=mt({type:fM}),fM.\u0275inj=Fe({providers:[bO,yD,Cd,{provide:md,useClass:xd}],imports:[[Zh,Dy]]}),fM),_M=["contentRef"],kM=["*"],xM=((vM=function(){function e(t){A(this,e),this.display="inline-block",this._dragDisabled=!1,this._elementRef=t}return m(e,[{key:"dragDisabled",get:function(){return this._dragDisabled},set:function(e){this._dragDisabled=e}}]),e}()).\u0275fac=function(e){return new(e||vM)(rs(Cl))},vM.\u0275dir=bt({type:vM,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(e,t){2&e&&Ls("display",t.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),vM=vx([mx(0,Ni(Cl)),yx("design:paramtypes",[Cl])],vM)),AM=((gM=function(){function e(t,n,i){A(this,e),this._elementRef=t,this._renderer=n,this._document=i,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.dsInitialized=new Fu,this.indexChanged=new Fu,this.reachesLeftBound=new Fu,this.reachesRightBound=new Fu,this.snapAnimationFinished=new Fu,this.dragStart=new Fu,this.dragEnd=new Fu,this.scrollbarWidth=this.getScrollbarWidth()+"px"}return m(e,[{key:"isDragging",get:function(){return this._isDragging}},{key:"currIndex",get:function(){return this._index},set:function(e){e!==this._index&&(this._index=e,this.indexChanged.emit(e))}},{key:"scrollbarHidden",get:function(){return this._scrollbarHidden},set:function(e){this._scrollbarHidden=e}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e}},{key:"xDisabled",get:function(){return this._xDisabled},set:function(e){this._xDisabled=e}},{key:"yDisabled",get:function(){return this._yDisabled},set:function(e){this._yDisabled=e}},{key:"xWheelEnabled",get:function(){return this._xWheelEnabled},set:function(e){this._xWheelEnabled=e}},{key:"dragDisabled",get:function(){return this._dragDisabled},set:function(e){this._dragDisabled=e}},{key:"snapDisabled",get:function(){return this._snapDisabled},set:function(e){this._snapDisabled=e}},{key:"snapOffset",get:function(){return this._snapOffset},set:function(e){this._snapOffset=e}},{key:"snapDuration",get:function(){return this._snapDuration},set:function(e){this._snapDuration=e}},{key:"ngOnChanges",value:function(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}},{key:"ngAfterViewInit",value:function(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType="undefined"!=typeof window?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen("document","dragstart",function(e){e.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild()}},{key:"ngAfterViewChecked",value:function(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}},{key:"ngOnDestroy",value:function(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}},{key:"onMouseMoveHandler",value:function(e){this.onMouseMove(e)}},{key:"onMouseMove",value:function(e){if(this.isPressed&&!this.disabled){if(!e.buttons&&!e.which)return this.onMouseUpHandler(e);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){var t=e.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-t+this.downX,this.downX=t}if(!this.yDisabled&&!this.dragDisabled){var n=e.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-n+this.downY,this.downY=n}}}},{key:"onMouseDownHandler",value:function(e){var t=this.locateDragScrollItem(e.target);if(!t||!t.dragDisabled){this._startGlobalListening("touchstart"===e.type),this.isPressed=!0;var n=e;this.downX=n.clientX,this.downY=n.clientY,clearTimeout(this.scrollToTimer)}}},{key:"onScrollHandler",value:function(){var e=this;this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(function(){e.isScrolling=!1,e.locateCurrentIndex(!0)},500))}},{key:"onMouseUpHandler",value:function(e){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}},{key:"moveLeft",value:function(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"moveRight",value:function(){var e=this.wrapper||this.parentNode,t=e?e.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex<this.maximumIndex(t,this._children.toArray())&&(this.currIndex++,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"moveTo",value:function(e){var t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;e>=0&&e!==this.currIndex&&this.currIndex<=this.maximumIndex(n,this._children.toArray())&&(this.currIndex=Math.min(e,this.maximumIndex(n,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"checkNavStatus",value:function(){var e=this;setTimeout(function(){var t=Boolean(e._children.length<=1),n=Boolean(e._contentRef.nativeElement.scrollWidth<=e._contentRef.nativeElement.clientWidth);t||n?(e.reachesLeftBound.emit(!0),e.reachesRightBound.emit(!0)):e.isScrollReachesRightEnd()?(e.reachesLeftBound.emit(!1),e.reachesRightBound.emit(!0)):0===e._contentRef.nativeElement.scrollLeft&&e._contentRef.nativeElement.scrollWidth>e._contentRef.nativeElement.clientWidth?(e.reachesLeftBound.emit(!0),e.reachesRightBound.emit(!1)):(e.reachesLeftBound.emit(!1),e.reachesRightBound.emit(!1))},0)}},{key:"onWheel",value:function(e){this._xWheelEnabled&&(e.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(e.deltaY,0):e.deltaY<0?this.moveLeft():e.deltaY>0&&this.moveRight())}},{key:"onWindowResize",value:function(){this.refreshWrapperDimensions(),this.checkNavStatus()}},{key:"_setIsDragging",value:function(e){this._isDragging!==e&&(this._isDragging=e,e?this.dragStart.emit():this.dragEnd.emit())}},{key:"_startGlobalListening",value:function(e){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",e?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",e?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}},{key:"_stopGlobalListening",value:function(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}},{key:"disableScroll",value:function(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"hidden")}},{key:"enableScroll",value:function(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"auto")}},{key:"hideScrollbar",value:function(){"none"===this._contentRef.nativeElement.style.display||this.wrapper||(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width","calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.setStyle(this._contentRef.nativeElement,"height","calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}},{key:"showScrollbar",value:function(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}},{key:"checkScrollbar",value:function(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":"calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":"calc(100% + ".concat(this.scrollbarWidth,")"))}},{key:"setScrollBar",value:function(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}},{key:"getScrollbarWidth",value:function(){var e=this._renderer.createElement("div");this._renderer.setStyle(e,"visibility","hidden"),this._renderer.setStyle(e,"width","100px"),this._renderer.setStyle(e,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,e);var t=e.offsetWidth;this._renderer.setStyle(e,"overflow","scroll");var n=this._renderer.createElement("div");this._renderer.setStyle(n,"width","100%"),this._renderer.appendChild(e,n);var i=n.offsetWidth;return this._renderer.removeChild(this._document.body,e),t-i||20}},{key:"refreshWrapperDimensions",value:function(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px"))}},{key:"scrollTo",value:function(e,t,n){var i=this;i.isAnimating=!0;var r=e.scrollLeft,o=t-r-this.snapOffset,a=0;!function t(){var s,l,u;a+=20,e.scrollLeft=(s=a,l=r,u=o,(s/=n/2)<1?u/2*s*s+l:-u/2*(--s*(s-2)-1)+l),a<n?i.scrollToTimer=setTimeout(t,20):setTimeout(function(){i.isAnimating=!1,i.snapAnimationFinished.emit(i.currIndex)},20)}()}},{key:"locateCurrentIndex",value:function(e){var t=this;this.currentChildWidth(function(n,i,r,o,a){t._contentRef.nativeElement.scrollLeft>=r&&t._contentRef.nativeElement.scrollLeft<=i?(i-t._contentRef.nativeElement.scrollLeft>n/2&&!t.isScrollReachesRightEnd()?(t.isAnimating||(t.currIndex=o),e&&t.scrollTo(t._contentRef.nativeElement,r,t.snapDuration)):0!==t._contentRef.nativeElement.scrollLeft&&(t.isAnimating||(t.currIndex=o+1),e&&t.scrollTo(t._contentRef.nativeElement,r+n,t.snapDuration)),a()):o+1===t._children.length-1&&(t.isAnimating||(t.currIndex=o+1),a())})}},{key:"currentChildWidth",value:function(e){for(var t=0,n=!1,i=function(){n=!0},r=this._children.toArray(),o=0;o<r.length&&o!==r.length-1&&!n;o++){var a=r[o]._elementRef.nativeElement.clientWidth;e(a,t+r[o+1]._elementRef.nativeElement.clientWidth,t,o,i),t+=a}}},{key:"toChildrenLocation",value:function(){for(var e=0,t=this._children.toArray(),n=0;n<this.currIndex;n++)e+=t[n]._elementRef.nativeElement.clientWidth;return e}},{key:"locateDragScrollItem",value:function(e){for(var t=null,n=this._children.toArray(),i=0;i<n.length;i++)e===n[i]._elementRef.nativeElement&&(t=n[i]);return t}},{key:"markElDimension",value:function(){this.wrapper?(this.elWidth=this.wrapper.style.width,this.elHeight=this.wrapper.style.height):(this.elWidth=this._elementRef.nativeElement.style.width||this._elementRef.nativeElement.offsetWidth+"px",this.elHeight=this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px");var e=this.wrapper||this.parentNode;this._children.length>1&&(this.indexBound=this.maximumIndex(e?e.clientWidth:0,this._children.toArray()))}},{key:"maximumIndex",value:function(e,t){for(var n=0,i=0,r=0;r<=t.length;r++){var o=t[t.length-1-r];if(!o)break;var a=o._elementRef.nativeElement,s=a.clientWidth;if(0===s&&a.firstElementChild&&(s=o._elementRef.nativeElement.firstElementChild.clientWidth),!((i+=s)<e))break;n++}return t.length-n}},{key:"isScrollReachesRightEnd",value:function(){return this._contentRef.nativeElement.scrollLeft+this._contentRef.nativeElement.offsetWidth>=this._contentRef.nativeElement.scrollWidth}},{key:"adjustMarginToLastChild",value:function(){if(this._children&&this._children.length>0&&this.hideScrollbar){var e=this._children.toArray();this._renderer.setStyle(e[e.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&e.length>1?this.scrollbarWidth:0)}}}]),e}()).\u0275fac=function(e){return new(e||gM)(rs(Cl),rs(Pl),rs(od))},gM.\u0275cmp=ft({type:gM,selectors:[["drag-scroll"]],contentQueries:function(e,t,n){var i;1&e&&Xu(n,xM,0),2&e&&Zu(i=Ku())&&(t._children=i)},viewQuery:function(e,t){var n;1&e&&Qu(_M,3),2&e&&Zu(n=Ku())&&(t._contentRef=n.first)},hostVars:2,hostBindings:function(e,t){1&e&&ms("wheel",function(e){return t.onWheel(e)})("resize",function(){return t.onWindowResize()},!1,Ir),2&e&&Ls("pointer-events",t._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[Mt],ngContentSelectors:kM,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(e,t){1&e&&(As(),ss(0,"div",0,1),Cs(2),ls())},styles:["[_nghost-%COMP%] {\n overflow: hidden;\n display: block;\n }\n .drag-scroll-content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n }"]}),gM=vx([mx(0,Ni(Cl)),mx(1,Ni(Pl)),mx(2,Ni(od)),yx("design:paramtypes",[Cl,Pl,Object])],gM)),CM=((pM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||pM)},pM.\u0275mod=mt({type:pM}),pM.\u0275inj=Fe({}),pM),SM=function(){function e(t,n){A(this,e),this.x=t,this.y=n}return m(e,[{key:"value",get:function(){return{x:this.x,y:this.y}}},{key:"add",value:function(e){return this.x+=e.x,this.y+=e.y,this}},{key:"subtract",value:function(e){return this.x-=e.x,this.y-=e.y,this}},{key:"multiply",value:function(e){this.x*=e,this.y*=e}},{key:"divide",value:function(e){this.x/=e,this.y/=e}},{key:"reset",value:function(){return this.x=0,this.y=0,this}},{key:"set",value:function(e){return this.x=e.x,this.y=e.y,this}}],[{key:"fromEvent",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.isMouseEvent(t))return new e(t.clientX,t.clientY);if(null===n||1===t.changedTouches.length)return new e(t.changedTouches[0].clientX,t.changedTouches[0].clientY);for(var i=0;i<t.changedTouches.length;i++)if(t.changedTouches[i].target===n)return new e(t.changedTouches[i].clientX,t.changedTouches[i].clientY)}},{key:"isMouseEvent",value:function(e){return 8===Object.prototype.toString.apply(e).indexOf("MouseEvent")}},{key:"isIPosition",value:function(e){return!!e&&"x"in e&&"y"in e}},{key:"getCurrent",value:function(t){var n=new e(0,0);if(window){var i=window.getComputedStyle(t);if(i){var r=parseInt(i.getPropertyValue("left"),10),o=parseInt(i.getPropertyValue("top"),10);n.x=isNaN(r)?0:r,n.y=isNaN(o)?0:o}return n}return console.error("Not Supported!"),null}},{key:"copy",value:function(t){return new e(0,0).set(t)}}]),e}(),EM=function(){function e(t,n){A(this,e),this.parent=t,this.renderer=n,this._added=!1;var i=n.createElement("div");n.setStyle(i,"position","absolute"),n.setStyle(i,"width","100%"),n.setStyle(i,"height","100%"),n.setStyle(i,"background-color","transparent"),n.setStyle(i,"top","0"),n.setStyle(i,"left","0"),this._helper=i}return m(e,[{key:"add",value:function(){this.parent&&!this._added&&(this.parent.appendChild(this._helper),this._added=!0)}},{key:"remove",value:function(){this.parent&&this._added&&(this.parent.removeChild(this._helper),this._added=!1)}},{key:"dispose",value:function(){this._helper=null,this._added=!1}},{key:"el",get:function(){return this._helper}}]),e}(),PM=((mM=function(){function e(t,n){A(this,e),this.el=t,this.renderer=n,this.allowDrag=!0,this.moving=!1,this.orignal=null,this.oldTrans=new SM(0,0),this.tempTrans=new SM(0,0),this.currTrans=new SM(0,0),this.oldZIndex="",this._zIndex="",this.needTransform=!1,this.draggingSub=null,this._helperBlock=null,this.started=new Fu,this.stopped=new Fu,this.edge=new Fu,this.outOfBounds={top:!1,right:!1,bottom:!1,left:!1},this.gridSize=1,this.inBounds=!1,this.trackPosition=!0,this.scale=1,this.preventDefaultEvent=!1,this.position={x:0,y:0},this.lockAxis=null,this.movingOffset=new Fu,this.endOffset=new Fu,this._helperBlock=new EM(t.nativeElement,n)}return m(e,[{key:"zIndex",set:function(e){this.renderer.setStyle(this.el.nativeElement,"z-index",e),this._zIndex=e}},{key:"ngDraggable",set:function(e){if(null!=e&&""!==e){this.allowDrag=!!e;var t=this.getDragEl();this.allowDrag?this.renderer.addClass(t,"ng-draggable"):(this.putBack(),this.renderer.removeClass(t,"ng-draggable"))}}},{key:"ngOnInit",value:function(){if(this.allowDrag){var e=this.getDragEl();this.renderer.addClass(e,"ng-draggable")}this.resetPosition()}},{key:"ngOnDestroy",value:function(){this.bounds=null,this.handle=null,this.orignal=null,this.oldTrans=null,this.tempTrans=null,this.currTrans=null,this._helperBlock.dispose(),this._helperBlock=null,this.draggingSub&&this.draggingSub.unsubscribe()}},{key:"ngOnChanges",value:function(e){if(e.position&&!e.position.isFirstChange()){var t=e.position.currentValue;this.moving?this.needTransform=!0:(SM.isIPosition(t)?this.oldTrans.set(t):this.oldTrans.reset(),this.transform())}}},{key:"ngAfterViewInit",value:function(){this.inBounds&&(this.boundsCheck(),this.oldTrans.add(this.tempTrans),this.tempTrans.reset())}},{key:"getDragEl",value:function(){return this.handle?this.handle:this.el.nativeElement}},{key:"resetPosition",value:function(){SM.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.tempTrans.reset(),this.transform()}},{key:"moveTo",value:function(e){this.orignal&&(e.subtract(this.orignal),this.tempTrans.set(e),this.tempTrans.divide(this.scale),this.transform(),this.bounds&&this.edge.emit(this.boundsCheck()),this.movingOffset.emit(this.currTrans.value))}},{key:"transform",value:function(){var e=this.tempTrans.x+this.oldTrans.x,t=this.tempTrans.y+this.oldTrans.y;"x"===this.lockAxis?(e=this.oldTrans.x,this.tempTrans.x=0):"y"===this.lockAxis&&(t=this.oldTrans.y,this.tempTrans.y=0),this.gridSize>1&&(e=Math.round(e/this.gridSize)*this.gridSize,t=Math.round(t/this.gridSize)*this.gridSize);var n="translate(".concat(Math.round(e),"px, ").concat(Math.round(t),"px)");this.renderer.setStyle(this.el.nativeElement,"transform",n),this.renderer.setStyle(this.el.nativeElement,"-webkit-transform",n),this.renderer.setStyle(this.el.nativeElement,"-ms-transform",n),this.renderer.setStyle(this.el.nativeElement,"-moz-transform",n),this.renderer.setStyle(this.el.nativeElement,"-o-transform",n),this.currTrans.x=e,this.currTrans.y=t}},{key:"pickUp",value:function(){if(this.oldZIndex=this.el.nativeElement.style.zIndex?this.el.nativeElement.style.zIndex:"",window&&(this.oldZIndex=window.getComputedStyle(this.el.nativeElement,null).getPropertyValue("z-index")),this.zIndexMoving&&this.renderer.setStyle(this.el.nativeElement,"z-index",this.zIndexMoving),!this.moving){this.started.emit(this.el.nativeElement),this.moving=!0;var e=this.getDragEl();this.renderer.addClass(e,"ng-dragging"),this.subscribeEvents()}}},{key:"subscribeEvents",value:function(){var e=this;this.draggingSub=Sx(document,"mousemove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)}),this.draggingSub.add(Sx(document,"touchmove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)})),this.draggingSub.add(Sx(document,"mouseup",{passive:!1}).subscribe(function(){return e.putBack()})),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(Sx(document,"mouseleave",{passive:!1}).subscribe(function(){return e.putBack()})),this.draggingSub.add(Sx(document,"touchend",{passive:!1}).subscribe(function(){return e.putBack()})),this.draggingSub.add(Sx(document,"touchcancel",{passive:!1}).subscribe(function(){return e.putBack()}))}},{key:"unsubscribeEvents",value:function(){this.draggingSub.unsubscribe(),this.draggingSub=null}},{key:"boundsCheck",value:function(){if(this.bounds){var e=this.bounds.getBoundingClientRect(),t=this.el.nativeElement.getBoundingClientRect(),n={top:!!this.outOfBounds.top||e.top<t.top,right:!!this.outOfBounds.right||e.right>t.right,bottom:!!this.outOfBounds.bottom||e.bottom>t.bottom,left:!!this.outOfBounds.left||e.left<t.left};return this.inBounds&&(n.top||(this.tempTrans.y-=(t.top-e.top)/this.scale),n.bottom||(this.tempTrans.y-=(t.bottom-e.bottom)/this.scale),n.right||(this.tempTrans.x-=(t.right-e.right)/this.scale),n.left||(this.tempTrans.x-=(t.left-e.left)/this.scale),this.transform()),n}}},{key:"getCurrentOffset",value:function(){return this.currTrans.value}},{key:"putBack",value:function(){if(this._zIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this._zIndex):this.zIndexMoving&&(this.oldZIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this.oldZIndex):this.el.nativeElement.style.removeProperty("z-index")),this.moving){this.stopped.emit(this.el.nativeElement),this._helperBlock.remove(),this.needTransform&&(SM.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.transform(),this.needTransform=!1),this.bounds&&this.edge.emit(this.boundsCheck()),this.moving=!1,this.endOffset.emit(this.currTrans.value),this.trackPosition&&this.oldTrans.add(this.tempTrans),this.tempTrans.reset(),this.trackPosition||this.transform();var e=this.getDragEl();this.renderer.removeClass(e,"ng-dragging"),this.unsubscribeEvents()}}},{key:"checkHandleTarget",value:function(e,t){if("BUTTON"===t.tagName)return!1;if(t===e)return!0;for(var n in t.children)if(t.children.hasOwnProperty(n)&&this.checkHandleTarget(e,t.children[n]))return!0;return!1}},{key:"onMouseDown",value:function(e){e instanceof MouseEvent&&2===e.button||(void 0===this.handle||this.checkHandleTarget(e.target||e.srcElement,this.handle))&&!1!==this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this.orignal=SM.fromEvent(e,this.getDragEl()),this.pickUp())}},{key:"onMouseMove",value:function(e){this.moving&&this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._helperBlock.add(),this.moveTo(SM.fromEvent(e,this.getDragEl())))}}]),e}()).\u0275fac=function(e){return new(e||mM)(rs(Cl),rs(Pl))},mM.\u0275dir=bt({type:mM,selectors:[["","ngDraggable",""]],hostBindings:function(e,t){1&e&&ms("mousedown",function(e){return t.onMouseDown(e)})("touchstart",function(e){return t.onMouseDown(e)})},inputs:{outOfBounds:"outOfBounds",gridSize:"gridSize",inBounds:"inBounds",trackPosition:"trackPosition",scale:"scale",preventDefaultEvent:"preventDefaultEvent",position:"position",lockAxis:"lockAxis",zIndex:"zIndex",ngDraggable:"ngDraggable",bounds:"bounds",handle:"handle",zIndexMoving:"zIndexMoving"},outputs:{started:"started",stopped:"stopped",edge:"edge",movingOffset:"movingOffset",endOffset:"endOffset"},exportAs:["ngDraggable"],features:[Mt]}),mM),DM=function(){function e(t,n,i,r,o){var a=this;A(this,e),this.parent=t,this.renderer=n,this.type=i,this.css=r,this.onMouseDown=o;var s=n.createElement("div");n.addClass(s,"ng-resizable-handle"),n.addClass(s,r),"se"===i&&n.addClass(s,"ng-resizable-diagonal"),this.parent&&t.appendChild(s),this._onResize=function(e){o(e,a)},s.addEventListener("mousedown",this._onResize,{passive:!1}),s.addEventListener("touchstart",this._onResize,{passive:!1}),this._handle=s}return m(e,[{key:"dispose",value:function(){this._handle.removeEventListener("mousedown",this._onResize),this._handle.removeEventListener("touchstart",this._onResize),this.parent&&this.parent.removeChild(this._handle),this._handle=null,this._onResize=null}},{key:"el",get:function(){return this._handle}}]),e}(),OM=function(){function e(t,n){A(this,e),this.width=t,this.height=n}return m(e,[{key:"set",value:function(e){return this.width=e.width,this.height=e.height,this}}],[{key:"getCurrent",value:function(t){var n=new e(0,0);if(window){var i=window.getComputedStyle(t);return i&&(n.width=parseInt(i.getPropertyValue("width"),10),n.height=parseInt(i.getPropertyValue("height"),10)),n}return console.error("Not Supported!"),null}},{key:"copy",value:function(t){return new e(0,0).set(t)}}]),e}(),MM=((bM=function(){function e(t,n){A(this,e),this.el=t,this.renderer=n,this._resizable=!0,this._handles={},this._handleType=[],this._handleResizing=null,this._direction=null,this._directionChanged=null,this._aspectRatio=0,this._containment=null,this._origMousePos=null,this._origSize=null,this._origPos=null,this._currSize=null,this._currPos=null,this._initSize=null,this._initPos=null,this._gridSize=null,this._bounding=null,this._helperBlock=null,this.draggingSub=null,this._adjusted=!1,this.rzHandles="e,s,se",this.rzAspectRatio=!1,this.rzContainment=null,this.rzGrid=null,this.rzMinWidth=null,this.rzMinHeight=null,this.rzMaxWidth=null,this.rzMaxHeight=null,this.preventDefaultEvent=!0,this.rzStart=new Fu,this.rzResizing=new Fu,this.rzStop=new Fu,this._helperBlock=new EM(t.nativeElement,n)}return m(e,[{key:"ngResizable",set:function(e){null!=e&&""!==e&&(this._resizable=!!e,this.updateResizable())}},{key:"ngOnChanges",value:function(e){e.rzHandles&&!e.rzHandles.isFirstChange()&&this.updateResizable(),e.rzAspectRatio&&!e.rzAspectRatio.isFirstChange()&&this.updateAspectRatio(),e.rzContainment&&!e.rzContainment.isFirstChange()&&this.updateContainment()}},{key:"ngOnInit",value:function(){this.updateResizable()}},{key:"ngOnDestroy",value:function(){this.removeHandles(),this._containment=null,this._helperBlock.dispose(),this._helperBlock=null}},{key:"ngAfterViewInit",value:function(){var e=this.el.nativeElement;this._initSize=OM.getCurrent(e),this._initPos=SM.getCurrent(e),this._currSize=OM.copy(this._initSize),this._currPos=SM.copy(this._initPos),this.updateAspectRatio(),this.updateContainment()}},{key:"resetSize",value:function(){this._currSize=OM.copy(this._initSize),this._currPos=SM.copy(this._initPos),this.doResize()}},{key:"getStatus",value:function(){return this._currPos&&this._currSize?{size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x}}:null}},{key:"updateResizable",value:function(){var e=this.el.nativeElement;this.renderer.removeClass(e,"ng-resizable"),this.removeHandles(),this._resizable&&(this.renderer.addClass(e,"ng-resizable"),this.createHandles())}},{key:"updateAspectRatio",value:function(){if("boolean"==typeof this.rzAspectRatio)this._aspectRatio=this.rzAspectRatio&&this._currSize.height?this._currSize.width/this._currSize.height:0;else{var e=Number(this.rzAspectRatio);this._aspectRatio=isNaN(e)?0:e}}},{key:"updateContainment",value:function(){this._containment=this.rzContainment?"string"==typeof this.rzContainment?"parent"===this.rzContainment?this.el.nativeElement.parentElement:document.querySelector(this.rzContainment):this.rzContainment:null}},{key:"createHandles",value:function(){if(this.rzHandles)if("string"==typeof this.rzHandles){var e,t=h("all"===this.rzHandles?["n","e","s","w","ne","se","nw","sw"]:this.rzHandles.replace(/ /g,"").toLowerCase().split(","));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=this.createHandleByType(n,"ng-resizable-"+n);i&&(this._handleType.push(n),this._handles[n]=i)}}catch(l){t.e(l)}finally{t.f()}}else{var r,o=h(Object.keys(this.rzHandles));try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this.createHandleByType(a,this.rzHandles[a]);s&&(this._handleType.push(a),this._handles[a]=s)}}catch(l){o.e(l)}finally{o.f()}}}},{key:"createHandleByType",value:function(e,t){var n=this.el.nativeElement;return e.match(/^(se|sw|ne|nw|n|e|s|w)$/)?new DM(n,this.renderer,e,t,this.onMouseDown.bind(this)):(console.error("Invalid handle type:",e),null)}},{key:"removeHandles",value:function(){var e,t=h(this._handleType);try{for(t.s();!(e=t.n()).done;){var n=e.value;this._handles[n].dispose()}}catch(i){t.e(i)}finally{t.f()}this._handleType=[],this._handles={}}},{key:"onMouseDown",value:function(e,t){e instanceof MouseEvent&&2===e.button||(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._handleResizing||(this._origMousePos=SM.fromEvent(e),this.startResize(t),this.subscribeEvents()))}},{key:"subscribeEvents",value:function(){var e=this;this.draggingSub=Sx(document,"mousemove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)}),this.draggingSub.add(Sx(document,"touchmove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)})),this.draggingSub.add(Sx(document,"mouseup",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(Sx(document,"mouseleave",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),this.draggingSub.add(Sx(document,"touchend",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),this.draggingSub.add(Sx(document,"touchcancel",{passive:!1}).subscribe(function(){return e.onMouseLeave()}))}},{key:"unsubscribeEvents",value:function(){this.draggingSub.unsubscribe(),this.draggingSub=null}},{key:"onMouseLeave",value:function(){this._handleResizing&&(this.stopResize(),this._origMousePos=null,this.unsubscribeEvents())}},{key:"onMouseMove",value:function(e){this._handleResizing&&this._resizable&&this._origMousePos&&this._origPos&&this._origSize&&(this.resizeTo(SM.fromEvent(e)),this.onResizing())}},{key:"startResize",value:function(e){var t=this.el.nativeElement;this._origSize=OM.getCurrent(t),this._origPos=SM.getCurrent(t),this._currSize=OM.copy(this._origSize),this._currPos=SM.copy(this._origPos),this._containment&&this.getBounding(),this.getGridSize(),this._helperBlock.add(),this._handleResizing=e,this.updateDirection(),this.rzStart.emit(this.getResizingEvent())}},{key:"stopResize",value:function(){this._helperBlock.remove(),this.rzStop.emit(this.getResizingEvent()),this._handleResizing=null,this._direction=null,this._origSize=null,this._origPos=null,this._containment&&this.resetBounding()}},{key:"onResizing",value:function(){this.rzResizing.emit(this.getResizingEvent())}},{key:"getResizingEvent",value:function(){return{host:this.el.nativeElement,handle:this._handleResizing?this._handleResizing.el:null,size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x},direction:Object.assign({},this._directionChanged)}}},{key:"updateDirection",value:function(){this._direction={n:!!this._handleResizing.type.match(/n/),s:!!this._handleResizing.type.match(/s/),w:!!this._handleResizing.type.match(/w/),e:!!this._handleResizing.type.match(/e/)},this._directionChanged=Object.assign({},this._direction),this.rzAspectRatio&&(this._directionChanged.n&&!this._directionChanged.e&&(this._directionChanged.w=!0),this._directionChanged.s&&!this._directionChanged.w&&(this._directionChanged.e=!0),this._directionChanged.e&&!this._directionChanged.n&&(this._directionChanged.s=!0),this._directionChanged.w&&!this._directionChanged.n&&(this._directionChanged.s=!0))}},{key:"resizeTo",value:function(e){e.subtract(this._origMousePos);var t=Math.round(e.x/this._gridSize.x)*this._gridSize.x,n=Math.round(e.y/this._gridSize.y)*this._gridSize.y;this._direction.n?(this._currPos.y=this._origPos.y+n,this._currSize.height=this._origSize.height-n):this._direction.s&&(this._currSize.height=this._origSize.height+n),this._direction.e?this._currSize.width=this._origSize.width+t:this._direction.w&&(this._currSize.width=this._origSize.width-t,this._currPos.x=this._origPos.x+t),this.checkBounds(),this.checkSize(),this.adjustByRatio(),this.doResize()}},{key:"doResize",value:function(){var e=this.el.nativeElement;(!this._direction||this._direction.n||this._direction.s||this._aspectRatio)&&this.renderer.setStyle(e,"height",this._currSize.height+"px"),(!this._direction||this._direction.w||this._direction.e||this._aspectRatio)&&this.renderer.setStyle(e,"width",this._currSize.width+"px"),this.renderer.setStyle(e,"left",this._currPos.x+"px"),this.renderer.setStyle(e,"top",this._currPos.y+"px")}},{key:"adjustByRatio",value:function(){if(this._aspectRatio&&!this._adjusted)if(this._direction.e||this._direction.w){var e=Math.floor(this._currSize.width/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-e),this._currSize.height=e}else{var t=Math.floor(this._aspectRatio*this._currSize.height);this._direction.n&&(this._currPos.x+=this._currSize.width-t),this._currSize.width=t}}},{key:"checkBounds",value:function(){if(this._containment){var e=this._bounding.width-this._bounding.pr-this._bounding.deltaL-this._bounding.translateX-this._currPos.x,t=this._bounding.height-this._bounding.pb-this._bounding.deltaT-this._bounding.translateY-this._currPos.y;if(this._direction.n&&this._currPos.y+this._bounding.translateY<0&&(this._currPos.y=-this._bounding.translateY,this._currSize.height=this._origSize.height+this._origPos.y+this._bounding.translateY),this._direction.w&&this._currPos.x+this._bounding.translateX<0&&(this._currPos.x=-this._bounding.translateX,this._currSize.width=this._origSize.width+this._origPos.x+this._bounding.translateX),this._currSize.width>e&&(this._currSize.width=e),this._currSize.height>t&&(this._currSize.height=t),this._aspectRatio){if(this._adjusted=!1,(this._direction.w||this._direction.e)&&this._currSize.width/this._aspectRatio>=t){var n=Math.floor(t*this._aspectRatio);this._direction.w&&(this._currPos.x+=this._currSize.width-n),this._currSize.width=n,this._currSize.height=t,this._adjusted=!0}if((this._direction.n||this._direction.s)&&this._currSize.height*this._aspectRatio>=e){var i=Math.floor(e/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-i),this._currSize.width=e,this._currSize.height=i,this._adjusted=!0}}}}},{key:"checkSize",value:function(){var e=this.rzMinHeight?this.rzMinHeight:1,t=this.rzMinWidth?this.rzMinWidth:1;this._currSize.height<e&&(this._currSize.height=e,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-e))),this._currSize.width<t&&(this._currSize.width=t,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-t))),this.rzMaxHeight&&this._currSize.height>this.rzMaxHeight&&(this._currSize.height=this.rzMaxHeight,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-this.rzMaxHeight))),this.rzMaxWidth&&this._currSize.width>this.rzMaxWidth&&(this._currSize.width=this.rzMaxWidth,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-this.rzMaxWidth)))}},{key:"getBounding",value:function(){var e=this._containment,t=window.getComputedStyle(e);if(t){var n=t.getPropertyValue("position"),i=window.getComputedStyle(this.el.nativeElement).getPropertyValue("transform").replace(/[^-\d,]/g,"").split(",");this._bounding={},this._bounding.width=e.clientWidth,this._bounding.height=e.clientHeight,this._bounding.pr=parseInt(t.getPropertyValue("padding-right"),10),this._bounding.pb=parseInt(t.getPropertyValue("padding-bottom"),10),this._bounding.deltaL=this.el.nativeElement.offsetLeft-this._currPos.x,this._bounding.deltaT=this.el.nativeElement.offsetTop-this._currPos.y,i.length>=6?(this._bounding.translateX=parseInt(i[4],10),this._bounding.translateY=parseInt(i[5],10)):(this._bounding.translateX=0,this._bounding.translateY=0),this._bounding.position=t.getPropertyValue("position"),"static"===n&&this.renderer.setStyle(e,"position","relative")}}},{key:"resetBounding",value:function(){this._bounding&&"static"===this._bounding.position&&this.renderer.setStyle(this._containment,"position","relative"),this._bounding=null}},{key:"getGridSize",value:function(){this._gridSize={x:1,y:1},this.rzGrid&&("number"==typeof this.rzGrid?this._gridSize={x:this.rzGrid,y:this.rzGrid}:Array.isArray(this.rzGrid)&&(this._gridSize={x:this.rzGrid[0],y:this.rzGrid[1]}))}}]),e}()).\u0275fac=function(e){return new(e||bM)(rs(Cl),rs(Pl))},bM.\u0275dir=bt({type:bM,selectors:[["","ngResizable",""]],inputs:{rzHandles:"rzHandles",rzAspectRatio:"rzAspectRatio",rzContainment:"rzContainment",rzGrid:"rzGrid",rzMinWidth:"rzMinWidth",rzMinHeight:"rzMinHeight",rzMaxWidth:"rzMaxWidth",rzMaxHeight:"rzMaxHeight",preventDefaultEvent:"preventDefaultEvent",ngResizable:"ngResizable"},outputs:{rzStart:"rzStart",rzResizing:"rzResizing",rzStop:"rzStop"},exportAs:["ngResizable"],features:[Mt]}),bM),TM=((yM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||yM)},yM.\u0275mod=mt({type:yM}),yM.\u0275inj=Fe({imports:[[]]}),yM);function IM(e,t){return function(n,i){t(n,i,e)}}var RM,LM=((RM=function(){function e(t,n){A(this,e),this.document=t,this.platformId=n,this.documentIsAccessible=Qh(this.platformId)}return m(e,[{key:"check",value:function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}},{key:"get",value:function(e){if(!this.documentIsAccessible||!this.check(e))return"";e=encodeURIComponent(e);var t=this.getCookieRegExp(e).exec(this.document.cookie);try{return decodeURIComponent(t[1])}catch(n){return t[1]}}},{key:"getAll",value:function(){if(!this.documentIsAccessible)return{};var e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(function(t){var n=f(t.split("="),2),i=n[0],r=n[1];e[decodeURIComponent(i.replace(/^ /,""))]=decodeURIComponent(r)}),e}},{key:"set",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"Lax";if(this.documentIsAccessible){var s=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";n&&(s+="number"==typeof n?"expires="+new Date((new Date).getTime()+1e3*n*60*60*24).toUTCString()+";":"expires="+n.toUTCString()+";"),i&&(s+="path="+i+";"),r&&(s+="domain="+r+";"),!1===o&&"None"===a&&(o=!0,console.warn("[ngx-cookie-service] Cookie ".concat(e," was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130"))),o&&(s+="secure;"),s+="sameSite="+a+";",this.document.cookie=s}}},{key:"delete",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";this.documentIsAccessible&&this.set(e,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),t,n,i,r)}},{key:"deleteAll",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var o in r)r.hasOwnProperty(o)&&this.delete(o,e,t,n,i)}}},{key:"getCookieRegExp",value:function(e){var t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}}]),e}()).\u0275fac=function(e){return new(e||RM)(Ri(od),Ri(uc))},RM.\u0275prov=Re({factory:function(){return new RM(Ri(od),Ri(uc))},token:RM,providedIn:"root"}),RM=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([IM(0,Ni(od)),IM(1,Ni(uc))],RM));function FM(e){return"string"==typeof e}var BM,zM,VM,NM,HM,jM,UM,WM,GM,qM,YM=((qM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||qM)},qM.\u0275mod=mt({type:qM}),qM.\u0275inj=Fe({imports:[[]]}),qM),ZM=((GM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||GM)},GM.\u0275mod=mt({type:GM}),GM.\u0275inj=Fe({imports:[[]]}),GM),QM=((WM=function(){function e(){A(this,e)}return m(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!FM(e))return e;if(e.length>t){if(i)return e.slice(0,t)+n;if(~e.indexOf(" ",t))return e.slice(0,e.indexOf(" ",t))+n}return e}}]),e}()).\u0275fac=function(e){return new(e||WM)},WM.\u0275pipe=wt({name:"shorten",type:WM,pure:!0}),WM),XM=((UM=function(){function e(){A(this,e)}return m(e,[{key:"transform",value:function(e){return FM(e)?function(e){var t,n=e.split(/\s/g),i=g(t=n)||w(t)||b(t)||p(),r=i[0],o=i.slice(1);return[r.toLowerCase().split(/(?=['|-])/g).map(function(e){return e.indexOf("-")+e.indexOf("'")>-2?e.slice(0,2).toUpperCase()+e.slice(2):e.slice(0,1).toUpperCase()+e.slice(1)}).join("")].concat(y(o)).join(" ")}(e):e}}]),e}()).\u0275fac=function(e){return new(e||UM)},UM.\u0275pipe=wt({name:"ucfirst",type:UM,pure:!0}),UM),KM=((jM=function(){function e(){A(this,e),this.latinMap={"\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":"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","\u1e9e":"SS","\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":"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","\xdf":"ss","\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"}}return m(e,[{key:"transform",value:function(e){var t=this;return FM(e)?e.replace(/[^A-Za-z0-9]/g,function(e){return t.latinMap[e]||e}):e}}]),e}()).\u0275fac=function(e){return new(e||jM)},jM.\u0275pipe=wt({name:"latinise",type:jM,pure:!0}),jM),JM=((HM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||HM)},HM.\u0275mod=mt({type:HM}),HM.\u0275inj=Fe({imports:[[]]}),HM),$M=((NM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||NM)},NM.\u0275mod=mt({type:NM}),NM.\u0275inj=Fe({imports:[[]]}),NM),eT=((VM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||VM)},VM.\u0275mod=mt({type:VM}),VM.\u0275inj=Fe({imports:[[]]}),VM),tT=((zM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||zM)},zM.\u0275mod=mt({type:zM}),zM.\u0275inj=Fe({imports:[[]]}),zM),nT=((BM=function e(){A(this,e)}).\u0275fac=function(e){return new(e||BM)},BM.\u0275mod=mt({type:BM}),BM.\u0275inj=Fe({imports:[YM,JM,$M,eT,ZM,tT]}),BM);function iT(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.length?n.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var rT=new CE(kE);function oT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rT;return function(n){return n.lift(new sT(e,t))}}var aT,sT=function(){function e(t,n){A(this,e),this.dueTime=t,this.scheduler=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new lT(e,this.dueTime,this.scheduler))}}]),e}(),lT=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return m(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(uT,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(I);function uT(e){e.debouncedNext()}function cT(e){return null!=e&&""+e!="false"}function dT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function hT(e){return Array.isArray(e)?e:[e]}function fT(e){return null==e?"":"string"==typeof e?e:e+"px"}function pT(e){return e instanceof Cl?e.nativeElement:e}try{aT="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(wQ){aT=!1}var gT,vT,mT,yT,bT=function(){var e=function e(t){A(this,e),this._platformId=t,this.isBrowser=this._platformId?Qh(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&&!aT)&&"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.\u0275fac=function(t){return new(t||e)(Ri(uc))},e.\u0275prov=Re({factory:function(){return new e(Ri(uc))},token:e,providedIn:"root"}),e}(),wT=((yT=function e(){A(this,e)}).\u0275fac=function(e){return new(e||yT)},yT.\u0275mod=mt({type:yT}),yT.\u0275inj=Fe({}),yT);function _T(e){return function(){if(null==gT&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return gT=!0}}))}finally{gT=gT||!1}return gT}()?e:!!e.capture}function kT(e){if(function(){if(null==mT){var e="undefined"!=typeof document?document.head:null;mT=!(!e||!e.createShadowRoot&&!e.attachShadow)}return mT}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}var xT,AT,CT,ST,ET=((ST=function(){function e(){A(this,e)}return m(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||ST)},ST.\u0275prov=Re({factory:function(){return new ST},token:ST,providedIn:"root"}),ST),PT=((CT=function(){function e(t){A(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return m(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=pT(e);return new z(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new W,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,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}()).\u0275fac=function(e){return new(e||CT)(Ri(ET))},CT.\u0275prov=Re({factory:function(){return new CT(Ri(ET))},token:CT,providedIn:"root"}),CT),DT=((AT=function(){function e(t,n,i){A(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new Fu,this._disabled=!1,this._currentSubscription=null}return m(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=cT(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=dT(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(oT(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||AT)(rs(PT),rs(Cl),rs(Ac))},AT.\u0275dir=bt({type:AT,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),AT),OT=((xT=function e(){A(this,e)}).\u0275fac=function(e){return new(e||xT)},xT.\u0275mod=mt({type:xT}),xT.\u0275inj=Fe({providers:[ET]}),xT);function MT(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var TT,IT=0,RT=new Map,LT=null,FT=((TT=function(){function e(t){A(this,e),this._document=t}return m(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=BT(t,n);"string"!=typeof t?(zT(t),RT.set(i,{messageElement:t,referenceCount:0})):RT.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=BT(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=RT.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}LT&&0===LT.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");LT&&this._deleteMessagesContainer(),RT.clear()}},{key:"_createMessageElement",value:function(e,t){var n=this._document.createElement("div");zT(n),n.textContent=e,t&&n.setAttribute("role",t),this._createMessagesContainer(),LT.appendChild(n),RT.set(BT(e,t),{messageElement:n,referenceCount:0})}},{key:"_deleteMessageElement",value:function(e){var t=RT.get(e),n=t&&t.messageElement;LT&&n&<.removeChild(n),RT.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!LT){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode&&e.parentNode.removeChild(e),(LT=this._document.createElement("div")).id="cdk-describedby-message-container",LT.style.visibility="hidden",LT.classList.add("cdk-visually-hidden"),this._document.body.appendChild(LT)}}},{key:"_deleteMessagesContainer",value:function(){LT&<.parentNode&&(LT.parentNode.removeChild(LT),LT=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=MT(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,i,r,o,a=RT.get(t);n=e,i="aria-describedby",r=a.messageElement.id,(o=MT(n,i)).some(function(e){return e.trim()==r.trim()})||(o.push(r.trim()),n.setAttribute(i,o.join(" "))),e.setAttribute("cdk-describedby-host",""),a.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,i,r,o,a=RT.get(t);a.referenceCount--,n=e,i="aria-describedby",r=a.messageElement.id,(o=MT(n,i).filter(function(e){return e!=r.trim()})).length?n.setAttribute(i,o.join(" ")):n.removeAttribute(i),e.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=MT(e,"aria-describedby"),i=RT.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}]),e}()).\u0275fac=function(e){return new(e||TT)(Ri(od))},TT.\u0275prov=Re({factory:function(){return new TT(Ri(od))},token:TT,providedIn:"root"}),TT);function BT(e,t){return"string"==typeof e?"".concat(t||"","/").concat(e):e}function zT(e){e.id||(e.id="cdk-describedby-message-"+IT++)}var VT,NT=function(){function e(t){var n=this;A(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W,this._typeaheadSubscription=O.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new W,this.change=new W,t instanceof zu&&t.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return m(e,[{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;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(uw(function(t){return e._pressedLetters.push(t)}),oT(t),Ry(function(){return e._pressedLetters.length>0}),Y(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i<n.length+1;i++){var r=(e._activeItemIndex+i)%n.length,o=n[r];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(r);break}}e._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||iT(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&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:"isTyping",value:function(){return this._pressedLetters.length>0}},{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),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{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 i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{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 zu?this._items.toArray():this._items}}]),e}(),HT=function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),i(c(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(NT),jT=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments))._origin="program",e}return m(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){i(c(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(NT),UT=((VT=function(){function e(t){A(this,e),this._platform=t}return m(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(wQ){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===GT(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=GT(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(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))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){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")||WT(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}()).\u0275fac=function(e){return new(e||VT)(Ri(bT))},VT.\u0275prov=Re({factory:function(){return new VT(Ri(bT))},token:VT,providedIn:"root"}),VT);function WT(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 GT(e){if(!WT(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var qT,YT=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];A(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return m(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{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,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(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),!this._checker.isFocusable(e)){var t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return 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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Hb(1)).subscribe(e)}}]),e}(),ZT=((qT=function(){function e(t,n,i){A(this,e),this._checker=t,this._ngZone=n,this._document=i}return m(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new YT(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||qT)(Ri(UT),Ri(Ac),Ri(od))},qT.\u0275prov=Re({factory:function(){return new qT(Ri(UT),Ri(Ac),Ri(od))},token:qT,providedIn:"root"}),qT);"undefined"!=typeof Element&∈var QT,XT=new mi("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),KT=new mi("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),JT=((QT=function(){function e(t,n,i,r){A(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return m(e,[{key:"announce",value:function(e){for(var t,n,i,r=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]?i=s[0]:(n=(t=f(s,2))[0],i=t[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=o&&o.politeness?o.politeness:"polite"),null==i&&o&&(i=o.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=e,t(),"number"==typeof i&&(r._previousTimeout=setTimeout(function(){return r.clear()},i))},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}}]),e}()).\u0275fac=function(e){return new(e||QT)(Ri(XT,8),Ri(Ac),Ri(od),Ri(KT,8))},QT.\u0275prov=Re({factory:function(){return new QT(Ri(XT,8),Ri(Ac),Ri(od),Ri(KT,8))},token:QT,providedIn:"root"}),QT);function $T(e){return 0===e.buttons}function eI(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}var tI,nI=new mi("cdk-focus-monitor-default-options"),iI=_T({passive:!0,capture:!0}),rI=((tI=function(){function e(t,n,i,r){var o=this;A(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=$T(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){eI(e)?o._lastTouchTarget||o._setOriginForCurrentEventQueue("keyboard"):(null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=oI(e),o._touchTimeoutId=setTimeout(function(){return o._lastTouchTarget=null},650))},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout(function(){return o._windowFocused=!1})},this._rootNodeFocusAndBlurListener=function(e){for(var t=oI(e),n="focus"===e.type?o._onFocus:o._onBlur,i=t;i;i=i.parentElement)n.call(o,e,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return m(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=pT(e);if(!this._platform.isBrowser||1!==n.nodeType)return Ty(null);var i=kT(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var o={checkChildren:t,subject:new W,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(e){var t=pT(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=pT(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=f(e,2),r=n[0],o=n[1];return i._originChanged(r,t,o)}):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=oI(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===oI(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,iI),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,iI)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,iI),e.addEventListener("mousedown",t._documentMousedownListener,iI),e.addEventListener("touchstart",t._documentTouchstartListener,iI),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,iI),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,iI),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,iI),i.removeEventListener("mousedown",this._documentMousedownListener,iI),i.removeEventListener("touchstart",this._documentTouchstartListener,iI),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}()).\u0275fac=function(e){return new(e||tI)(Ri(Ac),Ri(bT),Ri(od,8),Ri(nI,8))},tI.\u0275prov=Re({factory:function(){return new tI(Ri(Ac),Ri(bT),Ri(od,8),Ri(nI,8))},token:tI,providedIn:"root"}),tI);function oI(e){return e.composedPath?e.composedPath()[0]:e.target}var aI,sI,lI,uI,cI=((sI=function(){function e(t,n){A(this,e),this._platform=t,this._document=n}return m(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||sI)(Ri(bT),Ri(od))},sI.\u0275prov=Re({factory:function(){return new sI(Ri(bT),Ri(od))},token:sI,providedIn:"root"}),sI),dI=((aI=function e(t){A(this,e),t._applyBodyHighContrastModeCssClasses()}).\u0275fac=function(e){return new(e||aI)(Ri(cI))},aI.\u0275mod=mt({type:aI}),aI.\u0275inj=Fe({imports:[[wT,OT]]}),aI),hI=new mi("cdk-dir-doc",{providedIn:"root",factory:function(){return Li(od)}}),fI=((uI=function(){function e(t){if(A(this,e),this.value="ltr",this.change=new Fu,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return m(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||uI)(Ri(hI,8))},uI.\u0275prov=Re({factory:function(){return new uI(Ri(hI,8))},token:uI,providedIn:"root"}),uI),pI=((lI=function e(){A(this,e)}).\u0275fac=function(e){return new(e||lI)},lI.\u0275mod=mt({type:lI}),lI.\u0275inj=Fe({}),lI),gI=new Ml("11.2.5");function vI(e,t){if(1&e&&us(0,"mat-pseudo-checkbox",4),2&e){var n=ks();os("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function mI(e,t){if(1&e&&(ss(0,"span",5),Qs(1),ls()),2&e){var n=ks();xo(1),Ks("(",n.group.label,")")}}var yI,bI=["*"],wI=function(){var e=function e(){A(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}(),_I=function(){var e=function e(){A(this,e)};return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),kI=new Ml("11.2.5"),xI=new mi("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),AI=((yI=function(){function e(t,n,i){A(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return m(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Bc()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!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._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&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(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&kI.full!==gI.full&&console.warn("The Angular Material version ("+kI.full+") does not match the Angular CDK version ("+gI.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275fac=function(e){return new(e||yI)(Ri(cI),Ri(xI,8),Ri(od))},yI.\u0275mod=mt({type:yI}),yI.\u0275inj=Fe({imports:[[pI],pI]}),yI);function CI(e){return function(e){r(n,e);var t=a(n);function n(){var e;A(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._disabled=!1,e}return m(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=cT(e)}}]),n}(e)}function SI(e,t){return function(e){r(i,e);var n=a(i);function i(){var e;A(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).defaultColor=t,e.color=t,e}return m(i,[{key:"color",get:function(){return this._color},set:function(e){var t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}]),i}(e)}function EI(e){return function(e){r(n,e);var t=a(n);function n(){var e;A(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._disableRipple=!1,e}return m(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=cT(e)}}]),n}(e)}function PI(e){return function(e){r(n,e);var t=a(n);function n(){var e;A(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new z(function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)}),e}return m(n,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}]),n}(e)}try{"undefined"!=typeof Intl}catch(wQ){!1}var DI,OI,MI,TI,II,RI,LI,FI,BI,zI=((OI=function(){function e(){A(this,e)}return m(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}()).\u0275fac=function(e){return new(e||OI)},OI.\u0275prov=Re({factory:function(){return new OI},token:OI,providedIn:"root"}),OI),VI=((DI=function e(){A(this,e)}).\u0275fac=function(e){return new(e||DI)},DI.\u0275mod=mt({type:DI}),DI.\u0275inj=Fe({imports:[[AI],AI]}),DI),NI=function(){function e(t,n,i){A(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return m(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),HI={enterDuration:450,exitDuration:400},jI=_T({passive:!0}),UI=["mousedown","touchstart"],WI=["mouseup","mouseleave","touchend","touchcancel"],GI=function(){function e(t,n,i,r){A(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=pT(i))}return m(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},HI),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,l=t-r.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",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var d=new NI(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(function(){var e=d===n._mostRecentTransientRipple;d.state=1,i.persistent||e&&n._isPointerDown||d.fadeOut()},u),d}},{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,i=Object.assign(Object.assign({},HI),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=pT(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(UI))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(WI),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=$T(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled&&!eI(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{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:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,jI)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(UI.forEach(function(t){e._triggerElement.removeEventListener(t,e,jI)}),this._pointerUpEventsRegistered&&WI.forEach(function(t){e._triggerElement.removeEventListener(t,e,jI)}))}}]),e}(),qI=new mi("mat-ripple-global-options"),YI=((RI=function(){function e(t,n,i,r,o){A(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new GI(this,n,t,i)}return m(e,[{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(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),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(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}()).\u0275fac=function(e){return new(e||RI)(rs(Cl),rs(Ac),rs(bT),rs(qI,8),rs(_v,8))},RI.\u0275dir=bt({type:RI,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&Fs("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),RI),ZI=((II=function e(){A(this,e)}).\u0275fac=function(e){return new(e||II)},II.\u0275mod=mt({type:II}),II.\u0275inj=Fe({imports:[[AI,wT],AI]}),II),QI=((TI=function e(t){A(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}).\u0275fac=function(e){return new(e||TI)(rs(_v,8))},TI.\u0275cmp=ft({type:TI,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&Fs("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),TI),XI=((MI=function e(){A(this,e)}).\u0275fac=function(e){return new(e||MI)},MI.\u0275mod=mt({type:MI}),MI.\u0275inj=Fe({imports:[[AI]]}),MI),KI=new mi("MAT_OPTION_PARENT_COMPONENT"),JI=CI(function e(){A(this,e)}),$I=0,eR=((LI=function(e){r(n,e);var t=a(n);function n(e){var i,r;return A(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+$I++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(JI)).\u0275fac=function(e){return new(e||LI)(rs(KI,8))},LI.\u0275dir=bt({type:LI,inputs:{label:"label"},features:[za]}),LI),tR=new mi("MatOptgroup"),nR=0,iR=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];A(this,e),this.source=t,this.isUserInput=n},rR=((BI=function(){function e(t,n,i,r){A(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+nR++,this.onSelectionChange=new Fu,this._stateChanges=new W}return m(e,[{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=cT(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){13!==e.keyCode&&32!==e.keyCode||iT(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 iR(this,e))}}]),e}()).\u0275fac=function(e){return new(e||BI)(rs(Cl),rs(Kl),rs(void 0),rs(eR))},BI.\u0275dir=bt({type:BI,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),BI),oR=((FI=function(e){r(n,e);var t=a(n);function n(e,i,r,o){return A(this,n),t.call(this,e,i,r,o)}return n}(rR)).\u0275fac=function(e){return new(e||FI)(rs(Cl),rs(Kl),rs(KI,8),rs(tR,8))},FI.\u0275cmp=ft({type:FI,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&ms("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(nl("id",t.id),$a("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),Fs("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[za],ngContentSelectors:bI,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(As(),ns(0,vI,1,2,"mat-pseudo-checkbox",0),ss(1,"span",1),Cs(2),ls(),ns(3,mI,2,1,"span",2),us(4,"div",3)),2&e&&(os("ngIf",t.multiple),xo(3),os("ngIf",t.group&&t.group._inert),xo(1),os("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[mh,YI,QI],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),FI);function aR(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;a<e+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}var sR,lR=((sR=function e(){A(this,e)}).\u0275fac=function(e){return new(e||sR)},sR.\u0275mod=mt({type:sR}),sR.\u0275inj=Fe({imports:[[ZI,Zh,AI,XI]]}),sR),uR=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return m(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(c(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(c(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(kE),cR=new(function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(CE))(uR),dR=1,hR=Promise.resolve(),fR={};function pR(e){return e in fR&&(delete fR[e],!0)}var gR=function(e){var t=dR++;return fR[t]=!0,hR.then(function(){return pR(t)&&e()}),t},vR=function(e){pR(e)},mR=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return m(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(c(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=gR(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(c(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(vR(t),e.scheduled=void 0)}}]),n}(kE),yR=new(function(e){r(n,e);var t=a(n);function n(){return A(this,n),t.apply(this,arguments)}return m(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(CE))(mR),bR=function(){function e(t){A(this,e),this.durationSelector=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new wR(e,this.durationSelector))}}]),e}(),wR=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).durationSelector=i,r.hasValue=!1,r}return m(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(i){return this.destination.error(i)}var n=ae(t,new re(this));!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=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(oe);function _R(e){return!S(e)&&e-parseFloat(e)+1>=0}function kR(){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,i=-1;return _R(t)?i=Number(t)<1?1:Number(t):q(t)&&(n=t),q(n)||(n=rT),new z(function(t){var r=_R(e)?e:+e-n.now();return n.schedule(xR,r,{index:0,period:i,subscriber:t})})}function xR(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function AR(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rT;return t=function(){return kR(e,n)},function(e){return e.lift(new bR(t))}}function CR(e){return function(t){return t.lift(new OR(e))}}var SR,ER,PR,DR,OR=function(){function e(t){A(this,e),this.notifier=t}return m(e,[{key:"call",value:function(e,t){var n=new MR(e),i=ae(this.notifier,new re(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),MR=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this,e)).seenValue=!1,i}return m(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(oe),TR=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];A(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new W,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return m(e,[{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),i=0;i<t;i++)n[i]=arguments[i];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),i=0;i<t;i++)n[i]=arguments[i];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){}}]),e}(),IR=((DR=function(){function e(t,n,i){A(this,e),this._ngZone=t,this._platform=n,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return m(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new z(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(AR(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Ty()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Ry(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=pT(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Sx(e._getWindow().document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||DR)(Ri(Ac),Ri(bT),Ri(od,8))},DR.\u0275prov=Re({factory:function(){return new DR(Ri(Ac),Ri(bT),Ri(od,8))},token:DR,providedIn:"root"}),DR),RR=((PR=function(){function e(t,n,i){var r=this;A(this,e),this._platform=t,this._change=new W,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return m(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(AR(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||PR)(Ri(bT),Ri(Ac),Ri(od,8))},PR.\u0275prov=Re({factory:function(){return new PR(Ri(bT),Ri(Ac),Ri(od,8))},token:PR,providedIn:"root"}),PR),LR=((ER=function e(){A(this,e)}).\u0275fac=function(e){return new(e||ER)},ER.\u0275mod=mt({type:ER}),ER.\u0275inj=Fe({}),ER),FR=((SR=function e(){A(this,e)}).\u0275fac=function(e){return new(e||SR)},SR.\u0275mod=mt({type:SR}),SR.\u0275inj=Fe({imports:[[pI,wT,LR],pI,LR]}),SR),BR=function(){function e(t,n){A(this,e),this.predicate=t,this.inclusive=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new zR(e,this.predicate,this.inclusive))}}]),e}(),zR=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).predicate=i,o.inclusive=r,o.index=0,o}return m(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(I),VR=function(){if(null==vT){if("object"!=typeof document||!document)return vT=!1;if("scrollBehavior"in document.documentElement.style)vT=!0;else{var e=Element.prototype.scrollTo;vT=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return vT}(),NR=function(){function e(t,n){A(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return m(e,[{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=fT(-this._previousScrollPosition.left),e.style.top=fT(-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,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),VR&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),VR&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{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}}]),e}(),HR=function(){function e(t,n,i,r){var o=this;A(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return m(e,[{key:"attach",value:function(e){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}}]),e}(),jR=function(){function e(){A(this,e)}return m(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function UR(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 WR(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 GR,qR,YR,ZR,QR,XR=function(){function e(t,n,i,r){A(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return m(e,[{key:"attach",value:function(e){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(),i=n.width,r=n.height;UR(t,[{width:i,height:r,bottom:r,right:i,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}}]),e}(),KR=((GR=function e(t,n,i,r){var o=this;A(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new jR},this.close=function(e){return new HR(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new NR(o._viewportRuler,o._document)},this.reposition=function(e){return new XR(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r}).\u0275fac=function(e){return new(e||GR)(Ri(IR),Ri(RR),Ri(Ac),Ri(od))},GR.\u0275prov=Re({factory:function(){return new GR(Ri(IR),Ri(RR),Ri(Ac),Ri(od))},token:GR,providedIn:"root"}),GR),JR=function e(t){if(A(this,e),this.scrollStrategy=new jR,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];void 0!==t[r]&&(this[r]=t[r])}},$R=function e(t,n,i,r,o){A(this,e),this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},eL=function e(t,n){A(this,e),this.connectionPair=t,this.scrollableViewProperties=n},tL=((ZR=function(){function e(t){A(this,e),this._attachedOverlays=[],this._document=t}return m(e,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(e){this.remove(e),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()}}]),e}()).\u0275fac=function(e){return new(e||ZR)(Ri(od))},ZR.\u0275prov=Re({factory:function(){return new ZR(Ri(od))},token:ZR,providedIn:"root"}),ZR),nL=((YR=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return m(n,[{key:"add",value:function(e){i(c(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(tL)).\u0275fac=function(e){return new(e||YR)(Ri(od))},YR.\u0275prov=Re({factory:function(){return new YR(Ri(od))},token:YR,providedIn:"root"}),YR),iL=((qR=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return m(n,[{key:"add",value:function(e){i(c(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(tL)).\u0275fac=function(e){return new(e||qR)(Ri(od),Ri(bT))},qR.\u0275prov=Re({factory:function(){return new qR(Ri(od),Ri(bT))},token:qR,providedIn:"root"}),qR),rL=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),oL=((QR=function(){function e(t,n){A(this,e),this._platform=n,this._document=t}return m(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||rL)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),rL?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}]),e}()).\u0275fac=function(e){return new(e||QR)(Ri(od),Ri(bT))},QR.\u0275prov=Re({factory:function(){return new QR(Ri(od),Ri(bT))},token:QR,providedIn:"root"}),QR),aL=function(){function e(t,n,i,r,o,a,s,l,u){var c=this;A(this,e),this._portalOutlet=t,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=u,this._backdropElement=null,this._backdropClick=new W,this._attachments=new W,this._detachments=new W,this._locationChanges=O.EMPTY,this._backdropClickHandler=function(e){return c._backdropClick.next(e)},this._keydownEvents=new W,this._outsidePointerEvents=new W,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return m(e,[{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._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Hb(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._locationChanges=this._location.subscribe(function(){return t.dispose()})),this._outsideClickDispatcher.add(this),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(),this._outsideClickDispatcher.remove(this),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._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),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}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{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(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(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=fT(this._config.width),e.height=fT(this._config.height),e.minWidth=fT(this._config.minWidth),e.minHeight=fT(this._config.minHeight),e.maxWidth=fT(this._config.maxWidth),e.maxHeight=fT(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"":"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 i=function i(){n&&(n.removeEventListener("click",t._backdropClickHandler),n.removeEventListener("transitionend",i),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",i)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(e,t,n){var i=e.classList;hT(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.pipe(CR(he(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())}}]),e}(),sL=/([A-Za-z%]+)$/,lL=function(){function e(t,n,i,r,o){A(this,e),this._viewportRuler=n,this._document=i,this._platform=r,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 W,this._resizeSubscription=O.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}return m(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;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,i=this._overlayRect,r=this._viewportRect,o=[],a=h(this._preferredPositions);try{for(a.s();!(t=a.n()).done;){var s=t.value,l=this._getOriginPoint(n,s),u=this._getOverlayPoint(l,i,s),c=this._getOverlayFit(u,i,r,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,r)?o.push({position:s,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:i})}}catch(y){a.e(y)}finally{a.f()}if(o.length){var d,f=null,p=-1,g=h(o);try{for(g.s();!(d=g.n()).done;){var v=d.value,m=v.boundingBoxRect.width*v.boundingBoxRect.height*(v.position.weight||1);m>p&&(p=m,f=v)}}catch(y){g.e(y)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.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&&uL(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 i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}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 i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=dL(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(o+=s),l&&(a+=l);var u=0-a,c=a+r.height-n.height,d=this._subtractOverflows(r.width,0-o,o+r.width-n.width),h=this._subtractOverflows(r.height,u,c),f=d*h;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:h===r.height,fitsInViewportHorizontally:d==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=cL(this._overlayRef.getConfig().minHeight),a=cL(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&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 i,r,o=dL(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),l=Math.max(e.y+o.height-a.height,0),u=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?c||-s:e.x<this._viewportMargin?a.left-n.left-e.x:0,r=o.height<=a.height?u||-l:e.y<this._viewportMargin?a.top-n.top-e.y:0,this._previousPushAmount={x:i,y:r},{x:e.x+i,y:e.y+r}}},{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(),i=new eL(e,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(t," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,i,r,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)i=e.y,n=l.height-i+this._viewportMargin;else if("bottom"===t.overlayY)r=l.height-e.y+2*this._viewportMargin,n=l.height-r+this._viewportMargin;else{var c=Math.min(l.bottom-e.y+l.top,e.y),d=this._lastBoundingBoxSize.height;n=2*c,i=e.y-c,n>d&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/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 h=Math.min(l.right-e.x+l.left,e.x),f=this._lastBoundingBoxSize.width;o=2*h,a=e.x-h,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:i,left:a,bottom:r,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.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=fT(n.height),i.top=fT(n.top),i.bottom=fT(n.bottom),i.width=fT(n.width),i.left=fT(n.left),i.right=fT(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",r&&(i.maxHeight=fT(r)),o&&(i.maxWidth=fT(o))}this._lastBoundingBoxSize=n,uL(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){uL(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){uL(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();uL(n,this._getExactOverlayY(t,e,a)),uL(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=fT(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=fT(o.maxWidth):r&&(n.maxWidth="")),uL(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=fT(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=fT(r.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:WR(e,n),isOriginOutsideView:UR(e,n),isOverlayClipped:WR(t,n),isOverlayOutsideView:UR(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return 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(){}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&hT(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;this._pane&&(this._appliedPanelClasses.forEach(function(t){e._pane.classList.remove(t)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof Cl)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)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}}}]),e}();function uL(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function cL(e){if("number"!=typeof e&&null!=e){var t=f(e.split(sL),2),n=t[0],i=t[1];return i&&"px"!==i?null:parseFloat(n)}return e||null}function dL(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}var hL,fL,pL,gL,vL,mL=function(){function e(t,n,i,r,o,a,s){A(this,e),this._preferredPositions=[],this._positionStrategy=new lL(i,r,o,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n),this.onPositionChange=this._positionStrategy.positionChanges}return m(e,[{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,i){var r=new $R(e,t,n,i);return this._preferredPositions.push(r),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}}]),e}(),yL=function(){function e(){A(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return m(e,[{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(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"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=l?"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}}}]),e}(),bL=((fL=function(){function e(t,n,i,r){A(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return m(e,[{key:"global",value:function(){return new yL}},{key:"connectedTo",value:function(e,t,n){return new mL(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new lL(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||fL)(Ri(RR),Ri(od),Ri(bT),Ri(oL))},fL.\u0275prov=Re({factory:function(){return new fL(Ri(RR),Ri(od),Ri(bT),Ri(oL))},token:fL,providedIn:"root"}),fL),wL=0,_L=((hL=function(){function e(t,n,i,r,o,a,s,l,u,c,d){A(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=l,this._directionality=u,this._location=c,this._outsideClickDispatcher=d}return m(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new JR(e);return r.direction=r.direction||this._directionality.value,new aL(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+wL++,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(Gc)),new SP(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||hL)(Ri(KR),Ri(oL),Ri(_l),Ri(bL),Ri(nL),Ri(Fa),Ri(Ac),Ri(od),Ri(fI),Ri(Cd),Ri(iL))},hL.\u0275prov=Re({token:hL,factory:hL.\u0275fac}),hL),kL=[{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"}],xL=new mi("cdk-connected-overlay-scroll-strategy"),AL=((gL=function e(t){A(this,e),this.elementRef=t}).\u0275fac=function(e){return new(e||gL)(rs(Cl))},gL.\u0275dir=bt({type:gL,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),gL),CL=((pL=function(){function e(t,n,i,r,o){A(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=O.EMPTY,this._attachSubscription=O.EMPTY,this._detachSubscription=O.EMPTY,this._positionSubscription=O.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Fu,this.positionChange=new Fu,this.attach=new Fu,this.detach=new Fu,this.overlayKeydown=new Fu,this.overlayOutsideClick=new Fu,this._templatePortal=new xP(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return m(e,[{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=cT(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=cT(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=cT(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=cT(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=cT(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{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=kL);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),27!==t.keyCode||e.disableClose||iT(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new JR({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).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{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.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new BR(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||pL)(rs(_L),rs(iu),rs(uu),rs(xL),rs(fI,8))},pL.\u0275dir=bt({type:pL,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Mt]}),pL),SL={provide:xL,deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},EL=((vL=function e(){A(this,e)}).\u0275fac=function(e){return new(e||vL)},vL.\u0275mod=mt({type:vL}),vL.\u0275inj=Fe({providers:[_L,SL],imports:[[pI,PP,FR],FR]}),vL),PL=["underline"],DL=["connectionContainer"],OL=["inputContainer"],ML=["label"];function TL(e,t){1&e&&(cs(0),ss(1,"div",14),us(2,"div",15),us(3,"div",16),us(4,"div",17),ls(),ss(5,"div",18),us(6,"div",15),us(7,"div",16),us(8,"div",17),ls(),ds())}function IL(e,t){1&e&&(ss(0,"div",19),Cs(1,1),ls())}function RL(e,t){if(1&e&&(cs(0),Cs(1,2),ss(2,"span"),Qs(3),ls(),ds()),2&e){var n=ks(2);xo(3),Xs(n._control.placeholder)}}function LL(e,t){1&e&&Cs(0,3,["*ngSwitchCase","true"])}function FL(e,t){1&e&&(ss(0,"span",23),Qs(1," *"),ls())}function BL(e,t){if(1&e){var n=fs();ss(0,"label",20,21),ms("cdkObserveContent",function(){return nn(n),ks().updateOutlineGap()}),ns(2,RL,4,1,"ng-container",12),ns(3,LL,1,0,"ng-content",12),ns(4,FL,2,0,"span",22),ls()}if(2&e){var i=ks();Fs("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),os("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),$a("for",i._control.id)("aria-owns",i._control.id),xo(2),os("ngSwitchCase",!1),xo(1),os("ngSwitchCase",!0),xo(1),os("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function zL(e,t){1&e&&(ss(0,"div",24),Cs(1,4),ls())}function VL(e,t){if(1&e&&(ss(0,"div",25,26),us(2,"span",27),ls()),2&e){var n=ks();xo(2),Fs("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function NL(e,t){1&e&&(ss(0,"div"),Cs(1,5),ls()),2&e&&os("@transitionMessages",ks()._subscriptAnimationState)}function HL(e,t){if(1&e&&(ss(0,"div",31),Qs(1),ls()),2&e){var n=ks(2);os("id",n._hintLabelId),xo(1),Xs(n.hintLabel)}}function jL(e,t){if(1&e&&(ss(0,"div",28),ns(1,HL,2,2,"div",29),Cs(2,6),us(3,"div",30),Cs(4,7),ls()),2&e){var n=ks();os("@transitionMessages",n._subscriptAnimationState),xo(1),os("ngIf",n.hintLabel)}}var UL,WL,GL,qL,YL,ZL=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],QL=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],XL=new mi("MatError"),KL={transitionMessages:Xf("transitionMessages",[ep("enter",$f({opacity:1,transform:"translateY(0%)"})),np("void => enter",[$f({opacity:0,transform:"translateY(-5px)"}),Kf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},JL=((UL=function e(){A(this,e)}).\u0275fac=function(e){return new(e||UL)},UL.\u0275dir=bt({type:UL}),UL),$L=new mi("MatHint"),eF=((GL=function e(){A(this,e)}).\u0275fac=function(e){return new(e||GL)},GL.\u0275dir=bt({type:GL,selectors:[["mat-label"]]}),GL),tF=((WL=function e(){A(this,e)}).\u0275fac=function(e){return new(e||WL)},WL.\u0275dir=bt({type:WL,selectors:[["mat-placeholder"]]}),WL),nF=new mi("MatPrefix"),iF=new mi("MatSuffix"),rF=0,oF=SI(function e(t){A(this,e),this._elementRef=t},"primary"),aF=new mi("MAT_FORM_FIELD_DEFAULT_OPTIONS"),sF=new mi("MatFormField"),lF=((YL=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s,l,u){var c;return A(this,n),(c=t.call(this,e))._elementRef=e,c._changeDetectorRef=i,c._dir=o,c._defaults=a,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new W,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-"+rF++,c._labelId="mat-form-field-label-"+rF++,c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==u,c.appearance=a&&a.appearance?a.appearance:"legacy",c._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,c}return m(n,[{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=cT(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value: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._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{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(Wb(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(CR(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(CR(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),he(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Wb(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Wb(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(CR(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{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._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&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._label&&(this._showAlwaysAnimate=!0,Sx(this._label.nativeElement,"transitionend").pipe(Hb(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,y(this._control.userAriaDescribedBy.split(" "))),"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.push.apply(e,y(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{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(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=e.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,d=0;d<l.length;d++)c+=l[d].offsetWidth;t=Math.abs(u-s)-5,n=c>0?.75*c+10:0}for(var h=0;h<r.length;h++)r[h].style.width=t+"px";for(var f=0;f<o.length;f++)o[f].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}]),n}(oF)).\u0275fac=function(e){return new(e||YL)(rs(Cl),rs(Kl),rs(Cl),rs(fI,8),rs(aF,8),rs(bT),rs(Ac),rs(_v,8))},YL.\u0275cmp=ft({type:YL,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;1&e&&(Xu(n,JL,1),Xu(n,JL,3),Xu(n,eF,1),Xu(n,eF,3),Xu(n,tF,1),Xu(n,XL,1),Xu(n,$L,1),Xu(n,nF,1),Xu(n,iF,1)),2&e&&(Zu(i=Ku())&&(t._controlNonStatic=i.first),Zu(i=Ku())&&(t._controlStatic=i.first),Zu(i=Ku())&&(t._labelChildNonStatic=i.first),Zu(i=Ku())&&(t._labelChildStatic=i.first),Zu(i=Ku())&&(t._placeholderChild=i.first),Zu(i=Ku())&&(t._errorChildren=i),Zu(i=Ku())&&(t._hintChildren=i),Zu(i=Ku())&&(t._prefixChildren=i),Zu(i=Ku())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;1&e&&(Qu(PL,1),Qu(DL,3),Qu(OL,1),Qu(ML,1)),2&e&&(Zu(n=Ku())&&(t.underlineRef=n.first),Zu(n=Ku())&&(t._connectionContainerRef=n.first),Zu(n=Ku())&&(t._inputContainerRef=n.first),Zu(n=Ku())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&Fs("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[yl([{provide:sF,useExisting:YL}]),za],ngContentSelectors:QL,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(As(ZL),ss(0,"div",0),ss(1,"div",1,2),ms("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),ns(3,TL,9,0,"ng-container",3),ns(4,IL,2,0,"div",4),ss(5,"div",5,6),Cs(7),ss(8,"span",7),ns(9,BL,5,16,"label",8),ls(),ls(),ns(10,zL,2,0,"div",9),ls(),ns(11,VL,3,4,"div",10),ss(12,"div",11),ns(13,NL,2,1,"div",12),ns(14,jL,5,2,"div",13),ls(),ls()),2&e&&(xo(3),os("ngIf","outline"==t.appearance),xo(1),os("ngIf",t._prefixChildren.length),xo(5),os("ngIf",t._hasFloatingLabel()),xo(1),os("ngIf",t._suffixChildren.length),xo(1),os("ngIf","outline"!=t.appearance),xo(1),os("ngSwitch",t._getDisplayedMessages()),xo(1),os("ngSwitchCase","error"),xo(1),os("ngSwitchCase","hint"))},directives:[mh,Sh,Eh,DT],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[KL.transitionMessages]},changeDetection:0}),YL),uF=((qL=function e(){A(this,e)}).\u0275fac=function(e){return new(e||qL)},qL.\u0275mod=mt({type:qL}),qL.\u0275inj=Fe({imports:[[Zh,AI,OT],AI]}),qL);function cF(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rT,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new gF(i,n))}}var dF,hF,fF,pF,gF=function(){function e(t,n){A(this,e),this.delay=t,this.scheduler=n}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new vF(e,this.delay,this.scheduler))}}]),e}(),vF=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return m(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new mF(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(OE.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(OE.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(I),mF=function e(t,n){A(this,e),this.time=t,this.notification=n},yF={provide:new mi("mat-autocomplete-scroll-strategy"),deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},bF=((hF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||hF)},hF.\u0275mod=mt({type:hF}),hF.\u0275inj=Fe({providers:[yF],imports:[[EL,lR,AI,Zh],LR,lR,AI]}),hF),wF=((dF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||dF)},dF.\u0275mod=mt({type:dF}),dF.\u0275inj=Fe({imports:[[dI,AI],AI]}),dF),_F=function(){function e(t){A(this,e),this.total=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new kF(e,this.total))}}]),e}(),kF=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return m(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(I),xF=new Set,AF=((pF=function(){function e(t){A(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):CF}return m(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!xF.has(e))try{fF||((fF=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(fF)),fF.sheet&&(fF.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),xF.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}()).\u0275fac=function(e){return new(e||pF)(Ri(bT))},pF.\u0275prov=Re({factory:function(){return new pF(Ri(bT))},token:pF,providedIn:"root"}),pF);function CF(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var SF,EF=((SF=function(){function e(t,n){A(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new W}return m(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return PF(hT(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=Db(PF(hT(e)).map(function(e){return t._registerQuery(e).observable}));return(n=Ib(n.pipe(Hb(1)),n.pipe(function(e){return e.lift(new _F(1))},oT(0)))).pipe(Y(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),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),i={observable:new z(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Wb(n),Y(function(t){var n=t.matches;return{query:e,matches:n}}),CR(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}()).\u0275fac=function(e){return new(e||SF)(Ri(AF),Ri(Ac))},SF.\u0275prov=Re({factory:function(){return new SF(Ri(AF),Ri(Ac))},token:SF,providedIn:"root"}),SF);function PF(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}function DF(e,t){}var OF,MF,TF,IF,RF,LF,FF,BF,zF=new mi("MatBottomSheetData"),VF=function e(){A(this,e),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0},NF={bottomSheetState:Xf("state",[ep("void, hidden",$f({transform:"translateY(100%)"})),ep("visible",$f({transform:"translateY(0%)"})),np("visible => void, visible => hidden",Kf("".concat(_I.COMPLEX," ").concat(wI.ACCELERATION_CURVE))),np("void => visible",Kf("".concat(_I.EXITING," ").concat(wI.DECELERATION_CURVE)))])},HF=((MF=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s){var l;return A(this,n),(l=t.call(this))._elementRef=e,l._changeDetectorRef=i,l._focusTrapFactory=r,l.bottomSheetConfig=s,l._animationState="void",l._animationStateChanged=new Fu,l._elementFocusedBeforeOpened=null,l.attachDomPortal=function(e){return l._validatePortalAttached(),l._setPanelClass(),l._savePreviouslyFocusedElement(),l._portalOutlet.attachDomPortal(e)},l._document=a,l._breakpointSubscription=o.observe(["(min-width: 960px) and (max-width: 1279.98px)","(min-width: 1280px) and (max-width: 1919.98px)","(min-width: 1920px)"]).subscribe(function(){l._toggleClass("mat-bottom-sheet-container-medium",o.isMatched("(min-width: 960px) and (max-width: 1279.98px)")),l._toggleClass("mat-bottom-sheet-container-large",o.isMatched("(min-width: 1280px) and (max-width: 1919.98px)")),l._toggleClass("mat-bottom-sheet-container-xlarge",o.isMatched("(min-width: 1920px)"))}),l}return m(n,[{key:"attachComponentPortal",value:function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(e){"hidden"===e.toState?this._restoreFocus():"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_toggleClass",value:function(e,t){var n=this._elementRef.nativeElement.classList;t?n.add(e):n.remove(e)}},{key:"_validatePortalAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_setPanelClass",value:function(){var e=this._elementRef.nativeElement,t=this.bottomSheetConfig.panelClass;Array.isArray(t)?t.forEach(function(t){return e.classList.add(t)}):t&&e.classList.add(t)}},{key:"_trapFocus",value:function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._getActiveElement();t===e||e.contains(t)||e.focus()}}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&e&&"function"==typeof e.focus){var t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var e=this;this._elementFocusedBeforeOpened=this._getActiveElement(),this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return e._elementRef.nativeElement.focus()})}},{key:"_getActiveElement",value:function(){var e,t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}]),n}(CP)).\u0275fac=function(e){return new(e||MF)(rs(Cl),rs(Kl),rs(ZT),rs(EF),rs(od,8),rs(VF))},MF.\u0275cmp=ft({type:MF,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(e,t){var n;1&e&&Qu(EP,3),2&e&&Zu(n=Ku())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(e,t){1&e&&ys("@state.start",function(e){return t._onAnimationStart(e)})("@state.done",function(e){return t._onAnimationDone(e)}),2&e&&($a("aria-label",null==t.bottomSheetConfig?null:t.bottomSheetConfig.ariaLabel),il("@state",t._animationState))},features:[za],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&ns(0,DF,0,0,"ng-template",0)},directives:[EP],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[NF.bottomSheetState]}}),MF),jF=((OF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||OF)},OF.\u0275mod=mt({type:OF}),OF.\u0275inj=Fe({imports:[[EL,AI,PP],AI]}),OF),UF=function(){function e(t,n){var i=this;A(this,e),this._overlayRef=n,this._afterDismissed=new W,this._afterOpened=new W,this.containerInstance=t,this.disableClose=t.bottomSheetConfig.disableClose,t._animationStateChanged.pipe(Ry(function(e){return"done"===e.phaseName&&"visible"===e.toState}),Hb(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),t._animationStateChanged.pipe(Ry(function(e){return"done"===e.phaseName&&"hidden"===e.toState}),Hb(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),n.dispose()}),n.detachments().pipe(Hb(1)).subscribe(function(){i._afterDismissed.next(i._result),i._afterDismissed.complete()}),he(n.backdropClick(),n.keydownEvents().pipe(Ry(function(e){return 27===e.keyCode}))).subscribe(function(e){i.disableClose||"keydown"===e.type&&iT(e)||(e.preventDefault(),i.dismiss())})}return m(e,[{key:"dismiss",value:function(e){var t=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(Ry(function(e){return"start"===e.phaseName}),Hb(1)).subscribe(function(e){t._closeFallbackTimeout=setTimeout(function(){t._overlayRef.dispose()},e.totalTime+100),t._overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit())}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}}]),e}(),WF=new mi("mat-bottom-sheet-default-options"),GF=((TF=function(){function e(t,n,i,r){A(this,e),this._overlay=t,this._injector=n,this._parentBottomSheet=i,this._defaultOptions=r,this._bottomSheetRefAtThisLevel=null}return m(e,[{key:"_openedBottomSheetRef",get:function(){var e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}},{key:"open",value:function(e,t){var n=this,i=function(e,t){return Object.assign(Object.assign({},e),t)}(this._defaultOptions||new VF,t),r=this._createOverlay(i),o=this._attachContainer(r,i),a=new UF(o,r);if(e instanceof iu)o.attachTemplatePortal(new xP(e,null,{$implicit:i.data,bottomSheetRef:a}));else{var s=new kP(e,void 0,this._createInjector(i,a)),l=o.attachComponentPortal(s);a.instance=l.instance}return a.afterDismissed().subscribe(function(){n._openedBottomSheetRef==a&&(n._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return a.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}},{key:"dismiss",value:function(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},{key:"_attachContainer",value:function(e,t){var n=Fa.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:VF,useValue:t}]}),i=new kP(HF,t.viewContainerRef,n);return e.attach(i).instance}},{key:"_createOverlay",value:function(e){var t=new JR({direction:e.direction,hasBackdrop:e.hasBackdrop,disposeOnNavigation:e.closeOnNavigation,maxWidth:"100%",scrollStrategy:e.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return e.backdropClass&&(t.backdropClass=e.backdropClass),this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:UF,useValue:t},{provide:zF,useValue:e.data}];return!e.direction||n&&n.get(fI,null)||i.push({provide:fI,useValue:{value:e.direction,change:Ty()}}),Fa.create({parent:n||this._injector,providers:i})}}]),e}()).\u0275fac=function(e){return new(e||TF)(Ri(_L),Ri(Fa),Ri(TF,12),Ri(WF,8))},TF.\u0275prov=Re({factory:function(){return new TF(Ri(_L),Ri(wa),Ri(TF,12),Ri(WF,8))},token:TF,providedIn:jF}),TF),qF=["mat-button",""],YF=["*"],ZF=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],QF=SI(CI(EI(function e(t){A(this,e),this._elementRef=t}))),XF=((BF=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;A(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=h(ZF);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.isRoundButton&&(o.color="accent"),o}return m(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(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),i=0;i<t;i++)n[i]=arguments[i];return n.some(function(t){return e._getHostElement().hasAttribute(t)})}}]),n}(QF)).\u0275fac=function(e){return new(e||BF)(rs(Cl),rs(rI),rs(_v,8))},BF.\u0275cmp=ft({type:BF,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&Qu(YI,1),2&e&&Zu(n=Ku())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&($a("disabled",t.disabled||null),Fs("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[za],attrs:qF,ngContentSelectors:YF,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(As(),ss(0,"span",0),Cs(1),ls(),us(2,"span",1),us(3,"span",2)),2&e&&(xo(2),Fs("mat-button-ripple-round",t.isRoundButton||t.isIconButton),os("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[YI],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),BF),KF=((FF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||FF)},FF.\u0275mod=mt({type:FF}),FF.\u0275inj=Fe({imports:[[ZI,AI],AI]}),FF),JF=((LF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||LF)},LF.\u0275mod=mt({type:LF}),LF.\u0275inj=Fe({imports:[[AI],AI]}),LF),$F=((RF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||RF)},RF.\u0275mod=mt({type:RF}),RF.\u0275inj=Fe({}),RF),eB=((IF=function e(){A(this,e)}).\u0275fac=function(e){return new(e||IF)},IF.\u0275mod=mt({type:IF}),IF.\u0275inj=Fe({imports:[[ZI,AI,OT,$F],AI,$F]}),IF);function tB(e,t){}var nB,iB,rB=function e(){A(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},oB={dialogContainer:Xf("dialogContainer",[ep("void, exit",$f({opacity:0,transform:"scale(0.7)"})),ep("enter",$f({transform:"none"})),np("* => enter",Kf("150ms cubic-bezier(0, 0, 0.2, 1)",$f({transform:"none",opacity:1}))),np("* => void, * => exit",Kf("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",$f({opacity:0})))])},aB=((iB=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s){var l;return A(this,n),(l=t.call(this))._elementRef=e,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=a,l._focusMonitor=s,l._animationStateChanged=new Fu,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l.attachDomPortal=function(e){return l._portalOutlet.hasAttached(),l._portalOutlet.attachDomPortal(e)},l._ariaLabelledBy=a.ariaLabelledBy||null,l._document=o,l}return m(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}},{key:"_getActiveElement",value:function(){var e,t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}]),n}(CP)).\u0275fac=function(e){return new(e||iB)(rs(Cl),rs(ZT),rs(Kl),rs(od,8),rs(rB),rs(rI))},iB.\u0275dir=bt({type:iB,viewQuery:function(e,t){var n;1&e&&Qu(EP,3),2&e&&Zu(n=Ku())&&(t._portalOutlet=n.first)},features:[za]}),iB),sB=((nB=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments))._state="enter",e}return m(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(aB)).\u0275fac=function(e){return lB(e||nB)},nB.\u0275cmp=ft({type:nB,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&ys("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(nl("id",t._id),$a("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),il("@dialogContainer",t._state))},features:[za],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&ns(0,tB,0,0,"ng-template",0)},directives:[EP],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[oB.dialogContainer]}}),nB),lB=hi(sB),uB=0,cB=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+uB++;A(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new W,this._afterClosed=new W,this._beforeClosed=new W,this._state=0,n._id=r,n._animationStateChanged.pipe(Ry(function(e){return"opened"===e.state}),Hb(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(Ry(function(e){return"closed"===e.state}),Hb(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),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(Ry(function(e){return 27===e.keyCode&&!i.disableClose&&!iT(e)})).subscribe(function(e){e.preventDefault(),dB(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():dB(i,"mouse")})}return m(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Ry(function(e){return"closing"===e.state}),Hb(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{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._overlayRef.updateSize({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:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function dB(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var hB,fB,pB,gB,vB,mB,yB,bB,wB=new mi("MatDialogData"),_B=new mi("mat-dialog-default-options"),kB=new mi("mat-dialog-scroll-strategy"),xB={provide:kB,deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},AB=((bB=function(){function e(t,n,i,r,o,a,s,l,u){var c=this;A(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=l,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new W,this._afterOpenedAtThisLevel=new W,this._ariaHiddenElements=new Map,this.afterAllClosed=Fb(function(){return c.openDialogs.length?c._getAfterAllClosed():c._getAfterAllClosed().pipe(Wb(void 0))}),this._scrollStrategy=a}return m(e,[{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:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new rB)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),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 JR({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=Fa.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:rB,useValue:t}]}),i=new kP(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof iu)t.attachTemplatePortal(new xP(e,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,t),a=t.attachComponentPortal(new kP(e,i.viewContainerRef,o));r.componentInstance=a.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(fI,null)||r.push({provide:fI,useValue:{value:e.direction,change:Ty()}}),Fa.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().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 i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}()).\u0275fac=function(e){return new(e||bB)(rs(_L),rs(Fa),rs(void 0),rs(void 0),rs(oL),rs(void 0),rs(bi),rs(bi),rs(mi))},bB.\u0275dir=bt({type:bB}),bB),CB=((yB=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s,l){return A(this,n),t.call(this,e,i,o,s,l,a,cB,sB,wB)}return n}(AB)).\u0275fac=function(e){return new(e||yB)(Ri(_L),Ri(Fa),Ri(Cd,8),Ri(_B,8),Ri(kB),Ri(yB,12),Ri(oL))},yB.\u0275prov=Re({token:yB,factory:yB.\u0275fac}),yB),SB=0,EB=((mB=function(){function e(t,n,i){A(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+SB++}return m(e,[{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)})}}]),e}()).\u0275fac=function(e){return new(e||mB)(rs(cB,8),rs(Cl),rs(CB))},mB.\u0275dir=bt({type:mB,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&nl("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),mB),PB=((vB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||vB)},vB.\u0275dir=bt({type:vB,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),vB),DB=((gB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||gB)},gB.\u0275dir=bt({type:gB,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),gB),OB=((pB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||pB)},pB.\u0275mod=mt({type:pB}),pB.\u0275inj=Fe({providers:[CB,xB],imports:[[EL,PP,AI],AI]}),pB),MB=((fB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||fB)},fB.\u0275mod=mt({type:fB}),fB.\u0275inj=Fe({}),fB),TB=((hB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||hB)},hB.\u0275mod=mt({type:hB}),hB.\u0275inj=Fe({imports:[[Zh,AI,MB,PP]]}),hB),IB=["*"];function RB(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function LB(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function FB(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var BB,zB=function e(t,n,i){A(this,e),this.url=t,this.svgText=n,this.options=i},VB=((BB=function(){function e(t,n,i,r){A(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}return m(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new zB(n,null,i))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(xr.HTML,n);if(!r)throw FB(n);return this._addSvgIconConfig(e,t,new zB("",r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new zB(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(xr.HTML,t);if(!i)throw FB(t);return this._addSvgIconSetConfig(e,new zB("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(xr.RESOURCE_URL,e);if(!n)throw LB(e);var i=this._cachedIconsByUrl.get(n);return i?Ty(NB(i)):this._loadSvgIconFromConfig(new zB(e,null)).pipe(uw(function(e){return t._cachedIconsByUrl.set(n,e)}),Y(function(e){return NB(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=HB(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):EE(RB(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?Ty(NB(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Y(function(e){return NB(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?Ty(i):Av(t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(Zb(function(t){var i=n._sanitizer.sanitize(xr.RESOURCE_URL,e.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(i," failed: ").concat(t.message))),Ty(null)}))})).pipe(Y(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw RB(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),o=this._extractSvgIconFromSet(r,e,i.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(uw(function(t){return e.svgText=t}),Y(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?Ty(null):this._fetchIcon(e).pipe(uw(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,i=0;i<n.length;i++){var r=n[i],o=r.name,a=r.value;"id"!==o&&t.setAttribute(o,a)}for(var s=0;s<e.childNodes.length;s++)e.childNodes[s].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[s].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchIcon",value:function(e){var t,n=this,i=e.url,r=e.options,o=null!==(t=null==r?void 0:r.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));var a=this._sanitizer.sanitize(xr.RESOURCE_URL,i);if(!a)throw LB(i);var s=this._inProgressUrlFetches.get(a);if(s)return s;var l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(hw(function(){return n._inProgressUrlFetches.delete(a)}),_e());return this._inProgressUrlFetches.set(a,l),l}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(HB(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}},{key:"_svgElementFromConfig",value:function(e){if(!e.svgElement){var t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}},{key:"_getIconConfigFromResolvers",value:function(e,t){for(var n=0;n<this._resolvers.length;n++){var i=this._resolvers[n](t,e);if(i)return(r=i).url&&r.options?new zB(i.url,null,i.options):new zB(i,null)}var r}}]),e}()).\u0275fac=function(e){return new(e||BB)(Ri(lb,8),Ri(Wf),Ri(od,8),Ri(Or))},BB.\u0275prov=Re({factory:function(){return new BB(Ri(lb,8),Ri(Wf),Ri(od,8),Ri(Or))},token:BB,providedIn:"root"}),BB);function NB(e){return e.cloneNode(!0)}function HB(e,t){return e+":"+t}var jB,UB,WB,GB,qB,YB,ZB=SI(function e(t){A(this,e),this._elementRef=t}),QB=new mi("mat-icon-location",{providedIn:"root",factory:function(){var e=Li(od),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),XB=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],KB=XB.map(function(e){return"[".concat(e,"]")}).join(", "),JB=/^url\(['"]?#(.*?)['"]?\)$/,$B=((YB=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a){var s;return A(this,n),(s=t.call(this,e))._iconRegistry=i,s._location=o,s._errorHandler=a,s._inline=!1,s._currentIconFetch=O.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true"),s}return m(n,[{key:"inline",get:function(){return this._inline},set:function(e){this._inline=cT(e)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach(function(t,n){t.forEach(function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(KB),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(e){XB.forEach(function(i){var r=t[e],o=r.getAttribute(i),a=o?o.match(JB):null;if(a){var s=n.get(r);s||(s=[],n.set(r,s)),s.push({name:i,value:a[1]})}})},r=0;r<t.length;r++)i(r)}},{key:"_updateSvgIcon",value:function(e){var t=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){var n=f(this._splitIconName(e),2),i=n[0],r=n[1];i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Hb(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){t._errorHandler.handleError(new Error("Error retrieving icon ".concat(i,":").concat(r,"! ").concat(e.message)))})}}}]),n}(ZB)).\u0275fac=function(e){return new(e||YB)(rs(Cl),rs(VB),pi("aria-hidden"),rs(QB),rs(Or))},YB.\u0275cmp=ft({type:YB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&($a("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),Fs("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[za],ngContentSelectors:IB,decls:1,vars:0,template:function(e,t){1&e&&(As(),Cs(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),YB),ez=((qB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||qB)},qB.\u0275mod=mt({type:qB}),qB.\u0275inj=Fe({imports:[[AI],AI]}),qB),tz=((GB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||GB)},GB.\u0275mod=mt({type:GB}),GB.\u0275inj=Fe({imports:[[wT]]}),GB),nz=((WB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||WB)},WB.\u0275mod=mt({type:WB}),WB.\u0275inj=Fe({providers:[zI],imports:[[tz,uF,AI],tz,uF]}),WB),iz=((UB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||UB)},UB.\u0275mod=mt({type:UB}),UB.\u0275inj=Fe({imports:[[AI],AI]}),UB),rz=((jB=function e(){A(this,e)}).\u0275fac=function(e){return new(e||jB)},jB.\u0275mod=mt({type:jB}),jB.\u0275inj=Fe({imports:[[VI,ZI,AI,XI,Zh],VI,AI,XI,iz]}),jB),oz=["trigger"],az=["panel"];function sz(e,t){if(1&e&&(ss(0,"span",8),Qs(1),ls()),2&e){var n=ks();xo(1),Xs(n.placeholder)}}function lz(e,t){if(1&e&&(ss(0,"span",12),Qs(1),ls()),2&e){var n=ks(2);xo(1),Xs(n.triggerValue)}}function uz(e,t){1&e&&Cs(0,0,["*ngSwitchCase","true"])}function cz(e,t){1&e&&(ss(0,"span",9),ns(1,lz,2,1,"span",10),ns(2,uz,1,0,"ng-content",11),ls()),2&e&&(os("ngSwitch",!!ks().customTrigger),xo(2),os("ngSwitchCase",!0))}function dz(e,t){if(1&e){var n=fs();ss(0,"div",13),ss(1,"div",14,15),ms("@transformPanel.done",function(e){return nn(n),ks()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return nn(n),ks()._handleKeydown(e)}),Cs(3,1),ls(),ls()}if(2&e){var i=ks();os("@transformPanelWrap",void 0),xo(1),tl("mat-select-panel ",i._getPanelTheme(),""),Ls("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),os("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),$a("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var hz,fz,pz,gz,vz,mz,yz=[[["mat-select-trigger"]],"*"],bz=["mat-select-trigger","*"],wz={transformPanelWrap:Xf("transformPanelWrap",[np("* => void",rp("@transformPanel",[ip()],{optional:!0}))]),transformPanel:Xf("transformPanel",[ep("void",$f({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ep("showing",$f({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ep("showing-multiple",$f({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),np("void => *",Kf("120ms cubic-bezier(0, 0, 0.2, 1)")),np("* => void",Kf("100ms 25ms linear",$f({opacity:0})))])},_z=0,kz=new mi("mat-select-scroll-strategy"),xz=new mi("MAT_SELECT_CONFIG"),Az={provide:kz,deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Cz=function e(t,n){A(this,e),this.source=t,this.value=n},Sz=EI(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){r(i,e);var n=a(i);function i(){var e;A(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o)))._tabIndex=t,e.defaultTabIndex=t,e}return m(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?dT(e):this.defaultTabIndex}}]),i}(e)}(CI(function(e){r(n,e);var t=a(n);function n(){var e;A(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))).errorState=!1,e.stateChanges=new W,e}return m(n,[{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())}}]),n}(function e(t,n,i,r,o){A(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o})))),Ez=new mi("MatSelectTrigger"),Pz=((fz=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s,u,c,d,h,f,p,g,v){var m,b,w,_;return A(this,n),(m=t.call(this,a,o,u,c,h))._viewportRuler=e,m._changeDetectorRef=i,m._ngZone=r,m._dir=s,m._parentFormField=d,m.ngControl=h,m._liveAnnouncer=g,m._defaultOptions=v,m._panelOpen=!1,m._compareWith=function(e,t){return e===t},m._uid="mat-select-"+_z++,m._triggerAriaLabelledBy=null,m._destroy=new W,m._onChange=function(){},m._onTouched=function(){},m._valueId="mat-select-value-"+_z++,m._panelDoneAnimatingStream=new W,m._overlayPanelClass=(null===(b=m._defaultOptions)||void 0===b?void 0:b.overlayPanelClass)||"",m._focused=!1,m.controlType="mat-select",m._required=!1,m._multiple=!1,m._disableOptionCentering=null!==(_=null===(w=m._defaultOptions)||void 0===w?void 0:w.disableOptionCentering)&&void 0!==_&&_,m.ariaLabel="",m.optionSelectionChanges=Fb(function(){var e=m.options;return e?e.changes.pipe(Wb(e),Bb(function(){return he.apply(void 0,y(e.map(function(e){return e.onSelectionChange})))})):m._ngZone.onStable.pipe(Hb(1),Bb(function(){return m.optionSelectionChanges}))}),m.openedChange=new Fu,m._openedStream=m.openedChange.pipe(Ry(function(e){return e}),Y(function(){})),m._closedStream=m.openedChange.pipe(Ry(function(e){return!e}),Y(function(){})),m.selectionChange=new Fu,m.valueChange=new Fu,m.ngControl&&(m.ngControl.valueAccessor=l(m)),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(m._typeaheadDebounceInterval=v.typeaheadDebounceInterval),m._scrollStrategyFactory=p,m._scrollStrategy=m._scrollStrategyFactory(),m.tabIndex=parseInt(f)||0,m.id=m.id,m}return m(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{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=cT(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=cT(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=cT(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=dT(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 TR(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Px(),CR(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(CR(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(Wb(null),CR(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}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(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{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.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,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=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!iT(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||iT(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.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(Hb(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{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._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new HT(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(CR(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(CR(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=he(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(CR(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),he.apply(void 0,y(this.options.map(function(e){return e._stateChanges}))).pipe(CR(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{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(),null!=this.value&&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,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),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(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getLabelId",value:function(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}},{key:"_getTriggerAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{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||this._focused&&!!this._placeholder}}]),n}(Sz)).\u0275fac=function(e){return new(e||fz)(rs(RR),rs(Kl),rs(Ac),rs(zI),rs(Cl),rs(fI,8),rs(Wm,8),rs(ey,8),rs(sF,8),rs(cm,10),pi("tabindex"),rs(kz),rs(JT),rs(xz,8))},fz.\u0275dir=bt({type:fz,viewQuery:function(e,t){var n;1&e&&(Qu(oz,1),Qu(az,1),Qu(CL,1)),2&e&&(Zu(n=Ku())&&(t.trigger=n.first),Zu(n=Ku())&&(t.panel=n.first),Zu(n=Ku())&&(t.overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[za,Mt]}),fz),Dz=((hz=function(e){r(n,e);var t=a(n);function n(){var e;return A(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return m(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;i(c(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(CR(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;i(c(n.prototype),"_canOpen",this).call(this)&&(i(c(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Hb(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")}))}},{key:"_scrollOptionIntoView",value:function(e){var t,n,i,r=aR(e,this.options,this.optionGroups),o=this._getItemHeight();this.panel.nativeElement.scrollTop=(n=o,(t=(e+r)*o)<(i=this.panel.nativeElement.scrollTop)?t:t+n>i+256?Math.max(0,t-256+n):i)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),i(c(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new Cz(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);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 i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,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 i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=aR(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{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:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(Pz)).\u0275fac=function(e){return Oz(e||hz)},hz.\u0275cmp=ft({type:hz,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(Xu(n,Ez,1),Xu(n,oR,1),Xu(n,tR,1)),2&e&&(Zu(i=Ku())&&(t.customTrigger=i.first),Zu(i=Ku())&&(t.options=i),Zu(i=Ku())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&ms("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&($a("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),Fs("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[yl([{provide:JL,useExisting:hz},{provide:KI,useExisting:hz}]),za],ngContentSelectors:bz,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(As(yz),ss(0,"div",0,1),ms("click",function(){return t.toggle()}),ss(3,"div",2),ns(4,sz,2,1,"span",3),ns(5,cz,3,2,"span",4),ls(),ss(6,"div",5),us(7,"div",6),ls(),ls(),ns(8,dz,4,14,"ng-template",7),ms("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=is(1);$a("aria-owns",t.panelOpen?t.id+"-panel":null),xo(3),os("ngSwitch",t.empty),$a("id",t._valueId),xo(1),os("ngSwitchCase",!0),xo(1),os("ngSwitchCase",!1),xo(3),os("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[AL,Sh,Eh,CL,Ph,fh],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[wz.transformPanelWrap,wz.transformPanel]},changeDetection:0}),hz),Oz=hi(Dz),Mz=((pz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||pz)},pz.\u0275mod=mt({type:pz}),pz.\u0275inj=Fe({providers:[Az],imports:[[Zh,EL,lR,AI],LR,uF,lR,AI]}),pz),Tz={tooltipState:Xf("state",[ep("initial, void, hidden",$f({opacity:0,transform:"scale(0)"})),ep("visible",$f({transform:"scale(1)"})),np("* => visible",Kf("200ms cubic-bezier(0, 0, 0.2, 1)",tp([$f({opacity:0,transform:"scale(0)",offset:0}),$f({opacity:.5,transform:"scale(0.99)",offset:.5}),$f({opacity:1,transform:"scale(1)",offset:1})]))),np("* => hidden",Kf("100ms cubic-bezier(0, 0, 0.2, 1)",$f({opacity:0})))])},Iz=_T({passive:!0}),Rz=new mi("mat-tooltip-scroll-strategy"),Lz={provide:Rz,deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},Fz=new mi("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Bz=((mz=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){var f=this;A(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new W,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!iT(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run(function(){return f.hide(0)}))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)})}return m(e,[{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=cT(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(CR(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=f(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,Iz)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{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 kP(zz,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(CR(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:"_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(CR(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(CR(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();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Hb(1),CR(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}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=f(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,Iz)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}()).\u0275fac=function(e){return new(e||mz)(rs(_L),rs(Cl),rs(IR),rs(uu),rs(Ac),rs(bT),rs(FT),rs(rI),rs(Rz),rs(fI,8),rs(Fz,8),rs(od))},mz.\u0275dir=bt({type:mz,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),mz),zz=((vz=function(){function e(t,n){A(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new W,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}return m(e,[{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}},{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()}}]),e}()).\u0275fac=function(e){return new(e||vz)(rs(Kl),rs(EF))},vz.\u0275cmp=ft({type:vz,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&ms("click",function(){return t._handleBodyInteraction()},!1,Rr)("auxclick",function(){return t._handleBodyInteraction()},!1,Rr),2&e&&Ls("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(ss(0,"div",0),ms("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),Du(1,"async"),Qs(2),ls()),2&e)&&(Fs("mat-tooltip-handset",null==(n=Ou(1,5,t._isHandset))?null:n.matches),os("ngClass",t.tooltipClass)("@state",t._visibility),xo(2),Xs(t.message))},directives:[fh],pipes:[Nh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Tz.tooltipState]},changeDetection:0}),vz),Vz=((gz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||gz)},gz.\u0275mod=mt({type:gz}),gz.\u0275inj=Fe({providers:[Lz],imports:[[dI,Zh,EL,AI],AI,LR]}),gz);function Nz(e,t){if(1&e&&(ss(0,"mat-option",19),Qs(1),ls()),2&e){var n=t.$implicit;os("value",n),xo(1),Ks(" ",n," ")}}function Hz(e,t){if(1&e){var n=fs();ss(0,"mat-form-field",16),ss(1,"mat-select",17),ms("selectionChange",function(e){return nn(n),ks(2)._changePageSize(e.value)}),ns(2,Nz,2,2,"mat-option",18),ls(),ls()}if(2&e){var i=ks(2);os("appearance",i._formFieldAppearance)("color",i.color),xo(1),os("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),xo(1),os("ngForOf",i._displayedPageSizeOptions)}}function jz(e,t){if(1&e&&(ss(0,"div",20),Qs(1),ls()),2&e){var n=ks(2);xo(1),Xs(n.pageSize)}}function Uz(e,t){if(1&e&&(ss(0,"div",12),ss(1,"div",13),Qs(2),ls(),ns(3,Hz,3,6,"mat-form-field",14),ns(4,jz,2,1,"div",15),ls()),2&e){var n=ks();xo(2),Ks(" ",n._intl.itemsPerPageLabel," "),xo(1),os("ngIf",n._displayedPageSizeOptions.length>1),xo(1),os("ngIf",n._displayedPageSizeOptions.length<=1)}}function Wz(e,t){if(1&e){var n=fs();ss(0,"button",21),ms("click",function(){return nn(n),ks().firstPage()}),On(),ss(1,"svg",7),us(2,"path",22),ls(),ls()}if(2&e){var i=ks();os("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),$a("aria-label",i._intl.firstPageLabel)}}function Gz(e,t){if(1&e){var n=fs();On(),Mn(),ss(0,"button",23),ms("click",function(){return nn(n),ks().lastPage()}),On(),ss(1,"svg",7),us(2,"path",24),ls(),ls()}if(2&e){var i=ks();os("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),$a("aria-label",i._intl.lastPageLabel)}}var qz,Yz,Zz,Qz,Xz,Kz,Jz,$z,eV,tV,nV=((qz=function e(){A(this,e),this.changes=new W,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 i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}}).\u0275fac=function(e){return new(e||qz)},qz.\u0275prov=Re({factory:function(){return new qz},token:qz,providedIn:"root"}),qz),iV={provide:nV,deps:[[new Hi,new ji,nV]],useFactory:function(e){return e||new nV}},rV=new mi("MAT_PAGINATOR_DEFAULT_OPTIONS"),oV=CI(PI(function e(){A(this,e)})),aV=((tV=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;if(A(this,n),(o=t.call(this))._intl=e,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new Fu,o._intlChanges=e.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),r){var a=r.pageSize,l=r.pageSizeOptions,u=r.hidePageSize,c=r.showFirstLastButtons;null!=a&&(o._pageSize=a),null!=l&&(o._pageSizeOptions=l),null!=u&&(o._hidePageSize=u),null!=c&&(o._showFirstLastButtons=c)}return s(o)}return m(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(dT(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=dT(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(dT(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return dT(e)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=cT(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=cT(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})}}]),n}(oV)).\u0275fac=function(e){return new(e||tV)(rs(nV),rs(Kl),rs(void 0))},tV.\u0275dir=bt({type:tV,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[za]}),tV),sV=((eV=function(e){r(n,e);var t=a(n);function n(e,i,r){var o;return A(this,n),o=t.call(this,e,i,r),r&&null!=r.formFieldAppearance&&(o._formFieldAppearance=r.formFieldAppearance),o}return n}(aV)).\u0275fac=function(e){return new(e||eV)(rs(nV),rs(Kl),rs(rV,8))},eV.\u0275cmp=ft({type:eV,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[za],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(ss(0,"div",0),ss(1,"div",1),ns(2,Uz,5,3,"div",2),ss(3,"div",3),ss(4,"div",4),Qs(5),ls(),ns(6,Wz,3,5,"button",5),ss(7,"button",6),ms("click",function(){return t.previousPage()}),On(),ss(8,"svg",7),us(9,"path",8),ls(),ls(),Mn(),ss(10,"button",9),ms("click",function(){return t.nextPage()}),On(),ss(11,"svg",7),us(12,"path",10),ls(),ls(),ns(13,Gz,3,5,"button",11),ls(),ls(),ls()),2&e&&(xo(2),os("ngIf",!t.hidePageSize),xo(3),Ks(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),xo(1),os("ngIf",t.showFirstLastButtons),xo(1),os("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),$a("aria-label",t._intl.previousPageLabel),xo(3),os("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),$a("aria-label",t._intl.nextPageLabel),xo(3),os("ngIf",t.showFirstLastButtons))},directives:[mh,XF,Bz,lF,Dz,gh,oR],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),eV),lV=(($z=function e(){A(this,e)}).\u0275fac=function(e){return new(e||$z)},$z.\u0275mod=mt({type:$z}),$z.\u0275inj=Fe({providers:[iV],imports:[[Zh,KF,Mz,Vz,AI]]}),$z),uV=((Jz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Jz)},Jz.\u0275mod=mt({type:Jz}),Jz.\u0275inj=Fe({imports:[[AI,Zh],AI]}),Jz),cV=((Kz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Kz)},Kz.\u0275mod=mt({type:Kz}),Kz.\u0275inj=Fe({imports:[[Zh,AI,wT,LR],LR,AI]}),Kz),dV=((Xz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Xz)},Xz.\u0275mod=mt({type:Xz}),Xz.\u0275inj=Fe({}),Xz),hV=((Qz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Qz)},Qz.\u0275mod=mt({type:Qz}),Qz.\u0275inj=Fe({imports:[[dV,ZI,AI,OT],dV,AI]}),Qz),fV=((Zz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Zz)},Zz.\u0275mod=mt({type:Zz}),Zz.\u0275inj=Fe({imports:[[Zh,AI],AI]}),Zz),pV=((Yz=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Yz)},Yz.\u0275mod=mt({type:Yz}),Yz.\u0275inj=Fe({imports:[[EL,PP,Zh,KF,AI],AI]}),Yz),gV=["mat-sort-header",""];function vV(e,t){if(1&e){var n=fs();ss(0,"div",3),ms("@arrowPosition.start",function(){return nn(n),ks()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return nn(n),ks()._disableViewStateAnimation=!1}),us(1,"div",4),ss(2,"div",5),us(3,"div",6),us(4,"div",7),us(5,"div",8),ls(),ls()}if(2&e){var i=ks();os("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),xo(2),os("@indicator",i._getArrowDirectionState()),xo(1),os("@leftPointer",i._getArrowDirectionState()),xo(1),os("@rightPointer",i._getArrowDirectionState())}}var mV,yV,bV,wV,_V,kV,xV,AV=["*"],CV=new mi("MAT_SORT_DEFAULT_OPTIONS"),SV=PI(CI(function e(){A(this,e)})),EV=((mV=function(e){r(n,e);var t=a(n);function n(e){var i;return A(this,n),(i=t.call(this))._defaultOptions=e,i.sortables=new Map,i._stateChanges=new W,i.start="asc",i._direction="",i.sortChange=new Fu,i}return m(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=cT(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(e){var t,n,i;if(!e)return"";var r=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),o=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,r),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(SV)).\u0275fac=function(e){return new(e||mV)(rs(CV,8))},mV.\u0275dir=bt({type:mV,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[za,Mt]}),mV),PV=_I.ENTERING+" "+wI.STANDARD_CURVE,DV={indicator:Xf("indicator",[ep("active-asc, asc",$f({transform:"translateY(0px)"})),ep("active-desc, desc",$f({transform:"translateY(10px)"})),np("active-asc <=> active-desc",Kf(PV))]),leftPointer:Xf("leftPointer",[ep("active-asc, asc",$f({transform:"rotate(-45deg)"})),ep("active-desc, desc",$f({transform:"rotate(45deg)"})),np("active-asc <=> active-desc",Kf(PV))]),rightPointer:Xf("rightPointer",[ep("active-asc, asc",$f({transform:"rotate(45deg)"})),ep("active-desc, desc",$f({transform:"rotate(-45deg)"})),np("active-asc <=> active-desc",Kf(PV))]),arrowOpacity:Xf("arrowOpacity",[ep("desc-to-active, asc-to-active, active",$f({opacity:1})),ep("desc-to-hint, asc-to-hint, hint",$f({opacity:.54})),ep("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",$f({opacity:0})),np("* => asc, * => desc, * => active, * => hint, * => void",Kf("0ms")),np("* <=> *",Kf(PV))]),arrowPosition:Xf("arrowPosition",[np("* => desc-to-hint, * => desc-to-active",Kf(PV,tp([$f({transform:"translateY(-25%)"}),$f({transform:"translateY(0)"})]))),np("* => hint-to-desc, * => active-to-desc",Kf(PV,tp([$f({transform:"translateY(0)"}),$f({transform:"translateY(25%)"})]))),np("* => asc-to-hint, * => asc-to-active",Kf(PV,tp([$f({transform:"translateY(25%)"}),$f({transform:"translateY(0)"})]))),np("* => hint-to-asc, * => active-to-asc",Kf(PV,tp([$f({transform:"translateY(0)"}),$f({transform:"translateY(-25%)"})]))),ep("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",$f({transform:"translateY(0)"})),ep("hint-to-desc, active-to-desc, desc",$f({transform:"translateY(-25%)"})),ep("hint-to-asc, active-to-asc, asc",$f({transform:"translateY(25%)"}))]),allowChildren:Xf("allowChildren",[np("* <=> *",[rp("@*",ip(),{optional:!0})])])},OV=((yV=function e(){A(this,e),this.changes=new W,this.sortButtonLabel=function(e){return"Change sorting for "+e}}).\u0275fac=function(e){return new(e||yV)},yV.\u0275prov=Re({factory:function(){return new yV},token:yV,providedIn:"root"}),yV),MV={provide:OV,deps:[[new Hi,new ji,OV]],useFactory:function(e){return e||new OV}},TV=CI(function e(){A(this,e)}),IV=((xV=function(e){r(n,e);var t=a(n);function n(e,i,r,o,a,s){var l;return A(this,n),(l=t.call(this))._intl=e,l._changeDetectorRef=i,l._sort=r,l._columnDef=o,l._focusMonitor=a,l._elementRef=s,l._showIndicatorHint=!1,l._arrowDirection="",l._disableViewStateAnimation=!1,l.arrowPosition="after",l._handleStateChanges(),l}return m(n,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=cT(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var n=!!t;n!==e._showIndicatorHint&&(e._setIndicatorHintVisible(n),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=he(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),n}(TV)).\u0275fac=function(e){return new(e||xV)(rs(OV),rs(Kl),rs(EV,8),rs("MAT_SORT_HEADER_COLUMN_DEF",8),rs(rI),rs(Cl))},xV.\u0275cmp=ft({type:xV,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&ms("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&($a("aria-sort",t._getAriaSortAttribute()),Fs("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[za],attrs:gV,ngContentSelectors:AV,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(As(),ss(0,"div",0),ss(1,"div",1),Cs(2),ls(),ns(3,vV,6,6,"div",2),ls()),2&e&&(Fs("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),$a("tabindex",t._isDisabled()?null:0),xo(3),os("ngIf",t._renderArrow()))},directives:[mh],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[DV.indicator,DV.leftPointer,DV.rightPointer,DV.arrowOpacity,DV.arrowPosition,DV.allowChildren]},changeDetection:0}),xV),RV=((kV=function e(){A(this,e)}).\u0275fac=function(e){return new(e||kV)},kV.\u0275mod=mt({type:kV}),kV.\u0275inj=Fe({providers:[MV],imports:[[Zh,AI]]}),kV),LV=((_V=function e(){A(this,e)}).\u0275fac=function(e){return new(e||_V)},_V.\u0275mod=mt({type:_V}),_V.\u0275inj=Fe({imports:[[FR]]}),_V),FV=((wV=function e(){A(this,e)}).\u0275fac=function(e){return new(e||wV)},wV.\u0275mod=mt({type:wV}),wV.\u0275inj=Fe({imports:[[LV,AI],AI]}),wV),BV=((bV=function e(){A(this,e)}).\u0275fac=function(e){return new(e||bV)},bV.\u0275mod=mt({type:bV}),bV.\u0275inj=Fe({imports:[[Zh,AI,PP,ZI,OT,dI],AI]}),bV),zV=["mat-menu-item",""],VV=["*"];function NV(e,t){if(1&e){var n=fs();ss(0,"div",0),ms("keydown",function(e){return nn(n),ks()._handleKeydown(e)})("click",function(){return nn(n),ks().closed.emit("click")})("@transformMenu.start",function(e){return nn(n),ks()._onAnimationStart(e)})("@transformMenu.done",function(e){return nn(n),ks()._onAnimationDone(e)}),ss(1,"div",1),Cs(2),ls(),ls()}if(2&e){var i=ks();os("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),$a("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var HV,jV,UV,WV,GV,qV,YV={transformMenu:Xf("transformMenu",[ep("void",$f({opacity:0,transform:"scale(0.8)"})),np("void => enter",Kf("120ms cubic-bezier(0, 0, 0.2, 1)",$f({opacity:1,transform:"scale(1)"}))),np("* => void",Kf("100ms 25ms linear",$f({opacity:0})))]),fadeInItems:Xf("fadeInItems",[ep("showing",$f({opacity:1})),np("void => *",[$f({opacity:0}),Kf("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ZV=new mi("MatMenuContent"),QV=new mi("MAT_MENU_PANEL"),XV=EI(CI(function e(){A(this,e)})),KV=((HV=function(e){r(n,e);var t=a(n);function n(e,i,r,o){var a;return A(this,n),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new W,a._focused=new W,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(l(a)),a}return m(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r<i.length;r++){var o=i[r];null===(e=o.parentNode)||void 0===e||e.removeChild(o)}return(null===(t=n.textContent)||void 0===t?void 0:t.trim())||""}}]),n}(XV)).\u0275fac=function(e){return new(e||HV)(rs(Cl),rs(od),rs(rI),rs(QV,8))},HV.\u0275cmp=ft({type:HV,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&ms("click",function(e){return t._checkDisabled(e)})("mouseenter",function(){return t._handleMouseEnter()}),2&e&&($a("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),Fs("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[za],attrs:zV,ngContentSelectors:VV,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(As(),Cs(0),us(1,"div",0)),2&e&&(xo(1),os("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[YI],encapsulation:2,changeDetection:0}),HV),JV=new mi("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),$V=0,eN=((UV=function(){function e(t,n,i){A(this,e),this._elementRef=t,this._ngZone=n,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new zu,this._tabSubscription=O.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new W,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Fu,this.close=this.closed,this.panelId="mat-menu-panel-"+$V++}return m(e,[{key:"xPosition",get:function(){return this._xPosition},set:function(e){this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=cT(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=cT(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(e){t._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(function(e){t._classList[e]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var e=this;this._updateDirectDescendants(),this._keyManager=new jT(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")}),this._directDescendantItems.changes.pipe(Wb(this._directDescendantItems),Bb(function(e){return he.apply(void 0,y(e.map(function(e){return e._focused})))})).subscribe(function(t){return e._keyManager.updateActiveItem(t)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe(Wb(this._directDescendantItems),Bb(function(e){return he.apply(void 0,y(e.map(function(e){return e._hovered})))}))}},{key:"addItem",value:function(e){}},{key:"removeItem",value:function(e){}},{key:"_handleKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;switch(t){case 27:iT(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==t&&40!==t||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}},{key:"focusFirstItem",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Hb(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z"+Math.min(4+e,24),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Wb(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}()).\u0275fac=function(e){return new(e||UV)(rs(Cl),rs(Ac),rs(JV))},UV.\u0275dir=bt({type:UV,contentQueries:function(e,t,n){var i;1&e&&(Xu(n,ZV,1),Xu(n,KV,1),Xu(n,KV,0)),2&e&&(Zu(i=Ku())&&(t.lazyContent=i.first),Zu(i=Ku())&&(t._allItems=i),Zu(i=Ku())&&(t.items=i))},viewQuery:function(e,t){var n;1&e&&Qu(iu,1),2&e&&Zu(n=Ku())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),UV),tN=((jV=function(e){r(n,e);var t=a(n);function n(e,i,r){return A(this,n),t.call(this,e,i,r)}return n}(eN)).\u0275fac=function(e){return new(e||jV)(rs(Cl),rs(Ac),rs(JV))},jV.\u0275cmp=ft({type:jV,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&$a("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[yl([{provide:QV,useExisting:jV}]),za],ngContentSelectors:VV,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(As(),ns(0,NV,3,6,"ng-template"))},directives:[fh],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[YV.transformMenu,YV.fadeInItems]},changeDetection:0}),jV),nN=new mi("mat-menu-scroll-strategy"),iN={provide:nN,deps:[_L],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},rN=_T({passive:!0}),oN=((qV=function(){function e(t,n,i,r,o,a,s,l){var u=this;A(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=O.EMPTY,this._hoverSubscription=O.EMPTY,this._menuCloseSubscription=O.EMPTY,this._handleTouchStart=function(e){eI(e)||(u._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Fu,this.onMenuOpen=this.menuOpened,this.menuClosed=new Fu,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=o instanceof eN?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,rN),a&&(a._triggersSubmenu=this.triggersSubmenu())}return m(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rN),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof eN&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof eN?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Ry(function(e){return"void"===e.toState}),Hb(1),CR(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new JR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=f("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=f("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,l=a,u=n,c=i,d=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=u="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",l="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:u,overlayY:o,offsetY:d},{originX:i,originY:s,overlayX:c,overlayY:o,offsetY:d},{originX:n,originY:l,overlayX:u,overlayY:a,offsetY:-d},{originX:i,originY:l,overlayX:c,overlayY:a,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return he(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Ty(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ry(function(t){return t!==e._menuItemInstance}),Ry(function(){return e._menuOpen})):Ty(),n)}},{key:"_handleMousedown",value:function(e){$T(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;13!==t&&32!==t||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ry(function(t){return t===e._menuItemInstance&&!t.disabled}),cF(0,yR)).subscribe(function(){e._openedBy="mouse",e.menu instanceof eN&&e.menu._isAnimating?e.menu._animationDone.pipe(Hb(1),cF(0,yR),CR(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new xP(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}()).\u0275fac=function(e){return new(e||qV)(rs(_L),rs(Cl),rs(uu),rs(nN),rs(QV,8),rs(KV,10),rs(fI,8),rs(rI))},qV.\u0275dir=bt({type:qV,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&ms("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&$a("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),qV),aN=((GV=function e(){A(this,e)}).\u0275fac=function(e){return new(e||GV)},GV.\u0275mod=mt({type:GV}),GV.\u0275inj=Fe({providers:[iN],imports:[AI]}),GV),sN=((WV=function e(){A(this,e)}).\u0275fac=function(e){return new(e||WV)},WV.\u0275mod=mt({type:WV}),WV.\u0275inj=Fe({providers:[iN],imports:[[Zh,AI,ZI,EL,aN],LR,AI,aN]}),WV);function lN(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function uN(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function cN(e,t){var n=t?"":"none";uN(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function dN(e,t){var n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function hN(e){var t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function fN(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}function pN(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function gN(e,t,n){var i=e.top,r=e.bottom,o=e.left,a=e.right;return n>=i&&n<=r&&t>=o&&t<=a}function vN(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function mN(e,t,n,i){var r=e.top,o=e.right,a=e.bottom,s=e.left,l=e.width*t,u=e.height*t;return i>r-u&&i<a+u&&n>s-l&&n<o+l}var yN=function(){function e(t,n){A(this,e),this._document=t,this._viewportRuler=n,this.positions=new Map}return m(e,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(e){var t=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(function(e){t.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:pN(e)})})}},{key:"handleScroll",value:function(e){var t=e.target,n=this.positions.get(t);if(!n)return null;var i,r,o=t===this._document?t.documentElement:t,a=n.scrollPosition;if(t===this._document){var s=this._viewportRuler.getViewportScrollPosition();i=s.top,r=s.left}else i=t.scrollTop,r=t.scrollLeft;var l=a.top-i,u=a.left-r;return this.positions.forEach(function(e,n){e.clientRect&&t!==n&&o.contains(n)&&vN(e.clientRect,l,u)}),a.top=i,a.left=r,{top:l,left:u}}}]),e}();function bN(e){var t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();t.removeAttribute("id");for(var r=0;r<n.length;r++)n[r].removeAttribute("id");return"canvas"===i?xN(e,t):"input"!==i&&"select"!==i&&"textarea"!==i||kN(e,t),wN("canvas",e,t,xN),wN("input, textarea, select",e,t,kN),t}function wN(e,t,n,i){var r=t.querySelectorAll(e);if(r.length)for(var o=n.querySelectorAll(e),a=0;a<r.length;a++)i(r[a],o[a])}var _N=0;function kN(e,t){"file"!==t.type&&(t.value=e.value),"radio"===t.type&&t.name&&(t.name="mat-clone-".concat(t.name,"-").concat(_N++))}function xN(e,t){var n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch(wQ){}}var AN=_T({passive:!0}),CN=_T({passive:!1}),SN=function(){function e(t,n,i,r,o,a){var s=this;A(this,e),this._config=n,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new W,this._pointerMoveSubscription=O.EMPTY,this._pointerUpSubscription=O.EMPTY,this._scrollSubscription=O.EMPTY,this._resizeSubscription=O.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new W,this.started=new W,this.released=new W,this.ended=new W,this.entered=new W,this.exited=new W,this.dropped=new W,this.moved=this._moveEvents,this._pointerDown=function(e){if(s.beforeStarted.next(),s._handles.length){var t=s._handles.find(function(t){var n=e.target;return!!n&&(n===t||t.contains(n))});!t||s._disabledHandles.has(t)||s.disabled||s._initializeDragSequence(t,e)}else s.disabled||s._initializeDragSequence(s._rootElement,e)},this._pointerMove=function(e){var t=s._getPointerPositionOnPage(e);if(s._hasStartedDragging){s._boundaryElement&&(s._previewRect&&(s._previewRect.width||s._previewRect.height)||(s._previewRect=(s._preview||s._rootElement).getBoundingClientRect())),e.preventDefault();var n=s._getConstrainedPointerPosition(t);if(s._hasMoved=!0,s._lastKnownPointerPosition=t,s._updatePointerDirectionDelta(n),s._dropContainer)s._updateActiveDropContainer(n,t);else{var i=s._activeTransform;i.x=n.x-s._pickupPositionOnPage.x+s._passiveTransform.x,i.y=n.y-s._pickupPositionOnPage.y+s._passiveTransform.y,s._applyRootElementTransform(i.x,i.y),"undefined"!=typeof SVGElement&&s._rootElement instanceof SVGElement&&s._rootElement.setAttribute("transform","translate(".concat(i.x," ").concat(i.y,")"))}s._moveEvents.observers.length&&s._ngZone.run(function(){s._moveEvents.next({source:s,pointerPosition:n,event:e,distance:s._getDragDistance(n),delta:s._pointerDirectionDelta})})}else if(Math.abs(t.x-s._pickupPositionOnPage.x)+Math.abs(t.y-s._pickupPositionOnPage.y)>=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(e),o=s._dropContainer;if(!r)return void s._endDragSequence(e);o&&(o.isDragging()||o.isReceiving())||(e.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(e)}))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new yN(i,o),a.registerDragItem(this)}return m(e,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=cT(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(function(e){return cN(e,t)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(e){var t=this;this._handles=e.map(function(e){return pT(e)}),this._handles.forEach(function(e){return cN(e,t.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(e){t._handles.indexOf(e)>-1&&n.add(e)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(e){return this._previewTemplate=e,this}},{key:"withPlaceholderTemplate",value:function(e){return this._placeholderTemplate=e,this}},{key:"withRootElement",value:function(e){var t=this,n=pT(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",t._pointerDown,CN),n.addEventListener("touchstart",t._pointerDown,AN)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?pT(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return t._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(e){return this._parentDragRef=e,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&DN(this._rootElement),DN(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),cN(e,!0))}},{key:"enableHandle",value:function(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),cN(e,this.disabled))}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"_withDropContainer",value:function(e){this._dropContainer=e}},{key:"getFreeDragPosition",value:function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}},{key:"setFreeDragPosition",value:function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}},{key:"_sortFromLastPointerPosition",value:function(){var e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&DN(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&DN(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){t.ended.next({source:t,distance:t._getDragDistance(t._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(e){ON(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t=this._dropContainer;if(t){var n=this._rootElement,i=n.parentNode,r=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();i.insertBefore(a,n),dN(n,!1),this._document.body.appendChild(i.replaceChild(o,n)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,s).appendChild(r),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var n=this;this._parentDragRef&&t.stopPropagation();var i=this.isDragging(),r=ON(t),o=!r&&0!==t.button,a=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(i||o||s)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(function(e){n._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=pN(this._boundaryElement));var l=this._previewTemplate;this._pickupPositionInElement=l&&l.template&&!l.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}}},{key:"_cleanupDragArtifacts",value:function(e){var t=this;dN(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(function(){var n=t._dropContainer,i=n.getItemIndex(t),r=t._getPointerPositionOnPage(e),o=t._getDragDistance(t._getPointerPositionOnPage(e)),a=n._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:o}),t.dropped.next({item:t,currentIndex:i,previousIndex:t._initialIndex,container:n,previousContainer:t._initialContainer,isPointerOverContainer:a,distance:o}),n.drop(t,i,t._initialIndex,t._initialContainer,a,o),t._dropContainer=t._initialContainer})}},{key:"_updateActiveDropContainer",value:function(e,t){var n=this,i=e.x,r=e.y,o=t.x,a=t.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,r,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this._dropContainer._startScrollingIfNecessary(o,a),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this._preview.style.transform=EN(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)}},{key:"_createPreviewElement",value:function(){var e,t=this._previewTemplate,n=this.previewClass,i=t?t.template:null;if(i&&t){var r=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),e=MN(o,this._document),this._previewRef=o,t.matchSize?TN(e,r):e.style.transform=EN(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;TN(e=bN(a),a.getBoundingClientRect())}return uN(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),cN(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(t){return e.classList.add(t)}):e.classList.add(n)),e}},{key:"_animatePreviewToPlaceholder",value:function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=EN(t.left,t.top);var n=function(e){var t=getComputedStyle(e),n=fN(t,"transition-property"),i=n.find(function(e){return"transform"===e||"all"===e});if(!i)return 0;var r=n.indexOf(i),o=fN(t,"transition-duration"),a=fN(t,"transition-delay");return hN(o[r])+hN(a[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var i=function n(i){(!i||i.target===e._preview&&"transform"===i.propertyName)&&(e._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(i,1.5*n);e._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),e=MN(this._placeholderRef,this._document)):e=bN(this._rootElement),e.classList.add("cdk-drag-placeholder"),e}},{key:"_getPointerPositionInElement",value:function(e,t){var n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,r=i?i.getBoundingClientRect():n,o=ON(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition();return{x:r.left-n.left+(o.pageX-r.left-a.left),y:r.top-n.top+(o.pageY-r.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(e){var t=this._getViewportScrollPosition(),n=ON(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,r=n.pageY-t.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=r,a.matrixTransform(o.inverse())}}return{x:i,y:r}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(e,this):e,i=n.x,r=n.y;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(i=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,a=o.x,s=o.y,l=this._boundaryRect,u=this._previewRect,c=l.top+s,d=l.bottom-(u.height-s);i=PN(i,l.left+a,l.right-(u.width-a)),r=PN(r,c,d)}return{x:i,y:r}}},{key:"_updatePointerDirectionDelta",value:function(e){var t=e.x,n=e.y,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-r.x),a=Math.abs(n-r.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=t>r.x?1:-1,r.x=t),a>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,cN(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,CN),e.removeEventListener("touchstart",this._pointerDown,AN)}},{key:"_applyRootElementTransform",value:function(e,t){var n=EN(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}},{key:"_getDragDistance",value:function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var e=this._passiveTransform,t=e.x,n=e.y;if(!(0===t&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===r.width&&0===r.height)){var o=i.left-r.left,a=r.right-i.right,s=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,i.height>r.height?(s>0&&(n+=s),l>0&&(n-=l)):n=0,t===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:t})}}}},{key:"_getDragStartDelay",value:function(e){var t=this.dragStartDelay;return"number"==typeof t?t:ON(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);if(t){var n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&vN(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=kT(this._rootElement)),this._cachedShadowRoot}}]),e}();function EN(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function PN(e,t,n){return Math.max(t,Math.min(n,e))}function DN(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function ON(e){return"t"===e.type[0]}function MN(e,t){var n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];var i=t.createElement("div");return n.forEach(function(e){return i.appendChild(e)}),i}function TN(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=EN(t.left,t.top)}function IN(e,t){return Math.max(0,Math.min(t,e))}var RN=function(){function e(t,n,i,r,o){var a=this;A(this,e),this._dragDropRegistry=n,this._ngZone=r,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new W,this.entered=new W,this.exited=new W,this.dropped=new W,this.sorted=new W,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=O.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new W,this._cachedShadowRoot=null,this._startScrollInterval=function(){a._stopScrolling(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rT;return(!_R(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=rT),new z(function(n){return n.add(t.schedule(lN,e,{subscriber:n,counter:0,period:e})),n})}(0,cR).pipe(CR(a._stopScrollTimers)).subscribe(function(){var e=a._scrollNode,t=a.autoScrollStep;1===a._verticalScrollDirection?FN(e,-t):2===a._verticalScrollDirection&&FN(e,t),1===a._horizontalScrollDirection?BN(e,-t):2===a._horizontalScrollDirection&&BN(e,t)})},this.element=pT(t),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new yN(i,o)}return m(e,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(e,t,n,i){var r;this._draggingStarted(),null==i?-1===(r=this.sortingDisabled?this._draggables.indexOf(e):-1)&&(r=this._getItemIndexFromPointerPosition(e,t,n)):r=i;var o=this._activeDraggables,a=o.indexOf(e),s=e.getPlaceholderElement(),l=o[r];if(l===e&&(l=o[r+1]),a>-1&&o.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){var u=l.getRootElement();u.parentElement.insertBefore(s,u),o.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){var c=o[0].getRootElement();c.parentNode.insertBefore(s,c),o.unshift(e)}else pT(this.element).appendChild(s),o.push(e);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}},{key:"exit",value:function(e){this._reset(),this.exited.next({item:e,container:this})}},{key:"drop",value:function(e,t,n,i,r,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:o})}},{key:"withItems",value:function(e){var t=this,n=this._draggables;return this._draggables=e,e.forEach(function(e){return e._withDropContainer(t)}),this.isDragging()&&(n.filter(function(e){return e.isDragging()}).every(function(t){return-1===e.indexOf(t)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"connectedTo",value:function(e){return this._siblings=e.slice(),this}},{key:"withOrientation",value:function(e){return this._orientation=e,this}},{key:"withScrollableParents",value:function(e){var t=pT(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t].concat(y(e)):e.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(e){return this._isDragging?LN("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(t){return t.drag===e}):this._draggables.indexOf(e)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(e,t,n,i){if(!this.sortingDisabled&&this._clientRect&&mN(this._clientRect,.05,t,n)){var r=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,n,i);if(!(-1===o&&r.length>0)){var a="horizontal"===this._orientation,s=LN(r,function(t){return t.drag===e}),l=r[o],u=l.clientRect,c=s>o?1:-1,d=this._getItemOffsetPx(r[s].clientRect,u,c),h=this._getSiblingOffsetPx(s,r,c),f=r.slice();!function(e,t,n){var i=IN(t,e.length-1),r=IN(n,e.length-1);if(i!==r){for(var o=e[i],a=r<i?-1:1,s=i;s!==r;s+=a)e[s]=e[s+a];e[r]=o}}(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:e}),r.forEach(function(t,n){if(f[n]!==t){var i=t.drag===e,r=i?d:h,o=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,a?(o.style.transform="translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),vN(t.clientRect,0,r)):(o.style.transform="translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),vN(t.clientRect,r,0))}}),this._previousSwap.overlaps=gN(u,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=a?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(e,t){var n=this;if(!this.autoScrollDisabled){var i,r=0,o=0;if(this._parentPositions.positions.forEach(function(a,s){var l;s!==n._document&&a.clientRect&&!i&&mN(a.clientRect,.05,e,t)&&(l=f(function(e,t,n,i){var r=zN(t,i),o=VN(t,n),a=0,s=0;if(r){var l=e.scrollTop;1===r?l>0&&(a=1):e.scrollHeight-l>e.clientHeight&&(a=2)}if(o){var u=e.scrollLeft;1===o?u>0&&(s=1):e.scrollWidth-u>e.clientWidth&&(s=2)}return[a,s]}(s,a.clientRect,e,t),2),r=l[0],o=l[1],(r||o)&&(i=s))}),!r&&!o){var a=this._viewportRuler.getViewportSize(),s=a.width,l=a.height,u={width:s,height:l,top:0,right:s,bottom:l,left:0};r=zN(u,t),o=VN(u,e),i=window}!i||r===this._verticalScrollDirection&&o===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var e=pT(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var e=pT(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}},{key:"_cacheItemPositions",value:function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=e.getVisibleElement();return{drag:e,offset:0,clientRect:pN(t)}}).sort(function(t,n){return e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var e=this;this._isDragging=!1;var t=pT(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(e){var t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(function(t){return t._stopReceiving(e)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=t[e].clientRect,o=t[e+-1*n],a=r[i?"width":"height"]*n;if(o){var s=i?"left":"top",l=i?"right":"bottom";-1===n?a-=o.clientRect[s]-r[l]:a+=r[s]-o.clientRect[l]}return a}},{key:"_getItemOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=i?t.left-e.left:t.top-e.top;return-1===n&&(r+=i?t.width-e.width:t.height-e.height),r}},{key:"_shouldEnterAsFirstChild",value:function(e,t){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var r=n[n.length-1].clientRect;return i?e>=r.right:t>=r.bottom}var o=n[0].clientRect;return i?e<=o.left:t<=o.top}},{key:"_getItemIndexFromPointerPosition",value:function(e,t,n,i){var r=this,o="horizontal"===this._orientation,a=LN(this._itemPositions,function(a,s,l){var u=a.drag,c=a.clientRect;if(u===e)return l.length<2;if(i){var d=o?i.x:i.y;if(u===r._previousSwap.drag&&r._previousSwap.overlaps&&d===r._previousSwap.delta)return!1}return o?t>=Math.floor(c.left)&&t<Math.floor(c.right):n>=Math.floor(c.top)&&n<Math.floor(c.bottom)});return-1!==a&&this.sortPredicate(a,e,this)?a:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(e,t){return null!=this._clientRect&&gN(this._clientRect,e,t)}},{key:"_getSiblingContainerFromPosition",value:function(e,t,n){return this._siblings.find(function(i){return i._canReceive(e,t,n)})}},{key:"_canReceive",value:function(e,t,n){if(!this._clientRect||!gN(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;var i=this._getShadowRoot().elementFromPoint(t,n);if(!i)return!1;var r=pT(this.element);return i===r||r.contains(i)}},{key:"_startReceiving",value:function(e,t){var n=this,i=this._activeSiblings;!i.has(e)&&t.every(function(e){return n.enterPredicate(e,n)||n._draggables.indexOf(e)>-1})&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var e=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){if(e.isDragging()){var n=e._parentPositions.handleScroll(t);n&&(e._itemPositions.forEach(function(e){vN(e.clientRect,n.top,n.left)}),e._itemPositions.forEach(function(t){var n=t.drag;e._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else e.isReceiving()&&e._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var e=kT(pT(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var e=this,t=this._activeDraggables.filter(function(e){return e.isDragging()});this._siblings.forEach(function(n){return n._startReceiving(e,t)})}}]),e}();function LN(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function FN(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function BN(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function zN(e,t){var n=e.top,i=e.bottom,r=.05*e.height;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}function VN(e,t){var n=e.left,i=e.right,r=.05*e.width;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}var NN,HN,jN,UN=_T({passive:!1,capture:!0}),WN=((NN=function(){function e(t,n){var i=this;A(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(e){return e.isDragging()},this.pointerMove=new W,this.pointerUp=new W,this.scroll=new W,this._preventDefaultWhileDragging=function(e){i._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=function(e){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&e.preventDefault(),i.pointerMove.next(e))},this._document=n}return m(e,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._persistentTouchmoveListener,UN)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,UN)}},{key:"startDragging",value:function(e,t){var n=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var i=t.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return n.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:UN}),i||this._globalListeners.set("mousemove",{handler:function(e){return n.pointerMove.next(e)},options:UN}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(e,t){n._document.addEventListener(t,e.handler,e.options)})})}}},{key:"stopDragging",value:function(e){var t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(t){return e.removeDragItem(t)}),this._dropInstances.forEach(function(t){return e.removeDropContainer(t)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(t,n){e._document.removeEventListener(n,t.handler,t.options)}),this._globalListeners.clear()}}]),e}()).\u0275fac=function(e){return new(e||NN)(Ri(Ac),Ri(od))},NN.\u0275prov=Re({factory:function(){return new NN(Ri(Ac),Ri(od))},token:NN,providedIn:"root"}),NN),GN={dragStartThreshold:5,pointerDirectionChangeThreshold:5},qN=((HN=function(){function e(t,n,i,r){A(this,e),this._document=t,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=r}return m(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:GN;return new SN(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new RN(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}()).\u0275fac=function(e){return new(e||HN)(Ri(od),Ri(Ac),Ri(RR),Ri(WN))},HN.\u0275prov=Re({factory:function(){return new HN(Ri(od),Ri(Ac),Ri(RR),Ri(WN))},token:HN,providedIn:"root"}),HN),YN=new mi("CDK_DRAG_PARENT"),ZN=new mi("CDK_DRAG_CONFIG"),QN=new mi("CdkDropList"),XN=new mi("CdkDragHandle"),KN=new mi("CdkDragPlaceholder"),JN=new mi("CdkDragPreview"),$N=((jN=function(){function e(t,n,i,r,o,a,s,l,u,c,d){var h=this;A(this,e),this.element=t,this.dropContainer=n,this._ngZone=r,this._viewContainerRef=o,this._dir=s,this._changeDetectorRef=u,this._selfHandle=c,this._parentDrag=d,this._destroyed=new W,this.started=new Fu,this.released=new Fu,this.ended=new Fu,this.entered=new Fu,this.exited=new Fu,this.dropped=new Fu,this.moved=new z(function(e){var t=h._dragRef.moved.pipe(Y(function(e){return{source:h,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),a&&this._assignDefaults(a),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return m(e,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=cT(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.onStable.pipe(Hb(1),CR(this._destroyed)).subscribe(function(){e._updateRootElement(),e._handles.changes.pipe(Wb(e._handles),uw(function(t){var n=t.filter(function(t){return t._parentDrag===e}).map(function(e){return e.element});e._selfHandle&&e.rootElementSelector&&n.push(e.element),e._dragRef.withHandles(n)}),Bb(function(e){return he.apply(void 0,y(e.map(function(e){return e._stateChanges.pipe(Wb(e))})))}),CR(e._destroyed)).subscribe(function(t){var n=e._dragRef,i=t.element.nativeElement;t.disabled?n.disableHandle(i):n.enableHandle(i)}),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})}},{key:"ngOnChanges",value:function(e){var t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?eH(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?eH(this.element.nativeElement,e):pT(e):null}},{key:"_syncInputs",value:function(t){var n=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var e=n._dir,i=n.dragStartDelay,r=n._placeholderTemplate?{template:n._placeholderTemplate.templateRef,context:n._placeholderTemplate.data,viewContainer:n._viewContainerRef}:null,o=n._previewTemplate?{template:n._previewTemplate.templateRef,context:n._previewTemplate.data,matchSize:n._previewTemplate.matchSize,viewContainer:n._viewContainerRef}:null;t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:dT(i),t.constrainPosition=n.constrainPosition,t.previewClass=n.previewClass,t.withBoundaryElement(n._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(Hb(1)).subscribe(function(){var i,r;if(n._parentDrag)t.withParent(n._parentDrag._dragRef);else for(var o=n.element.nativeElement.parentElement;o;){if(null===(i=o.classList)||void 0===i?void 0:i.contains("cdk-drag")){t.withParent((null===(r=e._dragInstances.find(function(e){return e.element.nativeElement===o}))||void 0===r?void 0:r._dragRef)||null);break}o=o.parentElement}})}},{key:"_handleEvents",value:function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(e){t.ended.emit({source:t,distance:e.distance}),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance})})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.dragStartDelay,i=e.constrainPosition,r=e.previewClass,o=e.boundaryElement,a=e.draggingDisabled,s=e.rootElementSelector;this.disabled=null!=a&&a,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),r&&(this.previewClass=r),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s)}}]),e}()).\u0275fac=function(e){return new(e||jN)(rs(Cl),rs(QN,12),rs(od),rs(Ac),rs(uu),rs(ZN,8),rs(fI,8),rs(qN),rs(Kl),rs(XN,10),rs(YN,12))},jN.\u0275dir=bt({type:jN,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){var i;1&e&&(Xu(n,JN,1),Xu(n,KN,1),Xu(n,XN,1)),2&e&&(Zu(i=Ku())&&(t._previewTemplate=i.first),Zu(i=Ku())&&(t._placeholderTemplate=i.first),Zu(i=Ku())&&(t._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&Fs("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[yl([{provide:YN,useExisting:jN}]),Mt]}),jN._dragInstances=[],jN);function eH(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}var tH,nH=((tH=function e(){A(this,e)}).\u0275fac=function(e){return new(e||tH)},tH.\u0275mod=mt({type:tH}),tH.\u0275inj=Fe({providers:[qN],imports:[LR]}),tH),iH=function(e,t,n){if(0===n||0===t)return"";var i=e*t;return i<(n=Math.max(n,0))&&Math.min(i+t,n),"".concat(e+1," / ").concat(Math.ceil(n/t))};var rH,oH,aH,sH,lH=((sH=function e(){A(this,e)}).\u0275fac=function(e){return new(e||sH)},sH.\u0275mod=mt({type:sH}),sH.\u0275inj=Fe({providers:[{provide:nV,useValue:(aH=new nV,aH.itemsPerPageLabel="Afficher:",aH.nextPageLabel="Page suivante",aH.previousPageLabel="Page pr\xe9c\xe9dente",aH.getRangeLabel=iH,aH)}],imports:[[cV,rz,OB,jF,ZI,nH,pV,KF,ez,uV,JF,nz,TB,sN,BV,fV,Mz,hV,wF,FV,lV,RV,bF,eB],cV,rz,OB,jF,ZI,nH,pV,KF,ez,uV,JF,nz,TB,sN,BV,fV,Mz,hV,wF,FV,lV,RV,bF,eB]}),sH),uH=((oH=function e(t,n,i){A(this,e),this.translate=t,this.data=n,this.dialogRef=i,null===this.data.mode&&(this.data.mode=""),null===this.data.msg&&(this.data.msg="")}).\u0275fac=function(e){return new(e||oH)(rs(vP),rs(wB),rs(cB))},oH.\u0275cmp=ft({type:oH,selectors:[["ng-component"]],decls:10,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","red",3,"click"]],template:function(e,t){1&e&&(ss(0,"div"),ss(1,"h1",0),Qs(2),Du(3,"translate"),ls(),us(4,"div",1),Du(5,"translate"),ss(6,"div",2),ss(7,"button",3),ms("click",function(){return t.dialogRef.close()}),Qs(8),Du(9,"translate"),ls(),ls(),ls()),2&e&&(tl("modalContent ",t.data.mode,""),xo(2),Xs(Ou(3,6,t.data.title)),xo(2),os("innerHTML",Ou(5,8,t.data.msg),Ar),xo(4),Xs(Ou(9,10,"lang.ok")))},directives:[EB,PB,DB,XF],pipes:[mP],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),oH),cH=((rH=function(){function e(t,n,i,r,o,a,s,l,u){A(this,e),this.translate=t,this.http=n,this.router=i,this.signaturesService=r,this.cookieService=o,this.authService=a,this.localStorage=s,this.dialog=l,this.menu=u}return m(e,[{key:"canActivate",value:function(e,t){var n=this;if("login"===e.url.join("/"))return this.authService.isAuth()?(this.router.navigate(["/home"]),!1):(this.http.get("../rest/authenticationInformations").pipe(Y(function(e){n.authService.authMode=e.connection,n.authService.changeKey=e.changeKey,n.authService.coreUrl=e.coreUrl,n.localStorage.setAppSession(e.instanceId)})).subscribe(),!0);if(!this.authService.authFailed){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu");var i=this.authService.getToken();if(null===i||this.authService.authFailed)return this.http.get("../rest/authenticationInformations").pipe(Y(function(e){return n.authService.authMode=e.connection,n.authService.changeKey=e.changeKey,n.authService.coreUrl=e.coreUrl,n.localStorage.setAppSession(e.instanceId),null!==(i=n.authService.getToken())?(n.authService.user=JSON.parse(atob(i.split(".")[1])).user,n.translate.use(n.authService.user.preferences.lang),n.cookieService.set("maarchParapheurLang",n.authService.user.preferences.lang),n.setData(),n.authService.changeKey&&n.dialog.open(uH,{autoFocus:!1,disableClose:!0,data:{mode:"warning",title:"lang.warnPrivateKeyTitle",msg:"lang.warnPrivateKey"}}),!0):(n.authService.setCachedUrl(t.url.replace(/^\//g,"")),n.authService.logout(),!1)}));if(void 0===this.authService.user.id){var r=JSON.parse(atob(i.split(".")[1]));this.authService.user=r.user,this.authService.authMode=r.connection,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData()}return!0}}},{key:"setData",value:function(){var e=this;0===this.authService.signatureRoles.length&&this.http.get("../rest/signatureModes").subscribe(function(t){e.authService.signatureRoles=[{id:"visa",type:"visa",color:"#135F7F"}],e.authService.signatureRoles=e.authService.signatureRoles.concat(t.map(function(e){return Object.assign(Object.assign({},e),{type:"sign"})}))}),0===this.signaturesService.signaturesList.length&&this.http.get("../rest/users/"+this.authService.user.id+"/signatures").subscribe(function(t){e.signaturesService.signaturesList=t.signatures}),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(function(t){e.authService.user.picture=t.picture})}}]),e}()).\u0275fac=function(e){return new(e||rH)(Ri(vP),Ri(lb),Ri(jk),Ri(DP),Ri(LM),Ri(MP),Ri(OP),Ri(CB),Ri(dE))},rH.\u0275prov=Re({token:rH,factory:rH.\u0275fac,providedIn:"root"}),rH);function dH(e,t){if(1&e&&(ss(0,"ion-col"),ss(1,"ion-button",7),ss(2,"div",8),us(3,"ion-icon",9),ss(4,"ion-label",10),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-note",11),Qs(8),Du(9,"translate"),ls(),ls(),ls(),ls()),2&e){var n=t.$implicit;xo(1),os("routerLink",n.route),xo(2),os("name",n.icon),xo(2),Xs(Ou(6,4,"lang."+n.id)),xo(3),Ks(" ",Ou(9,6,"lang."+n.id+"Desc"),"")}}var hH,fH=function(e){return[e]},pH=((hH=function(){function e(t,n,i){A(this,e),this.signaturesService=t,this.authService=n,this.menu=i}return m(e,[{key:"ngOnInit",value:function(){this.menu.enable(!1,"right-menu")}}]),e}()).\u0275fac=function(e){return new(e||hH)(rs(DP),rs(MP),rs(dE))},hH.\u0275cmp=ft({type:hH,selectors:[["app-administration"]],decls:12,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],[3,"ngClass"],[4,"ngFor","ngForOf"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"ion-content",null,4),ss(9,"ion-grid"),ss(10,"ion-row",5),ns(11,dH,10,8,"ion-col",6),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(5),Xs(Ou(6,4,"lang.administration")),xo(5),os("ngClass",Au(6,fH,t.signaturesService.mobileMode?"repeatRowsMobile":"repeatRows")),xo(1),os("ngForOf",t.authService.user.administrativePrivileges))},directives:[KC,MS,FC,dS,DS,WC,XC,bS,fh,gh,UC,LC,tE,Uk,JC,sS,fS],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".container[_ngcontent-%COMP%]{flex:1;overflow:auto}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;text-align:center;width:100%;display:inline-block}@media (min-width:768px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:33%}}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{border-color:#f99830;padding:10px;width:90%;height:160px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:50px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;flex-direction:column}.admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.repeatRows[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr)}.repeatRowsMobile[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));-ms-grid-row-align:10px}"]}),hH);function gH(e,t){if(1&e&&(ss(0,"div",15),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks().$implicit;os("mat-sort-header",n),xo(1),Ks(" ",Ou(2,2,"lang."+n)," ")}}function vH(e,t){if(1&e&&(cs(0),ns(1,gH,3,4,"div",14),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf","actions"!==n)}}function mH(e,t){if(1&e){var n=fs();ss(0,"div",16),ss(1,"ion-searchbar",17),ms("ionChange",function(e){return nn(n),ks().applyFilter(e.detail.value)}),Du(2,"translate"),ls(),ls()}2&e&&(xo(1),os("placeholder",Ou(2,1,"lang.filter")))}function yH(e,t){if(1&e&&(ss(0,"div",16),Qs(1),ls()),2&e){var n=t.$implicit,i=ks().$implicit;xo(1),Ks(" ",i[n]," ")}}function bH(e,t){if(1&e){var n=fs();ss(0,"ion-item",7),ss(1,"ion-label",18),ns(2,yH,2,1,"div",19),ls(),ss(3,"ion-button",20),ms("click",function(e){nn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Du(4,"translate"),us(5,"ion-icon",21),ls(),ls()}if(2&e){var i=t.$implicit,r=ks();xo(1),Es("routerLink","/administration/users/",i.id,""),xo(1),os("ngForOf",r.displayedColumns),xo(1),Ss("title",Ou(4,4,"lang.delete")),os("disabled",i.id===r.authService.user.id)}}var wH,_H=((wH=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.authService=s,this.alertController=l,this.userList=[],this.loading=!0,this.displayedColumns=this.signaturesService.mobileMode?["firstname","lastname","email"]:["firstname","lastname","email","actions"]}return m(e,[{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.userList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/users?mode=all").pipe(Y(function(e){return e.users}),hw(function(){return e.loading=!1})).subscribe({next:function(t){e.userList=t,e.sortedData=e.userList.slice()}})}},{key:"delete",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/users/"+e.id).pipe(hw(function(){return i.loading=!1})).subscribe({next:function(t){var n=i.userList.findIndex(function(t){return t.id===e.id});i.userList.splice(n,1),i.sortedData=i.userList.slice(),i.notificationService.success("lang.userDeleted")},error:function(e){i.notificationService.handleErrors(e)}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.userList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||wH)(rs(lb),rs(vP),rs(KM),rs(CB),rs(DP),rs(wP),rs(MP),rs(uE))},wH.\u0275cmp=ft({type:wH,selectors:[["app-administration-users-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/users/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"disabled","title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),Du(8,"translate"),ls(),ls(),ss(9,"ion-toolbar",1),ss(10,"ion-buttons",2),ss(11,"ion-button",4),Qs(12),Du(13,"translate"),ls(),ls(),ss(14,"ion-title",5),Qs(15),Du(16,"translate"),ls(),ls(),ls(),ss(17,"ion-content",null,6),ss(19,"ion-list"),ss(20,"ion-item",7),ss(21,"ion-label",8),ms("matSortChange",function(e){return t.sortData(e)}),ns(22,vH,2,1,"ng-container",9),ns(23,mH,3,3,"div",10),ls(),ss(24,"ion-button",11),us(25,"ion-icon"),ls(),ls(),ss(26,"ion-virtual-scroll",12),ns(27,bH,6,6,"ion-item",13),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Js("",Ou(7,10,"lang.administration")," ",Ou(8,12,"lang.manage_usersAlt"),""),xo(6),Ks(" ",Ou(13,14,"lang.userCreation")," "),xo(3),Js("",t.userList.length," ",Ou(16,16,"lang.manage_usersAlt"),""),xo(6),os("matSortActive",t.displayedColumns[1]),xo(1),os("ngForOf",t.displayedColumns),xo(1),os("ngIf",t.displayedColumns.indexOf("actions")>-1),xo(3),os("items",t.sortedData))},directives:[KC,MS,FC,dS,IC,eE,DS,LC,tE,Uk,WC,lS,iS,sS,EV,gh,mh,JC,oE,rE,IV,wS,nA],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),wH);function kH(e,t){1&e&&(us(0,"div",5),Du(1,"translate")),2&e&&os("innerHTML",Ou(1,1,ks().data.msg),Ar)}var xH,AH=((xH=function e(t,n,i){A(this,e),this.translate=t,this.data=n,this.dialogRef=i,null===this.data.msg&&(this.data.msg="")}).\u0275fac=function(e){return new(e||xH)(rs(vP),rs(wB),rs(cB))},xH.\u0275cmp=ft({type:xH,selectors:[["ng-component"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","blue",3,"click"],["mat-button","",1,"actions","btn","red",3,"click"],["mat-dialog-content","",3,"innerHTML"]],template:function(e,t){1&e&&(ss(0,"div"),ss(1,"h1",0),Qs(2),Du(3,"translate"),ls(),ns(4,kH,2,3,"div",1),ss(5,"div",2),ss(6,"button",3),ms("click",function(){return t.dialogRef.close("yes")}),Qs(7),Du(8,"translate"),ls(),ss(9,"button",4),ms("click",function(){return t.dialogRef.close("no")}),Qs(10),Du(11,"translate"),ls(),ls(),ls()),2&e&&(tl("modalContent ",t.data.mode,""),xo(2),Xs(Ou(3,7,t.data.title)),xo(2),os("ngIf",null!==t.data.msg),xo(3),Xs(Ou(8,9,"lang.yes")),xo(3),Xs(Ou(11,11,"lang.no")))},directives:[EB,mh,DB,XF,PB],pipes:[mP],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),xH);function CH(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-label"),Qs(2),Du(3,"translate"),ls(),ss(4,"ion-checkbox",27),ms("ionChange",function(e){nn(n);var t=ks().$implicit;return ks(2).toggleSignMode(t,e.detail.checked)}),ls(),ls()}if(2&e){var i=ks().$implicit,r=ks(2);xo(1),Ls("color",i.color),xo(1),Xs(Ou(3,5,"lang."+i.id)),xo(2),os("checked",r.user.signatureModes.indexOf(i.id)>-1)("disabled","stamp"===i.id)}}function SH(e,t){if(1&e&&(cs(0),ns(1,CH,5,7,"ion-item",11),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf","visa"!==n.id)}}function EH(e,t){if(1&e&&(ss(0,"ion-note",33),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(3);xo(1),Ks(" ",Ou(2,1,n.handlePassword.errorMsg),"")}}function PH(e,t){if(1&e){var n=fs();ss(0,"ion-item",28),ss(1,"ion-button",29),ms("click",function(){nn(n);var e=ks(2);return e.hideNewPassword=!e.hideNewPassword}),us(2,"ion-icon",30),ls(),ss(3,"ion-label",14),Qs(4),Du(5,"translate"),ls(),ss(6,"ion-input",31),ms("ngModelChange",function(e){return nn(n),ks(2).passwordRest.newPassword=e})("ionChange",function(){nn(n);var e=ks(2);return e.checkPasswordValidity(e.passwordRest.newPassword)}),ls(),ns(7,EH,3,3,"ion-note",32),ls()}if(2&e){var i=ks(2);xo(2),os("name",i.hideNewPassword?"eye-outline":"eye-off-outline"),xo(2),Xs(Ou(5,5,"lang.newPassword")),xo(2),os("type",i.hideNewPassword?"password":"text")("ngModel",i.passwordRest.newPassword),xo(1),os("ngIf",i.handlePassword.error&&i.passwordRest.newPassword.length>0)}}function DH(e,t){1&e&&(ss(0,"ion-note",33),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.passwordNotMatch"),""))}function OH(e,t){1&e&&(ss(0,"ion-note",36),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.samePassword"),""))}function MH(e,t){if(1&e){var n=fs();ss(0,"ion-item",28),ss(1,"ion-button",29),ms("click",function(){nn(n);var e=ks(2);return e.hideNewPasswordConfirm=!e.hideNewPasswordConfirm}),us(2,"ion-icon",30),ls(),ss(3,"ion-label",14),Qs(4),Du(5,"translate"),ls(),ss(6,"ion-input",34),ms("ngModelChange",function(e){return nn(n),ks(2).passwordRest.passwordConfirmation=e}),ls(),ns(7,DH,3,3,"ion-note",32),ns(8,OH,3,3,"ion-note",35),ls()}if(2&e){var i=ks(2);xo(2),os("name",i.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),xo(2),Xs(Ou(5,6,"lang.passwordConfirmation")),xo(2),os("type",i.hideNewPasswordConfirm?"password":"text")("ngModel",i.passwordRest.passwordConfirmation),xo(1),os("ngIf",i.passwordRest.passwordConfirmation!==i.passwordRest.newPassword&&i.passwordRest.passwordConfirmation.length>0),xo(1),os("ngIf",i.passwordRest.passwordConfirmation===i.passwordRest.newPassword&&i.passwordRest.newPassword.length>0&&i.passwordRest.passwordConfirmation.length>0&&!i.handlePassword.error)}}function TH(e,t){if(1&e){var n=fs();cs(0),ss(1,"form",12,13),ms("ngSubmit",function(){return nn(n),ks().onSubmit()}),ss(3,"ion-content"),ss(4,"ion-item"),ss(5,"ion-label",14),Qs(6),Du(7,"translate"),ls(),ss(8,"ion-input",15),ms("ngModelChange",function(e){return nn(n),ks().user.login=e}),ls(),ls(),ss(9,"ion-item"),ss(10,"ion-label",14),Qs(11),Du(12,"translate"),ls(),ss(13,"ion-input",16),ms("ngModelChange",function(e){return nn(n),ks().user.firstname=e}),ls(),ls(),ss(14,"ion-item"),ss(15,"ion-label",14),Qs(16),Du(17,"translate"),ls(),ss(18,"ion-input",17),ms("ngModelChange",function(e){return nn(n),ks().user.lastname=e}),ls(),ls(),ss(19,"ion-item"),ss(20,"ion-label",14),Qs(21),Du(22,"translate"),ls(),ss(23,"ion-input",18),ms("ngModelChange",function(e){return nn(n),ks().user.email=e}),ls(),ls(),ss(24,"ion-item"),ss(25,"ion-label"),Qs(26),Du(27,"translate"),ls(),ss(28,"ion-toggle",19),ms("ngModelChange",function(e){return nn(n),ks().user.isRest=e})("ionChange",function(e){return nn(n),ks().getPassRules(e)}),ls(),ls(),ss(29,"ion-list"),ss(30,"ion-list-header"),ss(31,"ion-label",20),Qs(32),Du(33,"translate"),ls(),ls(),ns(34,SH,2,1,"ng-container",21),ls(),ns(35,PH,8,7,"ion-item",22),ns(36,MH,9,8,"ion-item",22),ss(37,"ion-item",23),ss(38,"div",24),ss(39,"ion-button",25),ss(40,"ion-label",26),Qs(41),Du(42,"translate"),ls(),ls(),ls(),ls(),ls(),ls(),ds()}if(2&e){var i=is(2),r=ks();xo(6),Ks("",Ou(7,23,"lang.login")," *"),xo(2),os("maxlength",128)("readonly",!r.creationMode)("ngModel",r.user.login),xo(3),Ks("",Ou(12,25,"lang.firstname")," *"),xo(2),os("maxlength",128)("ngModel",r.user.firstname),xo(3),Ks("",Ou(17,27,"lang.lastname")," *"),xo(2),os("maxlength",128)("ngModel",r.user.lastname),xo(3),Ks("",Ou(22,29,"lang.email")," *"),xo(2),os("maxlength",128)("ngModel",r.user.email),xo(3),Xs(Ou(27,31,"lang.restUser")),xo(2),os("disabled",!r.creationMode)("ngModel",r.user.isRest)("checked",r.user.isRest),xo(4),Xs(Ou(33,33,"lang.signatureModes")),xo(2),os("ngForOf",r.authService.signatureRoles),xo(1),os("ngIf",r.user.isRest),xo(1),os("ngIf",r.user.isRest),xo(3),os("disabled",!i.form.valid||!r.canValidate()),xo(2),Xs(Ou(42,35,"lang.validate"))}}function IH(e,t){if(1&e&&(ss(0,"ion-item"),ss(1,"ion-label"),Qs(2),ls(),ls()),2&e){var n=t.$implicit;xo(2),Xs(n.label)}}function RH(e,t){if(1&e&&(ss(0,"ion-list"),ns(1,IH,3,1,"ion-item",21),ls()),2&e){var n=ks(2);xo(1),os("ngForOf",n.user.groups)}}function LH(e,t){1&e&&(ss(0,"ion-list",38),ss(1,"ion-item",39),ss(2,"ion-label",40),Qs(3),Du(4,"translate"),ls(),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.noAssociatedGroup")))}function FH(e,t){if(1&e&&(cs(0),ss(1,"ion-content"),ns(2,RH,2,1,"ion-list",11),ns(3,LH,5,3,"ion-list",37),ls(),ds()),2&e){var n=ks();xo(2),os("ngIf",n.user.groups.length>0),xo(1),os("ngIf",0===n.user.groups.length)}}var BH,zH=((BH=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.creationMode=!0,this.loading=!0,this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",isRest:!1,signatureModes:["stamp"]},this.title="",this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.currentTool="info",this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordRest={newPassword:"",passwordConfirmation:""},this.ruleText="",this.otherRuleText="",this.showPassword=!1,this.handlePassword={error:!1,errorMsg:""}}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.userCreation"),e.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",signatureModes:["stamp"],isRest:!1},e.loading=!1):(e.creationMode=!1,e.http.get("../rest/users/"+t.id).pipe(Y(function(e){return e.user}),hw(function(){return e.loading=!1})).subscribe({next:function(t){e.user=t,e.userClone=JSON.parse(JSON.stringify(e.user)),e.title=e.user.firstname+" "+e.user.lastname,e.user.isRest&&e.getPassRules({detail:{checked:!0}})}}))})}},{key:"canValidate",value:function(){return!(this.user.isRest&&""!==this.passwordRest.newPassword&&(this.handlePassword.error||this.passwordRest.passwordConfirmation!==this.passwordRest.newPassword)||JSON.stringify(this.user)===JSON.stringify(this.userClone)&&""===this.passwordRest.newPassword)}},{key:"onSubmit",value:function(){this.creationMode?this.createUser():this.modifyUser()}},{key:"modifyUser",value:function(){var e=this;this.loading=!0,this.http.put("../rest/users/"+this.user.id,this.user).pipe(hw(function(){return e.loading=!1}),uw(function(){e.authService.user.id===e.user.id&&e.authService.updateUserInfoWithTokenRefresh(),""!==e.passwordRest.newPassword&&e.updateRestUser(),e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userUpdated")}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}},{key:"updateRestUser",value:function(){var e=this,t=new Vy({Authorization:"Bearer "+this.authService.getToken()});this.http.put("../rest/users/"+this.user.id+"/password",this.passwordRest,{headers:t}).subscribe(function(){e.passwordRest.newPassword="",e.passwordRest.passwordConfirmation=""},function(t){e.notificationService.handleErrors(t)})}},{key:"createUser",value:function(){var e=this;this.loading=!0,this.http.post("../rest/users",this.user).pipe(hw(function(){return e.loading=!1}),uw(function(t){e.user.isRest&&(e.user.id=t.id,e.updateRestUser()),e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userAdded")}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}},{key:"delete",value:function(){var e=this;this.dialog.open(AH,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(function(t){"yes"===t&&(e.loading=!0,e.http.delete("../rest/users/"+e.user.id).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userDeleted")}}))})}},{key:"cancel",value:function(){this.router.navigate(["/administration/users"])}},{key:"getPassRules",value:function(e){var t=this;e.detail.checked&&(this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(e){var n=[],i=[];e.rules.forEach(function(e){"minLength"===e.label?(t.passwordRules.minLength.enabled=e.enabled,t.passwordRules.minLength.value=e.value,e.enabled&&t.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===e.label?(t.passwordRules.complexityUpper.enabled=e.enabled,t.passwordRules.complexityUpper.value=e.value,e.enabled&&n.push("lang.upperRequired")):"complexityNumber"===e.label?(t.passwordRules.complexityNumber.enabled=e.enabled,t.passwordRules.complexityNumber.value=e.value,e.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===e.label?(t.passwordRules.complexitySpecial.enabled=e.enabled,t.passwordRules.complexitySpecial.value=e.value,e.enabled&&n.push("lang.specialCharRequired")):"renewal"===e.label?(t.passwordRules.renewal.enabled=e.enabled,t.passwordRules.renewal.value=e.value,e.enabled&&t.translate.get("lang.renewalInfo",{time:e.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===e.label&&(t.passwordRules.historyLastUse.enabled=e.enabled,t.passwordRules.historyLastUse.value=e.value,e.enabled&&t.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(function(e){i.push(e)}))}),t.ruleText=n.join(", "),t.otherRuleText=i.join("<br/>")},function(e){t.notificationService.handleErrors(e)}))}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"toggleSignMode",value:function(e,t){t?-1===this.user.signatureModes.indexOf(e.id)&&this.user.signatureModes.push(e.id):this.user.signatureModes=this.user.signatureModes.filter(function(t){return t!==e.id})}},{key:"initTab",value:function(e){this.currentTool=e}}]),e}()).\u0275fac=function(e){return new(e||BH)(rs(lb),rs(vP),rs(b_),rs(jk),rs(DP),rs(wP),rs(CB),rs(MP))},BH.\u0275cmp=ft({type:BH,selectors:[["app-administration-user"]],decls:24,vars:13,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end"],[3,"src"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","groups",3,"disabled"],["name","people-sharp"],[4,"ngIf"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","login","required","","pattern","^[\\w.@-]*$",3,"maxlength","readonly","ngModel","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","ngModelChange"],["type","email","name","email","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"maxlength","ngModel","ngModelChange"],["slot","start","color","primary","name","isRest",3,"disabled","ngModel","checked","ngModelChange","ionChange"],["color","secondary"],[4,"ngFor","ngForOf"],["style","align-items: center;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["slot","start",3,"checked","disabled","ionChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","newPasswordRest",3,"type","ngModel","ngModelChange","ionChange"],["color","danger",4,"ngIf"],["color","danger"],["name","passwordConfirmation",3,"type","ngModel","ngModelChange"],["color","success",4,"ngIf"],["color","success"],["class","no-result",4,"ngIf"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),ls(),ss(7,"ion-avatar",4),us(8,"img",5),ls(),ls(),ls(),ss(9,"ion-header"),ss(10,"ion-toolbar"),ss(11,"ion-segment",6),ms("ionChange",function(e){return t.initTab(e.detail.value)}),ss(12,"ion-segment-button",7),ss(13,"ion-label"),Qs(14),Du(15,"translate"),ls(),us(16,"ion-icon",8),ls(),ss(17,"ion-segment-button",9),ss(18,"ion-label"),Qs(19),Du(20,"translate"),ls(),us(21,"ion-icon",10),ls(),ls(),ls(),ls(),ns(22,TH,43,37,"ng-container",11),ns(23,FH,4,2,"ng-container",11)),2&e&&(os("translucent",!0),xo(6),Xs(t.title),xo(2),os("src",t.user.picture,Cr),xo(3),os("value",t.currentTool),xo(3),Xs(Ou(15,9,"lang.informations")),xo(3),os("disabled",t.creationMode),xo(2),Xs(Ou(20,11,"lang.manage_groups")),xo(3),os("ngIf","info"===t.currentTool),xo(1),os("ngIf","groups"===t.currentTool))},directives:[KC,MS,FC,dS,IC,eE,DS,TC,_S,tA,kS,sS,JC,mh,Zm,fm,Wm,WC,iS,nS,nA,xy,Ey,Cy,hm,Ym,OS,Jx,lS,uS,gh,LC,HC,fS],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:30px}"]}),BH);function VH(e,t){if(1&e&&(ss(0,"div",15),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks().$implicit;os("mat-sort-header",n),xo(1),Ks(" ",Ou(2,2,"lang."+n)," ")}}function NH(e,t){if(1&e&&(cs(0),ns(1,VH,3,4,"div",14),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf","actions"!==n)}}function HH(e,t){if(1&e){var n=fs();ss(0,"div",16),ss(1,"ion-searchbar",17),ms("ionChange",function(e){return nn(n),ks().applyFilter(e.detail.value)}),Du(2,"translate"),ls(),ls()}2&e&&(xo(1),os("placeholder",Ou(2,1,"lang.filter")))}function jH(e,t){if(1&e&&(ss(0,"div",16),Qs(1),ls()),2&e){var n=t.$implicit,i=ks().$implicit;xo(1),Ks(" ",i[n]," ")}}function UH(e,t){if(1&e){var n=fs();ss(0,"ion-item",7),ss(1,"ion-label",18),ns(2,jH,2,1,"div",19),ls(),ss(3,"ion-button",20),ms("click",function(e){nn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Du(4,"translate"),us(5,"ion-icon",21),ls(),ls()}if(2&e){var i=t.$implicit,r=ks();xo(1),Es("routerLink","/administration/groups/",i.id,""),xo(1),os("ngForOf",r.displayedColumns),xo(1),Ss("title",Ou(4,3,"lang.delete"))}}var WH,GH=((WH=function(){function e(t,n,i,r,o,a,s){A(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.alertController=s,this.groupList=[],this.loading=!0,this.displayedColumns=["label","actions"]}return m(e,[{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.groupList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/groups").pipe(Y(function(e){return e.groups}),hw(function(){return e.loading=!1})).subscribe({next:function(t){e.groupList=t,e.sortedData=e.groupList.slice()}})}},{key:"delete",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/groups/"+e.id).pipe(hw(function(){return i.loading=!1})).subscribe({next:function(t){var n=i.groupList.findIndex(function(t){return t.id===e.id});i.groupList.splice(n,1),i.sortedData=i.groupList.slice(),i.notificationService.success("lang.groupDeleted")}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.groupList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||WH)(rs(lb),rs(vP),rs(KM),rs(CB),rs(DP),rs(wP),rs(uE))},WH.\u0275cmp=ft({type:WH,selectors:[["app-administration-groups-list"]],viewQuery:function(e,t){var n;1&e&&(Qu(sV,3),Qu(EV,3)),2&e&&(Zu(n=Ku())&&(t.paginator=n.first),Zu(n=Ku())&&(t.sort=n.first))},decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/groups/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),Du(8,"translate"),ls(),ls(),ss(9,"ion-toolbar",1),ss(10,"ion-buttons",2),ss(11,"ion-button",4),Qs(12),Du(13,"translate"),ls(),ls(),ss(14,"ion-title",5),Qs(15),Du(16,"translate"),ls(),ls(),ls(),ss(17,"ion-content",null,6),ss(19,"ion-list"),ss(20,"ion-item",7),ss(21,"ion-label",8),ms("matSortChange",function(e){return t.sortData(e)}),ns(22,NH,2,1,"ng-container",9),ns(23,HH,3,3,"div",10),ls(),ss(24,"ion-button",11),us(25,"ion-icon"),ls(),ls(),ss(26,"ion-virtual-scroll",12),ns(27,UH,6,5,"ion-item",13),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Js("",Ou(7,10,"lang.administration")," ",Ou(8,12,"lang.manage_groupsAlt"),""),xo(6),Ks(" ",Ou(13,14,"lang.groupCreation")," "),xo(3),Js("",t.groupList.length," ",Ou(16,16,"lang.manage_groupsAlt"),""),xo(6),os("matSortActive",t.displayedColumns[0]),xo(1),os("ngForOf",t.displayedColumns),xo(1),os("ngIf",t.displayedColumns.indexOf("actions")>-1),xo(3),os("items",t.sortedData))},directives:[KC,MS,FC,dS,IC,eE,DS,LC,tE,Uk,WC,lS,iS,sS,EV,gh,mh,JC,oE,rE,IV,wS,nA],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),WH);function qH(e,t){if(1&e){var n=fs();ss(0,"ion-item",6),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).selectUser(e)}),ss(1,"ion-label"),Qs(2),ls(),ls()}if(2&e){var i=t.$implicit;xo(2),Js(" ",i.firstname," ",i.lastname," ")}}function YH(e,t){if(1&e&&(ss(0,"ion-list"),ss(1,"ion-virtual-scroll",4),ns(2,qH,3,2,"ion-item",5),ls(),ls()),2&e){var n=ks();xo(1),os("items",n.usersList)}}function ZH(e,t){1&e&&(ss(0,"ion-item",7),ss(1,"ion-label"),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Xs(Ou(3,1,"lang.emptyUsers")))}var QH,XH=((QH=function(){function e(t,n){A(this,e),this.http=t,this.modalController=n,this.usersList=[]}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.http.get("../rest/users?mode=all").pipe(Y(function(e){return e.users})).subscribe({next:function(t){e.usersList=t.filter(function(t){return-1===e.users.findIndex(function(e){return e.id===t.id})})}})}},{key:"selectUser",value:function(e){this.modalController.dismiss(e)}}]),e}()).\u0275fac=function(e){return new(e||QH)(rs(lb),rs(hE))},QH.\u0275cmp=ft({type:QH,selectors:[["app-users"]],inputs:{users:"users"},decls:8,vars:6,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 35%;",4,"ngIf"],["approxItemHeight","50px",2,"height","450px",3,"items"],["button","",3,"click",4,"virtualItem"],["button","",3,"click"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","35%"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ls(),ls(),ss(5,"ion-content"),ns(6,YH,3,1,"ion-list",2),ns(7,ZH,4,3,"ion-item",3),ls()),2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,4,"lang.users")),xo(3),os("ngIf",t.usersList.length>0),xo(1),os("ngIf",0===t.usersList.length))},directives:[KC,MS,DS,WC,mh,lS,oE,rE,iS,sS],pipes:[mP],encapsulation:2}),QH),KH=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function JH(e,t){1&e&&(ss(0,"ion-item",18),ss(1,"ion-label",19),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Ks("",Ou(3,1,"lang.privileges")," :"))}function $H(e,t){if(1&e){var n=fs();ss(0,"ion-item",20),ss(1,"ion-toggle",21),ms("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(){nn(n);var e=t.$implicit;return ks().togglePrivilege(e,!0)}),ls(),ss(2,"ion-label",22),ms("click",function(){nn(n);var e=t.$implicit;return ks().togglePrivilege(e,!1)}),Qs(3),Du(4,"translate"),ls(),ls()}if(2&e){var i=t.$implicit;xo(1),os("name",i.id)("checked",i.checked)("ngModel",i.checked),xo(2),Xs(Ou(4,4,"lang."+i.id+"Admin"))}}function ej(e,t){1&e&&(ss(0,"ion-item",18),ss(1,"ion-label",19),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Ks("",Ou(3,1,"lang.linkedUsers")," :"))}function tj(e,t){if(1&e&&(ss(0,"div",34),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks().$implicit;os("mat-sort-header",n),xo(1),Ks(" ",Ou(2,2,"lang."+n)," ")}}function nj(e,t){if(1&e&&(cs(0),ns(1,tj,3,4,"div",33),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf","actions"!==n)}}function ij(e,t){if(1&e){var n=fs();ss(0,"div",35),ss(1,"ion-button",36),ms("click",function(){return nn(n),ks(2).openUserList()}),Qs(2),Du(3,"translate"),ls(),ls()}2&e&&(xo(2),Ks(" ",Ou(3,1,"lang.add")," "))}function rj(e,t){if(1&e&&(ss(0,"div",42),Qs(1),ls()),2&e){var n=t.$implicit,i=ks().$implicit;xo(1),Ks(" ",i[n]," ")}}function oj(e,t){if(1&e){var n=fs();ss(0,"ion-item",37),ss(1,"ion-label",38),ns(2,rj,2,1,"div",39),ls(),ss(3,"ion-button",40),ms("click",function(e){nn(n);var i=t.$implicit,r=ks(2);return e.stopPropagation(),r.unlinkUser(i)}),Du(4,"translate"),us(5,"ion-icon",41),ls(),ls()}if(2&e){var i=t.$implicit,r=ks(2);xo(1),Es("routerLink","/administration/users/",i.id,""),xo(1),os("ngForOf",r.displayedColumns),xo(1),Ss("title",Ou(4,3,"lang.unlinkUser"))}}function aj(e,t){if(1&e){var n=fs();ss(0,"ion-infinite-scroll",43),ms("ionInfinite",function(e){return nn(n),ks(2).loadData(e)}),us(1,"ion-infinite-scroll-content",44),Du(2,"translate"),ls()}2&e&&(xo(1),os("loadingText",Ou(2,1,"lang.loadingMoreData")))}function sj(e,t){1&e&&(ss(0,"ion-item",45),ss(1,"ion-label"),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Xs(Ou(3,1,"lang.emptyGroupUsers")))}function lj(e,t){if(1&e){var n=fs();ss(0,"ion-content",23),ss(1,"ion-list"),ss(2,"ion-item",24),cs(3,14),ss(4,"ion-label",25),ms("matSortChange",function(e){return nn(n),ks().sortData(e)}),ns(5,nj,2,1,"ng-container",26),ns(6,ij,4,3,"div",27),ls(),ds(),ss(7,"ion-button",28),us(8,"ion-icon"),ls(),ls(),ss(9,"ion-virtual-scroll",29),ns(10,oj,6,5,"ion-item",30),ls(),ns(11,aj,3,3,"ion-infinite-scroll",31),ls(),ns(12,sj,4,3,"ion-item",32),ls()}if(2&e){var i=ks();xo(4),os("matSortActive",i.displayedColumns[1]),xo(1),os("ngForOf",i.displayedColumns),xo(1),os("ngIf",i.displayedColumns.indexOf("actions")>-1),xo(3),os("items",i.sortedData),xo(2),os("ngIf",i.group.users.length>7),xo(1),os("ngIf",0===i.group.users.length)}}function uj(e,t){if(1&e){var n=fs();ss(0,"ion-button",46),ms("click",function(){return nn(n),ks().deleteGroup()}),ss(1,"ion-label",16),Qs(2),Du(3,"translate"),ls(),ls()}2&e&&(xo(2),Xs(Ou(3,1,"lang.delete")))}var cj,dj=((cj=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){A(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.popoverController=u,this.modalController=c,this.alertController=d,this.latinisePipe=h,this.creationMode=!0,this.loading=!0,this.title="",this.displayedColumns=["firstname","lastname","actions"],this.group={id:"",label:"",users:[],privileges:[]},this.groupClone=JSON.parse(JSON.stringify(this.group))}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.groupCreation"),e.loading=!1,e.groupClone=JSON.parse(JSON.stringify(e.group))):(e.creationMode=!1,e.usersList=[],e.http.get("../rest/groups/"+t.id).pipe(Y(function(e){return e.group}),hw(function(){e.loading=!1})).subscribe({next:function(t){e.group=t,e.groupClone=JSON.parse(JSON.stringify(e.group)),e.title=e.group.label,e.updateDataTable()}}),e.http.get("../rest/users?mode=all").pipe(Y(function(e){return e.users})).subscribe({next:function(t){e.usersList=t}}))})}},{key:"updateDataTable",value:function(){this.sortedData=this.group.users.slice()}},{key:"openUserList",value:function(e){return KH(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:XH,componentProps:{users:this.group.users}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:n=e.sent,void 0!==(i=n.data)&&this.linkUser(i);case 10:case"end":return e.stop()}},e,this)}))}},{key:"canValidate",value:function(){return this.group.label!==this.groupClone.label}},{key:"onSubmit",value:function(){this.creationMode?this.createGroup():this.modifyGroup()}},{key:"linkUser",value:function(e){var t=this;this.http.put("../rest/groups/"+this.group.id+"/users",{userId:e.id}).subscribe({next:function(){t.group.users.push(e),t.updateDataTable(),t.notificationService.success("lang.userAdded")}})}},{key:"unlinkUser",value:function(e){return KH(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.id!==this.authService.user.id){t.next=8;break}return t.next=3,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.deleteUser(e)}}]});case 3:return n=t.sent,t.next=6,n.present();case 6:t.next=9;break;case 8:this.deleteUser(e);case 9:case"end":return t.stop()}},t,this)}))}},{key:"deleteUser",value:function(e){var t=this;this.http.delete("../rest/groups/"+this.group.id+"/users/"+e.id,{}).subscribe({next:function(){var n=t.group.users.findIndex(function(t){return t.id===e.id});t.group.users.splice(n,1),t.updateDataTable(),t.notificationService.success("lang.userDeleted")}})}},{key:"modifyGroup",value:function(){var e=this;this.loading=!0,this.http.put("../rest/groups/"+this.group.id,this.group).subscribe({next:function(){e.router.navigate(["/administration/groups"]),e.notificationService.success("lang.groupUpdated")}})}},{key:"createGroup",value:function(){var e=this;this.loading=!0,this.http.post("../rest/groups",this.group).subscribe({next:function(t){e.router.navigate(["/administration/groups/"+t.id]),e.notificationService.success("lang.groupAdded")}})}},{key:"deleteGroup",value:function(){return KH(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){n.http.delete("../rest/groups/"+n.group.id).subscribe({next:function(){n.router.navigate(["/administration/groups"]),n.notificationService.success("lang.groupDeleted")}})}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"togglePrivilege",value:function(e,t){return KH(this,void 0,void 0,regeneratorRuntime.mark(function n(){var i,r=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("manage_groups"!==e.id||!e.checked){n.next=9;break}return t||(e.checked=!e.checked),n.next=4,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),message:this.translate.instant("lang.groupWarnMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){e.checked=!e.checked}},{text:this.translate.instant("lang.yes"),handler:function(){r.updatePrivilege(e)}}]});case 4:return i=n.sent,n.next=7,i.present();case 7:n.next=10;break;case 9:t||(e.checked=!e.checked),setTimeout(function(){r.updatePrivilege(e)},200);case 10:case"end":return n.stop()}},n,this)}))}},{key:"updatePrivilege",value:function(e){var t=this;this.http.put("../rest/groups/"+this.group.id+"/privilege/"+e.id,{checked:e.checked}).subscribe({next:function(){t.notificationService.success("lang.privilegeUpdated"),t.authService.updateUserInfoWithTokenRefresh()}})}},{key:"cancel",value:function(){this.router.navigate(["/administration/groups"])}},{key:"sortData",value:function(e){var t=this.group.users.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}},{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.group.users.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"loadData",value:function(e){var t=this;this.http.get("../rest/groups/"+this.group.id).pipe(uw(function(n){t.group.users=n.group.users,e.target.complete(),e.target.disabled=!0})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||cj)(rs(lb),rs(vP),rs(b_),rs(jk),rs(DP),rs(wP),rs(CB),rs(MP),rs(fE),rs(hE),rs(uE),rs(KM))},cj.\u0275cmp=ft({type:cj,selectors:[["app-administration-group"]],viewQuery:function(e,t){var n;1&e&&(Qu(sV,1),Qu(EV,1)),2&e&&(Zu(n=Ku())&&(t.paginator=n.first),Zu(n=Ku())&&(t.sort=n.first))},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"maxlength","ngModel","ngModelChange"],["lines","none",4,"ngIf"],[2,"display","grid","grid-gap","10px"],["style","cursor: pointer",4,"ngFor","ngForOf"],[2,"margin-left","4x","display","flex","width","50%",3,"placeholder","ionChange"],["style","height: 400px; overflow-y: auto;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click",4,"ngIf"],["lines","none"],["color","secondary"],[2,"cursor","pointer"],["slot","start","color","primary",3,"name","checked","ngModel","ngModelChange","click"],[3,"click"],[2,"height","400px","overflow-y","auto"],[2,"position","sticky","top","0px","z-index","1"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1;text-align: right;",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 5px;",4,"ngIf"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1","text-align","right"],["slot","end","color","primary","fille","outline","shape","round",3,"click"],[2,"display","flex"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","close-outline"],[2,"flex","1"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","5px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),ls(),ls(),ls(),ss(7,"form",4,5),ms("ngSubmit",function(){return t.onSubmit()}),ss(9,"ion-content"),ss(10,"ion-item"),ss(11,"ion-label",6),Qs(12),Du(13,"translate"),ls(),ss(14,"ion-input",7),ms("ngModelChange",function(e){return t.group.label=e}),ls(),ls(),ns(15,JH,4,3,"ion-item",8),ss(16,"div",9),ns(17,$H,5,6,"ion-item",10),ls(),ns(18,ej,4,3,"ion-item",8),ss(19,"ion-searchbar",11),ms("ionChange",function(e){return t.applyFilter(e.detail.value)}),Du(20,"translate"),ls(),ns(21,lj,13,6,"ion-content",12),ss(22,"ion-item",13),ss(23,"div",14),ss(24,"ion-button",15),ss(25,"ion-label",16),Qs(26),Du(27,"translate"),ls(),ls(),ns(28,uj,4,3,"ion-button",17),ls(),ls(),ls(),ls()),2&e){var n=is(8);os("translucent",!0),xo(6),Xs(t.title),xo(6),Ks("",Ou(13,17,"lang.label")," *"),xo(2),os("maxlength",128)("ngModel",t.group.label),xo(1),os("ngIf",!t.creationMode),xo(1),Fs("grid-2-col",t.signaturesService.mobileMode)("grid-3-col",!t.signaturesService.mobileMode),xo(1),os("ngForOf",t.group.privileges),xo(1),os("ngIf",!t.creationMode),xo(1),os("placeholder",Ou(20,19,"lang.filter")),xo(2),os("ngIf",!t.creationMode),xo(3),os("disabled",!n.form.valid||!t.canValidate()),xo(2),Xs(Ou(27,21,"lang.validate")),xo(2),os("ngIf",!t.creationMode)}},directives:[KC,MS,FC,dS,IC,eE,DS,Zm,fm,Wm,WC,iS,sS,nS,nA,xy,Cy,hm,Ym,mh,gh,wS,LC,OS,Jx,lS,EV,JC,oE,rE,IV,tE,Uk,eS,tS],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".privilegesList[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;display:inline-block;width:100%}@media (min-width:768px){.privilegesList[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.privilegesList[_ngcontent-%COMP%]{width:33%}}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center;margin-top:30px}legend[_ngcontent-%COMP%]{color:#f99830}.grid-2-col[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.grid-3-col[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}"]}),cj);function hj(e,t){if(1&e&&(ss(0,"ion-select-option",10),Qs(1),Du(2,"translate"),ls()),2&e){var n=t.$implicit;os("value",n.id)("disabled",!n.allowed),xo(1),Ks(" ",Ou(2,3,"lang."+n.id+"Connection"),"")}}function fj(e,t){if(1&e){var n=fs();ss(0,"ion-select",8),ms("ionChange",function(e){return nn(n),ks().changeConnection(e.detail.value)}),Du(1,"translate"),ns(2,hj,3,5,"ion-select-option",9),ls()}if(2&e){var i=ks();Ss("cancelText",Ou(1,3,"lang.cancel")),os("value",i.currentConnection.id),xo(2),os("ngForOf",i.connectionList)}}function pj(e,t){if(1&e&&(ss(0,"ion-col"),ss(1,"ion-button",11),ss(2,"div",12),us(3,"ion-icon",13),ss(4,"ion-label",14),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-note",15),Qs(8),Du(9,"translate"),ls(),ls(),ls(),ls()),2&e){var n=t.$implicit;xo(1),os("routerLink",n.route),xo(2),os("name",n.icon),xo(2),Ks("",Ou(6,4,"lang."+n.id)," "),xo(3),Ks(" ",Ou(9,6,"lang."+n.id+"Desc"),"")}}var gj,vj=((gj=function(){function e(t,n,i,r,o){A(this,e),this.http=t,this.signaturesService=n,this.notificationService=i,this.alertController=r,this.authService=o,this.loading=!0,this.privileges=[{id:"manage_ldap_configurations",icon:"server-sharp",route:"/administration/connections/ldaps"}],this.id=0,this.label="",this.connectionList=[]}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.http.get("../rest/configurations",{params:{identifier:"connection"}}).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(t){e.label=t.configurations.label,e.id=t.configurations.id,e.connectionList=t.configurations.availableConnections;var n=e.connectionList.findIndex(function(e){return e.id===t.configurations.value});e.currentConnection=void 0!==e.connectionList[n]?e.connectionList[n]:e.connectionList[0]}})}},{key:"changeConnection",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.http.patch("../rest/configurations/"+this.id,{label:this.label,value:e}).pipe(hw(function(){return n.loading=!1})).subscribe({next:function(){n.authService.updateUserInfoWithTokenRefresh(),n.notificationService.success("lang.connectionModeUpdated"),n.authService.authMode=e}});case 1:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||gj)(rs(lb),rs(DP),rs(wP),rs(uE),rs(MP))},gj.\u0275cmp=ft({type:gj,selectors:[["app-administration-connection"]],decls:18,vars:9,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],["color","secondary"],[3,"value","cancelText","ionChange",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"value","cancelText","ionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),ls(),ls(),ls(),ss(8,"ion-content",null,4),ss(10,"ion-item"),ss(11,"ion-label",5),Qs(12),Du(13,"translate"),ls(),ns(14,fj,3,5,"ion-select",6),ls(),ss(15,"ion-grid"),ss(16,"ion-row"),ns(17,pj,10,8,"ion-col",7),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Xs(Ou(7,5,"lang.manage_connections")),xo(6),Xs(Ou(13,7,"lang.connectionMode")),xo(2),os("ngIf",t.currentConnection),xo(3),os("ngForOf",t.privileges))},directives:[KC,MS,FC,dS,IC,eE,DS,WC,iS,sS,mh,XC,bS,gh,xS,tA,AS,UC,LC,tE,Uk,JC,fS],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}"]}),gj);function mj(e,t){if(1&e&&(ss(0,"div",15),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks().$implicit;os("mat-sort-header",n),xo(1),Ks(" ",Ou(2,2,"lang."+n)," ")}}function yj(e,t){if(1&e&&(cs(0),ns(1,mj,3,4,"div",14),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf","actions"!==n)}}function bj(e,t){if(1&e){var n=fs();ss(0,"div",16),ss(1,"ion-searchbar",17),ms("ionChange",function(e){return nn(n),ks().applyFilter(e.detail.value)}),Du(2,"translate"),ls(),ls()}2&e&&(xo(1),os("placeholder",Ou(2,1,"lang.filter")))}function wj(e,t){if(1&e&&(ss(0,"div",16),Qs(1),ls()),2&e){var n=t.$implicit,i=ks().$implicit;xo(1),Ks(" ",i[n]," ")}}function _j(e,t){if(1&e){var n=fs();ss(0,"ion-item",7),ss(1,"ion-label",18),ns(2,wj,2,1,"div",19),ls(),ss(3,"ion-button",20),ms("click",function(e){nn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Du(4,"translate"),us(5,"ion-icon",21),ls(),ls()}if(2&e){var i=t.$implicit,r=ks();xo(1),Es("routerLink","/administration/connections/ldaps/",i.id,""),xo(1),os("ngForOf",r.displayedColumns),xo(1),Ss("title",Ou(4,3,"lang.delete"))}}var kj,xj=((kj=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.authService=s,this.alertController=l,this.ldapList=[],this.loading=!0,this.displayedColumns=["label","actions"]}return m(e,[{key:"updateDataTable",value:function(){this.sortedData=this.ldapList.slice()}},{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.ldapList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ngOnInit",value:function(){}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/configurations",{params:{identifier:"ldapServer"}}).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(t){e.ldapList=t.configurations,e.updateDataTable()}})}},{key:"delete",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/configurations/"+e.id).pipe(hw(function(){return i.loading=!1})).subscribe({next:function(){var t=i.ldapList.findIndex(function(t){return t.id===e.id});i.ldapList.splice(t,1),i.updateDataTable(),i.notificationService.success("lang.ldapDeleted")}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.ldapList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||kj)(rs(lb),rs(vP),rs(KM),rs(CB),rs(DP),rs(wP),rs(MP),rs(uE))},kj.\u0275cmp=ft({type:kj,selectors:[["app-administration-ldap-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/connections/ldaps/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),Du(8,"translate"),ls(),ls(),ss(9,"ion-toolbar",1),ss(10,"ion-buttons",2),ss(11,"ion-button",4),Qs(12),Du(13,"translate"),ls(),ls(),ss(14,"ion-title",5),Qs(15),Du(16,"translate"),ls(),ls(),ls(),ss(17,"ion-content",null,6),ss(19,"ion-list"),ss(20,"ion-item",7),ss(21,"ion-label",8),ms("matSortChange",function(e){return t.sortData(e)}),ns(22,yj,2,1,"ng-container",9),ns(23,bj,3,3,"div",10),ls(),ss(24,"ion-button",11),us(25,"ion-icon"),ls(),ls(),ss(26,"ion-virtual-scroll",12),ns(27,_j,6,5,"ion-item",13),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Js("",Ou(7,10,"lang.administration")," ",Ou(8,12,"lang.manage_ldap_configurationsAlt")," "),xo(6),Ks(" ",Ou(13,14,"lang.ldapCreation")," "),xo(3),Js("",t.ldapList.length," ",Ou(16,16,"lang.manage_ldap_configurationsAlt"),""),xo(6),os("matSortActive",t.displayedColumns[0]),xo(1),os("ngForOf",t.displayedColumns),xo(1),os("ngIf",t.displayedColumns.indexOf("actions")>-1),xo(3),os("items",t.sortedData))},directives:[KC,MS,FC,dS,IC,eE,DS,LC,tE,Uk,WC,lS,iS,sS,EV,gh,mh,JC,oE,rE,IV,wS,nA],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),kj);function Aj(e,t){return t?function(n){return n.pipe(Aj(function(n,i){return ie(e(n,i)).pipe(Y(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new Cj(e))}}var Cj=function(){function e(t){A(this,e),this.project=t}return m(e,[{key:"call",value:function(e,t){return t.subscribe(new Sj(e,this.project))}}]),e}(),Sj=function(e){r(n,e);var t=a(n);function n(e,i){var r;return A(this,n),(r=t.call(this,e)).project=i,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return m(n,[{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(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new re(this),n=this.destination;n.add(t);var i=ae(e,t);i!==t&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),n}(oe);function Ej(e,t){1&e&&(cs(0),Qs(1),Du(2,"translate"),ds()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.connectionInProgress"),"... "))}function Pj(e,t){if(1&e&&(cs(0),Qs(1),ds()),2&e){var n=ks(2);xo(1),Ks(" ",n.ldapTest.result," ")}}function Dj(e,t){if(1&e&&(ss(0,"div",16),ns(1,Ej,3,3,"ng-container",17),ns(2,Pj,2,1,"ng-container",17),ls()),2&e){var n=ks();xo(1),os("ngIf",n.loadingTest),xo(1),os("ngIf",""!==n.ldapTest.result)}}var Oj,Mj=((Oj=function(){function e(t,n,i,r,o,a){A(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.notificationService=o,this.alertController=a,this.loadingTest=!1}return m(e,[{key:"ngOnInit",value:function(){}},{key:"testLdap",value:function(){var e=this;this.loadingTest=!0,this.ldapTest.result="",this.canValidate?this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(uw(function(){e.notificationService.success("lang.ldapUpdated")}),Aj(function(){return e.http.get("../rest/configurations/"+e.ldap.id+"/connection",{params:{login:e.ldapTest.login,password:e.ldapTest.password}})}),uw(function(t){e.ldapTest.result=t.informations,t.connection&&e.notificationService.success("lang.ldapConnectionSucceeded")}),hw(function(){return e.loadingTest=!1}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe():this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}}).pipe(uw(function(t){e.ldapTest.result=t.informations,t.connection&&e.notificationService.success("lang.ldapConnectionSucceeded")}),hw(function(){return e.loadingTest=!1}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||Oj)(rs(lb),rs(vP),rs(KM),rs(CB),rs(wP),rs(uE))},Oj.\u0275cmp=ft({type:Oj,selectors:[["app-check-connection"]],inputs:{ldapTest:"ldapTest",ldap:"ldap",canValidate:"canValidate"},decls:45,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","login","required","",3,"ngModel","ngModelChange"],["name","password","required","",3,"ngModel","ngModelChange"],["color","secondary"],["name","uri","readonly","",3,"ngModel","ngModelChange"],["name","pathLogin","readonly","",3,"value"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],[1,"bash"],[4,"ngIf"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"form",3,4),ms("ngSubmit",function(){return t.testLdap()}),ss(9,"ion-content",null,5),ss(11,"ion-item"),ss(12,"ion-label",6),Qs(13),Du(14,"translate"),ls(),ss(15,"ion-input",7),ms("ngModelChange",function(e){return t.ldapTest.login=e}),ls(),ls(),ss(16,"ion-item"),ss(17,"ion-label",6),Qs(18),Du(19,"translate"),ls(),ss(20,"ion-input",8),ms("ngModelChange",function(e){return t.ldapTest.password=e}),ls(),ls(),ss(21,"ion-card"),ss(22,"ion-card-header"),ss(23,"ion-card-subtitle",9),Qs(24),Du(25,"translate"),ls(),ls(),ss(26,"ion-card-content"),ss(27,"ion-item"),ss(28,"ion-label",1),Qs(29),Du(30,"translate"),ls(),ss(31,"ion-input",10),ms("ngModelChange",function(e){return t.ldap.value.uri=e}),ls(),ls(),ss(32,"ion-item"),ss(33,"ion-label",1),Qs(34),Du(35,"translate"),ls(),us(36,"ion-input",11),ls(),ns(37,Dj,3,2,"div",12),ls(),ls(),ls(),ss(38,"ion-footer",13),ss(39,"ion-toolbar"),ss(40,"ion-buttons",14),ss(41,"ion-button",15),ss(42,"ion-label"),Qs(43),Du(44,"translate"),ls(),ls(),ls(),ls(),ls(),ls()),2&e){var n=is(8);os("translucent",!0),xo(5),Xs(Ou(6,14,"lang.connectionTest")),xo(8),Ks("",Ou(14,16,"lang.login")," *"),xo(2),os("ngModel",t.ldapTest.login),xo(3),Ks("",Ou(19,18,"lang.password")," *"),xo(2),os("ngModel",t.ldapTest.password),xo(4),Ks("",Ou(25,20,"lang.ldapInformations")," :"),xo(5),Ks("",Ou(30,22,"lang.uri")," :"),xo(2),os("ngModel",t.ldap.value.uri),xo(3),Ks("",Ou(35,24,"lang.login")," :"),xo(2),os("value",t.ldap.value.prefix?t.ldap.value.prefix+"\\"+t.ldapTest.login+t.ldap.value.suffix:t.ldapTest.login+t.ldap.value.suffix),xo(1),os("ngIf",""!==t.ldapTest.result||t.loadingTest),xo(4),os("disabled",!n.form.valid||t.loadingTest),xo(2),Xs(Ou(44,26,"lang.connectionTest"))}},directives:[KC,MS,FC,IC,eE,DS,Zm,fm,Wm,WC,iS,sS,nS,nA,xy,hm,Ym,BC,VC,NC,zC,mh,QC,LC],pipes:[mP],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),Oj);function Tj(e,t){if(1&e){var n=fs();ss(0,"ion-button",18),ms("click",function(){return nn(n),ks().checkConnection()}),ss(1,"ion-label",15),Qs(2),Du(3,"translate"),ls(),ls()}2&e&&(xo(2),Xs(Ou(3,1,"lang.connectionTest")))}function Ij(e,t){if(1&e){var n=fs();ss(0,"ion-button",19),ms("click",function(){return nn(n),ks().delete()}),ss(1,"ion-label",15),Qs(2),Du(3,"translate"),ls(),ls()}if(2&e){var i=ks();os("disabled","ldap"===i.authService.authMode&&1===i.ldap.count),xo(2),Xs(Ou(3,2,"lang.delete"))}}var Rj,Lj=((Rj=function(){function e(t,n,i,r,o,a,s,l,u){A(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.modalController=u,this.creationMode=!0,this.loading=!0,this.loadingTest=!1,this.ldapTest={login:"",password:"",result:""},this.ldap={id:0,label:"",identifier:"ldapServer",value:{uri:"",ssl:!1,prefix:"",suffix:"",baseDN:""}},this.title=""}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.ldapTest.login=this.authService.user.login,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.ldapCreation"),e.loading=!1):(e.creationMode=!1,e.http.get("../rest/configurations/"+t.id).pipe(Y(function(e){return e.configuration}),hw(function(){return e.loading=!1})).subscribe({next:function(t){e.ldap=t,e.ldapClone=JSON.parse(JSON.stringify(e.ldap)),e.title=e.ldap.label}}))})}},{key:"canValidate",value:function(){return JSON.stringify(this.ldap)!==JSON.stringify(this.ldapClone)}},{key:"onSubmit",value:function(){this.creationMode?this.createLdap():this.modifyLdap()}},{key:"modifyLdap",value:function(){var e=this;this.loading=!0,this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapUpdated")}})}},{key:"createLdap",value:function(){var e=this;this.loading=!0,this.http.post("../rest/configurations",this.ldap).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapAdded")}})}},{key:"delete",value:function(){var e=this;this.dialog.open(AH,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(function(t){"yes"===t&&(e.loading=!0,e.http.delete("../rest/configurations/"+e.ldap.id).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapDeleted")}}))})}},{key:"cancel",value:function(){this.router.navigate(["/administration/connections/ldaps"])}},{key:"checkConnection",value:function(e){return t=this,i=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:Mj,componentProps:{ldapTest:this.ldapTest,ldap:this.ldap,canValidate:this.canValidate()}});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||Rj)(rs(lb),rs(vP),rs(b_),rs(jk),rs(DP),rs(wP),rs(CB),rs(MP),rs(hE))},Rj.\u0275cmp=ft({type:Rj,selectors:[["app-administration-ldap"]],decls:49,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"ngModel","ngModelChange"],["name","uri","required","",3,"ngModel","ngModelChange"],["name","baseDN",3,"ngModel","ngModelChange"],["name","prefix",3,"ngModel","ngModelChange"],["name","suffix",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),ls(),ls(),ls(),ss(7,"form",4,5),ms("ngSubmit",function(){return t.onSubmit()}),ss(9,"ion-content"),ss(10,"ion-item"),ss(11,"ion-label",6),Qs(12),Du(13,"translate"),ls(),ss(14,"ion-input",7),ms("ngModelChange",function(e){return t.ldap.label=e}),ls(),ls(),ss(15,"ion-item"),ss(16,"ion-label",6),Qs(17),Du(18,"translate"),ls(),ss(19,"ion-input",8),ms("ngModelChange",function(e){return t.ldap.value.uri=e}),ls(),ls(),ss(20,"ion-item"),ss(21,"ion-label",6),Qs(22),Du(23,"translate"),ls(),ss(24,"ion-input",9),ms("ngModelChange",function(e){return t.ldap.value.baseDN=e}),ls(),ss(25,"ion-note"),Qs(26,"ex: dc=maarch,dc=com"),ls(),ls(),ss(27,"ion-item"),ss(28,"ion-label",6),Qs(29),Du(30,"translate"),ls(),ss(31,"ion-input",10),ms("ngModelChange",function(e){return t.ldap.value.prefix=e}),ls(),ss(32,"ion-note"),Qs(33,"ex: MAARCH"),ls(),ls(),ss(34,"ion-item"),ss(35,"ion-label",6),Qs(36),Du(37,"translate"),ls(),ss(38,"ion-input",11),ms("ngModelChange",function(e){return t.ldap.value.suffix=e}),ls(),ss(39,"ion-note"),Qs(40,"ex: @maarch.com"),ls(),ls(),ss(41,"ion-item",12),ss(42,"div",13),ss(43,"ion-button",14),ss(44,"ion-label",15),Qs(45),Du(46,"translate"),ls(),ls(),ns(47,Tj,4,3,"ion-button",16),ns(48,Ij,4,4,"ion-button",17),ls(),ls(),ls(),ls()),2&e){var n=is(8);os("translucent",!0),xo(6),Xs(t.title),xo(6),Ks("",Ou(13,16,"lang.label")," *"),xo(2),os("ngModel",t.ldap.label),xo(3),Ks("",Ou(18,18,"lang.uri")," *"),xo(2),os("ngModel",t.ldap.value.uri),xo(3),Xs(Ou(23,20,"lang.baseDN")),xo(2),os("ngModel",t.ldap.value.baseDN),xo(5),Xs(Ou(30,22,"lang.prefix")),xo(2),os("ngModel",t.ldap.value.prefix),xo(5),Xs(Ou(37,24,"lang.suffix")),xo(2),os("ngModel",t.ldap.value.suffix),xo(5),os("disabled",!n.form.valid||!t.canValidate()),xo(2),Xs(Ou(46,26,"lang.validate")),xo(2),os("ngIf",!t.creationMode),xo(1),os("ngIf",!t.creationMode)}},directives:[KC,MS,FC,dS,IC,eE,DS,Zm,fm,Wm,WC,iS,sS,nS,nA,xy,hm,Ym,fS,LC,mh],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),Rj);function Fj(e,t){if(1&e&&(ss(0,"ion-item"),us(1,"ion-icon",13),ss(2,"ion-label",14),Qs(3),Du(4,"translate"),ls(),ls()),2&e){var n=ks();xo(1),os("color","close-outline"===n.emailSendResult.icon?"danger":"primary")("name",n.emailSendResult.icon),xo(1),os("color","close-outline"===n.emailSendResult.icon?"danger":"primary"),xo(1),Xs(Ou(4,4,n.emailSendResult.msg))}}function Bj(e,t){if(1&e&&(ss(0,"div",15),Qs(1),ls()),2&e){var n=ks();xo(1),Ks(" ",n.emailSendResult.debug," ")}}var zj,Vj=((zj=function(){function e(t,n,i,r,o){A(this,e),this.http=t,this.translate=n,this.dialog=i,this.notificationService=r,this.alertController=o,this.emailSendLoading=!1,this.emailSendResult={icon:"",msg:"",debug:"",error:!1}}return m(e,[{key:"ngOnInit",value:function(){}},{key:"testEmailSend",value:function(){var e=this;this.emailSendResult={icon:"paper-plane-outline",msg:"lang.emailSendInProgress",debug:"",error:!1};var t={sender:this.sendmailFrom,recipients:[this.recipientTest],subject:"["+this.translate.instant("lang.doNotReply")+"] "+this.translate.instant("lang.emailSendTest"),status:"EXPRESS",body:this.translate.instant("lang.emailSendTest"),isHtml:!1};this.emailSendLoading=!0,this.http.post("../rest/emails",t).pipe(uw(function(t){e.emailSendResult=t.isSent?{icon:"checkmark-outline",msg:"lang.emailSendSuccess",debug:"",error:!1}:{icon:"close-outline",msg:"lang.emailSendFailed",debug:t.informations,error:!0}}),hw(function(){return e.emailSendLoading=!1})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||zj)(rs(lb),rs(vP),rs(CB),rs(wP),rs(uE))},zj.\u0275cmp=ft({type:zj,selectors:[["app-check-email-connection"]],inputs:{profileInfo:"profileInfo",sendmailFrom:"sendmailFrom",recipientTest:"recipientTest"},decls:25,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","recipientTest","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],["slot","start",3,"color","name"],[3,"color"],[1,"bash"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"form",3,4),ms("ngSubmit",function(){return t.testEmailSend()}),ss(9,"ion-content",null,5),ss(11,"ion-item"),ss(12,"ion-label",6),Qs(13),Du(14,"translate"),ls(),ss(15,"ion-input",7),ms("ngModelChange",function(e){return t.recipientTest=e}),ls(),ls(),ns(16,Fj,5,6,"ion-item",8),ns(17,Bj,2,1,"div",9),ls(),ss(18,"ion-footer",10),ss(19,"ion-toolbar"),ss(20,"ion-buttons",11),ss(21,"ion-button",12),ss(22,"ion-label"),Qs(23),Du(24,"translate"),ls(),ls(),ls(),ls(),ls(),ls()),2&e){var n=is(8);os("translucent",!0),xo(5),Xs(Ou(6,9,"lang.emailSendTest")),xo(8),Ks("",Ou(14,11,"lang.mailTo")," *"),xo(2),os("ngModel",t.recipientTest)("disabled",t.emailSendLoading),xo(1),os("ngIf",""!=t.emailSendResult.msg),xo(1),os("ngIf",t.emailSendResult.error),xo(4),os("disabled",!n.form.valid||t.emailSendLoading),xo(2),Xs(Ou(24,13,"lang.connectionTest"))}},directives:[KC,MS,FC,IC,eE,DS,Zm,fm,Wm,WC,iS,sS,nS,nA,xy,Ey,hm,Ym,mh,QC,LC,JC],pipes:[mP],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),zj);function Nj(e,t){if(1&e&&(ss(0,"ion-select-option",27),Qs(1),Du(2,"translate"),ls()),2&e){var n=t.$implicit;os("value",n.id),xo(1),Ks("",Ou(2,2,n.label)," ")}}function Hj(e,t){if(1&e&&(ss(0,"ion-select-option",27),Qs(1),Du(2,"translate"),ls()),2&e){var n=t.$implicit;os("value",n.id),xo(1),Ks(" ",Ou(2,2,n.label)," ")}}function jj(e,t){if(1&e){var n=fs();ss(0,"form",5,6),ms("ngSubmit",function(){return nn(n),ks().onSubmit()}),ss(2,"ion-content"),ss(3,"ion-item"),ss(4,"ion-label",7),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-select",8),ms("ngModelChange",function(e){return nn(n),ks().sendmail.type=e}),ns(8,Nj,3,4,"ion-select-option",9),ls(),ls(),ss(9,"ion-grid"),ss(10,"ion-row"),ss(11,"ion-col",10),ss(12,"ion-item"),ss(13,"ion-label",7),Qs(14),Du(15,"translate"),ls(),ss(16,"ion-select",11),ms("ngModelChange",function(e){return nn(n),ks().sendmail.secure=e}),ns(17,Hj,3,4,"ion-select-option",9),ls(),ls(),ls(),ss(18,"ion-col",12),ss(19,"ion-item"),ss(20,"ion-label",7),Qs(21),Du(22,"translate"),ls(),ss(23,"ion-input",13),ms("ngModelChange",function(e){return nn(n),ks().sendmail.host=e}),ls(),ls(),ls(),ss(24,"ion-col",10),ss(25,"ion-item"),ss(26,"ion-label",7),Qs(27),Du(28,"translate"),ls(),ss(29,"ion-input",14),ms("ngModelChange",function(e){return nn(n),ks().sendmail.port=e}),ls(),ls(),ls(),ls(),ls(),ss(30,"ion-item"),ss(31,"ion-toggle",15),ms("ngModelChange",function(e){return nn(n),ks().sendmail.auth=e})("ngModelChange",function(){return nn(n),ks().cleanAuthInfo()}),ls(),ss(32,"ion-label"),Qs(33),Du(34,"translate"),ls(),ls(),ss(35,"ion-item"),ss(36,"ion-label",7),Qs(37),Du(38,"translate"),ls(),ss(39,"ion-input",16),ms("ngModelChange",function(e){return nn(n),ks().sendmail.user=e}),ls(),ls(),ss(40,"ion-item",17),ss(41,"ion-button",18),ms("click",function(){nn(n);var e=ks();return e.hidePassword=!e.hidePassword}),us(42,"ion-icon",19),ls(),ss(43,"ion-label",7),Qs(44),ls(),ss(45,"ion-input",20),ms("ngModelChange",function(e){return nn(n),ks().sendmail.password=e}),ls(),ls(),ss(46,"ion-item"),ss(47,"ion-label",7),Qs(48),Du(49,"translate"),ls(),ss(50,"ion-input",21),ms("ngModelChange",function(e){return nn(n),ks().sendmail.from=e}),ls(),ls(),ss(51,"ion-item",22),ss(52,"div",23),ss(53,"ion-button",24),ms("click",function(){return nn(n),ks().checkConnection()}),ss(54,"ion-label",25),Qs(55),Du(56,"translate"),ls(),ls(),ss(57,"ion-button",26),ss(58,"ion-label",25),Qs(59),Du(60,"translate"),ls(),ls(),ls(),ls(),ls(),ls()}if(2&e){var i=is(1),r=ks();xo(5),Ks("",Ou(6,34,"lang.configurationType")," *"),xo(2),os("ngModel",r.sendmail.type),xo(1),os("ngForOf",r.smtpTypeList),xo(6),Ks("",Ou(15,36,"lang.smtpAuth")," * "),xo(2),os("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.secure)("value",r.sendmail.secure),xo(1),os("ngForOf",r.smtpSecList),xo(4),Ks("",Ou(22,38,"lang.host")," *"),xo(2),os("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.host),xo(4),Ks("",Ou(28,40,"lang.port")," *"),xo(2),os("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.port),xo(2),os("ngModel",r.sendmail.auth)("checked",r.sendmail.auth)("disabled","smtp"!=r.sendmail.type),xo(2),Xs(Ou(34,42,"lang.enableAuth")),xo(4),Ks("",Ou(38,44,"lang.id")," *"),xo(2),os("ngModel",r.sendmail.user)("disabled",!r.sendmail.auth||"smtp"!=r.sendmail.type),xo(3),os("name",r.hidePassword?"eye-outline":"eye-off-outline"),xo(2),Js("",r.passwordLanguage," ",r.sendmail.passwordAlreadyExists?"":"*",""),xo(1),os("type",r.hidePassword?"password":"text")("ngModel",r.sendmail.password)("disabled",!r.sendmail.auth||"smtp"!=r.sendmail.type)("required",!r.sendmail.passwordAlreadyExists),xo(3),Xs(Ou(49,46,"lang.mailFrom")),xo(2),os("ngModel",r.sendmail.from)("disabled","smtp"!=r.sendmail.type),xo(5),Xs(Ou(56,48,"lang.connectionTest")),xo(2),os("disabled",!i.form.valid||!r.canValidate()),xo(2),Xs(Ou(60,50,"lang.validate"))}}var Uj,Wj=((Uj=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.http=t,this.translate=n,this.route=i,this.signaturesService=r,this.notificationService=o,this.dialog=a,this.authService=s,this.modalController=l,this.loading=!0,this.title="",this.passwordLanguage="",this.hidePassword=!0,this.smtpTypeList=[{id:"smtp",label:"lang.smtpclient"},{id:"sendmail",label:"lang.smtprelay"},{id:"qmail",label:"lang.qmail"},{id:"mail",label:"lang.phpmail"}],this.smtpSecList=[{id:"",label:"lang.none"},{id:"ssl",label:"ssl"},{id:"tls",label:"tls"}]}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(){e.http.get("../rest/configurations/1").pipe(Y(function(e){return e.configuration}),hw(function(){return e.loading=!1})).subscribe({next:function(t){e.sendmail=t.value,e.sendmailLabel=t.label,e.sendmailClone=JSON.parse(JSON.stringify(e.sendmail)),e.title=e.translate.instant("lang.manage_email_configuration"),e.passwordLanguage=e.translate.instant(e.sendmail.passwordAlreadyExists?"lang.passwordModification":"lang.password")}})})}},{key:"canValidate",value:function(){return JSON.stringify(this.sendmail)!==JSON.stringify(this.sendmailClone)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.http.patch("../rest/configurations/1",{value:this.sendmail,label:this.sendmailLabel}).pipe(hw(function(){return e.loading=!1})).subscribe({next:function(){e.sendmailClone=JSON.parse(JSON.stringify(e.sendmail)),e.notificationService.success("lang.emailConfigurationUpdated")}})}},{key:"cleanAuthInfo",value:function(){this.sendmail.passwordAlreadyExists=!1,this.sendmail.user="",this.sendmail.password=""}},{key:"checkConnection",value:function(e){return t=this,i=regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=JSON.parse(JSON.stringify(this.authService.user)),JSON.stringify(this.sendmailClone)!==JSON.stringify(this.sendmail)&&this.onSubmit(),e.next=4,this.modalController.create({component:Vj,componentProps:{sendmailFrom:this.sendmail.from,recipientTest:t.email}});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||Uj)(rs(lb),rs(vP),rs(b_),rs(DP),rs(wP),rs(CB),rs(MP),rs(hE))},Uj.\u0275cmp=ft({type:Uj,selectors:[["app-administration-sendmail"]],decls:8,vars:3,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","sendmailForm",3,"ngSubmit",4,"ngIf"],["id","sendmailForm",2,"display","contents",3,"ngSubmit"],["sendmailForm","ngForm"],["color","secondary","position","floating"],["name","smtpType","interface","popover","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["size","2"],["name","SMTPSecure","interface","popover","required","",3,"disabled","ngModel","value","ngModelChange"],["size","8"],["name","host","required","",3,"disabled","ngModel","ngModelChange"],["type","number","name","port","required","",3,"disabled","ngModel","ngModelChange"],["name","SMTPAuth",3,"ngModel","checked","disabled","ngModelChange"],["name","user","required","",3,"ngModel","disabled","ngModelChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","password",3,"type","ngModel","disabled","required","ngModelChange"],["name","mailFrom","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],[2,"font-size","13px"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[3,"value"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),ls(),ls(),ls(),ns(7,jj,61,52,"form",4)),2&e&&(os("translucent",!0),xo(6),Xs(t.title),xo(1),os("ngIf",!t.loading))},directives:[KC,MS,FC,dS,IC,eE,DS,mh,Zm,fm,Wm,WC,iS,sS,xS,tA,xy,hm,Ym,gh,XC,bS,UC,nS,nA,$x,OS,Jx,LC,JC,Ey,AS],pipes:[mP],styles:[".testSendTo[_ngcontent-%COMP%]{width:95%;margin-top:10px;margin-left:10px}.bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px;word-wrap:break-word}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:25px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.cancel[_ngcontent-%COMP%]{position:absolute;top:10px;left:0;height:65px;width:65px;font-size:35px;color:#fff}.auth-container[_ngcontent-%COMP%]{display:flex}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100px;padding-right:10px}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:50px;padding-left:10px}@media (max-width:360px){.auth-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100%;padding-right:0}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{width:100%;flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:100%;padding-left:0}}"]}),Uj);function Gj(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function qj(e,t,n,i){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=i}function Yj(e,t){var n=this,i=t||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.throttle="throttle"in i?i.throttle:16,this.minDistance="minDistance"in i?i.minDistance:5,this._strokeMoveUpdate=this.throttle?function(e,t,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(i,r),a||(i=r=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return i=this,r=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(i,r),a||(i=r=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}(Yj.prototype._strokeUpdate,this.throttle):Yj.prototype._strokeUpdate,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onBegin=i.onBegin,this.onEnd=i.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()}Gj.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},Gj.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},Gj.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},qj.prototype.length=function(){for(var e=0,t=void 0,n=void 0,i=0;i<=10;i+=1){var r=i/10,o=this._point(r,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(r,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var s=o-t,l=a-n;e+=Math.sqrt(s*s+l*l)}t=o,n=a}return e},qj.prototype._point=function(e,t,n,i,r){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*i*(1-e)*e*e+r*e*e*e},Yj.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},Yj.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Image,r=n.ratio||window.devicePixelRatio||1,o=n.width||this._canvas.width/r,a=n.height||this._canvas.height/r;this._reset(),i.src=e,i.onload=function(){t._ctx.drawImage(i,0,0,o,a)},this._isEmpty=!1},Yj.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(t=this._canvas).toDataURL.apply(t,[e].concat(i))}},Yj.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},Yj.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)},Yj.prototype.isEmpty=function(){return this._isEmpty},Yj.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},Yj.prototype._strokeUpdate=function(e){var t=this._createPoint(e.clientX,e.clientY),n=this._data[this._data.length-1],i=n&&n[n.length-1],r=i&&t.distanceTo(i)<this.minDistance;if(!i||!r){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})}},Yj.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)},Yj.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},Yj.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)},Yj.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},Yj.prototype._createPoint=function(e,t,n){var i=this._canvas.getBoundingClientRect();return new Gj(e-i.left,t-i.top,n||(new Date).getTime())},Yj.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 i=(n=this._calculateCurveControlPoints(t[0],t[1],t[2])).c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var r=new qj(t[1],i,n.c1,t[2]),o=this._calculateCurveWidths(r);return t.shift(),{curve:r,widths:o}}return{}},Yj.prototype._calculateCurveControlPoints=function(e,t,n){var i=e.x-t.x,r=e.y-t.y,o=t.x-n.x,a=t.y-n.y,s=(e.x+t.x)/2,l=(e.y+t.y)/2,u=(t.x+n.x)/2,c=(t.y+n.y)/2,d=Math.sqrt(i*i+r*r),h=Math.sqrt(o*o+a*a),f=h/(d+h),p=t.x-(u+(s-u)*f),g=t.y-(c+(l-c)*f);return{c1:new Gj(s+p,l+g),c2:new Gj(u+p,c+g)}},Yj.prototype._calculateCurveWidths=function(e){var t={start:null,end:null},n=this.velocityFilterWeight*e.endPoint.velocityFrom(e.startPoint)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(n);return t.start=this._lastWidth,t.end=i,this._lastVelocity=n,this._lastWidth=i,t},Yj.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},Yj.prototype._drawPoint=function(e,t,n){var i=this._ctx;i.moveTo(e,t),i.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},Yj.prototype._drawCurve=function(e,t,n){var i=this._ctx,r=n-t,o=Math.floor(e.length());i.beginPath();for(var a=0;a<o;a+=1){var s=a/o,l=s*s,u=l*s,c=1-s,d=c*c,h=d*c,f=h*e.startPoint.x;f+=3*d*s*e.control1.x,f+=3*c*l*e.control2.x;var p=h*e.startPoint.y;p+=3*d*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*r)}i.closePath(),i.fill()},Yj.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()},Yj.prototype._fromData=function(e,t,n){for(var i=0;i<e.length;i+=1){var r=e[i];if(r.length>1)for(var o=0;o<r.length;o+=1){var a=r[o],s=new Gj(a.x,a.y,a.time),l=a.color;if(0===o)this.penColor=l,this._reset(),this._addPoint(s);else if(o!==r.length-1){var u=this._addPoint(s),c=u.curve,d=u.widths;c&&d&&t(c,d,l)}}else this._reset(),n(r[0])}},Yj.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,i=Math.max(window.devicePixelRatio||1,1),r=n.width/i,o=n.height/i,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 i=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var r="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);i.setAttribute("d",r),i.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),i.setAttribute("stroke",n),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),a.appendChild(i)}},function(t){var n=document.createElement("circle"),i="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",i),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 '+r+" "+o+'" width="'+r+'" height="'+o+'">',l=a.innerHTML;if(void 0===l){var u=document.createElement("dummy"),c=a.childNodes;u.innerHTML="";for(var d=0;d<c.length;d+=1)u.appendChild(c[d].cloneNode(!0));l=u.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+l+"</svg>")},Yj.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},Yj.prototype.toData=function(){return this._data};var Zj,Qj,Xj=Yj,Kj=((Qj=function(){function e(t){A(this,e),this.elementRef=t,this.options=this.options||{},this.onBeginEvent=new Fu,this.onEndEvent=new Fu}return m(e,[{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 Xj(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}}]),e}()).\u0275fac=function(e){return new(e||Qj)(rs(Cl))},Qj.\u0275cmp=ft({type:Qj,selectors:[["signature-pad"]],inputs:{options:"options"},outputs:{onBeginEvent:"onBeginEvent",onEndEvent:"onEndEvent"},decls:1,vars:0,template:function(e,t){1&e&&us(0,"canvas")},encapsulation:2}),Qj),Jj=((Zj=function e(){A(this,e)}).\u0275fac=function(e){return new(e||Zj)},Zj.\u0275mod=mt({type:Zj}),Zj.\u0275inj=Fe({imports:[[]]}),Zj),$j=["signaturePad"],eU=function(e,t){return{"border-color":e,"background-color":t}};function tU(e,t){if(1&e){var n=fs();cs(0,20),ss(1,"input",21),ms("change",function(){nn(n);var e=t.$implicit;return ks().onColorChange(e)}),ls(),ds()}if(2&e){var i=t.$implicit,r=ks();xo(1),os("checked",0===r.idx)("value",i.id)("ngStyle",Cu(3,eU,i.id,i.id))}}var nU,iU=((nU=function(){function e(t,n,i,r,o,a,s){A(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.notificationService=r,this.authService=o,this.localStorage=a,this.modalController=s,this.reloaded=new Fu,this.penColors=[{id:"black"},{id:"#1a75ff"},{id:"#FF0000"}],this.disableState=!1,this.signaturePadOptions={minWidth:1,maxWidth:2.5,backgroundColor:"rgba(255, 255, 255, 0)",canvasWidth:600,canvasHeight:400}}return m(e,[{key:"ngAfterViewInit",value:function(){this.localStorage.get("signature")}},{key:"onColorChange",value:function(e){this.selectedColor=Object.assign({},this.selectedColor,e),this.signaturePad.set("penColor",this.selectedColor.id)}},{key:"onDotChange",value:function(e){this.signaturePad.set("minWidth",parseFloat(e)),this.signaturePad.set("maxWidth",parseFloat(e)+2)}},{key:"drawComplete",value:function(){this.localStorage.save("signature",JSON.stringify(this.signaturePad.toData())),this.haveSigned=!0}},{key:"drawClear",value:function(){this.signaturePad.clear(),this.haveSigned=!1}},{key:"closePad",value:function(){this.modalController.dismiss("cancel")}},{key:"saveSignature",value:function(){var e=this;this.disableState=!0,this.haveSigned=!0;var t=this.signaturePad.toDataURL("image/png").replace("data:image/png;base64,","");this.localStorage.save("signature",JSON.stringify(t));var n={id:0,encodedSignature:t,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",n).pipe(hw(function(){e.disableState=!1})).subscribe(function(t){n.id=t.signatureId,e.signaturesService.signaturesList.unshift({id:n.id,encodedSignature:n.encodedSignature}),e.modalController.dismiss("reload"),e.notificationService.success("lang.signatureRegistered")})}}]),e}()).\u0275fac=function(e){return new(e||nU)(rs(vP),rs(lb),rs(DP),rs(wP),rs(MP),rs(OP),rs(hE))},nU.\u0275cmp=ft({type:nU,selectors:[["app-pad"]],viewQuery:function(e,t){var n;1&e&&Qu($j,1),2&e&&Zu(n=Ku())&&(t.signaturePad=n.first)},outputs:{reloaded:"reloaded"},decls:34,vars:16,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],["color","light",1,"pad"],[1,"pad-actions"],[1,"pad-actions-boxed"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"btn",3,"click"],["type","range","name","dot","min","1","max","10","step","1","value","1",1,"range",3,"input"],["padContent",""],[1,"pad"],[1,"pad-draw"],[1,"padContent",3,"options","onEndEvent"],["signaturePad",""],[1,"draw"],[1,"footer-buttons"],["color","danger",3,"click"],["color","success",3,"click"],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle","change"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ss(5,"ion-buttons",2),ss(6,"ion-button",3),ms("click",function(){return t.closePad()}),us(7,"ion-icon",4),ls(),ls(),ls(),ls(),ss(8,"ion-header",0),ss(9,"ion-toolbar",5),ss(10,"section",6),ss(11,"div",7),ns(12,tU,2,6,"ng-container",8),ls(),ss(13,"button",9),ms("click",function(){return t.drawClear()}),Qs(14),Du(15,"translate"),ls(),ss(16,"div",7),ss(17,"input",10),ms("input",function(e){return t.onDotChange(e.target.value)}),ls(),ls(),ls(),ls(),ls(),ss(18,"ion-content",null,11),ss(20,"article",12),ss(21,"section",13),ss(22,"signature-pad",14,15),ms("onEndEvent",function(){return t.drawComplete()}),ls(),ls(),us(24,"div",16),ls(),ls(),ss(25,"ion-footer",17),ss(26,"ion-button",18),ms("click",function(){return t.closePad()}),ss(27,"ion-label"),Qs(28),Du(29,"translate"),ls(),ls(),ss(30,"ion-button",19),ms("click",function(){return t.saveSignature()}),ss(31,"ion-label"),Qs(32),Du(33,"translate"),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,8,"lang.createNewSignature")),xo(5),os("translucent",!0),xo(4),os("ngForOf",t.penColors),xo(2),Xs(Ou(15,10,"lang.erase")),xo(8),os("options",t.signaturePadOptions),xo(6),Xs(Ou(29,12,"lang.cancel")),xo(4),Xs(Ou(33,14,"lang.save")))},directives:[KC,MS,DS,FC,LC,JC,gh,WC,Kj,QC,sS,Dh],pipes:[mP],styles:[".pad-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly;padding:10px 0}.pad-actions-boxed[_ngcontent-%COMP%]{border-radius:60px;height:60px;background:#f1f4f4;padding:0 20px}.pad-actions-boxed[_ngcontent-%COMP%], .pad-draw[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.pad-draw[_ngcontent-%COMP%]{background:#fff}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:checked, .pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.padContent[_ngcontent-%COMP%]{border:1px dashed hsla(0,0%,59.2%,.55)}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),nU),rU=["slides"];function oU(e,t){if(1&e&&(ss(0,"small",9),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks();xo(1),Js("",n.currentWorflow.signaturePositions.length," ",Ou(2,2,"lang.prePositionings"),"")}}function aU(e,t){1&e&&(ss(0,"ion-label",36),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.substitutedSignature")))}function sU(e,t){if(1&e){var n=fs();ss(0,"ion-card",27),ss(1,"img",28),ms("click",function(){nn(n);var e=t.$implicit;return ks(4).selectSignature(e)}),ls(),ss(2,"ion-toolbar",29),ns(3,aU,3,3,"ion-label",30),ss(4,"ion-buttons",31),ss(5,"ion-button",32),ms("click",function(){nn(n);var e=t.$implicit;return ks(4).selectSignature(e)}),Du(6,"translate"),us(7,"ion-icon",33),ls(),ls(),ss(8,"ion-buttons",3),ss(9,"ion-button",34),ms("click",function(){nn(n);var e=t.$implicit;return ks(4).removeSignature(e)}),Du(10,"translate"),us(11,"ion-icon",35),ls(),ls(),ls(),ls()}if(2&e){var i=t.$implicit,r=t.index,o=ks(4);xo(1),Es("id","imgSign_",r,""),os("src",o.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Cr),xo(2),os("ngIf",i.substituted),xo(2),os("title",Ou(6,5,"lang.selectSignature")),xo(4),os("title",Ou(10,7,"lang.removeSignature"))}}function lU(e,t){if(1&e&&(ss(0,"ion-slide",24),ss(1,"div",25),ns(2,sU,12,9,"ion-card",26),ls(),ls()),2&e){var n=t.$implicit;xo(2),os("ngForOf",n)}}function uU(e,t){if(1&e&&(ss(0,"ion-slides",21,22),ns(2,lU,3,1,"ion-slide",23),ls()),2&e){var n=ks(2);os("options",n.slideOpts),xo(2),os("ngForOf",n.signaturesList)}}function cU(e,t){if(1&e){var n=fs();cs(0),ns(1,uU,3,2,"ion-slides",10),ss(2,"ion-fab",11),ss(3,"ion-fab-button",12),us(4,"ion-icon",13),ls(),ss(5,"ion-fab-list",14),ss(6,"ion-fab-button",15),ms("click",function(){return nn(n),ks().addNewDate()}),Du(7,"translate"),us(8,"ion-icon",16),ls(),ss(9,"ion-fab-button",15),ms("click",function(){return nn(n),is(16).click()}),Du(10,"translate"),us(11,"ion-icon",17),ls(),ss(12,"ion-fab-button",15),ms("click",function(){return nn(n),ks().openSignatures()}),Du(13,"translate"),us(14,"ion-icon",18),ls(),ls(),ls(),ss(15,"input",19,20),ms("change",function(e){return nn(n),ks().handleFileInput(e.target.files)}),ls(),ds()}if(2&e){var i=ks();xo(1),os("ngIf",!i.loading),xo(5),os("title",Ou(7,4,"lang.addNewDate")),xo(3),os("title",Ou(10,6,"lang.importNewSignature")),xo(3),os("title",Ou(13,8,"lang.createNewSignature"))}}function dU(e,t){1&e&&(ss(0,"div",37),us(1,"ion-icon",38),ss(2,"div"),Qs(3),Du(4,"translate"),ls(),ls()),2&e&&(xo(3),Ks(" ",Ou(4,1,"lang.certifiedDocumentMsg")," "))}var hU,fU=((hU=function(){function e(t,n,i,r,o,a,s,l,u,c){A(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.bottomSheetRef=r,this.sanitization=o,this.notificationService=a,this.authService=s,this.localStorage=l,this.renderer=u,this.modalController=c,this.loading=!0,this.scrolling=!1,this.signPosMode=!1,this.datePosMode=!1,this.title="lang.signatures",this.slideOpts={initialSlide:0,speed:400,direction:"vertical"},this.signaturesList=[],this.inAllPage=!1,this.count=0}return m(e,[{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"scroll",value:function(e){var t=this;this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(function(){t.scrolling=!1},500))}},{key:"ngOnInit",value:function(){this.initSignatures(),this.signPosMode=this.currentWorflow.signaturePositions.length>0&&this.emptySigns(),this.getImgDimensions(this.content)}},{key:"initSignatures",value:function(){var e=this;this.signaturesList=[];var t=[],n=0;this.signaturesService.signaturesListSubstituted.concat(this.signaturesService.signaturesList).forEach(function(i){6===n?(e.signaturesList.push(t),t=[i],n=0):(t.push(i),n++)}),t.length>0&&this.signaturesList.push(t)}},{key:"ionViewDidEnter",value:function(){this.loading=!1}},{key:"openSignatures",value:function(){return e=this,n=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:iU,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:"reload"===e.sent.data&&this.initSignatures();case 10:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"mustPrePosSignature",value:function(e,t){return!(!this.signPosMode||0===e.length&&0===t.length)}},{key:"selectSignature",value:function(e){var t,n=this,i=document.getElementById("imgSign_"+this.signaturesList[0].indexOf(e).toString());this.signatureWidth=i.naturalWidth,this.signatureScaling=void 0!==this.authService.user.preferences.signatureScaling&&this.authService.user.preferences.signatureScaling,t=!1===this.signatureScaling?this.signatureWidth>=this.documentWidth?100:100*this.signatureWidth/this.documentWidth:this.signatureScaling,e.width=t;var r=this.currentWorflow.signaturePositions.filter(function(e){return e.page===n.signaturesService.currentPage}),o=this.currentWorflow.signaturePositions.filter(function(e){return e.page!==n.signaturesService.currentPage});this.mustPrePosSignature(r,o)?(r.length>0&&(e.positionX=r[0].positionX,e.positionY=r[0].positionY,this.storeSignature(e,this.signaturesService.currentPage)),o.length>0&&o.forEach(function(t){e.positionX=t.positionX,e.positionY=t.positionY,n.storeSignature(e,t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.signatureInDocAddedAlt"):this.translate.get("lang.signaturesInDocAdded",{0:this.currentWorflow.signaturePositions.map(function(e){return e.page})}).subscribe(function(e){n.notificationService.success(e)}),this.modalController.dismiss(0===r.length&&o.length>0?{redirectPage:o[0].page}:"success")):(e.positionX=60,e.positionY=80,this.storeSignature(e,this.signaturesService.currentPage),this.notificationService.success("lang.signatureInDocAdded"),this.modalController.dismiss("success"))}},{key:"addNewDate",value:function(){var e=this,t=this.currentWorflow.datePositions.filter(function(t){return t.page===e.signaturesService.currentPage}),n=this.currentWorflow.datePositions.filter(function(t){return t.page!==e.signaturesService.currentPage});if(0===t.length&&0===n.length){var i={width:13e3/this.signaturesService.workingAreaWidth,height:3e3/this.signaturesService.workingAreaHeight,positionX:0,positionY:0,font:"Arial",size:15,color:"#666",format:"d MMMM y"};i.positionX=60,i.positionY=80,this.storeDate(i,this.signaturesService.currentPage),this.notificationService.success("lang.dateInDocAdded"),this.modalController.dismiss("success")}else t.length>0&&this.storeDate({width:t[0].width,height:t[0].height,positionX:t[0].positionX,positionY:t[0].positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},this.signaturesService.currentPage),n.forEach(function(t){e.storeDate({width:t.width,height:t.height,positionX:t.positionX,positionY:t.positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.dateInDocAddedAlt"):this.translate.get("lang.dateInDocAdded",{0:this.currentWorflow.signaturePositions.map(function(e){return e.page})}).subscribe(function(t){e.notificationService.success(t)}),this.modalController.dismiss(0===t.length&&n.length>0?{redirectPage:n[0].page}:"success")}},{key:"storeSignature",value:function(e,t){this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"storeDate",value:function(e,t){this.signaturesService.datesContent[t]||(this.signaturesService.datesContent[t]=[]),this.signaturesService.datesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"removeSignature",value:function(e){var t=this;confirm(this.translate.instant("lang.wantDeleteSignature"))&&this.http.delete("../rest/users/"+this.authService.user.id+"/signatures/"+e.id).subscribe(function(){t.signaturesService.signaturesList=t.signaturesService.signaturesList.filter(function(t){return t.id!==e.id}),t.notificationService.success("lang.signatureDeleted"),t.initSignatures()},function(e){t.notificationService.error(e.error.errors)})}},{key:"toggleAllPage",value:function(){this.inAllPage=!this.inAllPage}},{key:"tapEvent",value:function(e,t,n){var i=this;this.count++,setTimeout(function(){1===i.count?i.count=0:i.count>1&&(i.count=0,i.selectSignature(e))},250)}},{key:"handleFileInput",value:function(e){var t=this,n=e.item(0);if(n.size<=1e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(n.type)){var i=new FileReader;i.onloadend=function(e){var r=i.result.toString().replace("data:"+n.type+";base64,","");t.localStorage.save("signature",JSON.stringify(r));var o={id:0,encodedSignature:r,format:"png"};t.http.post("../rest/users/"+t.authService.user.id+"/signatures",o).subscribe(function(e){o.id=e.signatureId,t.signaturesService.signaturesList.unshift({id:o.id,encodedSignature:o.encodedSignature}),t.initSignatures(),t.notificationService.success("lang.signatureRegistered")})},i.readAsDataURL(n)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.maxFileSizeReached")}},{key:"emptySigns",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}},{key:"getImgDimensions",value:function(e){var t=atob(e.slice(0,50)).slice(16,24),n=Uint8Array.from(t,function(e){return e.charCodeAt(0)}),i=new DataView(n.buffer);this.documentWidth=i.getInt32(0)}}]),e}()).\u0275fac=function(e){return new(e||hU)(rs(vP),rs(lb),rs(DP),rs(GF),rs(Wf),rs(wP),rs(MP),rs(OP),rs(Pl),rs(hE))},hU.\u0275cmp=ft({type:hU,selectors:[["app-signatures"]],viewQuery:function(e,t){var n;1&e&&Qu(rU,1),2&e&&Zu(n=Ku())&&(t.slides=n.first)},inputs:{currentWorflow:"currentWorflow",content:"content"},decls:13,vars:7,consts:[[3,"translucent"],["color","primary"],["class","secondary",4,"ngIf"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"wheel"],[4,"ngIf","ngIfElse"],["elseCertified",""],[1,"secondary"],["pager","true",3,"options",4,"ngIf"],["horizontal","start","vertical","bottom","slot","fixed"],["color","primary","close-icon","chevron-down"],["name","chevron-up-outline"],["side","top"],["color","light",3,"title","click"],["name","calendar-outline"],["name","download-outline"],["name","add-outline"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["pager","true",3,"options"],["slides",""],["style","display: grid;grid-template-columns: repeat(2, 1fr);",4,"ngFor","ngForOf"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],[2,"display","contents"],["class","sign-image",4,"ngFor","ngForOf"],[1,"sign-image"],[2,"width","190px","cursor","pointer",3,"id","src","click"],[2,"position","absolute","top","0px"],["color","secondary",4,"ngIf"],["slot","start"],["size","small","color","primary",3,"title","click"],["slot","icon-only","name","arrow-up-circle-outline"],["size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["color","secondary"],[1,"certified-msg"],["slot","start","name","ribbon-outline","color","success",2,"font-size","70px"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ns(5,oU,3,4,"small",2),ls(),ss(6,"ion-buttons",3),ss(7,"ion-button",4),ms("click",function(){return t.dismissModal()}),us(8,"ion-icon",5),ls(),ls(),ls(),ls(),ss(9,"ion-content",6),ms("wheel",function(e){return t.scroll(e)}),ns(10,cU,17,10,"ng-container",7),ns(11,dU,5,3,"ng-template",null,8,tc),ls()),2&e){var n=is(12);os("translucent",!0),xo(3),Ks("",Ou(4,5,"lang.signatures")," "),xo(2),os("ngIf",t.signPosMode),xo(5),os("ngIf",!t.signaturesService.stampLock)("ngIfElse",n)}},directives:[KC,MS,DS,mh,FC,LC,JC,WC,qC,YC,ZC,SS,gh,CS,BC,sS],pipes:[mP],styles:[".secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.signatures[_ngcontent-%COMP%]{flex-direction:column}.signatures[_ngcontent-%COMP%], .signatures-top[_ngcontent-%COMP%]{display:flex;align-items:center}.signatures-top[_ngcontent-%COMP%]{height:105px;width:100%;justify-content:space-around;border-bottom:1px solid #e9e8e8}.signatures[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{width:100%;padding-top:40px;overflow:auto;display:flex;justify-content:center;flex-wrap:wrap;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{transition:all .3s ease-in-out;height:190px;width:190px;margin:8px;border:1px solid hsla(0,0%,59.2%,.55);border-radius:5px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.04);display:flex;justify-content:center;align-items:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%] .substituteInfo[_ngcontent-%COMP%]{color:#f99830;font-size:10px;position:absolute;top:0;left:10px}.signatures[_ngcontent-%COMP%] .list-item.create[_ngcontent-%COMP%]{background-color:#f1f4f4;flex-direction:column;text-align:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:active, .signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{transform:translateY(-20px);cursor:pointer}.sign_icon[_ngcontent-%COMP%]{position:absolute;top:5px}.sign_icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff;height:auto}.add_icon[_ngcontent-%COMP%]{right:5px}.remove_icon[_ngcontent-%COMP%]{left:5px}.sign-image[_ngcontent-%COMP%]{height:95%}.certified-msg[_ngcontent-%COMP%], .sign-image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.certified-msg[_ngcontent-%COMP%]{height:100%;flex-direction:column;padding:40px}.certified-msg[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:30px;color:var(--ion-color-medium)}"]}),hU),pU=["mainContent"],gU=["canvas"],vU=["img"],mU=["nav"],yU=function(e,t){return{"border-color":e,"background-color":t}};function bU(e,t){if(1&e&&(cs(0,28),us(1,"input",29),ds()),2&e){var n=t.$implicit,i=ks(2);xo(1),os("checked",0===i.idx)("value",n.id)("ngStyle",Cu(3,yU,n.id,n.id))}}function wU(e,t){if(1&e){var n=fs();ss(0,"ion-content",null,8),ss(2,"div",9),ns(3,bU,2,6,"ng-container",10),us(4,"hr"),ss(5,"i",11),ms("click",function(){return nn(n),ks().undo()}),ls(),ls(),ss(6,"ion-fab",12),ss(7,"ion-fab-button",13),us(8,"ion-icon",14),ls(),ss(9,"ion-fab-list",15),ss(10,"ion-fab-button",16),ms("click",function(e){nn(n);var t=ks();return e.stopPropagation(),t.editMode=!t.editMode}),Du(11,"translate"),Du(12,"translate"),us(13,"ion-icon",17),ls(),ss(14,"ion-fab-button",18),ms("click",function(e){nn(n);var t=ks();return e.stopPropagation(),t.getImageDimensions(!t.originalSize)}),Du(15,"translate"),Du(16,"translate"),us(17,"ion-icon",17),ls(),ls(),ls(),ss(18,"div",19),ss(19,"drag-scroll",20,21),ss(21,"div",22,23),ss(23,"ion-img",24,25),ms("ionImgDidLoad",function(e){return nn(n),ks().imageLoaded(e)}),ls(),us(25,"canvas",26,27),ls(),ls(),ls(),ls()}if(2&e){var i=ks();xo(3),os("ngForOf",i.penColors),xo(7),os("color",i.editMode?"danger":"success")("title",i.editMode?Ou(11,19,"lang.lockEdition"):Ou(12,21,"lang.unlockEdition")),xo(3),os("name",i.editMode?"lock-closed-outline":"lock-open-outline"),xo(1),os("title",i.originalSize?Ou(15,23,"lang.originalSize"):Ou(16,25,"lang.screenSize")),xo(3),os("name",i.originalSize?"scan-outline":"crop-outline"),xo(2),Ls("max-width",i.areaWidth,"px"),xo(2),Ls("width",i.areaWidth,"px")("height",i.areaHeight,"px"),xo(2),Ls("width",i.areaWidth,"px")("height",i.areaHeight,"px"),os("src",i.content),xo(2),Ls("display",i.editMode?"initial":"none")}}var _U,kU,xU,AU=((xU=function(){function e(t,n,i,r,o){A(this,e),this.signaturesService=t,this.notificationService=n,this.authService=i,this.localStorage=r,this.modalController=o,this.triggerEvent=new Fu,this.penColors=[{id:"#000000"},{id:"#1a75ff"},{id:"#FF0000"}],this.areaWidth=0,this.areaHeight=0,this.editMode=!0,this.originalSize=!0,this.loading=!0}return m(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.loading=!1},100)}},{key:"imageLoaded",value:function(e){this.getImageDimensions(!1)}},{key:"getImageDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.originalSize=t;var n=new Image;n.onload=function(i){e.areaWidth=i.target.naturalWidth,e.areaHeight=i.target.naturalHeight,t||e.getAreaDimension(),e.editMode&&setTimeout(function(){var t,i,r,o=$("#myBounds").offset();t=1===Math.sign(o.top)||e.precentScrollTop<=Math.abs(o.top)?e.precentScrollTop-o.top:-1===Math.sign(o.top)&&e.precentScrollTop<=-Math.sign(o.top)?2*(e.precentScrollTop-o.top):100*(e.precentScrollTop-o.top);var a=e.precentScrollLeft-o.left;i=e.precentScrollLeft-document.documentElement.offsetLeft,r=e.precentScrollTop-document.documentElement.offsetTop,i=i/e.areaWidth*100,r=r/e.areaHeight*100,document.getElementsByClassName("drag-scroll-content")[1].scrollTo(a,t),n.style.transform="translate(-"+i+"%,-"+r+"%) scale(2)",e.initPad()},200)},n.src=this.content}},{key:"getAreaDimension",value:function(){var e=100*this.mainContent.el.offsetWidth/this.areaWidth;this.areaWidth=e*this.areaWidth/100,this.areaHeight=e*this.areaHeight/100}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"initPad",value:function(){$("#myCanvas").sign({mode:this.authService.user.preferences.writingMode,lineWidth:this.authService.user.preferences.writingSize,changeColor:$(".radio"),undo:$(".undo"),height:this.areaHeight,width:this.areaWidth,fixHeight:56,fixWidth:0,mobileMode:this.signaturesService.mobileMode}),$("input[value='"+this.authService.user.preferences.writingColor+"']").trigger("click")}},{key:"validateAnnotation",value:function(){this.signaturesService.notesContent[this.signaturesService.currentPage]||(this.signaturesService.notesContent[this.signaturesService.currentPage]=[]),this.signaturesService.notesContent[this.signaturesService.currentPage].push({fullPath:this.canvas.nativeElement.toDataURL("image/png"),positionX:0,positionY:0,height:this.signaturesService.workingAreaHeight,width:this.signaturesService.workingAreaWidth}),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.modalController.dismiss(""),this.notificationService.success("lang.annotationAdded")}},{key:"undo",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||xU)(rs(DP),rs(wP),rs(MP),rs(OP),rs(hE))},xU.\u0275cmp=ft({type:xU,selectors:[["app-document-note-pad"]],viewQuery:function(e,t){var n;1&e&&(Qu(pU,1),Qu(gU,1),Qu(vU,1),Qu(mU,1,AM)),2&e&&(Zu(n=Ku())&&(t.mainContent=n.first),Zu(n=Ku())&&(t.canvas=n.first),Zu(n=Ku())&&(t.img=n.first),Zu(n=Ku())&&(t.ds=n.first))},inputs:{content:"content",precentScrollTop:"precentScrollTop",precentScrollLeft:"precentScrollLeft"},outputs:{triggerEvent:"triggerEvent"},decls:16,vars:11,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],[2,"text-align","center"],["color","danger","shape","round","fill","outline","size","large",3,"click"],[2,"font-size","13px"],["color","success","shape","round","fill","outline","size","large",2,"margin-left","50px",3,"click"],["mainContent",""],[1,"tool-content","tool-content-right"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"fa","fa-undo","fa-2x","undo",3,"click"],["vertical","top","horizontal","start","slot","fixed","activated",""],["close-icon","chevron-up"],["name","chevron-down"],["side","bottom"],[3,"color","title","click"],[3,"name"],[3,"title","click"],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto"],["nav",""],[2,"position","relative"],["myBounds",""],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],["id","myCanvas",2,"position","absolute","top","0px","left","0px"],["canvas",""],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ls(),ls(),ns(5,wU,27,27,"ion-content",2),ss(6,"ion-footer",3),ss(7,"div",4),ss(8,"ion-button",5),ms("click",function(){return t.dismissModal()}),ss(9,"ion-label",6),Qs(10),Du(11,"translate"),ls(),ls(),ss(12,"ion-button",7),ms("click",function(){return t.validateAnnotation()}),ss(13,"ion-label",6),Qs(14),Du(15,"translate"),ls(),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,5,"lang.annotateDocument")),xo(2),os("ngIf",!t.loading),xo(5),Xs(Ou(11,7,"lang.cancel")),xo(4),Xs(Ou(15,9,"lang.save")))},directives:[KC,MS,DS,mh,QC,LC,sS,WC,gh,qC,YC,JC,ZC,AM,$C,Dh],pipes:[mP],styles:[".tool-content[_ngcontent-%COMP%]{position:fixed}.fullscreen[_ngcontent-%COMP%]{--width:100%;--height:100%}.tool-content[_ngcontent-%COMP%]{z-index:1;display:flex;position:absolute;background:hsla(0,0%,50.2%,.30196078431372547);border-radius:20px;top:170px;transform:translateY(-50%) rotate(-90deg);padding:10px}.tool-content-left[_ngcontent-%COMP%]{left:-40px}.tool-content-right[_ngcontent-%COMP%]{right:-40px}.undo[_ngcontent-%COMP%]{cursor:pointer;transform:rotate(90deg);transition:all .2s}.undo[_ngcontent-%COMP%]:active{transform:rotate(90deg) scale(1.5)}.radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.radio[_ngcontent-%COMP%]:checked, .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.footer-buttons[_ngcontent-%COMP%]{display:grid;padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),xU),CU=((kU=function(){function e(t,n,i){A(this,e),this.http=t,this.signaturesService=n,this.router=i,this.currentIndex=0,this.offset=0,this.limit=10}return m(e,[{key:"resfreshDocuments",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.http.get("../rest/documents?limit="+(this.limit+this.offset)+"&offset=0&mode="+this.signaturesService.mode).subscribe(function(n){e.signaturesService.documentsList=n.documents,e.signaturesService.documentsListCount=n.count,t&&e.router.navigate(void 0!==e.signaturesService.documentsList[e.currentIndex]?["/documents/"+e.signaturesService.documentsList[e.currentIndex].id]:e.signaturesService.documentsList.length>0?["/documents/"+e.signaturesService.documentsList[0].id]:["/home"])})}}]),e}()).\u0275fac=function(e){return new(e||kU)(Ri(lb),Ri(DP),Ri(jk))},kU.\u0275prov=Re({token:kU,factory:kU.\u0275fac}),kU),SU=((_U=function(){function e(t,n,i,r){A(this,e),this.signaturesService=t,this.filtersService=n,this.authService=i,this.bottomSheetRef=r,this.date=new Date}return m(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.signaturesService.currentToobal="mainDocumentDetail",e.filtersService.resfreshDocuments(!0),e.bottomSheetRef.dismiss()},2e3)}}]),e}()).\u0275fac=function(e){return new(e||_U)(rs(DP),rs(CU),rs(MP),rs(UF))},_U.\u0275cmp=ft({type:_U,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"red",2,"text-align","center"],[1,"fa","fa-thumbs-down","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(ss(0,"div",0),ss(1,"h1"),us(2,"i",1),ls(),ss(3,"p"),Qs(4),Du(5,"translate"),ls(),ss(6,"p",2),Qs(7),ls(),ss(8,"p",3),Qs(9),Du(10,"translate"),Du(11,"date"),Du(12,"translate"),Du(13,"date"),ls(),ls()),2&e&&(xo(4),Xs(Ou(5,7,"lang.documentRefusedAs")),xo(3),Js("",t.authService.user.firstname," ",t.authService.user.lastname,""),xo(2),el("",Ou(10,9,"lang.onRange")," ",Mu(11,11,t.date,"dd/MM/yyyy")," ",Ou(12,14,"lang.atRange")," ",Mu(13,16,t.date,"HH:mm"),""))},pipes:[mP,Wh],styles:[""]}),_U),EU=["slides"];function PU(e,t){1&e&&(ss(0,"span",16),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks("(",Ou(2,1,"lang.mainDocument"),")"))}function DU(e,t){1&e&&(ss(0,"span",16),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks("(",Ou(2,1,"lang.attachment"),")"))}var OU=function(e){return{background:e}};function MU(e,t){if(1&e){var n=fs();ss(0,"ion-slide"),ss(1,"div",12),ss(2,"div",13),ms("click",function(){nn(n);var e=t.index;return ks(2).loadDoc(e)}),ls(),ss(3,"div",14),Qs(4),ns(5,PU,3,3,"span",15),ns(6,DU,3,3,"span",15),ls(),ls(),ls()}if(2&e){var i=t.$implicit,r=t.index,o=ks(2);xo(2),Fs("current",r==o.currentDocId),os("ngStyle",Au(6,OU,"url("+i.imgContent[1]+") no-repeat scroll center center / contain")),xo(2),Ks(" ",i.title,"\xa0"),xo(1),os("ngIf",0==r),xo(1),os("ngIf",r>0)}}function TU(e,t){if(1&e&&(ss(0,"ion-slides",9,10),ns(2,MU,7,8,"ion-slide",11),ls()),2&e){var n=ks();os("options",n.slideOpts),xo(2),os("ngForOf",n.docList)}}var IU,RU,LU,FU,BU,zU,VU=((RU=function(){function e(t,n,i,r){A(this,e),this.http=t,this.signaturesService=n,this.sanitizer=i,this.menu=r,this.triggerEvent=new Fu,this.loading=!0,this.scrolling=!1,this.slideOpts={initialSlide:0,speed:400,direction:"vertical"}}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.docList.forEach(function(t,n){void 0===t.imgContent[1]&&n>0&&e.http.get("../rest/attachments/"+t.id+"/thumbnails/1").subscribe(function(e){t.imgContent[1]="data:image/png;base64,"+e.fileContent})})}},{key:"ngAfterViewInit",value:function(){this.loading=!1}},{key:"loadDoc",value:function(e){this.triggerEvent.emit(e),this.menu.close("right-menu")}},{key:"scroll",value:function(e){var t=this;this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(function(){t.scrolling=!1},500))}}]),e}()).\u0275fac=function(e){return new(e||RU)(rs(lb),rs(DP),rs(Wf),rs(dE))},RU.\u0275cmp=ft({type:RU,selectors:[["app-document-list"]],viewQuery:function(e,t){var n;1&e&&Qu(EU,1),2&e&&Zu(n=Ku())&&(t.slides=n.first)},inputs:{docList:"docList",currentDocId:"currentDocId"},outputs:{triggerEvent:"triggerEvent"},decls:12,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","document-outline"],[1,"ion-text-center"],[1,"secondary"],[3,"wheel"],["pager","true",3,"options",4,"ngIf"],["pager","true",3,"options"],["slides",""],[4,"ngFor","ngForOf"],[2,"height","90%","width","100%","position","relative","padding","10px"],[2,"cursor","pointer","height","100%","width","100%","border-radius","4px","transition","box-shadow 280ms cubic-bezier(.4,0,.2,1)","border","solid 1px #E0E0E0",3,"ngStyle","click"],[1,"pjToolsContent"],["class","red",4,"ngIf"],[1,"red"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),ss(3,"ion-button",3),us(4,"ion-icon",4),ls(),ls(),ss(5,"ion-title",5),ss(6,"b",6),Qs(7),ls(),Qs(8),Du(9,"translate"),ls(),ls(),ls(),ss(10,"ion-content",7),ms("wheel",function(e){return t.scroll(e)}),ns(11,TU,3,2,"ion-slides",8),ls()),2&e&&(os("translucent",!0),xo(7),Xs(t.docList.length),xo(1),Ks("\xa0",Ou(9,4,"lang.attachedElements"),""),xo(3),os("ngIf",!t.loading))},directives:[KC,MS,FC,LC,JC,DS,WC,mh,SS,gh,CS,Dh],pipes:[mP],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.pjToolsContent[_ngcontent-%COMP%]{position:absolute;border:1px solid #e0e0e0;border-bottom-left-radius:5px;background:#fff;padding:10px;font-weight:600;color:#135f7f;font-size:14px;top:10px}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}"]}),RU),NU=((IU=function(){function e(t,n){A(this,e),this.translate=t,this.latinisePipe=n}return m(e,[{key:"empty",value:function(e){return null==e||!1===e||(Array.isArray(e)?!(e.length>0):""===String(e))}},{key:"isDate",value:function(e){return e instanceof Date&&!isNaN(e.valueOf())}},{key:"formatFrenchDateToTechnicalDate",value:function(e){if(this.empty(e))return e;var t=e.split("-");return(t=t.concat(t[t.length-1].split(" "))).splice(2,1),this.empty(t[3])&&(t[3]="00:00:00"),"".concat(t[2],"-").concat(t[1],"-").concat(t[0]," ").concat(t[3])}},{key:"formatFrenchDateToObjectDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(this.empty(e))return e;var n=e.split(t);return(n=n.concat(n[n.length-1].split(" "))).splice(2,1),this.empty(n[3])&&(n[3]="00:00:00"),new Date("".concat(n[2],"-").concat(n[1],"-").concat(n[0]," ").concat(n[3]))}},{key:"formatDateObjectToDateString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dd-mm-yyyy";if(null!==e){var i=[];n.split("-").forEach(function(t){if("dd"===t){var n=e.getDate();n=("00"+n).slice(-2),i.push(n)}else if("mm"===t){var r=e.getMonth()+1;r=("00"+r).slice(-2),i.push(r)}else if("yyyy"===t){var o=e.getFullYear();i.push(o)}});var r="";return t&&(r=" 23:59:59"),"".concat(i.join("-")).concat(r)}return e}},{key:"formatSerializedDateToDateString",value:function(e){return this.formatDateObjectToDateString(new Date(e))}},{key:"listSortingDataAccessor",value:function(e,t){return"string"==typeof e[t]?e[t].toLowerCase():e[t]}},{key:"filterUnSensitive",value:function(e,t,n){var i=this,r=!1;return t=this.latinisePipe.transform(t),n.forEach(function(n){var o=e[n];"string"!=typeof e[n]&&(o=void 0===o?"":JSON.stringify(o)),r=r||i.latinisePipe.transform(o.toLowerCase()).includes(t)}),r}},{key:"formatBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if("number"==typeof e){if(0===e)return"0 Octet";var n=1024,i=t<0?0:t,r=["Octets","KO","MO","GO","TO","PO","EO","ZO","YO"],o=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,o)).toFixed(i))+" "+r[o]}return e}}]),e}()).\u0275fac=function(e){return new(e||IU)(Ri(vP),Ri(KM))},IU.\u0275prov=Re({token:IU,factory:IU.\u0275fac,providedIn:"root"}),IU),HU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},jU=((LU=function(){function e(t,n,i,r,o,a){A(this,e),this.http=t,this.translate=n,this.notificationService=i,this.signaturesService=r,this.functionsService=o,this.alertController=a}return m(e,[{key:"sendDocument",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return new Promise(function(s){return HU(n,void 0,void 0,regeneratorRuntime.mark(function n(){var l,u=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(l={},!(this.signaturesService.currentAction>0)){n.next=17;break}if(null!==a){n.next=8;break}return n.next=5,this.getElementsFromDoc();case 5:n.t0=n.sent,n.next=9;break;case 8:n.t0=a;case 9:l.signatures=n.t0,null!==i&&((l=Object.assign(Object.assign({},l),i)).step="hashCertificate"),null!==t&&(l.note=t),null!==r&&(l.signatureLength=r),this.functionsService.empty(o)||(l.tmpUniqueId=o),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,l).pipe(uw(function(e){s(null===i||{hashDocument:e.dataToSign,signatureContentLength:e.signatureContentLength,signatureFieldName:e.signatureFieldName,tmpUniqueId:e.tmpUniqueId})}),Zb(function(e){return u.notificationService.handleErrors(e),s(403===e.status&&null),Ty(!1)})).subscribe(),n.next=18;break;case 17:s(!1);case 18:case"end":return n.stop()}},n,this)}))})}},{key:"getElementsFromDoc",value:function(){return HU(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e){return HU(t,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=[],i=regeneratorRuntime.mark(function e(t){var i,r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.signaturesService.datesContent[t]){e.next=11;break}i=0;case 2:if(!(i<o.signaturesService.datesContent[t].length)){e.next=11;break}return r=o.signaturesService.datesContent[t][i],e.next=6,o.getSvgContent(i);case 6:a=e.sent,n.push({encodedImage:a.replace("data:image/svg+xml;base64,",""),width:r.width,height:r.height,positionX:r.positionX,positionY:r.positionY,type:"SVG",page:t});case 8:i++,e.next=2;break;case 11:o.signaturesService.signaturesContent[t]&&o.signaturesService.signaturesContent[t].forEach(function(e){n.push({encodedImage:e.encodedSignature,width:e.width,positionX:e.positionX,positionY:e.positionY,type:"PNG",page:t})}),o.signaturesService.notesContent[t]&&o.signaturesService.notesContent[t].forEach(function(e){n.push({encodedImage:e.fullPath.replace("data:image/png;base64,",""),width:e.width,positionX:e.positionX,positionY:e.positionY,type:"PNG",page:t})});case 12:case"end":return e.stop()}},e)}),r=1;case 3:if(!(r<=this.signaturesService.totalPage)){t.next=8;break}return t.delegateYield(i(r),"t0",5);case 5:r++,t.next=3;break;case 8:e(n);case 9:case"end":return t.stop()}},t,this)}))}));case 1:case"end":return e.stop()}},e)}))}},{key:"getSvgContent",value:function(e){return new Promise(function(t){var n=document.getElementById("testSVG_"+e),i=(new XMLSerializer).serializeToString(n),r=new Blob([i],{type:"image/svg+xml"}),o=new FileReader;o.readAsDataURL(r),o.onloadend=function(){t(o.result)}})}},{key:"checkGroupMail",value:function(e,t){var n=this;return new Promise(function(i){return HU(n,void 0,void 0,regeneratorRuntime.mark(function n(){var r=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:this.functionsService.empty(e.mailingId)?i([this.signaturesService.mainDocumentId]):this.http.get("../rest/documents/".concat(this.signaturesService.mainDocumentId,"/linkedMailing")).pipe(uw(function(e){return HU(r,void 0,void 0,regeneratorRuntime.mark(function n(){var r,o=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e.documents.length>1)){n.next=8;break}return n.next=3,this.alertController.create({header:this.translate.instant("lang.mailing"),message:this.translate.instant("validate"===t?"lang.makeActionOnDocInMailGroup":"lang.refuseActionDocInMailGroup"),backdropDismiss:!1,buttons:[{text:this.translate.instant("lang.yes"),handler:function(){i(e.documents)}},{role:"cancel",text:this.translate.instant("lang.no"),cssClass:"secondary",handler:function(){i([o.signaturesService.mainDocumentId])}}]});case 3:return r=n.sent,n.next=6,r.present();case 6:n.next=9;break;case 8:i([this.signaturesService.mainDocumentId]);case 9:case"end":return n.stop()}},n,this)}))}),Zb(function(e){return r.notificationService.handleErrors(e),i([]),Ty(!1)})).subscribe();case 1:case"end":return n.stop()}},n,this)}))})}}]),e}()).\u0275fac=function(e){return new(e||LU)(Ri(lb),Ri(vP),Ri(wP),Ri(DP),Ri(NU),Ri(uE))},LU.\u0275prov=Re({token:LU,factory:LU.\u0275fac,providedIn:"root"}),LU),UU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},WU=((FU=function(){function e(t,n,i,r,o,a,s,l,u){A(this,e),this.modalController=t,this.http=n,this.translate=i,this.notificationService=r,this.loadingController=o,this.signaturesService=a,this.actionsService=s,this.functionsService=l,this.authService=u,this.filters={expired:!1,keyUsage:[],onlyWithPrivateKey:!0},this.provider=null,this.cert=null,this.certPem=null,this.privateKey=null,this.signatures=[],this.signatureLength=null,this.server=null}return m(e,[{key:"ngOnInit",value:function(){return UU(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.authService.signatureRoles.filter(function(e){return e.id===n.signatureMode})[0],this.functionsService.empty(t.issuer)||(this.filters.issuerDNMatch=new RegExp(t.issuer,"i")),this.functionsService.empty(t.subject)||(this.filters.subjectDNMatch=new RegExp(t.subject,"i")),this.functionsService.empty(t.keyUsage)||this.filters.keyUsage.push(t.keyUsage);case 2:case"end":return e.stop()}},e,this)}))}},{key:"certificateChosen",value:function(e){return UU(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return UU(n,void 0,void 0,regeneratorRuntime.mark(function n(){var i,r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.present(),n.prev=1,this.server=e.detail.server,this.checkWebsocketSession(),n.next=6,e.detail.server.getCrypto(e.detail.providerId);case 6:return this.provider=n.sent,this.checkWebsocketSession(),n.next=10,this.provider.certStorage.getItem(e.detail.certificateId);case 10:return this.cert=n.sent,this.checkWebsocketSession(),n.next=14,this.provider.certStorage.exportCert("pem",this.cert);case 14:return this.certPem=n.sent,this.checkWebsocketSession(),n.next=18,this.provider.keyStorage.getItem(e.detail.privateKeyId);case 18:this.privateKey=n.sent,n.next=24;break;case 21:return n.prev=21,n.t0=n.catch(1),n.abrupt("return",(this.notificationService.error(n.t0),t.dismiss(),void this.modalController.dismiss(!1)));case 24:this.certificate={certificate:this.certPem},i=!1,r=0;case 27:if(!(r<this.idsToProcess.length)){n.next=37;break}return n.next=30,this.actionsService.getElementsFromDoc();case 30:return this.signatures=n.sent,n.next=33,this.sendAndSign(this.idsToProcess[r]);case 33:i=n.sent;case 34:r++,n.next=27;break;case 37:t.dismiss(),this.modalController.dismiss(i);case 38:case"end":return n.stop()}},n,this,[[1,21]])}))});case 1:case"end":return t.stop()}},t,this)}))}},{key:"checkWebsocketSession",value:function(){return UU(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.server.client.state===WebSocket.OPEN){e.next=7;break}return e.next=3,this.server.connect();case 3:return e.next=5,new Promise(function(e){return setTimeout(e,150)});case 5:e.next=0;break;case 7:case"end":return e.stop()}},e,this)}))}},{key:"sendAndSign",value:function(e){return UU(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!1,i={};case 1:if(n){t.next=21;break}r=!1;case 3:if(!1!==r){t.next=19;break}return t.next=6,this.fusionStampAndGenerateSignature(e,i.tmpUniqueId);case 6:if(null!==(i=t.sent)){t.next=9;break}return t.abrupt("return",!1);case 9:if(!1!==i){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,this.signDocument(e,i.hashDocument,i.signatureContentLength,i.signatureFieldName,i.tmpUniqueId);case 13:if(!0===(r=t.sent)){t.next=16;break}return t.abrupt("return",!1);case 16:this.signatures.shift(),n=0===this.signatures.length;case 17:t.next=3;break;case 19:t.next=1;break;case 21:return t.abrupt("return",n);case 22:case"end":return t.stop()}},t,this)}))}},{key:"fusionStampAndGenerateSignature",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return UU(this,void 0,void 0,regeneratorRuntime.mark(function n(){var i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i={},n.next=3,this.actionsService.sendDocument(e,null,this.certificate,this.signatureLength,t,this.signatures);case 3:return i=n.sent,n.abrupt("return",i);case 5:case"end":return n.stop()}},n,this)}))}},{key:"signDocument",value:function(e,t,n,i,r){var o=this;return new Promise(function(a){return UU(o,void 0,void 0,regeneratorRuntime.mark(function o(){var s,l,u,c,d,h,f=this;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return s={name:this.privateKey.algorithm.name,hash:"SHA-256"},l=this.fromHex(t),o.prev=1,this.checkWebsocketSession(),o.next=5,this.provider.subtle.sign(s,this.privateKey,l);case 5:u=o.sent,o.next=11;break;case 8:return o.prev=8,o.t0=o.catch(1),o.abrupt("return",(this.notificationService.error(o.t0),a(!1),Ty(!1)));case 11:c={note:this.note},d={signatures:this.signatures,certificate:this.certPem,hashSignature:this.toHex(u),signatureContentLength:n,signatureFieldName:i,tmpUniqueId:r},h=Object.assign(Object.assign({},c),d),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,h).pipe(uw(function(){a(!0)}),Zb(function(e){return void 0!==e.error.newSignatureLength?(f.signatureLength=e.error.newSignatureLength,a(!1)):(f.notificationService.handleErrors(e),a("error")),Ty(!1)})).subscribe();case 13:case"end":return o.stop()}},o,this,[[1,8]])}))})}},{key:"cancelSign",value:function(){this.modalController.dismiss(!1)}},{key:"toHex",value:function(e){for(var t=new Uint8Array(e),n=[],i=t.length,r=0;r<i;r++){var o=t[r].toString(16);n.push(1===o.length?"0"+o:o)}return n.join("")}},{key:"fromHex",value:function(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length;n+=2){var i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}}]),e}()).\u0275fac=function(e){return new(e||FU)(rs(hE),rs(lb),rs(vP),rs(wP),rs(cE),rs(DP),rs(jU),rs(NU),rs(MP))},FU.\u0275cmp=ft({type:FU,selectors:[["signature-method-modal"]],inputs:{note:"note",signatureMode:"signatureMode",idsToProcess:"idsToProcess"},decls:2,vars:1,consts:[["language","fr","hide-footer","",2,"height","100%","width","100%",3,"filters","continue","cancel"]],template:function(e,t){1&e&&(ss(0,"ion-content"),ss(1,"peculiar-fortify-certificates",0),ms("continue",function(e){return t.certificateChosen(e)})("cancel",function(){return t.cancelSign()}),ls(),ls()),2&e&&(xo(1),os("filters",t.filters))},directives:[WC],styles:[".content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:30px!important;height:100%;flex-direction:column}.content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:130px;color:var(--ion-color-primary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)!important}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)!important}@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:bounce;animation-name:bounce;transform-origin:center bottom;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}"]}),FU),GU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},qU=((zU=function(){function e(t,n,i,r,o,a,s){A(this,e),this.http=t,this.modalController=n,this.actionsService=i,this.loadingController=r,this.translate=o,this.authService=a,this.notificationService=s}return m(e,[{key:"checkAuthenticationAndLaunchAction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return GU(this,void 0,void 0,regeneratorRuntime.mark(function i(){return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!(["rgs_2stars","rgs_2stars_timestamped","inca_card","inca_card_eidas"].indexOf(e.signatureMode)>-1)){i.next=13;break}if(0===this.authService.coreUrl.indexOf("https://")){i.next=7;break}return i.next=4,this.notificationService.error("lang.securedUrlNeeded");case 4:i.t1=null,i.next=10;break;case 7:return i.next=9,this.openRgsAuth(t,e.signatureMode,n);case 9:i.t1=i.sent;case 10:i.t0=i.t1,i.next=16;break;case 13:return i.next=15,this.launchDefaultMode(t,n);case 15:i.t0=i.sent;case 16:return i.abrupt("return",i.t0);case 17:case"end":return i.stop()}},i,this)}))}},{key:"launchDefaultMode",value:function(e,t){return GU(this,void 0,void 0,regeneratorRuntime.mark(function n(){var i=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(n){return GU(i,void 0,void 0,regeneratorRuntime.mark(function i(){var r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.loadingController.create({message:this.translate.instant("lang.loadingValidation"),spinner:"dots"});case 2:(r=i.sent).present(),o=!0,a=0;case 6:if(!(a<t.length)){i.next=13;break}return i.next=9,this.actionsService.sendDocument(t[a],e);case 9:o=i.sent;case 10:a++,i.next=6;break;case 13:r.dismiss(),n(o);case 14:case"end":return i.stop()}},i,this)}))}));case 1:case"end":return n.stop()}},n)}))}},{key:"openRgsAuth",value:function(e,t,n){return GU(this,void 0,void 0,regeneratorRuntime.mark(function i(){var r=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",new Promise(function(i){return GU(r,void 0,void 0,regeneratorRuntime.mark(function r(){var o,a,s;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.modalController.create({component:WU,componentProps:{note:e,signatureMode:t,idsToProcess:n}});case 2:return o=r.sent,r.next=5,o.present();case 5:return r.next=7,o.onWillDismiss();case 7:a=r.sent,s=a.data,i(s);case 10:case"end":return r.stop()}},r,this)}))}));case 1:case"end":return i.stop()}},i)}))}}]),e}()).\u0275fac=function(e){return new(e||zU)(Ri(lb),Ri(hE),Ri(jU),Ri(cE),Ri(vP),Ri(MP),Ri(wP))},zU.\u0275prov=Re({token:zU,factory:zU.\u0275fac,providedIn:"root"}),zU),YU=((BU=function(){function e(t,n,i,r){A(this,e),this.signaturesService=t,this.filtersService=n,this.authService=i,this.bottomSheetRef=r,this.date=new Date}return m(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.signaturesService.currentToobal="mainDocumentDetail",e.filtersService.resfreshDocuments(!0),e.bottomSheetRef.dismiss()},2e3)}}]),e}()).\u0275fac=function(e){return new(e||BU)(rs(DP),rs(CU),rs(MP),rs(UF))},BU.\u0275cmp=ft({type:BU,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"green",2,"text-align","center"],[1,"fa","fa-thumbs-up","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(ss(0,"div",0),ss(1,"h1"),us(2,"i",1),ls(),ss(3,"p"),Qs(4),Du(5,"translate"),ls(),ss(6,"p",2),Qs(7),ls(),ss(8,"p",3),Qs(9),Du(10,"translate"),Du(11,"date"),Du(12,"translate"),Du(13,"date"),ls(),ls()),2&e&&(xo(4),Xs(Ou(5,7,"lang.documentValidateAs")),xo(3),Js("",t.authService.user.firstname," ",t.authService.user.lastname,""),xo(2),el("",Ou(10,9,"lang.onRange")," ",Mu(11,11,t.date,"dd/MM/yyyy")," ",Ou(12,14,"lang.atRange")," ",Mu(13,16,t.date,"HH:mm"),""))},pipes:[mP,Wh],styles:[""]}),BU);function ZU(e,t){if(1&e&&(cs(0),ss(1,"div",1),us(2,"img",2),ls(),ds()),2&e){var n=t.$implicit,i=ks();xo(1),Ls("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),xo(1),Ls("width",100,"%"),os("src",i.sanitization.bypassSecurityTrustUrl(n.fullPath),Cr)}}var QU,XU=((QU=function(){function e(t,n,i){A(this,e),this.translate=t,this.sanitization=n,this.signaturesService=i}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||QU)(rs(vP),rs(Wf),rs(DP))},QU.\u0275cmp=ft({type:QU,selectors:[["app-document-note-list"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[2,"top","0","left","0","position","absolute"],[3,"src"]],template:function(e,t){1&e&&ns(0,ZU,3,7,"ng-container",0),2&e&&os("ngForOf",t.signaturesService.notesContent[t.signaturesService.currentPage])},directives:[gh],encapsulation:2}),QU),KU=["menuTrigger"],JU=["test"],$U=function(e,t){return{x:e,y:t}};function eW(e,t){if(1&e){var n=fs();ss(0,"div",1,2),ms("rzResizing",function(e){nn(n);var i=t.index;return ks().onResizing(e,i)})("rzStart",function(){return nn(n),ks().signaturesService.resizing=!0})("movingOffset",function(){return nn(n),ks().signaturesService.dragging=!0})("endOffset",function(e){nn(n);var i=t.index;return ks().moveSign(e,i)})("rzStop",function(e){nn(n);var i=t.index,r=ks();return r.onResizeStop(e,i),r.signaturesService.resizing=!1}),ss(2,"ion-item",3),ss(3,"ion-select",4),ms("click",function(e){return e.stopPropagation()})("ionChange",function(e){nn(n);var i=t.index;return ks().select(e,i)}),ss(4,"ion-select-option",5),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-select-option",6),Qs(8),Du(9,"translate"),ls(),ls(),ls(),us(10,"img",7),ls()}if(2&e){var i=t.$implicit,r=ks();Ls("width",i.width,"%")("height",r.fix),os("position",Cu(20,$U,i.positionX*r.signaturesService.workingAreaWidth/100,i.positionY*r.signaturesService.workingAreaHeight/100))("ngDraggable",!r.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",r.bounds)("inBounds",!0),xo(5),Ks("",Ou(6,16,"lang.delete")," "),xo(2),os("disabled",i.inAllPage),xo(1),Ks(" ",Ou(9,18,"lang.replicate"),""),xo(2),Ls("width",100,"%"),os("src",r.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Cr)}}var tW,nW=((tW=function(){function e(t,n,i,r,o,a,s,l){A(this,e),this.translate=t,this.sanitization=n,this.signaturesService=i,this.notificationService=r,this.localStorage=o,this.dialog=a,this.popoverController=s,this.modalController=l,this.fix="auto",this.today=new Date}return m(e,[{key:"ngOnInit",value:function(){}},{key:"select",value:function(e,t){this[e.detail.value](t)}},{key:"moveSign",value:function(e,t){var n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}},{key:"onResizing",value:function(e,t){this.test.nativeElement.style.height="auto"}},{key:"onResizeStop",value:function(e,t){this.test.nativeElement.style.height="auto",this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}},{key:"cloneSign",value:function(e){var t=this;this.dialog.open(AH,{autoFocus:!1,width:"450px",data:{title:"lang.wantSignOtherPage",msg:""}}).afterClosed().subscribe(function(n){if("yes"===n){t.signaturesService.signaturesContent[t.signaturesService.currentPage][e].inAllPage=!0,t.signaturesService.signaturesContent[t.signaturesService.currentPage][e].token=Math.random().toString(36).substr(2,9);for(var i=1;i<=t.signaturesService.totalPage;i++)t.signaturesService.signaturesContent[i]||(t.signaturesService.signaturesContent[i]=[]),i!==t.signaturesService.currentPage&&t.signaturesService.signaturesContent[i].push(JSON.parse(JSON.stringify(t.signaturesService.signaturesContent[t.signaturesService.currentPage][e])));t.localStorage.save(t.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:t.signaturesService.signaturesContent,note:t.signaturesService.notesContent}))}}),this.menuSign.closeMenu()}},{key:"deleteSignature",value:function(e){if(!0===this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage){var t=this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token;if(confirm(this.translate.instant("lang.wantDeleteSignatureOtherPage")))for(var n=1;n<=this.signaturesService.totalPage;n++){this.signaturesService.signaturesContent[n]||(this.signaturesService.signaturesContent[n]=[]);for(var i=0;i<=this.signaturesService.signaturesContent[n].length;i++)this.signaturesService.signaturesContent[n][i]&&t===this.signaturesService.signaturesContent[n][i].token&&this.signaturesService.signaturesContent[n].splice(i,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1);this.emptySigns()&&(this.signaturesService.signaturesContent=[]),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"emptySigns",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}}]),e}()).\u0275fac=function(e){return new(e||tW)(rs(vP),rs(Wf),rs(DP),rs(wP),rs(OP),rs(CB),rs(fE),rs(hE))},tW.\u0275cmp=ft({type:tW,selectors:[["app-document-sign-list"]],viewQuery:function(e,t){var n;1&e&&(Qu(KU,1),Qu(JU,1)),2&e&&(Zu(n=Ku())&&(t.menuSign=n.first),Zu(n=Ku())&&(t.test=n.first))},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["ngResizable","","style","position:absolute;border: dashed 1px grey;background: rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%;",3,"position","width","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","height","rzResizing","rzStart","movingOffset","endOffset","rzStop",4,"ngFor","ngForOf"],["ngResizable","",2,"position","absolute","border","dashed 1px grey","background","rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%",3,"position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop"],["test",""],[2,"position","absolute","--background","none","right","0","--border-width","0"],["selectedText"," ","value","","interface","popover",3,"click","ionChange"],["value","deleteSignature",1,"action-item"],["value","cloneSign",1,"action-item",3,"disabled"],[1,"img-content",3,"src"]],template:function(e,t){1&e&&ns(0,eW,11,23,"div",0),2&e&&os("ngForOf",t.signaturesService.signaturesContent[t.signaturesService.currentPage])},directives:[gh,MM,PM,iS,xS,tA,AS],pipes:[mP],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}"]}),tW);function iW(e,t){if(1&e&&(ss(0,"ion-select-option",19),Qs(1),Du(2,"date"),Du(3,"translate"),ls()),2&e){var n=t.$implicit,i=ks();os("value",n),xo(1),Ks(" ",Iu(2,2,i.today,n,void 0,Ou(3,7,"lang.langISO"))," ")}}function rW(e,t){if(1&e&&(ss(0,"ion-select-option",19),Qs(1),ls()),2&e){var n=t.$implicit;Bs(ks().getFontLabel(n)),os("value",n),xo(1),Ks(" ",n," ")}}var oW,aW=function(){return{cssClass:"selectFormat"}},sW=((oW=function(){function e(t){A(this,e),this.modalController=t,this.today=new Date,this.dateformats=["dd/MM/y","dd-MM-y","dd.MM.y","d MMM y","d MMMM y"],this.datefonts=["Arial","Verdana","Helvetica","Tahoma","Times New Roman","Courier New"],this.size={Arial:15,Verdana:13,Helvetica:13,Tahoma:13,"Times New Roman":15,"Courier New":13}}return m(e,[{key:"ngOnInit",value:function(){this.date=JSON.parse(JSON.stringify(this.currentDate))}},{key:"dismissModal",value:function(){this.modalController.dismiss()}},{key:"getFontLabel",value:function(e){return e.replace(" ","_")}},{key:"onSubmit",value:function(){this.modalController.dismiss(this.date)}},{key:"select",value:function(e){this.date.size=this.size[e]}}]),e}()).\u0275fac=function(e){return new(e||oW)(rs(hE))},oW.\u0275cmp=ft({type:oW,selectors:[["ng-component"]],inputs:{currentDate:"currentDate"},decls:45,vars:43,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[2,"text-align","center","font-weight","normal","font-size","50px","padding","50px"],["color","secondary"],["interface","popover",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["button","","lines","full",3,"click"],["type","color",2,"display","none",3,"ngModel","ngModelChange"],["colorPicker",""],["slot","end","name","ellipse"],[3,"ngModel","interfaceOptions","cancelText","ngModelChange","ionChange"],[3,"value","class",4,"ngFor","ngForOf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"click"],["type","button",3,"click"],[3,"value"]],template:function(e,t){if(1&e){var n=fs();ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ss(5,"ion-buttons",2),ss(6,"ion-button",3),ms("click",function(){return t.dismissModal()}),us(7,"ion-icon",4),ls(),ls(),ls(),ls(),ss(8,"ion-content"),ss(9,"ion-toolbar"),ss(10,"ion-title",5),Qs(11),Du(12,"date"),Du(13,"translate"),ls(),ls(),ss(14,"ion-item"),ss(15,"ion-label",6),Qs(16),Du(17,"translate"),ls(),ss(18,"ion-select",7),ms("ngModelChange",function(e){return t.date.format=e}),ns(19,iW,4,9,"ion-select-option",8),ls(),ls(),ss(20,"ion-item",9),ms("click",function(){return nn(n),is(22).click()}),ss(21,"input",10,11),ms("ngModelChange",function(e){return t.date.color=e}),ls(),ss(23,"ion-label",6),Qs(24),Du(25,"translate"),ls(),us(26,"ion-icon",12),ls(),ss(27,"ion-item"),ss(28,"ion-label",6),Qs(29),Du(30,"translate"),ls(),ss(31,"ion-select",13),ms("ngModelChange",function(e){return t.date.font=e})("ionChange",function(e){return t.select(e.detail.value)}),Du(32,"translate"),ns(33,rW,2,4,"ion-select-option",14),ls(),ls(),ls(),ss(34,"ion-footer",15),ss(35,"ion-toolbar"),ss(36,"ion-buttons",16),ss(37,"ion-button",17),ms("click",function(){return t.onSubmit()}),ss(38,"ion-label"),Qs(39),Du(40,"translate"),ls(),ls(),ss(41,"ion-button",18),ms("click",function(){return t.dismissModal()}),ss(42,"ion-label"),Qs(43),Du(44,"translate"),ls(),ls(),ls(),ls(),ls()}2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,21,"lang.options")),xo(7),Bs(t.getFontLabel(t.date.font)),Ls("color",t.date.color),xo(1),Xs(Iu(12,23,t.today,t.date.format,void 0,Ou(13,28,"lang.langISO"))),xo(5),Xs(Ou(17,30,"lang.format")),xo(2),os("ngModel",t.date.format),xo(1),os("ngForOf",t.dateformats),xo(2),os("ngModel",t.date.color),xo(3),Xs(Ou(25,32,"lang.color")),xo(2),Ls("color",t.date.color),xo(3),Xs(Ou(30,34,"lang.font")),xo(2),os("ngModel",t.date.font)("interfaceOptions",xu(42,aW))("cancelText",Ou(32,36,"lang.cancel")),xo(2),os("ngForOf",t.datefonts),xo(6),Xs(Ou(40,38,"lang.save")),xo(4),Xs(Ou(44,40,"lang.cancel")))},directives:[KC,MS,DS,FC,LC,JC,WC,iS,sS,xS,tA,hm,Ym,gh,Rv,QC,AS],pipes:[mP,Wh],styles:[".Arial{font-family:Arial,sans-serif} .Verdana{font-family:Verdana,sans-serif} .Helvetica{font-family:Helvetica,sans-serif} .Tahoma{font-family:Tahoma,sans-serif} .Times_New_Roman{font-family:Times New Roman,serif} .Courier_New{font-family:Courier New,monospace}"]}),oW),lW=["menuTrigger"],uW=["test2"],cW=function(e,t){return{x:e,y:t}};function dW(e,t){if(1&e){var n=fs();ss(0,"div",1,2),ms("rzResizing",function(e){nn(n);var i=t.index;return ks().onResizingDate(e,i)})("rzStart",function(){return nn(n),ks().signaturesService.resizing=!0})("movingOffset",function(){return nn(n),ks().signaturesService.dragging=!0})("endOffset",function(e){nn(n);var i=t.index;return ks().moveDate(e,i)})("rzStop",function(e){nn(n);var i=t.index,r=ks();return r.onResizeDateStop(e,i),r.signaturesService.resizing=!1})("click",function(e){return e.stopPropagation()}),ss(2,"ion-buttons",3),ss(3,"ion-button",4),us(4,"ion-icon",5),ls(),ls(),ss(5,"mat-menu",null,6),ss(7,"button",7),ms("click",function(){nn(n);var e=t.index;return ks().openDateSettings(e)}),Qs(8),Du(9,"translate"),ls(),ss(10,"button",7),ms("click",function(){nn(n);var e=t.index;return ks().deleteDate(e)}),Qs(11),Du(12,"translate"),ls(),ls(),On(),ss(13,"svg",8),ss(14,"text",9),Qs(15),Du(16,"date"),Du(17,"translate"),ls(),ls(),ls()}if(2&e){var i=t.$implicit,r=t.index,o=is(6),a=ks();Ls("width",i.width,"%")("height",i.height,"%")("height",a.fix),os("id","dateDiv_"+r)("position",Cu(34,cW,i.positionX*a.signaturesService.workingAreaWidth/100,i.positionY*a.signaturesService.workingAreaHeight/100))("ngDraggable",!a.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",a.bounds)("inBounds",!0),xo(3),os("matMenuTriggerFor",o),xo(5),Xs(Ou(9,23,"lang.options")),xo(3),Xs(Ou(12,25,"lang.delete")),xo(2),os("id","testSVG_"+r),xo(1),Ls("font-family",i.font)("fill",i.color),$a("font-size",i.size),xo(1),Xs(Iu(16,27,a.today,i.format,void 0,Ou(17,32,"lang.langISO")))}}var hW,fW=((hW=function(){function e(t,n,i,r,o,a,s){A(this,e),this.translate=t,this.signaturesService=n,this.notificationService=i,this.localStorage=r,this.dialog=o,this.popoverController=a,this.modalController=s,this.fix="auto",this.today=new Date}return m(e,[{key:"ngOnInit",value:function(){}},{key:"moveDate",value:function(e,t){var n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}},{key:"onResizingDate",value:function(e,t){this.test2.nativeElement.style.height="auto"}},{key:"onResizeDateStop",value:function(e,t){this.test2.nativeElement.style.height="auto",this.signaturesService.datesContent[this.signaturesService.currentPage][t].height=100*e.size.height/this.signaturesService.workingAreaHeight,this.signaturesService.datesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}},{key:"deleteDate",value:function(e){this.signaturesService.datesContent[this.signaturesService.currentPage].splice(e,1),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"openDateSettings",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n,i,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.modalController.create({component:sW,componentProps:{currentDate:this.signaturesService.datesContent[this.signaturesService.currentPage][e]}});case 2:return n=t.sent,t.next=5,n.present();case 5:return t.next=7,n.onWillDismiss();case 7:i=t.sent,void 0!==(r=i.data)&&(this.signaturesService.datesContent[this.signaturesService.currentPage][e]=r);case 10:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||hW)(rs(vP),rs(DP),rs(wP),rs(OP),rs(CB),rs(fE),rs(hE))},hW.\u0275cmp=ft({type:hW,selectors:[["app-document-date-list"]],viewQuery:function(e,t){var n;1&e&&(Qu(lW,1),Qu(uW,1)),2&e&&(Zu(n=Ku())&&(t.menuSign=n.first),Zu(n=Ku())&&(t.test2=n.first))},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["class","test","ngResizable","",3,"id","position","width","height","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click",4,"ngFor","ngForOf"],["ngResizable","",1,"test",3,"id","position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click"],["test2",""],[2,"position","absolute","top","-30px","right","0px"],["slot","icon-only","shape","round","color","secondary",3,"matMenuTriggerFor"],["name","ellipsis-vertical"],["menu","matMenu"],["mat-menu-item","",3,"click"],["viewBox","0 0 130 30","preserveAspectRatio","xMinYMin meet",3,"id"],["y","21"]],template:function(e,t){1&e&&ns(0,dW,18,37,"div",0),2&e&&os("ngForOf",t.signaturesService.datesContent[t.signaturesService.currentPage])},directives:[gh,MM,PM,FC,LC,oN,JC,tN,KV],pipes:[mP,Wh],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}svg.text[_ngcontent-%COMP%]{display:block;font-size:inherit}"]}),hW),pW=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function gW(e,t){if(1&e){var n=fs();ss(0,"ion-item",6),ms("click",function(){nn(n);var e=t.$implicit;return ks().loadVisaWorkflow(e)}),ss(1,"ion-label"),Qs(2),ls(),ss(3,"ion-buttons",7),ss(4,"ion-button",8),ms("click",function(e){nn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.removeModel(i)}),us(5,"ion-icon",9),ls(),ls(),ls()}if(2&e){var i=t.$implicit;xo(2),Xs(i.title)}}var vW,mW=((vW=function(){function e(t,n,i,r,o,a){A(this,e),this.http=t,this.translate=n,this.popoverController=i,this.alertController=r,this.notificationService=o,this.authService=a,this.currentWorkflow=[],this.visaWorkflowModels=[]}return m(e,[{key:"ngOnInit",value:function(){this.getVisaUserModels()}},{key:"createModel",value:function(){return pW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.newTemplate"),message:this.translate.instant("lang.newTemplateDesc"),inputs:[{name:"title",type:"text",placeholder:this.translate.instant("lang.label")+" *"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(e){return""!==e.title?(n.saveModel(e.title),!0):(n.notificationService.error(n.translate.instant("lang.label")+" "+n.translate.instant("lang.mandatory")),!1)}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"saveModel",value:function(e){var t=this,n={title:e,items:this.currentWorkflow.map(function(e){return{userId:e.userId,mode:t.authService.getWorkflowMode(e.role),signatureMode:t.authService.getSignatureMode(e.role)}})};this.http.post("../rest/workflowTemplates",n).pipe(uw(function(n){t.notificationService.success("lang.modelCreated"),t.visaWorkflowModels.push({id:n.id,title:e})}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}},{key:"removeModel",value:function(e){return pW(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.delete"),message:this.translate.instant("lang.deleteTemplate"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/workflowTemplates/"+e.id).pipe(uw(function(){i.visaWorkflowModels=i.visaWorkflowModels.filter(function(t){return t.id!==e.id}),i.notificationService.success("Mod\xe8le ".concat(e.title," supprim\xe9"))}),Zb(function(e){return i.notificationService.handleErrors(e),Ty(!1)})).subscribe()}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}))}},{key:"getVisaUserModels",value:function(){var e=this;this.http.get("../rest/workflowTemplates").pipe(uw(function(t){e.visaWorkflowModels=t.workflowTemplates}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}},{key:"loadVisaWorkflow",value:function(e){var t=this;this.http.get("../rest/workflowTemplates/"+e.id).pipe(uw(function(e){var n=e.workflowTemplate.items.map(function(e){return{userId:e.userId,userDisplay:e.userLabel,role:"visa"===e.mode?"visa":e.signatureMode,processDate:null,current:!1,modes:["visa"].concat(e.userSignatureModes)}});t.popoverController.dismiss(n)}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||vW)(rs(lb),rs(vP),rs(fE),rs(uE),rs(wP),rs(MP))},vW.\u0275cmp=ft({type:vW,selectors:[["app-visa-workflow-models"]],inputs:{currentWorkflow:"currentWorkflow"},decls:11,vars:8,consts:[["lines","none"],["color","secondary"],["button","",3,"click",4,"ngFor","ngForOf"],["button","",3,"disabled","click"],["color","primary","slot","start","name","add-circle-outline"],["color","primary"],["button","",3,"click"],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(ss(0,"ion-list",0),ss(1,"ion-list-header"),ss(2,"ion-label",1),Qs(3),Du(4,"translate"),ls(),ls(),ns(5,gW,6,1,"ion-item",2),ss(6,"ion-item",3),ms("click",function(){return t.createModel()}),us(7,"ion-icon",4),ss(8,"ion-label",5),Qs(9),Du(10,"translate"),ls(),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,4,"lang.circuitModels")),xo(2),os("ngForOf",t.visaWorkflowModels),xo(1),os("disabled",0===t.currentWorkflow.length),xo(3),Xs(Ou(10,6,"lang.newTemplate")))},directives:[lS,uS,sS,gh,iS,JC,FC,LC],pipes:[mP],styles:[""]}),vW);function yW(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-checkbox",19),ms("ionChange",function(e){nn(n),ks(2);var t=is(3);return ks().addUser(e.detail.value,t)}),ls(),ss(2,"ion-label"),Qs(3),ls(),ss(4,"ion-note",13),Qs(5),ls(),ls()}if(2&e){var i=t.$implicit;xo(1),os("value",i),xo(2),Js("",i.firstname," ",i.lastname,""),xo(2),Xs(i.email)}}function bW(e,t){if(1&e&&(ss(0,"ion-list",17),ns(1,yW,6,4,"ion-item",18),ls()),2&e){var n=ks(2);xo(1),os("ngForOf",n.visaUsersList)}}function wW(e,t){if(1&e){var n=fs();cs(0),ss(1,"ion-item",10),ss(2,"ion-searchbar",11,12),ms("ngModelChange",function(e){return nn(n),ks().visaUsersSearchVal=e})("ionChange",function(e){return nn(n),ks().getVisaUsers(e)})("ionFocus",function(){return nn(n),ks().visaUsersSearchVal=""}),Du(4,"translate"),ls(),ss(5,"ion-buttons",13),ss(6,"ion-button",14),ms("click",function(e){return nn(n),ks().openVisaWorkflowModels(e)}),Du(7,"translate"),us(8,"ion-icon",15),ls(),ls(),ls(),ns(9,bW,2,1,"ion-list",16),ds()}if(2&e){var i=ks();xo(2),os("ngModel",i.visaUsersSearchVal)("placeholder",Ou(4,4,"lang.searchUser")),xo(4),os("title",Ou(7,6,"lang.circuitModels")),xo(3),os("ngIf",i.visaUsersList.length>0)}}function _W(e,t){1&e&&(ss(0,"ion-list"),ss(1,"ion-item",10),ss(2,"ion-label",20),Qs(3),Du(4,"translate"),ls(),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.noUserInWorkflow")))}function kW(e,t){1&e&&(ss(0,"p",31),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.substituteMsg"),""))}function xW(e,t){if(1&e&&(ss(0,"h2",32),Qs(1),ls()),2&e){var n=ks().$implicit;os("title",n.userDisplay),xo(1),Xs(n.userDisplay)}}function AW(e,t){1&e&&(ss(0,"h2",33),Qs(1),Du(2,"translate"),ls()),2&e&&(os("title",ks().$implicit.userDisplay),xo(1),Ks(" ",Ou(2,2,"lang.userDeleted"),""))}function CW(e,t){if(1&e&&(ss(0,"ion-select-option",37),Qs(1),Du(2,"translate"),ls()),2&e){var n=t.$implicit,i=ks(2),r=i.index,o=i.$implicit,a=ks();os("value",n)("disabled",!a.isValidRole(r,n,o.role)),xo(1),Ks(" ",Ou(2,3,"lang."+n+"User")," ")}}function SW(e,t){if(1&e){var n=fs();ss(0,"p",34),ss(1,"ion-select",35),ms("ngModelChange",function(e){return nn(n),ks().$implicit.role=e}),Du(2,"translate"),ns(3,CW,3,5,"ion-select-option",36),ls(),ls()}if(2&e){var i,r=ks().$implicit,o=ks();xo(1),Ls("color",null==(i=o.getRole(r.role))?null:i.color),os("ngModel",r.role)("title",Ou(2,7,"lang."+r.role+"User"))("interfaceOptions",o.customPopoverOptions)("disabled",!o.editMode),xo(2),os("ngForOf",r.modes)}}function EW(e,t){if(1&e&&(ss(0,"ion-note",41),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(2).$implicit;xo(1),Js(" ",Ou(2,2,"lang."+n.mode+"ProcessInfo")," ",n.processDate," ")}}function PW(e,t){if(1&e&&(ss(0,"ion-note",42),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(2).$implicit;xo(1),Js(" ",Ou(2,2,"lang.refProcessInfo")," ",n.processDate," ")}}function DW(e,t){if(1&e&&(ss(0,"ion-note",43),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(2).$implicit;xo(1),Js(" ",Ou(2,2,"lang.stopProcessInfo")," ",n.processDate," ")}}function OW(e,t){if(1&e&&(ss(0,"p",32),ns(1,EW,3,4,"ion-note",38),ns(2,PW,3,4,"ion-note",39),ns(3,DW,3,4,"ion-note",40),ls()),2&e){var n=ks().$implicit;os("title",n.processDate),xo(1),os("ngIf","VAL"===n.status),xo(1),os("ngIf","REF"===n.status),xo(1),os("ngIf","STOP"===n.status)}}function MW(e,t){1&e&&us(0,"ion-icon",44)}function TW(e,t){if(1&e){var n=fs();ss(0,"ion-button",45),ms("click",function(e){nn(n);var t=ks().index,i=ks();return e.stopPropagation(),i.removeUser(t)}),us(1,"ion-icon",46),ls()}}function IW(e,t){if(1&e&&(ss(0,"ion-item",21),ss(1,"ion-reorder",2),us(2,"ion-icon",22),Du(3,"translate"),ls(),ss(4,"ion-avatar",23),ms("click",function(e){return e.stopPropagation()}),us(5,"img",24),ls(),ss(6,"ion-label"),ns(7,kW,3,3,"p",25),ns(8,xW,2,2,"h2",26),ns(9,AW,3,4,"h2",27),ns(10,SW,4,9,"p",28),ns(11,OW,4,4,"p",26),ls(),ns(12,MW,1,0,"ion-icon",29),ss(13,"ion-buttons",13),ns(14,TW,2,0,"ion-button",30),ls(),ls()),2&e){var n=t.$implicit,i=ks();Fs("current",n.current),xo(2),os("title",Ou(3,11,"lang.reorder")),xo(3),os("src",n.userPicture,Cr),xo(2),os("ngIf",i.userDelegated&&n.current),xo(1),os("ngIf",""!==n.userDisplay),xo(1),os("ngIf",""===n.userDisplay),xo(1),os("ngIf",null===n.processDate),xo(1),os("ngIf",null!==n.processDate),xo(1),os("ngIf",!i.editMode&&n.current),xo(2),os("ngIf",i.editMode)}}var RW,LW=((RW=function(){function e(t,n,i,r,o){A(this,e),this.http=t,this.signaturesService=n,this.authService=i,this.notificationService=r,this.popoverController=o,this.editMode=!1,this.visaWorkflow=[],this.userDelegated=!1,this.loading=!1,this.visaUsersSearchVal="",this.visaUsersList=[],this.showVisaUsersList=!1,this.customPopoverOptions={header:"Roles"},this.roles=[]}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.visaWorkflow.forEach(function(t,n){e.getAvatarUser(n)})}},{key:"doReorder",value:function(e){this.canMoveUser(e)?this.visaWorkflow=e.detail.complete(this.visaWorkflow):(this.notificationService.error("lang.errorUserSignType"),e.detail.complete(!1))}},{key:"canMoveUser",value:function(e){var t=this.array_move(this.visaWorkflow.slice(),e.detail.from,e.detail.to);return t=t.filter(function(e){return void 0!==e}),this.isValidWorkflow(t)}},{key:"isValidWorkflow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.visaWorkflow,t=!0;return e.forEach(function(n,i){-1===["visa","stamp"].indexOf(n.role)&&e.filter(function(e,t){return t>i&&"stamp"===e.role}).length>0&&(t=!1)}),t}},{key:"array_move",value:function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"getVisaUsers",value:function(e){var t=this;this.showVisaUsersList=!0,""===e.detail.value?this.resetVisaUsersList():e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(uw(function(e){t.visaUsersList=e}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}},{key:"addUser",value:function(e,t){this.resetVisaUsersList(),e.signatureModes.unshift("visa"),this.visaWorkflow.push({userId:e.id,userDisplay:"".concat(e.firstname," ").concat(e.lastname),role:e.signatureModes[e.signatureModes.length-1],processDate:null,current:!1,modes:e.signatureModes}),this.isValidWorkflow()||(this.visaWorkflow[this.visaWorkflow.length-1].role="visa"),this.getAvatarUser(this.visaWorkflow.length-1),this.visaUsersSearchVal="",t.setFocus()}},{key:"removeUser",value:function(e){this.visaWorkflow.splice(e,1)}},{key:"getAvatarUser",value:function(e){var t=this;void 0===this.visaWorkflow[e].userPicture&&""!==this.visaWorkflow[e].userDisplay&&this.http.get("../rest/users/"+this.visaWorkflow[e].userId+"/picture").pipe(uw(function(n){t.visaWorkflow[e].userPicture=n.picture}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}},{key:"resetVisaUsersList",value:function(){this.visaUsersList=[]}},{key:"openVisaWorkflowModels",value:function(e){return t=this,i=regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.popoverController.create({component:mW,componentProps:{currentWorkflow:this.visaWorkflow},event:e});case 2:return n=t.sent,t.next=5,n.present();case 5:n.onDidDismiss().then(function(e){"backdrop"!==e.role&&(i.visaWorkflow=i.visaWorkflow.concat(e.data),i.visaWorkflow.forEach(function(e,t){i.getAvatarUser(t)}))});case 6:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"getCurrentWorkflow",value:function(){return this.visaWorkflow}},{key:"getRole",value:function(e){return this.authService.signatureRoles.filter(function(t){return t.id===e})[0]}},{key:"loadWorkflow",value:function(e){this.visaWorkflow=e;for(var t=this.visaWorkflow.length,n=0;n<t;n++)this.getAvatarUser(n)}},{key:"isValidRole",value:function(e,t,n){return!(this.visaWorkflow.filter(function(t,n){return n>e&&["stamp"].indexOf(t.role)>-1}).length>0&&["visa","stamp"].indexOf(n)>-1&&-1===["visa","stamp"].indexOf(t)||this.visaWorkflow.filter(function(t,n){return n<e&&-1===["visa","stamp"].indexOf(t.role)}).length>0&&"stamp"===t)}},{key:"setPositionsWorkfow",value:function(e,t){var n=this;this.clearPositionsFromResource(e),t.length>0&&Object.keys(t).forEach(function(i){var r=Object.assign(Object.assign({},t[i]),{mainDocument:e.mainDocument});n.visaWorkflow[t[i].sequence].signaturePositions=n.visaWorkflow[t[i].sequence].signaturePositions.filter(function(t){return t.mainDocument!==e.mainDocument}),n.visaWorkflow[t[i].sequence].signaturePositions.push(r)})}},{key:"clearPositionsFromResource",value:function(e){this.visaWorkflow.forEach(function(t){t.signaturePositions=t.signaturePositions.filter(function(t){return t.mainDocument!==e.mainDocument})})}}]),e}()).\u0275fac=function(e){return new(e||RW)(rs(lb),rs(DP),rs(MP),rs(wP),rs(fE))},RW.\u0275cmp=ft({type:RW,selectors:[["app-visa-workflow"]],viewQuery:function(e,t){var n;1&e&&Qu(yS,1),2&e&&Zu(n=Ku())&&(t.reorderGroup=n.first)},inputs:{editMode:"editMode",visaWorkflow:"visaWorkflow",userDelegated:"userDelegated"},decls:13,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","list-outline"],[1,"ion-text-center"],[3,"click"],[4,"ngIf"],[3,"disabled","ionItemReorder"],["class","no-ripple",3,"current",4,"ngFor","ngForOf"],["lines","none"],[3,"ngModel","placeholder","ngModelChange","ionChange","ionFocus"],["searchInput",""],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","albums-outline"],["style","position: absolute;z-index: 2;width: 100%;box-shadow: 0 4px 2px -2px gray;",4,"ngIf"],[2,"position","absolute","z-index","2","width","100%","box-shadow","0 4px 2px -2px gray"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["color","medium",1,"ion-text-center"],[1,"no-ripple"],["name","reorder-three",2,"font-size","30px",3,"title"],["slot","start",1,"avatar-user",2,"cursor","grab",3,"click"],[3,"src"],["class","secondary",4,"ngIf"],[3,"title",4,"ngIf"],["class","danger",3,"title",4,"ngIf"],["style","display: flex;justify-content: start;",4,"ngIf"],["color","success","slot","end","name","caret-back-outline",4,"ngIf"],["style","z-index: 9999","fill","clear","slot","icon-only","shape","round","color","danger",3,"click",4,"ngIf"],[1,"secondary"],[3,"title"],[1,"danger",3,"title"],[2,"display","flex","justify-content","start"],["interface","popover",2,"width","auto","max-width","100%","padding-left","0px",3,"ngModel","title","interfaceOptions","disabled","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["class","valProcess",4,"ngIf"],["class","refProcess",4,"ngIf"],["class","stopProcess",4,"ngIf"],[1,"valProcess"],[1,"refProcess"],[1,"stopProcess"],["color","success","slot","end","name","caret-back-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",2,"z-index","9999",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),ss(3,"ion-button",3),us(4,"ion-icon",4),ls(),ls(),ss(5,"ion-title",5),Qs(6),Du(7,"translate"),ls(),ls(),ls(),ss(8,"ion-content",6),ms("click",function(){return t.resetVisaUsersList()}),ns(9,wW,10,8,"ng-container",7),ns(10,_W,5,3,"ion-list",7),ss(11,"ion-reorder-group",8),ms("ionItemReorder",function(e){return t.doReorder(e)}),ns(12,IW,15,13,"ion-item",9),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Xs(Ou(7,6,"lang.circuit")),xo(3),os("ngIf",t.editMode),xo(1),os("ngIf",0===t.visaWorkflow.length),xo(1),os("disabled",!t.editMode),xo(1),os("ngForOf",t.visaWorkflow))},directives:[KC,MS,FC,LC,JC,DS,WC,mh,yS,gh,iS,wS,nA,hm,Ym,lS,HC,Jx,sS,fS,mS,TC,xS,tA,AS],pipes:[mP],styles:[".current[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-success)}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.avatar-user[_ngcontent-%COMP%]{width:50px;height:50px;border:solid var(--ion-color-secondary)}ion-select[_ngcontent-%COMP%]{font-size:12px}.no-ripple[_ngcontent-%COMP%]{--ripple-color:transparent}.item-select-disabled[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%], .select-disabled[_ngcontent-%COMP%]{opacity:1}.item-select-disabled[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]::part(icon){display:none!important}.valProcess[_ngcontent-%COMP%]{color:var(--ion-color-success)}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%], .valProcess[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font-size:12px;text-align:right;padding-top:10px;padding-bottom:10px}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%]{color:var(--ion-color-danger)}"]}),RW);function FW(e,t){if(1&e){var n=fs();ss(0,"ion-item",9),ms("click",function(){nn(n);var e=t.$implicit;return ks().goTo(e.id)}),ss(1,"div"),ss(2,"ion-label",10),Qs(3),ls(),ss(4,"ion-label",11),Qs(5),Du(6,"shorten"),ls(),ls(),us(7,"ion-icon",12),ls()}if(2&e){var i=t.$implicit;xo(3),Xs(i.reference),xo(2),Xs(Tu(6,2,i.title,50,"..."))}}var BW,zW=((BW=function(){function e(t){A(this,e),this.router=t}return m(e,[{key:"ngOnInit",value:function(){}},{key:"goTo",value:function(e){this.router.navigate(["/documents/"+e])}}]),e}()).\u0275fac=function(e){return new(e||BW)(rs(jk))},BW.\u0275cmp=ft({type:BW,selectors:[["app-associated-documents"]],inputs:{associatedDocuments:"associatedDocuments"},decls:14,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","link-outline"],[1,"ion-text-center"],[1,"secondary"],[2,"display","flex","flex-direction","column","height","100%"],["class","doc-item",3,"click",4,"ngFor","ngForOf"],[1,"doc-item",3,"click"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["slot","end","color","medium","name","arrow-forward-outline"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),ss(3,"ion-button",3),us(4,"ion-icon",4),ls(),ls(),ss(5,"ion-title",5),ss(6,"b",6),Qs(7),ls(),Qs(8),Du(9,"translate"),ls(),ls(),ls(),ss(10,"ion-content"),ss(11,"div",7),ss(12,"ion-list"),ns(13,FW,8,6,"ion-item",8),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(7),Xs(null==t.associatedDocuments?null:t.associatedDocuments.length),xo(1),Ks("\xa0",Ou(9,4,"lang.associatedDocuments"),""),xo(5),os("ngForOf",t.associatedDocuments))},directives:[KC,MS,FC,LC,JC,DS,WC,lS,gh,iS,sS],pipes:[mP,QM],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px;cursor:pointer}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}"]}),BW);function VW(e,t){1&e&&(ss(0,"ion-card"),ss(1,"ion-item",13),us(2,"ion-icon",14),ss(3,"ion-label"),Qs(4),Du(5,"translate"),ls(),ls(),ls()),2&e&&(xo(4),Xs(Ou(5,1,"lang.docIsInMailGroup")))}function NW(e,t){if(1&e&&(ss(0,"ion-item",8),ss(1,"ion-label",9),Qs(2),Du(3,"translate"),ls(),us(4,"ion-input",10),ls()),2&e){var n=ks();os("title",n.mainDocument.description),xo(2),Xs(Ou(3,3,"lang.description")),xo(2),os("value",n.mainDocument.description)}}function HW(e,t){if(1&e&&(ss(0,"ion-item",8),ss(1,"ion-label",9),Qs(2),Du(3,"translate"),ls(),us(4,"ion-input",10),ls()),2&e){var n=ks();os("title",n.mainDocument.deadline),xo(2),Xs(Ou(3,3,"lang.processingDeadline")),xo(2),os("value",n.mainDocument.deadline)}}function jW(e,t){if(1&e&&(ss(0,"ion-item"),ss(1,"ion-label",9),Qs(2),Du(3,"translate"),ls(),us(4,"ion-input",10),ls()),2&e){var n=t.$implicit;xo(2),Xs(Ou(3,2,n.label)),xo(2),os("value",n.value)}}var UW,WW=((UW=function(){function e(t,n){A(this,e),this.signaturesService=t,this.functionsService=n,this.loading=!1}return m(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||UW)(rs(DP),rs(NU))},UW.\u0275cmp=ft({type:UW,selectors:[["app-main-document-detail"]],inputs:{mainDocument:"mainDocument"},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","information-circle"],[1,"ion-text-center"],[4,"ngIf"],["lines","full",1,"ion-no-margin"],[3,"title"],["color","secondary","position","floating"],["readonly","",3,"value"],[3,"title",4,"ngIf"],[4,"ngFor","ngForOf"],["color","danger"],["name","alert-circle","slot","start"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),ss(3,"ion-button",3),us(4,"ion-icon",4),ls(),ls(),ss(5,"ion-title",5),Qs(6),Du(7,"translate"),ls(),ls(),ls(),ss(8,"ion-content"),ns(9,VW,6,3,"ion-card",6),ss(10,"ion-list",7),ss(11,"ion-item",8),ss(12,"ion-label",9),Qs(13),Du(14,"translate"),ls(),us(15,"ion-input",10),ls(),ns(16,NW,5,5,"ion-item",11),ns(17,HW,5,5,"ion-item",11),ss(18,"ion-item",8),ss(19,"ion-label",9),Qs(20),Du(21,"translate"),ls(),us(22,"ion-input",10),ls(),ss(23,"ion-item",8),ss(24,"ion-label",9),Qs(25),Du(26,"translate"),ls(),us(27,"ion-input",10),ls(),ns(28,jW,5,4,"ion-item",12),ls(),ls()),2&e&&(os("translucent",!0),xo(6),Xs(Ou(7,15,"lang.informations")),xo(3),os("ngIf",!t.functionsService.empty(t.mainDocument.mailingId)),xo(2),os("title",t.mainDocument.sender),xo(2),Xs(Ou(14,17,"lang.emittedBy")),xo(2),os("value",t.mainDocument.sender),xo(1),os("ngIf",null!=t.mainDocument.description),xo(1),os("ngIf",null!=t.mainDocument.deadline),xo(1),os("title",t.mainDocument.reference),xo(2),Xs(Ou(21,19,"lang.reference")),xo(2),os("value",t.mainDocument.reference),xo(1),os("title",t.mainDocument.title),xo(2),Xs(Ou(26,21,"lang.subject")),xo(2),os("value",t.mainDocument.title),xo(1),os("ngForOf",t.mainDocument.metadata))},directives:[KC,MS,FC,LC,JC,DS,WC,mh,lS,iS,sS,nS,nA,gh,BC],pipes:[mP],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}.closePanel[_ngcontent-%COMP%]{position:absolute;left:0;font-size:24px}.panel-content[_ngcontent-%COMP%] .mat-form-field-label{color:#f99830}.panel-content[_ngcontent-%COMP%] .mat-input-element:disabled{color:#135f7f}"]}),UW),GW=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},qW=["mainContent"],YW=["img"],ZW=["snav"],QW=["dragElem"],XW=["appDocumentNotePad"],KW=["appDocumentList"],JW=["rightContent"],$W=["pagesList"];function eG(e,t){if(1&e){var n=fs();ss(0,"ion-segment-button",20),ms("click",function(){return nn(n),ks(2).openAssociatedDocuments()}),ss(1,"ion-label",11),Qs(2),Du(3,"ucfirst"),Du(4,"translate"),ls(),us(5,"ion-icon",21),ss(6,"ion-badge",15),Qs(7),ls(),ls()}if(2&e){var i=ks(2);xo(2),Xs(Ou(3,2,Ou(4,4,"lang.associatedDocuments"))),xo(5),Ks(" ",i.mainDocument.linkedDocuments.length," ")}}function tG(e,t){if(1&e){var n=fs();ss(0,"ion-buttons",22),ss(1,"ion-button",23),ms("click",function(e){return nn(n),ks(2).openAction(e)}),us(2,"ion-icon",24),ls(),ls()}if(2&e){var i=ks(2);xo(1),os("disabled","CONVERTING"===i.mainDocument.status)}}function nG(e,t){if(1&e){var n=fs();ss(0,"ion-header",6),ss(1,"ion-toolbar",7),ss(2,"ion-buttons",8),us(3,"ion-menu-button"),ls(),ss(4,"ion-segment",9),ms("ionChange",function(e){return nn(n),ks().signaturesService.currentToobal=e.detail.value}),ss(5,"ion-segment-button",10),ms("click",function(){return nn(n),ks().openMainDocumentDetail()}),ss(6,"ion-label",11),Qs(7),Du(8,"translate"),ls(),us(9,"ion-icon",12),ls(),ss(10,"ion-segment-button",13),ms("click",function(){return nn(n),ks().openDocumentList()}),ss(11,"ion-label",11),Qs(12),Du(13,"ucfirst"),Du(14,"translate"),ls(),us(15,"ion-icon",14),ss(16,"ion-badge",15),Qs(17),ls(),ls(),ns(18,eG,8,6,"ion-segment-button",16),ss(19,"ion-segment-button",17),ms("click",function(){return nn(n),ks().openVisaWorkflow()}),ss(20,"ion-label",11),Qs(21),Du(22,"translate"),ls(),us(23,"ion-icon",18),ss(24,"ion-badge",15),Qs(25),ls(),ls(),ls(),ns(26,tG,3,1,"ion-buttons",19),ls(),ls()}if(2&e){var i=ks();os("translucent",!0),xo(4),os("value",i.signaturesService.currentToobal),xo(3),Xs(Ou(8,9,"lang.informations")),xo(5),Xs(Ou(13,11,Ou(14,13,"lang.attachedElements"))),xo(5),Ks(" ",i.mainDocument.attachments.length+1," "),xo(1),os("ngIf",void 0!==i.mainDocument.linkedDocuments&&i.mainDocument.linkedDocuments.length>0),xo(3),Xs(Ou(22,15,"lang.circuit")),xo(4),Ks(" ",i.mainDocument.workflow.length," "),xo(1),os("ngIf",!i.detailMode)}}function iG(e,t){1&e&&(ss(0,"ion-toolbar",25),ss(1,"ion-label",26),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Xs(Ou(3,1,"lang.substitutionInfo")))}function rG(e,t){1&e&&(ss(0,"ion-toolbar",27),ss(1,"div",28),ss(2,"ion-label",29),Qs(3),Du(4,"translate"),ls(),us(5,"ion-spinner",30),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.convertingDocument")))}function oG(e,t){1&e&&(ss(0,"ion-toolbar",27),ss(1,"ion-label",31),Qs(2),Du(3,"translate"),ls(),ls()),2&e&&(xo(2),Xs(Ou(3,1,"lang.errorConvertingDocument")))}function aG(e,t){if(1&e){var n=fs();ss(0,"ion-fab-button",44),ms("movingOffset",function(){return nn(n),ks(3).signaturesService.dragging=!0})("endOffset",function(){return nn(n),ks(3).signaturesService.dragging=!1})("click",function(){return nn(n),ks(3).expandedNote=!0}),Du(1,"translate"),us(2,"ion-icon",45),ls()}if(2&e){ks(2);var i=is(7),r=ks();os("bounds",i)("inBounds",!0)("title",Ou(1,4,"lang.expandNote"))("disabled",r.signaturesService.dragging)}}function sG(e,t){if(1&e&&(cs(0),ss(1,"div",52),Qs(2),ls(),ss(3,"div",53),Qs(4),ls(),ds()),2&e){var n=ks(4);xo(2),Js(" ",n.mainDocument.notes.creator," (",n.mainDocument.notes.creationDate,") : "),xo(2),Ks(" ",n.mainDocument.notes.value," ")}}function lG(e,t){if(1&e&&(ss(0,"div"),ss(1,"div",52),Qs(2),ls(),ss(3,"div",53),Qs(4),ls(),ls()),2&e){var n=ks().$implicit;xo(2),Js(" ",n.userDisplay," (",n.processDate,") : "),xo(2),Ks(" ",n.note," ")}}function uG(e,t){if(1&e&&(cs(0),ns(1,lG,5,3,"div",3),ds()),2&e){var n=t.$implicit;xo(1),os("ngIf",n.note)}}function cG(e,t){if(1&e){var n=fs();ss(0,"div",46),ms("movingOffset",function(){return nn(n),ks(3).signaturesService.dragging=!0})("endOffset",function(){return nn(n),ks(3).signaturesService.dragging=!1}),ss(1,"div",47),us(2,"i",48),ss(3,"span",49),Qs(4),Du(5,"translate"),ls(),ss(6,"i",50),ms("click",function(){return nn(n),ks(3).expandedNote=!1}),Du(7,"translate"),ls(),ls(),ns(8,sG,5,3,"ng-container",3),ns(9,uG,2,1,"ng-container",51),ls()}if(2&e){ks(2);var i=is(7),r=ks();os("bounds",i)("inBounds",!0),xo(4),Xs(Ou(5,6,"lang.note")),xo(2),os("title",Ou(7,8,"lang.collapseNote")),xo(2),os("ngIf",null!=r.mainDocument.notes),xo(1),os("ngForOf",r.mainDocument.workflow)}}function dG(e,t){if(1&e&&(cs(0),ns(1,aG,3,6,"ion-fab-button",42),ns(2,cG,10,10,"div",43),ds()),2&e){var n=ks(2);xo(1),os("ngIf",!n.expandedNote),xo(1),os("ngIf",n.expandedNote)}}function hG(e,t){1&e&&us(0,"app-document-note-list")}function fG(e,t){1&e&&us(0,"app-document-sign-list",54),2&e&&(ks(),os("bounds",is(7)))}function pG(e,t){1&e&&us(0,"app-document-date-list",54),2&e&&(ks(),os("bounds",is(7)))}function gG(e,t){if(1&e){var n=fs();ss(0,"ion-img",55,56),ms("ionImgDidLoad",function(e){return nn(n),ks(2).imageLoaded(e)}),ls()}if(2&e){var i=ks(2);Ls("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),os("src",i.docList[i.currentDoc].imgContent[i.pageNum])}}function vG(e,t){if(1&e&&(ss(0,"ion-select-option",63),Qs(1),ls()),2&e){var n=t.index,i=ks(3);os("value",n+1)("disabled",n+1===i.pageNum),xo(1),Xs(n+1)}}var mG=function(e){return{cssClass:e}};function yG(e,t){if(1&e){var n=fs();ss(0,"section",57),ss(1,"div",58),Qs(2),ls(),ss(3,"div",59),ms("click",function(e){return nn(n),ks(2).openSelect(e)}),Qs(4),Du(5,"translate"),ls(),ss(6,"ion-select",60,61),ms("ngModelChange",function(e){return nn(n),ks(2).pageNum=e})("ionChange",function(e){return nn(n),ks(2).goTo(e.target.value)}),ns(8,vG,2,3,"ion-select-option",62),ls(),ls()}if(2&e){var i=ks(2);xo(2),Ks(" ",i.docList[i.currentDoc].title," "),xo(2),$s("",Ou(5,7,"lang.page")," ",i.pageNum," / ",i.totalPages,""),xo(2),os("ngModel",i.pageNum)("interfaceOptions",Au(9,mG,i.totalPages>10?"popover-class":"custom-popover-class")),xo(2),os("ngForOf",i.pagesArray(i.totalPages))}}function bG(e,t){1&e&&(ss(0,"ion-item",64),us(1,"ion-icon",65),ss(2,"ion-label"),Qs(3),Du(4,"translate"),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.certifiedDocument")))}function wG(e,t){if(1&e){var n=fs();ss(0,"ion-fab-button",68),ms("click",function(){return nn(n),ks(3).prevPage()}),us(1,"ion-icon",69),ls()}}function _G(e,t){if(1&e){var n=fs();ss(0,"ion-fab-button",70),ms("click",function(){return nn(n),ks(3).nextPage()}),us(1,"ion-icon",71),ls()}}function kG(e,t){if(1&e&&(cs(0),ns(1,wG,2,0,"ion-fab-button",66),ns(2,_G,2,0,"ion-fab-button",67),ds()),2&e){var n=ks(2);xo(1),os("ngIf",n.pageNum>1&&!n.loadingImage),xo(1),os("ngIf",n.pageNum<n.totalPages&&!n.loadingImage)}}function xG(e,t){if(1&e){var n=fs();ss(0,"ion-content",null,32),ns(2,dG,3,2,"ng-container",3),ss(3,"div",33),ss(4,"drag-scroll",34,35),ms("click",function(e){nn(n);var t=ks();return 0==t.currentDoc&&!t.detailMode&&t.openAction(e)}),ss(6,"div",36,37),ns(8,hG,1,0,"app-document-note-list",3),ns(9,fG,1,1,"app-document-sign-list",38),ns(10,pG,1,1,"app-document-date-list",38),ns(11,gG,2,5,"ion-img",39),ls(),ls(),ls(),ns(12,yG,9,11,"section",40),ns(13,bG,5,3,"ion-item",41),ns(14,kG,3,2,"ng-container",3),ls()}if(2&e){var i=ks();xo(2),os("ngIf",null!=i.mainDocument.notes||i.hasWorkflowNotes),xo(2),Ls("max-width",i.signaturesService.workingAreaWidth,"px"),os("drag-scroll-disabled",(i.signaturesService.dragging||i.signaturesService.resizing)&&i.signaturesService.mobileMode)("drag-disabled",(i.signaturesService.dragging||i.signaturesService.resizing)&&!i.signaturesService.mobileMode),xo(2),Ls("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),xo(2),os("ngIf",0==i.currentDoc&&!i.loadingImage),xo(1),os("ngIf",0===i.currentDoc&&!i.loadingImage&&i.signaturesService.signaturesContent[i.pageNum]),xo(1),os("ngIf",0===i.currentDoc&&!i.loadingImage&&i.signaturesService.datesContent[i.pageNum]),xo(1),os("ngIf",void 0!==i.docList[i.currentDoc]&&!i.functionsService.empty(i.docList[i.currentDoc].imgContent[i.pageNum])),xo(1),os("ngIf",!i.signaturesService.dragging&&!i.signaturesService.resizing&&i.docList[i.currentDoc]),xo(1),os("ngIf",i.mainDocument.isCertified),xo(1),os("ngIf",!i.signaturesService.dragging&&!i.signaturesService.resizing&&!i.loadingImage)}}function AG(e,t){if(1&e&&us(0,"ion-icon",76),2&e){var n=ks().$implicit;os("slot","start")("name",n.logo)}}function CG(e,t){if(1&e){var n=fs();ss(0,"ion-button",74),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).launchEvent(e)}),ns(1,AG,1,2,"ion-icon",75),ss(2,"ion-label",26),Qs(3),Du(4,"translate"),ls(),ls()}if(2&e){var i=t.$implicit;os("disabled",ks(2).isNotReady())("color",i.color),xo(1),os("ngIf",""!==i.logo),xo(2),Xs(Ou(4,4,i.label))}}function SG(e,t){if(1&e&&(ss(0,"ion-footer",72),ns(1,CG,5,6,"ion-button",73),ls()),2&e){var n=ks();xo(1),os("ngForOf",n.actionsList)}}function EG(e,t){if(1&e&&us(0,"app-visa-workflow",81),2&e){var n=ks(2);os("visaWorkflow",n.mainDocument.workflow)("userDelegated",n.userDelegated)}}function PG(e,t){if(1&e){var n=fs();ss(0,"app-document-list",82,83),ms("triggerEvent",function(e){return nn(n),ks(2).loadDoc(e)}),ls()}if(2&e){var i=ks(2);os("currentDocId",i.currentDoc)("docList",i.docList)}}function DG(e,t){1&e&&us(0,"app-associated-documents",84,85),2&e&&os("associatedDocuments",ks(2).mainDocument.linkedDocuments)}function OG(e,t){1&e&&us(0,"app-main-document-detail",86,87),2&e&&os("mainDocument",ks(2).mainDocument)}function MG(e,t){if(1&e&&(ns(0,EG,1,2,"app-visa-workflow",77),ns(1,PG,2,2,"app-document-list",78),ns(2,DG,2,1,"app-associated-documents",79),ns(3,OG,2,1,"app-main-document-detail",80)),2&e){var n=ks();os("ngIf","visaWorkflow"==n.signaturesService.currentToobal),xo(1),os("ngIf","documentList"==n.signaturesService.currentToobal),xo(1),os("ngIf","associatedDocuments"==n.signaturesService.currentToobal),xo(1),os("ngIf","mainDocumentDetail"==n.signaturesService.currentToobal)}}var TG,IG=((TG=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,w,_,k,x){A(this,e),this.translate=t,this.router=n,this.route=i,this.http=r,this.signaturesService=o,this.notificationService=a,this.cookieService=s,this.sanitizer=l,this.dialog=u,this.bottomSheet=c,this.authService=d,this.localStorage=h,this.menu=f,this.actionSheetController=p,this.loadingController=g,this.viewContainerRef=v,this.modalController=m,this.pdfViewerService=y,this.alertController=b,this.signatureMethodService=w,this.navCtrl=_,this.functionsService=k,this.actionsService=x,this.posX=0,this.posY=0,this.enterApp=!0,this.detailMode=!1,this.pageNum=1,this.signaturesContent=[],this.currentDoc=0,this.docList=[],this.actionsList=[{id:2,label:"lang.reject",color:"danger",logo:"thumbs-down-outline",event:"refuseDocument"},{id:3,label:"lang.signatures",color:"",logo:"",event:"openSignatures"},{id:1,label:"lang.validate",color:"success",logo:"thumbs-up-outline",event:"validateDocument"}],this.freezeSidenavClose=!1,this.startX=0,this.startY=0,this.widthDoc="100%",this.resetDragPos=!1,this.mainDocument={id:0,status:status,attachments:[],workflow:[]},this.loadingUI=!1,this.expandedNote=!0,this.hasWorkflowNotes=!1,this.currentTool="info",this.load=null,this.dragging=!1,this.resizing=!1,this.pdfname=null,this.loadingdocument=!0,this.loadingpdf=!1,this.loadingImage=!0,this.fileContent="",this.userDelegated=!1,this.draggable=!1}return m(e,[{key:"imageLoaded",value:function(e){this.getImageDimensions(!0),"CONVERTING"!==this.mainDocument.status&&this.load.dismiss(),this.menu.enable(!0,"right-menu"),this.loadingImage=!1,document.getElementsByClassName("drag-scroll-content")[0].scrollTop=0}},{key:"getImageDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=new Image;n.onload=function(n){e.signaturesService.workingAreaWidth=n.target.naturalWidth,e.signaturesService.workingAreaHeight=n.target.naturalHeight,t&&e.getAreaDimension()},n.src=this.docList[this.currentDoc].imgContent[this.pageNum]}},{key:"getAreaDimension",value:function(){var e=100*this.mainContent.el.offsetWidth/this.signaturesService.workingAreaWidth;this.signaturesService.workingAreaWidth=e*this.signaturesService.workingAreaWidth/100,this.signaturesService.workingAreaHeight=e*this.signaturesService.workingAreaHeight/100}},{key:"openAction",value:function(e){return GW(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.posX=e.clientX,this.posY=e.clientY,n=[],this.checkEmptyNote()||n.push({text:this.translate.instant("lang.cancelPreviousNote"),icon:"arrow-undo-outline",handler:function(){r.undoTag()}}),this.signaturesService.stampLock||(n.push({text:this.translate.instant("lang.affixSignature"),icon:"ribbon-outline",handler:function(){r.openSignatures()}}),n.push({text:this.translate.instant("lang.annotateDocument"),icon:"receipt-outline",handler:function(){r.openNoteEditor()}})),this.checkEmptiness()||n.push({text:this.translate.instant("lang.deleteAll"),icon:"color-wand-outline",handler:function(){r.removeTags()}}),t.next=5,this.actionSheetController.create({header:"Actions",cssClass:"my-custom-class",buttons:n});case 5:return i=t.sent,t.next=8,i.present();case 8:case"end":return t.stop()}},t,this)}))}},{key:"openSignatures",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:fU,cssClass:"my-custom-class",componentProps:{currentWorflow:this.mainDocument.workflow.filter(function(e){return!0===e.current})[0],content:this.fileContent}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:n=e.sent,i=n.data,this.dragging=!1,void 0!==i&&("success"===i||void 0!==i.redirectPage&&this.goTo(i.redirectPage));case 10:case"end":return e.stop()}},e,this)}))}},{key:"openNoteEditor",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:AU,cssClass:"fullscreen",componentProps:{precentScrollLeft:this.posX,precentScrollTop:this.posY,content:this.docList[this.currentDoc].imgContent[this.pageNum]}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:case"end":return e.stop()}},e,this)}))}},{key:"scrollToElem",value:function(){var e=this.signaturesService.signaturesContent[this.pageNum][this.signaturesService.signaturesContent[this.pageNum].length-1].positionY-75-($("#myBounds")[0].getBoundingClientRect().top-70)-$(window).height();document.getElementsByClassName("drag-scroll-content")[0].scrollTo(1e3,-e)}},{key:"ionViewWillEnter",value:function(){this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent")}},{key:"ngOnInit",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.menu.enable(!1,"right-menu"),this.menu.enable(!0,"left-menu"),this.route.params.subscribe(function(e){void 0!==e.id&&t.loadingController.create({message:t.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(n){t.load=n,t.load.present(),t.http.get("../rest/documents/"+e.id).pipe(uw(function(n){return GW(t,void 0,void 0,regeneratorRuntime.mark(function t(){var i,r,o,a=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkSubstitute(n.document.workflow.find(function(e){return e.current}));case 2:i=t.sent,this.mainDocument=n.document,this.mainDocument.workflow=this.mainDocument.workflow.map(function(e){return e.note&&(a.hasWorkflowNotes=!0),e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes})}),this.totalPages=this.mainDocument.pages,this.signaturesService.mainDocumentId=this.mainDocument.id,this.signaturesService.totalPage=this.mainDocument.pages,this.menu.enable(!0,"right-menu"),this.initDoc(),r=this.mainDocument.workflow.find(function(e){return!0===e.current}),this.mainDocument.isCertified=this.mainDocument.workflow.filter(function(e){return"REF"!==e.status&&"STOP"!==e.status&&"sign"===e.mode&&"stamp"!==e.signatureMode&&null!==e.processDate}).length>0,this.userDelegated=i,o=[{id:4,label:"lang.back",color:"medium",logo:"chevron-back-outline",event:"back"}],this.mainDocument.readOnly?(this.actionsList=o,this.detailMode=!0):(null==r?void 0:r.userId)!==this.authService.user.id?i||(this.actionsList=o,this.detailMode=!0):this.functionsService.empty(r)||(this.signaturesService.stampLock=this.mainDocument.isCertified&&("stamp"===r.signatureMode&&"sign"===r[0].mode||"visa"===r.mode),r.userId!==this.authService.user.id?this.http.get("../rest/users/"+r.userId+"/signatures").subscribe(function(e){a.signaturesService.signaturesListSubstituted=e.signatures}):this.signaturesService.signaturesListSubstituted=[],r.datePositions.length>0&&this.functionsService.empty(this.signaturesService.datesContent)&&r.datePositions.forEach(function(e){a.signaturesService.datesContent[e.page]||(a.signaturesService.datesContent[e.page]=[]),a.signaturesService.datesContent[e.page][0]={width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:e.font,size:e.size,color:e.color,format:e.format}})),this.docList.push({id:this.mainDocument.id,title:this.mainDocument.title,pages:this.mainDocument.pages,imgContent:[],imgUrl:"../rest/documents/"+this.mainDocument.id+"/thumbnails"}),this.mainDocument.attachments.forEach(function(e){a.docList.push({id:e.id,title:e.title,pages:e.pages,imgContent:[],imgUrl:"../rest/attachments/"+e.id+"/thumbnails"})}),this.menu.enable(!0,"right-menu"),this.renderImage(),this.loadingdocument=!1,this.load.dismiss(),"CONVERTING"===this.mainDocument.status&&(this.timerSubscription=kR(0,1e4).pipe(uw(function(){a.http.get("../rest/documents/"+e.id).pipe(uw(function(e){var t;a.totalPages=e.document.pages,"CONVERTING"!==e.document.status&&(a.mainDocument.status=e.document.status,null===(t=a.timerSubscription)||void 0===t||t.unsubscribe())})).subscribe()}),Zb(function(e){return a.load.dismiss(),a.notificationService.handleErrors(e),Ty(!1)})).subscribe());case 8:case"end":return t.stop()}},t,this)}))}),Zb(function(e){return console.log("error",e),setTimeout(function(){t.load.dismiss()},200),t.notificationService.handleErrors(e),t.router.navigate(["/home"]),Ty(!1)})).subscribe()})});case 1:case"end":return e.stop()}},e,this)}))}},{key:"ngOnDestroy",value:function(){var e;null===(e=this.timerSubscription)||void 0===e||e.unsubscribe()}},{key:"checkSubstitute",value:function(e){var t=this;return!this.functionsService.empty(e)&&new Promise(function(n){t.http.get("../rest/users/"+e.userId).pipe(uw(function(e){n(e.user.substitute===t.authService.user.id)}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()})}},{key:"renderPdf",value:function(){var e=this;this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/content").subscribe(function(t){e.pdfname="data:application/pdf;base64,"+t.encodedDocument,e.loadingpdf=!0})}},{key:"onPagesLoaded",value:function(e){return GW(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.totalPages=e.pagesCount,this.exportAsImage();case 1:case"end":return t.stop()}},t,this)}))}},{key:"exportAsImage",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfViewerService.getPageAsImage(this.pageNum,{width:1e3});case 2:t=e.sent,this.docList[this.currentDoc].imgContent[this.pageNum]=t,this.loadingpdf=!1,this.load.dismiss();case 4:case"end":return e.stop()}},e,this)}))}},{key:"renderImage",value:function(){var e=this;void 0===this.docList[this.currentDoc].imgContent[this.pageNum]&&(0===this.currentDoc?this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(uw(function(t){e.docList[e.currentDoc].imgContent[e.pageNum]="data:image/png;base64,"+t.fileContent,e.fileContent=t.fileContent}),Zb(function(t){return e.load.dismiss(),e.notificationService.handleErrors(t),e.router.navigate(["/home"]),Ty(!1)})).subscribe():this.http.get("../rest/attachments/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(uw(function(t){e.docList[e.currentDoc].imgContent[e.pageNum]="data:image/png;base64,"+t.fileContent}),Zb(function(t){return e.load.dismiss(),e.notificationService.handleErrors(t),e.router.navigate(["/home"]),Ty(!1)})).subscribe())}},{key:"initDoc",value:function(){this.docList=[],this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.signaturesService.currentToobal="mainDocumentDetail";var e=this.localStorage.get(this.mainDocument.id.toString());if(e){var t=JSON.parse(e);this.signaturesService.notesContent=void 0!==t.note?t.note:[],this.signaturesService.signaturesContent=void 0!==t.sign?t.sign:[],this.signaturesService.datesContent=void 0!==t.date?t.date:[]}this.signaturesService.currentAction=0,this.signaturesService.currentPage=1,this.pageNum=1,this.signaturesContent.currentDoc=1,this.currentDoc=0}},{key:"testDrag",value:function(e){var t=e.source.getRootElement(),n=t.getBoundingClientRect(),i=this.getPosition(t);this.signaturesService.y=n.y-i.top,this.signaturesService.x=n.x-i.left}},{key:"getPosition",value:function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-e.scrollLeft,n+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{top:n,left:t}}},{key:"zoomForNotes",value:function(){this.widthDoc="200%",this.signaturesService.scale=2,$(".example-box").css({transform:"translate3d("+this.signaturesService.x*this.signaturesService.scale+"px, "+this.signaturesService.y*this.signaturesService.scale+"px, 0px)"}),this.signaturesService.workingAreaHeight*=this.signaturesService.scale,this.signaturesService.workingAreaWidth*=this.signaturesService.scale}},{key:"zoomForView",value:function(){var e=this;this.resetDragPos=!0,this.widthDoc="100%",this.signaturesService.workingAreaHeight=this.signaturesService.workingAreaHeight/2,this.signaturesService.workingAreaWidth=this.signaturesService.workingAreaWidth/2,setTimeout(function(){e.resetDragPos=!1},200),this.signaturesService.scale=1}},{key:"prevPage",value:function(){this.loadingImage=!0,this.pageNum--,0===this.pageNum&&(this.pageNum=1),0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"nextPage",value:function(){this.loadingImage=!0,this.pageNum>=this.totalPages?this.pageNum=this.totalPages:this.pageNum++,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"goTo",value:function(e){var t=this;this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(e){t.load=e,t.load.present(),t.loadingImage=!0,t.load.dismiss()}),this.pageNum=e,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"pagesArray",value:function(e){return Array(e)}},{key:"initWorkingArea",value:function(){}},{key:"refuseDocument",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.translate.instant("lang.rejectDocumentWarning"),0===this.signaturesService.notesContent.length&&(t=this.translate.instant("lang.refuseDocumentWithoutNote")),e.next=4,this.alertController.create({cssClass:"custom-alert-danger",header:this.translate.instant("lang.reject"),message:t,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.reject"),handler:function(e){return GW(i,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.actionsService.checkGroupMail(this.mainDocument,"reject");case 2:return n=t.sent,t.next=5,this.signatureMethodService.launchDefaultMode(e.paragraph,n);case 5:i=t.sent,this.functionsService.empty(i)||(this.bottomSheet.open(SU,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()));case 7:case"end":return t.stop()}},t,this)}))}}]});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}))}},{key:"validateDocument",value:function(e){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.translate.instant("lang.validateDocumentWarning"),0===this.signaturesService.signaturesContent.length&&0===this.signaturesService.notesContent.length&&(t=this.translate.instant("lang.validateDocumentWithoutSignOrNote")),this.signaturesService.stampLock&&(t=this.translate.instant("lang.certifiedDocumentMsg2")),e.next=4,this.alertController.create({cssClass:"custom-alert-success",header:this.translate.instant("lang.validate"),message:t,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.validate"),handler:function(e){return GW(i,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.mainDocument.workflow.filter(function(e){return!0===e.current})[0],t.next=3,this.actionsService.checkGroupMail(this.mainDocument,"validate");case 3:return i=t.sent,t.next=6,this.signatureMethodService.checkAuthenticationAndLaunchAction(n,e.paragraph,i);case 6:r=t.sent,this.functionsService.empty(r)||(this.bottomSheet.open(YU,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()));case 8:case"end":return t.stop()}},t,this)}))}}]});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}))}},{key:"removeTags",value:function(){return GW(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.signaturesService.currentAction=0,e.next=3,this.alertController.create({header:this.translate.instant("lang.deleteNoteAndSignature"),buttons:[{text:this.translate.instant("lang.validate"),handler:function(){n.signaturesService.signaturesContent=[],n.signaturesService.notesContent=[],n.signaturesService.datesContent=[],n.localStorage.remove(n.mainDocument.id.toString()),n.notificationService.success("lang.noteAndSignatureDeleted")}}]});case 3:return t=e.sent,e.next=6,t.present();case 6:case"end":return e.stop()}},e,this)}))}},{key:"loadDoc",value:function(e){this.pageNum=1,this.currentDoc=e,this.totalPages=this.docList[e].pages}},{key:"launchEvent",value:function(e){this.backToDetails(),this.signaturesService.currentAction=e.id,this[e.event]()}},{key:"undoTag",value:function(){this.signaturesService.notesContent[this.pageNum]&&(this.signaturesService.notesContent[this.pageNum].pop(),this.localStorage.remove(this.mainDocument.id.toString()),this.localStorage.save(this.mainDocument.id.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.isEmptyNote()&&(this.signaturesService.notesContent=[]))}},{key:"checkEmptyNote",value:function(){return!this.signaturesService.notesContent[this.pageNum]||"undefined"===this.signaturesService.notesContent[this.pageNum]||0===this.signaturesService.notesContent[this.pageNum].length}},{key:"isEmptyNote",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}return e}},{key:"checkEmptiness",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++){if(this.signaturesService.datesContent[t]&&this.signaturesService.datesContent[t].length>0){e=!1;break}if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}}return e}},{key:"openVisaWorkflow",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="visaWorkflow"}},{key:"openDocumentList",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="documentList"}},{key:"openAssociatedDocuments",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="associatedDocuments"}},{key:"openMainDocumentDetail",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="mainDocumentDetail"}},{key:"backToDetails",value:function(){this.signaturesService.currentToobal="mainDocumentDetail"}},{key:"deleteSubstution",value:function(){var e=this;confirm(this.translate.instant("lang.deleteSubstitution")+" ?")&&this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:null}).subscribe(function(){e.authService.updateUserInfoWithTokenRefresh(),e.notificationService.success("lang.substitutionDeleted")})}},{key:"back",value:function(){this.navCtrl.back()}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent"),this.loadingController.dismiss()}},{key:"openSelect",value:function(e){this.totalPages>1&&(this.pagesList.interface="popover",this.pagesList.open(e))}},{key:"fromHex",value:function(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length;n+=2){var i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}},{key:"isNotReady",value:function(){return["CONVERTING","ERROR"].indexOf(this.mainDocument.status)>-1}}]),e}()).\u0275fac=function(e){return new(e||TG)(rs(vP),rs(jk),rs(b_),rs(lb),rs(DP),rs(wP),rs(LM),rs(Wf),rs(CB),rs(GF),rs(MP),rs(OP),rs(dE),rs(lE),rs(cE),rs(uu),rs(hE),rs(bO),rs(uE),rs(qU),rs(aA),rs(NU),rs(jU))},TG.\u0275cmp=ft({type:TG,selectors:[["app-document"]],viewQuery:function(e,t){var n;1&e&&(Qu(qW,1),Qu(YW,1),Qu(ZW,3),Qu(QW,1),Qu(XW,1),Qu(KW,1),Qu(JW,3),Qu($W,1)),2&e&&(Zu(n=Ku())&&(t.mainContent=n.first),Zu(n=Ku())&&(t.img=n.first),Zu(n=Ku())&&(t.snav=n.first),Zu(n=Ku())&&(t.dragElem=n.first),Zu(n=Ku())&&(t.appDocumentNotePad=n.first),Zu(n=Ku())&&(t.appDocumentList=n.first),Zu(n=Ku())&&(t.rightContent=n.first),Zu(n=Ku())&&(t.pagesList=n.first))},decls:8,vars:6,consts:[[3,"translucent",4,"ngIf"],["class","ion-text-center","color","primary",4,"ngIf"],["class","ion-text-center","color","danger",4,"ngIf"],[4,"ngIf"],["class","ion-no-border footer-buttons",4,"ngIf"],["rightContent",""],[3,"translucent"],["color","light"],["slot","start"],["value","favorite",3,"value","ionChange"],["value","mainDocumentDetail",3,"click"],["color","primary"],["color","primary","name","information-circle"],["value","documentList",3,"click"],["color","primary","name","document-attach-outline"],["color","danger",2,"position","absolute","top","10px","right","40%"],["value","associatedDocuments",3,"click",4,"ngIf"],["value","visaWorkflow",3,"click"],["color","primary","name","list-outline"],["slot","end",4,"ngIf"],["value","associatedDocuments",3,"click"],["color","primary","name","link-outline"],["slot","end"],["color","primary",3,"disabled","click"],["slot","icon-only","name","settings-sharp"],["color","primary",1,"ion-text-center"],[2,"font-size","13px"],["color","danger",1,"ion-text-center"],[1,"loading",2,"display","flex","height","100%"],[1,"loadingMsg"],["name","dots","color","light",2,"padding-top","6.5%"],[2,"font-size","14px","font-weight","bold"],["mainContent",""],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-scroll-disabled","drag-disabled","click"],["nav",""],["id","myBounds",2,"position","relative","cursor","grab"],["myBounds",""],[3,"bounds",4,"ngIf"],["class","img-content",3,"src","width","height","ionImgDidLoad",4,"ngIf"],["class","page-info",4,"ngIf"],["lines","none","class","certified",4,"ngIf"],["ngDraggable","","style","top: 40px;right: 40px;z-index:2;position:absolute;",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click",4,"ngIf"],["ngDraggable","","class","note",3,"bounds","inBounds","movingOffset","endOffset",4,"ngIf"],["ngDraggable","",2,"top","40px","right","40px","z-index","2","position","absolute",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click"],["name","chatbubble-ellipses-outline"],["ngDraggable","",1,"note",3,"bounds","inBounds","movingOffset","endOffset"],[1,"note-title"],[1,"far","fa-sticky-note",2,"padding-right","5px"],[2,"flex","1"],[1,"fa","fa-minus-square",2,"cursor","pointer",3,"title","click"],[4,"ngFor","ngForOf"],[1,"note-creator"],[1,"note-content"],[3,"bounds"],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","popover","hidden","true",2,"max-height","100%",3,"ngModel","interfaceOptions","ngModelChange","ionChange"],["pagesList",""],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["lines","none",1,"certified"],["slot","start","name","ribbon-outline","color","success"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"],[1,"ion-no-border","footer-buttons"],["shape","round","size","large","fill","outline",3,"disabled","color","click",4,"ngFor","ngForOf"],["shape","round","size","large","fill","outline",3,"disabled","color","click"],[3,"slot","name",4,"ngIf"],[3,"slot","name"],["style","display: contents;",3,"visaWorkflow","userDelegated",4,"ngIf"],["style","display: contents;",3,"currentDocId","docList","triggerEvent",4,"ngIf"],["style","display: contents;",3,"associatedDocuments",4,"ngIf"],["style","display: contents;",3,"mainDocument",4,"ngIf"],[2,"display","contents",3,"visaWorkflow","userDelegated"],[2,"display","contents",3,"currentDocId","docList","triggerEvent"],["appDocumentList",""],[2,"display","contents",3,"associatedDocuments"],["appAssociatedDocuments",""],[2,"display","contents",3,"mainDocument"],["appMainDocumentDetail",""]],template:function(e,t){1&e&&(ns(0,nG,27,17,"ion-header",0),ns(1,iG,4,3,"ion-toolbar",1),ns(2,rG,6,3,"ion-toolbar",2),ns(3,oG,4,3,"ion-toolbar",2),ns(4,xG,15,16,"ion-content",3),ns(5,SG,2,1,"ion-footer",4),ns(6,MG,4,4,"ng-template",null,5,tc)),2&e&&(os("ngIf",!t.loadingdocument),xo(1),os("ngIf",null!==t.authService.user.substitute&&t.docList[t.currentDoc]),xo(1),os("ngIf",0!==t.mainDocument.id&&"CONVERTING"===t.mainDocument.status),xo(1),os("ngIf",0!==t.mainDocument.id&&"ERROR"===t.mainDocument.status),xo(1),os("ngIf",!t.loadingdocument),xo(1),os("ngIf",!t.loadingImage&&0===t.currentDoc))},directives:[mh,KC,MS,FC,dS,_S,tA,kS,sS,JC,RC,LC,ES,WC,AM,YC,PM,gh,XU,nW,fW,$C,xS,hm,Ym,AS,iS,QC,LW,VU,zW,WW],pipes:[mP,XM],styles:[".enterApp[_ngcontent-%COMP%]{position:fixed;height:100vh;width:100vw;background-color:#135f7f;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px}.mainView[_ngcontent-%COMP%]{height:100%;width:auto;display:flex;flex-direction:column;overflow:hidden}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:70px;width:auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:40px}.article[_ngcontent-%COMP%]{display:flex;justify-content:center;overflow:hidden;flex:1;top:0;left:0}.canvas-wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:120px}canvas[_ngcontent-%COMP%]{margin:0 auto;display:block}.header[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:80px;align-items:center;padding:0}.header[_ngcontent-%COMP%], .header-action[_ngcontent-%COMP%]{display:flex;justify-content:center}.header-action[_ngcontent-%COMP%]{color:#135f7f}.header-action-button[_ngcontent-%COMP%]{white-space:normal;word-break:break-word;width:135px!important}.header-infos[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:5px;display:flex;justify-content:space-between;align-items:flex-start;width:100%;padding-top:12px;padding-bottom:7px;position:relative;overflow-y:hidden;overflow-x:auto}.header-info[_ngcontent-%COMP%]{border-right:1px solid #979797;width:200px;height:60px;font-size:12px;padding-left:20px}.header-info[_ngcontent-%COMP%]:last-of-type{border:none}.header-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0}.header-expand[_ngcontent-%COMP%]{width:70%;position:absolute;left:50%;transform:translateX(-50%);top:25px;border:1px solid #f1f4f4}.header-expand[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.header-expand[_ngcontent-%COMP%] .mat-expansion-panel{box-shadow:none}.header-expand[_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f}.header-expand[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.header-expand-content[_ngcontent-%COMP%]{width:33%;display:inline-block}.header-expand-content[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-overflow:ellipsis}.header-expand-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.header-expand[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{opacity:1;color:#666}.header-expand[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1;font-size:12px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.btn-next[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;right:25px;top:50%;cursor:pointer;z-index:1}.btn-next.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.btn-previous[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;left:25px;top:50%;cursor:pointer;z-index:1}.btn-previous.disabled[_ngcontent-%COMP%], button.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.overlay[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5)}.pdf-page-canvas[_ngcontent-%COMP%]{opacity:1;transition:opacity .5s ease-in}.pdf-page-canvas-loading-doc[_ngcontent-%COMP%]{opacity:0}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leftPosDesk[_ngcontent-%COMP%]{left:25%!important}.mat-badge-content[_ngcontent-%COMP%]{background:#e74c3c}.substutionModal[_ngcontent-%COMP%]{color:#fff;background:#135f7f}.substutionModal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:10px}.substutionModal[_ngcontent-%COMP%] .msgModal[_ngcontent-%COMP%]{text-align:center;flex:1}.substitutedInformations[_ngcontent-%COMP%]{top:85px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis;background:#135f7f;color:#fff;font-size:13px;text-align:center}.note[_ngcontent-%COMP%]{top:40px;right:40px;z-index:2;cursor:-webkit-grab;cursor:grab;position:absolute;background-color:#fff8bb;width:300px;max-height:400px;overflow:auto;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.note-title[_ngcontent-%COMP%]{background-color:#fff8bb;position:-webkit-sticky;position:sticky;top:0;display:flex;align-items:center;font-weight:700}.note-creator[_ngcontent-%COMP%], .note-title[_ngcontent-%COMP%]{padding:10px;color:#135f7f}.note-creator[_ngcontent-%COMP%]{font-size:12px;text-decoration:underline}.note-content[_ngcontent-%COMP%]{padding:0 10px 10px;color:#4f4f4f}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.certified[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;border:1px solid var(--ion-color-success);color:var(--ion-color-success)} .popover-class .popover-content{height:50%;top:50px} .custom-popover-class .popover-class{height:10%;top:50px}.loading[_ngcontent-%COMP%]{display:flex;position:absolute;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:2;overflow:hidden}.loadingMsg[_ngcontent-%COMP%]{padding:2%;color:var(--ion-color-light);font-weight:700;margin-right:-5px}"]}),TG),RG=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function LG(e,t){1&e&&(ss(0,"a",13),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.forgotPassword")))}function FG(e,t){1&e&&(ss(0,"a",14),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.ldapEnabled")))}function BG(e,t){1&e&&(ss(0,"a",14),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.kerberosEnabled")))}function zG(e,t){1&e&&(ss(0,"a",14),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.x509Enabled")))}function VG(e,t){if(1&e&&(ss(0,"a",15),Du(1,"translate"),Qs(2),ls()),2&e){var n=ks();Ps("href","",Ou(1,3,"lang.repoUrl"),"/commit/",n.commitHash,"",Cr),xo(2),Xs(n.commitHash.substring(0,8))}}var NG,HG,jG=((HG=function(){function e(t,n,i,r,o,a,s,l,u,c){A(this,e),this.http=t,this.router=n,this.authService=i,this.signaturesService=r,this.notificationService=o,this.dialog=a,this.formBuilder=s,this.loadingController=l,this.translate=u,this.menu=c,this.loading=!1,this.showForm=!1,this.commitHash=null}return m(e,[{key:"ngOnInit",value:function(){return RG(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loginForm=this.formBuilder.group({login:[null,Nv.required],password:[null,Nv.required]}),this.environment=td,this.signaturesService.reset(),e.next=5,this.loadCommitInformation();case 5:case"end":return e.stop()}},e,this)}))}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}},{key:"ngAfterViewInit",value:function(){var e=this;setTimeout(function(){e.showForm=!0,e.fixAutoFill(),e.initConnection()},500)}},{key:"fixAutoFill",value:function(){var e=this;setTimeout(function(){e.loginForm.get("login").setValue($("#login").val()),e.loginForm.get("password").setValue($("#password").val())},100)}},{key:"onSubmit",value:function(){return RG(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadingController.create({cssClass:"my-custom-class",message:this.translate.instant("lang.connexion")});case 2:return t=e.sent,e.next=5,t.present();case 5:this.authService.authFailed=!1,this.loginForm.invalid?(t.dismiss(),this.notificationService.error("lang.requiredLoginPassword")):this.http.post("../rest/authenticate",{login:this.loginForm.get("login").value,password:this.loginForm.get("password").value},{observe:"response"}).pipe(uw(function(e){n.loading=!1,n.showForm=!1,n.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),n.authService.setUser({}),n.authService.getCachedUrl()?(n.router.navigateByUrl(n.authService.getCachedUrl()),n.authService.cleanCachedUrl()):n.router.navigate(["/home"]),t.dismiss()}),Zb(function(e){return n.loading=!1,n.authService.authFailed=!0,401===e.status&&-1===["kerberos","x509","azure_saml"].indexOf(n.authService.authMode)?(n.notificationService.error("lang.wrongLoginPassword"),t.dismiss()):"azure_saml"===n.authService.authMode&&"Authentication Failed : not logged"===e.error.errors?(t.dismiss(),window.location.href=e.error.authUri):(t.dismiss(),n.notificationService.handleErrors(e)),Ty(!1)})).subscribe();case 7:case"end":return e.stop()}},e,this)}))}},{key:"initConnection",value:function(){["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)>-1&&(this.loginForm.disable(),this.loginForm.setValidators(null),this.onSubmit())}},{key:"loadCommitInformation",value:function(){var e=this;return new Promise(function(t){e.http.get("../rest/commitInformation").pipe(uw(function(n){e.commitHash=n.hash,t(!0)}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()})}}]),e}()).\u0275fac=function(e){return new(e||HG)(rs(lb),rs(jk),rs(MP),rs(DP),rs(wP),rs(CB),rs(My),rs(cE),rs(vP),rs(dE))},HG.\u0275cmp=ft({type:HG,selectors:[["ng-component"]],decls:27,vars:18,consts:[[1,"login-content"],["svgIcon","maarchLogo",1,"maarchLogo"],[2,"width","400px","position","absolute","left","50%","top","50%","transform","translate(-50%,-50%)"],[3,"formGroup","ngSubmit"],["position","floating"],["formControlName","login","type","text",3,"keyup.enter"],["name","password","matInput","","type","password","formControlName","password",3,"keyup.enter"],[1,"connection-type"],["routerLink","/forgot-password","class","forgot-password",4,"ngIf"],["href","","class","forgot-password",4,"ngIf"],["type","submit","expand","block",3,"disabled"],[1,"version-info"],["style","color: white","target","blank",3,"href",4,"ngIf"],["routerLink","/forgot-password",1,"forgot-password"],["href","",1,"forgot-password"],["target","blank",2,"color","white",3,"href"]],template:function(e,t){1&e&&(ss(0,"ion-content",0),us(1,"mat-icon",1),ss(2,"ion-card",2),ss(3,"ion-card-content"),ss(4,"form",3),ms("ngSubmit",function(){return t.onSubmit()}),ss(5,"ion-item"),ss(6,"ion-label",4),Qs(7),Du(8,"translate"),ls(),ss(9,"ion-input",5),ms("keyup.enter",function(){return t.onSubmit()}),ls(),ls(),ss(10,"ion-item"),ss(11,"ion-label",4),Qs(12),Du(13,"translate"),ls(),ss(14,"ion-input",6),ms("keyup.enter",function(){return t.onSubmit()}),ls(),ls(),ss(15,"div",7),ns(16,LG,3,3,"a",8),ns(17,FG,3,3,"a",9),ns(18,BG,3,3,"a",9),ns(19,zG,3,3,"a",9),ls(),ss(20,"ion-button",10),Qs(21),Du(22,"translate"),ls(),ls(),ls(),ls(),ss(23,"ion-note",11),Qs(24),ns(25,VG,3,5,"a",12),Qs(26),ls(),ls()),2&e&&(xo(4),os("formGroup",t.loginForm),xo(3),Xs(Ou(8,12,"lang.login")),xo(5),Xs(Ou(13,14,"lang.password")),xo(4),os("ngIf","default"===t.authService.authMode),xo(1),os("ngIf","ldap"===t.authService.authMode),xo(1),os("ngIf","kerberos"===t.authService.authMode),xo(1),os("ngIf","x509"===t.authService.authMode),xo(1),os("disabled",t.loginForm.invalid||t.loading),xo(1),Ks(" ",Ou(22,16,"lang.connect")," "),xo(3),Ks(" Maarch Parapheur ",t.environment.VERSION," "),xo(1),os("ngIf",null!==t.commitHash),xo(1),Ks(" Powered by ",t.environment.AUTHOR," "))},directives:[WC,$B,BC,zC,Zm,fm,ey,iS,sS,nS,nA,hm,ny,mh,LC,fS,Wk,tE],pipes:[mP],styles:[".version-info[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;top:10%;left:50%;transform:translateX(-50%);width:250px;height:auto;padding-bottom:10px}.login-content[_ngcontent-%COMP%]{--background:var(--ion-color-primary)}.forgot-password[_ngcontent-%COMP%]{display:block;text-align:right}.connection-type[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]}),HG),UG=((NG=function(){function e(t,n,i,r,o){A(this,e),this.router=t,this.http=n,this.notificationService=o,this.loadingForm=!1,this.loading=!1,this.newLogin={login:"",password:""},this.labelButton="lang.send",this.appVersion="",this.appAuthor="",i.addSvgIcon("maarchLogo",r.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg"))}return m(e,[{key:"ngOnInit",value:function(){}},{key:"generateLink",value:function(){var e=this;this.labelButton="lang.generation",this.loading=!0,this.http.post("../rest/password",{login:this.newLogin.login}).pipe(hw(function(){e.labelButton="lang.send",e.loading=!1})).subscribe(function(t){e.loadingForm=!0,e.notificationService.success("lang.requestSentByEmail"),e.router.navigate(["/login"])},function(t){e.notificationService.handleErrors(t)})}}]),e}()).\u0275fac=function(e){return new(e||NG)(rs(jk),rs(lb),rs(VB),rs(Wf),rs(wP))},NG.\u0275cmp=ft({type:NG,selectors:[["ng-component"]],decls:28,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","floating"],["name","login","matInput","","type","text","oninput","this.value = this.value.toLowerCase()",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"ion-content",null,3),ss(9,"form",4,5),ms("ngSubmit",function(){return t.generateLink()}),ss(11,"ion-grid"),ss(12,"ion-row"),ss(13,"ion-col",6),ss(14,"ion-card",7),us(15,"ion-card-content",8),Du(16,"translate"),ls(),ss(17,"ion-item"),ss(18,"ion-label",9),Qs(19),Du(20,"translate"),ls(),ss(21,"ion-input",10),ms("ngModelChange",function(e){return t.newLogin.login=e}),ls(),ls(),ls(),ls(),ls(),ss(22,"ion-item",11),ss(23,"div",12),ss(24,"ion-button",13),ss(25,"ion-label",14),Qs(26),Du(27,"translate"),ls(),ls(),ls(),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(5),Xs(Ou(6,7,"lang.forgotPassword")),xo(10),os("innerHTML",Ou(16,9,"lang.afterClickingSendLinkChangePassword"),Ar),xo(4),Ks("",Ou(20,11,"lang.enterLogin")," *"),xo(2),os("ngModel",t.newLogin.login),xo(3),os("disabled",""==t.newLogin.login||t.loading),xo(2),Xs(Ou(27,13,t.labelButton)))},directives:[KC,MS,FC,IC,eE,DS,WC,Zm,fm,Wm,XC,bS,UC,BC,zC,iS,sS,nS,nA,hm,Ym,LC],pipes:[mP],styles:[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-200px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]}),NG);function WG(e,t){if(1&e&&(ss(0,"ion-note",22),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks();xo(1),Ks(" ",Ou(2,1,n.handlePassword.errorMsg),"")}}function GG(e,t){1&e&&(ss(0,"ion-note",23),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.samePassword"),""))}function qG(e,t){1&e&&(ss(0,"ion-note",22),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.passwordNotMatch"),""))}var YG,ZG,QG=((ZG=function(){function e(t,n,i,r,o,a,s,l){var u=this;A(this,e),this.translate=t,this.router=n,this.route=i,this.http=r,this.notificationService=s,this.menu=l,this.loadingForm=!1,this.loading=!1,this.token="",this.password={newPassword:"",passwordConfirmation:""},this.labelButton="lang.update",this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.handlePassword={error:!1,errorMsg:""},this.ruleText="",this.otherRuleText="",o.addSvgIcon("maarchLogo",a.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.route.queryParams.subscribe(function(e){u.token=e.token})}return m(e,[{key:"ngOnInit",value:function(){this.getPassRules()}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}},{key:"updatePassword",value:function(){var e=this;this.labelButton="lang.sending",this.loading=!0,this.http.put("../rest/password",{token:this.token,password:this.password.newPassword}).pipe(hw(function(){e.labelButton="lang.update",e.loading=!1})).subscribe(function(t){e.loadingForm=!0,e.notificationService.success("lang.passwordChanged"),e.router.navigate(["/login"])},function(t){e.notificationService.handleErrors(t)})}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"getPassRules",value:function(){var e=this;this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[];t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&e.translate.get("lang.minLengthChar",{charLength:t.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&n.push("lang.upperRequired")):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&n.push("lang.specialCharRequired")):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&e.translate.get("lang.renewalInfo",{time:t.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&e.translate.get("lang.historyUseInfo",{countPwd:t.value}).subscribe(function(e){i.push(e)}))}),e.ruleText=n.join(", "),e.otherRuleText=i.join("<br/>")},function(t){e.notificationService.handleErrors(t)})}},{key:"allowValidate",value:function(){return!(!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}}]),e}()).\u0275fac=function(e){return new(e||ZG)(rs(vP),rs(jk),rs(b_),rs(lb),rs(VB),rs(Wf),rs(wP),rs(dE))},ZG.\u0275cmp=ft({type:ZG,selectors:[["ng-component"]],decls:47,vars:35,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","stacked"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium","routerLink","/login"],["color","danger"],["color","success"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"ion-content",null,3),ss(9,"form",4,5),ms("ngSubmit",function(){return t.updatePassword()}),ss(11,"ion-grid"),ss(12,"ion-row"),ss(13,"ion-col",6),ss(14,"ion-card",7),us(15,"ion-card-content",8),Du(16,"translate"),ls(),ss(17,"ion-item"),ss(18,"ion-label",9),Qs(19),Du(20,"translate"),ls(),ss(21,"ion-input",10),ms("ngModelChange",function(e){return t.password.newPassword=e})("keyup",function(){return t.checkPasswordValidity(t.password.newPassword)}),Du(22,"translate"),ls(),ss(23,"ion-button",11),ms("click",function(){return t.hideNewPassword=!t.hideNewPassword}),us(24,"ion-icon",12),ls(),ns(25,WG,3,3,"ion-note",13),ls(),ss(26,"ion-item"),ss(27,"ion-label",9),Qs(28),Du(29,"translate"),ls(),ss(30,"ion-input",14),ms("ngModelChange",function(e){return t.password.passwordConfirmation=e}),Du(31,"translate"),ls(),ss(32,"ion-button",11),ms("click",function(){return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),us(33,"ion-icon",12),ls(),ls(),ss(34,"ion-item",15),ns(35,GG,3,3,"ion-note",16),ns(36,qG,3,3,"ion-note",13),ls(),ls(),ls(),ls(),ss(37,"ion-item",17),ss(38,"div",18),ss(39,"ion-button",19),ss(40,"ion-label",20),Qs(41),Du(42,"translate"),ls(),ls(),ss(43,"ion-button",21),ss(44,"ion-label",20),Qs(45),Du(46,"translate"),ls(),ls(),ls(),ls(),ls(),ls()),2&e&&(os("translucent",!0),xo(5),Xs(Ou(6,19,"lang.newPassword")),xo(10),os("innerHTML",Ou(16,21,"lang.logInOncePasswordChanged"),Ar),xo(4),Xs(Ou(20,23,"lang.newPassword")),xo(2),Ss("placeholder",Ou(22,25,"lang.newPassword")),os("ngModel",t.password.newPassword)("type",t.hideNewPassword?"password":"text"),xo(3),os("name",t.hideNewPassword?"eye-outline":"eye-off-outline"),xo(1),os("ngIf",t.handlePassword.error),xo(3),Ks("",Ou(29,27,"lang.passwordConfirmation")," "),xo(2),Ss("placeholder",Ou(31,29,"lang.passwordConfirmation")),os("ngModel",t.password.passwordConfirmation)("type",t.hideNewPasswordConfirm?"password":"text"),xo(3),os("name",t.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),xo(2),os("ngIf",t.password.passwordConfirmation===t.password.newPassword&&t.password.newPassword.length>0&&t.password.passwordConfirmation.length>0),xo(1),os("ngIf",t.password.passwordConfirmation!==t.password.newPassword),xo(3),os("disabled",t.allowValidate()||t.loading),xo(2),Xs(Ou(42,31,t.labelButton)),xo(4),Xs(Ou(46,33,"lang.cancel")))},directives:[KC,MS,FC,IC,eE,DS,WC,Zm,fm,Wm,XC,bS,UC,BC,zC,iS,sS,nS,nA,hm,Ym,LC,JC,mh,tE,Uk,fS],pipes:[mP],styles:[".login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-230px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}"]}),ZG),XG=((YG=function(){function e(t,n,i,r){A(this,e),this.http=t,this.translate=n,this.notify=i,this.signaturesService=r,this.loading=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0},lockTime:{enabled:!1,value:0},lockAttempts:{enabled:!1,value:0}},this.passwordRulesClone={},this.passwordRulesList=[]}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.http.get("../rest/passwordRules").subscribe(function(t){e.passwordRulesList=t.rules,t.rules.forEach(function(t){e.passwordRules[t.label].enabled=t.enabled,e.passwordRules[t.label].value=t.value,e.passwordRules[t.label].label=e.translate.instant("lang.password_"+t.label+"Required"),e.passwordRules[t.label].id=t.label,e.loading=!1}),e.passwordRulesClone=JSON.parse(JSON.stringify(e.passwordRules))},function(t){e.notify.error(t.error.errors)})}},{key:"cancelModification",value:function(){var e=this;this.passwordRules=JSON.parse(JSON.stringify(this.passwordRulesClone)),this.passwordRulesList.forEach(function(t){t.enabled=e.passwordRules[t.label].enabled,t.value=e.passwordRules[t.label].value})}},{key:"checkModif",value:function(){return JSON.stringify(this.passwordRules)===JSON.stringify(this.passwordRulesClone)}},{key:"disabledForm",value:function(){return!(this.passwordRules.lockTime.enabled||this.passwordRules.minLength.enabled||this.passwordRules.lockAttempts.enabled||this.passwordRules.renewal.enabled||this.passwordRules.historyLastUse.enabled)}},{key:"toggleRule",value:function(e){var t=this;this.passwordRulesList.forEach(function(n){"lockAttempts"!==e.id||"lockTime"!==n.label&&"lockAttempts"!==n.label?e.id===n.label&&(n.enabled=e.enabled):(n.enabled=e.enabled,t.passwordRules.lockTime.enabled=e.enabled)})}},{key:"onSubmit",value:function(){var e=this;this.passwordRulesList.forEach(function(t){t.enabled=e.passwordRules[t.label].enabled,t.value=e.passwordRules[t.label].value}),this.http.put("../rest/passwordRules",{rules:this.passwordRulesList}).subscribe(function(){e.passwordRulesClone=JSON.parse(JSON.stringify(e.passwordRules)),e.notify.success("lang.passwordRulesUpdated")},function(t){e.notify.error(t.error.errors)})}}]),e}()).\u0275fac=function(e){return new(e||YG)(rs(lb),rs(vP),rs(wP),rs(DP))},YG.\u0275cmp=ft({type:YG,selectors:[["ng-component"]],decls:69,vars:49,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","passwordForm",2,"display","contents",3,"ngSubmit"],["passwordForm","ngForm"],["color","secondary"],["slot","start","name","complexityUpper",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexityNumber",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexitySpecial",3,"ngModel","checked","ngModelChange"],["slot","start","name","minLengthToggle",3,"ngModel","checked","ngModelChange"],["color","secondary","position","floating"],["name","minLength","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","end"],["slot","start","name","lockAttemptsToggle",3,"ngModel","checked","ngModelChange"],["name","lockAttempts","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["name","lockTime","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","renewalToggle",3,"ngModel","checked","ngModelChange"],["name","renewal","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","historyLastUseToggle",3,"ngModel","checked","ngModelChange"],["name","historyLastUse","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){if(1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),ls(),ls(),ls(),ss(8,"form",4,5),ms("ngSubmit",function(){return t.onSubmit()}),ss(10,"ion-content"),ss(11,"ion-row"),ss(12,"ion-col"),ss(13,"ion-item"),ss(14,"ion-label",6),Qs(15),ls(),ss(16,"ion-toggle",7),ms("ngModelChange",function(e){return t.passwordRules.complexityUpper.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityUpper)}),ls(),ls(),ls(),ss(17,"ion-col"),ss(18,"ion-item"),ss(19,"ion-label",6),Qs(20),ls(),ss(21,"ion-toggle",8),ms("ngModelChange",function(e){return t.passwordRules.complexityNumber.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityNumber)}),ls(),ls(),ls(),ss(22,"ion-col"),ss(23,"ion-item"),ss(24,"ion-label",6),Qs(25),ls(),ss(26,"ion-toggle",9),ms("ngModelChange",function(e){return t.passwordRules.complexitySpecial.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexitySpecial)}),ls(),ls(),ls(),ls(),ss(27,"ion-item"),ss(28,"ion-toggle",10),ms("ngModelChange",function(e){return t.passwordRules.minLength.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.minLength)}),ls(),ss(29,"ion-label",11),Qs(30),ls(),ss(31,"ion-input",12),ms("ngModelChange",function(e){return t.passwordRules.minLength.value=e}),ls(),ss(32,"ion-note",13),Qs(33),Du(34,"translate"),ls(),ls(),ss(35,"ion-row"),ss(36,"ion-col"),ss(37,"ion-item"),ss(38,"ion-toggle",14),ms("ngModelChange",function(e){return t.passwordRules.lockAttempts.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.lockAttempts)}),ls(),ss(39,"ion-label",11),Qs(40),ls(),ss(41,"ion-input",15),ms("ngModelChange",function(e){return t.passwordRules.lockAttempts.value=e}),ls(),ls(),ls(),ss(42,"ion-col"),ss(43,"ion-item"),ss(44,"ion-label",11),Qs(45),ls(),ss(46,"ion-input",16),ms("ngModelChange",function(e){return t.passwordRules.lockTime.value=e}),ls(),ss(47,"ion-note",13),Qs(48),Du(49,"translate"),ls(),ls(),ls(),ls(),ss(50,"ion-item"),ss(51,"ion-toggle",17),ms("ngModelChange",function(e){return t.passwordRules.renewal.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.renewal)}),ls(),ss(52,"ion-label",11),Qs(53),ls(),ss(54,"ion-input",18),ms("ngModelChange",function(e){return t.passwordRules.renewal.value=e}),ls(),ss(55,"ion-note",13),Qs(56),Du(57,"translate"),ls(),ls(),ss(58,"ion-item"),ss(59,"ion-toggle",19),ms("ngModelChange",function(e){return t.passwordRules.historyLastUse.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.historyLastUse)}),ls(),ss(60,"ion-label",11),Qs(61),ls(),ss(62,"ion-input",20),ms("ngModelChange",function(e){return t.passwordRules.historyLastUse.value=e}),ls(),ls(),ss(63,"ion-item",21),ss(64,"div",22),ss(65,"ion-button",23),ss(66,"ion-label",24),Qs(67),Du(68,"translate"),ls(),ls(),ls(),ls(),ls(),ls()),2&e){var n=is(9);os("translucent",!0),xo(6),Xs(Ou(7,39,"lang.manage_password_rules")),xo(9),Xs(t.passwordRules.complexityUpper.label),xo(1),os("ngModel",t.passwordRules.complexityUpper.enabled)("checked",t.passwordRules.complexityUpper.enabled),xo(4),Xs(t.passwordRules.complexityNumber.label),xo(1),os("ngModel",t.passwordRules.complexityNumber.enabled)("checked",t.passwordRules.complexityNumber.enabled),xo(4),Xs(t.passwordRules.complexitySpecial.label),xo(1),os("ngModel",t.passwordRules.complexitySpecial.enabled)("checked",t.passwordRules.complexitySpecial.enabled),xo(2),os("ngModel",t.passwordRules.minLength.enabled)("checked",t.passwordRules.minLength.enabled),xo(2),Xs(t.passwordRules.minLength.label),xo(1),os("disabled",!t.passwordRules.minLength.enabled)("ngModel",t.passwordRules.minLength.value),xo(2),Xs(Ou(34,41,"lang.chars")),xo(5),os("ngModel",t.passwordRules.lockAttempts.enabled)("checked",t.passwordRules.lockAttempts.enabled),xo(2),Xs(t.passwordRules.lockAttempts.label),xo(1),os("disabled",!t.passwordRules.lockAttempts.enabled)("ngModel",t.passwordRules.lockAttempts.value),xo(4),Xs(t.passwordRules.lockTime.label),xo(1),os("disabled",!t.passwordRules.lockTime.enabled)("ngModel",t.passwordRules.lockTime.value),xo(2),Xs(Ou(49,43,"lang.minutes")),xo(3),os("ngModel",t.passwordRules.renewal.enabled)("checked",t.passwordRules.renewal.enabled),xo(2),Xs(t.passwordRules.renewal.label),xo(1),os("disabled",!t.passwordRules.renewal.enabled)("ngModel",t.passwordRules.renewal.value),xo(2),Xs(Ou(57,45,"lang.days")),xo(3),os("ngModel",t.passwordRules.historyLastUse.enabled)("checked",t.passwordRules.historyLastUse.enabled),xo(2),Xs(t.passwordRules.historyLastUse.label),xo(1),os("disabled",!t.passwordRules.historyLastUse.enabled)("ngModel",t.passwordRules.historyLastUse.value),xo(3),os("disabled",!n.valid&&!t.disabledForm()||t.checkModif()),xo(2),Xs(Ou(68,47,"lang.validate"))}},directives:[KC,MS,FC,dS,IC,eE,DS,Zm,fm,Wm,WC,bS,UC,iS,sS,OS,Jx,hm,Ym,nS,nA,Ey,fS,LC],pipes:[mP],encapsulation:2}),YG);function KG(e,t){1&e&&(ss(0,"ion-note",17),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.requiredField")))}function JG(e,t){1&e&&(ss(0,"ion-item",26),us(1,"ion-icon",27),ss(2,"ion-label",28),Qs(3),Du(4,"translate"),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.passwordValid")))}function $G(e,t){1&e&&(ss(0,"ion-item",26),us(1,"ion-icon",27),ss(2,"ion-label",28),Qs(3),Du(4,"translate"),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.passwordMatch")))}function eq(e,t){1&e&&us(0,"ion-item",29),2&e&&os("innerHTML",ks().otherRuleText,Ar)}var tq,nq=((tq=function(){function e(t,n,i,r,o,a,s){A(this,e),this.http=t,this.notify=n,this._formBuilder=i,this.translate=r,this.signaturesService=o,this.authService=a,this.router=s,this.config={},this.loading=!1,this.user={},this.ruleText="",this.hidePassword=!0,this.validPassword=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.user=JSON.parse(atob(this.authService.getToken().split(".")[1])).user}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[],r=[];n.push(Nv.required),t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&(n.push(Nv.minLength(e.passwordRules.minLength.value)),i.push(t.value+" "+e.translate.instant("lang.password_"+t.label)))):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&r.push(e.translate.instant("lang.password_"+t.label)+" <b>"+t.value+" "+e.translate.instant("lang.days")+"</b>. "+e.translate.instant("lang.password2_"+t.label)+".")):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&r.push(e.translate.instant("lang.password_historyLastUseDesc")+" <b>"+t.value+"</b> "+e.translate.instant("lang.password_historyLastUseDesc2")+"."))}),e.ruleText=i.join(", "),e.otherRuleText=r.join("<br/>"),e.firstFormGroup.controls.newPasswordCtrl.setValidators(n)},function(t){e.notify.error(t.error.errors)}),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",Nv.compose([Nv.required])],currentPasswordCtrl:["",Nv.compose([Nv.required])]},{validator:this.matchValidator})}},{key:"regexValidator",value:function(e,t){return function(n){return n.value?e.test(n.value)?null:t:null}}},{key:"matchValidator",value:function(e){return e.controls.newPasswordCtrl.value!==e.controls.retypePasswordCtrl.value&&(e.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})}},{key:"getErrorMessage",value:function(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!==this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.translate.instant("lang.requiredField")+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.translate.instant("lang.password_minLength")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.translate.instant("lang.password_complexityUpper")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.translate.instant("lang.password_complexityNumber")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.translate.instant("lang.password_complexitySpecial")+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")}},{key:"onSubmit",value:function(){var e=this;this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.passwordConfirmation=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../rest/users/"+this.user.id+"/password",this.passwordModel).subscribe(function(){e.notify.success(e.translate.instant("lang.passwordChanged")),void 0===e.authService.user.picture&&e.http.get("../rest/users/"+e.authService.user.id+"/picture").subscribe(function(t){e.authService.user.picture=t.picture}),e.router.navigate(["/home"])},function(t){e.notify.handleErrors(t)})}},{key:"logout",value:function(){this.authService.logout()}}]),e}()).\u0275fac=function(e){return new(e||tq)(rs(lb),rs(wP),rs(My),rs(vP),rs(DP),rs(MP),rs(jk))},tq.\u0275cmp=ft({type:tq,selectors:[["ng-component"]],decls:68,vars:53,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],[2,"display","contents",3,"formGroup","ngSubmit"],["offset","3","size","6"],[1,"info"],["color","secondary","position","stacked"],["formControlName","currentPasswordCtrl","required","",3,"placeholder","type"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["lines","full"],["color","dark"],["formControlName","newPasswordCtrl","required","",3,"placeholder","type"],["inputPasswd",""],["lines","none",4,"ngIf"],["color","danger"],["required","","formControlName","retypePasswordCtrl",3,"placeholder","type"],["inputPasswd2",""],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","default",3,"click"],["color","warning","class","alert-warning","role","alert",3,"innerHTML",4,"ngIf"],["lines","none"],["slot","start","color","success","name","checkmark-outline"],["color","success"],["color","warning","role","alert",1,"alert-warning",3,"innerHTML"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),us(2,"ion-buttons",2),ss(3,"ion-title"),Qs(4),Du(5,"translate"),ls(),ls(),ls(),ss(6,"ion-content",null,3),ss(8,"form",4),ms("ngSubmit",function(){return t.onSubmit()}),ss(9,"ion-grid"),ss(10,"ion-row"),ss(11,"ion-col",5),ss(12,"ion-card",6),ss(13,"ion-card-content"),Qs(14),Du(15,"translate"),ss(16,"b"),Qs(17),ls(),Qs(18),Du(19,"translate"),ls(),ls(),ss(20,"ion-item"),ss(21,"ion-label",7),Qs(22),Du(23,"translate"),ls(),us(24,"ion-input",8),Du(25,"translate"),ss(26,"ion-button",9),ms("click",function(){return t.hidePassword=!t.hidePassword}),us(27,"ion-icon",10),ls(),ns(28,KG,3,3,"ion-note",11),ls(),ss(29,"ion-list-header",12),ss(30,"ion-label",13),Qs(31),ls(),ls(),ss(32,"ion-item"),ss(33,"ion-label",7),Qs(34),Du(35,"translate"),ls(),us(36,"ion-input",14,15),Du(38,"translate"),ss(39,"ion-button",9),ms("click",function(){return t.hidePassword=!t.hidePassword}),us(40,"ion-icon",10),ls(),ns(41,JG,5,3,"ion-item",16),ss(42,"ion-note",17),Qs(43),ls(),ls(),ss(44,"ion-item"),ss(45,"ion-label",7),Qs(46),Du(47,"translate"),ls(),us(48,"ion-input",18,19),Du(50,"translate"),ss(51,"ion-button",9),ms("click",function(){return t.hidePassword=!t.hidePassword}),us(52,"ion-icon",10),ls(),ns(53,$G,5,3,"ion-item",16),ss(54,"ion-note",17),Qs(55),Du(56,"translate"),ls(),ls(),ls(),ls(),ls(),ss(57,"ion-item",20),ss(58,"div",21),ss(59,"ion-button",22),ss(60,"ion-label",23),Qs(61),Du(62,"translate"),ls(),ls(),ss(63,"ion-button",24),ms("click",function(){return t.logout()}),ss(64,"ion-label",23),Qs(65),Du(66,"translate"),ls(),ls(),ls(),ls(),ls(),ns(67,eq,1,1,"ion-item",25),ls()),2&e&&(os("translucent",!0),xo(4),Xs(Ou(5,29,"lang.passwordModification")),xo(4),os("formGroup",t.firstFormGroup),xo(6),Ks(" ",Ou(15,31,"lang.hello")," "),xo(3),Js(" ",t.user.firstname," ",t.user.lastname,""),xo(1),Ks(", ",Ou(19,33,"lang.changePasswordInfo"),". "),xo(4),Xs(Ou(23,35,"lang.typeCurrentPassword")),xo(2),Ss("placeholder",Ou(25,37,"lang.typeCurrentPassword")),os("type",t.hidePassword?"password":"text"),xo(3),os("name",t.hidePassword?"eye-outline":"eye-off-outline"),xo(1),os("ngIf",t.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),xo(3),Xs(t.ruleText),xo(3),Ks("",Ou(35,39,"lang.passwordConfirmation")," "),xo(2),Ss("placeholder",Ou(38,41,"lang.passwordConfirmation")),os("type",t.hidePassword?"password":"text"),xo(4),os("name",t.hidePassword?"eye-outline":"eye-off-outline"),xo(1),os("ngIf",t.validPassword),xo(2),Xs(t.getErrorMessage()),xo(3),Ks("",Ou(47,43,"lang.passwordConfirmation")," "),xo(2),Ss("placeholder",Ou(50,45,"lang.passwordConfirmation")),os("type",t.hidePassword?"password":"text"),xo(4),os("name",t.hidePassword?"eye-outline":"eye-off-outline"),xo(1),os("ngIf",!t.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=t.firstFormGroup.controls.retypePasswordCtrl.value),xo(2),Xs(Ou(56,47,"lang.passwordNotMatch")),xo(4),os("disabled",!t.firstFormGroup.valid),xo(2),Xs(Ou(62,49,"lang.validate")),xo(4),Xs(Ou(66,51,"lang.logout")),xo(2),os("ngIf",t.passwordRules.renewal.enabled||t.passwordRules.historyLastUse.enabled))},directives:[KC,MS,FC,DS,WC,Zm,fm,ey,XC,bS,UC,BC,zC,iS,sS,nS,nA,hm,ny,xy,LC,JC,mh,uS,fS],pipes:[mP],styles:[".alert-warning[_ngcontent-%COMP%]{text-align:center;width:100%;margin:0;color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc;padding-top:15px;padding-bottom:15px}.alert-warning[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{left:0;bottom:0;position:absolute}.container[_ngcontent-%COMP%]{margin-top:-63px;display:flex;flex-direction:column;top:64px;right:0;height:100%}"]}),tq),iq=u("b0Xh"),rq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},oq=["passwordContent"];function aq(e,t){if(1&e&&(ss(0,"ion-note",35),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(3);xo(1),Ks(" ",Ou(2,1,n.handlePassword.errorMsg),"")}}function sq(e,t){if(1&e){var n=fs();ss(0,"div"),ss(1,"ion-list-header",26),ss(2,"ion-label",1),Qs(3),Du(4,"translate"),ls(),ls(),ss(5,"ion-item"),ss(6,"ion-label",29),Qs(7),Du(8,"translate"),ls(),ss(9,"ion-input",30),ms("ngModelChange",function(e){return nn(n),ks(2).password.currentPassword=e}),Du(10,"translate"),ls(),ss(11,"ion-button",31),ms("click",function(){nn(n);var e=ks(2);return e.hideCurrentPassword=!e.hideCurrentPassword}),us(12,"ion-icon",32),ls(),ls(),ss(13,"ion-item"),ss(14,"ion-label",29),Qs(15),Du(16,"translate"),ls(),ss(17,"ion-input",33),ms("ngModelChange",function(e){return nn(n),ks(2).password.newPassword=e})("keyup",function(){nn(n);var e=ks(2);return e.checkPasswordValidity(e.password.newPassword)}),Du(18,"translate"),ls(),ss(19,"ion-button",31),ms("click",function(){nn(n);var e=ks(2);return e.hideNewPassword=!e.hideNewPassword}),us(20,"ion-icon",32),ls(),ns(21,aq,3,3,"ion-note",28),ls(),ss(22,"ion-item"),ss(23,"ion-label",29),Qs(24),Du(25,"translate"),ls(),ss(26,"ion-input",34),ms("ngModelChange",function(e){return nn(n),ks(2).password.passwordConfirmation=e}),Du(27,"translate"),ls(),ss(28,"ion-button",31),ms("click",function(){nn(n);var e=ks(2);return e.hideNewPasswordConfirm=!e.hideNewPasswordConfirm}),us(29,"ion-icon",32),ls(),ls(),ls()}if(2&e){var i=ks(2);xo(3),Xs(Ou(4,17,"lang.changePassword")),xo(4),Xs(Ou(8,19,"lang.currentPassword")),xo(2),Ss("placeholder",Ou(10,21,"lang.currentPassword")),os("ngModel",i.password.currentPassword)("type",i.hideCurrentPassword?"password":"text"),xo(3),os("name",i.hideCurrentPassword?"eye-outline":"eye-off-outline"),xo(3),Xs(Ou(16,23,"lang.newPassword")),xo(2),Ss("placeholder",Ou(18,25,"lang.newPassword")),os("ngModel",i.password.newPassword)("type",i.hideNewPassword?"password":"text"),xo(3),os("name",i.hideNewPassword?"eye-outline":"eye-off-outline"),xo(1),os("ngIf",i.handlePassword.error),xo(3),Ks("",Ou(25,27,"lang.passwordConfirmation")," "),xo(2),Ss("placeholder",Ou(27,29,"lang.passwordConfirmation")),os("ngModel",i.password.passwordConfirmation)("type",i.hideNewPasswordConfirm?"password":"text"),xo(3),os("name",i.hideNewPasswordConfirm?"eye-outline":"eye-off-outline")}}function lq(e,t){1&e&&(ss(0,"ion-note",36),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.samePassword"),""))}function uq(e,t){1&e&&(ss(0,"ion-note",35),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.passwordNotMatch"),""))}function cq(e,t){if(1&e){var n=fs();cs(0),ss(1,"ion-list",16),ss(2,"ion-item"),ss(3,"ion-avatar",17),ms("click",function(){return nn(n),is(10).click()}),us(4,"img",18),ls(),ss(5,"ion-label",19),Qs(6),Du(7,"translate"),ls(),ss(8,"ion-input",20),ms("ngModelChange",function(e){return nn(n),ks().profileInfo.login=e}),ls(),ss(9,"input",21,22),ms("change",function(e){return nn(n),ks().handleFileInput(e.target.files)}),ls(),ls(),ss(11,"ion-item"),ss(12,"ion-label",19),Qs(13),Du(14,"translate"),ls(),ss(15,"ion-input",23),ms("ngModelChange",function(e){return nn(n),ks().profileInfo.email=e}),ls(),ls(),ss(16,"ion-item"),ss(17,"ion-label",19),Qs(18),Du(19,"translate"),ls(),ss(20,"ion-input",24),ms("ngModelChange",function(e){return nn(n),ks().profileInfo.firstname=e}),ls(),ls(),ss(21,"ion-item"),ss(22,"ion-label",19),Qs(23),Du(24,"translate"),ls(),ss(25,"ion-input",25),ms("ngModelChange",function(e){return nn(n),ks().profileInfo.lastname=e}),ls(),ls(),ns(26,sq,30,31,"div",14),ss(27,"ion-item",26),ns(28,lq,3,3,"ion-note",27),ns(29,uq,3,3,"ion-note",28),ls(),ls(),ds()}if(2&e){var i=ks();xo(4),os("src",i.avatarInfo.picture,Cr),xo(2),Xs(Ou(7,19,"lang.login")),xo(2),os("maxlength",128)("ngModel",i.profileInfo.login),xo(5),Xs(Ou(14,21,"lang.email")),xo(2),os("maxlength",128)("ngModel",i.profileInfo.email)("readonly","default"!==i.authService.authMode),xo(3),Xs(Ou(19,23,"lang.firstname")),xo(2),os("maxlength",128)("ngModel",i.profileInfo.firstname)("readonly","default"!==i.authService.authMode),xo(3),Xs(Ou(24,25,"lang.lastname")),xo(2),os("maxlength",128)("ngModel",i.profileInfo.lastname)("readonly","default"!==i.authService.authMode),xo(1),os("ngIf","default"===i.authService.authMode),xo(2),os("ngIf",i.password.passwordConfirmation===i.password.newPassword&&i.password.newPassword.length>0&&i.password.passwordConfirmation.length>0),xo(1),os("ngIf",i.password.passwordConfirmation!==i.password.newPassword)}}function dq(e,t){if(1&e&&(ss(0,"ion-select-option",63),Qs(1),Du(2,"translate"),ls()),2&e){var n=t.$implicit;os("value",n),xo(1),Xs(Ou(2,2,"lang."+n))}}function hq(e,t){1&e&&(us(0,"ion-note",64),Du(1,"translate")),2&e&&os("innerHTML",Ou(1,1,"lang.freeModeInfo"),Ar)}function fq(e,t){1&e&&(us(0,"ion-note",64),Du(1,"translate")),2&e&&os("innerHTML",Ou(1,1,"lang.standardModeInfo"),Ar)}function pq(e,t){if(1&e&&(ss(0,"ion-select-option",63),Qs(1),ls()),2&e){var n=t.index;os("value",n+1),xo(1),Ks("",n+1," ")}}var gq=function(e){return{value:e}};function vq(e,t){if(1&e&&(us(0,"ion-note",65),Du(1,"translate")),2&e){var n=ks(2);os("innerHTML",Mu(1,1,"lang.scalingDocWith",Au(4,gq,n.signatureScaling)),Ar)}}function mq(e,t){if(1&e){var n=fs();cs(0),ss(1,"ion-list",16),ss(2,"ion-item"),ss(3,"ion-label"),Qs(4),Du(5,"translate"),ls(),ss(6,"ion-toggle",37),ms("ionChange",function(){nn(n);var e=ks();return e.preferenceInfo.notifications=!e.preferenceInfo.notifications}),ls(),ls(),ss(7,"ion-list"),ss(8,"ion-item"),ss(9,"ion-label",38),Qs(10),Du(11,"translate"),ls(),ss(12,"ion-select",39),ms("ngModelChange",function(e){return nn(n),ks().preferenceInfo.lang=e}),ns(13,dq,3,4,"ion-select-option",40),ls(),ls(),ls(),ss(14,"ion-list"),ss(15,"ion-item"),ss(16,"ion-label",38),Qs(17),Du(18,"translate"),ls(),ss(19,"ion-select",41),ms("ngModelChange",function(e){return nn(n),ks().preferenceInfo.writingMode=e}),ss(20,"ion-select-option",42),Qs(21),Du(22,"translate"),ls(),ss(23,"ion-select-option",43),Qs(24),Du(25,"translate"),us(26,"i",44),ls(),ls(),ns(27,hq,2,3,"ion-note",45),ns(28,fq,2,3,"ion-note",45),ls(),ls(),ss(29,"ion-list"),ss(30,"ion-item"),ss(31,"ion-label",38),Qs(32),Du(33,"translate"),ls(),ss(34,"ion-select",46),ms("ngModelChange",function(e){return nn(n),ks().preferenceInfo.writingSize=e})("ionChange",function(){return nn(n),ks().drawSample()}),ns(35,pq,2,2,"ion-select-option",40),ls(),ss(36,"ion-note",2),us(37,"canvas",47),ls(),ls(),ls(),ss(38,"ion-list"),ss(39,"ion-item"),ss(40,"ion-label",38),Qs(41),Du(42,"translate"),ls(),ss(43,"ion-select",48),ms("ngModelChange",function(e){return nn(n),ks().preferenceInfo.writingColor=e}),ss(44,"ion-select-option",49),Qs(45),Du(46,"translate"),ls(),ss(47,"ion-select-option",50),Qs(48),Du(49,"translate"),ls(),ss(50,"ion-select-option",51),Qs(51),Du(52,"translate"),ls(),ls(),ss(53,"ion-note",2),us(54,"div",52),ls(),ls(),ls(),ss(55,"ion-list"),ss(56,"ion-row"),ss(57,"iotn-item"),ss(58,"ion-label",53),Qs(59),Du(60,"translate"),ls(),ls(),ls(),ss(61,"ion-row"),ss(62,"ion-col",54),ss(63,"ion-item",55),ss(64,"ion-range",56),ms("ngModelChange",function(e){return nn(n),ks().signatureScaling=e}),us(65,"ion-icon",57),us(66,"ion-icon",58),ls(),ls(),ns(67,vq,2,6,"ion-note",59),ls(),ss(68,"ion-col",60),ss(69,"ion-item",61),ss(70,"ion-label"),Qs(71),Du(72,"translate"),ls(),ss(73,"ion-toggle",62),ms("ionChange",function(){nn(n);var e=ks();return e.originalSize=!e.originalSize}),ls(),ls(),ls(),ls(),ls(),ls(),ds()}if(2&e){var i=ks();xo(4),Xs(Ou(5,27,"lang.receiveNotif")),xo(2),os("checked",i.preferenceInfo.notifications),xo(4),Xs(Ou(11,29,"lang.language")),xo(2),os("ngModel",i.preferenceInfo.lang),xo(1),os("ngForOf",i.profileInfo.availableLanguages),xo(4),Ks("",Ou(18,31,"lang.annotationMode")," "),xo(2),os("ngModel",i.preferenceInfo.writingMode),xo(2),Xs(Ou(22,33,"lang.free")),xo(3),Ks("",Ou(25,35,"lang.appleStylus")," "),xo(3),os("ngIf","stylus"===i.preferenceInfo.writingMode),xo(1),os("ngIf","direct"===i.preferenceInfo.writingMode),xo(4),Xs(Ou(33,37,"lang.stylusWidh")),xo(2),os("ngModel",i.preferenceInfo.writingSize),xo(1),os("ngForOf",i.counter(10)),xo(6),Xs(Ou(42,39,"lang.defaultColor")),xo(2),os("ngModel",i.preferenceInfo.writingColor),xo(2),Xs(Ou(46,41,"lang.black")),xo(3),Xs(Ou(49,43,"lang.blue")),xo(3),Xs(Ou(52,45,"lang.red")),xo(3),Ls("background-color",i.preferenceInfo.writingColor),xo(5),Xs(Ou(60,47,"lang.signatureScaling")),xo(5),os("disabled",i.originalSize)("ngModel",i.signatureScaling),xo(3),os("ngIf",!i.originalSize),xo(4),Xs(Ou(72,49,"lang.originalSize")),xo(2),os("checked",i.originalSize)}}function yq(e,t){if(1&e){var n=fs();ss(0,"ion-list"),ss(1,"ion-item"),us(2,"ion-input",66),ss(3,"ion-button",67),ms("click",function(){return nn(n),ks(2).deleteSubstitute()}),us(4,"ion-icon",68),ls(),ls(),ls()}if(2&e){var i=ks(2);xo(2),os("value",i.authService.user.substituteUser)}}function bq(e,t){if(1&e){var n=fs();ss(0,"ion-list"),ss(1,"ion-item"),ss(2,"ion-searchbar",69),ms("ionChange",function(e){return nn(n),ks(2).test(e)}),Du(3,"translate"),ls(),ls(),ls()}2&e&&(xo(2),os("placeholder",Ou(3,1,"lang.chooseSubstitute")))}function wq(e,t){if(1&e&&(ss(0,"ion-note",2),Qs(1),ls()),2&e){var n=ks().$implicit;xo(1),Xs(n.email)}}function _q(e,t){1&e&&(ss(0,"ion-note",74),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.delegatedUser")))}function kq(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-checkbox",71),ms("ionChange",function(e){return nn(n),ks(3).selectSubstitute(e.detail.value)}),ls(),ss(2,"ion-label"),Qs(3),ls(),ns(4,wq,2,1,"ion-note",72),ns(5,_q,3,3,"ion-note",73),ls()}if(2&e){var i=t.$implicit;xo(1),os("disabled",i.substitute)("value",i),xo(2),Js("",i.firstname," ",i.lastname,""),xo(1),os("ngIf",!i.substitute),xo(1),os("ngIf",i.substitute)}}function xq(e,t){if(1&e&&(ss(0,"ion-list"),ns(1,kq,6,6,"ion-item",70),ls()),2&e){var n=ks(2);xo(1),os("ngForOf",n.userList)}}function Aq(e,t){if(1&e){var n=fs();ss(0,"button",78),ms("click",function(){nn(n);var e=t.index;return ks(3).toggleSignature(e)}),us(1,"img",79),ls()}if(2&e){var i=t.$implicit,r=ks(3);Fs("selected",i.substituted),xo(1),os("src",r.sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Cr)}}function Cq(e,t){if(1&e&&(cs(0),ss(1,"ion-item",26),ss(2,"ion-label",75),Qs(3),Du(4,"translate"),ls(),ls(),ss(5,"div",76),ns(6,Aq,2,3,"button",77),ls(),ds()),2&e){var n=ks(2);xo(3),Ks(" ",Ou(4,2,"lang.signSubstituted")," : "),xo(3),os("ngForOf",n.signaturesService.signaturesList)}}function Sq(e,t){if(1&e&&(cs(0),ns(1,yq,5,1,"ion-list",14),ns(2,bq,4,3,"ion-list",14),ns(3,xq,2,1,"ion-list",14),ns(4,Cq,7,4,"ng-container",14),ds()),2&e){var n=ks();xo(1),os("ngIf",null!==n.authService.user.substitute),xo(1),os("ngIf",null===n.authService.user.substitute),xo(1),os("ngIf",null===n.authService.user.substitute),xo(1),os("ngIf",null!=n.authService.user.substitute&&n.signaturesService.signaturesList.length>0)}}function Eq(e,t){if(1&e){var n=fs();ss(0,"ion-footer",80),ss(1,"ion-toolbar"),ss(2,"ion-buttons",81),ss(3,"ion-button",82),ms("click",function(){return nn(n),ks().submitProfile()}),ss(4,"ion-label"),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ls(),ls()}if(2&e){var i=ks(),r=is(27);xo(3),os("disabled",i.allowValidate()||!r.form.valid),xo(2),Xs(Ou(6,2,"lang.save"))}}var Pq,Dq=function(){return["info","pref"]},Oq=((Pq=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){A(this,e),this.http=t,this.sanitizer=n,this.notificationService=i,this.signaturesService=r,this.authService=o,this.filtersService=a,this.modalController=s,this.renderer=l,this.translate=u,this.alertController=c,this.cookieService=d,this.router=h,this.currentTool="info",this.profileInfo={substitute:null,preferences:[]},this.preferenceInfo={},this.avatarInfo={picture:"",pictureOrientation:""},this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.password={currentPassword:"",newPassword:"",passwordConfirmation:""},this.handlePassword={error:!1,errorMsg:""},this.usersList=[],this.ruleText="",this.otherRuleText="",this.disableState=!1,this.msgButton="lang.validate",this.loading=!1,this.slideOpts={initialSlide:0,speed:400},this.showHideContent=!1,this.userList=[],this.signatureScaling=25,this.originalSize=!1}return m(e,[{key:"ngOnInit",value:function(){this.initProfileInfo(),this.getPassRules()}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"test",value:function(e){var t=this;""===e.detail.value?this.userList=[]:e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(uw(function(e){t.userList=e.filter(function(e){return e.id!==t.profileInfo.id})}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}},{key:"initProfileInfo",value:function(){this.profileInfo=JSON.parse(JSON.stringify(this.authService.user)),this.preferenceInfo=this.profileInfo.preferences,this.avatarInfo.picture=this.profileInfo.picture,void 0!==this.preferenceInfo.signatureScaling?!1===this.preferenceInfo.signatureScaling?this.originalSize=!0:this.signatureScaling=this.preferenceInfo.signatureScaling:this.originalSize=!0,delete this.profileInfo.picture,delete this.profileInfo.preferences}},{key:"initTab",value:function(e){var t=this;this.currentTool=e,"pref"===e&&setTimeout(function(){t.drawSample()},200)}},{key:"closeProfile",value:function(){var e=this;setTimeout(function(){e.initProfileInfo()},200),this.dismissModal()}},{key:"getPassRules",value:function(){var e=this;this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[];t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&e.translate.get("lang.minLengthChar",{charLength:t.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&n.push("lang.upperRequired")):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&n.push("lang.specialCharRequired")):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&e.translate.get("lang.renewalInfo",{time:t.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&e.translate.get("lang.historyUseInfo",{countPwd:t.value}).subscribe(function(e){i.push(e)}))}),e.ruleText=n.join(", "),e.otherRuleText=i.join("<br/>")},function(t){e.notificationService.handleErrors(t)})}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"allowValidate",value:function(){return!!this.disableState||!(""===this.password.newPassword||!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.currentPassword.length&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}},{key:"submitProfile",value:function(){return rq(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.disableState=!0,this.msgButton="lang.sending",this.preferenceInfo=Object.assign(Object.assign({},this.preferenceInfo),{signatureScaling:!this.originalSize&&this.signatureScaling}),this.http.put("../rest/users/"+this.authService.user.id+"/preferences",this.preferenceInfo).pipe(uw(function(){t.disableState=!1,t.msgButton="lang.validate",t.setLang(t.preferenceInfo.lang),t.cookieService.set("maarchParapheurLang",t.preferenceInfo.lang)}),Aj(function(){return"default"===t.authService.authMode?t.http.put("../rest/users/"+t.authService.user.id,t.profileInfo):new Promise(function(e){e(!0)})}),Aj(function(){if(t.authService.updateUserInfoWithTokenRefresh(),""===t.password.newPassword)return t.closeProfile(),t.notificationService.success("lang.profileUpdated"),Ty(!1);if("default"===t.authService.authMode){var e=new Vy({Authorization:"Bearer "+t.authService.getToken()});return t.http.put("../rest/users/"+t.authService.user.id+"/password",t.password,{observe:"response",headers:e})}return Ty(!1)}),Ry(function(e){return!!e}),uw(function(e){t.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),t.password.newPassword="",t.password.passwordConfirmation="",t.password.currentPassword="",t.notificationService.success("lang.profileUpdated")}),Zb(function(e){return 401===e.status?t.notificationService.error("lang.wrongPassword"):t.notificationService.handleErrors(e),Ty(!1)})).subscribe();case 1:case"end":return e.stop()}},e,this)}))}},{key:"changePicture",value:function(){var e=this;this.msgButton="lang.sending",this.disableState=!0,this.http.put("../rest/users/"+this.authService.user.id+"/picture",this.avatarInfo).pipe(uw(function(){e.authService.user.picture=e.avatarInfo.picture,e.notificationService.success("lang.profileUpdated")}),hw(function(){e.msgButton="lang.validate",e.disableState=!1})).subscribe()}},{key:"selectSubstitute",value:function(e){var t=this;this.userList=[],this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:e.id}).subscribe(function(){t.authService.updateUserInfoWithTokenRefresh(),t.filtersService.resfreshDocuments(),t.signaturesService.documentsList.length>0&&!1===t.signaturesService.documentsList[t.signaturesService.indexDocumentsList].owner&&t.router.navigate(["/documents"]),t.notificationService.success("lang.substituteEnabled")})}},{key:"deleteSubstitute",value:function(){return rq(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){var e=n.signaturesService.signaturesList.filter(function(e){return e.substituted});n.profileInfo.substitute=null,n.http.put("../rest/users/"+n.authService.user.id+"/substitute",{substitute:n.profileInfo.substitute}).pipe(uw(function(t){n.authService.updateUserInfoWithTokenRefresh(),n.filtersService.resfreshDocuments(),e.length>0&&e.forEach(function(e){n.http.patch("../rest/users/"+n.authService.user.id+"/signatures/"+e.id+"/substituted",{substituted:!1}).pipe(uw(function(){n.signaturesService.signaturesList.find(function(t){return t.id===e.id}).substituted=!1}),Zb(function(e){return n.notificationService.handleErrors(e),Ty(!1)})).subscribe()}),n.signaturesService.documentsList.length>0&&!1===n.signaturesService.documentsList[n.signaturesService.indexDocumentsList].owner&&n.router.navigate(["/documents"]),n.notificationService.success("lang.substitutionDeleted")}),Zb(function(e){return n.notificationService.handleErrors(e),Ty(!1)})).subscribe()}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"handleFileInput",value:function(e){var t=this;this.passwordContent&&this.passwordContent.close();var n=e.item(0);if(n.size<=5e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(n.type)){var i=new FileReader;i.onloadend=function(e){var n=new Image;n.src=i.result.toString(),t.avatarInfo.picture=i.result,n.onload=function(){return t.fixImgOrientation(n)}},i.readAsDataURL(n)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.imageTooBig")}},{key:"fixImgOrientation",value:function(e){var t=this;iq.getData(e,function(){var n=0;switch(iq.getTag(e,"Orientation")){case 3:n=180;break;case 6:n=90;break;case 8:n=-90}t.avatarInfo.pictureOrientation=n,t.changePicture()})}},{key:"drawSample",value:function(){var e=document.getElementById("sampleNote").getContext("2d");e.clearRect(0,0,100,100),e.beginPath(),e.lineWidth=this.preferenceInfo.writingSize,e.moveTo(0,0),e.lineTo(100,100),e.moveTo(100,0),e.lineTo(0,100),e.stroke()}},{key:"initProfileTab",value:function(e){1===e.index&&this.drawSample()}},{key:"counter",value:function(e){return new Array(e)}},{key:"setLang",value:function(e){this.translate.use(e)}},{key:"toggleSignature",value:function(e){var t=this;this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+this.signaturesService.signaturesList[e].id+"/substituted",{substituted:!this.signaturesService.signaturesList[e].substituted}).subscribe(function(){t.signaturesService.signaturesList[e].substituted=!t.signaturesService.signaturesList[e].substituted,t.notificationService.success("lang.modificationSaved")})}}]),e}()).\u0275fac=function(e){return new(e||Pq)(rs(lb),rs(Wf),rs(wP),rs(DP),rs(MP),rs(CU),rs(hE),rs(Pl),rs(vP),rs(uE),rs(LM),rs(jk))},Pq.\u0275cmp=ft({type:Pq,selectors:[["app-my-profile"]],viewQuery:function(e,t){var n;1&e&&Qu(oq,1),2&e&&Zu(n=Ku())&&(t.passwordContent=n.first)},decls:33,vars:19,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","pref"],["name","brush-outline"],["value","deleg"],["name","hand-left-outline"],[2,"display","contents",3,"ngSubmit"],["profileForm","ngForm"],[4,"ngIf"],["class","ion-no-border",4,"ngIf"],["lines","full",1,"ion-no-margin"],["slot","start",2,"cursor","pointer",3,"click"],[3,"src"],["color","secondary","position","floating"],["name","login","readonly","","required","",3,"maxlength","ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["name","email","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["color","danger",4,"ngIf"],["color","secondary","position","stacked"],["name","currentPassword",3,"ngModel","placeholder","type","ngModelChange"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["color","danger"],["color","success"],["slot","start",3,"checked","ionChange"],["position","floating","color","secondary"],["name","langUser",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","writingMode",3,"ngModel","ngModelChange"],["value","direct"],["value","stylus"],[1,"fab","fa-apple"],[3,"innerHTML",4,"ngIf"],["name","writingSize",3,"ngModel","ngModelChange","ionChange"],["id","sampleNote","width","100","height","100"],["name","writingColor",3,"ngModel","ngModelChange"],["value","#000000"],["value","#1a75ff"],["value","#FF0000"],[2,"height","25px","width","25px","border-radius","20px"],["color","secondary",2,"opacity","1","margin-left","15px"],["size","7"],["lines","none",2,"margin-left","-10px"],["min","10","max","50","pin","","color","primary","name","signatureScaling",3,"disabled","ngModel","ngModelChange"],["slot","start","size","small","name","scan-circle-outline"],["slot","end","name","scan-outline"],["style","margin-left: 20px; font-size: 14px;",3,"innerHTML",4,"ngIf"],["size","5"],["lines","none",2,"margin-top","22px","margin-left","10px"],["slot","start","name","originalSize","color","primary",2,"cursor","pointer",3,"checked","ionChange"],[3,"value"],[3,"innerHTML"],[2,"margin-left","20px","font-size","14px",3,"innerHTML"],["readonly","",3,"value"],["slot","end","color","danger",3,"click"],["name","close-outline"],[3,"placeholder","ionChange"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"disabled","value","ionChange"],["slot","end",4,"ngIf"],["slot","end","color","danger",4,"ngIf"],["slot","end","color","danger"],["color","secondary"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],["type","button","class","signListButton","mat-stroked-button","",3,"selected","click",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","",1,"signListButton",3,"click"],[2,"width","190px",3,"src"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled","click"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ss(5,"ion-buttons",2),ss(6,"ion-button",3),ms("click",function(){return t.dismissModal()}),us(7,"ion-icon",4),ls(),ls(),ls(),ls(),ss(8,"ion-header"),ss(9,"ion-toolbar"),ss(10,"ion-segment",5),ms("ionChange",function(e){return t.initTab(e.detail.value)}),ss(11,"ion-segment-button",6),ss(12,"ion-label"),Qs(13),Du(14,"translate"),ls(),us(15,"ion-icon",7),ls(),ss(16,"ion-segment-button",8),ss(17,"ion-label"),Qs(18),Du(19,"translate"),ls(),us(20,"ion-icon",9),ls(),ss(21,"ion-segment-button",10),ss(22,"ion-label"),Qs(23),Du(24,"translate"),ls(),us(25,"ion-icon",11),ls(),ls(),ls(),ls(),ss(26,"form",12,13),ms("ngSubmit",function(){return t.submitProfile()}),ss(28,"ion-content"),ns(29,cq,30,27,"ng-container",14),ns(30,mq,74,51,"ng-container",14),ns(31,Sq,5,4,"ng-container",14),ls(),ls(),ns(32,Eq,7,4,"ion-footer",15)),2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,10,"lang.myProfil")),xo(7),os("value",t.currentTool),xo(3),Xs(Ou(14,12,"lang.informations")),xo(5),Xs(Ou(19,14,"lang.preferences")),xo(5),Xs(Ou(24,16,"lang.substitute")),xo(6),os("ngIf","info"===t.currentTool),xo(1),os("ngIf","pref"===t.currentTool),xo(1),os("ngIf","deleg"===t.currentTool),xo(1),os("ngIf",xu(18,Dq).indexOf(t.currentTool)>-1))},directives:[KC,MS,DS,FC,LC,JC,_S,tA,kS,sS,Zm,fm,Wm,WC,mh,lS,iS,TC,nS,nA,xy,Cy,hm,Ym,Ey,uS,fS,OS,Jx,xS,gh,AS,bS,UC,vS,wS,HC,XF,QC],pipes:[mP],styles:['.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{margin-top:0}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.user[_ngcontent-%COMP%]{color:#fff;color:#f99830;position:absolute;top:15px;font-weight:700;font-size:20px}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.profile-content[_ngcontent-%COMP%]{padding:10px;text-align:center}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px;margin:10px;color:#fff;font-size:20px}.actions[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:65px;width:65px;font-size:35px}.actions[_ngcontent-%COMP%] .validate[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;font-size:20px}canvas[_ngcontent-%COMP%]{background-color:#f1f4f4}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center}legend[_ngcontent-%COMP%]{color:#f99830}.form-container[_ngcontent-%COMP%]{display:table;width:100%}.form-2-col[_ngcontent-%COMP%]{width:50%}.form-2-col[_ngcontent-%COMP%], .form-col[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.notification[_ngcontent-%COMP%]{text-align:left;padding:10px}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.mat-icon[_ngcontent-%COMP%]{height:auto}.selected[_ngcontent-%COMP%]{border:solid #f99830}.selectedSubstitute[_ngcontent-%COMP%]{width:100%}.selectedSubstitute[_ngcontent-%COMP%] .mat-input-element{cursor:default}.selectedSubstitute[_ngcontent-%COMP%] .mat-form-field-suffix{top:0;display:flex}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}']}),Pq);function Mq(e,t){if(1&e){var n=fs();ss(0,"ion-button",3),ms("click",function(){return nn(n),ks().menu.open("left-menu")}),Qs(1),Du(2,"translate"),ls()}2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.accessMenu")," "))}var Tq,Iq=((Tq=function(){function e(t,n,i,r){A(this,e),this.signaturesService=t,this.translate=n,this.menu=i,this.modalController=r,this.loading=!1}return m(e,[{key:"ngOnInit",value:function(){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu"),this.menu.open("left-menu")}}]),e}()).\u0275fac=function(e){return new(e||Tq)(rs(DP),rs(vP),rs(dE),rs(hE))},Tq.\u0275cmp=ft({type:Tq,selectors:[["ng-component"]],decls:3,vars:1,consts:[["color","primary"],["svgIcon","maarchLogo",1,"maarchLogo"],["class","menu-button","color","light","fill","outline","size","large",3,"click",4,"ngIf"],["color","light","fill","outline","size","large",1,"menu-button",3,"click"]],template:function(e,t){1&e&&(ss(0,"ion-content",0),us(1,"mat-icon",1),ns(2,Mq,3,3,"ion-button",2),ls()),2&e&&(xo(2),os("ngIf",t.signaturesService.mobileMode))},directives:[WC,$B,mh,LC],pipes:[mP],styles:[".maarchLogo[_ngcontent-%COMP%]{top:50%;width:250px;height:auto}.maarchLogo[_ngcontent-%COMP%], .menu-button[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%,-50%)}.menu-button[_ngcontent-%COMP%]{top:60%}"]}),Tq),Rq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function Lq(e,t){if(1&e){var n=fs();ss(0,"ion-chip",25),ms("click",function(){nn(n);var e=ks().$implicit,t=ks().index;return ks().goToSignUserPage(t,e.page)}),Du(1,"translate"),ss(2,"ion-label"),Qs(3),ls(),ls()}if(2&e){var i=ks().$implicit,r=ks().index,o=ks();os("title",Ou(1,3,"lang.accessToPage")+" "+i.page)("color",r===o.currentUser&&i.page===o.currentPage?"primary":"medium"),xo(3),Xs(i.page)}}function Fq(e,t){if(1&e&&(cs(0),ns(1,Lq,4,5,"ion-chip",24),ds()),2&e){var n=t.$implicit,i=ks().index;xo(1),os("ngIf",n.sequence==i)}}function Bq(e,t){if(1&e&&(ss(0,"ion-segment-button",21),ss(1,"ion-label"),ss(2,"h2"),Qs(3),ls(),ss(4,"p",22),ns(5,Fq,2,1,"ng-container",7),ls(),ls(),us(6,"ion-icon",23),ls()),2&e){var n=t.$implicit,i=t.index,r=ks();os("value",i),xo(3),Xs(n.userDisplay),xo(2),os("ngForOf",r.signList),xo(1),os("name","sign"===n.mode?"pencil-outline":"checkmark-done-outline")}}var zq=function(e,t){return{x:e,y:t}};function Vq(e,t){if(1&e){var n=fs();ss(0,"div",27),ms("movingOffset",function(){return nn(n),ks(2).dragging=!0})("endOffset",function(e){nn(n);var t=ks(2);return t.moveSign(e,t.i)})("click",function(){nn(n);var e=ks().$implicit,t=ks();return t.currentUser!=e.sequence&&t.goToSignUserPage(e.sequence,t.currentPage)}),ss(1,"ion-buttons",28),ss(2,"ion-button",29),ms("click",function(){nn(n);var e=ks().index;return ks().deleteSign(e)}),Du(3,"translate"),us(4,"ion-icon",30),ls(),ls(),ss(5,"span",31),Qs(6),ls(),Qs(7),Du(8,"uppercase"),Du(9,"translate"),ls()}if(2&e){var i=ks().$implicit,r=ks(),o=is(11);Ls("width",25,"%"),Fs("signDisabled",r.currentUser!==i.sequence)("hide",!r.pagesLoaded),os("position",Cu(20,zq,i.position.positionX*r.workingAreaWidth/100,i.position.positionY*r.workingAreaHeight/100))("ngDraggable",r.currentUser===i.sequence)("preventDefaultEvent",!1)("bounds",o)("inBounds",!0),xo(2),os("title",Ou(3,14,"lang.delete")),xo(4),Xs(r.getUserName(i.sequence)),xo(1),Ks(" ",Ou(8,16,Ou(9,18,"lang.signature"))," ")}}function Nq(e,t){if(1&e&&(cs(0),ns(1,Vq,10,23,"div",26),ds()),2&e){var n=t.$implicit,i=ks();xo(1),os("ngIf",n.page===i.currentPage)}}function Hq(e,t){if(1&e){var n=fs();ss(0,"ion-button",32),ms("click",function(){return nn(n),ks().initSign()}),Qs(1),Du(2,"translate"),ls()}2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.createSignaturePosition"),""))}function jq(e,t){if(1&e&&(ss(0,"ion-select-option",33),Qs(1),ls()),2&e){var n=t.index;os("value",t.$implicit),xo(1),Xs(n+1)}}function Uq(e,t){if(1&e){var n=fs();ss(0,"ion-fab-button",36),ms("click",function(){nn(n);var e=ks(2);return e.changePage(e.currentPage-1)}),us(1,"ion-icon",37),ls()}}function Wq(e,t){if(1&e){var n=fs();ss(0,"ion-fab-button",38),ms("click",function(){nn(n);var e=ks(2);return e.changePage(e.currentPage+1)}),us(1,"ion-icon",39),ls()}}function Gq(e,t){if(1&e&&(cs(0),ns(1,Uq,2,0,"ion-fab-button",34),ns(2,Wq,2,0,"ion-fab-button",35),ds()),2&e){var n=ks();xo(1),os("ngIf",n.currentPage>1),xo(1),os("ngIf",n.currentPage<n.pages.length)}}var qq,Yq,Zq=((Yq=function(){function e(t,n,i,r,o,a){A(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.pdfViewerService=r,this.modalController=o,this.loadingController=a,this.workflow=[],this.resource=[],this.pdfContent=null,this.loading=!1,this.dragging=!1,this.pages=[],this.currentUser=0,this.currentPage=1,this.currentSignature={positionX:0,positionY:0},this.workingAreaWidth=0,this.workingAreaHeight=0,this.signList=[],this.imgContent=null,this.load=null,this.pagesLoaded=!1}return m(e,[{key:"ngOnInit",value:function(){var e=this;this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){e.load=t,e.load.present()}),this.resource.signPos&&this.initSignPos()}},{key:"initSignPos",value:function(){var e=this;this.workflow.forEach(function(t,n){var i;(null===(i=t.signaturePositions)||void 0===i?void 0:i.length)>0&&(e.signList=e.signList.concat(t.signaturePositions.filter(function(t){return t.mainDocument===e.resource.mainDocument}).map(function(e){return Object.assign(Object.assign({},e),{sequence:n})})))})}},{key:"onSubmit",value:function(){this.modalController.dismiss(this.formatData())}},{key:"onPagesLoaded",value:function(e){return Rq(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.pages=Array.from({length:e.pagesCount}).map(function(e,t){return t+1}),this.changePage(1);case 1:case"end":return t.stop()}},t,this)}))}},{key:"exportAsImage",value:function(){return Rq(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfViewerService.getPageAsImage(this.currentPage,{width:1e3});case 2:t=e.sent,this.getImageDimensions(t),this.imgContent=t,this.pagesLoaded=!0;case 4:case"end":return e.stop()}},e,this)}))}},{key:"getImageDimensions",value:function(e){var t=this,n=new Image;n.onload=function(e){t.workingAreaWidth=e.target.naturalWidth,t.workingAreaHeight=e.target.naturalHeight},n.src=e}},{key:"changePage",value:function(e){this.currentPage=e,this.exportAsImage()}},{key:"moveSign",value:function(e,t){var n=this,i=100*e.x/this.workingAreaWidth,r=100*e.y/this.workingAreaHeight;this.signList.filter(function(e){return e.sequence===n.currentUser&&e.page===n.currentPage})[0].position.positionX=i,this.signList.filter(function(e){return e.sequence===n.currentUser&&e.page===n.currentPage})[0].position.positionY=r,this.dragging=!1}},{key:"emptySign",value:function(){var e=this;return 0===this.signList.filter(function(t){return t.sequence===e.currentUser&&t.page===e.currentPage}).length}},{key:"initSign",value:function(){this.signList.push({sequence:this.currentUser,page:this.currentPage,position:{positionX:75,positionY:90}});var e=0;Array.from(document.getElementsByClassName("drag-scroll-content")).forEach(function(t,n){if(null!==t.offsetParent)return e=n,!0}),document.getElementsByClassName("drag-scroll-content")[e].scrollTop=this.workingAreaHeight}},{key:"getUserSignPosPage",value:function(e){return this.signList.filter(function(t){return t.sequence===e})}},{key:"selectUser",value:function(e){this.currentUser=+e}},{key:"getUserName",value:function(e){return this.workflow[e].userDisplay}},{key:"goToSignUserPage",value:function(e,t){this.currentUser=e,this.currentPage=t,this.exportAsImage()}},{key:"deleteSign",value:function(e){this.signList.splice(e,1)}},{key:"formatData",value:function(){var e=this,t=[];return this.workflow.forEach(function(n,i){e.signList.filter(function(e){return e.sequence===i}).length>0&&(t=t.concat(e.signList.filter(function(e){return e.sequence===i})))}),t}},{key:"imageLoaded",value:function(e){this.load.dismiss()}}]),e}()).\u0275fac=function(e){return new(e||Yq)(rs(vP),rs(lb),rs(DP),rs(bO),rs(hE),rs(cE))},Yq.\u0275cmp=ft({type:Yq,selectors:[["ng-component"]],inputs:{workflow:"workflow",resource:"resource",pdfContent:"pdfContent"},decls:37,vars:35,consts:[[3,"translucent"],["color","primary"],["color","warning","scrollable","",2,"justify-content","center",3,"value","ionChange"],["layout","icon-start",3,"value",4,"ngFor","ngForOf"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-disabled","drag-scroll-disabled"],["id","myBounds",2,"margin","auto","position","relative","box-shadow","0px 0px 5px 0px #656565"],["myBounds",""],[4,"ngFor","ngForOf"],[1,"img-content",3,"src","ionImgDidLoad"],["color","primary","style","position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);font-size:20px;",3,"click",4,"ngIf"],[2,"display","none",3,"src","useBrowserLocale","textLayer","pdfLoaded"],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","action-sheet","hidden","true",2,"max-height","30%",3,"cancelText","ionChange"],["pagesList",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],["type","button","color","primary","fill","outline","shape","round","size","large",3,"click"],["type","button","color","medium","fill","outline","shape","round","size","large",3,"click"],["layout","icon-start",3,"value"],[1,"chip-item-content"],[3,"name"],["class","chip-item","outline","",3,"title","color","click",4,"ngIf"],["outline","",1,"chip-item",3,"title","color","click"],["class","signature",3,"signDisabled","position","width","ngDraggable","preventDefaultEvent","bounds","inBounds","hide","movingOffset","endOffset","click",4,"ngIf"],[1,"signature",3,"position","ngDraggable","preventDefaultEvent","bounds","inBounds","movingOffset","endOffset","click"],[2,"position","absolute","top","-50px","right","0px"],["fill","clear","slot","icon-only","shape","round","size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],[1,"signUserName"],["color","primary",2,"position","fixed","top","50%","left","50%","transform","translate(-50%,-50%)","font-size","20px",3,"click"],[3,"value"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"]],template:function(e,t){if(1&e){var n=fs();ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ls(),ss(5,"ion-toolbar",1),ss(6,"ion-segment",2),ms("ionChange",function(e){return t.selectUser(e.detail.value)}),ns(7,Bq,7,4,"ion-segment-button",3),ls(),ls(),ls(),ss(8,"ion-content"),ss(9,"drag-scroll",4),ss(10,"div",5,6),ns(12,Nq,2,1,"ng-container",7),ss(13,"ion-img",8),ms("ionImgDidLoad",function(e){return t.imageLoaded(e)}),ls(),ns(14,Hq,3,3,"ion-button",9),ls(),ls(),ss(15,"ngx-extended-pdf-viewer",10),ms("pdfLoaded",function(e){return t.onPagesLoaded(e)}),ls(),ss(16,"section",11),ss(17,"div",12),Qs(18),ls(),ss(19,"div",13),ms("click",function(){nn(n);var e=is(23);return t.pages.length>1&&e.open()}),Qs(20),Du(21,"translate"),ls(),ss(22,"ion-select",14,15),ms("ionChange",function(e){return t.changePage(e.target.value)}),Du(24,"translate"),ns(25,jq,2,2,"ion-select-option",16),ls(),ls(),ns(26,Gq,3,2,"ng-container",17),ls(),ss(27,"ion-footer",18),ss(28,"div"),ss(29,"ion-button",19),ms("click",function(){return t.onSubmit()}),ss(30,"ion-label"),Qs(31),Du(32,"translate"),ls(),ls(),ss(33,"ion-button",20),ms("click",function(){return t.modalController.dismiss()}),ss(34,"ion-label"),Qs(35),Du(36,"translate"),ls(),ls(),ls(),ls()}2&e&&(os("translucent",!0),xo(3),Xs(Ou(4,25,"lang.adminSignaturesPositions")),xo(3),os("value",t.currentUser),xo(1),os("ngForOf",t.workflow),xo(2),os("drag-disabled",t.dragging&&!t.signaturesService.mobileMode)("drag-scroll-disabled",t.dragging&&t.signaturesService.mobileMode),xo(1),Ls("width",t.workingAreaWidth,"px")("height",t.workingAreaHeight,"px"),xo(2),os("ngForOf",t.signList),xo(1),os("src",t.imgContent),xo(1),os("ngIf",t.emptySign()),xo(1),os("src",t.pdfContent)("useBrowserLocale",!0)("textLayer",!1),xo(3),Xs(t.resource.title),xo(2),$s("",Ou(21,27,"lang.page")," ",t.currentPage," / ",t.pages.length,""),xo(2),os("cancelText",Ou(24,29,"lang.cancel")),xo(3),os("ngForOf",t.pages),xo(1),os("ngIf",t.pages.length>1),xo(5),Xs(Ou(32,31,"lang.save")),xo(4),Xs(Ou(36,33,"lang.cancel")))},directives:[KC,MS,DS,_S,tA,gh,WC,AM,$C,mh,yO,xS,QC,LC,sS,kS,JC,jC,PM,FC,AS,YC],pipes:[mP,Uh],styles:[".containerMobile[_ngcontent-%COMP%]{flex-direction:column}.containerMobile[_ngcontent-%COMP%] .signPosForm[_ngcontent-%COMP%]{flex:none!important;height:auto}.containerMobile[_ngcontent-%COMP%] .signatureContainer[_ngcontent-%COMP%], .signPosForm[_ngcontent-%COMP%]{flex:1}.signatureContainer[_ngcontent-%COMP%]{position:relative;overflow:auto;width:1050px;display:flex;justify-content:center}.posSignButton[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:50%;transform:translateX(-50%)}.signature[_ngcontent-%COMP%]{z-index:2;position:absolute;border:1px dashed var(--ion-color-danger);background:rgba(var(--ion-color-danger-rgb),.6) none repeat scroll 0 0;font-weight:700;font-size:20px;color:#fff;height:110px;display:flex;align-items:center;justify-content:center}.signDisabled[_ngcontent-%COMP%]{z-index:1;opacity:.2;cursor:pointer}.signUserName[_ngcontent-%COMP%]{position:absolute;font-size:12px;bottom:20px;font-weight:400;color:#fff;font-style:italic}.chip-item-content[_ngcontent-%COMP%]{z-index:9999;position:absolute;margin:0;bottom:0}.chip-item[_ngcontent-%COMP%]{font-size:7px;width:15px;height:15px;padding:0;margin:0 5px;color:#fff;border-color:#fff;justify-content:center}img[_ngcontent-%COMP%]{pointer-events:none}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out;z-index:9999}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.hide[_ngcontent-%COMP%]{display:none}"]}),Yq),Qq=((qq=function(){function e(){A(this,e),this.fileDropped=new Fu,this.disabled=!1,this.background="none",this.opacity="1"}return m(e,[{key:"onDragOver",value:function(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="#9ecbec",this.opacity="0.8")}},{key:"onDragLeave",value:function(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1")}},{key:"ondrop",value:function(e){if(!this.disabled){e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1";var t=e.dataTransfer.files;t.length>0&&this.fileDropped.emit(t)}}}]),e}()).\u0275fac=function(e){return new(e||qq)},qq.\u0275dir=bt({type:qq,selectors:[["","appUploadFileDragDrop",""]],hostVars:4,hostBindings:function(e,t){1&e&&ms("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)}),2&e&&Ls("background-color",t.background)("opacity",t.opacity)},inputs:{disabled:"disabled"},outputs:{fileDropped:"fileDropped"}}),qq),Xq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},Kq=["appVisaWorkflow"],Jq=["rightContent"],$q=["docToUpload"];function eY(e,t){1&e&&us(0,"ion-icon",34)}function tY(e,t){1&e&&us(0,"ion-icon",35)}function nY(e,t){1&e&&us(0,"i",36)}function iY(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-buttons",2),ss(2,"ion-button",22),ms("click",function(){var e=t.$implicit;return e.mainDocument=!e.mainDocument}),Du(3,"translate"),Du(4,"translate"),ns(5,eY,1,0,"ion-icon",23),ns(6,tY,1,0,"ion-icon",24),ls(),ls(),ss(7,"ion-item",25),ss(8,"ion-label",26),Qs(9),Du(10,"translate"),ls(),ss(11,"ion-input",27),ms("ngModelChange",function(e){return t.$implicit.reference=e}),Du(12,"translate"),ls(),ls(),ss(13,"ion-item",25),ss(14,"ion-label",26),Qs(15),Du(16,"translate"),ls(),ss(17,"ion-input",28),ms("ngModelChange",function(e){return t.$implicit.title=e}),Du(18,"translate"),ls(),ls(),ss(19,"ion-buttons",5),ss(20,"ion-button",29),ms("click",function(){nn(n);var e=t.index;return ks(2).signPos(e)}),Du(21,"translate"),ns(22,nY,1,0,"i",30),us(23,"ion-icon",31),ls(),ss(24,"ion-button",32),ms("click",function(){nn(n);var e=t.index;return ks(2).deleteFile(e)}),Du(25,"translate"),us(26,"ion-icon",33),ls(),ls(),ls()}if(2&e){var i=t.$implicit,r=t.index,o=ks(2);xo(2),os("title",i.mainDocument?Ou(3,15,"lang.docToSign"):Ou(4,17,"lang.attachDocToSign")),xo(3),os("ngIf",i.mainDocument),xo(1),os("ngIf",!i.mainDocument),xo(3),Xs(Ou(10,19,"lang.reference")),xo(2),Ss("placeholder",Ou(12,21,"lang.fileReference")),os("maxlength",53)("ngModel",i.reference)("disabled",!i.mainDocument),xo(4),Ks("",Ou(16,23,"lang.subject")," *"),xo(2),Ss("placeholder",Ou(18,25,"lang.filename")),os("ngModel",i.title),xo(3),os("disabled",!i.mainDocument)("title",Ou(21,27,"lang.setSignaturesPosition")),xo(2),os("ngIf",void 0!==o.filesToUpload[r].signPos&&o.filesToUpload[r].signPos.length>0),xo(2),os("title",Ou(25,29,"lang.delete"))}}function rY(e,t){if(1&e&&(ss(0,"ion-list"),ss(1,"ion-list-header"),ss(2,"ion-label",1),Qs(3),Du(4,"translate"),ls(),ls(),ns(5,iY,27,31,"ion-item",21),ls()),2&e){var n=ks();xo(3),Xs(Ou(4,2,"lang.documentsToUpload")),xo(2),os("ngForOf",n.filesToUpload)}}function oY(e,t){1&e&&us(0,"app-visa-workflow",37,38),2&e&&os("editMode",!0)}var aY,sY=((aY=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){A(this,e),this.http=t,this.translate=n,this.router=i,this.menu=r,this.signaturesService=o,this.viewContainerRef=a,this.notificationService=s,this.authService=l,this.loadingController=u,this.alertController=c,this.datePipe=d,this.modalController=h,this.loading=!1,this.filesToUpload=[],this.errors=[],this.fromDocument=null}return m(e,[{key:"ngOnInit",value:function(){}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.filesToUpload=[],this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),void 0!==window.history.state.documentId&&(this.fromDocument=window.history.state.documentId,this.getDocumentData(this.fromDocument))}},{key:"getDocumentData",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/documents/"+e).pipe(uw(function(i){var r="",o=i.document.reference.split("/");(o=o.slice(3,o.length)).length>0&&(r=o.join("/")),t.filesToUpload.push({title:i.document.title,reference:r,mainDocument:!0,content:"",linkId:i.document.linkId,metadata:i.document.metadata}),t.getDocumentContent(e),t.appVisaWorkflow.loadWorkflow(i.document.workflow.map(function(e){return e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{processDate:null,current:!1,role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes})}));for(var a=0;a<i.document.attachments.length;a++)t.getAttachment(i.document.attachments[a].id);n(!0)}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()})}},{key:"getDocumentContent",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/documents/".concat(e,"/content?type=original")).pipe(uw(function(e){t.filesToUpload[0].content=e.encodedDocument,n(!0)}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()})}},{key:"getAttachment",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/attachments/"+e).pipe(uw(function(e){t.filesToUpload.push({title:e.attachment.title,mainDocument:!1,content:e.attachment.encodedDocument}),n(!0)}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()})}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent")}},{key:"onSubmit",value:function(){this.isValid()&&this.promptSaveDoc()}},{key:"promptSaveDoc",value:function(){return Xq(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({cssClass:"alert-info-no-msg",header:this.translate.instant("lang.areYouSure"),inputs:[{name:"note",id:"note",type:"textarea",placeholder:this.translate.instant("lang.addNote")}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(e){n.loadingController.create({message:n.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return Xq(n,void 0,void 0,regeneratorRuntime.mark(function n(){var i,r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:t.present(),i=this.formatData(e.note),r=0;case 3:if(!(r<i.length)){n.next=9;break}return n.next=6,this.saveDocument(i[r],r);case 6:r++,n.next=3;break;case 9:t.dismiss(),0===this.errors.length&&(this.notificationService.success("lang.documentsImported"),this.router.navigate(["/home"]));case 10:case"end":return n.stop()}},n,this)}))})}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"saveDocument",value:function(e,t){var n=this;return new Promise(function(t){n.http.post("../rest/documents",e).pipe(uw(function(){n.errors=[]}),hw(function(){return t(!0)}),Zb(function(t){return n.errors.push(e.title),n.notificationService.handleErrors(t),Ty(!1)})).subscribe()})}},{key:"formatData",value:function(e){var t=this,n=new Date,i=null,r=null;""!==e&&(i={value:e,creator:"".concat(this.authService.user.firstname," ").concat(this.authService.user.lastname),creationDate:this.datePipe.transform(n,"dd-MM-y")});var o=[],a=this.filesToUpload.filter(function(e){return e.mainDocument}),s=this.filesToUpload.filter(function(e){return!e.mainDocument});return a.length>1&&(r=this.datePipe.transform(n,"ddMMYhmmss")+"_"+Math.random().toString(36).substr(2,9)),a.forEach(function(e){var a={};null!==t.fromDocument&&e.metadata.forEach(function(e){a[e.label]=e.value});var l="";""!==e.reference&&(l=t.datePipe.transform(n,"y/MM/dd")+"/"+e.reference),o.push({title:e.title,reference:l,encodedDocument:e.content,isZipped:!1,linkId:null!==t.fromDocument?e.linkId:r,sender:"".concat(t.authService.user.firstname," ").concat(t.authService.user.lastname),notes:i,attachments:s.map(function(e){return{title:e.title,encodedDocument:e.content}}),workflow:t.appVisaWorkflow.getCurrentWorkflow().map(function(n,i){return{userId:n.userId,mode:t.authService.getWorkflowMode(n.role),signatureMode:t.authService.getSignatureMode(n.role),signaturePositions:void 0!==n.signaturePositions?t.formatPositions(n.signaturePositions.filter(function(t){return t.mainDocument===e.mainDocument&&void 0!==e.signPos})).map(function(e){return{page:e.page,positionX:e.position.positionX,positionY:e.position.positionY}}):[]}}),metadata:a})}),o}},{key:"formatPositions",value:function(e){return delete e.mainDocument,e}},{key:"dndUploadFile",value:function(e){this.uploadTrigger({target:{files:[e[0]]}})}},{key:"uploadTrigger",value:function(e){var t=this;this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(n){return Xq(t,void 0,void 0,regeneratorRuntime.mark(function t(){var i,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.present(),e.target.files&&e.target.files[0]&&this.isExtensionAllowed(e.target.files)){for(i=function(t){var i=e.target.files[t].name,r={title:i.substr(0,i.lastIndexOf(".")),reference:i.substr(0,i.lastIndexOf(".")).substr(0,53),mainDocument:!0,content:""},a=new FileReader;a.readAsArrayBuffer(e.target.files[t]),a.onload=function(e){r.mainDocument=0===o.filesToUpload.length,r.reference=0===o.filesToUpload.length?r.reference:"",r.content=o.getBase64Document(e.target.result),o.filesToUpload.push(r),1===o.filesToUpload.length&&setTimeout(function(){o.menu.open("right-menu")},500)},t===e.target.files.length-1&&n.dismiss()},r=0;r<e.target.files.length;r++)i(r);this.fileImport.nativeElement.value=""}else this.loading=!1,n.dismiss();case 1:case"end":return t.stop()}},t,this)}))})}},{key:"isExtensionAllowed",value:function(e){for(var t=0;t<e.length;t++)if("pdf"!==e[t].name.toLowerCase().split(".").pop())return this.notificationService.error("lang.onlyPdfAuthorized"),!1;return!0}},{key:"getBase64Document",value:function(e){var t=new Uint8Array(e).reduce(function(e,t){return e+String.fromCharCode(t)},"");return btoa(t)}},{key:"deleteFile",value:function(e){this.filesToUpload.splice(e,1)}},{key:"signPos",value:function(e){return Xq(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this.appVisaWorkflow.getCurrentWorkflow().length>0)){t.next=14;break}return this.appVisaWorkflow.getCurrentWorkflow().forEach(function(e,t){void 0===e.signaturePositions&&(o.appVisaWorkflow.visaWorkflow[t].signaturePositions=[])}),t.next=4,this.modalController.create({component:Zq,cssClass:"custom-alert-fullscreen",componentProps:{workflow:this.appVisaWorkflow.getCurrentWorkflow(),resource:this.filesToUpload[e],pdfContent:"data:application/pdf;base64,"+this.filesToUpload[e].content}});case 4:return n=t.sent,t.next=7,n.present();case 7:return t.next=9,n.onWillDismiss();case 9:i=t.sent,void 0!==(r=i.data)&&(this.filesToUpload[e].signPos=r,this.appVisaWorkflow.setPositionsWorkfow(this.filesToUpload[e],r)),t.next=15;break;case 14:this.notificationService.error("lang.mustSetWorkflowBeforeSignPositions");case 15:case"end":return t.stop()}},t,this)}))}},{key:"isValid",value:function(){return this.filesToUpload.filter(function(e){return""===e.title}).length>0?(this.notificationService.error("lang.subjectMandatory"),!1):0===this.filesToUpload.filter(function(e){return e.mainDocument}).length?(this.notificationService.error("lang.mainDocumentMandatory"),!1):0!==this.appVisaWorkflow.getCurrentWorkflow().length||(this.notificationService.error("lang.workflowUserstMandatory"),this.menu.open("right-menu"),!1)}}]),e}()).\u0275fac=function(e){return new(e||aY)(rs(lb),rs(vP),rs(jk),rs(dE),rs(DP),rs(uu),rs(wP),rs(MP),rs(cE),rs(uE),rs(Wh),rs(hE))},aY.\u0275cmp=ft({type:aY,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&(Qu(Kq,1),Qu(Jq,3),Qu($q,1)),2&e&&(Zu(n=Ku())&&(t.appVisaWorkflow=n.first),Zu(n=Ku())&&(t.rightContent=n.first),Zu(n=Ku())&&(t.fileImport=n.first))},features:[yl([Wh])],decls:31,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],[1,"ion-text-center"],["slot","end"],["menu","right-menu"],["name","list-outline"],[2,"display","flex","flex-direction","column","height","100%"],[4,"ngIf"],["type","file","name","files[]","multiple","","accept","application/pdf",2,"display","none",3,"change"],["docToUpload",""],["appUploadFileDragDrop","",1,"dnd-area",3,"fileDropped"],["fill","outline","color","medium","size","large",3,"click"],["lines","none",1,"ion-text-center","no-background"],["color","medium"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["rightContent",""],[4,"ngFor","ngForOf"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","pencil-outline",4,"ngIf"],["slot","icon-only","name","document-attach-outline",4,"ngIf"],[2,"width","100%"],["position","floating","color","secondary"],["matInput","","type","text",3,"placeholder","maxlength","ngModel","disabled","ngModelChange"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"disabled","title","click"],["class","badge-sign-pos",4,"ngIf"],["slot","icon-only","name","contract-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["slot","icon-only","name","pencil-outline"],["slot","icon-only","name","document-attach-outline"],[1,"badge-sign-pos"],[2,"display","contents",3,"editMode"],["appVisaWorkflow",""]],template:function(e,t){if(1&e){var n=fs();ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),ls(),ss(4,"ion-title",4),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-buttons",5),ss(8,"ion-menu-button",6),us(9,"ion-icon",7),ls(),ls(),ls(),ls(),ss(10,"ion-content"),ss(11,"div",8),ns(12,rY,6,4,"ion-list",9),ss(13,"input",10,11),ms("change",function(e){return t.uploadTrigger(e)}),ls(),ss(15,"div",12),ms("fileDropped",function(e){return t.dndUploadFile(e)}),ss(16,"ion-button",13),ms("click",function(){return nn(n),is(14).click()}),Qs(17),Du(18,"translate"),ls(),ss(19,"ion-item",14),ss(20,"ion-label",15),Qs(21),Du(22,"translate"),ls(),ls(),ls(),ls(),ls(),ss(23,"ion-footer",16),ss(24,"div",17),ss(25,"ion-button",18),ms("click",function(){return t.onSubmit()}),ss(26,"ion-label",19),Qs(27),Du(28,"translate"),ls(),ls(),ls(),ls(),ns(29,oY,2,1,"ng-template",null,20,tc)}2&e&&(os("translucent",!0),xo(5),Xs(Ou(6,6,"lang.newDocumentToVisa")),xo(7),os("ngIf",t.filesToUpload.length>0),xo(5),Ks(" ",Ou(18,8,"lang.chooseDocuments")," "),xo(4),Ks(" ",Ou(22,10,"lang.dndDocuments")," "),xo(6),Xs(Ou(28,12,"lang.validate")))},directives:[KC,MS,FC,dS,DS,JC,WC,mh,Qq,LC,iS,sS,QC,lS,uS,gh,nS,nA,Cy,hm,Ym,LW],pipes:[mP],styles:[".dnd-area[_ngcontent-%COMP%]{border:5px dashed;margin:20px;text-align:center;color:grey;padding:50px 10px;flex:1;align-items:center;display:flex;flex-direction:column;justify-content:center}.no-background[_ngcontent-%COMP%]{--background:none} .alert-info-no-msg .alert-message{display:none} .alert-info-no-msg .alert-title{color:var(--ion-color-primary)}.badge-sign-pos[_ngcontent-%COMP%]{width:10px;height:10px;background:var(--ion-color-danger);position:absolute;top:0;right:0;border-radius:5px}"]}),aY),lY=["searchInput"];function uY(e,t){if(1&e){var n=fs();ss(0,"ion-searchbar",6,7),ms("ngModelChange",function(e){return nn(n),ks().searchValue=e})("ionChange",function(e){return nn(n),ks().getDatas(e)}),Du(2,"translate"),ls()}2&e&&os("ngModel",ks().searchValue)("placeholder",Ou(2,2,"lang.search"))}function cY(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-checkbox",10),ms("ionChange",function(e){return nn(n),ks(2).selectItem(e.detail.value)}),ls(),ss(2,"ion-label"),Qs(3),ls(),ss(4,"ion-note",11),Qs(5),ls(),ls()}if(2&e){var i=t.$implicit;xo(1),os("value",i),xo(2),Js("",i.firstname," ",i.lastname,""),xo(2),Xs(i.email)}}function dY(e,t){if(1&e&&(ss(0,"ion-list",8),ns(1,cY,6,4,"ion-item",9),ls()),2&e){var n=ks();xo(1),os("ngForOf",n.itemList)}}function hY(e,t){1&e&&(ss(0,"ion-label",12),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Xs(Ou(2,1,"lang.noItem")))}function fY(e,t){if(1&e){var n=fs();ss(0,"ion-chip",13),ms("click",function(){nn(n);var e=t.index;return ks().removeItem(e)}),ss(1,"ion-label",14),Qs(2),ls(),us(3,"ion-icon",15),ls()}if(2&e){var i=t.$implicit;xo(2),Js("",i.firstname," ",i.lastname,"")}}function pY(e,t){if(1&e){var n=fs();ss(0,"ion-buttons",11),ss(1,"ion-button",16),ms("click",function(){return nn(n),ks().toggleEdit()}),ss(2,"ion-label",17),Qs(3),Du(4,"translate"),ls(),ls(),ls()}2&e&&(xo(3),Xs(Ou(4,1,"lang.edit")))}var gY,vY=((gY=function(){function e(t,n){A(this,e),this.http=t,this.notificationService=n,this.currentItems=[],this.selectedOpt=new Fu,this.myControl=new Vm,this.loading=!1,this.searchValue="",this.editMode=!1,this.itemList=[]}return m(e,[{key:"ngOnInit",value:function(){}},{key:"getDatas",value:function(e){var t=this;""===e.detail.value?this.itemList=[]:this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(uw(function(e){t.itemList=e}),Zb(function(e){return t.notificationService.handleErrors(e),Ty(!1)})).subscribe()}},{key:"selectItem",value:function(e){this.currentItems.push(e),this.searchValue="",this.itemList=[],this.editMode=!1,this.selectedOpt.emit(e)}},{key:"removeItem",value:function(e){this.currentItems.splice(e,1)}},{key:"toggleEdit",value:function(){var e=this;this.editMode=!this.editMode,this.editMode&&setTimeout(function(){e.searchInput.setFocus()},0)}}]),e}()).\u0275fac=function(e){return new(e||gY)(rs(lb),rs(wP))},gY.\u0275cmp=ft({type:gY,selectors:[["plugin-autocomplete"]],viewQuery:function(e,t){var n;1&e&&Qu(lY,1),2&e&&Zu(n=Ku())&&(t.searchInput=n.first)},inputs:{currentItems:"currentItems",singleMode:"singleMode",required:"required",options:["datas","options"],routeDatas:"routeDatas",placeholder:["labelPlaceholder","placeholder"],key:["targetSearchKey","key"],subInfoKey:"subInfoKey"},outputs:{selectedOpt:"triggerEvent"},decls:8,vars:5,consts:[[3,"ngModel","placeholder","ngModelChange","ionChange",4,"ngIf"],["class","item-list",4,"ngIf"],["lines","none"],["color","medium","style","font-style: italic;",4,"ngIf"],["style","height: auto;",3,"click",4,"ngFor","ngForOf"],["slot","end",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange","ionChange"],["searchInput",""],[1,"item-list"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["slot","end"],["color","medium",2,"font-style","italic"],[2,"height","auto",3,"click"],[1,"ion-text-wrap"],["name","close-circle"],["size","small",3,"click"],["color","medium"]],template:function(e,t){1&e&&(ns(0,uY,3,4,"ion-searchbar",0),ns(1,dY,2,1,"ion-list",1),ss(2,"ion-list"),ss(3,"ion-item",2),ns(4,hY,3,3,"ion-label",3),ss(5,"p"),ns(6,fY,4,2,"ion-chip",4),ls(),ns(7,pY,5,3,"ion-buttons",5),ls(),ls()),2&e&&(os("ngIf",t.editMode),xo(1),os("ngIf",t.itemList.length>0),xo(3),os("ngIf",0===t.currentItems.length),xo(2),os("ngForOf",t.currentItems),xo(1),os("ngIf",!t.editMode))},directives:[mh,lS,iS,gh,wS,nA,hm,Ym,HC,Jx,sS,fS,jC,JC,FC,LC],pipes:[mP],styles:[""]}),gY),mY=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},yY=["appVisaWorkflow"],bY=["rightContent"];function wY(e,t){1&e&&us(0,"ion-icon",26)}function _Y(e,t){1&e&&us(0,"ion-icon",27)}function kY(e,t){1&e&&us(0,"ion-icon",28)}function xY(e,t){if(1&e){var n=fs();ss(0,"ion-chip",21),ms("click",function(){nn(n);var e=ks().$implicit;return ks(2).removeFilter(e)}),Du(1,"translate"),ns(2,wY,1,0,"ion-icon",22),ns(3,_Y,1,0,"ion-icon",23),ns(4,kY,1,0,"ion-icon",24),ss(5,"ion-label"),Qs(6),ls(),us(7,"ion-icon",25),ls()}if(2&e){var i=ks().$implicit;os("title",Ou(1,5,"lang."+i.id+"Search")),xo(2),os("ngIf","title"===i.id),xo(1),os("ngIf","reference"===i.id),xo(1),os("ngIf","documentId"===i.id),xo(2),Xs(i.val)}}function AY(e,t){if(1&e){var n=fs();ss(0,"ion-chip",21),ms("click",function(){nn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).removeFilter(i,e.id)}),Du(1,"translate"),us(2,"ion-icon",30),ss(3,"ion-label"),Qs(4),Du(5,"translate"),ls(),us(6,"ion-icon",25),ls()}if(2&e){var i=t.$implicit;os("title",Ou(1,2,"lang.workflowStatesSearch")),xo(4),Xs(Ou(5,4,i.label))}}function CY(e,t){if(1&e&&(ss(0,"div"),ns(1,AY,7,6,"ion-chip",29),ls()),2&e){var n=ks().$implicit;xo(1),os("ngForOf",n.val)}}function SY(e,t){if(1&e){var n=fs();ss(0,"ion-chip",21),ms("click",function(){nn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).removeFilter(i,e)}),Du(1,"translate"),us(2,"ion-icon",31),ss(3,"ion-label"),Qs(4),ls(),us(5,"ion-icon",25),ls()}if(2&e){var i=t.$implicit;os("title",Ou(1,3,"lang.workflowUsersSearch")),xo(4),Js("",i.firstname," ",i.lastname,"")}}function EY(e,t){if(1&e&&(ss(0,"div"),ns(1,SY,6,5,"ion-chip",29),ls()),2&e){var n=ks().$implicit;xo(1),os("ngForOf",n.val)}}function PY(e,t){if(1&e&&(ss(0,"div"),ns(1,xY,8,7,"ion-chip",20),ns(2,CY,2,1,"div",10),ns(3,EY,2,1,"div",10),ls()),2&e){var n=t.$implicit;xo(1),os("ngIf",("title"===n.id||"reference"===n.id||"documentId"===n.id)&&""!==n.val),xo(1),os("ngIf","workflowStates"===n.id&&n.val.length>0),xo(1),os("ngIf","workflowUsers"===n.id&&n.val.length>0)}}function DY(e,t){if(1&e){var n=fs();ss(0,"ion-toolbar",14),ss(1,"div",15),ss(2,"ion-button",16),ms("click",function(){return nn(n),ks().clearFilters()}),Du(3,"translate"),us(4,"ion-icon",17),ls(),ss(5,"div",18),ns(6,PY,4,3,"div",19),ls(),ls(),ls()}if(2&e){var i=ks();xo(2),os("title",Ou(3,2,"lang.clearFilters")),xo(4),os("ngForOf",i.currentFilters)}}function OY(e,t){1&e&&(ss(0,"ion-list",32),ss(1,"ion-item",33),ss(2,"ion-label",34),Qs(3),Du(4,"translate"),ls(),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,1,"lang.noResult")))}function MY(e,t){1&e&&us(0,"ion-icon",57)}function TY(e,t){1&e&&us(0,"ion-icon",58)}function IY(e,t){1&e&&us(0,"ion-icon",59)}function RY(e,t){if(1&e&&(ss(0,"ion-badge",60),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks().$implicit;xo(1),Xs(Ou(2,1,"lang."+n.mode+"User"))}}var LY=function(){return["END","STOP"]};function FY(e,t){if(1&e&&(cs(0),ns(1,MY,1,0,"ion-icon",52),ss(2,"span",53),Qs(3),Du(4,"translate"),ns(5,TY,1,0,"ion-icon",54),ns(6,IY,1,0,"ion-icon",55),ns(7,RY,3,3,"ion-badge",56),ls(),ds()),2&e){var n=t.$implicit,i=t.index,r=ks(3);xo(1),os("ngIf",i>0),xo(1),Fs("success",null!==n.processDate&&"STOP"!==n.status)("typist-interrupt","REF"===n.status)("interrupt",null===n.processDate&&"END"===n.status||"STOP"===n.status)("current",n.current)("no-visa",null===n.processDate&&null===n.status&&!n.current),xo(1),Ks("",r.functionsService.empty(n.userDisplay)?Ou(4,15,"lang.userDeleted"):n.userDisplay,"\xa0 "),xo(2),os("ngIf",null!==n.processDate&&"REF"!==n.status&&"STOP"!==n.status),xo(1),os("ngIf",null!==n.processDate&&"REF"===n.status),xo(1),os("ngIf",null===n.processDate&&(null===n.status||xu(17,LY).indexOf(n.status)>-1))}}function BY(e,t){1&e&&us(0,"ion-icon",61)}function zY(e,t){1&e&&us(0,"ion-icon",62)}function VY(e,t){1&e&&us(0,"ion-icon",63)}function NY(e,t){1&e&&us(0,"ion-icon",64)}function HY(e,t){if(1&e&&(cs(0),us(1,"ion-icon",66),Qs(2),ds()),2&e){var n=t.$implicit;xo(2),Ks(" ",n," ")}}function jY(e,t){if(1&e&&(ss(0,"p",65),ns(1,HY,3,1,"ng-container",19),ls()),2&e){var n=ks().$implicit;xo(1),os("ngForOf",n.reason)}}function UY(e,t){if(1&e){var n=fs();ss(0,"ion-button",67),ms("click",function(e){nn(n);var t=ks().$implicit,i=is(7),r=ks(2);return e.stopPropagation(),r.toggleSlide(i,t.id)}),us(1,"ion-icon",68),ls()}}function WY(e,t){if(1&e){var n=fs();ss(0,"ion-button",67),ms("click",function(e){nn(n);var t=ks().$implicit,i=is(7),r=ks(2);return e.stopPropagation(),r.toggleSlide(i,t.id)}),us(1,"ion-icon",69),ls()}}function GY(e,t){if(1&e){var n=fs();ss(0,"ion-item-option",50),ms("click",function(){nn(n);var e=ks().$implicit;return ks(2).openPromptProof(e)}),us(1,"ion-icon",70),Qs(2),Du(3,"translate"),ls()}2&e&&(xo(2),Ks(" ",Ou(3,1,"lang.download")," "))}function qY(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-label"),ss(2,"ion-toolbar",37),ss(3,"ion-title",38),ss(4,"p",39),ns(5,FY,8,18,"ng-container",19),ls(),ls(),ls(),ss(6,"ion-item-sliding",40,41),ms("ionDrag",function(e){nn(n);var i=t.$implicit;return ks(2).onSliding(e,i.id)}),ss(8,"ion-item",33),ns(9,BY,1,0,"ion-icon",42),ns(10,zY,1,0,"ion-icon",43),ns(11,VY,1,0,"ion-icon",44),ns(12,NY,1,0,"ion-icon",45),ss(13,"ion-label",46),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).goTo(e.id)}),Du(14,"translate"),ss(15,"p"),Qs(16),ls(),ss(17,"h2"),Qs(18),ls(),ns(19,jY,2,1,"p",47),ls(),ss(20,"ion-buttons",5),ns(21,UY,2,0,"ion-button",48),ns(22,WY,2,0,"ion-button",48),ls(),ls(),ss(23,"ion-item-options"),ns(24,GY,4,3,"ion-item-option",49),ss(25,"ion-item-option",50),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).openActions(e)}),us(26,"ion-icon",51),Qs(27),Du(28,"translate"),ls(),ls(),ls(),ls(),ls()}if(2&e){var i=t.$implicit,r=ks(2);xo(5),os("ngForOf",i.workflow),xo(4),os("ngIf","PROG"==i.state),xo(1),os("ngIf","STOP"==i.state),xo(1),os("ngIf","VAL"==i.state),xo(1),os("ngIf","REF"==i.state),xo(1),os("title",Ou(14,13,"lang.accessDocument")),xo(3),Xs(i.reference),xo(2),Xs(i.title),xo(1),os("ngIf",i.reason.length>0),xo(2),os("ngIf",r.openedLine===i.id),xo(1),os("ngIf",r.openedLine!==i.id),xo(2),os("ngIf","PROG"!==i.state),xo(3),Ks(" ",Ou(28,15,"lang.actions")," ")}}function YY(e,t){if(1&e&&(ss(0,"ion-list"),ss(1,"ion-virtual-scroll",35),ns(2,qY,29,17,"ion-item",36),ls(),ls()),2&e){var n=ks();xo(1),os("items",n.ressources)}}function ZY(e,t){if(1&e){var n=fs();cs(0),ss(1,"ion-item"),ss(2,"ion-label",76),Qs(3),Du(4,"translate"),ls(),ss(5,"ion-input",77),ms("ngModelChange",function(e){return nn(n),ks().$implicit.val=e})("keyup.enter",function(){return nn(n),ks(3).launchSearch()})("ionChange",function(){return nn(n),ks(3).checkInput()}),ls(),ls(),ds()}if(2&e){var i=ks().$implicit;xo(3),Ks("",Ou(4,3,"lang."+i.id+"Search")," "),xo(2),os("ngModel",i.val)("value",i.val)}}function QY(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-label"),Qs(2),Du(3,"translate"),ls(),ss(4,"ion-checkbox",79),ms("ngModelChange",function(){nn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).toggleItem(i,e,!e.selected)})("ngModelChange",function(e){return t.$implicit.selected=e}),ls(),ls()}if(2&e){var i=t.$implicit;xo(2),Xs(Ou(3,4,i.label)),xo(2),os("ngModel",i.selected)("checked",i.selected)("value",i.id)}}function XY(e,t){if(1&e&&(cs(0),ss(1,"ion-list-header"),ss(2,"ion-label",78),Qs(3),Du(4,"translate"),ls(),ls(),ns(5,QY,5,6,"ion-item",19),ds()),2&e){var n=ks().$implicit;xo(3),Xs(Ou(4,2,"lang."+n.id+"Search")),xo(2),os("ngForOf",n.values)}}function KY(e,t){if(1&e&&(cs(0),ss(1,"ion-list-header"),ss(2,"ion-label",78),Qs(3),Du(4,"translate"),ls(),ls(),us(5,"plugin-autocomplete",80),ds()),2&e){var n=ks().$implicit;xo(3),Xs(Ou(4,2,"lang."+n.id+"Search")),xo(2),os("currentItems",n.val)}}function JY(e,t){if(1&e&&(ss(0,"ion-list"),ns(1,ZY,6,5,"ng-container",10),ns(2,XY,6,4,"ng-container",10),ns(3,KY,6,4,"ng-container",10),ls()),2&e){var n=t.$implicit;xo(1),os("ngIf","text"===n.type),xo(1),os("ngIf","checkbox"===n.type),xo(1),os("ngIf","autocompleteUsers"===n.type)}}function $Y(e,t){if(1&e){var n=fs();ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title",71),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"ion-content"),ns(8,JY,4,3,"ion-list",19),ls(),ss(9,"ion-footer",72),ss(10,"div",73),ss(11,"ion-button",74),ms("click",function(){return nn(n),ks().onSubmit()}),ss(12,"ion-label",75),Qs(13),Du(14,"translate"),ls(),ls(),ls(),ls()}if(2&e){var i=ks();os("translucent",!0),xo(5),Xs(Ou(6,4,"lang.filters")),xo(3),os("ngForOf",i.filters),xo(5),Xs(Ou(14,6,"lang.search"))}}var eZ,tZ,nZ=((tZ=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f,p){A(this,e),this.http=t,this.translate=n,this.router=i,this.menu=r,this.signaturesService=o,this.viewContainerRef=a,this.notificationService=s,this.authService=l,this.loadingController=u,this.alertController=c,this.actionSheetController=d,this.datePipe=h,this.functionsService=f,this._activatedRoute=p,this.loading=!1,this.filesToUpload=[],this.errors=[],this.filters=[{id:"title",type:"text",val:"",values:[]},{id:"reference",type:"text",val:"",values:[]},{id:"documentId",type:"text",val:"",values:[]},{id:"workflowStates",type:"checkbox",val:[],values:[{id:"PROG",label:"lang.inprogress",selected:!1},{id:"STOP",label:"lang.interrupt",selected:!1},{id:"VAL",label:"lang.end",selected:!1},{id:"REF",label:"lang.refused",selected:!1}]},{id:"workflowUsers",type:"autocompleteUsers",val:[],values:[]}],this.actions=[{icon:"hand-left-outline",id:"interruptWorkflow"},{icon:"document-outline",id:"newWorkflow"}],this.ressources=[],this.currentFilters=[],this.offset=0,this.limit=10,this.count=0,this.openedLine=""}return m(e,[{key:"ngOnInit",value:function(){var e=this;this._activatedRoute.queryParamMap.subscribe(function(t){e.functionsService.empty(t.get("documentId"))||(e.documentId=t.get("documentId"),e.filters.filter(function(e){return"documentId"===e.id})[0].val=e.documentId,e.search())})}},{key:"ionViewWillEnter",value:function(){var e=this;this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),setTimeout(function(){e.menu.open("right-menu")},500)}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent")}},{key:"toggleSlide",value:function(e,t){var n=this;e.getOpenAmount().then(function(i){0===i?(n.openedLine=t,e.open("end")):(n.openedLine="",e.close("end"))})}},{key:"onSliding",value:function(e,t){this.openedLine=1===e.detail.ratio?t:""}},{key:"onSubmit",value:function(){this.search(),this.menu.close("right-menu")}},{key:"toggleItem",value:function(e,t,n){if(n)e.val.push(t.id);else{var i=e.val.indexOf(t.id);e.val.splice(i,1)}}},{key:"formatDatas",value:function(){var e={};return JSON.parse(JSON.stringify(this.filters.filter(function(e){return"text"===e.type&&""!==e.val||"text"!==e.type&&e.val.length>0}))).forEach(function(t){e[t.id]="workflowUsers"===t.id?t.val.map(function(e){return e.id}):"workflowStates"===t.id?t.values.filter(function(e){return e.selected}).map(function(e){return e.id}):t.val}),e}},{key:"formatListDatas",value:function(e){var t=this;return e.map(function(e){return Object.assign(Object.assign({},e),{reason:t.getReason(e),currentUser:t.getCurrentUser(e)})})}},{key:"getNbFilters",value:function(){for(var e=0,t=0;t<this.currentFilters.length;t++)Array.isArray(this.currentFilters[t].val)||""===this.currentFilters[t].val||e++,Array.isArray(this.currentFilters[t].val)&&this.currentFilters[t].val.length>0&&(e+=this.currentFilters[t].val.length);return e}},{key:"openActions",value:function(e){return mY(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i,r=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],this.actions.forEach(function(t){r.canShowButton(t.id,e)&&n.push({text:r.translate.instant("PROG"===e.state&&"newWorkflow"===t.id?"lang."+t.id+"Prog":"lang."+t.id),icon:t.icon,handler:function(){r[t.id](e)}})}),t.next=4,this.actionSheetController.create({header:this.translate.instant("lang.actions")+(null!==e.reference?" - "+e.reference:""),buttons:n});case 4:return i=t.sent,t.next=7,i.present();case 7:case"end":return t.stop()}},t,this)}))}},{key:"canShowButton",value:function(e,t){return!("interruptWorkflow"!==e||!t.canInterrupt)||!("newWorkflow"!==e||!t.canReaffect)}},{key:"search",value:function(){var e=this;this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return mY(e,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.present(),e.next=3,this.launchSearch();case 3:t.dismiss();case 4:case"end":return e.stop()}},e,this)}))})}},{key:"launchSearch",value:function(){var e=this;return this.ressources=[],this.offset=0,this.refreshCurrentFilter(),new Promise(function(t){e.http.post("../rest/search/documents?limit=10&offset=0",e.formatDatas()).pipe(uw(function(n){e.ressources=e.formatListDatas(n.documents),e.count=n.count,e.infiniteScroll.disabled=!1,t(!0)}),Zb(function(n){return e.notificationService.handleErrors(n),t(!1),Ty(!1)})).subscribe()})}},{key:"refreshCurrentFilter",value:function(){var e=this;this.currentFilters=JSON.parse(JSON.stringify(this.filters.filter(function(t){return!e.functionsService.empty(t.val)}))),this.currentFilters.filter(function(e){return"workflowStates"===e.id}).length>0&&(this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].val=this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].values.filter(function(e){return e.selected}),0===this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].val.length&&(this.currentFilters=this.currentFilters.filter(function(e){return"workflowStates"!==e.id})))}},{key:"loadData",value:function(e){var t=this;this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/search/documents?limit="+this.limit+"&offset="+this.offset,this.formatDatas()).pipe(uw(function(n){t.ressources=t.ressources.concat(t.formatListDatas(n.documents)),e.target.complete(),t.count===t.ressources.length&&(e.target.disabled=!0)})).subscribe())}},{key:"interruptWorkflow",value:function(e){return mY(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t){return mY(n,void 0,void 0,regeneratorRuntime.mark(function n(){var i,r=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.alertController.create({header:this.translate.instant("lang.warning"),message:this.translate.instant("lang.warnInterrupt"),buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(){r.loadingController.create({message:r.translate.instant("lang.processing"),spinner:"dots"}).then(function(n){return mY(r,void 0,void 0,regeneratorRuntime.mark(function i(){return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n.present(),i.next=3,this.launchInterrupt(e);case 3:this.launchSearch(),t(!0),n.dismiss();case 6:case"end":return i.stop()}},i,this)}))})}}]});case 2:return i=n.sent,n.next=5,i.present();case 5:case"end":return n.stop()}},n,this)}))}));case 1:case"end":return t.stop()}},t)}))}},{key:"launchInterrupt",value:function(e){var t=this;return new Promise(function(n){t.http.put("../rest/documents/".concat(e.id,"/workflows/interrupt"),{}).pipe(uw(function(){t.notificationService.success("lang.documentInterrupted"),n(!0)}),Zb(function(e){return t.notificationService.handleErrors(e),n(!1),Ty(!1)})).subscribe()})}},{key:"newWorkflow",value:function(e){return mY(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0="PROG"===e.state,!t.t0){t.next=4;break}return t.next=4,this.interruptWorkflow(e);case 4:this.router.navigate(["/indexation"],{state:{documentId:e.id}});case 5:case"end":return t.stop()}},t,this)}))}},{key:"openPromptProof",value:function(e){return mY(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({cssClass:"promptProof",header:this.translate.instant("lang.download"),inputs:[{name:"option1",type:"radio",label:this.translate.instant("lang.proof"),value:"onlyProof",checked:!0},{name:"option1",type:"radio",label:this.translate.instant("lang.completeFolder"),value:"all"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(t){return mY(i,void 0,void 0,regeneratorRuntime.mark(function i(){return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.downloadProof(e,t);case 2:n.dismiss();case 3:case"end":return i.stop()}},i,this)}))}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}))}},{key:"downloadProof",value:function(e,t){var n=this,i="onlyProof"===t?"&onlyProof=true":"";return new Promise(function(t){n.http.get("../rest/documents/".concat(e.id,"/proof?mode=stream").concat(i),{responseType:"blob"}).pipe(uw(function(i){var r=new Date,o="proof_"+e.id+"_"+n.datePipe.transform(r,"dd-MM-y")+"."+i.type.replace("application/",""),a=document.createElement("a");a.href=window.URL.createObjectURL(i),a.setAttribute("download",o),document.body.appendChild(a),a.click(),t(!0)}),Zb(function(e){return n.notificationService.handleErrors(e),t(!1),Ty(!1)})).subscribe()})}},{key:"getReason",value:function(e){return e.workflow.map(function(e){return e.reason}).filter(function(e){return null!==e})}},{key:"getCurrentUser",value:function(e){var t=e.workflow.filter(function(e){return!0===e.current});return t.length>0?t[0].userId:null}},{key:"goTo",value:function(e){this.router.navigate(["/documents/"+e])}},{key:"clearFilters",value:function(){for(var e=0;e<this.filters.length;e++)Array.isArray(this.filters[e].val)||""===this.filters[e].val||(this.filters[e].val=""),Array.isArray(this.filters[e].val)&&(this.filters[e].val=[],this.filters[e].values=this.filters[e].values.map(function(e){return Object.assign(Object.assign({},e),{selected:!1})}));this.ressources.length>0&&this.launchSearch()}},{key:"removeFilter",value:function(e,t){if(Array.isArray(e.val))if("workflowStates"===e.id)this.filters.find(function(t){return t.id===e.id}).values.filter(function(e){return e.id===t})[0].selected=!1;else{var n=e.val.indexOf(t);this.filters.filter(function(t){return t.id===e.id})[0].val.splice(n,1)}else this.filters.find(function(t){return t.id===e.id}).val="";this.launchSearch()}},{key:"getLabel",value:function(e){return this.filters.filter(function(e){return"workflowStates"===e.id})[0].values.find(function(t){return t.id===e}).label}},{key:"checkInput",value:function(){""===this.filters.find(function(e){return"title"===e.id}).val&&""===this.filters.find(function(e){return"reference"===e.id}).val&&""===this.filters.find(function(e){return"documentId"===e.id}).val&&0===this.filters.find(function(e){return"workflowStates"===e.id}).val.length&&0===this.filters.find(function(e){return"workflowUsers"===e.id}).val.length&&(this.clearFilters(),this.currentFilters=[])}}]),e}()).\u0275fac=function(e){return new(e||tZ)(rs(lb),rs(vP),rs(jk),rs(dE),rs(DP),rs(uu),rs(wP),rs(MP),rs(cE),rs(uE),rs(lE),rs(Wh),rs(NU),rs(b_))},tZ.\u0275cmp=ft({type:tZ,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&(Qu(yY,1),Qu(bY,3),Qu(eS,1)),2&e&&(Zu(n=Ku())&&(t.appVisaWorkflow=n.first),Zu(n=Ku())&&(t.rightContent=n.first),Zu(n=Ku())&&(t.infiniteScroll=n.first))},features:[yl([Wh])],decls:22,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["class","no-result",4,"ngIf"],[4,"ngIf"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["rightContent",""],["color","primary",2,"padding-left","1px","padding-right","1px"],[2,"display","flex"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],[4,"ngFor","ngForOf"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngIf"],["outline","","color","primary",2,"background","white",3,"title","click"],["name","document-text-outline",4,"ngIf"],["name","compass-outline",4,"ngIf"],["name","bookmark-outline",4,"ngIf"],["name","close-circle"],["name","document-text-outline"],["name","compass-outline"],["name","bookmark-outline"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngFor","ngForOf"],["name","swap-horizontal-outline"],["name","person-outline"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"],["approxItemHeight","165px",3,"items"],[4,"virtualItem"],["color","light"],["size","small"],[2,"display","flex","align-items","center","white-space","pre","overflow-x","auto","overflow-y","hidden"],[3,"ionDrag"],["slidingItem",""],["color","primary","slot","start","name","hourglass-outline",4,"ngIf"],["color","danger","slot","start","name","hand-left-outline",4,"ngIf"],["color","success","slot","start","name","thumbs-up-outline",4,"ngIf"],["color","danger","slot","start","name","thumbs-down-outline",4,"ngIf"],[2,"cursor","pointer",3,"title","click"],["class","primary",4,"ngIf"],["slot","icon-only","fill","clear","shape","round",3,"click",4,"ngIf"],["color","primary",3,"click",4,"ngIf"],["color","primary",3,"click"],["slot","bottom","name","settings-sharp"],["name","chevron-forward-outline",4,"ngIf"],[1,"workflow-item","success"],["name","thumbs-up-outline",4,"ngIf"],["name","thumbs-down-outline",4,"ngIf"],["color","medium",4,"ngIf"],["name","chevron-forward-outline"],["name","thumbs-up-outline"],["name","thumbs-down-outline"],["color","medium"],["color","primary","slot","start","name","hourglass-outline"],["color","danger","slot","start","name","hand-left-outline"],["color","success","slot","start","name","thumbs-up-outline"],["color","danger","slot","start","name","thumbs-down-outline"],[1,"primary"],["name","chatbox-outline"],["slot","icon-only","fill","clear","shape","round",3,"click"],["color","medium","slot","icon-only","name","arrow-forward-outline"],["color","medium","slot","icon-only","name","arrow-back-outline"],["slot","bottom","name","ribbon-sharp"],[1,"ion-text-center"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["color","secondary","position","floating"],[3,"ngModel","value","ngModelChange","keyup.enter","ionChange"],["color","secondary"],["slot","end",1,"workflowStates",3,"ngModel","checked","value","ngModelChange"],[3,"currentItems"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),ls(),ss(4,"ion-title"),Qs(5),Du(6,"translate"),ls(),ss(7,"ion-title",4),Qs(8),Du(9,"translate"),ls(),ss(10,"ion-buttons",5),ss(11,"ion-menu-button",6),us(12,"ion-icon",7),ls(),ls(),ls(),ns(13,DY,7,4,"ion-toolbar",8),ls(),ss(14,"ion-content"),ns(15,OY,5,3,"ion-list",9),ns(16,YY,3,1,"ion-list",10),ss(17,"ion-infinite-scroll",11),ms("ionInfinite",function(e){return t.loadData(e)}),us(18,"ion-infinite-scroll-content",12),Du(19,"translate"),ls(),ls(),ns(20,$Y,15,8,"ng-template",null,13,tc)),2&e&&(os("translucent",!0),xo(5),Xs(Ou(6,8,"lang.search")),xo(3),Js("",t.count," ",Ou(9,10,"lang.results"),""),xo(5),os("ngIf",t.currentFilters.length>0),xo(2),os("ngIf",0===t.ressources.length),xo(1),os("ngIf",t.ressources.length>0),xo(2),os("loadingText",Ou(19,12,"lang.loadingMoreData")))},directives:[KC,MS,FC,dS,DS,JC,mh,WC,eS,tS,LC,gh,jC,sS,lS,iS,oE,rE,aS,oS,rS,RC,IC,eE,QC,nS,nA,hm,Ym,uS,HC,Jx,vY],pipes:[mP],styles:[".line-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;grid-gap:10px;width:100%}.line-workflow[_ngcontent-%COMP%]{font-size:12px}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.workflow-item[_ngcontent-%COMP%]{display:flex;align-items:center}.no-visa[_ngcontent-%COMP%]{opacity:.3}.current[_ngcontent-%COMP%]{font-weight:700;color:var(--ion-color-primary)}.interrupt[_ngcontent-%COMP%], .typist-interrupt[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.interrupt[_ngcontent-%COMP%]{text-decoration:line-through}.no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:50px}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap}.scrollfilters[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;display:inline-block}"]}),tZ),iZ=((eZ=function(){function e(t){A(this,e),this.latinisePipe=t}return m(e,[{key:"transform",value:function(e,t){var n=this;return null!==e?(e.sort(function(e,i){var r=n.latinisePipe.transform(e[t]).toLocaleLowerCase(),o=n.latinisePipe.transform(i[t]).toLocaleLowerCase();return r<o?-1:r>o?1:0}),e):[]}}]),e}()).\u0275fac=function(e){return new(e||eZ)(rs(KM))},eZ.\u0275pipe=wt({name:"sortBy",type:eZ,pure:!0}),eZ),rZ=["rightContent"];function oZ(e,t){if(1&e){var n=fs();ss(0,"ion-chip",18),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).removeFilter(e)}),Du(1,"translate"),us(2,"ion-icon",19),ss(3,"ion-label"),Qs(4),Du(5,"translate"),ls(),us(6,"ion-icon",20),ls()}if(2&e){var i=t.$implicit;os("title",Ou(1,2,"lang.actions")),xo(4),Xs(Ou(5,4,"lang."+i))}}function aZ(e,t){if(1&e){var n=fs();ss(0,"ion-chip",18),ms("click",function(){nn(n);var e=ks(2);return e.removeFilter(e.filters.user)}),Du(1,"translate"),us(2,"ion-icon",21),ss(3,"ion-label"),Qs(4),ls(),us(5,"ion-icon",20),ls()}if(2&e){var i=ks(2);os("title",Ou(1,2,"lang.userName")),xo(4),Xs(i.filters.user)}}function sZ(e,t){if(1&e){var n=fs();ss(0,"ion-chip",18),ms("click",function(){nn(n);var e=ks(2);return e.removeFilter(e.filters.date.start)}),Du(1,"translate"),us(2,"ion-icon",22),ss(3,"ion-label"),Qs(4),Du(5,"date"),ls(),us(6,"ion-icon",20),ls()}if(2&e){var i=ks(2);os("title",Ou(1,2,"lang.since")),xo(4),Xs(Mu(5,4,i.filters.date.start,"dd/MM/yyyy"))}}function lZ(e,t){if(1&e){var n=fs();ss(0,"ion-chip",18),ms("click",function(){nn(n);var e=ks(2);return e.removeFilter(e.filters.date.end)}),Du(1,"translate"),us(2,"ion-icon",23),ss(3,"ion-label"),Qs(4),Du(5,"date"),ls(),us(6,"ion-icon",20),ls()}if(2&e){var i=ks(2);os("title",Ou(1,2,"lang.until")),xo(4),Xs(Mu(5,4,i.filters.date.end,"dd/MM/yyyy"))}}function uZ(e,t){if(1&e){var n=fs();ss(0,"ion-toolbar",12),ss(1,"ion-button",13),ms("click",function(){return nn(n),ks().clearFilters()}),Du(2,"translate"),us(3,"ion-icon",14),ls(),ss(4,"div",15),ns(5,oZ,7,6,"ion-chip",16),ns(6,aZ,6,4,"ion-chip",17),ns(7,sZ,7,7,"ion-chip",17),ns(8,lZ,7,7,"ion-chip",17),ls(),ls()}if(2&e){var i=ks();xo(1),os("title",Ou(2,5,"lang.clearFilters")),xo(4),os("ngForOf",i.filters.messageTypes),xo(1),os("ngIf",""!==i.filters.user),xo(1),os("ngIf",null!==i.filters.date.start),xo(1),os("ngIf",null!==i.filters.date.end)}}function cZ(e,t){if(1&e&&(ss(0,"ion-item",28),us(1,"ion-icon",29),ss(2,"ion-label"),ss(3,"p"),Qs(4),Du(5,"titlecase"),Du(6,"translate"),ss(7,"span",30),Qs(8),Du(9,"date"),ls(),Qs(10),Du(11,"translate"),ss(12,"span",30),Qs(13),ls(),ls(),ss(14,"h2"),Qs(15),ls(),ls(),ss(16,"ion-note",5),ss(17,"p",31),Du(18,"translate"),Qs(19),Du(20,"translate"),Du(21,"shorten"),Du(22,"translate"),ls(),ss(23,"p",32),Qs(24),ls(),ls(),ls()),2&e){var n=t.$implicit,i=ks(2);xo(1),os("name",i.aventTypesIcon[n.type]),xo(3),Ks("",Ou(5,10,Ou(6,12,"lang.the"))," "),xo(4),Xs(Mu(9,14,n.date,"dd/MM/yyyy HH:mm")),xo(2),Ks(" ",Ou(11,17,"lang.by")," "),xo(3),Xs(n.user),xo(2),Xs(n.message),xo(2),os("title",Ou(18,19,"lang.resource")+" : "+n.objectId),xo(2),Js("",Ou(20,21,"lang."+n.objectType)," : ",null!==n.objectLabel?Tu(21,23,n.objectLabel,50,"..."):Ou(22,27,"lang.undefined"),""),xo(5),Ks("IP : ",n.ip,"")}}function dZ(e,t){if(1&e){var n=fs();ss(0,"ion-list"),ss(1,"ion-virtual-scroll",24),ns(2,cZ,25,29,"ion-item",25),ls(),ss(3,"ion-infinite-scroll",26),ms("ionInfinite",function(e){return nn(n),ks().loadData(e)}),us(4,"ion-infinite-scroll-content",27),Du(5,"translate"),ls(),ls()}if(2&e){var i=ks();xo(1),os("items",i.resources),xo(3),os("loadingText",Ou(5,2,"lang.loadingMoreData"))}}function hZ(e,t){if(1&e){var n=fs();ss(0,"ion-buttons",5),ss(1,"ion-button",42),ms("click",function(){nn(n);var e=ks(2);return e.filters.date.start=null,e.getDatas()}),us(2,"ion-icon",43),ls(),ls()}}function fZ(e,t){if(1&e){var n=fs();ss(0,"ion-buttons",5),ss(1,"ion-button",42),ms("click",function(){nn(n);var e=ks(2);return e.filters.date.end=null,e.getDatas()}),us(2,"ion-icon",43),ls(),ls()}}function pZ(e,t){if(1&e){var n=fs();ss(0,"ion-item",31),ss(1,"ion-checkbox",44),ms("ionChange",function(e){return nn(n),ks(2).toggleAction(e.detail)}),ls(),ss(2,"ion-label"),Qs(3),ls(),ls()}if(2&e){var i=t.$implicit;os("title",i.label),xo(1),os("value",i.id),xo(2),Xs(i.label)}}function gZ(e,t){if(1&e){var n=fs();ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-back-button"),ls(),ss(4,"ion-title",33),Qs(5),Du(6,"translate"),ls(),ls(),ls(),ss(7,"ion-content"),ss(8,"ion-list"),ss(9,"ion-item",34),ss(10,"ion-searchbar",35),ms("ionChange",function(e){return nn(n),ks().applyFilter(e.detail.value)}),Du(11,"translate"),ls(),ls(),ss(12,"ion-item"),ss(13,"ion-label",36),Qs(14),Du(15,"translate"),ls(),ss(16,"ion-datetime",37),ms("ngModelChange",function(e){return nn(n),ks().filters.date.start=e})("ionChange",function(){return nn(n),ks().getDatas()}),Du(17,"translate"),Du(18,"translate"),ls(),ns(19,hZ,3,0,"ion-buttons",38),ls(),ss(20,"ion-item"),ss(21,"ion-label",36),Qs(22),Du(23,"translate"),ls(),ss(24,"ion-datetime",39),ms("ngModelChange",function(e){return nn(n),ks().filters.date.end=e})("ionChange",function(){return nn(n),ks().getDatas()}),Du(25,"translate"),Du(26,"translate"),ls(),ns(27,fZ,3,0,"ion-buttons",38),ls(),ss(28,"ion-item",40),ss(29,"ion-label",36),Qs(30),Du(31,"translate"),ls(),ls(),ns(32,pZ,4,3,"ion-item",41),ls(),ls()}if(2&e){var i=ks();os("translucent",!0),xo(5),Xs(Ou(6,17,"lang.filters")),xo(5),os("placeholder",Ou(11,19,"lang.enterUserName")),xo(4),Ks("",Ou(15,21,"lang.since"),": "),xo(2),os("doneText",Ou(17,23,"lang.validate"))("cancelText",Ou(18,25,"lang.cancel"))("ngModel",i.filters.date.start)("max",null!==i.filters.date.end?i.filters.date.end:void 0),xo(3),os("ngIf",null!==i.filters.date.start),xo(3),Ks("",Ou(23,27,"lang.until"),": "),xo(2),os("doneText",Ou(25,29,"lang.validate"))("cancelText",Ou(26,31,"lang.cancel"))("ngModel",i.filters.date.end)("min",null!==i.filters.date.start?i.filters.date.start:void 0),xo(3),os("ngIf",null!==i.filters.date.end),xo(3),Ks("",Ou(31,33,"lang.actions"),": "),xo(2),os("ngForOf",i.actions)}}var vZ,mZ=((vZ=function(){function e(t,n,i,r,o,a,s,l,u,c,d){A(this,e),this.http=t,this.translate=n,this.menu=i,this.latinisePipe=r,this.viewContainerRef=o,this.dialog=a,this.signaturesService=s,this.notificationService=l,this.authService=u,this.alertController=c,this.sortPipe=d,this.displayedColumns=["creation_date","user","info","ip"],this.loading=!0,this.resources=[],this.offset=0,this.limit=10,this.count=0,this.filters={user:"",messageTypes:[],date:{start:null,end:null}},this.aventTypesIcon={VIEW:"eye-outline",CREATION:"add-circle-outline",ACTION:"settings-outline",THUMBNAIL:"image-outline",EMAIL:"mail-outline",SUPPRESSION:"trash-bin-outline",MODIFICATION:"create-outline",LOGIN:"log-in-outline",LOGOUT:"log-out-outline"},this.actions=[]}return m(e,[{key:"applyFilter",value:function(e){e=this.latinisePipe.transform(e.toLowerCase()),this.filters.user=e,this.getDatas()}},{key:"openFilters",value:function(){this.menu.open("right-menu")}},{key:"ionViewWillEnter",value:function(){return e=this,n=regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.filters.messageTypes=[],this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),this.getActions(),this.getDatas();case 1:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getActions",value:function(){var e=this;this.http.get("../rest/history/messageTypes",this.filters).pipe(uw(function(t){e.actions=t.messageTypes.map(function(t){return{id:t,label:e.translate.instant("lang."+t)}}),e.actions=e.sortPipe.transform(e.actions,"label")}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}},{key:"getDatas",value:function(){var e=this;return this.resources=[],this.offset=0,new Promise(function(t){e.http.post("../rest/history?limit=10&offset=0",e.filters).pipe(uw(function(n){e.resources=n.history,e.count=n.total,t(!0)}),Zb(function(n){return e.notificationService.handleErrors(n),t(!1),Ty(!1)})).subscribe()})}},{key:"sortData",value:function(e){console.log(e)}},{key:"loadData",value:function(e){var t=this;this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/history?limit="+this.limit+"&offset="+this.offset,this.filters).pipe(uw(function(n){t.resources=t.resources.concat(n.history),e.target.complete(),t.count===t.resources.length&&(e.target.disabled=!0)})).subscribe())}},{key:"getNbFilters",value:function(){var e=0;return""!==this.filters.user&&e++,null!==this.filters.date.start&&e++,null!==this.filters.date.end&&e++,this.filters.messageTypes.length>0&&(e+=this.filters.messageTypes.length),e}},{key:"toggleAction",value:function(e){e.checked?this.filters.messageTypes.push(e.value):this.filters.messageTypes=this.filters.messageTypes.filter(function(t){return t!==e.value}),this.getDatas()}},{key:"clearFilters",value:function(){$(".checkedAction").each(function(){$(this).prop("checked",!1)}),document.querySelector("ion-searchbar").getInputElement().then(function(e){e.value=""}),this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.getDatas()}},{key:"removeFilter",value:function(e){this.filters.messageTypes.includes(e)&&$(".checkedAction").each(function(){if($(this).val()===e)return $(this).prop("checked",!1),!1}),this.filters.user===e&&(document.querySelector("ion-searchbar").getInputElement().then(function(e){e.value=""}),this.filters.user=""),this.filters.date.start===e&&(this.filters.date.start=null),this.filters.date.end===e&&(this.filters.date.end=null),this.getDatas()}}]),e}()).\u0275fac=function(e){return new(e||vZ)(rs(lb),rs(vP),rs(dE),rs(KM),rs(uu),rs(CB),rs(DP),rs(wP),rs(MP),rs(uE),rs(iZ))},vZ.\u0275cmp=ft({type:vZ,selectors:[["app-administration-history-list"]],viewQuery:function(e,t){var n;1&e&&Qu(rZ,3),2&e&&Zu(n=Ku())&&(t.rightContent=n.first)},features:[yl([iZ])],decls:20,vars:10,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["mainContent",""],[4,"ngIf"],["rightContent",""],["color","primary","color","primary",2,"padding-left","1px","padding-right","1px"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],["outline","","color","primary",3,"title","click",4,"ngFor","ngForOf"],["outline","","color","primary",3,"title","click",4,"ngIf"],["outline","","color","primary",3,"title","click"],["name","swap-horizontal-outline"],["name","close-circle"],["name","person-outline"],["name","today-outline"],["name","calendar-outline"],["approxItemHeight","90px",3,"items"],["lines","full","class","canSelect",4,"virtualItem"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","full",1,"canSelect"],["color","primary","slot","start",3,"name"],[1,"primary"],[3,"title"],[2,"float","right","margin-top","0px"],[1,"ion-text-center"],["lines","none"],[3,"placeholder","ionChange"],["color","secondary"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","max","ngModelChange","ionChange"],["slot","end",4,"ngIf"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","min","ngModelChange","ionChange"],["lines","none",2,"position","sticky","top","0","z-index","2"],[3,"title",4,"ngFor","ngForOf"],["color","danger","shape","round","fill","clear",3,"click"],["slot","icon-only","name","close-outline"],["slot","start",1,"checkedAction",3,"value","ionChange"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),ls(),ss(8,"ion-title",4),Qs(9),Du(10,"translate"),ls(),ss(11,"ion-buttons",5),ss(12,"ion-menu-button",6),us(13,"ion-icon",7),ls(),ls(),ls(),ns(14,uZ,9,7,"ion-toolbar",8),ls(),ss(15,"ion-content",null,9),ns(17,dZ,6,4,"ion-list",10),ls(),ns(18,gZ,33,35,"ng-template",null,11,tc)),2&e&&(os("translucent",!0),xo(6),Xs(Ou(7,6,"lang.history")),xo(3),Js("",t.count," ",Ou(10,8,"lang.entries"),""),xo(5),os("ngIf",t.getNbFilters()>0),xo(3),os("ngIf",t.resources.length>0))},directives:[KC,MS,FC,dS,IC,eE,DS,JC,mh,WC,LC,gh,jC,sS,lS,oE,rE,eS,tS,iS,fS,wS,nA,GC,tA,hm,Ym,HC,Jx],pipes:[mP,Wh,jh,QM],styles:[".flex1[_ngcontent-%COMP%]{flex:1}.flex2[_ngcontent-%COMP%]{flex:2}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)} .test .alert-wrapper{min-width:350px}.canSelect[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{user-select:text!important;-webkit-user-select:text!important;-khtml-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap;height:50%}.scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;margin:4px;display:inline-block}ion-button.clearFilter[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;left:0;z-index:1}ion-chip[_ngcontent-%COMP%]{background-color:#fff}"]}),vZ),yZ=["customizationForm"];function bZ(e,t){if(1&e){var n=fs();ss(0,"ion-button",14),ms("click",function(){return nn(n),ks(2).watermark.enabled=!1}),Qs(1),Du(2,"translate"),ls()}2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.disableWatermark"),""))}function wZ(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-button",15),ms("click",function(){return nn(n),ks(2).watermark.enabled=!0}),Qs(2),Du(3,"translate"),ls(),ls()}2&e&&(xo(2),Ks("",Ou(3,1,"lang.enableWatermark")," "))}function _Z(e,t){if(1&e){var n=fs();cs(0),ss(1,"ion-card"),ss(2,"ion-item",1),us(3,"ion-icon",16),us(4,"ion-label",17),Du(5,"translate"),ls(),ls(),ss(6,"ion-item"),ss(7,"ion-label",18),Qs(8),Du(9,"translate"),ls(),ss(10,"ion-input",19),ms("ngModelChange",function(e){return nn(n),ks(2).watermark.text=e}),ls(),us(11,"ion-note",20),Du(12,"translate"),ls(),ss(13,"ion-radio-group",21),ms("ionChange",function(e){return nn(n),ks(2).watermark.align=e.detail.value}),ss(14,"ion-list-header"),ss(15,"ion-label",7),Qs(16),Du(17,"translate"),ls(),ls(),ss(18,"ion-item"),ss(19,"ion-label"),Qs(20),Du(21,"translate"),ls(),us(22,"ion-radio",22),ls(),ss(23,"ion-item"),ss(24,"ion-label"),Qs(25),Du(26,"translate"),ls(),us(27,"ion-radio",23),ls(),ss(28,"ion-item"),ss(29,"ion-label"),Qs(30),Du(31,"translate"),ls(),us(32,"ion-radio",24),ls(),ls(),ss(33,"ion-item"),ss(34,"ion-label",18),Qs(35),Du(36,"translate"),ls(),ss(37,"ion-input",25),ms("ngModelChange",function(e){return nn(n),ks(2).watermark.posY=e})("keypress",function(e){return nn(n),ks(2).isNumber(e)}),ls(),ss(38,"ion-note",26),Qs(39,"px"),ls(),ls(),ds()}if(2&e){var i=ks(2);xo(4),os("innerHTML",Ou(5,12,"lang.watermarkDesc"),Ar),xo(4),Xs(Ou(9,14,"lang.content")),xo(2),os("ngModel",i.watermark.text),xo(1),os("innerHTML",Ou(12,16,"lang.watermarkContentDesc"),Ar),xo(2),os("value",i.watermark.align),xo(3),Xs(Ou(17,18,"lang.alignment")),xo(4),Xs(Ou(21,20,"lang.left")),xo(5),Xs(Ou(26,22,"lang.center")),xo(5),Xs(Ou(31,24,"lang.right")),xo(5),Ks("",Ou(36,26,"lang.positionY")," "),xo(2),os("ngModel",i.watermark.posY)("min",0)}}function kZ(e,t){if(1&e){var n=fs();ss(0,"form",5,6),ms("ngSubmit",function(){return nn(n),ks().onSubmit()}),ss(2,"ion-content"),ss(3,"ion-list"),ss(4,"ion-list-header"),ss(5,"ion-label",7),Qs(6),Du(7,"translate"),ls(),ns(8,bZ,3,3,"ion-button",8),ls(),ns(9,wZ,4,3,"ion-item",9),ns(10,_Z,40,28,"ng-container",9),ls(),ss(11,"ion-item",10),ss(12,"div",11),ss(13,"ion-button",12),ss(14,"ion-label",13),Qs(15),Du(16,"translate"),ls(),ls(),ls(),ls(),ls(),ls()}if(2&e){var i=ks();xo(6),Ks(" ",Ou(7,5,"lang.watermark")," "),xo(2),os("ngIf",i.watermark.enabled),xo(1),os("ngIf",!i.watermark.enabled),xo(1),os("ngIf",i.watermark.enabled),xo(5),Xs(Ou(16,7,"lang.validate"))}}var xZ,AZ,CZ=((AZ=function(){function e(t,n,i,r,o){A(this,e),this.http=t,this.translate=n,this.notificationService=i,this.authService=r,this.functions=o,this.loading=!0,this.loginMessage="",this.applicationUrl="",this.watermark={enabled:!1,text:"Document n\xb0[id]",align:"R",posY:10}}return m(e,[{key:"ngOnInit",value:function(){return e=this,n=regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getWatermark();case 2:this.loading=!1;case 3:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getWatermark",value:function(){var e=this;return new Promise(function(t){e.http.get("../rest/customization/watermark").pipe(uw(function(n){e.functions.empty(n.configuration)||(e.watermark=n.configuration),t(!0)}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()})}},{key:"onSubmit",value:function(){var e=this;this.http.put("../rest/customization",{id:this.authService.user.id,watermark:this.watermark}).pipe(uw(function(){e.notificationService.success(e.translate.instant("lang.modificationSaved"))}),Zb(function(t){return e.notificationService.handleErrors(t),Ty(!1)})).subscribe()}},{key:"isNumber",value:function(e){var t=(e=e||window.event).which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}}]),e}()).\u0275fac=function(e){return new(e||AZ)(rs(lb),rs(vP),rs(wP),rs(MP),rs(NU))},AZ.\u0275cmp=ft({type:AZ,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&Qu(yZ,1),2&e&&Zu(n=Ku())&&(t.customizationForm=n.first)},decls:9,vars:5,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","customizationForm",3,"ngSubmit",4,"ngIf"],["id","customizationForm",2,"display","contents",3,"ngSubmit"],["customizationForm","ngForm"],["color","secondary"],["size","small","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary"],[2,"font-size","13px"],["size","small","color","danger",3,"click"],["size","small","color","primary",3,"click"],["name","information-circle","slot","start"],[2,"white-space","initial",3,"innerHTML"],["color","secondary","position","floating"],["name","watermarkContent",3,"ngModel","ngModelChange"],[3,"innerHTML"],[3,"value","ionChange"],["slot","start","value","L"],["slot","start","value","C"],["slot","start","value","R"],["type","number","name","watermarkPosY",3,"ngModel","min","ngModelChange","keypress"],["slot","end"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-buttons",2),us(3,"ion-menu-button",3),us(4,"ion-back-button"),ls(),ss(5,"ion-title"),Qs(6),Du(7,"translate"),ls(),ls(),ls(),ns(8,kZ,17,9,"form",4)),2&e&&(os("translucent",!0),xo(6),Xs(Ou(7,3,"lang.customization")),xo(2),os("ngIf",!t.loading))},directives:[KC,MS,FC,dS,IC,eE,DS,mh,Zm,fm,Wm,WC,lS,uS,sS,iS,LC,BC,JC,nS,nA,hm,Ym,fS,gS,tA,pS,eA,$x],pipes:[mP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),AZ),SZ=((xZ=function e(){A(this,e)}).\u0275fac=function(e){return new(e||xZ)},xZ.\u0275mod=mt({type:xZ}),xZ.\u0275inj=Fe({imports:[[ax.forRoot([{path:"home",canActivate:[cH],component:Iq},{path:"indexation",canActivate:[cH],component:sY},{path:"profile",canActivate:[cH],component:Oq},{path:"search",canActivate:[cH],component:nZ},{path:"administration",canActivate:[cH],component:pH},{path:"administration/users",canActivate:[cH],component:_H},{path:"administration/users/new",canActivate:[cH],component:zH},{path:"administration/users/:id",canActivate:[cH],component:zH},{path:"administration/groups",canActivate:[cH],component:GH},{path:"administration/groups/new",canActivate:[cH],component:dj},{path:"administration/groups/:id",canActivate:[cH],component:dj},{path:"administration/connections",canActivate:[cH],component:vj},{path:"administration/connections/ldaps",canActivate:[cH],component:xj},{path:"administration/connections/ldaps/new",canActivate:[cH],component:Lj},{path:"administration/connections/ldaps/:id",canActivate:[cH],component:Lj},{path:"administration/emailConfiguration",canActivate:[cH],component:Wj},{path:"administration/passwordRules",canActivate:[cH],component:XG},{path:"administration/history",canActivate:[cH],component:mZ},{path:"administration/customization",canActivate:[cH],component:CZ},{path:"documents/:id",canActivate:[cH],component:IG},{path:"login",canActivate:[cH],component:jG},{path:"forgot-password",component:UG},{path:"update-password",component:QG},{path:"password-modification",component:nq},{path:"**",redirectTo:"login",pathMatch:"full"}],{relativeLinkResolution:"legacy"})],ax]}),xZ);function EZ(e,t){if(1&e){var n=fs();ss(0,"ion-item",3),ms("click",function(){return nn(n),ks().menu.close("left-menu")}),us(1,"ion-icon",4),ss(2,"ion-label"),Qs(3),Du(4,"translate"),ls(),ls()}if(2&e){var i=t.$implicit;Fs("item-active",ks().isActiveRoute(i.route)),os("routerLink",i.route),xo(1),os("name",i.icon),xo(2),Xs(Ou(4,5,"lang."+i.id))}}var PZ,DZ=((PZ=function(){function e(t,n,i,r){A(this,e),this.route=t,this.router=n,this.authService=i,this.menu=r,this.loading=!0,this.privileges=[]}return m(e,[{key:"ngOnInit",value:function(){}},{key:"openHome",value:function(){this.router.navigate(["/documents/"])}},{key:"isActiveRoute",value:function(e){return this.router.url.split("/").indexOf(e.replace("/administration/",""))>-1}}]),e}()).\u0275fac=function(e){return new(e||PZ)(rs(b_),rs(jk),rs(MP),rs(dE))},PZ.\u0275cmp=ft({type:PZ,selectors:[["app-admin-sidebar"]],decls:8,vars:4,consts:[["color","light"],[2,"text-align","center","font-size","14px"],["routerDirection","root",3,"routerLink","item-active","click",4,"ngFor","ngForOf"],["routerDirection","root",3,"routerLink","click"],["slot","start","color","primary",3,"name"]],template:function(e,t){1&e&&(ss(0,"ion-header"),ss(1,"ion-toolbar",0),ss(2,"ion-title",1),Qs(3),Du(4,"translate"),ls(),ls(),ls(),ss(5,"ion-content"),ss(6,"ion-list"),ns(7,EZ,5,7,"ion-item",2),ls(),ls()),2&e&&(xo(3),Ks(" ",Ou(4,2,"lang.administration")," "),xo(4),os("ngForOf",t.authService.user.administrativePrivileges))},directives:[KC,MS,DS,WC,lS,gh,iS,tE,Uk,JC,sS],pipes:[mP],styles:[".item-active[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.14);color:var(--ion-color-primary);font-weight:700}"]}),PZ),OZ=["listContent"],MZ=["searchInput"];function TZ(e,t){if(1&e){var n=fs();ss(0,"ion-button",8),ms("click",function(){return nn(n),ks().authService.logout()}),Du(1,"translate"),us(2,"ion-icon",15),ls()}2&e&&os("title",Ou(1,1,"lang.logout"))}function IZ(e,t){if(1&e){var n=fs();ss(0,"ion-button",8),ms("click",function(){return nn(n),ks().openAdmin()}),Du(1,"translate"),us(2,"ion-icon",16),ls()}2&e&&os("title",Ou(1,1,"lang.administration"))}function RZ(e,t){if(1&e){var n=fs();ss(0,"ion-button",8),ms("click",function(){return nn(n),ks().openHome()}),Du(1,"translate"),us(2,"ion-icon",17),ls()}2&e&&os("title",Ou(1,1,"lang.homePage"))}function LZ(e,t){if(1&e){var n=fs();ss(0,"ion-button",8),ms("click",function(){return nn(n),ks().openIndexation()}),Du(1,"translate"),us(2,"ion-icon",18),us(3,"ion-icon",19),ls()}2&e&&os("title",Ou(1,1,"lang.indexationAdmin"))}function FZ(e,t){if(1&e&&(ss(0,"span",26),Qs(1),Du(2,"translate"),ls()),2&e){var n=ks(3);xo(1),Xs(Ou(2,1,"lang."+n.signaturesService.mode+"Label"))}}function BZ(e,t){if(1&e){var n=fs();ss(0,"ion-title",23),ms("click",function(e){return nn(n),ks(2).search(e)}),Du(1,"translate"),ss(2,"span"),Qs(3),ls(),Qs(4),Du(5,"translate"),ns(6,FZ,3,3,"span",24),Qs(7," \xa0 "),us(8,"ion-icon",25),ls()}if(2&e){var i=ks(2);os("title",Ou(1,6,"lang.filterInfo")),xo(2),Fs("primary",""!=i.signaturesService.mode),xo(1),Xs(i.signaturesService.documentsListCount.current),xo(1),Ks(" ",Ou(5,8,"lang.documents")," "),xo(2),os("ngIf",""!=i.signaturesService.mode)}}function zZ(e,t){if(1&e){var n=fs();ss(0,"ion-searchbar",27,28),ms("ionCancel",function(e){nn(n);var t=ks(2);return t.search(e),t.searchMode=!t.searchMode}),Du(2,"translate"),ls()}if(2&e){var i=ks(2);os("placeholder",Ou(2,2,"lang.filterInfo"))("formControl",i.searchTerm)}}function VZ(e,t){if(1&e&&(ss(0,"ion-header"),ss(1,"ion-toolbar",20),ns(2,BZ,9,10,"ion-title",21),ns(3,zZ,3,4,"ion-searchbar",22),ls(),ls()),2&e){var n=ks();xo(2),os("ngIf",!n.searchMode),xo(1),os("ngIf",n.searchMode)}}function NZ(e,t){if(1&e){var n=fs();ss(0,"ion-header",29),ss(1,"ion-toolbar",30),ss(2,"ion-segment",31),ss(3,"ion-segment-button",32),ms("click",function(){return nn(n),ks().filter("sign")}),ss(4,"ion-label"),Qs(5),Du(6,"titlecase"),Du(7,"translate"),ls(),us(8,"ion-icon",33),ss(9,"ion-badge",34),Qs(10),ls(),ls(),ss(11,"ion-segment-button",35),ms("click",function(){return nn(n),ks().filter("visa")}),ss(12,"ion-label"),Qs(13),Du(14,"titlecase"),Du(15,"translate"),ls(),us(16,"ion-icon",36),ss(17,"ion-badge",34),Qs(18),ls(),ls(),ss(19,"ion-segment-button",37),ms("click",function(){return nn(n),ks().filter("note")}),ss(20,"ion-label"),Qs(21),Du(22,"titlecase"),Du(23,"translate"),ls(),us(24,"ion-icon",38),ss(25,"ion-badge",34),Qs(26),ls(),ls(),ls(),ls(),ls()}if(2&e){var i=ks();xo(2),os("value",i.signaturesService.mode),xo(1),Fs("segment-button-notFocused","sign"!==i.signaturesService.mode),xo(2),Xs(Ou(6,13,Ou(7,15,"lang.signLabel"))),xo(5),Xs(i.signaturesService.documentsListCount.sign),xo(1),Fs("segment-button-notFocused","visa"!==i.signaturesService.mode),xo(2),Xs(Ou(14,17,Ou(15,19,"lang.visaLabel"))),xo(5),Xs(i.signaturesService.documentsListCount.visa),xo(1),Fs("segment-button-notFocused","note"!==i.signaturesService.mode),xo(2),Xs(Ou(22,21,Ou(23,23,"lang.noteLabel"))),xo(5),Xs(i.signaturesService.documentsListCount.note)}}function HZ(e,t){1&e&&us(0,"app-admin-sidebar",39)}function jZ(e,t){1&e&&(ss(0,"ion-item",44),ss(1,"ion-label",45),Qs(2),Du(3,"titlecase"),Du(4,"translate"),ls(),ls()),2&e&&(xo(2),Ks(" ",Ou(3,1,Ou(4,3,"lang.noResult"))," "))}function UZ(e,t){1&e&&us(0,"ion-icon",56)}function WZ(e,t){1&e&&us(0,"ion-icon",57)}function GZ(e,t){1&e&&us(0,"ion-icon",58)}function qZ(e,t){1&e&&us(0,"ion-icon",59)}function YZ(e,t){1&e&&(ss(0,"ion-label",60),Qs(1),Du(2,"translate"),ls()),2&e&&(xo(1),Ks(" ",Ou(2,1,"lang.substitutedDoc"),""))}var ZZ=function(e){return[e]};function QZ(e,t){if(1&e){var n=fs();ss(0,"ion-menu-toggle",46),ss(1,"ion-item",47),ms("click",function(){nn(n);var e=t.index;return ks(2).filterService.currentIndex=e}),ns(2,UZ,1,0,"ion-icon",48),ns(3,WZ,1,0,"ion-icon",49),ns(4,GZ,1,0,"ion-icon",50),ns(5,qZ,1,0,"ion-icon",51),ss(6,"div"),ss(7,"ion-label",52),Qs(8),ls(),ss(9,"ion-label",53),Qs(10),Du(11,"shorten"),ls(),ns(12,YZ,3,3,"ion-label",54),ls(),us(13,"ion-icon",55),ls(),ls()}if(2&e){var i=t.$implicit,r=ks(2);xo(1),Fs("selected",r.router.url==="/documents/"+i.id),os("routerLink",Au(14,ZZ,"/documents/"+i.id)),xo(1),os("ngIf","sign"==i.mode),xo(1),os("ngIf","visa"==i.mode),xo(1),os("ngIf","note"==i.mode),xo(1),os("ngIf",!r.functionsService.empty(i.mailingId)),xo(3),Xs(i.reference),xo(2),Xs(Tu(11,10,i.title,50,"...")),xo(2),os("ngIf",!i.owner)}}function XZ(e,t){if(1&e){var n=fs();ss(0,"ion-infinite-scroll",61),ms("ionInfinite",function(e){return nn(n),ks(2).loadData(e)}),us(1,"ion-infinite-scroll-content",62),Du(2,"translate"),ls()}2&e&&(xo(1),os("loadingText",Ou(2,1,"lang.loadingMoreData")))}function KZ(e,t){if(1&e&&(ss(0,"ion-content"),ss(1,"ion-list",40),ns(2,jZ,5,5,"ion-item",41),ns(3,QZ,14,16,"ion-menu-toggle",42),ls(),ns(4,XZ,3,3,"ion-infinite-scroll",43),ls()),2&e){var n=ks();xo(2),os("ngIf",0==n.signaturesService.documentsList.length),xo(1),os("ngForOf",n.signaturesService.documentsList),xo(1),os("ngIf",n.signaturesService.documentsList.length>0)}}var JZ,$Z=((JZ=function(){function e(t,n,i,r,o,a,s,l,u,c){var d=this;A(this,e),this.http=t,this.signaturesService=n,this.route=i,this.router=r,this.menu=o,this.notificationService=a,this.authService=s,this.modalController=l,this.functionsService=u,this.filterService=c,this.loadingList=!1,this.searchMode=!1,this.searchTerm=new Vm,this.searchTerm.valueChanges.pipe(oT(500),Px(),uw(function(e){return d.loadingList=!0}),Bb(function(e){return d.http.get("../rest/documents?limit="+d.filterService.limit+"&search="+e)})).subscribe(function(e){d.signaturesService.documentsList=e.documents,d.signaturesService.documentsListCount=e.count,d.loadingList=!1})}return m(e,[{key:"ngOnInit",value:function(){var e=this;$(".avatar").css({background:"url(data:image/png;base64,"+this.authService.user.picture+") no-repeat #135F7F"}).css({"background-size":"cover"}).css({"background-position":"center"}),this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).subscribe(function(t){e.signaturesService.documentsList=t.documents,e.signaturesService.documentsListCount=t.count})}},{key:"ngAfterViewInit",value:function(){this.filter("")}},{key:"openProfile",value:function(){return e=this,n=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:Oq,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"openAdmin",value:function(){this.menu.close("left-menu"),this.router.navigate(["/administration/"])}},{key:"openHome",value:function(){this.router.navigate(["/home"])}},{key:"openIndexation",value:function(){this.menu.close("left-menu"),this.router.navigate(["/indexation"])}},{key:"openSearch",value:function(){this.menu.close("left-menu"),this.router.navigate(["/search"])}},{key:"search",value:function(e){var t=this;this.searchMode=!0,this.signaturesService.mode="",this.filter(""),setTimeout(function(){"ionCancel"!==e.type&&(t.searchInput.value="",t.searchInput.setFocus())},0)}},{key:"filter",value:function(e){var t=this;this.signaturesService.documentsList=[],""!==e&&(this.searchMode=!1),this.loadingList=!0,this.signaturesService.mode=this.signaturesService.mode===e?"":e,this.filterService.offset=0,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(hw(function(){t.loadingList=!1})).subscribe(function(e){t.signaturesService.documentsList=e.documents,t.signaturesService.documentsListCount=e.count,t.loadingList=!1})}},{key:"checkClose",value:function(){return!(!(-1!==this.route.routeConfig.path.indexOf("administration")||this.signaturesService.mainDocumentId>0)||!this.signaturesService.mobileMode)}},{key:"loadData",value:function(e){var t=this;this.filterService.offset=this.filterService.offset+this.filterService.limit,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(uw(function(n){t.signaturesService.documentsList=t.signaturesService.documentsList.concat(n.documents),e.target.complete(),t.signaturesService.documentsList.length===t.signaturesService.documentsListCount.current&&(e.target.disabled=!0)})).subscribe()}},{key:"isAdminRoute",value:function(){return this.router.url.split("/").indexOf("administration")>-1}},{key:"canIndex",value:function(){return this.authService.user.appPrivileges.map(function(e){return e.id}).indexOf("indexation")>-1}}]),e}()).\u0275fac=function(e){return new(e||JZ)(rs(lb),rs(DP),rs(b_),rs(jk),rs(dE),rs(wP),rs(MP),rs(hE),rs(NU),rs(CU))},JZ.\u0275cmp=ft({type:JZ,selectors:[["app-sidebar"]],viewQuery:function(e,t){var n;1&e&&(Qu(OZ,1),Qu(MZ,1)),2&e&&(Zu(n=Ku())&&(t.listContent=n.first),Zu(n=Ku())&&(t.searchInput=n.first))},decls:23,vars:16,consts:[[3,"translucent"],["color","primary"],["color","primary","lines","none"],["color","secondary",1,"ion-text-center"],[2,"font-weight","bold","font-size","24px"],["slot","start"],[3,"title","click",4,"ngIf"],["slot","end"],[3,"title","click"],["slot","icon-only","name","search-outline"],[1,"avatar-user",3,"click"],[3,"src"],[4,"ngIf"],["style","background: white;",4,"ngIf"],["style","display: contents;",4,"ngIf"],["slot","icon-only","name","power"],["slot","icon-only","name","settings-outline"],["slot","icon-only","name","home"],["slot","icon-only","name","document-outline"],["slot","icon-only","name","add-circle",2,"position","absolute","top","0px","font-size","15px","right","-5px"],["color","light"],["style","text-align: center;font-size: 14px;",3,"title","click",4,"ngIf"],["showCancelButton","always",3,"placeholder","formControl","ionCancel",4,"ngIf"],[2,"text-align","center","font-size","14px",3,"title","click"],["class","primary",4,"ngIf"],["color","primary","name","search-outline"],[1,"primary"],["showCancelButton","always",3,"placeholder","formControl","ionCancel"],["searchInput",""],[2,"background","white"],[1,"filters"],["value","heart",3,"value"],["value","sign",3,"click"],["color","primary","name","pencil-outline"],["color","secondary"],["value","visa",3,"click"],["color","primary","name","checkmark-done-outline"],["value","note",3,"click"],["color","primary","name","chatbubble-ellipses-outline"],[2,"display","contents"],["id","labels-list"],["lines","none",4,"ngIf"],["auto-hide","false",4,"ngFor","ngForOf"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none"],["color","medium",1,"ion-text-center"],["auto-hide","false"],["routerDirection","root","detail","false",1,"doc-item",3,"routerLink","click"],["color","primary","slot","start","name","pencil-outline",4,"ngIf"],["color","primary","slot","start","name","checkmark-done-outline",4,"ngIf"],["color","primary","slot","start","name","chatbubble-ellipses-outline",4,"ngIf"],["slot","start","color","danger","name","layers","class","groupMailIcon",4,"ngIf"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["color","secondary","class","sub-label",4,"ngIf"],["slot","end","color","medium","name","arrow-forward-outline"],["color","primary","slot","start","name","pencil-outline"],["color","primary","slot","start","name","checkmark-done-outline"],["color","primary","slot","start","name","chatbubble-ellipses-outline"],["slot","start","color","danger","name","layers",1,"groupMailIcon"],["color","secondary",1,"sub-label"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-item",2),ss(3,"ion-label",3),ss(4,"h2",4),Qs(5),ls(),ls(),ls(),ls(),ls(),ss(6,"ion-header",0),ss(7,"ion-toolbar",1),ss(8,"ion-buttons",5),ns(9,TZ,3,3,"ion-button",6),ns(10,IZ,3,3,"ion-button",6),ns(11,RZ,3,3,"ion-button",6),ls(),ss(12,"ion-buttons",7),ss(13,"ion-button",8),ms("click",function(){return t.openSearch()}),Du(14,"translate"),us(15,"ion-icon",9),ls(),ns(16,LZ,4,3,"ion-button",6),ls(),ls(),ls(),ss(17,"ion-avatar",10),ms("click",function(){return t.openProfile()}),us(18,"img",11),ls(),ns(19,VZ,4,2,"ion-header",12),ns(20,NZ,27,25,"ion-header",13),ns(21,HZ,1,0,"app-admin-sidebar",14),ns(22,KZ,5,3,"ion-content",12)),2&e&&(os("translucent",!0),xo(5),Js("",t.authService.user.firstname," ",t.authService.user.lastname,""),xo(1),os("translucent",!0),xo(3),os("ngIf","x509"!==t.authService.authMode&&"kerberos"!==t.authService.authMode&&"azure_saml"!==t.authService.authMode),xo(1),os("ngIf",!t.isAdminRoute()&&t.authService.user.administrativePrivileges.length>0),xo(1),os("ngIf",t.isAdminRoute()),xo(2),os("title",Ou(14,14,"lang.search")),xo(3),os("ngIf",t.canIndex()),xo(2),os("src",t.authService.user.picture,Cr),xo(1),os("ngIf",!t.isAdminRoute()),xo(1),os("ngIf",!t.isAdminRoute()),xo(1),os("ngIf",t.isAdminRoute()),xo(1),os("ngIf",!t.isAdminRoute()))},directives:[KC,MS,iS,sS,FC,mh,LC,JC,TC,DS,wS,nA,hm,Jm,_S,tA,kS,RC,DZ,WC,lS,gh,hS,tE,Uk,eS,tS],pipes:[mP,jh,QM],styles:['.main-header[_ngcontent-%COMP%]{height:205px;overflow:auto}.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:hidden;display:flex;flex-direction:column}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{flex:1;overflow-y:scroll;margin-top:0;overflow-x:hidden;margin-bottom:0;padding:0;position:relative}.sidebar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:70px;display:flex;align-items:center;border-bottom:1px solid #e6e6e6;margin:0;padding:5px 5px 5px 30px;cursor:pointer}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]:after{position:absolute;right:10px;content:"";height:60px;background:#f1f4f4}.sidebar[_ngcontent-%COMP%] .nav-item-right[_ngcontent-%COMP%]{text-align:center}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%]{width:50px}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .fas[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:50%;color:#135f7f;font-size:22px;height:25px;width:25px;padding:10px;margin-right:10px}.sidebar[_ngcontent-%COMP%] .nav-item-middle[_ngcontent-%COMP%]{width:180px;height:50px;font-size:12px;color:#4f4f4f}.sidebar[_ngcontent-%COMP%] .nav-item-title[_ngcontent-%COMP%]{font-weight:600;color:#135f7f;font-size:14px}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.avatar[_ngcontent-%COMP%]{cursor:pointer;position:absolute;width:65px;height:65px;border-radius:40px;bottom:-20px;border:3px solid #f99830;background-size:cover;background-repeat:no-repeat;background-position:50%;transition:all .2s}.avatar[_ngcontent-%COMP%]:hover{box-shadow:0 0 5px 0 #656565}.user[_ngcontent-%COMP%]{color:#fff;padding-top:10px;font-weight:700;font-size:20px;max-width:90%;right:0;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:10px}.filter[_ngcontent-%COMP%]{font-size:10px;width:95px;padding-left:0;padding-right:0}.filter.active[_ngcontent-%COMP%]{background:#135f7f}.mat-badge-content[_ngcontent-%COMP%]{right:0!important;top:-8px!important;background:#f99830}.noResult[_ngcontent-%COMP%]{position:absolute;top:50%;text-align:center;width:100%;opacity:.5}.noDoc[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#ddd}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}ion-item.selected[_ngcontent-%COMP%]{--background:rgba(var(--ion-color-primary-rgb),0.2)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px}.filters[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;color:#fff}.avatar-user[_ngcontent-%COMP%]{cursor:pointer;position:absolute;z-index:99;left:50%;transform:translateX(-50%);top:60px;border:solid var(--ion-color-secondary);width:71px;height:71px}.groupMailIcon[_ngcontent-%COMP%]{position:absolute;left:40px;font-size:14px;bottom:10px}.segment-button-notFocused[_ngcontent-%COMP%]{--indicator-color:none}']}),JZ);function eQ(e,t){if(1&e){var n=fs();ss(0,"ion-segment-button",10),ms("ionChange",function(e){return nn(n),ks(2).setActiveLang(e)}),ss(1,"ion-label"),Qs(2),ss(3,"ion-badge",11),Qs(4),ls(),ls(),ls()}if(2&e){var i=ks().$implicit,r=ks();os("value",r.currentLang),xo(2),Ks("",i.key," "),xo(2),Xs(r.missingLang[i.key].length)}}function tQ(e,t){if(1&e&&(ss(0,"span"),ns(1,eQ,5,3,"ion-segment-button",9),ls()),2&e){var n=t.$implicit;xo(1),os("ngIf","fr"!==n.key)}}function nQ(e,t){if(1&e){var n=fs();ss(0,"ion-item"),ss(1,"ion-label",13),Qs(2),ls(),ss(3,"ion-input",14),ms("ngModelChange",function(e){return t.$implicit.value=e}),ls(),ss(4,"ion-button",15),ms("click",function(){nn(n);var e=t.$implicit;return ks(2).openTranslation(e.value)}),us(5,"ion-icon",16),ls(),ls()}if(2&e){var i=t.$implicit;xo(2),Xs(i.id),xo(1),os("ngModel",i.value)}}function iQ(e,t){if(1&e&&(ss(0,"ion-list",12),ns(1,nQ,6,2,"ion-item",5),ls()),2&e){var n=ks();xo(1),os("ngForOf",n.missingLang[n.currentLang])}}var rQ,oQ,aQ=((oQ=function(){function e(t,n,i,r){A(this,e),this.http=t,this.notify=n,this.translate=i,this.modalController=r,this.missingLang={},this.currentLang="en",this.data={}}return m(e,[{key:"ngOnInit",value:function(){this.getLangs()}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"getLangs",value:function(){var e=this;this.http.get("../rest/languages").pipe(uw(function(t){e.allLang=t.languages,Object.keys(e.allLang).forEach(function(t){e.missingLang[t]=Object.keys(e.allLang.fr.lang).filter(function(n){return-1===Object.keys(e.allLang[t].lang).indexOf(n)}).map(function(t){return{id:t,value:e.allLang.fr.lang[t]+"__TO_TRANSLATE"}})})}),Zb(function(t){return e.notify.handleErrors(t),Ty(!1)})).subscribe()}},{key:"openTranslation",value:function(e){window.open("https://translate.google.fr/?hl=fr#view=home&op=translate&sl=fr&tl="+this.currentLang+"&text="+e.replace("__TO_TRANSLATE",""),"_blank")}},{key:"setActiveLang",value:function(e){this.currentLang=e.detail.value}},{key:"generateMissingLang",value:function(e){var t=this,n={},i=this.allLang[this.currentLang],r=/__TO_TRANSLATE$/g;this.missingLang[this.currentLang].forEach(function(t){null===t.value.match(r)&&e?n[t.id]=t.value:e||(n[t.id]=t.value)}),i.lang=Object.assign(Object.assign({},i.lang),n),this.http.put("../rest/languages",{langId:this.currentLang,jsonContent:i}).pipe(uw(function(e){Object.keys(n).forEach(function(e){delete t.allLang[t.currentLang][e],t.missingLang[t.currentLang]=t.missingLang[t.currentLang].filter(function(t){return t.id!==e}),t.data.countMissingLang--}),t.modalController.dismiss("cancel")}),Zb(function(e){return t.notify.handleErrors(e),Ty(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||oQ)(rs(lb),rs(wP),rs(vP),rs(hE))},oQ.\u0275cmp=ft({type:oQ,selectors:[["ng-component"]],decls:22,vars:14,consts:[["translucent",""],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[4,"ngFor","ngForOf"],["lines","full",4,"ngIf"],[3,"translucent"],["size","small","color","primary",3,"click"],[3,"value","ionChange",4,"ngIf"],[3,"value","ionChange"],["color","secondary"],["lines","full"],["position","stacked"],["type","text",3,"ngModel","ngModelChange"],["slot","end","color","primary",3,"click"],["name","language-outline"]],template:function(e,t){1&e&&(ss(0,"ion-header",0),ss(1,"ion-toolbar",1),ss(2,"ion-title"),Qs(3),Du(4,"translate"),ls(),ss(5,"ion-buttons",2),ss(6,"ion-button",3),ms("click",function(){return t.dismissModal()}),us(7,"ion-icon",4),ls(),ls(),ls(),ls(),ss(8,"ion-header"),ss(9,"ion-segment"),ns(10,tQ,2,1,"span",5),Du(11,"keyvalue"),ls(),ls(),ss(12,"ion-content"),cs(13),ns(14,iQ,2,1,"ion-list",6),ds(),ls(),ss(15,"ion-footer",7),ss(16,"ion-button",8),ms("click",function(){return t.generateMissingLang(!1)}),Qs(17),Du(18,"translate"),ls(),ss(19,"ion-button",8),ms("click",function(){return t.generateMissingLang(!0)}),Qs(20),Du(21,"translate"),ls(),ls()),2&e&&(xo(3),Xs(Ou(4,6,"lang.langChecking")),xo(7),os("ngForOf",Ou(11,8,t.allLang)),xo(4),os("ngIf","en"===t.currentLang),xo(1),os("translucent",!0),xo(2),Xs(Ou(18,10,"lang.generateLangVar")),xo(3),Xs(Ou(21,12,"lang.generateLangVarIgnoreTranslate")))},directives:[KC,MS,DS,FC,LC,JC,_S,tA,gh,WC,mh,QC,kS,sS,RC,lS,iS,nS,nA,hm,Ym],pipes:[mP,Gh],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding-top:0}.lang-container[_ngcontent-%COMP%] .mat-tab-header{position:-webkit-sticky;position:sticky;top:0;z-index:2}.lang-container[_ngcontent-%COMP%] .mat-tab-label-container{background:#fff}"]}),oQ),sQ=((rQ=function(){function e(t,n,i,r){A(this,e),this.notify=t,this.http=n,this.functionsService=i,this.modalController=r,this.countMissingLang=0}return m(e,[{key:"ngOnInit",value:function(){this.getLangs()}},{key:"openLangTool",value:function(){return e=this,n=regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:aQ,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getLangs",value:function(){var e=this;this.http.get("../rest/languages").pipe(uw(function(t){e.allLang=t.languages,Object.keys(e.allLang).forEach(function(t){e.countMissingLang+=Object.keys(e.allLang.fr.lang).filter(function(n){return-1===Object.keys(e.allLang[t].lang).indexOf(n)}).length})}),Zb(function(t){return e.notify.handleErrors(t),Ty(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||rQ)(rs(wP),rs(lb),rs(NU),rs(hE))},rQ.\u0275cmp=ft({type:rQ,selectors:[["app-dev-tool"]],decls:11,vars:7,consts:[["cdkDrag","","horizontal","end","vertical","top",3,"title"],["color","light"],["name","language-outline"],["side","start"],["color","light",3,"click"],["color","secondary"]],template:function(e,t){1&e&&(ss(0,"ion-fab",0),Du(1,"translate"),ss(2,"ion-fab-button",1),us(3,"ion-icon",2),ls(),ss(4,"ion-fab-list",3),ss(5,"ion-button",4),ms("click",function(){return t.openLangTool()}),ss(6,"ion-label"),Qs(7),Du(8,"translate"),ss(9,"ion-badge",5),Qs(10),ls(),ls(),ls(),ls(),ls()),2&e&&(os("title",Ou(1,3,"lang.missingLang")),xo(7),Ks("",Ou(8,5,"lang.missingLang")," "),xo(3),Ks(" ",t.countMissingLang,""))},directives:[qC,$N,YC,JC,ZC,LC,sS,RC],pipes:[mP],styles:[".devToolListMenu{min-height:auto!important;width:250px}"]}),rQ);function lQ(e,t){1&e&&us(0,"app-sidebar",10)}function uQ(e,t){1&e&&us(0,"app-dev-tool")}var cQ,dQ,hQ,fQ,pQ=function(e){return[e]},gQ=((cQ=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){if(A(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.sanitizer=r,this.cookieService=o,this.notificationService=a,this.dialog=s,this.authService=u,this.menu=c,this.router=d,this.platform=h,this.showLeftContent=!1,this.showRightContent=!1,l.addSvgIcon("maarchLogo",r.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.cookieService.check("maarchParapheurLang")){var f=this.cookieService.get("maarchParapheurLang");t.setDefaultLang(f)}else this.cookieService.set("maarchParapheurLang","fr"),t.setDefaultLang("fr");td.production||(this.debugMode=!0)}return m(e,[{key:"test",value:function(){return!0}},{key:"allowedRoute",value:function(){var e=this.router.url.split("?")[0];return-1===["/","/login","/forgot-password","/update-password","/password-modification"].indexOf(e)}}]),e}()).\u0275fac=function(e){return new(e||cQ)(rs(vP),rs(lb),rs(DP),rs(Wf),rs(LM),rs(wP),rs(CB),rs(VB),rs(MP),rs(dE),rs(jk),rs(iA))},cQ.\u0275cmp=ft({type:cQ,selectors:[["app-root"]],decls:11,vars:5,consts:[["contentId","main-content"],["menuId","left-menu","contentId","main-content","type","overlay","disabled","",1,"left-menu",3,"ionDidOpen","ionDidClose"],["leftMenu",""],["style","display: contents;",4,"ngIf"],["id","leftContent",2,"display","contents"],["id","main-content"],["menuId","right-menu","contentId","main-content","side","end","type","overlay","disabled","",3,"ngClass","ionDidOpen","ionDidClose"],["rightMenu",""],["id","rightContent",2,"display","contents"],[4,"ngIf"],[2,"display","contents"]],template:function(e,t){1&e&&(ss(0,"ion-app"),ss(1,"ion-split-pane",0),ss(2,"ion-menu",1,2),ms("ionDidOpen",function(){return t.showLeftContent=!0})("ionDidClose",function(){return t.showLeftContent=!1}),ns(4,lQ,1,0,"app-sidebar",3),us(5,"div",4),ls(),us(6,"ion-router-outlet",5),ss(7,"ion-menu",6,7),ms("ionDidOpen",function(){return t.showRightContent=!0})("ionDidClose",function(){return t.showRightContent=!1}),us(9,"div",8),ls(),ls(),ls(),ns(10,uQ,1,0,"app-dev-tool",9)),2&e&&(xo(4),os("ngIf",t.allowedRoute()),xo(3),os("ngClass",Au(3,pQ,t.signaturesService.mobileMode?"right-menu-responsive":"right-menu")),xo(3),os("ngIf",t.debugMode&&t.authService.isAuth()))},directives:[MC,PS,cS,mh,JS,fh,$Z,sQ],styles:[".left-menu{--width:350px;--min-width:350px;--max-width:350px}.right-menu{--width:450px;--min-width:450px;--max-width:450px}.right-menu-responsive{--width:89%;--min-width:89%;--max-width:89%}.split-pane-visible>.left-menu{width:350px!important;--max-width:350px!important;--min-width:350px!important}.split-pane-visible>.right-menu{width:450px!important;--max-width:450px!important;--min-width:450px!important}"],encapsulation:2}),cQ);dQ=wE.a,fQ=void 0,"string"!=typeof(hQ="fr-FR")&&(fQ=hQ,hQ=dQ[ul.LocaleId]),hQ=hQ.toLowerCase().replace(/_/g,"-"),al[hQ]=dQ,fQ&&(al[hQ][ul.ExtraData]=fQ);var vQ,mQ=((vQ=function e(){A(this,e)}).\u0275fac=function(e){return new(e||vQ)},vQ.\u0275mod=mt({type:vQ,bootstrap:[gQ]}),vQ.\u0275inj=Fe({providers:[{provide:cb,useClass:TP,multi:!0},DP,CU,wP,{provide:Dk,useClass:gE},LM,KM],imports:[[Dy,Oy,Zf,xv,xb,yE.forRoot({mode:"md"}),yP.forRoot({loader:{provide:zE,useFactory:bQ,deps:[lb]}}),Jj,wM,CM,nT,TM,lH,SZ,zf]]}),vQ),yQ=function(){function e(t){A(this,e),this.http=t}return m(e,[{key:"getTranslation",value:function(e){return this.http.get("../rest/languages/"+e)}}]),e}();function bQ(e){return new yQ(e)}td.production&&function(){if(Fc)throw new Error("Cannot enable prod mode after platform setup.");Lc=!1}(),qf().bootstrapModule(mQ).catch(function(e){return console.log(e)})},meiF:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i,r=n("1vRN"),o=function(e){if(void 0===i){var t=void 0!==e.style.webkitAnimationName;i=void 0===e.style.animationName&&t?"-webkit-":""}return i},a=function(e,t,n){var i=t.startsWith("animation")?o(e):"";e.style.setProperty(i+t,n)},s=function(e,t){var n=t.startsWith("animation")?o(e):"";e.style.removeProperty(n+t)},l=[],u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(void 0!==t){var n=Array.isArray(t)?t:[t];return[].concat(y(e),y(n))}return e},c=function(e){var t,n,i,c,f,p,g,v,m,b,w,_,k,x=[],A=[],C=[],S=!1,E={},P=[],D=[],O={},M=0,T=!1,I=!1,R=!0,L=!1,F=!0,B=e,z=[],V=[],N=[],H=[],j=[],U=[],W=[],G=[],q=[],Y=[],Z="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,Q="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Z,X=function(e,t){return(t&&t.oneTimeCallback?V:z).push({c:e,o:t}),k},K=function(){if(Q)Y.forEach(function(e){e.cancel()}),Y.length=0;else{var e=N.slice();Object(r.q)(function(){e.forEach(function(e){s(e,"animation-name"),s(e,"animation-duration"),s(e,"animation-timing-function"),s(e,"animation-iteration-count"),s(e,"animation-delay"),s(e,"animation-play-state"),s(e,"animation-fill-mode"),s(e,"animation-direction")})})}},J=function(){j.forEach(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}),j.length=0},$=function(){return void 0!==f?f:g?g.getFill():"both"},ee=function(){return void 0!==m?m:void 0!==p?p:g?g.getDirection():"normal"},te=function(){return T?"linear":void 0!==i?i:g?g.getEasing():"linear"},ne=function(){return I?0:void 0!==b?b:void 0!==n?n:g?g.getDuration():0},ie=function(){return void 0!==c?c:g?g.getIterations():1},re=function(){return void 0!==w?w:void 0!==t?t:g?g.getDelay():0},oe=function(){0!==M&&(0===--M&&(function(){fe(),G.forEach(function(e){return e()}),q.forEach(function(e){return e()});var e=R?1:0,t=P,n=D,i=O;N.forEach(function(e){var r=e.classList;for(var o in t.forEach(function(e){return r.add(e)}),n.forEach(function(e){return r.remove(e)}),i)i.hasOwnProperty(o)&&a(e,o,i[o])}),z.forEach(function(t){return t.c(e,k)}),V.forEach(function(t){return t.c(e,k)}),V.length=0,F=!0,R&&(L=!0),R=!0}(),g&&g.animationFinish()))},ae=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(function(){U.forEach(function(e){return e()}),W.forEach(function(e){return e()});var e=A,t=C,n=E;N.forEach(function(i){var r=i.classList;for(var o in e.forEach(function(e){return r.add(e)}),t.forEach(function(e){return r.remove(e)}),n)n.hasOwnProperty(o)&&a(i,o,n[o])})})(),x.length>0&&(Q?(N.forEach(function(e){var t=e.animate(x,{id:B,delay:re(),duration:ne(),easing:te(),iterations:ie(),fill:$(),direction:ee()});t.pause(),Y.push(t)}),Y.length>0&&(Y[0].onfinish=function(){oe()})):function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];J();var n,i=((n=x).forEach(function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{var i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();i!==t&&(e[i]=n,delete e[t])}}}),n);N.forEach(function(n){if(i.length>0){var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(function(e){var t=e.offset,n=[];for(var i in e)e.hasOwnProperty(i)&&"offset"!==i&&n.push("".concat(i,": ").concat(e[i],";"));return"".concat(100*t,"% { ").concat(n.join(" ")," }")}).join(" ")}(i),u=function(e,t,n){var i=function(e){var t=e.getRootNode();return t.head||t}(n),r=o(n),a=i.querySelector("#"+e);if(a)return a;var s=(n.ownerDocument||document).createElement("style");return s.id=e,s.textContent="@".concat(r,"keyframes ").concat(e," { ").concat(t," } @").concat(r,"keyframes ").concat(e,"-alt { ").concat(t," }"),i.appendChild(s),s}(_=void 0!==e?e:function(e){var t=l.indexOf(e);return t<0&&(t=l.push(e)-1),"ion-animation-"+t}(s),s,n);j.push(u),a(n,"animation-duration",ne()+"ms"),a(n,"animation-timing-function",te()),a(n,"animation-delay",re()+"ms"),a(n,"animation-fill-mode",$()),a(n,"animation-direction",ee());var c=ie()===1/0?"infinite":ie().toString();a(n,"animation-iteration-count",c),a(n,"animation-play-state","paused"),t&&a(n,"animation-name",u.id+"-alt"),Object(r.q)(function(){a(n,"animation-name",u.id||null)})}})}(t)),S=!0},se=function(e){if(e=Math.min(Math.max(e,0),.9999),Q)Y.forEach(function(t){t.currentTime=t.effect.getComputedTiming().delay+ne()*e,t.pause()});else{var t="-".concat(ne()*e,"ms");N.forEach(function(e){x.length>0&&(a(e,"animation-delay",t),a(e,"animation-play-state","paused"))})}},le=function(e){Y.forEach(function(e){e.effect.updateTiming({delay:re(),duration:ne(),easing:te(),iterations:ie(),fill:$(),direction:ee()})}),void 0!==e&&se(e)},ue=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;Object(r.q)(function(){N.forEach(function(n){a(n,"animation-name",_||null),a(n,"animation-duration",ne()+"ms"),a(n,"animation-timing-function",te()),a(n,"animation-delay",void 0!==t?"-".concat(t*ne(),"ms"):re()+"ms"),a(n,"animation-fill-mode",$()||null),a(n,"animation-direction",ee()||null);var i=ie()===1/0?"infinite":ie().toString();a(n,"animation-iteration-count",i),e&&a(n,"animation-name",_+"-alt"),Object(r.q)(function(){a(n,"animation-name",_||null)})})})},ce=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return e&&H.forEach(function(i){i.update(e,t,n)}),Q?le(n):ue(t,n),k},de=function(){S&&(Q?Y.forEach(function(e){e.pause()}):N.forEach(function(e){a(e,"animation-play-state","paused")}))},he=function(){v=void 0,oe()},fe=function(){v&&clearTimeout(v)},pe=function(e){return new Promise(function(t){e&&e.sync&&(I=!0,X(function(){return I=!1},{oneTimeCallback:!0})),S||ae(),L&&(Q?(se(0),le()):ue(),L=!1),F&&(M=H.length+1,F=!1),X(function(){return t()},{oneTimeCallback:!0}),H.forEach(function(e){e.play()}),Q?(Y.forEach(function(e){e.play()}),0!==x.length&&0!==N.length||oe()):function(){if(fe(),Object(r.q)(function(){N.forEach(function(e){x.length>0&&a(e,"animation-play-state","running")})}),0===x.length||0===N.length)oe();else{var e=re()||0,t=ne()||0,n=ie()||1;isFinite(n)&&(v=setTimeout(he,e+t*n+100)),function(e,t){var n,i={passive:!0},o=function(t){e===t.target&&(n&&n(),fe(),Object(r.q)(function(){N.forEach(function(e){s(e,"animation-duration"),s(e,"animation-delay"),s(e,"animation-play-state")}),Object(r.q)(oe)}))};e&&(e.addEventListener("webkitAnimationEnd",o,i),e.addEventListener("animationend",o,i),n=function(){e.removeEventListener("webkitAnimationEnd",o,i),e.removeEventListener("animationend",o,i)})}(N[0])}}()})},ge=function(e,t){var n=x[0];return void 0===n||void 0!==n.offset&&0!==n.offset?x=[d({offset:0},e,t)].concat(y(x)):n[e]=t,k};return k={parentAnimation:g,elements:N,childAnimations:H,id:B,animationFinish:oe,from:ge,to:function(e,t){var n=x[x.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?x=[].concat(y(x),[d({offset:1},e,t)]):n[e]=t,k},fromTo:function(e,t,n){return ge(e,t).to(e,n)},parent:function(e){return g=e,k},play:pe,pause:function(){return H.forEach(function(e){e.pause()}),de(),k},stop:function(){H.forEach(function(e){e.stop()}),S&&(K(),S=!1),T=!1,I=!1,F=!0,m=void 0,b=void 0,w=void 0,M=0,L=!1,R=!0},destroy:function(e){return H.forEach(function(t){t.destroy(e)}),function(e){K(),e&&J()}(e),N.length=0,H.length=0,x.length=0,z.length=0,V.length=0,S=!1,F=!0,k},keyframes:function(e){return x=e,k},addAnimation:function(e){if(null!=e)if(Array.isArray(e)){var t,n=h(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.parent(k),H.push(i)}}catch(r){n.e(r)}finally{n.f()}}else e.parent(k),H.push(e);return k},addElement:function(e){if(null!=e)if(1===e.nodeType)N.push(e);else if(e.length>=0)for(var t=0;t<e.length;t++)N.push(e[t]);else console.error("Invalid addElement value");return k},update:ce,fill:function(e){return f=e,ce(!0),k},direction:function(e){return p=e,ce(!0),k},iterations:function(e){return c=e,ce(!0),k},duration:function(e){return Q||0!==e||(e=1),n=e,ce(!0),k},easing:function(e){return i=e,ce(!0),k},delay:function(e){return t=e,ce(!0),k},getWebAnimations:function(){return Y},getKeyframes:function(){return x},getFill:$,getDirection:ee,getDelay:re,getIterations:ie,getEasing:te,getDuration:ne,afterAddRead:function(e){return G.push(e),k},afterAddWrite:function(e){return q.push(e),k},afterClearStyles:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=h(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;O[i]=""}}catch(r){n.e(r)}finally{n.f()}return k},afterStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return O=e,k},afterRemoveClass:function(e){return D=u(D,e),k},afterAddClass:function(e){return P=u(P,e),k},beforeAddRead:function(e){return U.push(e),k},beforeAddWrite:function(e){return W.push(e),k},beforeClearStyles:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=h(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;E[i]=""}}catch(r){n.e(r)}finally{n.f()}return k},beforeStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return E=e,k},beforeRemoveClass:function(e){return C=u(C,e),k},beforeAddClass:function(e){return A=u(A,e),k},onFinish:X,progressStart:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return H.forEach(function(n){n.progressStart(e,t)}),de(),T=e,S?ce(!1,!0,t):ae(),k},progressStep:function(e){return H.forEach(function(t){t.progressStep(e)}),se(e),k},progressEnd:function(e,t,n){return T=!1,H.forEach(function(i){i.progressEnd(e,t,n)}),void 0!==n&&(b=n),L=!1,R=!0,0===e?("reverse"===(m="reverse"===ee()?"normal":"reverse")&&(R=!1),Q?(ce(),se(1-t)):(w=(1-t)*ne()*-1,ce(!1,!1))):1===e&&(Q?(ce(),se(t)):(w=t*ne()*-1,ce(!1,!1))),void 0!==e&&(X(function(){b=void 0,m=void 0,w=void 0},{oneTimeCallback:!0}),g||pe()),k}}}},r7QR:function(e,t,n){"use strict";n.d(t,"a",function(){return T});var i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,w,_,k,A=n("B4Jq"),C=n("1vRN"),S=n("E/Mt"),E=n("meiF"),P=function(e){return Object(E.a)().duration(e?400:300)},D=function(e){var t,n,i=e.width+8,r=Object(E.a)(),o=Object(E.a)();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),r.addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(t,")"),"translateX(".concat(n,")"));var a="ios"===Object(S.b)(e),s=a?.2:.25;return o.addElement(e.backdropEl).fromTo("opacity",.01,s),P(a).addAnimation([r,o])},O=function(e){var t,n,i=Object(S.b)(e),r=e.width;e.isEndSide?(t=-r+"px",n=r+"px"):(t=r+"px",n=-r+"px");var o=Object(E.a)().addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(n,")"),"translateX(0px)"),a=Object(E.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(t,")")),s=Object(E.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return P("ios"===i).addAnimation([o,a,s])},M=function(e){var t=Object(S.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Object(E.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(n,")"));return P("ios"===t).addAnimation(i)},T=(f=new Map,p=[],g=function(){var e=x(regeneratorRuntime.mark(function e(t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k();case 2:return e.abrupt("return","start"===t||"end"===t?_(function(e){return e.side===t&&!e.disabled})||_(function(e){return e.side===t}):null!=t?_(function(e){return e.menuId===t}):_(function(e){return!e.disabled})||(p.length>0?p[0].el:void 0));case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=x(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k();case 2:return e.abrupt("return",b());case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),y=function(e){var t=e.side;p.filter(function(n){return n.side===t&&n!==e}).forEach(function(e){return e.disabled=!0})},b=function(){return _(function(e){return e._isOpen})},w=function(){return p.some(function(e){return e.isAnimating})},_=function(e){var t=p.find(e);if(void 0!==t)return t.el},k=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(function(e){return new Promise(function(t){return Object(C.c)(e,t)})}))},(m=function(e,t){f.set(e,t)})("reveal",M),m("push",O),m("overlay",D),"undefined"!=typeof document&&document.addEventListener("ionBackButton",function(e){var t=b();t&&e.detail.register(A.MENU_BACK_BUTTON_PRIORITY,function(){return t.close()})}),{registerAnimation:m,get:g,getMenus:(h=x(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k();case 2:return e.abrupt("return",p.map(function(e){return e.el}));case 3:case"end":return e.stop()}},e)})),function(){return h.apply(this,arguments)}),getOpen:v,isEnabled:(d=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&!n.disabled);case 4:case"end":return e.stop()}},e)})),function(e){return d.apply(this,arguments)}),swipeGesture:(c=x(regeneratorRuntime.mark(function e(t,n){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(n);case 2:return i=e.sent,e.abrupt("return",(i&&(i.swipeGesture=t),i));case 4:case"end":return e.stop()}},e)})),function(e,t){return c.apply(this,arguments)}),isAnimating:(u=x(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k();case 2:return e.abrupt("return",w());case 3:case"end":return e.stop()}},e)})),function(){return u.apply(this,arguments)}),isOpen:(l=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null==t){e.next=5;break}return e.next=3,g(t);case 3:return n=e.sent,e.abrupt("return",void 0!==n&&n.isOpen());case 5:return e.t0=void 0,e.next=8,v();case 8:return e.t1=e.sent,e.abrupt("return",e.t0!==e.t1);case 10:case"end":return e.stop()}},e)})),function(e){return l.apply(this,arguments)}),enable:(s=x(regeneratorRuntime.mark(function e(t,n){var i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(n);case 2:return i=e.sent,e.abrupt("return",(i&&(i.disabled=!t),i));case 4:case"end":return e.stop()}},e)})),function(e,t){return s.apply(this,arguments)}),toggle:(a=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&n.toggle());case 4:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)}),close:(o=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,void 0!==t?g(t):v();case 2:return n=e.sent,e.abrupt("return",void 0!==n&&n.close());case 4:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)}),open:(r=x(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&n.open());case 4:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)}),_getOpenSync:b,_createAnimation:function(e,t){var n=f.get(e);if(!n)throw new Error("animation not registered");return n(t)},_register:function(e){p.indexOf(e)<0&&(e.disabled||y(e),p.push(e))},_unregister:function(e){var t=p.indexOf(e);t>-1&&p.splice(t,1)},_setOpen:(i=x(regeneratorRuntime.mark(function e(t,n,i){var r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!w()){e.next=2;break}return e.abrupt("return",!1);case 2:if(!n){e.next=10;break}return e.next=5,v();case 5:if(r=e.sent,e.t0=r&&t.el!==r,!e.t0){e.next=10;break}return e.next=10,r.setOpen(!1,!1);case 10:return e.abrupt("return",t._setOpen(n,i));case 11:case"end":return e.stop()}},e)})),function(e,t,n){return i.apply(this,arguments)}),_setActiveMenu:y})},wEJo:function(t,n,i){"use strict";i.d(n,"a",function(){return Qe}),i.d(n,"b",function(){return b}),i.d(n,"c",function(){return j}),i.d(n,"d",function(){return C}),i.d(n,"e",function(){return De}),i.d(n,"f",function(){return Ze}),i.d(n,"g",function(){return ce}),i.d(n,"h",function(){return Ye}),i.d(n,"i",function(){return B}),i.d(n,"j",function(){return N}),i.d(n,"k",function(){return ue}),i.d(n,"l",function(){return ye}),i.d(n,"m",function(){return Oe}),i.d(n,"n",function(){return _}),i.d(n,"o",function(){return Ie}),i.d(n,"p",function(){return F}),i.d(n,"q",function(){return v});var o,s,u,c=!1,d=!1,h=!1,p=!1,g=!1,v="undefined"!=typeof window?window:{},b=v.CSS,w=v.document||{head:{}},_={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,i){return e.addEventListener(t,n,i)},rel:function(e,t,n,i){return e.removeEventListener(t,n,i)},ce:function(e,t){return new CustomEvent(e,t)}},k=(w.head.attachShadow+"").indexOf("[native")>-1,C=function(e){return Promise.resolve(e)},S=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1}(),E=function(e,t,n,i){n&&n.map(function(n){var i=f(n,3),r=i[0],o=i[1],a=i[2],s=D(e,r),l=P(t,a),u=O(r);_.ael(s,o,l,u),(t.$rmListeners$=t.$rmListeners$||[]).push(function(){return _.rel(s,o,l,u)})})},P=function(e,t){return function(n){try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(i){Fe(i)}}},D=function(e,t){return 4&t?w:8&t?v:16&t?w.body:e},O=function(e){return 0!=(2&e)},M="http://www.w3.org/1999/xlink",T=new WeakMap,I=function(e,t,n){var i=Ve.get(e);S&&n?(i=i||new CSSStyleSheet).replace(t):i=t,Ve.set(e,i)},R=function(e,t,n,i){var r=L(t,n),o=Ve.get(r);if(e=11===e.nodeType?e:w,o)if("string"==typeof o){var a,s=T.get(e=e.head||e);if(s||T.set(e,s=new Set),!s.has(r)){if(e.host&&(a=e.querySelector('[sty-id="'.concat(r,'"]'))))a.innerHTML=o;else{if(_.$cssShim$){var l=(a=_.$cssShim$.createHostStyle(i,r,o,!!(10&t.$flags$)))["s-sc"];l&&(r=l,s=null)}else(a=w.createElement("style")).innerHTML=o;e.insertBefore(a,e.querySelector("link"))}s&&s.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[].concat(y(e.adoptedStyleSheets),[o]));return r},L=function(e,t){return"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$)},F=function(e){return Ne.push(e)},B=function(e){return Te(e).$modeName$},z={},V=function(e){return"object"==(e=typeof e)||"function"===e},N=function(e,t){for(var n=null,i=null,r=null,o=!1,a=!1,s=[],l=function t(i){for(var r=0;r<i.length;r++)n=i[r],Array.isArray(n)?t(n):null!=n&&"boolean"!=typeof n&&((o="function"!=typeof e&&!V(n))&&(n=String(n)),o&&a?s[s.length-1].$text$+=n:s.push(o?H(null,n):n),a=o)},u=arguments.length,c=new Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];if(l(c),t){t.key&&(i=t.key),t.name&&(r=t.name);var h=t.className||t.class;h&&(t.class="object"!=typeof h?h:Object.keys(h).filter(function(e){return h[e]}).join(" "))}if("function"==typeof e)return e(null===t?{}:t,s,U);var f=H(e,null);return f.$attrs$=t,s.length>0&&(f.$children$=s),f.$key$=i,f.$name$=r,f},H=function(e,t){return{$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}},j={},U={forEach:function(e,t){return e.map(W).forEach(t)},map:function(e,t){return e.map(W).map(t).map(G)}},W=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}},G=function(e){if("function"==typeof e.vtag){var t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),N.apply(void 0,[e.vtag,t].concat(y(e.vchildren||[])))}var n=H(e.vtag,e.vtext);return n.$attrs$=e.vattrs,n.$children$=e.vchildren,n.$key$=e.vkey,n.$name$=e.vname,n},q=function(e,t,n,i,r,o){if(n!==i){var a=Le(e,t),s=t.toLowerCase();if("class"===t){var l=e.classList,u=Z(n),c=Z(i);l.remove.apply(l,y(u.filter(function(e){return e&&!c.includes(e)}))),l.add.apply(l,y(c.filter(function(e){return e&&!u.includes(e)})))}else if("style"===t){for(var d in n)i&&null!=i[d]||(d.includes("-")?e.style.removeProperty(d):e.style[d]="");for(var h in i)n&&i[h]===n[h]||(h.includes("-")?e.style.setProperty(h,i[h]):e.style[h]=i[h])}else if("key"===t);else if("ref"===t)i&&i(e);else if(a||"o"!==t[0]||"n"!==t[1]){var f=V(i);if((a||f&&null!==i)&&!r)try{if(e.tagName.includes("-"))e[t]=i;else{var p=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(m){}var g=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,g=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(g?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!a||4&o||r)&&!f&&(i=!0===i?"":i,g?e.setAttributeNS(M,t,i):e.setAttribute(t,i))}else t="-"===t[2]?t.slice(3):Le(v,s)?s.slice(2):s[2]+t.slice(3),n&&_.rel(e,t,n,!1),i&&_.ael(e,t,i,!1)}},Y=/\s/,Z=function(e){return e?e.split(Y):[]},Q=function(e,t,n,i){var r=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||z,a=t.$attrs$||z;for(i in o)i in a||q(r,i,o[i],void 0,n,t.$flags$);for(i in a)q(r,i,o[i],a[i],n,t.$flags$)},X=function e(t,n,i,r){var a,l,d,f=n.$children$[i],g=0;if(c||(h=!0,"slot"===f.$tag$&&(o&&r.classList.add(o+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)a=f.$elm$=w.createTextNode(f.$text$);else if(1&f.$flags$)a=f.$elm$=w.createTextNode("");else{if(p||(p="svg"===f.$tag$),a=f.$elm$=w.createElementNS(p?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),p&&"foreignObject"===f.$tag$&&(p=!1),Q(null,f,p),null!=o&&a["s-si"]!==o&&a.classList.add(a["s-si"]=o),f.$children$)for(g=0;g<f.$children$.length;++g)(l=e(t,f,g,a))&&a.appendChild(l);"svg"===f.$tag$?p=!1:"foreignObject"===a.tagName&&(p=!0)}return a["s-hn"]=u,3&f.$flags$&&(a["s-sr"]=!0,a["s-cr"]=s,a["s-sn"]=f.$name$||"",(d=t&&t.$children$&&t.$children$[i])&&d.$tag$===f.$tag$&&t.$elm$&&K(t.$elm$,!1)),a},K=function e(t,n){_.$flags$|=1;for(var i=t.childNodes,r=i.length-1;r>=0;r--){var o=i[r];o["s-hn"]!==u&&o["s-ol"]&&(ne(o).insertBefore(o,te(o)),o["s-ol"].remove(),o["s-ol"]=void 0,h=!0),n&&e(o,n)}_.$flags$&=-2},J=function(e,t,n,i,r,o){var a,s=e["s-cr"]&&e["s-cr"].parentNode||e;for(s.shadowRoot&&s.tagName===u&&(s=s.shadowRoot);r<=o;++r)i[r]&&((a=X(null,n,r,e))&&(i[r].$elm$=a,s.insertBefore(a,te(t))))},$=function(e,t,n,i,r){for(;t<=n;++t)(i=e[t])&&(r=i.$elm$,le(i),d=!0,r["s-ol"]?r["s-ol"].remove():K(r,!0),r.remove())},ee=function(e,t){return e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$)},te=function(e){return e&&e["s-ol"]||e},ne=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},ie=function e(t,n){var i,r=n.$elm$=t.$elm$,o=t.$children$,a=n.$children$,s=n.$tag$,l=n.$text$;null===l?(p="svg"===s||"foreignObject"!==s&&p,"slot"===s||Q(t,n,p),null!==o&&null!==a?function(t,n,i,r){for(var o,a,s=0,l=0,u=0,c=0,d=n.length-1,h=n[0],f=n[d],p=r.length-1,g=r[0],v=r[p];s<=d&&l<=p;)if(null==h)h=n[++s];else if(null==f)f=n[--d];else if(null==g)g=r[++l];else if(null==v)v=r[--p];else if(ee(h,g))e(h,g),h=n[++s],g=r[++l];else if(ee(f,v))e(f,v),f=n[--d],v=r[--p];else if(ee(h,v))"slot"!==h.$tag$&&"slot"!==v.$tag$||K(h.$elm$.parentNode,!1),e(h,v),t.insertBefore(h.$elm$,f.$elm$.nextSibling),h=n[++s],v=r[--p];else if(ee(f,g))"slot"!==h.$tag$&&"slot"!==v.$tag$||K(f.$elm$.parentNode,!1),e(f,g),t.insertBefore(f.$elm$,h.$elm$),f=n[--d],g=r[++l];else{for(u=-1,c=s;c<=d;++c)if(n[c]&&null!==n[c].$key$&&n[c].$key$===g.$key$){u=c;break}u>=0?((a=n[u]).$tag$!==g.$tag$?o=X(n&&n[l],i,u,t):(e(a,g),n[u]=void 0,o=a.$elm$),g=r[++l]):(o=X(n&&n[l],i,l,t),g=r[++l]),o&&ne(h.$elm$).insertBefore(o,te(h.$elm$))}s>d?J(t,null==r[p+1]?null:r[p+1].$elm$,i,r,l,p):l>p&&$(n,s,d)}(r,o,n,a):null!==a?(null!==t.$text$&&(r.textContent=""),J(r,null,n,a,0,a.length-1)):null!==o&&$(o,0,o.length-1),p&&"svg"===s&&(p=!1)):(i=r["s-cr"])?i.parentNode.textContent=l:t.$text$!==l&&(r.data=l)},re=function e(t){var n,i,r,o,a,s,l=t.childNodes;for(i=0,r=l.length;i<r;i++)if(1===(n=l[i]).nodeType){if(n["s-sr"])for(a=n["s-sn"],n.hidden=!1,o=0;o<r;o++)if(s=l[o].nodeType,l[o]["s-hn"]!==n["s-hn"]||""!==a){if(1===s&&a===l[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===s||3===s&&""!==l[o].textContent.trim()){n.hidden=!0;break}e(n)}},oe=[],ae=function e(t){for(var n,i,r,o,a,s,l=0,u=t.childNodes,c=u.length;l<c;l++){if((n=u[l])["s-sr"]&&(i=n["s-cr"])&&i.parentNode)for(r=i.parentNode.childNodes,o=n["s-sn"],s=r.length-1;s>=0;s--)(i=r[s])["s-cn"]||i["s-nr"]||i["s-hn"]===n["s-hn"]||(se(i,o)?(a=oe.find(function(e){return e.$nodeToRelocate$===i}),d=!0,i["s-sn"]=i["s-sn"]||o,a?a.$slotRefNode$=n:oe.push({$slotRefNode$:n,$nodeToRelocate$:i}),i["s-sr"]&&oe.map(function(e){se(e.$nodeToRelocate$,i["s-sn"])&&((a=oe.find(function(e){return e.$nodeToRelocate$===i}))&&!e.$slotRefNode$&&(e.$slotRefNode$=a.$slotRefNode$))})):oe.some(function(e){return e.$nodeToRelocate$===i})||oe.push({$nodeToRelocate$:i}));1===n.nodeType&&e(n)}},se=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},le=function e(t){t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(e)},ue=function(e){return Te(e).$hostElement$},ce=function(e,t,n){var i=ue(e);return{emit:function(e){return de(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},de=function(e,t,n){var i=_.ce(t,n);return e.dispatchEvent(i),i},he=function(e,t){t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(function(t){return e.$onRenderResolve$=t}))},fe=function(e,t){if(e.$flags$|=16,!(4&e.$flags$))return he(e,e.$ancestorComponent$),Ze(function(){return pe(e,t)});e.$flags$|=512},pe=function(e,t){var n,i=e.$lazyInstance$;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(function(e){var t=f(e,2),n=t[0],r=t[1];return we(i,n,r)}),e.$queuedListeners$=null),n=we(i,"componentWillLoad")),n=_e(n,function(){return we(i,"componentWillRender")}),_e(n,function(){return ge(e,i,t)})},ge=function(){var e=x(regeneratorRuntime.mark(function e(t,n,i){var r,o,a,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.$hostElement$,o=r["s-rc"],i&&function(e){var t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,r=R(k&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&i&&(n["s-sc"]=r,n.classList.add(r+"-h"),2&i&&n.classList.add(r+"-s"))}(t),ve(t,n),_.$cssShim$&&_.$cssShim$.updateHost(r),o&&(o.map(function(e){return e()}),r["s-rc"]=void 0),a=r["s-p"],s=function(){return me(t)},0===a.length?s():(Promise.all(a).then(s),t.$flags$|=4,a.length=0);case 4:case"end":return e.stop()}},e)}));return function(t,n,i){return e.apply(this,arguments)}}(),ve=function(e,t,n){try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,function(e,t){var n,i=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||H(null,null),l=(n=t)&&n.$tag$===j?t:N(null,null,t);if(u=i.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(function(e){var t=f(e,2),n=t[0],r=t[1];return l.$attrs$[r]=i[n]})),l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=i.shadowRoot||i,o=i["s-sc"],s=i["s-cr"],c=k&&0!=(1&r.$flags$),d=!1,ie(a,l),_.$flags$|=1,h){var p,g,v,m,y,b;ae(l.$elm$);for(var x=0;x<oe.length;x++)(g=(p=oe[x]).$nodeToRelocate$)["s-ol"]||((v=w.createTextNode(""))["s-nr"]=g,g.parentNode.insertBefore(g["s-ol"]=v,g));for(x=0;x<oe.length;x++)if(g=(p=oe[x]).$nodeToRelocate$,p.$slotRefNode$){for(m=p.$slotRefNode$.parentNode,y=p.$slotRefNode$.nextSibling,v=g["s-ol"];v=v.previousSibling;)if((b=v["s-nr"])&&b["s-sn"]===g["s-sn"]&&m===b.parentNode&&(!(b=b.nextSibling)||!b["s-nr"])){y=b;break}(!y&&m!==g.parentNode||g.nextSibling!==y)&&g!==y&&(!g["s-hn"]&&g["s-ol"]&&(g["s-hn"]=g["s-ol"].parentNode.nodeName),m.insertBefore(g,y))}else 1===g.nodeType&&(g.hidden=!0)}d&&re(l.$elm$),_.$flags$&=-2,oe.length=0}(e,t)}catch(i){Fe(i,e.$hostElement$)}return null},me=function(e){var t=e.$hostElement$,n=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?we(n,"componentDidUpdate"):(e.$flags$|=64,ke(t),we(n,"componentDidLoad"),e.$onReadyResolve$(t),i||be()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&qe(function(){return fe(e,!1)}),e.$flags$&=-517},ye=function(e){var t=Te(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&fe(t,!1),n},be=function(e){ke(w.documentElement),qe(function(){return de(v,"appload",{detail:{namespace:"ionic"}})})},we=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(i){Fe(i)}},_e=function(e,t){return e&&e.then?e.then(t):t()},ke=function(e){return e.classList.add("hydrated")},xe=function e(t,n,i,r,o,a,s){var l,u,c,d;if(1===a.nodeType){for((l=a.getAttribute("c-id"))&&((u=l.split("."))[0]!==s&&"0"!==u[0]||(c={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},n.push(c),a.removeAttribute("c-id"),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,t=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))),d=a.childNodes.length-1;d>=0;d--)e(t,n,i,r,o,a.childNodes[d],s);if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)e(t,n,i,r,o,a.shadowRoot.childNodes[d],s)}else if(8===a.nodeType)(u=a.nodeValue.split("."))[1]!==s&&"0"!==u[1]||(l=u[0],c={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===l?(c.$elm$=a.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,n.push(c),a.remove(),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))):c.$hostId$===s&&("s"===l?(c.$tag$="slot",a["s-sn"]=u[5]?c.$name$=u[5]:"",a["s-sr"]=!0,r&&(c.$elm$=w.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),a.parentNode.insertBefore(c.$elm$,a),a.remove(),"0"===c.$depth$&&(r[c.$index$]=c.$elm$)),i.push(c),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c):"r"===l&&(r?a.remove():(o["s-cr"]=a,a["s-cn"]=!0))));else if(t&&"style"===t.$tag$){var h=H(null,a.textContent);h.$elm$=a,h.$index$="0",t.$children$=[h]}},Ae=function e(t,n){if(1===t.nodeType){for(var i=0;i<t.childNodes.length;i++)e(t.childNodes[i],n);if(t.shadowRoot)for(i=0;i<t.shadowRoot.childNodes.length;i++)e(t.shadowRoot.childNodes[i],n)}else if(8===t.nodeType){var r=t.nodeValue.split(".");"o"===r[0]&&(n.set(r[1]+"."+r[2],t),t.nodeValue="",t["s-en"]=r[3])}},Ce=function(e,t,n){if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);var i=Object.entries(t.$members$),r=e.prototype;if(i.map(function(e){var i=f(e,2),o=i[0],a=f(i[1],1)[0];31&a||2&n&&32&a?Object.defineProperty(r,o,{get:function(){return e=o,Te(this).$instanceValues$.get(e);var e},set:function(e){var n=this;!function(e,t,i,r){var o,a,s=Te(n),l=s.$hostElement$,u=s.$instanceValues$.get(t),c=s.$flags$,d=s.$lazyInstance$;if(a=r.$members$[t][0],i=null==(o=i)||V(o)?o:4&a?"false"!==o&&(""===o||!!o):2&a?parseFloat(o):1&a?String(o):o,!(8&c&&void 0!==u||i===u)&&(s.$instanceValues$.set(t,i),d)){if(r.$watchers$&&128&c){var h=r.$watchers$[t];h&&h.map(function(e){try{d[e](i,u,t)}catch(n){Fe(n,l)}})}2==(18&c)&&fe(s,!1)}}(0,o,e,t)},configurable:!0,enumerable:!0}):1&n&&64&a&&Object.defineProperty(r,o,{value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Te(this);return i.$onInstancePromise$.then(function(){var e;return(e=i.$lazyInstance$)[o].apply(e,t)})}})}),1&n){var o=new Map;r.attributeChangedCallback=function(e,t,n){var i=this;_.jmp(function(){var t=o.get(e);i[t]=(null!==n||"boolean"!=typeof i[t])&&n})},e.observedAttributes=i.filter(function(e){var t=f(e,2);t[0];return 15&t[1][0]}).map(function(e){var n=f(e,2),i=n[0],r=n[1],a=r[1]||i;return o.set(a,i),512&r[0]&&t.$attrsToReflect$.push([i,a]),a})}}return e},Se=function(e){we(e,"connectedCallback")},Ee=function(e){if(0==(1&_.$flags$)){var t=Te(e),n=t.$cmpMeta$;if(1&t.$flags$)E(e,t,n.$listeners$),Se(t.$lazyInstance$);else{var r;if(t.$flags$|=1,r=e.getAttribute("s-id")){if(k&&1&n.$flags$){var o=R(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(o+"-h",o+"-s")}!function(e,t,n,i){var r=e.shadowRoot,o=[],a=r?[]:null,s=i.$vnode$=H(t,null);_.$orgLocNodes$||Ae(w.body,_.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),xe(s,o,[],a,e,e,n),o.map(function(e){var n=e.$hostId$+"."+e.$nodeId$,i=_.$orgLocNodes$.get(n),o=e.$elm$;i&&k&&""===i["s-en"]&&i.parentNode.insertBefore(o,i.nextSibling),r||(o["s-hn"]=t,i&&(o["s-ol"]=i,o["s-ol"]["s-nr"]=o)),_.$orgLocNodes$.delete(n)}),r&&a.map(function(e){e&&r.appendChild(e)})}(e,n.$tagName$,r,t)}r||12&n.$flags$&&Pe(e);for(var a=e;a=a.parentNode||a.host;)if(1===a.nodeType&&a.hasAttribute("s-id")&&a["s-p"]||a["s-p"]){he(t,t.$ancestorComponent$=a);break}n.$members$&&Object.entries(n.$members$).map(function(t){var n=f(t,2),i=n[0];if(31&f(n[1],1)[0]&&e.hasOwnProperty(i)){var r=e[i];delete e[i],e[i]=r}}),qe(function(){return(r=x(regeneratorRuntime.mark(function e(t,n,r,o,a){var s,l,u,c,d,h;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=(32&n.$flags$)){e.next=25;break}if(n.$flags$|=32,!(a=ze(r)).then){e.next=7;break}return s=function(){},e.next=5,a;case 5:a=e.sent,s();case 7:a.isProxied||(r.$watchers$=a.watchers,Ce(a,r,2),a.isProxied=!0),n.$flags$|=8;try{new a(n)}catch(o){Fe(o)}if(n.$flags$&=-9,n.$flags$|=128,Se(n.$lazyInstance$),!a.style){e.next=25;break}if("string"!=typeof(l=a.style)&&(l=l[n.$modeName$=function(e){return Ne.map(function(t){return t(e)}).find(function(e){return!!e})}(t)]),u=L(r,n.$modeName$),Ve.has(u)){e.next=25;break}if(c=function(){},e.t0=8&r.$flags$,!e.t0){e.next=23;break}return e.next=22,i.e(56).then(i.bind(null,"JmUR")).then(function(e){return e.scopeCss(l,u,!1)});case 22:l=e.sent;case 23:I(u,l,!!(1&r.$flags$)),c();case 25:d=n.$ancestorComponent$,h=function(){return fe(n,!0)},d&&d["s-rc"]?d["s-rc"].push(h):h();case 27:case"end":return e.stop()}},e)})),function(e,t,n,i,o){return r.apply(this,arguments)})(e,t,n);var r})}}},Pe=function(e){var t=e["s-cr"]=w.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},De=function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],s=i.exclude||[],u=v.customElements,c=w.head,d=c.querySelector("meta[charset]"),h=w.createElement("style"),f=[],p=w.querySelectorAll("[sty-id]"),g=!0,y=0;for(Object.assign(_,i),_.$resourcesUrl$=new URL(i.resourcesUrl||"./",w.baseURI).href,_.$flags$|=2;y<p.length;y++)I(p[y].getAttribute("sty-id"),p[y].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);t.map(function(t){return t[1].map(function(i){var c={$flags$:i[0],$tagName$:i[1],$members$:i[2],$listeners$:i[3]};c.$members$=i[2],c.$listeners$=i[3],c.$attrsToReflect$=[],c.$watchers$={},!k&&1&c.$flags$&&(c.$flags$|=8);var d=c.$tagName$,h=function(e){r(i,e);var t=a(i);function i(e){var n;return A(this,i),n=t.call(this,e),Re(e=l(n),c),1&c.$flags$&&(k?e.attachShadow({mode:"open",delegatesFocus:!!(16&c.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e)),n}return m(i,[{key:"connectedCallback",value:function(){var e=this;n&&(clearTimeout(n),n=null),g?f.push(this):_.jmp(function(){return Ee(e)})}},{key:"disconnectedCallback",value:function(){var e=this;_.jmp(function(){return function(e){if(0==(1&_.$flags$)){var t=Te(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(function(e){return e()}),t.$rmListeners$=void 0),_.$cssShim$&&_.$cssShim$.removeHost(e),we(n,"disconnectedCallback")}}(e)})}},{key:"componentOnReady",value:function(){return Te(this).$onReadyPromise$}}]),i}(e(HTMLElement));c.$lazyBundleId$=t[0],s.includes(d)||u.get(d)||(o.push(d),u.define(d,Ce(h,c,1)))})}),h.innerHTML=o+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),c.insertBefore(h,d?d.nextSibling:c.firstChild),g=!1,f.length?f.map(function(e){return e.connectedCallback()}):_.jmp(function(){return n=setTimeout(be,30)})},Oe=function(e){var t=new URL(e,_.$resourcesUrl$);return t.origin!==v.location.origin?t.href:t.pathname},Me=new WeakMap,Te=function(e){return Me.get(e)},Ie=function(e,t){return Me.set(t.$lazyInstance$=e,t)},Re=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(function(e){return n.$onInstanceResolve$=e}),n.$onReadyPromise$=new Promise(function(e){return n.$onReadyResolve$=e}),e["s-p"]=[],e["s-rc"]=[],E(e,n,t.$listeners$),Me.set(e,n)},Le=function(e,t){return t in e},Fe=function(e,t){return(0,console.error)(e,t)},Be=new Map,ze=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,a=Be.get(o);return a?a[r]:i("kLfG")("./".concat(o,".entry.js")).then(function(e){return Be.set(o,e),e[r]},Fe)},Ve=new Map,Ne=[],He=[],je=[],Ue=function(e,t){return function(n){e.push(n),g||(g=!0,t&&4&_.$flags$?qe(Ge):_.raf(Ge))}},We=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){Fe(n)}e.length=0},Ge=function e(){We(He),We(je),(g=He.length>0)&&_.raf(e)},qe=function(e){return C().then(e)},Ye=Ue(He,!1),Ze=Ue(je,!0),Qe={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},y08P:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=function(){function e(t,n,i,r,o){A(this,e),this.id=n,this.name=i,this.disableScroll=o,this.priority=1e6*r+n,this.ctrl=t}return m(e,[{key:"canStart",value:function(){return!!this.ctrl&&this.ctrl.canStart(this.name)}},{key:"start",value:function(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}},{key:"capture",value:function(){if(!this.ctrl)return!1;var e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}},{key:"release",value:function(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}},{key:"destroy",value:function(){this.release(),this.ctrl=void 0}}]),e}(),r=function(){function e(t,n,i,r){A(this,e),this.id=n,this.disable=i,this.disableScroll=r,this.ctrl=t}return m(e,[{key:"block",value:function(){if(this.ctrl){if(this.disable){var e,t=h(this.disable);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.ctrl.disableGesture(n,this.id)}}catch(i){t.e(i)}finally{t.f()}}this.disableScroll&&this.ctrl.disableScroll(this.id)}}},{key:"unblock",value:function(){if(this.ctrl){if(this.disable){var e,t=h(this.disable);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.ctrl.enableGesture(n,this.id)}}catch(i){t.e(i)}finally{t.f()}}this.disableScroll&&this.ctrl.enableScroll(this.id)}}},{key:"destroy",value:function(){this.unblock(),this.ctrl=void 0}}]),e}(),o=new(function(){function e(){A(this,e),this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}return m(e,[{key:"createGesture",value:function(e){return new i(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}},{key:"createBlocker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new r(this,this.newID(),e.disable,!!e.disableScroll)}},{key:"start",value:function(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}},{key:"capture",value:function(e,t,n){if(!this.start(e,t,n))return!1;var i=this.requestedStart,r=-1e4;if(i.forEach(function(e){r=Math.max(r,e)}),r===n){this.capturedId=t,i.clear();var o=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(o),!0}return i.delete(t),!1}},{key:"release",value:function(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}},{key:"disableGesture",value:function(e,t){var n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}},{key:"enableGesture",value:function(e,t){var n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}},{key:"disableScroll",value:function(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}},{key:"enableScroll",value:function(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}},{key:"canStart",value:function(e){return void 0===this.capturedId&&!this.isDisabled(e)}},{key:"isCaptured",value:function(){return void 0!==this.capturedId}},{key:"isScrollDisabled",value:function(){return this.disabledScroll.size>0}},{key:"isDisabled",value:function(e){var t=this.disabledGestures.get(e);return!!(t&&t.size>0)}},{key:"newID",value:function(){return this.gestureId++,this.gestureId}}]),e}())}},[[0,1]]])}(); \ No newline at end of file diff --git a/dist/main-es5.f77be352cb838ac57804.js b/dist/main-es5.f77be352cb838ac57804.js new file mode 100644 index 0000000000..5d9299295d --- /dev/null +++ b/dist/main-es5.f77be352cb838ac57804.js @@ -0,0 +1 @@ +!function(){function e(n){var i="function"==typeof Map?new Map:void 0;return(e=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(e))return i.get(e);i.set(e,r)}function r(){return t(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)})(n)}function t(e,n,i){return(t=c()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&a(r,n.prototype),r}).apply(null,arguments)}function i(){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}}).apply(this,arguments)}function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=c();return function(){var n,i=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return l(this,n)}}function l(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 u(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}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 p(e,t){return v(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(l){s=!0,r=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}(e,t)||y(e,t)||g()}function g(){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 v(e){if(Array.isArray(e))return e}function m(e){return function(e){if(Array.isArray(e))return w(e)}(e)||b(e)||y(e)||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.")}()}function y(e,t){if(e){if("string"==typeof e)return w(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)?w(e,t):void 0}}function b(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function _(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(E){s=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var r=t&&t.prototype instanceof d?t:d,o=Object.create(r.prototype),a=new A(i||[]);return o._invoke=function(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return S()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=w(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"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=u(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=l;var c={};function d(){}function h(){}function f(){}var p={};s(p,r,function(){return this});var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,r)&&(p=v);var m=f.prototype=d.prototype=Object.create(p);function y(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function b(e,t){function i(r,o,a,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then(function(e){i("next",e,a,s)},function(e){i("throw",e,a,s)}):t.resolve(d).then(function(e){c.value=e,a(c)},function(e){return i("throw",e,a,s)})}s(l.arg)}var r;this._invoke=function(e,n){function o(){return new t(function(t,r){i(e,n,t,r)})}return r=r?r.then(o,o):o()}}function w(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,w(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=u(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,c;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function x(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return h.prototype=f,s(m,"constructor",f),s(f,"constructor",h),h.displayName=s(f,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},y(b.prototype),s(b.prototype,o,function(){return this}),e.AsyncIterator=b,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new b(l(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},y(m),s(m,a,"Generator"),s(m,r,function(){return this}),s(m,"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 i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=C,A.prototype={constructor:A,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(k),!e)for(var t in this)"t"===t.charAt(0)&&n.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 i(n,i){return a.type="throw",a.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;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),k(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 i=n.completion;if("throw"===i.type){var r=i.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function x(e,t,n,i,r,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(i,r)}function k(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function a(e){x(o,i,r,a,s,"next",e)}function s(e){x(o,i,r,a,s,"throw",e)}a(void 0)})}}function A(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function C(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{0:function(e,t,n){e.exports=n("m9/o")},"1vRN":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return y}),n.d(t,"g",function(){return s}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return r}),n.d(t,"j",function(){return f}),n.d(t,"k",function(){return u}),n.d(t,"l",function(){return p}),n.d(t,"m",function(){return m}),n.d(t,"n",function(){return b}),n.d(t,"o",function(){return g}),n.d(t,"p",function(){return v}),n.d(t,"q",function(){return l});var i=function(e,t){e.componentOnReady?e.componentOnReady().then(function(e){return t(e)}):l(function(){return t(e)})},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return t.forEach(function(t){e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},o=function(e,t,n,i){if("undefined"!=typeof window){var r=window,o=r&&r.Ionic&&r.Ionic.config;if(o){var a=o.get("_ael");if(a)return a(e,t,n,i);if(o._ael)return o._ael(e,t,n,i)}}return e.addEventListener(t,n,i)},a=function(e,t,n,i){if("undefined"!=typeof window){var r=window,o=r&&r.Ionic&&r.Ionic.config;if(o){var a=o.get("_rel");if(a)return a(e,t,n,i);if(o._rel)return o._rel(e,t,n,i)}}return e.removeEventListener(t,n,i)},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return e.shadowRoot||t},l=function(e){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e)},u=function(e){return!!e.shadowRoot&&!!e.attachShadow},c=function(e){var t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},d=function(e,t){var n,i=e.getAttribute("aria-labelledby"),r=e.id,o=null!==i&&""!==i.trim()?i:t+"-lbl",a=null!==i&&""!==i.trim()?document.getElementById(i):c(e);return a?(null===i&&(a.id=o),n=a.textContent,a.setAttribute("aria-hidden","true")):""!==r.trim()&&((a=document.querySelector('label[for="'.concat(r,'"]')))&&(""!==a.id?o=a.id:a.id=o=r+"-lbl",n=a.textContent)),{label:a,labelId:o,labelText:n}},h=function(e,t,n,i,r){if(e||u(t)){var o=t.querySelector("input.aux-input");o||((o=t.ownerDocument.createElement("input")).type="hidden",o.classList.add("aux-input"),t.appendChild(o)),o.disabled=r,o.name=n,o.value=i||""}},f=function(e,t,n){return Math.max(e,Math.min(t,n))},p=function(e,t){if(!e){var n="ASSERT: "+t;throw console.error(n),new Error(n)}},g=function(e){return e.timeStamp||Date.now()},v=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},m=function(e){var t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error('"'.concat(e,'" is not a valid value for [side]. Use "start" or "end" instead.'))}},y=function(e,t){var n=e._original||e;return{_original:e,emit:b(n.emit.bind(n),t)}},b=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];clearTimeout(t),t=setTimeout.apply(void 0,[e,n].concat(r))}}},"39oe":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){try{if(e instanceof function(){return C(function e(t){S(this,e),this.value=t})}())return e.value;if(!a()||"string"!=typeof e||""===e)return e;var t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(function(e){for(var n=t.querySelectorAll(e),i=n.length-1;i>=0;i--){var a=n[i];a.parentNode?a.parentNode.removeChild(a):t.removeChild(a);for(var s=o(a),l=0;l<s.length;l++)r(s[l])}});for(var i=o(t),s=0;s<i.length;s++)r(i[s]);var u=document.createElement("div");u.appendChild(t);var c=u.querySelector("div");return null!==c?c.innerHTML:u.innerHTML}catch(d){return console.error(d),""}},r=function e(t){if(!t.nodeType||1===t.nodeType){for(var n=t.attributes.length-1;n>=0;n--){var i=t.attributes.item(n),r=i.name;if(s.includes(r.toLowerCase())){var a=i.value;null!=a&&a.toLowerCase().includes("javascript:")&&t.removeAttribute(r)}else t.removeAttribute(r)}for(var l=o(t),u=0;u<l.length;u++)e(l[u])}},o=function(e){return null!=e.children?e.children:e.childNodes},a=function(){var e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},s=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},"7OTs":function(e,t,n){"use strict";n.d(t,"a",function(){return F}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return S}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return P}),n.d(t,"h",function(){return M}),n.d(t,"i",function(){return s}),n.d(t,"j",function(){return I}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return f}),n.d(t,"n",function(){return L}),n.d(t,"o",function(){return g});var i=n("E/Mt"),r=n("B4Jq"),o=n("1vRN"),a=0,s=new WeakMap,l=function(e){return{create:function(t){return y(e,t)},dismiss:function(t,n,i){return A(document,t,n,e,i)},getTop:(t=k(_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",C(document,e));case 1:case"end":return t.stop()}},t)})),function(){return t.apply(this,arguments)})};var t},u=l("ion-alert"),c=l("ion-action-sheet"),d=l("ion-loading"),h=l("ion-modal"),f=l("ion-picker"),p=l("ion-popover"),g=l("ion-toast"),v=function(e){"undefined"!=typeof document&&x(document);var t=a++;e.overlayIndex=t,e.hasAttribute("id")||(e.id="ion-overlay-"+t)},y=function(e,t){return"undefined"!=typeof customElements?customElements.whenDefined(e).then(function(){var n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),D(document).appendChild(n),new Promise(function(e){return Object(o.c)(n,e)})}):Promise.resolve()},b='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',w="input:not([type=hidden]), textarea, button, select",x=function(e){0===a&&(a=1,e.addEventListener("focus",function(t){return function(e,t){var n,i,r,a=C(t),s=e.target;if(a&&s)if(a===s)a.lastFocus=void 0;else{var l=Object(o.g)(a);if(!l.contains(s))return;var u=l.querySelector(".ion-overlay-wrapper");if(!u)return;if(u.contains(s))a.lastFocus=s;else{var c=a.lastFocus;n=a,i=u.querySelector(b),(r=i&&i.shadowRoot)&&(i=r.querySelector(w)||i),i?i.focus():n.focus(),c===t.activeElement&&function(e,t){var n=Array.from(e.querySelectorAll(b)),i=n.length>0?n[n.length-1]:null,r=i&&i.shadowRoot;r&&(i=r.querySelector(w)||i),i?i.focus():t.focus()}(u,a),a.lastFocus=t.activeElement}}}(t,e)},!0),e.addEventListener("ionBackButton",function(t){var n=C(e);n&&n.backdropDismiss&&t.detail.register(r.OVERLAY_BACK_BUTTON_PRIORITY,function(){return n.dismiss(void 0,F)})}),e.addEventListener("keyup",function(t){if("Escape"===t.key){var n=C(e);n&&n.backdropDismiss&&n.dismiss(void 0,F)}}))},A=function(e,t,n,i,r){var o=C(e,i,r);return o?o.dismiss(t,n):Promise.reject("overlay does not exist")},C=function(e,t,n){var i=function(e,t){return void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(function(e){return e.overlayIndex>0})}(e,t);return void 0===n?i[i.length-1]:i.find(function(e){return e.id===n})},S=function(){var e=k(_().mark(function e(t,n,r,o,a){var s,l;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.presented){e.next=2;break}return e.abrupt("return");case 2:return t.presented=!0,t.willPresent.emit(),s=Object(i.b)(t),l=t.enterAnimation?t.enterAnimation:i.c.get(n,"ios"===s?r:o),e.next=6,O(t,l,t.el,a);case 6:if(e.t0=e.sent,!e.t0){e.next=9;break}t.didPresent.emit();case 9:"ION-TOAST"!==t.el.tagName&&E(t.el),t.keyboardClose&&t.el.focus();case 11:case"end":return e.stop()}},e)}));return function(t,n,i,r,o){return e.apply(this,arguments)}}(),E=function(){var e=k(_().mark(function e(t){var n,i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=document.activeElement){e.next=3;break}return e.abrupt("return");case 3:return(i=n&&n.shadowRoot)&&(n=i.querySelector(w)||n),e.next=7,t.onDidDismiss();case 7:n.focus();case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=k(_().mark(function e(t,n,r,o,a,l,u){var c,d;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.presented){e.next=2;break}return e.abrupt("return",!1);case 2:if(t.presented=!1,e.prev=3,t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:n,role:r}),c=Object(i.b)(t),d=t.leaveAnimation?t.leaveAnimation:i.c.get(o,"ios"===c?a:l),e.t0="gesture"!==r,!e.t0){e.next=10;break}return e.next=10,O(t,d,t.el,u);case 10:t.didDismiss.emit({data:n,role:r}),s.delete(t),e.next=17;break;case 14:e.prev=14,e.t1=e.catch(3),console.error(e.t1);case 17:return e.abrupt("return",(t.el.remove(),!0));case 18:case"end":return e.stop()}},e,null,[[3,14]])}));return function(t,n,i,r,o,a,s){return e.apply(this,arguments)}}(),D=function(e){return e.querySelector("ion-app")||e.body},O=function(){var e=k(_().mark(function e(t,n,r,o){var a,l;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.classList.remove("overlay-hidden"),a=n(r.shadowRoot||t.el,o),t.animated&&i.c.getBoolean("animated",!0)||a.duration(0),t.keyboardClose&&a.beforeAddWrite(function(){var e=r.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()}),l=s.get(t)||[],s.set(t,[].concat(m(l),[a])),e.next=7,a.play();case 7:return e.abrupt("return",!0);case 8:case"end":return e.stop()}},e)}));return function(t,n,i,r){return e.apply(this,arguments)}}(),M=function(e,t){var n,i=new Promise(function(e){return n=e});return T(e,t,function(e){n(e.detail)}),i},T=function(e,t,n){Object(o.a)(e,t,function i(r){Object(o.b)(e,t,i),n(r)})},I=function(e){return"cancel"===e||e===F},R=function(e){return e()},L=function(e,t){if("function"==typeof e)return i.c.get("_zoneGate",R)(function(){try{return e(t)}catch(n){console.error(n)}})},F="backdrop"},B4Jq:function(e,t,n){"use strict";n.r(t),n.d(t,"MENU_BACK_BUTTON_PRIORITY",function(){return a}),n.d(t,"OVERLAY_BACK_BUTTON_PRIORITY",function(){return o}),n.d(t,"blockHardwareBackButton",function(){return i}),n.d(t,"startHardwareBackButton",function(){return r});var i=function(){document.addEventListener("backbutton",function(){})},r=function(){var e=document,t=!1;e.addEventListener("backbutton",function(){if(!t){var n=0,i=[],r=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register:function(e,t){i.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(r);!function e(){if(i.length>0){var n={priority:Number.MIN_SAFE_INTEGER,handler:function(){},id:-1};i.forEach(function(e){e.priority>=n.priority&&(n=e)}),t=!0,i=i.filter(function(e){return e.id!==n.id}),(r=k(_().mark(function t(n){var i;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!n||!n.handler){t.next=7;break}if(i=n.handler(e),t.t0=null!=i,!t.t0){t.next=7;break}return t.next=7,i;case 7:t.next=12;break;case 9:t.prev=9,t.t1=t.catch(0),console.error(t.t1);case 12:case"end":return t.stop()}},t,null,[[0,9]])})),function(e){return r.apply(this,arguments)})(n).then(function(){return t=!1})}var r}()}})},o=100,a=99},"E/Mt":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return _});var i,r=n("wEJo"),o=function(e){return s(e)},a=function(e,t){return"string"==typeof e&&(t=e,e=void 0),o(e).includes(t)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(void 0===e)return[];e.Ionic=e.Ionic||{};var t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=l(e)).forEach(function(t){return e.document.documentElement.classList.add("plt-"+t)}),t},l=function(e){return Object.keys(y).filter(function(t){return y[t](e)})},u=function(e){return!!v(e,/iPad/i)||!(!v(e,/Macintosh/i)||!d(e))},c=function(e){return v(e,/android|sink/i)},d=function(e){return m(e,"(any-pointer:coarse)")},h=function(e){return f(e)||g(e)},f=function(e){return!!(e.cordova||e.phonegap||e.PhoneGap)},g=function(e){var t=e.Capacitor;return!(!t||!t.isNative)},v=function(e,t){return t.test(e.navigator.userAgent)},m=function(e,t){return e.matchMedia(t).matches},y={ipad:u,iphone:function(e){return v(e,/iPhone/i)},ios:function(e){return v(e,/iPhone|iPod/i)||u(e)},android:c,phablet:function(e){var t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),r=Math.max(t,n);return i>390&&i<520&&r>620&&r<800},tablet:function(e){var t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),r=Math.max(t,n);return u(e)||function(e){return c(e)&&!v(e,/mobile/i)}(e)||i>460&&i<820&&r>780&&r<1400},cordova:f,capacitor:g,electron:function(e){return v(e,/electron/i)},pwa:function(e){return!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone)},mobile:d,mobileweb:function(e){return d(e)&&!h(e)},desktop:function(e){return!d(e)},hybrid:h},b=new(function(){function e(){S(this,e),this.m=new Map}return C(e,[{key:"reset",value:function(e){this.m=new Map(Object.entries(e))}},{key:"get",value:function(e,t){var n=this.m.get(e);return void 0!==n?n:t}},{key:"getBoolean",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}},{key:"getNumber",value:function(e,t){var n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}},{key:"set",value:function(e,t){this.m.set(e,t)}}]),e}()),w=function(e){return e&&Object(r.i)(e)||i},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"!=typeof window){var t=window.document,n=window,o=n.Ionic=n.Ionic||{};s(n);var l=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},function(e){try{var t=e.sessionStorage.getItem("ionic-persist-config");return null!==t?JSON.parse(t):{}}catch(n){return{}}}(n)),{persistConfig:!1}),o.config),function(e){var t={};return e.location.search.slice(1).split("&").map(function(e){return e.split("=")}).map(function(e){var t=p(e,2),n=t[0],i=t[1];return[decodeURIComponent(n),decodeURIComponent(i)]}).filter(function(e){return"ionic:"===p(e,1)[0].substr(0,"ionic:".length)}).map(function(e){var t=p(e,2),n=t[0],i=t[1];return[n.slice("ionic:".length),i]}).forEach(function(e){var n=p(e,2),i=n[0],r=n[1];t[i]=r}),t}(n)),e);b.reset(l),b.getBoolean("persistConfig")&&function(e,t){try{e.sessionStorage.setItem("ionic-persist-config",JSON.stringify(t))}catch(n){return}}(n,l),o.config=b,o.mode=i=b.get("mode",t.documentElement.getAttribute("mode")||(a(n,"ios")?"ios":"md")),b.set("mode",i),t.documentElement.setAttribute("mode",i),t.documentElement.classList.add(i),b.getBoolean("_testing")&&b.set("animated",!1);var u=function(e){return e.tagName&&e.tagName.startsWith("ION-")},c=function(e){return["ios","md"].includes(e)};Object(r.p)(function(e){for(;e;){var t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;u(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return i})}}},Hfs6:function(e,t,n){var i,r,o;!function(a){if("object"==typeof e.exports){var s=a(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},MYvV: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="MYvV"},RQGG:function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",function(){return o});var i=n("meiF"),r=n("k4ps");n("1vRN"),n("wEJo");var o=function(e,t){var n="back"===t.direction,o=t.enteringEl,a=t.leavingEl,s=Object(r.g)(o),l=s.querySelector("ion-toolbar"),u=Object(i.a)();if(u.addElement(s).fill("both").beforeRemoveClass("ion-page-invisible"),n?u.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):u.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){var c=Object(i.a)();c.addElement(l),u.addAnimation(c)}if(a&&n){u.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var d=Object(i.a)();d.addElement(Object(r.g)(a)).onFinish(function(e){1===e&&d.elements.length>0&&d.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),u.addAnimation(d)}return u}},b0Xh:function(e,t,i){var r;(function(){var i=function e(t){return t instanceof e?t:this instanceof e?void(this.EXIFwrapped=t):new e(t)};e.exports&&(t=e.exports=i),t.EXIF=i;var o=i.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},a=i.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},s=i.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},l=i.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},u=i.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function c(e){return!!e.exifdata}function d(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength;n<i;){if(255!=t.getUint8(n))return!1;if(225==t.getUint8(n+1))return m(t,n+4,t.getUint16(n+2));n+=2+t.getUint16(n+2)}}var h={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function f(e,t,n){for(var i,r,o,a,s=new DataView(e),l={},u=t;u<t+n;)28===s.getUint8(u)&&2===s.getUint8(u+1)&&(a=s.getUint8(u+2))in h&&(o=s.getInt16(u+3),r=h[a],i=v(s,u+5,o),l.hasOwnProperty(r)?l[r]instanceof Array?l[r].push(i):l[r]=[l[r],i]:l[r]=i),u++;return l}function p(e,t,n,i,r){var o,a,s=e.getUint16(n,!r),l={};for(a=0;a<s;a++)l[i[e.getUint16(o=n+12*a+2,!r)]]=g(e,o,t,0,r);return l}function g(e,t,n,i,r){var o,a,s,l,u,c,d=e.getUint16(t+2,!r),h=e.getUint32(t+4,!r),f=e.getUint32(t+8,!r)+n;switch(d){case 1:case 7:if(1==h)return e.getUint8(t+8,!r);for(o=h>4?f:t+8,a=[],l=0;l<h;l++)a[l]=e.getUint8(o+l);return a;case 2:return v(e,o=h>4?f:t+8,h-1);case 3:if(1==h)return e.getUint16(t+8,!r);for(o=h>2?f:t+8,a=[],l=0;l<h;l++)a[l]=e.getUint16(o+2*l,!r);return a;case 4:if(1==h)return e.getUint32(t+8,!r);for(a=[],l=0;l<h;l++)a[l]=e.getUint32(f+4*l,!r);return a;case 5:if(1==h)return u=e.getUint32(f,!r),c=e.getUint32(f+4,!r),(s=new Number(u/c)).numerator=u,s.denominator=c,s;for(a=[],l=0;l<h;l++)u=e.getUint32(f+8*l,!r),c=e.getUint32(f+4+8*l,!r),a[l]=new Number(u/c),a[l].numerator=u,a[l].denominator=c;return a;case 9:if(1==h)return e.getInt32(t+8,!r);for(a=[],l=0;l<h;l++)a[l]=e.getInt32(f+4*l,!r);return a;case 10:if(1==h)return e.getInt32(f,!r)/e.getInt32(f+4,!r);for(a=[],l=0;l<h;l++)a[l]=e.getInt32(f+8*l,!r)/e.getInt32(f+4+8*l,!r);return a}}function v(e,t,i){var r="";for(n=t;n<t+i;n++)r+=String.fromCharCode(e.getUint8(n));return r}function m(e,t){if("Exif"!=v(e,t,4))return!1;var n,i,r,c,d,h=t+6;if(18761==e.getUint16(h))n=!1;else{if(19789!=e.getUint16(h))return!1;n=!0}if(42!=e.getUint16(h+2,!n))return!1;var f=e.getUint32(h+4,!n);if(f<8)return!1;if((i=p(e,h,h+f,a,n)).ExifIFDPointer)for(r in c=p(e,h,h+i.ExifIFDPointer,o,n)){switch(r){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":c[r]=u[r][c[r]];break;case"ExifVersion":case"FlashpixVersion":c[r]=String.fromCharCode(c[r][0],c[r][1],c[r][2],c[r][3]);break;case"ComponentsConfiguration":c[r]=u.Components[c[r][0]]+u.Components[c[r][1]]+u.Components[c[r][2]]+u.Components[c[r][3]]}i[r]=c[r]}if(i.GPSInfoIFDPointer)for(r in d=p(e,h,h+i.GPSInfoIFDPointer,s,n)){switch(r){case"GPSVersionID":d[r]=d[r][0]+"."+d[r][1]+"."+d[r][2]+"."+d[r][3]}i[r]=d[r]}return i.thumbnail=function(e,t,n,i){var r=function(e,t,n){var i=e.getUint16(t,!n);return e.getUint32(t+2+12*i,!n)}(e,t+n,i);if(!r)return{};if(r>e.byteLength)return{};var o=p(e,t,t+r,l,i);if(o.Compression)switch(o.Compression){case 6:o.JpegIFOffset&&o.JpegIFByteCount&&(o.blob=new Blob([new Uint8Array(e.buffer,t+o.JpegIFOffset,o.JpegIFByteCount)],{type:"image/jpeg"}));break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",o.Compression)}else 2==o.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return o}(e,h,f,n),i}function y(e){var t={};if(1==e.nodeType){if(e.attributes.length>0){t["@attributes"]={};for(var n=0;n<e.attributes.length;n++){var i=e.attributes.item(n);t["@attributes"][i.nodeName]=i.nodeValue}}}else if(3==e.nodeType)return e.nodeValue;if(e.hasChildNodes())for(var r=0;r<e.childNodes.length;r++){var o=e.childNodes.item(r),a=o.nodeName;if(null==t[a])t[a]=y(o);else{if(null==t[a].push){var s=t[a];t[a]=[],t[a].push(s)}t[a].push(y(o))}}return t}function b(e){try{var t={};if(e.children.length>0)for(var n=0;n<e.children.length;n++){var i=e.children.item(n),r=i.attributes;for(var o in r){var a=r[o],s=a.nodeName;void 0!==s&&(t[s]=a.nodeValue)}var l=i.nodeName;if(void 0===t[l])t[l]=y(i);else{if(void 0===t[l].push){var u=t[l];t[l]=[],t[l].push(u)}t[l].push(y(i))}}else t=e.textContent;return t}catch(c){console.log(c.message)}}i.enableXmp=function(){i.isXmpEnabled=!0},i.disableXmp=function(){i.isXmpEnabled=!1},i.getData=function(e,t){return!((self.Image&&e instanceof self.Image||self.HTMLImageElement&&e instanceof self.HTMLImageElement)&&!e.complete||(c(e)?t&&t.call(e):function(e,t){function n(n){var r=d(n);e.exifdata=r||{};var o=function(e){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,r=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};n<i;){if(r(t,n)){var o=t.getUint8(n+7);return o%2!=0&&(o+=1),0===o&&(o=4),f(e,n+8+o,t.getUint16(n+6+o))}n++}}(n);if(e.iptcdata=o||{},i.isXmpEnabled){var a=function(e){if("DOMParser"in self){var t=new DataView(e);if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;for(var n=2,i=e.byteLength,r=new DOMParser;n<i-4;){if("http"==v(t,n,4)){var o=n-1,a=t.getUint16(n-2)-1,s=v(t,o,a),l=s.indexOf("xmpmeta>")+8,u=(s=s.substring(s.indexOf("<x:xmpmeta"),l)).indexOf("x:xmpmeta")+10;return s=s.slice(0,u)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+s.slice(u),b(r.parseFromString(s,"text/xml"))}n++}}}(n);e.xmpdata=a||{}}t&&t.call(e)}if(e.src)if(/^data\:/i.test(e.src))n(function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),i=n.length,r=new ArrayBuffer(i),o=new Uint8Array(r),a=0;a<i;a++)o[a]=n.charCodeAt(a);return r}(e.src));else if(/^blob\:/i.test(e.src))(o=new FileReader).onload=function(e){n(e.target.result)},function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){200!=this.status&&0!==this.status||o.readAsArrayBuffer(this.response)},n.send()}(e.src);else{var r=new XMLHttpRequest;r.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";n(r.response),r=null},r.open("GET",e.src,!0),r.responseType="arraybuffer",r.send(null)}else if(self.FileReader&&(e instanceof self.Blob||e instanceof self.File)){var o;(o=new FileReader).onload=function(e){n(e.target.result)},o.readAsArrayBuffer(e)}}(e,t),0))},i.getTag=function(e,t){if(c(e))return e.exifdata[t]},i.getIptcTag=function(e,t){if(c(e))return e.iptcdata[t]},i.getAllTags=function(e){if(!c(e))return{};var t,n=e.exifdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.getAllIptcTags=function(e){if(!c(e))return{};var t,n=e.iptcdata,i={};for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t]);return i},i.pretty=function(e){if(!c(e))return"";var t,n=e.exifdata,i="";for(t in n)n.hasOwnProperty(t)&&(i+="object"==typeof n[t]?n[t]instanceof Number?t+" : "+n[t]+" ["+n[t].numerator+"/"+n[t].denominator+"]\r\n":t+" : ["+n[t].length+" values]\r\n":t+" : "+n[t]+"\r\n");return i},i.readFromBinaryFile=function(e){return d(e)},void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}).call(this)},bC4P:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e,t,n,i,a){return o(e[1],t[1],n[1],i[1],a).map(function(o){return r(e[0],t[0],n[0],i[0],o)})},r=function(e,t,n,i,r){return r*(3*t*Math.pow(r-1,2)+r*(-3*n*r+3*n+i*r))-e*Math.pow(r-1,3)},o=function(e,t,n,i,r){return a((i-=r)-3*(n-=r)+3*(t-=r)-(e-=r),3*n-6*t+3*e,3*t-3*e,e).filter(function(e){return e>=0&&e<=1})},a=function(e,t,n,i){if(0===e)return function(e,t,n){var i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]}(t,n,i);var r=(3*(n/=e)-(t/=e)*t)/3,o=(2*t*t*t-9*t*n+27*(i/=e))/27;if(0===r)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-r),-Math.sqrt(-r)];var a=Math.pow(o/2,2)+Math.pow(r/3,3);if(0===a)return[Math.pow(o/2,.5)-t/3];if(a>0)return[Math.pow(-o/2+Math.sqrt(a),1/3)-Math.pow(o/2+Math.sqrt(a),1/3)-t/3];var s=Math.sqrt(Math.pow(-r/3,3)),l=Math.acos(-o/(2*Math.sqrt(Math.pow(-r/3,3)))),u=2*Math.pow(s,1/3);return[u*Math.cos(l/3)-t/3,u*Math.cos((l+2*Math.PI)/3)-t/3,u*Math.cos((l+4*Math.PI)/3)-t/3]}},iWo5:function(e,t,n){"use strict";n.r(t),n.d(t,"createGesture",function(){return l});var i=n("y08P");n.d(t,"GESTURE_CONTROLLER",function(){return i.a});var r,o=function(e,t,n,i){var r,o,s=a(e)?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",o="__zone_symbol__removeEventListener"):(r="addEventListener",o="removeEventListener"),e[r](t,n,s),function(){e[o](t,n,s)}},a=function(e){if(void 0===r)try{var t=Object.defineProperty({},"passive",{get:function(){r=!0}});e.addEventListener("optsTest",function(){},t)}catch(n){r=!1}return!!r},s=function(e){return e instanceof Document?e:e.ownerDocument},l=function(e){var t=!1,n=!1,r=!0,a=!1,l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),h=l.canStart,f=l.onWillStart,p=l.onStart,g=l.onEnd,v=l.notCaptured,m=l.onMove,y=l.threshold,b=l.passive,w=l.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=function(e,t,n){var i=n*(Math.PI/180),r="x"===e,o=Math.cos(i),a=t*t,s=0,l=0,u=!1,c=0;return{start:function(e,t){s=e,l=t,c=0,u=!0},detect:function(e,t){if(!u)return!1;var n=e-s,i=t-l,d=n*n+i*i;if(d<a)return!1;var h=Math.sqrt(d),f=(r?n:i)/h;return c=f>o?1:f<-o?-1:0,u=!1,!0},isGesture:function(){return 0!==c},getDirection:function(){return c}}}(l.direction,l.threshold,l.maxAngle),k=i.a.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),A=function(){t&&(a=!1,m&&m(_))},C=function(){return!(k&&!k.capture()||(t=!0,r=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,f?f(_).then(S):S(),0))},S=function(){w&&function(){if("undefined"!=typeof document){var e=document.activeElement;null!==e&&e.blur&&e.blur()}}(),p&&p(_),r=!0},E=function(){t=!1,n=!1,a=!1,r=!0,k.release()},P=function(e){var n=t,i=r;E(),i&&(u(_,e),n?g&&g(_):v&&v(_))},D=function(e,t,n,i,r){var a,l,u,c,d,h,f,p=0,g=function(i){p=Date.now()+2e3,t(i)&&(!l&&n&&(l=o(e,"touchmove",n,r)),u||(u=o(e,"touchend",m,r)),c||(c=o(e,"touchcancel",m,r)))},v=function(i){p>Date.now()||t(i)&&(!h&&n&&(h=o(s(e),"mousemove",n,r)),f||(f=o(s(e),"mouseup",y,r)))},m=function(e){b(),i&&i(e)},y=function(e){w(),i&&i(e)},b=function(){l&&l(),u&&u(),c&&c(),l=u=c=void 0},w=function(){h&&h(),f&&f(),h=f=void 0},_=function(){b(),w()},x=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t?(a||(a=o(e,"touchstart",g,r)),d||(d=o(e,"mousedown",v,r))):(a&&a(),d&&d(),a=d=void 0,_())};return{enable:x,stop:_,destroy:function(){x(!1),i=n=t=void 0}}}(l.el,function(e){var t=d(e);return!(n||!r)&&(c(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!h||!1!==h(_))&&(k.release(),!!k.start()&&(n=!0,0===y?C():(x.start(_.startX,_.startY),!0))))},function(e){t?!a&&r&&(a=!0,u(_,e),requestAnimationFrame(A)):(u(_,e),x.detect(_.currentX,_.currentY)&&(x.isGesture()&&C()||O()))},P,{capture:!1,passive:b}),O=function(){E(),D.stop(),v&&v(_)};return{enable:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e||(t&&P(void 0),E()),D.enable(e)},destroy:function(){k.destroy(),D.destroy()}}},u=function(e,t){if(t){var n=e.currentX,i=e.currentY,r=e.currentTime;c(t,e);var o=e.currentX,a=e.currentY,s=(e.currentTime=d(t))-r;if(s>0&&s<100){var l=(a-i)/s;e.velocityX=(o-n)/s*.7+.3*e.velocityX,e.velocityY=.7*l+.3*e.velocityY}e.deltaX=o-e.startX,e.deltaY=a-e.startY,e.event=t}},c=function(e,t){var n=0,i=0;if(e){var r=e.changedTouches;if(r&&r.length>0){var o=r[0];n=o.clientX,i=o.clientY}else void 0!==e.pageX&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},d=function(e){return e.timeStamp||Date.now()}},k4ps:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return S}),n.d(t,"g",function(){return D}),n.d(t,"h",function(){return A}),n.d(t,"i",function(){return E}),n.d(t,"j",function(){return c});var i=n("wEJo"),r=n("1vRN"),o="ionViewWillEnter",a="ionViewDidEnter",s="ionViewWillLeave",l="ionViewDidLeave",u="ionViewWillUnload",c=function(e){return new Promise(function(t,n){Object(i.f)(function(){d(e),h(e).then(function(n){n.animation&&n.animation.destroy(),f(e),t(n)},function(t){f(e),n(t)})})})},d=function(e){var t=e.enteringEl,n=e.leavingEl;P(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),E(t,!1),n&&E(n,!1)},h=function(){var e=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t);case 2:return n=e.sent,e.abrupt("return",n&&i.a.isBrowser?g(n,t):v(t));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),f=function(e){var t=e.leavingEl;e.enteringEl.classList.remove("ion-page-invisible"),void 0!==t&&t.classList.remove("ion-page-invisible")},p=function(){var e=k(_().mark(function e(t){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.leavingEl||!t.animated||0===t.duration){e.next=16;break}if(!t.animationBuilder){e.next=5;break}e.t0=t.animationBuilder,e.next=15;break;case 5:if("ios"!==t.mode){e.next=11;break}return e.next=8,Promise.resolve().then(n.bind(null,"lTIg"));case 8:e.t1=e.sent.iosTransitionAnimation,e.next=14;break;case 11:return e.next=13,Promise.resolve().then(n.bind(null,"RQGG"));case 13:e.t1=e.sent.mdTransitionAnimation;case 14:e.t0=e.t1;case 15:return e.abrupt("return",e.t0);case 16:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=k(_().mark(function e(t,n){var i,r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m(n,!0);case 2:return i=t(n.baseEl,n),w(n.enteringEl,n.leavingEl),e.next=6,b(i,n);case 6:return r=e.sent,e.abrupt("return",(n.progressCallback&&n.progressCallback(void 0),r&&x(n.enteringEl,n.leavingEl),{hasCompleted:r,animation:i}));case 8:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),v=function(){var e=k(_().mark(function e(t){var n,i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.enteringEl,i=t.leavingEl,e.next=3,m(t,!1);case 3:return w(n,i),x(n,i),e.abrupt("return",{hasCompleted:!0});case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=k(_().mark(function e(t,n){var i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=(void 0!==t.deepWait?t.deepWait:n)?[S(t.enteringEl),S(t.leavingEl)]:[C(t.enteringEl),C(t.leavingEl)],e.next=3,Promise.all(i);case 3:return e.next=5,y(t.viewIsReady,t.enteringEl);case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),y=function(){var e=k(_().mark(function e(t,n){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=t,!e.t0){e.next=4;break}return e.next=4,t(n);case 4:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),b=function(e,t){var n=t.progressCallback,i=new Promise(function(t){e.onFinish(function(e){return t(1===e)})});return n?(e.progressStart(!0),n(e)):e.play(),i},w=function(e,t){A(t,s),A(e,o)},x=function(e,t){A(e,a),A(t,l)},A=function(e,t){if(e){var n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},C=function(e){return e?new Promise(function(t){return Object(r.c)(e,t)}):Promise.resolve()},S=function(){var e=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t)){e.next=12;break}if(e.t0=null!=n.componentOnReady,!e.t0){e.next=8;break}return e.next=6,n.componentOnReady();case 6:e.t1=e.sent,e.t0=null!=e.t1;case 8:if(!e.t0){e.next=10;break}return e.abrupt("return");case 10:return e.next=12,Promise.all(Array.from(n.children).map(S));case 12:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),E=function(e,t){t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},P=function(e,t,n){void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},D=function(e){return e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e}},kLfG:function(e,t,n){var i={"./ion-action-sheet.entry.js":["dUtr",0,12],"./ion-alert.entry.js":["Q8AI",0,13],"./ion-app_8.entry.js":["hgI1",0,14],"./ion-avatar_3.entry.js":["CfoV",0,15],"./ion-back-button.entry.js":["Nt02",0,16],"./ion-backdrop.entry.js":["Q2Bp",17],"./ion-button_2.entry.js":["0Pbj",0,18],"./ion-card_5.entry.js":["ydQj",0,19],"./ion-checkbox.entry.js":["4fMi",0,20],"./ion-chip.entry.js":["czK9",0,21],"./ion-col_3.entry.js":["/CAe",22],"./ion-datetime_3.entry.js":["WgF3",0,23],"./ion-fab_3.entry.js":["uQcF",0,24],"./ion-img.entry.js":["wHD8",25],"./ion-infinite-scroll_2.entry.js":["2lz6",26],"./ion-input.entry.js":["ercB",0,27],"./ion-item-option_3.entry.js":["MGMP",0,28],"./ion-item_8.entry.js":["9bur",0,29],"./ion-loading.entry.js":["cABk",0,30],"./ion-menu_3.entry.js":["kyFE",0,31],"./ion-modal.entry.js":["TvZU",0,32],"./ion-nav_2.entry.js":["vnES",0,33],"./ion-popover.entry.js":["qCuA",0,34],"./ion-progress-bar.entry.js":["0tOe",0,35],"./ion-radio_2.entry.js":["h11V",0,36],"./ion-range.entry.js":["XGij",0,37],"./ion-refresher_2.entry.js":["nYbb",0,38],"./ion-reorder_2.entry.js":["smMY",0,39],"./ion-ripple-effect.entry.js":["STjf",40],"./ion-route_4.entry.js":["k5eQ",0,41],"./ion-searchbar.entry.js":["OR5t",0,42],"./ion-segment_2.entry.js":["fSgp",0,43],"./ion-select_3.entry.js":["lfGF",0,44],"./ion-slide_2.entry.js":["5xYT",45],"./ion-spinner.entry.js":["nI0H",0,46],"./ion-split-pane.entry.js":["NAQR",47],"./ion-tab-bar_2.entry.js":["knkW",0,48],"./ion-tab_2.entry.js":["TpdJ",0,49],"./ion-text.entry.js":["ISmu",0,50],"./ion-textarea.entry.js":["U7LX",0,51],"./ion-toast.entry.js":["L3sA",0,52],"./ion-toggle.entry.js":["IUOf",0,53],"./ion-virtual-scroll.entry.js":["8Mb5",54]};function r(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(r)})}r.keys=function(){return Object.keys(i)},r.id="kLfG",e.exports=r},kiQV:function(e){e.exports=JSON.parse('{"name":"parapheur","version":"21.03.13","description":"Annoter ou Signer vos documents sur votre tablette","homepage":"https://labs.maarch.org/maarch/MaarchParapheur","engines":{"npm":"6.14.5","node":"14.4.0"},"scripts":{"dep-list":"npm list --depth=0","check-update":"ncu","upgrade":"ncu -u","lint":"eslint -c .eslintrc.js --ext .ts src/frontend","lint-fix":"eslint -c .eslintrc.js --ext .ts src/frontend/ --fix","reload-packages":"rm -Rf node_modules && rm -f package-lock.json && npm cache clean --force && npm i","reload-packages-prod":"rm -Rf node_modules && rm -f package-lock.json && npm cache clean --force && npm i --production","build":"ng build","build-watch":"ng build --watch","build-prod":"ng build --prod","build-release":"npm run build-prod && npm run reload-packages-prod"},"private":true,"keywords":[],"author":"Maarch","license":"GPL-3.0","dependencies":{"core-js":"3.6.4","tslib":"2.1.0","zone.js":"0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"0.1100.7","@angular-eslint/eslint-plugin":"2.0.2","@angular/animations":"11.2.6","@angular/cdk":"11.2.5","@angular/cli":"11.2.5","@angular/common":"11.2.6","@angular/compiler":"11.2.6","@angular/compiler-cli":"11.2.6","@angular/core":"11.2.6","@angular/forms":"11.2.6","@angular/language-service":"11.2.6","@angular/material":"11.2.5","@angular/platform-browser":"11.2.6","@angular/platform-browser-dynamic":"11.2.6","@angular/router":"11.2.6","@biesbjerg/ngx-translate-extract":"6.0.3","@fortawesome/fontawesome-free":"5.15.3","@ionic/angular":"5.6.3","@ngrx/store":"9.2.1","@ngrx/store-devtools":"9.2.1","@ngx-translate/core":"12.1.2","@ngx-translate/http-loader":"4.0.0","@peculiar/fortify-webcomponents":"0.17.3","@types/hammerjs":"2.0.39","@types/jasmine":"3.6.7","@types/jasminewd2":"2.0.8","@types/jquery":"3.5.5","@types/node":"13.13.47","@typescript-eslint/eslint-plugin":"4.19.0","@typescript-eslint/eslint-plugin-tslint":"4.19.0","@typescript-eslint/parser":"4.19.0","angular2-draggable":"2.3.2","angular2-signaturepad":"3.0.4","codelyzer":"5.1.2","eslint":"7.22.0","eslint-config-prettier":"8.1.0","eslint-plugin-import":"2.22.1","exif-js":"2.3.0","hammerjs":"2.0.8","jquery":"3.6.0","ngx-cookie-service":"3.0.3","ngx-drag-scroll":"9.0.0-beta.4","ngx-extended-pdf-viewer":"5.0.1","ngx-pipes":"2.7.3","npm-check-updates":"4.1.0","prettier":"2.2.1","rxjs":"6.6.6","stylus":"0.54.7","stylus-loader":"3.0.2","tslint":"6.1.0","typescript":"4.0.5","typescript-tools":"0.3.1"},"repository":{}}')},lTIg:function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",function(){return d}),n.d(t,"shadow",function(){return a});var i=n("meiF"),r=n("k4ps");n("1vRN"),n("wEJo");var o=function(e){return document.querySelector(e+".ion-cloned-element")},a=function(e){return e.shadowRoot||e},s=function(e){var t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){var i=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=i?i.querySelector(n):null}return e.querySelector(n)},l=function(e,t){var n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),i=[];if(null!=n){var r=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=r&&(i=r.querySelectorAll("ion-buttons"))}else i=e.querySelectorAll("ion-buttons");var o,a=f(i);try{for(a.s();!(o=a.n()).done;){var s=o.value,l=s.closest("ion-header"),u=l&&!l.classList.contains("header-collapse-condense-inactive"),c=s.querySelector("ion-back-button"),d=s.classList.contains("buttons-collapse"),h="start"===s.slot||""===s.slot;if(null!==c&&h&&(d&&u&&t||!d))return c}}catch(p){a.e(p)}finally{a.f()}return null},u=function(e,t,n,r,s,l){var u=t?"calc(100% - ".concat(l.right+4,"px)"):l.left-4+"px",c=t?"7px":"-7px",d=t?"-4px":"4px",h=t?"-4px":"4px",f=t?"right":"left",p=t?"left":"right",g=n?[{offset:0,opacity:1,transform:"translate3d(".concat(d,", ").concat(l.top-46,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(c,", ").concat(s.top-40,"px, 0) scale(2.1)")}]:[{offset:0,opacity:0,transform:"translate3d(".concat(c,", ").concat(s.top-40,"px, 0) scale(2.1)")},{offset:1,opacity:1,transform:"translate3d(".concat(d,", ").concat(l.top-46,"px, 0) scale(1)")}],v=n?[{offset:0,opacity:1,transform:"translate3d(".concat(h,", ").concat(l.top-46,"px, 0) scale(1)")},{offset:.2,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")}]:[{offset:0,opacity:0,transform:"translate3d(".concat(h,", ").concat(l.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:1,transform:"translate3d(".concat(h,", ").concat(l.top-46,"px, 0) scale(1)")}],m=Object(i.a)(),y=Object(i.a)(),b=o("ion-back-button"),w=a(b).querySelector(".button-text"),_=a(b).querySelector("ion-icon");b.text=r.text,b.mode=r.mode,b.icon=r.icon,b.color=r.color,b.disabled=r.disabled,b.style.setProperty("display","block"),b.style.setProperty("position","fixed"),y.addElement(_),m.addElement(w),m.beforeStyles({"transform-origin":f+" center"}).beforeAddWrite(function(){r.style.setProperty("display","none"),b.style.setProperty(f,u)}).afterAddWrite(function(){r.style.setProperty("display",""),b.style.setProperty("display","none"),b.style.removeProperty(f)}).keyframes(g),y.beforeStyles({"transform-origin":p+" center"}).keyframes(v),e.addAnimation([m,y])},c=function(e,t,n,r,a,s){var l=t?"calc(100% - ".concat(a.right,"px)"):a.left+"px",u=t?"-18px":"18px",c=t?"right":"left",d=n?[{offset:0,opacity:0,transform:"translate3d(".concat(u,", ").concat(s.top-4,"px, 0) scale(0.49)")},{offset:.1,opacity:0},{offset:1,opacity:1,transform:"translate3d(0, ".concat(a.top-2,"px, 0) scale(1)")}]:[{offset:0,opacity:.99,transform:"translate3d(0, ".concat(a.top-2,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(u,", ").concat(s.top-4,"px, 0) scale(0.5)")}],f=o("ion-title"),p=Object(i.a)();f.innerText=r.innerText,f.size=r.size,f.color=r.color,p.addElement(f),p.beforeStyles(h({"transform-origin":c+" center",height:"46px",display:"",position:"relative"},c,l)).beforeAddWrite(function(){r.style.setProperty("display","none")}).afterAddWrite(function(){r.style.setProperty("display",""),f.style.setProperty("display","none")}).keyframes(d),e.addAnimation(p)},d=function(e,t){try{var n="opacity",o="transform",d="0%",h="rtl"===e.ownerDocument.dir,f=h?"-99.5%":"99.5%",p=h?"33%":"-33%",g=t.enteringEl,v=t.leavingEl,m="back"===t.direction,y=g.querySelector(":scope > ion-content"),b=g.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=g.querySelectorAll(":scope > ion-header > ion-toolbar"),_=Object(i.a)(),x=Object(i.a)();if(_.addElement(g).duration(t.duration||540).easing(t.easing||"cubic-bezier(0.32,0.72,0,1)").fill("both").beforeRemoveClass("ion-page-invisible"),v&&e){var k=Object(i.a)();k.addElement(e),_.addAnimation(k)}if(y||0!==w.length||0!==b.length?(x.addElement(y),x.addElement(b)):x.addElement(g.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),_.addAnimation(x),m?x.beforeClearStyles([n]).fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")).fromTo(n,.8,1):x.beforeClearStyles([n]).fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")),y){var A=a(y).querySelector(".transition-effect");if(A){var C=A.querySelector(".transition-cover"),S=A.querySelector(".transition-shadow"),E=Object(i.a)(),P=Object(i.a)(),D=Object(i.a)();E.addElement(A).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),P.addElement(C).beforeClearStyles([n]).fromTo(n,0,.1),D.addElement(S).beforeClearStyles([n]).fromTo(n,.03,.7),E.addAnimation([P,D]),x.addAnimation([E])}}var O=g.querySelector("ion-header.header-collapse-condense"),M=function(e,t,n,i,r){var o=l(i,n),a=s(r),d=s(i),h=l(r,n),f=null!==o&&null!==a&&!n,p=null!==d&&null!==h&&n;if(f){var g=a.getBoundingClientRect(),v=o.getBoundingClientRect();c(e,t,n,a,g,v),u(e,t,n,o,g,v)}else if(p){var m=d.getBoundingClientRect(),y=h.getBoundingClientRect();c(e,t,n,d,m,y),u(e,t,n,h,m,y)}return{forward:f,backward:p}}(_,h,m,g,v),T=M.forward,I=M.backward;if(w.forEach(function(e){var t=Object(i.a)();t.addElement(e),_.addAnimation(t);var r=Object(i.a)();r.addElement(e.querySelector("ion-title"));var o,s=Object(i.a)(),l=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),u=e.closest("ion-header"),c=u&&u.classList.contains("header-collapse-condense-inactive");o=l.filter(m?function(e){var t=e.classList.contains("buttons-collapse");return t&&!c||!t}:function(e){return!e.classList.contains("buttons-collapse")}),s.addElement(o);var g=Object(i.a)();g.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));var v=Object(i.a)();v.addElement(a(e).querySelector(".toolbar-background"));var y=Object(i.a)(),b=e.querySelector("ion-back-button");if(b&&y.addElement(b),t.addAnimation([r,s,g,v,y]),s.fromTo(n,.01,1),g.fromTo(n,.01,1),m)c||r.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")).fromTo(n,.01,1),g.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")),y.fromTo(n,.01,1);else if(O||r.fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")).fromTo(n,.01,1),g.fromTo("transform","translateX(".concat(f,")"),"translateX(".concat(d,")")),v.beforeClearStyles([n,"transform"]),(null==u?void 0:u.translucent)?v.fromTo("transform",h?"translateX(-100%)":"translateX(100%)","translateX(0px)"):v.fromTo(n,.01,"var(--opacity)"),T||y.fromTo(n,.01,1),b&&!T){var w=Object(i.a)();w.addElement(a(b).querySelector(".button-text")).fromTo("transform",h?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(w)}}),v){var R=Object(i.a)(),L=v.querySelector(":scope > ion-content"),F=v.querySelectorAll(":scope > ion-header > ion-toolbar"),B=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(L||0!==F.length||0!==B.length?(R.addElement(L),R.addElement(B)):R.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),_.addAnimation(R),m){R.beforeClearStyles([n]).fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)");var z=Object(r.g)(v);_.afterAddWrite(function(){"normal"===_.getDirection()&&z.style.setProperty("display","none")})}else R.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).fromTo(n,1,.8);if(L){var V=a(L).querySelector(".transition-effect");if(V){var N=V.querySelector(".transition-cover"),H=V.querySelector(".transition-shadow"),j=Object(i.a)(),U=Object(i.a)(),W=Object(i.a)();j.addElement(V).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),U.addElement(N).beforeClearStyles([n]).fromTo(n,.1,0),W.addElement(H).beforeClearStyles([n]).fromTo(n,.7,.03),j.addAnimation([U,W]),R.addAnimation([j])}}F.forEach(function(e){var t=Object(i.a)();t.addElement(e);var r=Object(i.a)();r.addElement(e.querySelector("ion-title"));var s=Object(i.a)(),l=e.querySelectorAll("ion-buttons,[menuToggle]"),u=e.closest("ion-header"),c=u&&u.classList.contains("header-collapse-condense-inactive"),f=Array.from(l).filter(function(e){var t=e.classList.contains("buttons-collapse");return t&&!c||!t});s.addElement(f);var g=Object(i.a)(),v=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");v.length>0&&g.addElement(v);var y=Object(i.a)();y.addElement(a(e).querySelector(".toolbar-background"));var b=Object(i.a)(),w=e.querySelector("ion-back-button");if(w&&b.addElement(w),t.addAnimation([r,s,g,b,y]),_.addAnimation(t),b.fromTo(n,.99,0),s.fromTo(n,.99,0),g.fromTo(n,.99,0),m){if(c||r.fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)").fromTo(n,.99,0),g.fromTo("transform","translateX(".concat(d,")"),h?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([n,"transform"]),(null==u?void 0:u.translucent)?y.fromTo("transform","translateX(0px)",h?"translateX(-100%)":"translateX(100%)"):y.fromTo(n,"var(--opacity)",0),w&&!I){var x=Object(i.a)();x.addElement(a(w).querySelector(".button-text")).fromTo("transform","translateX(".concat(d,")"),"translateX(".concat((h?-124:124)+"px",")")),t.addAnimation(x)}}else c||r.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).fromTo(n,.99,0).afterClearStyles([o,n]),g.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(p,")")).afterClearStyles([o,n]),b.afterClearStyles([n]),r.afterClearStyles([n]),s.afterClearStyles([n])})}return _}catch(G){throw G}}},"m9/o":function(n,r,a){"use strict";function c(e){return"function"==typeof e}a.r(r);var w=!1,x={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 w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=e},get useDeprecatedSynchronousErrorHandling(){return w}};function k(e){setTimeout(function(){throw e},0)}var A={closed:!0,next:function(e){},error:function(e){if(x.useDeprecatedSynchronousErrorHandling)throw e;k(e)},complete:function(){}},E=Array.isArray||function(e){return e&&"number"==typeof e.length};function P(e){return null!==e&&"object"==typeof e}var D,O=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}(),M=((D=function(){function e(t){S(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return C(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,r=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a<n.length;++a)n[a].remove(this);if(c(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(d){t=d instanceof O?T(d.errors):[d]}}if(E(o))for(var s=-1,l=o.length;++s<l;){var u=o[s];if(P(u))try{u.unsubscribe()}catch(d){t=t||[],d instanceof O?t=t.concat(T(d.errors)):t.push(d)}}if(t)throw new O(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 i=n;(n=new e)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new D),D);function T(e){return e.reduce(function(e,t){return e.concat(t instanceof O?t.errors:t)},[])}var I="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),R=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;switch(S(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=A;break;case 1:if(!e){o.destination=A;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(u(o))):(o.syncErrorThrowable=!0,o.destination=new L(u(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new L(u(o),e,i,r)}return o}return C(n,[{key:I,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,i(d(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,i){var r=new n(e,t,i);return r.syncErrorThrowable=!1,r}}]),n}(M),L=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a,s;S(this,n),(a=t.call(this))._parentSubscriber=e;var l=u(a);return c(i)?s=i:i&&(s=i.next,r=i.error,o=i.complete,i!==A&&(c((l=Object.create(i)).unsubscribe)&&a.add(l.unsubscribe.bind(l)),l.unsubscribe=a.unsubscribe.bind(u(a)))),a._context=l,a._next=s,a._error=r,a._complete=o,a}return C(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;x.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=x.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):k(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;k(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)};x.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(),x.useDeprecatedSynchronousErrorHandling)throw n;k(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!x.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return x.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(k(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(R),F="function"==typeof Symbol&&Symbol.observable||"@@observable";function B(e){return e}var z,V=((z=function(){function e(t){S(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return C(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,r=function(e,t,n){if(e){if(e instanceof R)return e;if(e[I])return e[I]()}return e||t||n?new R(e,t,n):new R(A)}(e,t,n);if(r.add(i?i.call(r,this.source):this.source||x.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),x.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){x.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,r=t.isStopped;if(n||r)return!1;e=i&&i instanceof R?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=N(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:F,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:(0===(i=t).length?B:1===i.length?i[0]:function(e){return i.reduce(function(e,t){return t(e)},e)})(this);var i}},{key:"toPromise",value:function(e){var t=this;return new(e=N(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})}}]),e}()).create=function(e){return new z(e)},z);function N(e){if(e||(e=x.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var H,j=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),U=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).subject=e,r.subscriber=i,r.closed=!1,r}return C(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(M),W=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this,e)).destination=e,i}return C(n)}(R),G=((H=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return C(n,[{key:I,value:function(){return new W(this)}},{key:"lift",value:function(e){var t=new q(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new j;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].next(e)}},{key:"error",value:function(e){if(this.closed)throw new j;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new j;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),i=0;i<t;i++)n[i].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 j;return i(d(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new j;return this.hasError?(e.error(this.thrownError),M.EMPTY):this.isStopped?(e.complete(),M.EMPTY):(this.observers.push(e),new U(this,e))}},{key:"asObservable",value:function(){var e=new V;return e.source=this,e}}]),n}(V)).create=function(e,t){return new q(e,t)},H),q=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).destination=e,r.source=i,r}return C(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):M.EMPTY}}]),n}(G);function Y(e){return e&&"function"==typeof e.schedule}function Z(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 Q(e,t))}}var Q=function(){function e(t,n){S(this,e),this.project=t,this.thisArg=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new X(e,this.project,this.thisArg))}}]),e}(),X=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||u(o),o}return C(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(R),K=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()}};var J="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",ee=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function te(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var ne=function(e){if(e&&"function"==typeof e[F])return i=e,function(e){var t=i[F]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(ee(e))return K(e);if(te(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,k),e};if(e&&"function"==typeof e[J])return t=e,function(e){for(var n=t[J]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,i,r=P(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(r," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function ie(e,t){return new V(function(n){var i=new M,r=0;return i.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}function re(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[F]}(e))return function(e,t){return new V(function(n){var i=new M;return i.add(t.schedule(function(){var r=e[F]();i.add(r.subscribe({next:function(e){i.add(t.schedule(function(){return n.next(e)}))},error:function(e){i.add(t.schedule(function(){return n.error(e)}))},complete:function(){i.add(t.schedule(function(){return n.complete()}))}}))})),i})}(e,t);if(te(e))return function(e,t){return new V(function(n){var i=new M;return i.add(t.schedule(function(){return e.then(function(e){i.add(t.schedule(function(){n.next(e),i.add(t.schedule(function(){return n.complete()}))}))},function(e){i.add(t.schedule(function(){return n.error(e)}))})})),i})}(e,t);if(ee(e))return ie(e,t);if(function(e){return e&&"function"==typeof e[J]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new V(function(n){var i,r=new M;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(function(){i=e[J](),r.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof V?e:new V(ne(e))}var oe=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this)).parent=e,i}return C(n,[{key:"_next",value:function(e){this.parent.notifyNext(e)}},{key:"_error",value:function(e){this.parent.notifyError(e),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(R),ae=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(R);function se(e,t){if(!t.closed)return e instanceof V?e.subscribe(t):ne(e)(t)}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(le(function(n,i){return re(e(n,i)).pipe(Z(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ue(e,n))})}var ue=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;S(this,e),this.project=t,this.concurrent=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new ce(e,this.project,this.concurrent))}}]),e}(),ce=function(e){o(n,e);var t=s(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return S(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return C(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new oe(this),n=this.destination;n.add(t);var i=se(e,t);i!==t&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyComplete",value:function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(ae);function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return le(B,e)}function he(e,t){return t?ie(e,t):new V(K(e))}function fe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return Y(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof o&&(i=t.pop()),null===r&&1===t.length&&t[0]instanceof V?t[0]:de(i)(he(t,r))}function pe(){return function(e){return e.lift(new ve(e))}}var ge,ve=function(){function e(t){S(this,e),this.connectable=t}return C(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new me(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),me=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).connectable=i,r}return C(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(R),ye=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return C(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new M).add(this.source.subscribe(new we(this.getSubject(),this))),e.closed&&(this._connection=null,e=M.EMPTY)),e}},{key:"refCount",value:function(){return pe()(this)}}]),n}(V),be={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(ge=ye.prototype)._subscribe},_isComplete:{value:ge._isComplete,writable:!0},getSubject:{value:ge.getSubject},connect:{value:ge.connect},refCount:{value:ge.refCount}},we=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).connectable=i,r}return C(n,[{key:"_error",value:function(e){this._unsubscribe(),i(d(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),i(d(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(W);function _e(){return new G}function xe(){return function(e){return pe()((t=_e,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,be);return i.source=e,i.subjectFactory=n,i})(e));var t}}function ke(e){for(var t in e)if(e[t]===ke)return t;throw Error("Could not find renamed property on target object.")}function Ae(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Ee=ke({__forward_ref__:ke});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return Ce(this())},e}function De(e){return Oe(e)?e():e}function Oe(e){return"function"==typeof e&&e.hasOwnProperty(Ee)&&e.__forward_ref__===Pe}var Me=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return C(n)}(e(Error));function Te(e){return"string"==typeof e?e:null==e?"":String(e)}function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Te(e)}function Re(e,t){var n=t?" in "+t:"";throw new Me("201","No provider for ".concat(Ie(e)," found").concat(n))}function Le(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var Fe=Le;function Be(e){return{providers:e.providers||[],imports:e.imports||[]}}function ze(e){return Ve(e,je)||Ve(e,We)}function Ve(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(Ue)||e.hasOwnProperty(Ge))?e[Ue]:null}var He,je=ke({"\u0275prov":ke}),Ue=ke({"\u0275inj":ke}),We=ke({ngInjectableDef:ke}),Ge=ke({ngInjectorDef:ke}),qe=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 Ye(e){var t=He;return He=e,t}function Ze(e,t,n){var i=ze(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&qe.Optional?null:void 0!==t?t:void Re(Ce(e),"Injector")}function Qe(e){return{toString:e}.toString()}var Xe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ke=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Je="undefined"!=typeof globalThis&&globalThis,$e="undefined"!=typeof window&&window,et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,tt="undefined"!=typeof global&&global,nt=Je||tt||$e||et,it={},rt=[],ot=[],at=ke({"\u0275cmp":ke}),st=ke({"\u0275dir":ke}),lt=ke({"\u0275pipe":ke}),ut=ke({"\u0275mod":ke}),ct=ke({"\u0275loc":ke}),dt=ke({"\u0275fac":ke}),ht=ke({__NG_ELEMENT_ID__:ke}),ft=0;function pt(e){return Qe(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Xe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ot,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,id:"c",styles:e.styles||ot,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=ft++,n.inputs=bt(e.inputs,t),n.outputs=bt(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(gt)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(vt)}:null,n})}function gt(e){return xt(e)||function(e){return e[st]||null}(e)}function vt(e){return function(e){return e[lt]||null}(e)}var mt={};function yt(e){var t={type:e.type,bootstrap:e.bootstrap||ot,declarations:e.declarations||ot,imports:e.imports||ot,exports:e.exports||ot,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Qe(function(){mt[e.id]=e.type}),t}function bt(e,t){if(null==e)return it;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var wt=pt;function _t(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function xt(e){return e[at]||null}function kt(e,t){var n=e[ut]||null;if(!n&&!0===t)throw new Error("Type ".concat(Ce(e)," does not have '\u0275mod' property."));return n}function At(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function St(e){return 0!=(8&e.flags)}function Et(e){return 2==(2&e.flags)}function Pt(e){return 1==(1&e.flags)}function Dt(e){return null!==e.template}function Ot(e,t){return e.hasOwnProperty(dt)?e[dt]:null}var Mt=function(){function e(t,n,i){S(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return C(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Tt(){return It}function It(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lt),Rt}function Rt(){var e=Ft(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===it)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Lt(e,t,n,i){var r=Ft(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:it,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],l=a[s];o[s]=new Mt(l&&l.currentValue,t,a===it),e[i]=t}function Ft(e){return e.__ngSimpleChanges__||null}Tt.ngInherit=!0;var Bt=void 0;function zt(){return void 0!==Bt?Bt:"undefined"!=typeof document?document:void 0}function Vt(e){return!!e.listen}var Nt={createRenderer:function(e,t){return zt()}};function Ht(e){for(;Array.isArray(e);)e=e[0];return e}function jt(e,t){return Ht(t[e])}function Ut(e,t){return Ht(t[e.index])}function Wt(e,t){return e.data[t]}function Gt(e,t){return e[t]}function qt(e,t){var n=t[e];return At(n)?n:n[0]}function Yt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Zt(e){return 4==(4&e[2])}function Qt(e){return 128==(128&e[2])}function Xt(e,t){return null==t?null:e[t]}function Kt(e){e[18]=0}function Jt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var $t={lFrame:An(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function en(){return $t.bindingsEnabled}function tn(){return $t.lFrame.lView}function nn(){return $t.lFrame.tView}function rn(e){$t.lFrame.contextLView=e}function on(){for(var e=an();null!==e&&64===e.type;)e=e.parent;return e}function an(){return $t.lFrame.currentTNode}function sn(e,t){var n=$t.lFrame;n.currentTNode=e,n.isParent=t}function ln(){return $t.lFrame.isParent}function un(){$t.lFrame.isParent=!1}function cn(){return $t.isInCheckNoChangesMode}function dn(e){$t.isInCheckNoChangesMode=e}function hn(){var e=$t.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function fn(){return $t.lFrame.bindingIndex}function pn(){return $t.lFrame.bindingIndex++}function gn(e){var t=$t.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function vn(e){$t.lFrame.currentDirectiveIndex=e}function mn(e){var t=$t.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function yn(){return $t.lFrame.currentQueryIndex}function bn(e){$t.lFrame.currentQueryIndex=e}function wn(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function _n(e,t,n){if(n&qe.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&qe.Host||(i=wn(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var o=$t.lFrame=kn();return o.currentTNode=t,o.lView=e,!0}function xn(e){var t=kn(),n=e[1];$t.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function kn(){var e=$t.lFrame,t=null===e?null:e.child;return null===t?An(e):t}function An(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Cn(){var e=$t.lFrame;return $t.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Sn=Cn;function En(){var e=Cn();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pn(){return $t.lFrame.selectedIndex}function Dn(e){$t.lFrame.selectedIndex=e}function On(){var e=$t.lFrame;return Wt(e.tView,e.selectedIndex)}function Mn(){$t.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Tn(){$t.lFrame.currentNamespace=null}function In(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n<i;n++){var r=e.data[n].type.prototype,o=r.ngAfterContentInit,a=r.ngAfterContentChecked,s=r.ngAfterViewInit,l=r.ngAfterViewChecked,u=r.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function Rn(e,t,n){Bn(e,t,3,n)}function Ln(e,t,n,i){(3&e[2])===n&&Bn(e,t,n,i)}function Fn(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Bn(e,t,n,i){for(var r=null!=i?i:-1,o=t.length-1,a=0,s=void 0!==i?65535&e[18]:0;s<o;s++)if("number"==typeof t[s+1]){if(a=t[s],null!=i&&a>=i)break}else t[s]<0&&(e[18]+=65536),(a<r||-1==r)&&(zn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function zn(e,t,n,i){var r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var Vn=C(function e(t,n,i){S(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i});function Nn(e,t,n){for(var i=Vt(e),r=0;r<n.length;){var o=n[r];if("number"==typeof o){if(0!==o)break;r++;var a=n[r++],s=n[r++],l=n[r++];i?e.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l)}else{var u=o,c=n[++r];jn(u)?i&&e.setProperty(t,u,c):i?e.setAttribute(t,u,c):t.setAttribute(u,c),r++}}return r}function Hn(e){return 3===e||4===e||6===e}function jn(e){return 64===e.charCodeAt(0)}function Un(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,i=0;i<t.length;i++){var r=t[i];"number"==typeof r?n=r:0===n||Wn(e,n,r,null,-1===n||2===n?t[++i]:null)}return e}function Wn(e,t,n,i,r){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var l=e[o];if("number"==typeof l)break;if(l===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function Gn(e){return-1!==e}function qn(e){return 32767&e}function Yn(e,t){for(var n=e>>16,i=t;n>0;)i=i[15],n--;return i}var Zn=!0;function Qn(e){var t=Zn;return Zn=e,t}var Xn=0;function Kn(e,t){var n=$n(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Jn(i.data,e),Jn(t,null),Jn(i.blueprint,null));var r=ei(e,t),o=e.injectorIndex;if(Gn(r))for(var a=qn(r),s=Yn(r,t),l=s[1].data,u=0;u<8;u++)t[o+u]=s[a+u]|l[a+u];return t[o+8]=r,o}function Jn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $n(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ei(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ti(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ht)&&(i=n[ht]),null==i&&(i=n[ht]=Xn++);var r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function ni(e,t,n){if(n&qe.Optional)return e;Re(t,"NodeInjector")}function ii(e,t,n,i){if(n&qe.Optional&&void 0===i&&(i=null),0==(n&(qe.Self|qe.Host))){var r=e[9],o=Ye(void 0);try{return r?r.get(t,i,n&qe.Optional):Ze(t,i,n&qe.Optional)}finally{Ye(o)}}return ni(i,t,n)}function ri(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:qe.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(ht)?e[ht]:void 0;return"number"==typeof t?t>=0?255&t:ai:t}(n);if("function"==typeof o){if(!_n(t,e,i))return i&qe.Host?ni(r,n,i):ii(t,n,i,r);try{var a=o();if(null!=a||i&qe.Optional)return a;Re(n)}finally{Sn()}}else if("number"==typeof o){var s=null,l=$n(e,t),u=-1,c=i&qe.Host?t[16][6]:null;for((-1===l||i&qe.SkipSelf)&&(-1!==(u=-1===l?ei(e,t):t[l+8])&&di(i,!1)?(s=t[1],l=qn(u),t=Yn(u,t)):l=-1);-1!==l;){var d=t[1];if(ci(o,l,d.data)){var h=si(l,t,n,s,i,c);if(h!==oi)return h}-1!==(u=t[l+8])&&di(i,t[1].data[l+8]===c)&&ci(o,l,t)?(s=d,l=qn(u),t=Yn(u,t)):l=-1}}}return ii(t,n,i,r)}var oi={};function ai(){return new hi(on(),tn())}function si(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],l=li(s,a,n,null==i?Et(s)&&Zn:i!=a&&0!=(3&s.type),r&qe.Host&&o===s);return null!==l?ui(t,a,l,s):oi}function li(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,l=e.directiveStart,u=o>>20,c=r?s+u:e.directiveEnd,d=i?s:s+u;d<c;d++){var h=a[d];if(d<l&&n===h||d>=l&&h.type===n)return d}if(r){var f=a[l];if(f&&Dt(f)&&f.type===n)return l}return null}function ui(e,t,n,i){var r=e[n],o=t.data;if(r instanceof Vn){var a=r;a.resolving&&function(e,t){throw new Me("200","Circular dependency in DI detected for "+e)}(Ie(o[n]));var s=Qn(a.canSeeViewProviders);a.resolving=!0;var l=a.injectImpl?Ye(a.injectImpl):null;_n(e,i,qe.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=It(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==l&&Ye(l),Qn(s),a.resolving=!1,Sn()}}return r}function ci(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function di(e,t){return!(e&qe.Self||e&qe.Host&&t)}var hi=function(){function e(t,n){S(this,e),this._tNode=t,this._lView=n}return C(e,[{key:"get",value:function(e,t){return ri(this._tNode,this._lView,e,void 0,t)}}]),e}();function fi(e){return Qe(function(){for(var t=e.prototype.constructor,n=t[dt]||pi(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;r&&r!==i;){var o=r[dt]||pi(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(e){return new e}})}function pi(e){return Oe(e)?function(){var t=pi(De(e));return t&&t()}:Ot(e)}function gi(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r<i;){var o=n[r];if(Hn(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}return null}(on(),e)}function vi(e,n,i){return Qe(function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(n);function o(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(this instanceof o)return r.apply(this,n),this;var a=t(o,n);return s.annotation=a,s;function s(e,t,n){for(var i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),e}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var mi=vi("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return gi(e)}}}),yi=function(){function e(t,n){S(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Le({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return C(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),bi=new yi("AnalyzeForEntryComponents"),wi=Function;function _i(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),_i(i,t)):t!==e&&t.push(i)}return t}function xi(e,t){e.forEach(function(e){return Array.isArray(e)?xi(e,t):t(e)})}function ki(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ai(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ci(e,t){for(var n=[],i=0;i<e;i++)n.push(t);return n}function Si(e,t,n){var i=Pi(e,t);return i>=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function Ei(e,t){var n=Pi(e,t);if(n>=0)return e[1|n]}function Pi(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var Di={},Oi=/\n/gm,Mi=ke({provide:String,useValue:ke}),Ti=void 0;function Ii(e){var t=Ti;return Ti=e,t}function Ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe.Default;if(void 0===Ti)throw new Error("inject() must be called from an injection context");return null===Ti?Ze(e,void 0,t):Ti.get(e,t&qe.Optional?null:void 0,t)}function Li(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe.Default;return(He||Ri)(De(e),t)}var Fi=Li;function Bi(e){for(var t=[],n=0;n<e.length;n++){var i=De(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=qe.Default,a=0;a<i.length;a++){var s=i[a],l=s.__NG_DI_FLAG__;"number"==typeof l?-1===l?r=s.token:o|=l:r=s}t.push(Li(r,o))}else t.push(Li(i))}return t}function zi(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}var Vi,Ni,Hi=zi(vi("Inject",function(e){return{token:e}}),-1),ji=zi(vi("Optional"),8),Ui=zi(vi("SkipSelf"),4);function Wi(e){var t;return(null===(t=function(){if(void 0===Vi&&(Vi=null,nt.trustedTypes))try{Vi=nt.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Vi}())||void 0===t?void 0:t.createHTML(e))||e}function Gi(e){var t;return(null===(t=function(){if(void 0===Ni&&(Ni=null,nt.trustedTypes))try{Ni=nt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Ni}())||void 0===t?void 0:t.createHTML(e))||e}var qi=function(){function e(t){S(this,e),this.changingThisBreaksApplicationSecurity=t}return C(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}]),e}(),Yi=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(qi),Zi=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(qi),Qi=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(qi),Xi=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(qi),Ki=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(qi);function Ji(e){return e instanceof qi?e.changingThisBreaksApplicationSecurity:e}function $i(e,t){var n=er(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function er(e){return e instanceof qi&&e.getTypeName()||null}var tr=function(){function e(t){S(this,e),this.inertDocumentHelper=t}return C(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(Wi(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),nr=function(){function e(t){if(S(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return C(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Wi(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Wi(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),e}(),ir=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,rr=/^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 or(e){return(e=String(e)).match(ir)||e.match(rr)?e:"unsafe:"+e}function ar(e){var t,n={},i=f(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(r){i.e(r)}finally{i.f()}return n}function sr(){for(var e={},t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=0,o=n;r<o.length;r++){var a=o[r];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var lr,ur=ar("area,br,col,hr,img,wbr"),cr=ar("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dr=ar("rp,rt"),hr=sr(dr,cr),fr=sr(ur,sr(cr,ar("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")),sr(dr,ar("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")),hr),pr=ar("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gr=ar("srcset"),vr=sr(pr,gr,ar("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ar("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")),mr=ar("script,style,template"),yr=function(){function e(){S(this,e),this.sanitizedSomething=!1,this.buf=[]}return C(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!fr.hasOwnProperty(t))return this.sanitizedSomething=!0,!mr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,i=e.attributes,r=0;r<i.length;r++){var o=i.item(r),a=o.name,s=a.toLowerCase();if(vr.hasOwnProperty(s)){var l=o.value;pr[s]&&(l=or(l)),gr[s]&&(n=l,l=(n=String(n)).split(",").map(function(e){return or(e.trim())}).join(", ")),this.buf.push(" ",a,'="',_r(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();fr.hasOwnProperty(t)&&!ur.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(_r(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),br=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wr=/([^\#-~ |!])/g;function _r(e){return e.replace(/&/g,"&").replace(br,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(wr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function xr(e,t){var n=null;try{lr=lr||function(e){var t=new nr(e);return function(){try{return!!(new window.DOMParser).parseFromString(Wi(""),"text/html")}catch(e){return!1}}()?new tr(t):t}(e);var i=t?String(t):"";n=lr.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=lr.getInertBodyElement(i)}while(i!==o);return Wi((new yr).sanitizeChildren(kr(n)||n))}finally{if(n)for(var a=kr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function kr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ar=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Cr(e){var t=Er();return t?Gi(t.sanitize(Ar.HTML,e)||""):$i(e,"HTML")?Gi(Ji(e)):xr(zt(),Te(e))}function Sr(e){var t=Er();return t?t.sanitize(Ar.URL,e)||"":$i(e,"URL")?Ji(e):or(Te(e))}function Er(){var e=tn();return e&&e[12]}function Pr(e){return e.ngDebugContext}function Dr(e){return e.ngOriginalError}function Or(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];e.error.apply(e,n)}var Mr=function(){function e(){S(this,e),this._console=console}return C(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Or}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?Pr(e)?Pr(e):this._findContext(Dr(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Dr(e);t&&Dr(t);)t=Dr(t);return t}}]),e}();function Tr(e,t){e.__ngContext__=t}var Ir=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(nt);function Rr(e){return{name:"window",target:e.ownerDocument.defaultView}}function Lr(e){return{name:"body",target:e.ownerDocument.body}}function Fr(e){return e instanceof Function?e():e}var Br=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function zr(e,t){return(void 0)(e,t)}function Vr(e){var t=e[3];return Ct(t)?t[3]:t}function Nr(e){return jr(e[13])}function Hr(e){return jr(e[4])}function jr(e){for(;null!==e&&!Ct(e);)e=e[4];return e}function Ur(e,t,n,i,r){if(null!=i){var o,a=!1;Ct(i)?o=i:At(i)&&(a=!0,i=i[0]);var s=Ht(i);0===e&&null!==n?null==r?Kr(t,n,s):Xr(t,n,s,r||null,!0):1===e&&null!==n?Xr(t,n,s,r||null,!0):2===e?function(e,t,n){var i=$r(e,t);i&&function(e,t,n,i){Vt(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,i,r){var o=n[7];o!==Ht(n)&&Ur(t,e,i,o,r);for(var a=10;a<n.length;a++){var s=n[a];so(s[1],s,e,t,i,o)}}(t,e,o,n,r)}}function Wr(e,t,n){return Vt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Gr(e,t){var n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Jt(r,-1)),n.splice(i,1)}function qr(e,t){if(!(e.length<=10)){var n,i=10+t,r=e[i];if(r){var o=r[17];null!==o&&o!==e&&Gr(o,r),t>0&&(e[i-1][4]=r[4]);var a=Ai(e,10+t);so(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Yr(e,t){if(!(256&t[2])){var n=t[11];Vt(n)&&n.destroyNode&&so(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Zr(e[1],e);for(;t;){var n=null;if(At(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)At(t)&&Zr(t[1],t),t=t[3];null===t&&(t=e),At(t)&&Zr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Zr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i<n.length;i+=2){var r=t[n[i]];if(!(r instanceof Vn)){var o=n[i+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(r[o[a]]);else o.call(r)}}}(e,t),function(e,t){var n=e.cleanup,i=t[7],r=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var a=n[o+1],s="function"==typeof a?a(t):Ht(t[a]),l=i[r=n[o+2]],u=n[o+3];"boolean"==typeof u?s.removeEventListener(n[o],l,u):u>=0?i[r=u]():i[r=-u].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var d=r+1;d<i.length;d++)(0,i[d])();t[7]=null}}(e,t),1===t[1].type&&Vt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&Ct(t[3])){n!==t[3]&&Gr(n,t);var i=t[19];null!==i&&i.detachView(e)}}}function Qr(e,t,n){return function(e,t,n){for(var i=t;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){var r=e.data[i.directiveStart].encapsulation;if(r===Ke.None||r===Ke.Emulated)return null}return Ut(i,n)}(e,t.parent,n)}function Xr(e,t,n,i,r){Vt(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function Kr(e,t,n){Vt(e)?e.appendChild(t,n):t.appendChild(n)}function Jr(e,t,n,i,r){null!==i?Xr(e,t,n,i,r):Kr(e,t,n)}function $r(e,t){return Vt(e)?e.parentNode(t):t.parentNode}function eo(e,t,n){return to(e,t,n)}var to=function(e,t,n){return 40&e.type?Ut(e,n):null};function no(e,t,n,i){var r=Qr(e,i,t),o=t[11],a=eo(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(var s=0;s<n.length;s++)Jr(o,r,n[s],a,!1);else Jr(o,r,n,a,!1)}function io(e,t){if(null!==t){var n=t.type;if(3&n)return Ut(t,e);if(4&n)return oo(-1,e[t.index]);if(8&n){var i=t.child;if(null!==i)return io(e,i);var r=e[t.index];return Ct(r)?oo(-1,r):Ht(r)}if(32&n)return zr(t,e)()||Ht(e[t.index]);var o=ro(e,t);return null!==o?Array.isArray(o)?o[0]:io(Vr(e[16]),o):io(e,t.next)}return null}function ro(e,t){return null!==t?e[16][6].projection[t.projection]:null}function oo(e,t){var n=10+e+1;if(n<t.length){var i=t[n],r=i[1].firstChild;if(null!==r)return io(i,r)}return t[7]}function ao(e,t,n,i,r,o,a){for(;null!=n;){var s=i[n.index],l=n.type;if(a&&0===t&&(s&&Tr(Ht(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)ao(e,t,n.child,i,r,o,!1),Ur(t,e,r,s,o);else if(32&l){for(var u=zr(n,i),c=void 0;c=u();)Ur(t,e,r,c,o);Ur(t,e,r,s,o)}else 16&l?lo(e,t,i,n,r,o):Ur(t,e,r,s,o);n=a?n.projectionNext:n.next}}function so(e,t,n,i,r,o){ao(n,i,e.firstChild,t,r,o,!1)}function lo(e,t,n,i,r,o){var a=n[16],s=a[6].projection[i.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)Ur(t,e,r,s[l],o);else ao(e,t,s,a[3],r,o,!0)}function uo(e,t,n){Vt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function co(e,t,n){Vt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ho(e,t,n){for(var i=e.length;;){var r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){var o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}function fo(e,t,n){for(var i=0;i<e.length;){var r=e[i++];if(n&&"class"===r){if(-1!==ho((r=e[i]).toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function po(e){return 4===e.type&&"ng-template"!==e.value}function go(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function vo(e,t,n){for(var i=4,r=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Hn(e[t]))return t;return e.length}(r),a=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!a)if(4&i){if(i=2|1&i,""!==l&&!go(e,l,n)||""===l&&1===t.length){if(mo(i))return!1;a=!0}}else{var u=8&i?l:t[++s];if(8&i&&null!==e.attrs){if(!fo(e.attrs,u,n)){if(mo(i))return!1;a=!0}continue}var c=yo(8&i?"class":l,r,po(e),n);if(-1===c){if(mo(i))return!1;a=!0;continue}if(""!==u){var d;d=c>o?"":r[c+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==ho(h,u,0)||2&i&&u!==d){if(mo(i))return!1;a=!0}}}}else{if(!a&&!mo(i)&&!mo(l))return!1;if(a&&mo(l))continue;a=!1,i=l|1&i}}return mo(i)||a}function mo(e){return 0==(1&e)}function yo(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r<t.length;){var a=t[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++r];"string"==typeof s;)s=t[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function bo(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<t.length;i++)if(vo(e,t[i],n))return!0;return!1}function wo(e,t){e:for(var n=0;n<t.length;n++){var i=t[n];if(e.length===i.length){for(var r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function _o(e,t){return e?":not("+t.trim()+")":t}function xo(e){for(var t=e[0],n=1,i=2,r="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&i){var s=e[++n];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||mo(a)||(t+=_o(o,r),r=""),i=a,o=o||!mo(i);n++}return""!==r&&(t+=_o(o,r)),t}var ko={};function Ao(e){Co(nn(),tn(),Pn()+e,cn())}function Co(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&Rn(t,r,n)}else{var o=e.preOrderHooks;null!==o&&Ln(t,o,0,n)}Dn(n)}function So(e,t){return e<<17|t<<2}function Eo(e){return e>>17&32767}function Po(e){return 2|e}function Do(e){return(131068&e)>>2}function Oo(e,t){return-131069&e|t<<2}function Mo(e){return 1|e}function To(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],o=n[i+1];if(-1!==o){var a=e.data[o];bn(r),a.contentQueries(2,t[o],o)}}}function Io(e,t,n,i,r,o,a,s,l,u){var c=t.blueprint.slice();return c[0]=r,c[2]=140|i,Kt(c),c[3]=c[15]=e,c[8]=n,c[10]=a||e&&e[10],c[11]=s||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function Ro(e,t,n,i,r){var o,a,s=e.data[t];if(null===s)s=function(e,t,n,i,r){var o=an(),a=ln(),s=e.data[t]=function(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=s),null!==o&&(a?null==o.child&&null!==s.parent&&(o.child=s):null===o.next&&(o.next=s)),s}(e,t,n,i,r),$t.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;var l=(o=$t.lFrame,a=o.currentTNode,o.isParent?a:a.parent);s.injectorIndex=null===l?-1:l.injectorIndex}return sn(s,!0),s}function Lo(e,t,n,i){if(0===n)return-1;for(var r=t.length,o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Fo(e,t,n){xn(t);try{var i=e.viewQuery;null!==i&&ha(1,i,n);var r=e.template;null!==r&&Vo(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&To(e,t),e.staticViewQueries&&ha(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)sa(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,En()}}function Bo(e,t,n,i){var r=t[2];if(256!=(256&r)){xn(t);var o=cn();try{Kt(t),$t.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Vo(e,t,n,2,i);var a=3==(3&r);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&Rn(t,s,null)}else{var l=e.preOrderHooks;null!==l&&Ln(t,l,0,null),Fn(t,0)}if(function(e){for(var t=Nr(e);null!==t;t=Hr(t))if(t[2])for(var n=t[9],i=0;i<n.length;i++){var r=n[i],o=r[3];0==(1024&r[2])&&Jt(o,1),r[2]|=1024}}(t),function(e){for(var t=Nr(e);null!==t;t=Hr(t))for(var n=10;n<t.length;n++){var i=t[n],r=i[1];Qt(i)&&Bo(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&To(e,t),!o)if(a){var u=e.contentCheckHooks;null!==u&&Rn(t,u)}else{var c=e.contentHooks;null!==c&&Ln(t,c,1),Fn(t,1)}!function(e,t){var n,i,r,o=e.hostBindingOpCodes;if(null!==o)try{for(var a=0;a<o.length;a++){var s=o[a];if(s<0)Dn(~s);else{var l=s,u=o[++a],c=o[++a];n=u,i=l,r=void 0,(r=$t.lFrame).bindingIndex=r.bindingRootIndex=n,vn(i),c(2,t[l])}}}finally{Dn(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)oa(e,t[n])}(t,d);var h=e.viewQuery;if(null!==h&&ha(2,h,i),!o)if(a){var f=e.viewCheckHooks;null!==f&&Rn(t,f)}else{var p=e.viewHooks;null!==p&&Ln(t,p,2),Fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Jt(t[3],-1))}finally{En()}}}function zo(e,t,n,i){var r=t[10],o=!cn(),a=Zt(t);try{o&&!a&&r.begin&&r.begin(),a&&Fo(e,t,i),Bo(e,t,n,i)}finally{o&&!a&&r.end&&r.end()}}function Vo(e,t,n,i,r){var o=Pn();try{Dn(-1),2&i&&t.length>20&&Co(e,t,20,cn()),n(i,r)}finally{Dn(o)}}function No(e,t,n){if(St(t))for(var i=t.directiveEnd,r=t.directiveStart;r<i;r++){var o=e.data[r];o.contentQueries&&o.contentQueries(1,n[r],r)}}function Ho(e,t,n){en()&&(function(e,t,n,i){var r=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Kn(n,t),Tr(i,t);for(var a=n.initialInputs,s=r;s<o;s++){var l=e.data[s],u=Dt(l);u&&ta(t,n,l);var c=ui(t,e,s,n);Tr(c,t),null!==a&&na(0,s-r,c,l,0,a),u&&(qt(n.index,t)[8]=c)}}(e,t,n,Ut(n,t)),128==(128&n.flags)&&function(e,t,n){var i=n.directiveStart,r=n.directiveEnd,o=n.index,a=$t.lFrame.currentDirectiveIndex;try{Dn(o);for(var s=i;s<r;s++){var l=e.data[s],u=t[s];vn(s),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||Xo(l,u)}}finally{Dn(-1),vn(a)}}(e,t,n))}function jo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o<i.length;o+=2){var a=i[o+1],s=-1===a?n(t,e):e[a];e[r++]=s}}function Uo(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Wo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Wo(e,t,n,i,r,o,a,s,l,u){var c=20+i,d=c+r,h=function(e,t){for(var n=[],i=0;i<t;i++)n.push(i<e?null:ko);return n}(c,d),f="function"==typeof u?u():u;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Go(e,t,n,i){var r=pa(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&ga(e).push(i,r.length-1))}function qo(e,t,n){for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function Yo(e,t,n,i,r,o,a,s){var l,u,c=Ut(t,n),d=t.inputs;!s&&null!=d&&(l=d[i])?(ya(e,n,l,i,r),Et(t)&&function(e,t){var n=qt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=a?a(r,t.value||"",i):r,Vt(o)?o.setProperty(c,i,r):jn(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function Zo(e,t,n,i){var r=!1;if(en()){var o=function(e,t,n){var i=e.directiveRegistry,r=null;if(i)for(var o=0;o<i.length;o++){var a=i[o];bo(n,a.selectors,!1)&&(r||(r=[]),ti(Kn(n,t),e,a.type),Dt(a)?(Ko(e,n),r.unshift(a)):r.push(a))}return r}(e,t,n),a=null===i?null:{"":-1};if(null!==o){r=!0,$o(n,e.data.length,o.length);for(var s=0;s<o.length;s++){var l=o[s];l.providersResolver&&l.providersResolver(l)}for(var u=!1,c=!1,d=Lo(e,t,o.length,null),h=0;h<o.length;h++){var f=o[h];n.mergedAttrs=Un(n.mergedAttrs,f.hostAttrs),ea(e,n,t,d,f),Jo(d,f,a),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128);var p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),c||!p.ngOnChanges&&!p.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),d++}!function(e,t){for(var n=t.directiveEnd,i=e.data,r=t.attrs,o=[],a=null,s=null,l=t.directiveStart;l<n;l++){var u=i[l],c=u.inputs,d=null===r||po(t)?null:ia(c,r);o.push(d),a=qo(c,l,a),s=qo(u.outputs,l,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n)}a&&function(e,t,n){if(t)for(var i=e.localNames=[],r=0;r<t.length;r+=2){var o=n[t[r+1]];if(null==o)throw new Me("301","Export of name '".concat(t[r+1],"' not found!"));i.push(t[r],o)}}(n,i,a)}return n.mergedAttrs=Un(n.mergedAttrs,n.attrs),r}function Qo(e,t,n,i,r,o){var a=o.hostBindings;if(a){var s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);var l=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(i,r,a)}}function Xo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ko(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Jo(e,t,n){if(n){if(t.exportAs)for(var i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Dt(t)&&(n[""]=e)}}function $o(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ea(e,t,n,i,r){e.data[i]=r;var o=r.factory||(r.factory=Ot(r.type)),a=new Vn(o,Dt(r),null);e.blueprint[i]=a,n[i]=a,Qo(e,t,0,i,Lo(e,n,r.hostVars,ko),r)}function ta(e,t,n){var i=Ut(t,e),r=Uo(n),o=e[10],a=la(e,Io(e,r,null,n.onPush?64:16,i,t,o,o.createRenderer(i,n),null,null));e[t.index]=a}function na(e,t,n,i,r,o){var a=o[t];if(null!==a)for(var s=i.setInput,l=0;l<a.length;){var u=a[l++],c=a[l++],d=a[l++];null!==s?i.setInput(n,d,u,c):n[c]=d}}function ia(e,t){for(var n=null,i=0;i<t.length;){var r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function ra(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function oa(e,t){var n=qt(t,e);if(Qt(n)){var i=n[1];80&n[2]?Bo(i,n,i.template,n[8]):n[5]>0&&aa(n)}}function aa(e){for(var t=Nr(e);null!==t;t=Hr(t))for(var n=10;n<t.length;n++){var i=t[n];if(1024&i[2]){var r=i[1];Bo(r,i,r.template,i[8])}else i[5]>0&&aa(i)}var o=e[1].components;if(null!==o)for(var a=0;a<o.length;a++){var s=qt(o[a],e);Qt(s)&&s[5]>0&&aa(s)}}function sa(e,t){var n=qt(t,e),i=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),Fo(i,n,n[8])}function la(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ua(e){for(;e;){e[2]|=64;var t=Vr(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function ca(e,t,n){var i=t[10];i.begin&&i.begin();try{Bo(e,t,e.template,n)}catch(r){throw ma(t,r),r}finally{i.end&&i.end()}}function da(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],i=Yt(n),r=i[1];zo(r,i,r.template,n)}}(e[8])}function ha(e,t,n){bn(0),t(e,n)}var fa=Promise.resolve(null);function pa(e){return e[7]||(e[7]=[])}function ga(e){return e.cleanup||(e.cleanup=[])}function va(e,t,n){return(null===e||Dt(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ma(e,t){var n=e[9],i=n?n.get(Mr,null):null;i&&i.handleError(t)}function ya(e,t,n,i,r){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],l=t[a],u=e.data[a];null!==u.setInput?u.setInput(l,r,i,s):l[s]=r}}function ba(e,t,n){var i=jt(t,e);!function(e,t,n){Vt(e)?e.setValue(t,n):t.textContent=n}(e[11],i,n)}function wa(e,t,n){var i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?r=Se(r,s):2==o&&(i=Se(i,s+": "+t[++a]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}var _a=new yi("INJECTOR",-1),xa=function(){function e(){S(this,e)}return C(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Di;if(t===Di){var n=new Error("NullInjectorError: No provider for ".concat(Ce(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),ka=new yi("Set Injector scope."),Aa={},Ca={},Sa=[],Ea=void 0;function Pa(){return void 0===Ea&&(Ea=new xa),Ea}function Da(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Oa(e,n,t||Pa(),i)}var Oa=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;S(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&xi(n,function(e){return r.processProvider(e,t,n)}),xi([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(_a,Ia(void 0,this));var s=this.records.get(ka);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:Ce(t))}return C(e,[{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]:Di,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qe.Default;this.assertNotDestroyed();var i,r=Ii(this);try{if(!(n&qe.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(i=e)||"object"==typeof i&&i instanceof yi)&&ze(e);o=a&&this.injectableDefInScope(a)?Ia(Ma(e),Aa):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&qe.Self?Pa():this.parent).get(e,t=n&qe.Optional&&t===Di?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(Ce(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=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 r=Ce(t);if(Array.isArray(t))r=t.map(Ce).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):Ce(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(Oi,"\n "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Ii(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(Ce(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 i=this;if(!(e=De(e)))return!1;var r=Ne(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=Ne(o)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(a);try{xi(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var u=function(e){var t=l[e],n=t.ngModule,r=t.providers;xi(r,function(e){return i.processProvider(e,n,r||Sa)})},c=0;c<l.length;c++)u(c)}this.injectorDefTypes.add(a);var d=Ot(a)||function(){return new a};this.records.set(a,Ia(d,Aa));var h=r.providers;if(null!=h&&!s){var f=e;xi(h,function(e){return i.processProvider(e,f,h)})}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var i=La(e=De(e))?e:De(e&&e.provide),r=function(e,t,n){return Ra(e)?Ia(void 0,e.useValue):Ia(Ta(e),Aa)}(e);if(La(e)||!0!==e.multi)this.records.get(i);else{var o=this.records.get(i);o||((o=Ia(void 0,Aa,!0)).factory=function(){return Bi(o.multi)},this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,r)}},{key:"hydrate",value:function(e,t){var n;return t.value===Aa&&(t.value=Ca,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}]),e}();function Ma(e){var t=ze(e),n=null!==t?t.factory:Ot(e);if(null!==n)return n;if(e instanceof yi)throw new Error("Token ".concat(Ce(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=Ci(t,"?");throw new Error("Can't resolve all parameters for ".concat(Ce(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[je]||e[We]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ta(e,n,i){var r,o=void 0;if(La(e)){var a=De(e);return Ot(a)||Ma(a)}if(Ra(e))o=function(){return De(e.useValue)};else if((r=e)&&r.useFactory)o=function(){return e.useFactory.apply(e,m(Bi(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return Li(De(e.useExisting))};else{var s=De(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Ot(s)||Ma(s);o=function(){return t(s,m(Bi(e.deps)))}}return o}function Ia(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ra(e){return null!==e&&"object"==typeof e&&Mi in e}function La(e){return"function"==typeof e}var Fa=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Da(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},Ba=function(){var e=function(){function e(){S(this,e)}return C(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Fa(e,t,""):Fa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Di,e.NULL=new xa,e.\u0275prov=Le({token:e,providedIn:"any",factory:function(){return Li(_a)}}),e.__NG_ELEMENT_ID__=-1,e}();function za(e,t){In(Yt(e)[1],on())}function Va(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(Dt(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=Na(e.inputs),o.declaredInputs=Na(e.declaredInputs),o.outputs=Na(e.outputs);var a=r.hostBindings;a&&Ua(e,a);var s=r.viewQuery,l=r.contentQueries;if(s&&Ha(e,s),l&&ja(e,l),Ae(e.inputs,r.inputs),Ae(e.declaredInputs,r.declaredInputs),Ae(e.outputs,r.outputs),Dt(r)&&r.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var d=0;d<c.length;d++){var h=c[d];h&&h.ngInherit&&h(e),h===Va&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,i=e.length-1;i>=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Un(r.hostAttrs,n=Un(n,r.hostAttrs))}}(i)}function Na(e){return e===it?{}:e===ot?[]:e}function Ha(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function ja(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Ua(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Wa=null;function Ga(){if(!Wa){var e=nt.Symbol;if(e&&e.iterator)Wa=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Wa=i)}}return Wa}var qa=function(){function e(t){S(this,e),this.wrapped=t}return C(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Ya(e){return!!Za(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ga()in e)}function Za(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Qa(e,t,n){return e[t]=n}function Xa(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ka(e,t,n,i){var r=Xa(e,t,n);return Xa(e,t+1,i)||r}function Ja(e,t,n,i,r){var o=Ka(e,t,n,i);return Xa(e,t+2,r)||o}function $a(e,t,n,i,r,o){var a=Ka(e,t,n,i);return Ka(e,t+2,r,o)||a}function es(e,t,n,i){var r=tn();return Xa(r,pn(),t)&&(nn(),function(e,t,n,i,r,o){var a=Ut(e,t);!function(e,t,n,i,r,o,a){if(null==o)Vt(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{var s=null==a?Te(o):a(o,i||"",r);Vt(e)?e.setAttribute(t,r,s,n):n?t.setAttributeNS(n,r,s):t.setAttribute(r,s)}}(t[11],a,o,e.value,n,i,r)}(On(),r,e,t,n,i)),es}function ts(e,t,n,i){return Xa(e,pn(),n)?t+Te(n)+i:ko}function ns(e,t,n,i,r,o){var a=Ka(e,fn(),n,r);return gn(2),a?t+Te(n)+i+Te(r)+o:ko}function is(e,t,n,i,r,o,a,s){var l=tn(),u=nn(),c=e+20,d=u.firstCreatePass?function(e,t,n,i,r,o,a,s,l){var u=t.consts,c=Ro(t,e,4,a||null,Xt(u,s));Zo(t,n,c,Xt(u,l)),In(t,c);var d=c.tViews=Wo(2,c,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,i,r,o,a):u.data[c];sn(d,!1);var h=l[11].createComment("");no(u,l,h,d),Tr(h,l),la(l,l[c]=ra(h,l,h,d)),Pt(d)&&Ho(u,l,d),null!=a&&jo(l,d,s)}function rs(e){return Gt($t.lFrame.contextLView,20+e)}function os(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe.Default,n=tn();return null===n?Li(e,t):ri(on(),n,De(e),t)}function as(e,t,n){var i=tn();return Xa(i,pn(),t)&&Yo(nn(),On(),i,e,t,i[11],n,!1),as}function ss(e,t,n,i,r){var o=r?"class":"style";ya(e,n,t.inputs[o],o,i)}function ls(e,t,n,i){var r=tn(),o=nn(),a=20+e,s=r[11],l=r[a]=Wr(s,t,$t.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,l=Ro(t,e,2,r,Xt(s,o));return Zo(t,n,l,Xt(s,a)),null!==l.attrs&&wa(l,l.attrs,!1),null!==l.mergedAttrs&&wa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,r,0,t,n,i):o.data[a];sn(u,!0);var c=u.mergedAttrs;null!==c&&Nn(s,l,c);var d=u.classes;null!==d&&co(s,l,d);var h=u.styles;null!==h&&uo(s,l,h),64!=(64&u.flags)&&no(o,r,l,u),0===$t.lFrame.elementDepthCount&&Tr(l,r),$t.lFrame.elementDepthCount++,Pt(u)&&(Ho(o,r,u),No(o,u,r)),null!==i&&jo(r,u)}function us(){var e=on();ln()?un():sn(e=e.parent,!1);var t=e;$t.lFrame.elementDepthCount--;var n=nn();n.firstCreatePass&&(In(n,e),St(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ss(n,t,tn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ss(n,t,tn(),t.stylesWithoutHost,!1)}function cs(e,t,n,i){ls(e,t,n,i),us()}function ds(e,t,n){var i=tn(),r=nn(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Xt(o,i),s=Ro(t,e,8,"ng-container",a);return null!==a&&wa(s,a,!0),Zo(t,n,s,Xt(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];sn(a,!0);var s=i[o]=i[11].createComment("");no(r,i,s,a),Tr(s,i),Pt(a)&&(Ho(r,i,a),No(r,a,i)),null!=n&&jo(i,a)}function hs(){var e=on(),t=nn();ln()?un():sn(e=e.parent,!1),t.firstCreatePass&&(In(t,e),St(e)&&t.queries.elementEnd(e))}function fs(e,t,n){ds(e,t,n),hs()}function ps(){return tn()}function gs(e){return!!e&&"function"==typeof e.then}function vs(e){return!!e&&"function"==typeof e.subscribe}var ms=vs;function ys(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=tn(),o=nn(),a=on();return ws(o,r,r[11],a,e,t,n,i),ys}function bs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=on(),o=tn(),a=nn();return ws(a,o,va(mn(a.data),r,o),r,e,t,n,i),bs}function ws(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Pt(i),u=e.firstCreatePass&&ga(e),c=pa(t),d=!0;if(3&i.type){var h=Ut(i,t),f=s?s(h):it,p=f.target||h,g=c.length,v=s?function(e){return s(Ht(e[i.index])).target}:i.index;if(Vt(n)){var m=null;if(!s&&l&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;o<r.length-1;o+=2){var a=r[o];if(a===n&&r[o+1]===i){var s=t[7],l=r[o+2];return s.length>l?s[l]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,d=!1;else{o=xs(i,t,o,!1);var y=n.listen(f.name||p,r,o);c.push(o,y),u&&u.push(r,v,g,g+1)}}else o=xs(i,t,o,!0),p.addEventListener(r,o,a),c.push(o),u&&u.push(r,v,g,a)}else o=xs(i,t,o,!1);var b,w=i.outputs;if(d&&null!==w&&(b=w[r])){var _=b.length;if(_)for(var x=0;x<_;x+=2){var k=t[b[x]][b[x+1]].subscribe(o),A=c.length;c.push(o,k),u&&u.push(r,i.index,A,-(A+1))}}}function _s(e,t,n){try{return!1!==t(n)}catch(i){return ma(e,i),!1}}function xs(e,t,n,i){return function r(o){if(o===Function)return n;var a=2&e.flags?qt(e.index,t):t;0==(32&t[2])&&ua(a);for(var s=_s(t,n,o),l=r.__ngNextListenerFn__;l;)s=_s(t,l,o)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function ks(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return($t.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,$t.lFrame.contextLView))[8]}(e)}function As(e,t){for(var n=null,i=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),r=0;r<t.length;r++){var o=t[r];if("*"!==o){if(null===i?bo(e,o,!0):wo(i,o))return r}else n=r}return n}function Cs(e){var t=tn()[16][6];if(!t.projection)for(var n=t.projection=Ci(e?e.length:1,null),i=n.slice(),r=t.child;null!==r;){var o=e?As(r,e):0;null!==o&&(i[o]?i[o].projectionNext=r:n[o]=r,i[o]=r),r=r.next}}function Ss(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=tn(),r=nn(),o=Ro(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),un(),64!=(64&o.flags)&&function(e,t,n){lo(t[11],0,t,n,Qr(e,n,t),eo(n.parent||t[6],n,t))}(r,i,o)}function Es(e,t,n){return Ps(e,"",t,"",n),Es}function Ps(e,t,n,i,r){var o=tn(),a=ts(o,t,n,i);return a!==ko&&Yo(nn(),On(),o,e,a,o[11],r,!1),Ps}function Ds(e,t,n,i,r,o,a){var s=tn(),l=ns(s,t,n,i,r,o);return l!==ko&&Yo(nn(),On(),s,e,l,s[11],a,!1),Ds}function Os(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?Eo(o):Do(o),l=!1;0!==s&&(!1===l||a);){var u=e[s+1];Ms(e[s],t)&&(l=!0,e[s+1]=i?Mo(u):Po(u)),s=i?Eo(u):Do(u)}l&&(e[n+1]=i?Po(o):Mo(o))}function Ms(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Pi(e,t)>=0}var Ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Is(e){return e.substring(Ts.key,Ts.keyEnd)}function Rs(e,t){var n=Ts.textEnd;return n===t?-1:(t=Ts.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ts.key=t,n),Ls(e,t,n))}function Ls(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Fs(e,t,n){return Ns(e,t,n,!1),Fs}function Bs(e,t){return Ns(e,t,null,!0),Bs}function zs(e){Hs(Si,Vs,e,!0)}function Vs(e,t){for(var n=function(e){return function(e){Ts.key=0,Ts.keyEnd=0,Ts.value=0,Ts.valueEnd=0,Ts.textEnd=e.length}(e),Rs(e,Ls(e,0,Ts.textEnd))}(t);n>=0;n=Rs(t,n))Si(e,Is(t),!0)}function Ns(e,t,n,i){var r=tn(),o=nn(),a=gn(2);o.firstUpdatePass&&Us(o,e,a,i),t!==ko&&Xa(r,a,t)&&qs(o,o.data[Pn()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ce(Ji(e)))),e}(t,n),i,a)}function Hs(e,t,n,i){var r=nn(),o=gn(2);r.firstUpdatePass&&Us(r,null,o,i);var a=tn();if(n!==ko&&Xa(a,o,n)){var s=r.data[Pn()];if(Qs(s,i)&&!js(r,o)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=Se(l,n||"")),ss(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===ko&&(r=rt);for(var l=0,u=0,c=0<r.length?r[0]:null,d=0<o.length?o[0]:null;null!==c||null!==d;){var h=l<r.length?r[l+1]:void 0,f=u<o.length?o[u+1]:void 0,p=null,g=void 0;c===d?(l+=2,u+=2,h!==f&&(p=d,g=f)):null===d||null!==c&&c<d?(l+=2,p=c):(u+=2,p=d,g=f),null!==p&&qs(e,t,n,i,p,g,a,s),c=l<r.length?r[l]:null,d=u<o.length?o[u]:null}}(r,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return rt;var i=[],r=Ji(n);if(Array.isArray(r))for(var o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(var a in r)r.hasOwnProperty(a)&&e(i,a,r[a]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,o)}}function js(e,t){return t>=e.expandoStartIndex}function Us(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[Pn()],a=js(e,n);Qs(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=mn(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Gs(n=Ws(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Ws(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Do(i))return e[Eo(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Eo(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Gs(s=Ws(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i=void 0,r=t.directiveEnd,o=1+t.directiveStylingLast;o<r;o++)i=Gs(i,e[o].hostAttrs,n);return Gs(i,t.attrs,n)}(e,t,i)}return void 0!==o&&(i?t.residualClasses=o:t.residualStyles=o),n}(r,o,t,i),function(e,t,n,i,r,o){var a=o?t.classBindings:t.styleBindings,s=Eo(a),l=Do(a);e[i]=n;var u,c=!1;if(Array.isArray(n)){var d=n;(null===(u=d[1])||Pi(d,u)>0)&&(c=!0)}else u=n;if(r)if(0!==l){var h=Eo(e[s+1]);e[i+1]=So(h,s),0!==h&&(e[h+1]=Oo(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=So(s,0),0!==s&&(e[s+1]=Oo(e[s+1],i)),s=i;else e[i+1]=So(l,0),0===s?s=i:e[l+1]=Oo(e[l+1],i),l=i;c&&(e[i+1]=Po(e[i+1])),Os(e,u,i,!0),Os(e,u,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Pi(o,t)>=0&&(n[i+1]=Mo(n[i+1]))}(t,u,e,i,o),a=So(s,l),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Ws(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(i=Gs(i,(o=t[s]).hostAttrs,r),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),i}function Gs(e,t,n){var i=n?1:2,r=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Si(e,a,!!n||t[++o]))}return void 0===e?null:e}function qs(e,t,n,i,r,o,a,s){if(3&t.type){var l=e.data,u=l[s+1];Zs(1==(1&u)?Ys(l,t,n,r,Do(u),a):void 0)||(Zs(o)||2==(2&u)&&(o=Ys(l,null,n,r,s,a)),function(e,t,n,i,r){var o=Vt(e);if(t)r?o?e.addClass(n,i):n.classList.add(i):o?e.removeClass(n,i):n.classList.remove(i);else{var a=-1===i.indexOf("-")?void 0:Br.DashCase;if(null==r)o?e.removeStyle(n,i,a):n.style.removeProperty(i);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),a|=Br.Important),o?e.setStyle(n,i,r,a):n.style.setProperty(i,r,s?"important":"")}}}(i,a,jt(Pn(),n),r,o))}}function Ys(e,t,n,i,r,o){for(var a=null===t,s=void 0;r>0;){var l=e[r],u=Array.isArray(l),c=u?l[1]:l,d=null===c,h=n[r+1];h===ko&&(h=d?rt:void 0);var f=d?Ei(h,i):c===i?h:void 0;if(u&&!Zs(f)&&(f=Ei(l,i)),Zs(f)&&(s=f,a))return s;var p=e[r+1];r=a?Eo(p):Do(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=Ei(g,i))}return s}function Zs(e){return void 0!==e}function Qs(e,t){return 0!=(e.flags&(t?16:32))}function Xs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=tn(),i=nn(),r=e+20,o=i.firstCreatePass?Ro(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return Vt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);no(i,n,a,o),sn(o,!1)}function Ks(e){return Js("",e,""),Ks}function Js(e,t,n){var i=tn(),r=ts(i,e,t,n);return r!==ko&&ba(i,Pn(),r),Js}function $s(e,t,n,i,r){var o=tn(),a=ns(o,e,t,n,i,r);return a!==ko&&ba(o,Pn(),a),$s}function el(e,t,n,i,r,o,a){var s=tn(),l=function(e,t,n,i,r,o,a,s){var l=Ja(e,fn(),n,r,a);return gn(3),l?t+Te(n)+i+Te(r)+o+Te(a)+s:ko}(s,e,t,n,i,r,o,a);return l!==ko&&ba(s,Pn(),l),el}function tl(e,t,n,i,r,o,a,s,l){var u=tn(),c=function(e,t,n,i,r,o,a,s,l,u){var c=$a(e,fn(),n,r,a,l);return gn(4),c?t+Te(n)+i+Te(r)+o+Te(a)+s+Te(l)+u:ko}(u,e,t,n,i,r,o,a,s,l);return c!==ko&&ba(u,Pn(),c),tl}function nl(e,t,n){Hs(Si,Vs,ts(tn(),e,t,n),!0)}function il(e,t,n){var i=tn();return Xa(i,pn(),t)&&Yo(nn(),On(),i,e,t,i[11],n,!0),il}function rl(e,t,n){var i=tn();if(Xa(i,pn(),t)){var r=nn(),o=On();Yo(r,o,i,e,t,va(mn(r.data),o,i),n,!0)}return rl}var ol=void 0,al=["en",[["a","p"],["AM","PM"],ol],[["AM","PM"],ol,ol],[["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"]],ol,[["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"]],ol,[["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}",ol,"{1} 'at' {0}",ol],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],sl={};function ll(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=ul(t);if(n)return n;var i=t.split("-")[0];if(n=ul(i))return n;if("en"===i)return al;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function ul(e){return e in sl||(sl[e]=nt.ng&&nt.ng.common&&nt.ng.common.locales&&nt.ng.common.locales[e]),sl[e]}var cl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});function dl(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function hl(e,t,n,i,r){if(e=De(e),Array.isArray(e))for(var o=0;o<e.length;o++)hl(e[o],t,n,i,r);else{var a=nn(),s=tn(),l=La(e)?e:De(e.provide),u=Ta(e),c=on(),d=1048575&c.providerIndexes,h=c.directiveStart,f=c.providerIndexes>>20;if(La(e)||!e.multi){var p=new Vn(u,r,os),g=gl(l,t,r?d:d+f,h);-1===g?(ti(Kn(c,s),a,l),fl(a,e,t.length),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=gl(l,t,d+f,h),m=gl(l,t,d,d+f),y=v>=0&&n[v],b=m>=0&&n[m];if(r&&!b||!r&&!y){ti(Kn(c,s),a,l);var w=function(e,t,n,i,r){var o=new Vn(e,n,os);return o.multi=[],o.index=t,o.componentProviders=0,pl(o,r,i&&!n),o}(r?ml:vl,n.length,r,i,u);!r&&b&&(n[m].providerFactory=w),fl(a,e,t.length,0),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(w),s.push(w)}else fl(a,e,v>-1?v:m,pl(n[r?m:v],u,!r&&i));!r&&i&&b&&n[m].componentProviders++}}}function fl(e,t,n,i){var r=La(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function pl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gl(e,t,n,i){for(var r=n;r<i;r++)if(t[r]===e)return r;return-1}function vl(e,t,n,i){return yl(this.multi,[])}function ml(e,t,n,i){var r,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=ui(n,n[1],this.providerFactory.index,i);yl(o,r=s.slice(0,a));for(var l=a;l<s.length;l++)r.push(s[l])}else yl(o,r=[]);return r}function yl(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function bl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=nn();if(i.firstCreatePass){var r=Dt(e);hl(n,i.data,i.blueprint,r,!0),hl(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var wl=C(function e(){S(this,e)}),_l=function(){function e(){S(this,e)}return C(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(Ce(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),xl=function(){var e=C(function e(){S(this,e)});return e.NULL=new _l,e}();function kl(){}function Al(e,t){return new Sl(Ut(e,t))}var Cl=function(){return Al(on(),tn())},Sl=function(){var e=C(function e(t){S(this,e),this.nativeElement=t});return e.__NG_ELEMENT_ID__=Cl,e}();function El(e){return e instanceof Sl?e.nativeElement:e}var Pl=C(function e(){S(this,e)}),Dl=function(){var e=C(function e(){S(this,e)});return e.__NG_ELEMENT_ID__=function(){return Ol()},e}(),Ol=function(){var e=tn(),t=qt(on().index,e);return function(e){return e[11]}(At(t)?t:e)},Ml=function(){var e=C(function e(){S(this,e)});return e.\u0275prov=Le({token:e,providedIn:"root",factory:function(){return null}}),e}(),Tl=C(function e(t){S(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}),Il=new Tl("11.2.6"),Rl=function(){function e(){S(this,e)}return C(e,[{key:"supports",value:function(e){return Ya(e)}},{key:"create",value:function(e){return new Fl(e)}}]),e}(),Ll=function(e,t){return t},Fl=function(){function e(t){S(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||Ll}return C(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex<Nl(n,i,r)?t:n,a=Nl(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{r||(r=[]);var l=a-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var d=c<r.length?r[c]:r[c]=0,h=d+c;u<=h&&h<l&&(r[c]=d+1)}r[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Ya(e))throw new Error("Error trying to diff '".concat(Ce(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,i,r,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),null!==o&&Object.is(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),Object.is(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,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 i,r=e[Ga()]();!(i=r.next()).done;)t(i.value)}(e,function(e){r=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,r)?(a&&(o=t._verifyReinsertion(o,e,r,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,r,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;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,i){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new Bl(t,n),r,i),e}},{key:"_verifyReinsertion",value:function(e,t,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}},{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 i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{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 i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Vl),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 Vl),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}}]),e}(),Bl=C(function e(t,n){S(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}),zl=function(){function e(){S(this,e),this._head=null,this._tail=null}return C(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),Vl=function(){function e(){S(this,e),this.map=new Map}return C(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new zl,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()}}]),e}();function Nl(e,t,n){var i=e.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Hl=function(){function e(){S(this,e)}return C(e,[{key:"supports",value:function(e){return e instanceof Map||Za(e)}},{key:"create",value:function(){return new jl}}]),e}(),jl=function(){function e(){S(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return C(e,[{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||Za(e)))throw new Error("Error trying to diff '".concat(Ce(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,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new Ul(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){Object.is(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)})}}]),e}(),Ul=C(function e(t){S(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});function Wl(){return new Gl([new Rl])}var Gl=function(){var e=function(){function e(t){S(this,e),this.factories=t}return C(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 i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Wl())},deps:[[e,new Ui,new ji]]}}}]),e}();return e.\u0275prov=Le({token:e,providedIn:"root",factory:Wl}),e}();function ql(){return new Yl([new Hl])}var Yl=function(){var e=function(){function e(t){S(this,e),this.factories=t}return C(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 i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||ql())},deps:[[e,new Ui,new ji]]}}}]),e}();return e.\u0275prov=Le({token:e,providedIn:"root",factory:ql}),e}();function Zl(e,t,n,i){for(var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&i.push(Ht(o)),Ct(o))for(var a=10;a<o.length;a++){var s=o[a],l=s[1].firstChild;null!==l&&Zl(s[1],s,l,i)}var u=n.type;if(8&u)Zl(e,t,n.child,i);else if(32&u)for(var c=zr(n,t),d=void 0;d=c();)i.push(d);else if(16&u){var h=ro(t,n);if(Array.isArray(h))i.push.apply(i,m(h));else{var f=Vr(t[16]);Zl(f[1],f,h,i,!0)}}n=r?n.projectionNext:n.next}return i}var Ql=function(){function e(t,n){S(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return C(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return Zl(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(Ct(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(qr(e,n),Ai(t,n))}this._attachedToViewContainer=!1}Yr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Go(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){ua(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ca(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){dn(!0);try{ca(e,t,n)}finally{dn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,so(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Xl=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this,e))._view=e,i}return C(n,[{key:"detectChanges",value:function(){da(this._view)}},{key:"checkNoChanges",value:function(){!function(e){dn(!0);try{da(e)}finally{dn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Ql),Kl=$l,Jl=function(){var e=C(function e(){S(this,e)});return e.__NG_ELEMENT_ID__=Kl,e.__ChangeDetectorRef__=!0,e}();function $l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Et(e)){var i=qt(e.index,t);return new Ql(i,i)}return 47&e.type?new Ql(t[16],t):null}(on(),tn(),e)}var eu=[new Hl],tu=new Gl([new Rl]),nu=new Yl(eu),iu=function(){return au(on(),tn())},ru=function(){var e=C(function e(){S(this,e)});return e.__NG_ELEMENT_ID__=iu,e}(),ou=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return C(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Io(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Fo(t,n,e),new Ql(n)}}]),n}(ru);function au(e,t){return 4&e.type?new ou(t,e,Al(e,t)):null}var su=C(function e(){S(this,e)}),lu=C(function e(){S(this,e)}),uu=function(){return pu(on(),tn())},cu=function(){var e=C(function e(){S(this,e)});return e.__NG_ELEMENT_ID__=uu,e}(),du=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return C(n,[{key:"element",get:function(){return Al(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new hi(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=ei(this._hostTNode,this._hostLView);if(Gn(e)){var t=Yn(e,this._hostLView),n=qn(e);return new hi(t[1].data[n+8],t)}return new hi(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=hu(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(su,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(Ct(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var l=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i<o-10?(t[4]=n[r],ki(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,i,u,l);var c=oo(l,u),d=i[11],h=$r(d,u[7]);return null!==h&&function(e,t,n,i,r,o){i[0]=r,i[6]=t,so(e,i,n,1,r,o)}(r,u[6],d,i,h,c),e.attachToViewContainerRef(),ki(fu(u),l,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=hu(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=qr(this._lContainer,t);n&&(Ai(fu(this._lContainer),t),Yr(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=qr(this._lContainer,t);return n&&null!=Ai(fu(this._lContainer),t)?new Ql(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(cu);function hu(e){return e[8]}function fu(e){return e[8]||(e[8]=[])}function pu(e,t){var n,i=t[e.index];if(Ct(i))n=i;else{var r;if(8&e.type)r=Ht(i);else{var o=t[11];r=o.createComment("");var a=Ut(e,t);Xr(o,$r(o,a),r,function(e,t){return Vt(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=ra(i,t,r,e),la(t,n)}return new du(n,e,t)}var gu={},vu=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this)).ngModule=e,i}return C(n,[{key:"resolveComponentFactory",value:function(e){var t=xt(e);return new bu(t,this.ngModule)}}]),n}(xl);function mu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var yu=new yi("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ir}}),bu=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(xo).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return C(n,[{key:"inputs",get:function(){return mu(this.componentDef.inputs)}},{key:"outputs",get:function(){return mu(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,gu,r);return o!==gu||i===gu?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(Pl,Nt),l=a.get(Ml,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(Vt(e))return e.selectRootElement(t,n===Ke.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(u,n,this.componentDef.encapsulation):Wr(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,f={components:[],scheduler:Ir,clean:fa,playerHandler:null,flags:0},p=Wo(0,null,null,1,0,null,null,null,null,null),g=Io(null,p,f,h,null,null,s,u,l,a);xn(g);try{var v=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=Ro(a,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(wa(s,l,!0),null!==e&&(Nn(r,e,l),null!==s.classes&&co(r,e,s.classes),null!==s.styles&&uo(r,e,s.styles)));var u=i.createRenderer(e,t),c=Io(n,Uo(t),null,t.onPush?64:16,n[20],s,i,u,null,null);return a.firstCreatePass&&(ti(Kn(s,n),a,t.type),Ko(a,s),$o(s,n.length,1)),la(n,c),n[20]=c}(d,this.componentDef,g,s,u);if(d)if(n)Nn(u,d,["ng-version",Il.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i<e.length;){var o=e[i];if("string"==typeof o)2===r?""!==o&&t.push(o,e[++i]):8===r&&n.push(o);else{if(!mo(r))break;r=o}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=m.attrs,b=m.classes;y&&Nn(u,d,y),b&&b.length>0&&co(u,d,b.join(" "))}if(o=Wt(p,20),void 0!==t)for(var w=o.projection=[],_=0;_<this.ngContentSelectors.length;_++){var x=t[_];w.push(null!=x?Array.from(x):null)}r=function(e,t,n,i,r){var o=n[1],a=function(e,t,n){var i=on();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ea(e,i,t,Lo(e,t,1,null),n));var r=ui(t,e,i.directiveStart,i);Tr(r,t);var o=Ut(i,t);return o&&Tr(o,t),r}(o,n,t);if(i.components.push(a),e[8]=a,r&&r.forEach(function(e){return e(a,t)}),t.contentQueries){var s=on();t.contentQueries(1,a,s.directiveStart)}var l=on();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Dn(l.index),Qo(n[1],l,0,l.directiveStart,l.directiveEnd,t),Xo(t,a)),a}(v,this.componentDef,g,f,[za]),Fo(p,g,null)}finally{En()}return new wu(this.componentType,r,Al(o,g),g,o)}}]),n}(wl),wu=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a){var s;return S(this,n),(s=t.call(this)).location=r,s._rootLView=o,s._tNode=a,s.instance=i,s.hostView=s.changeDetectorRef=new Xl(o),s.componentType=e,s}return C(n,[{key:"injector",get:function(){return new hi(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),n}(function(){return C(function e(){S(this,e)})}()),_u=new Map,xu=function(e){o(n,e);var t=s(n);function n(e,i){var r;S(this,n),(r=t.call(this))._parent=i,r._bootstrapComponents=[],r.injector=u(r),r.destroyCbs=[],r.componentFactoryResolver=new vu(u(r));var o=kt(e),a=e[ct]||null;return a&&dl(a),r._bootstrapComponents=Fr(o.bootstrap),r._r3Injector=Da(e,i,[{provide:su,useValue:u(r)},{provide:xl,useValue:r.componentFactoryResolver}],Ce(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return C(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ba.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qe.Default;return e===Ba||e===su||e===_a?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(su),ku=function(e){o(n,e);var t=s(n);function n(e){var i,r,o;return S(this,n),(i=t.call(this)).moduleType=e,null!==kt(e)&&(r=e,o=new Set,function e(t){var n=kt(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Ce(t)," vs ").concat(Ce(t.name)))}(i,_u.get(i),t),_u.set(i,t));var r,a=f(Fr(n.imports));try{for(a.s();!(r=a.n()).done;){var s=r.value;o.has(s)||(o.add(s),e(s))}}catch(l){a.e(l)}finally{a.f()}}(r)),i}return C(n,[{key:"create",value:function(e){return new xu(this.moduleType,e)}}]),n}(lu);function Au(e,t,n){var i=hn()+e,r=tn();return r[i]===ko?Qa(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Cu(e,t,n,i){return Pu(tn(),hn(),e,t,n,i)}function Su(e,t,n,i,r){return Du(tn(),hn(),e,t,n,i,r)}function Eu(e,t){var n=e[t];return n===ko?void 0:n}function Pu(e,t,n,i,r,o){var a=t+n;return Xa(e,a,r)?Qa(e,a+1,o?i.call(o,r):i(r)):Eu(e,a+1)}function Du(e,t,n,i,r,o,a){var s=t+n;return Ka(e,s,r,o)?Qa(e,s+2,a?i.call(a,r,o):i(r,o)):Eu(e,s+2)}function Ou(e,t){var n,i=nn(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Me("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=Ot(n.type)),a=Ye(os);try{var s=Qn(!1),l=o();return Qn(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,tn(),r,l),l}finally{Ye(a)}}function Mu(e,t,n){var i=e+20,r=tn(),o=Gt(r,i);return Fu(r,Lu(r,i)?Pu(r,hn(),t,o.transform,n,o):o.transform(n))}function Tu(e,t,n,i){var r=e+20,o=tn(),a=Gt(o,r);return Fu(o,Lu(o,r)?Du(o,hn(),t,a.transform,n,i,a):a.transform(n,i))}function Iu(e,t,n,i,r){var o=e+20,a=tn(),s=Gt(a,o);return Fu(a,Lu(a,o)?function(e,t,n,i,r,o,a,s){var l=t+n;return Ja(e,l,r,o,a)?Qa(e,l+3,s?i.call(s,r,o,a):i(r,o,a)):Eu(e,l+3)}(a,hn(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function Ru(e,t,n,i,r,o){var a=e+20,s=tn(),l=Gt(s,a);return Fu(s,Lu(s,a)?function(e,t,n,i,r,o,a,s,l){var u=t+n;return $a(e,u,r,o,a,s)?Qa(e,u+4,l?i.call(l,r,o,a,s):i(r,o,a,s)):Eu(e,u+4)}(s,hn(),t,l.transform,n,i,r,o,l):l.transform(n,i,r,o))}function Lu(e,t){return e[1].data[t].pure}function Fu(e,t){return qa.isWrapped(t)&&(t=qa.unwrap(t),e[fn()]=ko),t}var Bu=function(e){o(n,e);var t=s(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return S(this,n),(e=t.call(this)).__isAsync=i,e}return C(n,[{key:"emit",value:function(e){i(d(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,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)},t&&(a=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var l=i(d(n.prototype),"subscribe",this).call(this,o,a,s);return e instanceof M&&e.add(l),l}}]),n}(G);function zu(){return this._results[Ga()]()}var Vu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];S(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Ga(),i=e.prototype;i[n]||(i[n]=zu)}return C(e,[{key:"changes",get:function(){return this._changes||(this._changes=new Bu)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=_i(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++){var r=e[i],o=t[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}},{key:"notifyOnChanges",value:function(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Nu=function(){function e(t){S(this,e),this.queryList=t,this.matches=null}return C(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Hu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];S(this,e),this.queries=t}return C(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o<i;o++){var a=n.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new e(r)}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!==tc(e,t).matches&&this.queries[t].setDirty()}}]),e}(),ju=C(function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;S(this,e),this.predicate=t,this.flags=n,this.read=i}),Uu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];S(this,e),this.queries=t}return C(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),Wu=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;S(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return C(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(e,t,Gu(t,r)),this.matchTNodeWithReadOption(e,t,li(t,e,r,!1,!1))}else n===ru?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,li(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===Sl||i===cu||i===ru&&4&t.type)this.addMatch(t.index,-2);else{var r=li(t,e,i,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Gu(e,t){var n=e.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function qu(e,t,n,i){return-1===n?function(e,t){return 11&e.type?Al(e,t):4&e.type?au(e,t):null}(t,e):-2===n?function(e,t,n){return n===Sl?Al(t,e):n===ru?au(t,e):n===cu?pu(t,e):void 0}(e,t,i):ui(e,e[1],n,t)}function Yu(e,t,n,i){var r=t[19].queries[i];if(null===r.matches){for(var o=e.data,a=n.matches,s=[],l=0;l<a.length;l+=2){var u=a[l];s.push(u<0?null:qu(t,o[u],a[l+1],n.metadata.read))}r.matches=s}return r.matches}function Zu(e,t,n,i){var r=e.queries.getByIndex(n),o=r.matches;if(null!==o)for(var a=Yu(e,t,r,n),s=0;s<o.length;s+=2){var l=o[s];if(l>0)i.push(a[s/2]);else{for(var u=o[s+1],c=t[-l],d=10;d<c.length;d++){var h=c[d];h[17]===h[3]&&Zu(h[1],h,u,i)}if(null!==c[9])for(var f=c[9],p=0;p<f.length;p++){var g=f[p];Zu(g[1],g,u,i)}}}return i}function Qu(e){var t=tn(),n=nn(),i=yn();bn(i+1);var r=tc(n,i);if(e.dirty&&Zt(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{var o=r.crossesNgTemplate?Zu(n,t,i,[]):Yu(n,t,r,i);e.reset(o,El),e.notifyOnChanges()}return!0}return!1}function Xu(e,t,n){var i=nn();i.firstCreatePass&&(ec(i,new ju(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),$u(i,tn(),t)}function Ku(e,t,n,i){var r=nn();if(r.firstCreatePass){var o=on();ec(r,new ju(t,n,i),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}$u(r,tn(),n)}function Ju(){return e=tn(),t=yn(),e[19].queries[t].queryList;var e,t}function $u(e,t,n){var i=new Vu(4==(4&n));Go(e,t,i,i.destroy),null===t[19]&&(t[19]=new Hu),t[19].queries.push(new Nu(i))}function ec(e,t,n){null===e.queries&&(e.queries=new Uu),e.queries.track(new Wu(t,n))}function tc(e,t){return e.queries.getByIndex(t)}function nc(e,t){return au(e,t)}function ic(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qe.Default,t=$l(!0);if(null!=t||e&qe.Optional)return t;Re("ChangeDetectorRef")}var rc=new yi("Application Initializer"),oc=function(){var e=function(){function e(t){var n=this;S(this,e),this.appInits=t,this.resolve=kl,this.reject=kl,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return C(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();gs(r)&&t.push(r)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Li(rc,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),ac=new yi("AppId"),sc={provide:ac,useFactory:function(){return"".concat(lc()).concat(lc()).concat(lc())},deps:[]};function lc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var uc=new yi("Platform Initializer"),cc=new yi("Platform ID"),dc=new yi("appBootstrapListener"),hc=function(){var e=function(){function e(){S(this,e)}return C(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),fc=new yi("LocaleId"),pc=new yi("DefaultCurrencyCode"),gc=C(function e(t,n){S(this,e),this.ngModuleFactory=t,this.componentFactories=n}),vc=function(e){return new ku(e)},mc=vc,yc=function(e){return Promise.resolve(vc(e))},bc=function(e){var t=vc(e),n=Fr(kt(e).declarations).reduce(function(e,t){var n=xt(t);return n&&e.push(new bu(n)),e},[]);return new gc(t,n)},wc=bc,_c=function(e){return Promise.resolve(bc(e))},xc=function(){var e=function(){function e(){S(this,e),this.compileModuleSync=mc,this.compileModuleAsync=yc,this.compileModuleAndAllComponentsSync=wc,this.compileModuleAndAllComponentsAsync=_c}return C(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),kc=Promise.resolve(0);function Ac(e){"undefined"==typeof Zone?kc.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Cc=function(){function e(t){var n,i,r=t.enableLongStackTrace,o=void 0!==r&&r,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a,l=t.shouldCoalesceRunChangeDetection,u=void 0!==l&&l;if(S(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bu(!1),this.onMicrotaskEmpty=new Bu(!1),this.onStable=new Bu(!1),this.onError=new Bu(!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.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!u&&s,this.shouldCoalesceRunChangeDetection=u,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=nt.requestAnimationFrame,t=nt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,i=function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(nt,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,Pc(e),Ec(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),Pc(e))}(n)},(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,r,o,a,s){try{return Dc(n),e.invokeTask(r,o,a,s)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&i(),Oc(n)}},onInvoke:function(e,t,r,o,a,s,l){try{return Dc(n),e.invoke(r,o,a,s,l)}finally{n.shouldCoalesceRunChangeDetection&&i(),Oc(n)}},onHasTask:function(e,t,i,r){e.hasTask(i,r),t===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Pc(n),Ec(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,t,i,r){return e.handleError(i,r),n.runOutsideAngular(function(){return n.onError.emit(r)}),!1}})}return C(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,Sc,kl,kl);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),Sc={};function Ec(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 Pc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Dc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oc(e){e._nesting--,Ec(e)}var Mc,Tc=function(){function e(){S(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bu,this.onMicrotaskEmpty=new Bu,this.onStable=new Bu,this.onError=new Bu}return C(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,i){return e.apply(t,n)}}]),e}(),Ic=function(){var e=function(){function e(t){var n=this;S(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return C(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Cc.assertNotInAngularZone(),Ac(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())Ac(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 i=this,r=-1;t&&t>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Li(Cc))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),Rc=function(){var e=function(){function e(){S(this,e),this._applications=new Map,Lc.addToWindow(this)}return C(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Lc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}(),Lc=new(function(){function e(){S(this,e)}return C(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Fc=!0,Bc=!1;function zc(){return Bc=!0,Fc}var Vc=new yi("AllowMultipleToken"),Nc=C(function e(t,n){S(this,e),this.name=t,this.token=n});function Hc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+t,r=new yi(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=jc();if(!o||o.injector.get(Vc,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:ka,useValue:"platform"});!function(e){if(Mc&&!Mc.destroyed&&!Mc.injector.get(Vc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Mc=e.get(Uc);var t=e.get(uc,null);t&&t.forEach(function(e){return e()})}(Ba.create({providers:a,name:i}))}return function(e){var t=jc();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}(r)}}function jc(){return Mc&&!Mc.destroyed?Mc:null}var Uc=function(){var e=function(){function e(t){S(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return C(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,o=(n=t?t.ngZone:void 0,i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new Tc:("zone.js"===n?void 0:n)||new Cc({enableLongStackTrace:zc(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),a=[{provide:Cc,useValue:o}];return o.run(function(){var t=Ba.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Mr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){Yc(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var o=((a=n.injector.get(oc)).runInitializers(),a.donePromise.then(function(){return dl(n.injector.get(fc,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return gs(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}(i,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Wc({},n);return function(e,t,n){var i=new ku(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(qc);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(Ce(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}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Li(Ba))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}();function Wc(e,t){return Array.isArray(t)?t.reduce(Wc,e):Object.assign(Object.assign({},e),t)}var Gc,qc=((Gc=function(){function e(t,n,i,r,o){var a=this;S(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new V(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),l=new V(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Cc.assertNotInAngularZone(),Ac(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Cc.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=fe(s,l.pipe(xe()))}return C(e,[{key:"bootstrap",value:function(e,t){var n,i=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 wl?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(su),o=n.create(Ba.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(Ic,null),l=s&&o.injector.get(Rc);return s&&l&&l.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),Yc(i.components,o),l&&l.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=f(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Yc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(dc,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Gc)(Li(Cc),Li(Ba),Li(Mr),Li(xl),Li(oc))},Gc.\u0275prov=Le({token:Gc,factory:Gc.\u0275fac}),Gc);function Yc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Zc=C(function e(){S(this,e)}),Qc=C(function e(){S(this,e)}),Xc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Kc=function(){var e=function(){function e(t,n){S(this,e),this._compiler=t,this._config=n||Xc}return C(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,n=p(e.split("#"),2),i=n[0],r=n[1];return void 0===r&&(r="default"),a("MYvV")(i).then(function(e){return e[r]}).then(function(e){return Jc(e,i,r)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=p(e.split("#"),2),n=t[0],i=t[1],r="NgFactory";return void 0===i&&(i="default",r=""),a("MYvV")(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[i+r]}).then(function(e){return Jc(e,n,i)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Li(xc),Li(Qc,8))},e.\u0275prov=Le({token:e,factory:e.\u0275fac}),e}();function Jc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var $c=Hc(null,"core",[{provide:cc,useValue:"unknown"},{provide:Uc,deps:[Ba]},{provide:Rc,deps:[]},{provide:hc,deps:[]}]),ed=[{provide:qc,useClass:qc,deps:[Cc,Ba,Mr,xl,oc]},{provide:yu,deps:[Cc],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:oc,useClass:oc,deps:[[new ji,rc]]},{provide:xc,useClass:xc,deps:[]},sc,{provide:Gl,useFactory:function(){return tu},deps:[]},{provide:Yl,useFactory:function(){return nu},deps:[]},{provide:fc,useFactory:function(e){return dl(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Hi(fc),new ji,new Ui]]},{provide:pc,useValue:"USD"}],td=function(){var e=C(function e(t){S(this,e)});return e.\u0275fac=function(t){return new(t||e)(Li(qc))},e.\u0275mod=yt({type:e}),e.\u0275inj=Be({providers:ed}),e}(),nd={production:!0,VERSION:a("kiQV").version,AUTHOR:a("kiQV").author},id=null;function rd(){return id}var od,ad=new yi("DocumentToken"),sd=((od=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||od)},od.\u0275prov=Le({factory:ld,token:od,providedIn:"platform"}),od);function ld(){return Li(dd)}var ud,cd=new yi("Location Initialized"),dd=((ud=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this))._doc=e,i._init(),i}return C(n,[{key:"_init",value:function(){this.location=rd().getLocation(),this._history=rd().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return rd().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){rd().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){rd().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){hd()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){hd()?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}}]),n}(sd)).\u0275fac=function(e){return new(e||ud)(Li(ad))},ud.\u0275prov=Le({factory:fd,token:ud,providedIn:"platform"}),ud);function hd(){return!!window.history.pushState}function fd(){return new dd(Li(ad))}function pd(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function gd(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 vd(e){return e&&"?"!==e[0]?"?"+e:e}var md,yd=((md=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||md)},md.\u0275prov=Le({factory:bd,token:md,providedIn:"root"}),md);function bd(e){var t=Li(ad).location;return new Ad(Li(sd),t&&t.origin||"")}var wd,_d,xd,kd=new yi("appBaseHref"),Ad=((xd=function(e){o(n,e);var t=s(n);function n(e,i){var r;if(S(this,n),(r=t.call(this))._platformLocation=e,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,l(r)}return C(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return pd(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+vd(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+vd(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+vd(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(yd)).\u0275fac=function(e){return new(e||xd)(Li(sd),Li(kd,8))},xd.\u0275prov=Le({token:xd,factory:xd.\u0275fac}),xd),Cd=((_d=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",null!=i&&(r._baseHref=i),r}return C(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=pd(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+vd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+vd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(yd)).\u0275fac=function(e){return new(e||_d)(Li(sd),Li(kd,8))},_d.\u0275prov=Le({token:_d,factory:_d.\u0275fac}),_d),Sd=((wd=function(){function e(t,n){var i=this;S(this,e),this._subject=new Bu,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=gd(Pd(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return C(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+vd(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Pd(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vd(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vd(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||wd)(Li(yd),Li(sd))},wd.normalizeQueryParams=vd,wd.joinWithSlash=pd,wd.stripTrailingSlash=gd,wd.\u0275prov=Le({factory:Ed,token:wd,providedIn:"root"}),wd);function Ed(){return new Sd(Li(yd),Li(sd))}function Pd(e){return e.replace(/\/index.html$/,"")}var Dd=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Od=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Md=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Td=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Id=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Rd(e,t){return Vd(ll(e)[cl.DateFormat],t)}function Ld(e,t){return Vd(ll(e)[cl.TimeFormat],t)}function Fd(e,t){return Vd(ll(e)[cl.DateTimeFormat],t)}function Bd(e,t){var n=ll(e),i=n[cl.NumberSymbols][t];if(void 0===i){if(t===Id.CurrencyDecimal)return n[cl.NumberSymbols][Id.Decimal];if(t===Id.CurrencyGroup)return n[cl.NumberSymbols][Id.Group]}return i}function zd(e){if(!e[cl.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[cl.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Vd(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 Nd(e){var t=p(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var Hd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,jd={},Ud=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|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]*)/,Wd=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Gd=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),qd=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Yd(e,t,n,i){var r=function(e){if(ah(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=p(e.split("-").map(function(e){return+e}),3),n=t[0],i=t[1],r=void 0===i?1:i,o=t[2];return Zd(n,r-1,void 0===o?1:o)}var a,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(a=e.match(Hd))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(a)}var l=new Date(e);if(!ah(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=Qd(n,t)||t;for(var o,a=[];t;){if(!(o=Ud.exec(t))){a.push(t);break}var s=(a=a.concat(o.slice(1))).pop();if(!s)break;t=s}var l=r.getTimezoneOffset();i&&(l=oh(i,l),r=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(oh(t,i)-i))}(r,i));var u="";return a.forEach(function(e){var t=function(e){if(rh[e])return rh[e];var t;switch(e){case"G":case"GG":case"GGG":t=$d(qd.Eras,Md.Abbreviated);break;case"GGGG":t=$d(qd.Eras,Md.Wide);break;case"GGGGG":t=$d(qd.Eras,Md.Narrow);break;case"y":t=Jd(Gd.FullYear,1,0,!1,!0);break;case"yy":t=Jd(Gd.FullYear,2,0,!0,!0);break;case"yyy":t=Jd(Gd.FullYear,3,0,!1,!0);break;case"yyyy":t=Jd(Gd.FullYear,4,0,!1,!0);break;case"Y":t=ih(1);break;case"YY":t=ih(2,!0);break;case"YYY":t=ih(3);break;case"YYYY":t=ih(4);break;case"M":case"L":t=Jd(Gd.Month,1,1);break;case"MM":case"LL":t=Jd(Gd.Month,2,1);break;case"MMM":t=$d(qd.Months,Md.Abbreviated);break;case"MMMM":t=$d(qd.Months,Md.Wide);break;case"MMMMM":t=$d(qd.Months,Md.Narrow);break;case"LLL":t=$d(qd.Months,Md.Abbreviated,Od.Standalone);break;case"LLLL":t=$d(qd.Months,Md.Wide,Od.Standalone);break;case"LLLLL":t=$d(qd.Months,Md.Narrow,Od.Standalone);break;case"w":t=nh(1);break;case"ww":t=nh(2);break;case"W":t=nh(1,!0);break;case"d":t=Jd(Gd.Date,1);break;case"dd":t=Jd(Gd.Date,2);break;case"E":case"EE":case"EEE":t=$d(qd.Days,Md.Abbreviated);break;case"EEEE":t=$d(qd.Days,Md.Wide);break;case"EEEEE":t=$d(qd.Days,Md.Narrow);break;case"EEEEEE":t=$d(qd.Days,Md.Short);break;case"a":case"aa":case"aaa":t=$d(qd.DayPeriods,Md.Abbreviated);break;case"aaaa":t=$d(qd.DayPeriods,Md.Wide);break;case"aaaaa":t=$d(qd.DayPeriods,Md.Narrow);break;case"b":case"bb":case"bbb":t=$d(qd.DayPeriods,Md.Abbreviated,Od.Standalone,!0);break;case"bbbb":t=$d(qd.DayPeriods,Md.Wide,Od.Standalone,!0);break;case"bbbbb":t=$d(qd.DayPeriods,Md.Narrow,Od.Standalone,!0);break;case"B":case"BB":case"BBB":t=$d(qd.DayPeriods,Md.Abbreviated,Od.Format,!0);break;case"BBBB":t=$d(qd.DayPeriods,Md.Wide,Od.Format,!0);break;case"BBBBB":t=$d(qd.DayPeriods,Md.Narrow,Od.Format,!0);break;case"h":t=Jd(Gd.Hours,1,-12);break;case"hh":t=Jd(Gd.Hours,2,-12);break;case"H":t=Jd(Gd.Hours,1);break;case"HH":t=Jd(Gd.Hours,2);break;case"m":t=Jd(Gd.Minutes,1);break;case"mm":t=Jd(Gd.Minutes,2);break;case"s":t=Jd(Gd.Seconds,1);break;case"ss":t=Jd(Gd.Seconds,2);break;case"S":t=Jd(Gd.FractionalSeconds,1);break;case"SS":t=Jd(Gd.FractionalSeconds,2);break;case"SSS":t=Jd(Gd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=eh(Wd.Short);break;case"ZZZZZ":t=eh(Wd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=eh(Wd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=eh(Wd.Long);break;default:return null}return rh[e]=t,t}(e);u+=t?t(r,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Zd(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Qd(e,t){var n=function(e){return ll(e)[cl.LocaleId]}(e);if(jd[n]=jd[n]||{},jd[n][t])return jd[n][t];var i="";switch(t){case"shortDate":i=Rd(e,Td.Short);break;case"mediumDate":i=Rd(e,Td.Medium);break;case"longDate":i=Rd(e,Td.Long);break;case"fullDate":i=Rd(e,Td.Full);break;case"shortTime":i=Ld(e,Td.Short);break;case"mediumTime":i=Ld(e,Td.Medium);break;case"longTime":i=Ld(e,Td.Long);break;case"fullTime":i=Ld(e,Td.Full);break;case"short":var r=Qd(e,"shortTime"),o=Qd(e,"shortDate");i=Xd(Fd(e,Td.Short),[r,o]);break;case"medium":var a=Qd(e,"mediumTime"),s=Qd(e,"mediumDate");i=Xd(Fd(e,Td.Medium),[a,s]);break;case"long":var l=Qd(e,"longTime"),u=Qd(e,"longDate");i=Xd(Fd(e,Td.Long),[l,u]);break;case"full":var c=Qd(e,"fullTime"),d=Qd(e,"fullDate");i=Xd(Fd(e,Td.Full),[c,d])}return i&&(jd[n][t]=i),i}function Xd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function Kd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return i&&(a=a.substr(a.length-t)),o+a}function Jd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,l=function(e,t){switch(e){case Gd.FullYear:return t.getFullYear();case Gd.Month:return t.getMonth();case Gd.Date:return t.getDate();case Gd.Hours:return t.getHours();case Gd.Minutes:return t.getMinutes();case Gd.Seconds:return t.getSeconds();case Gd.FractionalSeconds:return t.getMilliseconds();case Gd.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||l>-n)&&(l+=n),e===Gd.Hours)0===l&&-12===n&&(l=12);else if(e===Gd.FractionalSeconds)return s=t,Kd(l,3).substr(0,s);var u=Bd(a,Id.MinusSign);return Kd(l,t,u,i,r)}}function $d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Od.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,o){return function(e,t,n,i,r,o){switch(n){case qd.Months:return function(e,t,n){var i=ll(e),r=Vd([i[cl.MonthsFormat],i[cl.MonthsStandalone]],t);return Vd(r,n)}(t,r,i)[e.getMonth()];case qd.Days:return function(e,t,n){var i=ll(e),r=Vd([i[cl.DaysFormat],i[cl.DaysStandalone]],t);return Vd(r,n)}(t,r,i)[e.getDay()];case qd.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var l=function(e){var t=ll(e);return zd(t),(t[cl.ExtraData][2]||[]).map(function(e){return"string"==typeof e?Nd(e):[Nd(e[0]),Nd(e[1])]})}(t),u=function(e,t,n){var i=ll(e);zd(i);var r=Vd([i[cl.ExtraData][0],i[cl.ExtraData][1]],t)||[];return Vd(r,n)||[]}(t,r,i),c=l.findIndex(function(e){if(Array.isArray(e)){var t=p(e,2),n=t[0],i=t[1],r=a>=n.hours&&s>=n.minutes,o=a<i.hours||a===i.hours&&s<i.minutes;if(n.hours<i.hours){if(r&&o)return!0}else if(r||o)return!0}else if(e.hours===a&&e.minutes===s)return!0;return!1});if(-1!==c)return u[c]}return function(e,t,n){var i=ll(e),r=Vd([i[cl.DayPeriodsFormat],i[cl.DayPeriodsStandalone]],t);return Vd(r,n)}(t,r,i)[a<12?0:1];case qd.Eras:return function(e,t){return Vd(ll(e)[cl.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,e,t,n,i)}}function eh(e){return function(t,n,i){var r=-1*i,o=Bd(n,Id.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Wd.Short:return(r>=0?"+":"")+Kd(a,2,o)+Kd(Math.abs(r%60),2,o);case Wd.ShortGMT:return"GMT"+(r>=0?"+":"")+Kd(a,1,o);case Wd.Long:return"GMT"+(r>=0?"+":"")+Kd(a,2,o)+":"+Kd(Math.abs(r%60),2,o);case Wd.Extended:return 0===i?"Z":(r>=0?"+":"")+Kd(a,2,o)+":"+Kd(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function th(e){return Zd(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function nh(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,o,a;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();r=1+Math.floor((l+s)/7)}else{var u=th(n),c=(o=u.getFullYear(),a=Zd(o,0,1).getDay(),Zd(o,0,1+(a<=4?4:11)-a)),d=u.getTime()-c.getTime();r=1+Math.round(d/6048e5)}return Kd(r,e,Bd(i,Id.MinusSign))}}function ih(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return Kd(th(n).getFullYear(),e,Bd(i,Id.MinusSign),t)}}var rh={};function oh(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ah(e){return e instanceof Date&&!isNaN(e.valueOf())}var sh,lh=C(function e(){S(this,e)}),uh=((sh=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this)).locale=e,i}return C(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return ll(e)[cl.PluralCase]}(t||this.locale)(e)){case Dd.Zero:return"zero";case Dd.One:return"one";case Dd.Two:return"two";case Dd.Few:return"few";case Dd.Many:return"many";default:return"other"}}}]),n}(lh)).\u0275fac=function(e){return new(e||sh)(Li(fc))},sh.\u0275prov=Le({token:sh,factory:sh.\u0275fac}),sh);function ch(e,t){t=encodeURIComponent(t);var n,i=f(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.indexOf("="),a=p(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],l=a[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(u){i.e(u)}finally{i.f()}return null}var dh,hh,fh,ph=((dh=function(){function e(t,n,i,r){S(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return C(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set: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&&(Ya(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",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 "+Ce(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)})}}]),e}()).\u0275fac=function(e){return new(e||dh)(os(Gl),os(Yl),os(Sl),os(Dl))},dh.\u0275dir=wt({type:dh,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),dh),gh=function(){function e(t,n,i,r){S(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return C(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),vh=((hh=function(){function e(t,n,i){S(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return C(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){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(i){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,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new gh(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new mh(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var l=new mh(e,s);n.push(l)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var a=this._viewContainer.get(r);a.context.index=r,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}}]),e}()).\u0275fac=function(e){return new(e||hh)(os(cu),os(ru),os(Gl))},hh.\u0275dir=wt({type:hh,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),hh),mh=C(function e(t,n){S(this,e),this.record=t,this.view=n}),yh=((fh=function(){function e(t,n){S(this,e),this._viewContainer=t,this._context=new bh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return C(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){wh("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){wh("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)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||fh)(os(cu),os(ru))},fh.\u0275dir=wt({type:fh,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),fh),bh=C(function e(){S(this,e),this.$implicit=null,this.ngIf=null});function wh(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Ce(t),"'."))}var _h,xh,kh,Ah,Ch,Sh=function(){function e(t,n){S(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return C(e,[{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()}}]),e}(),Eh=((Ch=function(){function e(){S(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return C(e,[{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)}}}]),e}()).\u0275fac=function(e){return new(e||Ch)},Ch.\u0275dir=wt({type:Ch,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Ch),Ph=((Ah=function(){function e(t,n,i){S(this,e),this.ngSwitch=i,i._addCase(),this._view=new Sh(t,n)}return C(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}()).\u0275fac=function(e){return new(e||Ah)(os(cu),os(ru),os(Eh,1))},Ah.\u0275dir=wt({type:Ah,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Ah),Dh=((kh=C(function e(t,n,i){S(this,e),i._addDefault(new Sh(t,n))})).\u0275fac=function(e){return new(e||kh)(os(cu),os(ru),os(Eh,1))},kh.\u0275dir=wt({type:kh,selectors:[["","ngSwitchDefault",""]]}),kh),Oh=((xh=function(){function e(t,n,i){S(this,e),this._ngEl=t,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return C(e,[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=p(e.split("."),2),i=n[0],r=n[1];null!=(t=null!=t&&r?"".concat(t).concat(r):t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{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)})}}]),e}()).\u0275fac=function(e){return new(e||xh)(os(Sl),os(Yl),os(Dl))},xh.\u0275dir=wt({type:xh,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),xh),Mh=((_h=function(){function e(t){S(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return C(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var i,r=f(n);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(-1===t.indexOf(o))return!0}}catch(a){r.e(a)}finally{r.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var i=n[t];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),e}()).\u0275fac=function(e){return new(e||_h)(os(cu))},_h.\u0275dir=wt({type:_h,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Tt]}),_h);function Th(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Ce(e),"'"))}var Ih,Rh,Lh,Fh,Bh,zh=function(){function e(){S(this,e)}return C(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),Vh=new(function(){function e(){S(this,e)}return C(e,[{key:"createSubscription",value:function(e,t){return e.then(t,function(e){throw e})}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),Nh=new zh,Hh=((Ih=function(){function e(t){S(this,e),this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return C(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)):this._latestValue:(e&&this._subscribe(e),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(gs(t))return Vh;if(vs(t))return Nh;throw Th(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}()).\u0275fac=function(e){return new(e||Ih)(ic())},Ih.\u0275pipe=_t({name:"async",type:Ih,pure:!1}),Ih),jh=/(?:[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,Uh=((Bh=function(){function e(){S(this,e)}return C(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw Th(e,t);return t.replace(jh,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})}}]),e}()).\u0275fac=function(e){return new(e||Bh)},Bh.\u0275pipe=_t({name:"titlecase",type:Bh,pure:!0}),Bh),Wh=((Fh=function(){function e(){S(this,e)}return C(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw Th(e,t);return t.toUpperCase()}}]),e}()).\u0275fac=function(e){return new(e||Fh)},Fh.\u0275pipe=_t({name:"uppercase",type:Fh,pure:!0}),Fh),Gh=((Lh=function(){function e(t){S(this,e),this.locale=t}return C(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,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Yd(t,n,r||this.locale,i)}catch(o){throw Th(e,o.message)}}}]),e}()).\u0275fac=function(e){return new(e||Lh)(os(fc))},Lh.\u0275pipe=_t({name:"date",type:Lh,pure:!0}),Lh),qh=((Rh=function(){function e(t){S(this,e),this.differs=t,this.keyValues=[]}return C(e,[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Yh;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem(function(e){t.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(n)),this.keyValues}}]),e}()).\u0275fac=function(e){return new(e||Rh)(os(Yl))},Rh.\u0275pipe=_t({name:"keyvalue",type:Rh,pure:!1}),Rh);function Yh(e,t){var n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),o=String(i);return r==o?0:r<o?-1:1}var Zh,Qh=((Zh=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Zh)},Zh.\u0275mod=yt({type:Zh}),Zh.\u0275inj=Be({providers:[{provide:lh,useClass:uh}]}),Zh);function Xh(e){return"browser"===e}var Kh,Jh=((Kh=C(function e(){S(this,e)})).\u0275prov=Le({token:Kh,providedIn:"root",factory:function(){return new $h(Li(ad),window)}}),Kh),$h=function(){function e(t,n){S(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return C(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){var t;if(this.supportsScrolling()){var n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}}},{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,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=ef(this.window.history)||ef(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function ef(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var tf,nf,rf,of,af=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=sf||(sf=document.querySelector("base"))?sf.getAttribute("href"):null;return null==n?null:(t=n,tf||(tf=document.createElement("a")),tf.setAttribute("href",t),"/"===tf.pathname.charAt(0)?tf.pathname:"/"+tf.pathname)}},{key:"resetBaseElement",value:function(){sf=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return ch(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,id||(id=e)}}]),n}(function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.call(this)}return C(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(function(){return C(function e(){S(this,e)})}())),sf=null,lf=new yi("TRANSITION_ID"),uf=[{provide:rc,useFactory:function(e,t,n){return function(){n.get(oc).donePromise.then(function(){var n=rd();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[lf,ad,Ba],multi:!0}],cf=function(){function e(){S(this,e)}return C(e,[{key:"addToWindow",value:function(e){nt.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},nt.getAllAngularTestabilities=function(){return e.getAllTestabilities()},nt.getAllAngularRootElements=function(){return e.getAllRootElements()},nt.frameworkStabilizers||(nt.frameworkStabilizers=[]),nt.frameworkStabilizers.push(function(e){var t=nt.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?rd().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Lc=t}}]),e}(),df=new yi("EventManagerPlugins"),hf=((nf=function(){function e(t,n){var i=this;S(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return C(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)}}]),e}()).\u0275fac=function(e){return new(e||nf)(Li(df),Li(Cc))},nf.\u0275prov=Le({token:nf,factory:nf.\u0275fac}),nf),ff=function(){function e(t){S(this,e),this._doc=t}return C(e,[{key:"addGlobalEventListener",value:function(e,t,n){var i=rd().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}]),e}(),pf=((of=function(){function e(){S(this,e),this._stylesSet=new Set}return C(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}()).\u0275fac=function(e){return new(e||of)},of.\u0275prov=Le({token:of,factory:of.\u0275fac}),of),gf=((rf=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this))._doc=e,i._hostNodes=new Set,i._styleNodes=new Set,i._hostNodes.add(e.head),i}return C(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach(function(e){var i=n._doc.createElement("style");i.textContent=e,n._styleNodes.add(t.appendChild(i))})}},{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 rd().remove(e)})}}]),n}(pf)).\u0275fac=function(e){return new(e||rf)(Li(ad))},rf.\u0275prov=Le({token:rf,factory:rf.\u0275fac}),rf),vf={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/"},mf=/%COMP%/g;function yf(e,t,n){for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?yf(e,r,n):(r=r.replace(mf,e),n.push(r))}return n}function bf(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var wf,_f,xf,kf,Af,Cf,Sf,Ef,Pf,Df=((wf=function(){function e(t,n,i){S(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Of(t)}return C(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ke.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Mf(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case Ke.ShadowDom:return new Tf(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=yf(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||wf)(Li(hf),Li(gf),Li(ac))},wf.\u0275prov=Le({token:wf,factory:wf.\u0275fac}),wf),Of=function(){function e(t){S(this,e),this.eventManager=t,this.data=Object.create(null)}return C(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(vf[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,i){if(i){t=i+":"+t;var r=vf[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var i=vf[n];i?e.removeAttributeNS(i,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,i){i&(Br.DashCase|Br.Important)?e.style.setProperty(t,n,i&Br.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&Br.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,bf(n)):this.eventManager.addEventListener(e,t,bf(n))}}]),e}(),Mf=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;S(this,n),(a=t.call(this,e)).component=r;var s=yf(o+"-"+r.id,r.styles,[]);return i.addStyles(s),a.contentAttr="_ngcontent-%COMP%".replace(mf,o+"-"+r.id),a.hostAttr="_nghost-%COMP%".replace(mf,o+"-"+r.id),a}return C(n,[{key:"applyToHost",value:function(e){i(d(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=i(d(n.prototype),"createElement",this).call(this,e,t);return i(d(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(Of),Tf=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;S(this,n),(a=t.call(this,e)).sharedStylesHost=i,a.hostEl=r,a.shadowRoot=r.attachShadow({mode:"open"}),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=yf(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 C(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return i(d(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return i(d(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return i(d(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(i(d(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(Of),If=((_f=function(e){o(n,e);var t=s(n);function n(e){return S(this,n),t.call(this,e)}return C(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var i=this;return e.addEventListener(t,n,!1),function(){return i.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(ff)).\u0275fac=function(e){return new(e||_f)(Li(ad))},_f.\u0275prov=Le({token:_f,factory:_f.\u0275fac}),_f),Rf={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Lf=new yi("HammerGestureConfig"),Ff=new yi("HammerLoader"),Bf=((xf=function(){function e(){S(this,e),this.events=[],this.overrides={}}return C(e,[{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}}]),e}()).\u0275fac=function(e){return new(e||xf)},xf.\u0275prov=Le({token:xf,factory:xf.\u0275fac}),xf),zf=[{provide:df,useClass:(kf=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e))._config=i,a.console=r,a.loader=o,a._loaderPromise=null,a}return C(n,[{key:"supports",value:function(e){return!(!Rf.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}},{key:"addEventListener",value:function(e,t,n){var i=this,r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();var o=!1,a=function(){o=!0};return this._loaderPromise.then(function(){window.Hammer?o||(a=i.addEventListener(e,t,n)):a=function(){}}).catch(function(){a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var o=i._config.buildHammer(e),a=function(e){r.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}}]),n}(ff),kf.\u0275fac=function(e){return new(e||kf)(Li(ad),Li(Lf),Li(hc),Li(Ff,8))},kf.\u0275prov=Le({token:kf,factory:kf.\u0275fac}),kf),multi:!0,deps:[ad,Lf,hc,[new ji,Ff]]},{provide:Lf,useClass:Bf,deps:[]}],Vf=((Af=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Af)},Af.\u0275mod=yt({type:Af}),Af.\u0275inj=Be({providers:zf}),Af),Nf=["alt","control","meta","shift"],Hf={"\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"},jf={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"},Uf={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Wf=((Ef=function(e){o(n,e);var t=s(n);function n(e){return S(this,n),t.call(this,e)}return C(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var r=n.parseEventName(t),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return rd().onAndCancel(e,r.domEventName,o)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),o="";if(Nf.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&jf.hasOwnProperty(t)&&(t=jf[t]))}return Hf[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Nf.forEach(function(i){i!=n&&(0,Uf[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(ff)).\u0275fac=function(e){return new(e||Ef)(Li(ad))},Ef.\u0275prov=Le({token:Ef,factory:Ef.\u0275fac}),Ef),Gf=((Sf=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Sf)},Sf.\u0275prov=Le({factory:function(){return Li(qf)},token:Sf,providedIn:"root"}),Sf),qf=((Cf=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this))._doc=e,i}return C(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Ar.NONE:return t;case Ar.HTML:return $i(t,"HTML")?Ji(t):xr(this._doc,String(t)).toString();case Ar.STYLE:return $i(t,"Style")?Ji(t):t;case Ar.SCRIPT:if($i(t,"Script"))return Ji(t);throw new Error("unsafe value used in a script context");case Ar.URL:return er(t),$i(t,"URL")?Ji(t):or(String(t));case Ar.RESOURCE_URL:if($i(t,"ResourceURL"))return Ji(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new Yi(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new Zi(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new Qi(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new Xi(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new Ki(e)}}]),n}(Gf)).\u0275fac=function(e){return new(e||Cf)(Li(ad))},Cf.\u0275prov=Le({factory:function(){return e=Li(_a),new qf(e.get(ad));var e},token:Cf,providedIn:"root"}),Cf),Yf=Hc($c,"browser",[{provide:cc,useValue:"browser"},{provide:uc,useValue:function(){af.makeCurrent(),cf.init()},multi:!0},{provide:ad,useFactory:function(){return function(e){Bt=e}(document),document},deps:[]}]),Zf=[[],{provide:ka,useValue:"root"},{provide:Mr,useFactory:function(){return new Mr},deps:[]},{provide:df,useClass:If,multi:!0,deps:[ad,Cc,cc]},{provide:df,useClass:Wf,multi:!0,deps:[ad]},[],{provide:Df,useClass:Df,deps:[hf,gf,ac]},{provide:Pl,useExisting:Df},{provide:pf,useExisting:gf},{provide:gf,useClass:gf,deps:[ad]},{provide:Ic,useClass:Ic,deps:[Cc]},{provide:hf,useClass:hf,deps:[df,Cc]},[]],Qf=((Pf=function(){function e(t){if(S(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 C(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:ac,useValue:t.appId},{provide:lf,useExisting:ac},uf]}}}]),e}()).\u0275fac=function(e){return new(e||Pf)(Li(Pf,12))},Pf.\u0275mod=yt({type:Pf}),Pf.\u0275inj=Be({providers:Zf,imports:[Qh,td]}),Pf);"undefined"!=typeof window&&window;var Xf=C(function e(){S(this,e)});function Kf(e,t){return{type:7,name:e,definitions:t,options:{}}}function Jf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function $f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function ep(e){return{type:6,styles:e,offset:null}}function tp(e,t,n){return{type:0,name:e,styles:t,options:n}}function np(e){return{type:5,steps:e}}function ip(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function rp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function op(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function ap(e){Promise.resolve(null).then(e)}var sp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;S(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return C(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;ap(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){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),lp=function(){function e(t){var n=this;S(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 i=0,r=0,o=0,a=this.players.length;0==a?ap(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return C(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}();function up(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function cp(e){switch(e.length){case 0:return new sp;case 1:return e[0];default:return new lp(e)}}function dp(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],l=-1,u=null;if(i.forEach(function(e){var n=e.offset,i=n==l,c=i&&u||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),s){case"!":s=r[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,i,s,a)}c[i]=s}),i||s.push(c),u=c,l=n}),a.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(a.join(c)))}return s}function hp(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&fp(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&fp(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&fp(n,"destroy",e))})}}function fp(e,t,n){var i=n.totalTime,r=pp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function pp(e,t,n,i){var r=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:i,phaseName:r,totalTime:o,disabled:!!a}}function gp(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function vp(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var mp=function(e,t){return!1},yp=function(e,t){return!1},bp=function(e,t,n){return[]},wp=up();(wp||"undefined"!=typeof Element)&&(mp=function(e,t){return e.contains(t)},yp=function(){if(wp||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])}:yp}(),bp=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o<r.length;o++)i.push(r[o]);else{var a=e.querySelector(t);a&&i.push(a)}return i});var _p=null,xp=!1;function kp(e){_p||(_p=("undefined"!=typeof document?document.body:null)||{},xp=!!_p.style&&"WebkitAppearance"in _p.style);var t=!0;return _p.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in _p.style)&&xp)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in _p.style),t}var Ap=yp,Cp=mp,Sp=bp;function Ep(e){var t={};return Object.keys(e).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}var Pp,Dp=((Pp=function(){function e(){S(this,e)}return C(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return Ap(e,t)}},{key:"containsElement",value:function(e,t){return Cp(e,t)}},{key:"query",value:function(e,t,n){return Sp(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,r){return new sp(n,i)}}]),e}()).\u0275fac=function(e){return new(e||Pp)},Pp.\u0275prov=Le({token:Pp,factory:Pp.\u0275fac}),Pp),Op=function(){var e=C(function e(){S(this,e)});return e.NOOP=new Dp,e}();function Mp(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Tp(parseFloat(t[1]),t[2])}function Tp(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ip(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=Tp(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=Tp(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else i=e;if(!n){var u=!1,c=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<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:i,delay:r,easing:o}}(e,t,n)}function Rp(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 Lp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else Rp(e,n);return n}function Fp(e,t,n){return n?t+":"+n+";":""}function Bp(e){for(var t="",n=0;n<e.style.length;n++){var i=e.style.item(n);t+=Fp(0,i,e.style.getPropertyValue(i))}for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=Fp(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function zp(e,t,n){e.style&&(Object.keys(t).forEach(function(i){var r=qp(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),up()&&Bp(e))}function Vp(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=qp(t);e.style[n]=""}),up()&&Bp(e))}function Np(e){return Array.isArray(e)?1==e.length?e[0]:$f(e):e}var Hp=new RegExp("{{\\s*(.+?)\\s*}}","g");function jp(e){var t=[];if("string"==typeof e){for(var n;n=Hp.exec(e);)t.push(n[1]);Hp.lastIndex=0}return t}function Up(e,t,n){var i=e.toString(),r=i.replace(Hp,function(e,i){var r=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?e:r}function Wp(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Gp=/-+([a-z0-9])/g;function qp(e){return e.replace(Gp,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function Yp(e,t){return 0===e||0===t}function Zp(e,t,n){var i=Object.keys(n);if(i.length&&t.length){var r=t[0],o=[];if(i.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=n[e]}),o.length)for(var a=function(){var n=t[s];o.forEach(function(t){n[t]=Xp(e,t)})},s=1;s<t.length;s++)a()}return t}function Qp(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 Xp(e,t){return window.getComputedStyle(e)[t]}var Kp=new Set(["true","1"]),Jp=new Set(["false","0"]);function $p(e,t){var n=Kp.has(e)||Jp.has(e),i=Kp.has(t)||Jp.has(t);return function(r,o){var a="*"==e||e==r,s="*"==t||t==o;return!a&&n&&"boolean"==typeof r&&(a=r?Kp.has(e):Jp.has(e)),!s&&i&&"boolean"==typeof o&&(s=o?Kp.has(t):Jp.has(t)),a&&s}}var eg=new RegExp("s*:selfs*,?","g");function tg(e,t,n){return new ng(e).build(t,n)}var ng=function(){function e(t){S(this,e),this._driver=t}return C(e,[{key:"build",value:function(e,t){var n=new ig(t);return this._resetContextStyleTimingState(n),Qp(this,Np(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,i=t.queryCount=0,r=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);i+=u.queryCount,r+=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:i,depCount:r,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(e){if(rg(e)){var t=e;Object.keys(t).forEach(function(e){jp(t[e]).forEach(function(e){o.hasOwnProperty(e)||r.add(e)})})}}),r.size){var a=Wp(r.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:i?{params:i}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,i,r,o=Qp(this,Np(e.animation),t);return{type:1,matchers:(n=e.expr,i=t.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var i=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 i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push($p(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push($p(s,o))}(e,r,i)}):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:og(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Qp(n,e,t)}),options:og(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=Qp(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:og(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 ag(Ip(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=ag(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ag((n=n||Ip(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:ep({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=ep(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}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?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,r=null;return n.forEach(function(e){if(rg(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,l,u,c,d=t.collectedStyles[t.currentQuerySelector],h=d[i],f=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),f=!1),o=h.startTime),f&&(d[i]={startTime:o,endTime:r}),t.options&&(a=e[i],s=t.options,l=t.errors,u=s.params||{},(c=jp(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(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(rg(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(rg(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),i});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,d=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(d=1/(c-1));var h=c-1,f=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return u.forEach(function(e,r){var a=d>0?r==h?1:d*r:o[r],s=a*g;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:Qp(this,Np(e.animation),t),options:og(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:og(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:og(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=p(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(eg,"")),[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=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,gp(t.collectedStyles,t.currentQuerySelector,{});var s=Qp(this,Np(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:og(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"}:Ip(e.timings,t.errors,!0);return{type:12,animation:Qp(this,Np(e.animation),t),timings:n,options:null}}}]),e}(),ig=C(function e(t){S(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 rg(e){return!Array.isArray(e)&&"object"==typeof e}function og(e){var t;return e?(e=Rp(e)).params&&(e.params=(t=e.params)?Rp(t):null):e={},e}function ag(e,t,n){return{duration:e,delay:t,easing:n}}function sg(e,t,n,i,r,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:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var lg=function(){function e(){S(this,e),this._map=new Map}return C(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,m(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ug=new RegExp(":enter","g"),cg=new RegExp(":leave","g");function dg(e,t,n,i,r){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 hg).buildKeyframes(e,t,n,i,r,o,a,s,l,u)}var hg=function(){function e(){S(this,e)}return C(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new lg;var c=new pg(e,t,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Qp(this,n,c);var d=c.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(a).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,c.errors,s)}return d.length?d.map(function(e){return e.buildKeyframes()}):[sg(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 i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=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 i=t.currentTimeline.currentTime,r=null!=n.duration?Mp(n.duration):null,o=null!=n.delay?Mp(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),Qp(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=fg);var a=Mp(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return Qp(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Mp(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),Qp(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return Ip(t.params?Up(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),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Mp(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=fg);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(l=s.currentTimeline),Qp(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,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Qp(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),e}(),fg={},pg=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new gg(this._driver,n,0),s.push(this.currentTimeline)}return C(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=Mp(i.duration)),null!=i.delay&&(r.delay=Mp(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=Up(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,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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=fg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new vg(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{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,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ug,"."+this._enterClassName)).replace(cg,"."+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,m(s))}return r||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),gg=function(){function e(t,n,i,r){S(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return C(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]||"*",t._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},a=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]="*"}):Lp(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=Up(a[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:"*"),r._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 i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.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,r=[];this._keyframes.forEach(function(o,a){var s=Lp(o,!0);Object.keys(s).forEach(function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)}),i||(s.offset=a/e.duration),r.push(s)});var o=t.size?Wp(t.values()):[],a=n.size?Wp(n.values()):[];if(i){var s=r[0],l=Rp(s);s.offset=0,l.offset=1,r=[s,l]}return sg(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),e}(),vg=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return S(this,n),(l=t.call(this,e,i,s.delay)).element=i,l.keyframes=r,l.preStyleProps=o,l.postStyleProps=a,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return C(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=Lp(e[0],!1);l.offset=0,o.push(l);var u=Lp(e[0],!1);u.offset=mg(s),o.push(u);for(var c=e.length-1,d=1;d<=c;d++){var h=Lp(e[d],!1);h.offset=mg((n+h.offset*i)/a),o.push(h)}i=a,n=0,r="",e=o}return sg(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(gg);function mg(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 yg=C(function e(){S(this,e)}),bg=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"normalizePropertyName",value:function(e,t){return qp(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(wg[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(yg),wg=function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function _g(e,t,n,i,r,o,a,s,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var xg={},kg=function(){function e(t,n,i){S(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return C(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||xg,h=this.buildStyles(n,a&&a.params||xg,c),f=s&&s.params||xg,p=this.buildStyles(i,f,c),g=new Set,v=new Map,m=new Map,y="void"===i,b={params:Object.assign(Object.assign({},d),f)},w=u?[]:dg(e,t,this.ast.animation,r,o,h,p,b,l,c),_=0;if(w.forEach(function(e){_=Math.max(e.duration+e.delay,_)}),c.length)return _g(t,this._triggerName,n,i,y,h,p,[],[],v,m,_,c);w.forEach(function(e){var n=e.element,i=gp(v,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=gp(m,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var x=Wp(g.values());return _g(t,this._triggerName,n,i,y,h,p,w,x,v,m,_)}}]),e}(),Ag=function(){function e(t,n){S(this,e),this.styles=t,this.defaultParams=n}return C(e,[{key:"buildStyles",value:function(e,t){var n={},i=Rp(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=Up(o,i,t)),n[e]=o})}}),n}}]),e}(),Cg=function(){function e(t,n){var i=this;S(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new Ag(e.style,e.options&&e.options.params||{})}),Sg(this.states,"true","1"),Sg(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new kg(t,e,i.states))}),this.fallbackTransition=new kg(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return C(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Sg(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Eg=new lg,Pg=function(){function e(t,n,i){S(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return C(e,[{key:"register",value:function(e,t){var n=[],i=tg(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]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=dp(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=dg(this._driver,t,a,"ng-enter","ng-leave",{},{},r,Eg,o)).forEach(function(e){var t=gp(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,"*")})});var l=cp(n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return i.destroy(e)}),this.players.push(l),l}},{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,i){var r=pp(t,"","","");return hp(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Dg=[],Og={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mg={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tg=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";S(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=Rp(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return C(e,[{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])})}}}]),e}(),Ig=new Tg("void"),Rg=function(){function e(t,n,i){S(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Hg(n,this._hostClassName)}return C(e,[{key:"listen",value:function(e,t,n,i){var r,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"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=gp(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var l=gp(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Hg(e,"ng-trigger"),Hg(e,"ng-trigger-"+t),l[t]=Ig),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 i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Fg(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Hg(e,"ng-trigger"),Hg(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new Tg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Ig),"void"===u.value||l.value!==u.value){var c=gp(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=o.matchTransition(l.value,u.value,e,u.params),h=!1;if(!d){if(!r)return;d=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:h}),h||(Hg(e,"ng-animate-queued"),a.onStart(function(){jg(e,"ng-animate-queued")})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,u.params)){var f=[],p=o.matchStyles(l.value,l.params,f),g=o.matchStyles(u.value,u.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){Vp(e,p),zp(e,g)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,i){t._elementListeners.set(i,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,i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var r=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach(function(t){if(r._triggers[t]){var n=r.trigger(e,t,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&cp(a).onDone(function(){return r._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var a=t._triggers[o].fallbackTransition,s=i[o]||Ig,l=new Tg("void"),u=new Fg(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:a,fromState:s,toState:l,player:u,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else for(var a=e;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Og||(i.afterFlush(function(){return n.clearElementCache(e)}),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Hg(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=t._elementListeners.get(o);a&&a.forEach(function(t){if(t.name==i.triggerName){var n=pp(o,i.triggerName,i.fromState.value,i.toState.value);n._data=e,hp(i.player,t.phase,n,t.callback)}}),r.markedForDestroy?t._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),Lg=function(){function e(t,n,i){S(this,e),this.bodyNode=t,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return C(e,[{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 Rg(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 i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||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 i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.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 i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,i){if(Bg(t)){var r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1}},{key:"insertNode",value:function(e,t,n,i){if(Bg(t)){var r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&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),Hg(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),jg(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Bg(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Bg(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{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 cp(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=Og,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.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 i=0;i<this.collectedEnterElements.length;i++)Hg(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,t)}finally{for(var o=0;o<r.length;o++)r[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?cp(n).onDone(function(){s.forEach(function(e){return e()})}):s.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,i=new lg,r=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(function(e){c.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),i=0;i<t.length;i++)c.add(t[i])});var d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=Ng(h,this.collectedEnterElements),p=new Map,g=0;f.forEach(function(e,t){var n="ng-enter"+g++;p.set(t,n),e.forEach(function(e){return Hg(e,n)})});for(var v=[],y=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++){var _=this.collectedLeaveElements[w],x=_.__ng_removed;x&&x.setForRemoval&&(v.push(_),y.add(_),x.hasAnimation?this.driver.query(_,".ng-star-inserted",!0).forEach(function(e){return y.add(e)}):b.add(_))}var k=new Map,A=Ng(h,Array.from(y));A.forEach(function(e,t){var n="ng-leave"+g++;k.set(t,n),e.forEach(function(e){return Hg(e,n)})}),e.push(function(){f.forEach(function(e,t){var n=p.get(t);e.forEach(function(e){return jg(e,n)})}),A.forEach(function(e,t){var n=k.get(t);e.forEach(function(e){return jg(e,n)})}),v.forEach(function(e){n.processLeaveNode(e)})});for(var C=[],S=[],E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(C.push(t),n.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,o),f=k.get(o),g=p.get(o),v=n._buildInstruction(e,i,g,f,h);if(v.errors&&v.errors.length)S.push(v);else{if(h)return t.onStart(function(){return Vp(o,v.fromStyles)}),t.onDestroy(function(){return zp(o,v.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return Vp(o,v.fromStyles)}),t.onDestroy(function(){return zp(o,v.toStyles)}),void r.push(t);v.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,v.timelines),a.push({instruction:v,player:t,element:o}),v.queriedElements.forEach(function(e){return gp(s,e,[]).push(t)}),v.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),v.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=u.get(t);i||u.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(S.length){var P=[];S.forEach(function(e){P.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return P.push("- ".concat(e,"\n"))})}),C.forEach(function(e){return e.destroy()}),this.reportError(P)}var D=new Map,O=new Map;a.forEach(function(e){var t=e.element;i.has(t)&&(O.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,D))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){gp(D,t,[]).push(e),e.destroy()})});var M=v.filter(function(e){return Gg(e,l,u)}),T=new Map;Vg(T,this.driver,b,u,"*").forEach(function(e){Gg(e,l,u)&&M.push(e)});var I=new Map;f.forEach(function(e,t){Vg(I,n.driver,new Set(e),l,"!")}),M.forEach(function(e){var t=T.get(e),n=I.get(e);T.set(e,Object.assign(Object.assign({},t),n))});var R=[],L=[],F={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(i.has(t)){if(c.has(t))return a.onDestroy(function(){return zp(t,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void r.push(a);var l=F;if(O.size>1){for(var u=t,d=[];u=u.parentNode;){var h=O.get(u);if(h){l=h;break}d.push(u)}d.forEach(function(e){return O.set(e,l)})}var f=n._buildAnimation(a.namespaceId,s,D,o,I,T);if(a.setRealPlayer(f),l===F)R.push(a);else{var p=n.playersByElement.get(l);p&&p.length&&(a.parentPlayer=cp(p)),r.push(a)}}else Vp(t,s.fromStyles),a.onDestroy(function(){return zp(t,s.toStyles)}),L.push(a),c.has(t)&&r.push(a)}),L.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=cp(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var B=0;B<v.length;B++){var z=v[B],V=z.__ng_removed;if(jg(z,"ng-leave"),!V||!V.hasAnimation){var N=[];if(s.size){var H=s.get(z);H&&H.length&&N.push.apply(N,m(H));for(var j=this.driver.query(z,".ng-animating",!0),U=0;U<j.length;U++){var W=s.get(j[U]);W&&W.length&&N.push.apply(N,m(W))}}var G=N.filter(function(e){return!e.destroyed});G.length?Ug(this,z,G):this.processLeaveNode(z)}}return v.length=0,R.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()}),R}},{key:"elementContainsData",value:function(e,t){var n=!1,i=t.__ng_removed;return i&&i.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,i,r){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var l=!r||"void"==r;s.forEach(function(e){e.queued||(l||e.triggerName==i)&&o.push(e)})}}return(n||i)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||i&&i!=e.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var i,r=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,l=f(t.timelines);try{var u=function(){var e=i.value.element,l=e!==o,u=gp(n,e,[]);r._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();!(i=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}Vp(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,i,r,o){var a=this,s=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,h=t.timelines.map(function(t){var h=t.element;c.add(h);var f=h.__ng_removed;if(f&&f.removedBeforeQueried)return new sp(t.duration,t.delay);var p,g,v=h!==l,m=(p=(n.get(h)||Dg).map(function(e){return e.getRealPlayer()}),g=[],Wg(p,g),g).filter(function(e){return!!e.element&&e.element===h}),y=r.get(h),b=o.get(h),w=dp(0,a._normalizer,0,t.keyframes,y,b),_=a._buildPlayer(t,w,m);if(t.subTimeline&&i&&d.add(h),v){var x=new Fg(e,s,h);x.setRealPlayer(_),u.push(x)}return _});u.forEach(function(e){gp(a.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var i;if(e instanceof Map){if(i=e.get(t)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&e.delete(t)}}else if(i=e[t]){if(i.length){var o=i.indexOf(n);i.splice(o,1)}0==i.length&&delete e[t]}return i}(a.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return Hg(e,"ng-animating")});var f=cp(h);return f.onDestroy(function(){c.forEach(function(e){return jg(e,"ng-animating")}),zp(l,t.toStyles)}),d.forEach(function(e){gp(i,e,[]).push(f)}),f}},{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 sp(e.duration,e.delay)}}]),e}(),Fg=function(){function e(t,n,i){S(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new sp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return C(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return hp(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){gp(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Bg(e){return e&&1===e.nodeType}function zg(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Vg(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(zg(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Mg,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return zg(e,o[s++])}),a}function Ng(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function Hg(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function jg(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ug(e,t,n){cp(n).onDone(function(){return e.processLeaveNode(t)})}function Wg(e,t){for(var n=0;n<e.length;n++){var i=e[n];i instanceof lp?Wg(i.players,t):t.push(i)}}function Gg(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach(function(e){return r.add(e)}):t.set(e,i),n.delete(e),!0}var qg=function(){function e(t,n,i){var r=this;S(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Lg(t,n,i),this._timelineEngine=new Pg(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return C(e,[{key:"registerTrigger",value:function(e,t,n,i,r){var o=e+"-"+i,a=this._triggerCache[o];if(!a){var s=[],l=tg(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new Cg(e,t)}(i,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,i,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,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var r=p(vp(n),2),o=r[0],a=r[1];this._timelineEngine.command(o,t,a,i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,r){if("@"==n.charAt(0)){var o=p(vp(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,r)}return this._transitionEngine.listen(e,t,n,i,r)}},{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()}}]),e}();function Yg(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=Qg(t[0]),t.length>1&&(i=Qg(t[t.length-1]))):t&&(n=Qg(t)),n||i?new Zg(e,n,i):null}var Zg=function(){var e=function(){function e(t,n,i){S(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return C(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&zp(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(zp(this._element,this._initialStyles),this._endStyles&&(zp(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&&(Vp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vp(this._element,this._endStyles),this._endStyles=null),zp(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Qg(e){for(var t=null,n=Object.keys(e),i=0;i<n.length;i++){var r=n[i];Xg(r)&&((t=t||{})[r]=e[r])}return t}function Xg(e){return"display"===e||"position"===e}var Kg=function(){function e(t,n,i,r,o,a,s){var l=this;S(this,e),this._element=t,this._name=n,this._duration=i,this._delay=r,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)}}return C(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=iv(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),nv(e,"",t),tv(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Jg(this._element,this._name,"paused")}},{key:"resume",value:function(){Jg(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=$g(this._element,this._name);this._position=e*this._duration,nv(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(),tv(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=iv(e,"").split(","),(i=ev(n,t))>=0&&(n.splice(i,1),nv(e,"",n.join(","))))}}]),e}();function Jg(e,t,n){nv(e,"PlayState",n,$g(e,t))}function $g(e,t){var n=iv(e,"");return n.indexOf(",")>0?ev(n.split(","),t):ev([n],t)}function ev(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function tv(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function nv(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function iv(e,t){return e.style["animation"+t]||""}var rv=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,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=r+o,this._buildStyler()}return C(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new Kg(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(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:Xp(e.element,i))})}this.currentSnapshot=t}}]),e}(),ov=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=Ep(i),r}return C(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),i(d(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),i(d(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,i(d(n.prototype),"destroy",this).call(this))}}]),n}(sp),av=function(){function e(){S(this,e),this._count=0,this._head=document.querySelector("head")}return C(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return Ap(e,t)}},{key:"containsElement",value:function(e,t){return Cp(e,t)}},{key:"query",value:function(e,t,n){return Sp(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 Ep(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+=r+"}\n"}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof rv}),s={};Yp(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Zp(e,t,s));if(0==n)return new ov(e,l);var u="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(c);var d=Yg(e,t),h=new rv(e,t,u,n,i,r,l,d);return h.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),h}}]),e}(),sv=function(){function e(t,n,i,r){S(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return C(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),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]:Xp(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}}]),e}(),lv=function(){function e(){S(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(uv().toString()),this._cssKeyframesDriver=new av}return C(e,[{key:"validateStyleProperty",value:function(e){return kp(e)}},{key:"matchesElement",value:function(e,t){return Ap(e,t)}},{key:"containsElement",value:function(e,t){return Cp(e,t)}},{key:"query",value:function(e,t,n){return Sp(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,i,r){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,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var l={},u=o.filter(function(e){return e instanceof sv});Yp(n,i)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=Yg(e,t=Zp(e,t=t.map(function(e){return Lp(e,!1)}),l));return new sv(e,t,s,c)}}]),e}();function uv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var cv,dv=((cv=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._nextAnimationId=0,r._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Ke.None,styles:[],data:{animation:[]}}),r}return C(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?$f(e):e;return pv(this._renderer,null,t,"register",[n]),new hv(t,this._renderer)}}]),n}(Xf)).\u0275fac=function(e){return new(e||cv)(Li(Pl),Li(ad))},cv.\u0275prov=Le({token:cv,factory:cv.\u0275fac}),cv),hv=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return C(n,[{key:"create",value:function(e,t){return new fv(this._id,e,t||{},this._renderer)}}]),n}(function(){return C(function e(){S(this,e)})}()),fv=function(){function e(t,n,i,r){S(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return C(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return pv(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(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function pv(e,t,n,i,r){return e.setProperty(t,"@@".concat(n,":").concat(i),r)}var gv,vv,mv,yv=((gv=function(){function e(t,n,i){S(this,e),this.delegate=t,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return C(e,[{key:"createRenderer",value:function(e,t){var n=this,i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var r=this._rendererCache.get(i);return r||(r=new bv("",i,this.engine),this._rendererCache.set(i,r)),r}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach(function t(i){Array.isArray(i)?i.forEach(t):n.engine.registerTrigger(o,a,e,i.name,i)}),new wv(this,a,i,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 i=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(e){var t=p(e,2);(0,t[0])(t[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||gv)(Li(Pl),Li(qg),Li(Cc))},gv.\u0275prov=Le({token:gv,factory:gv.\u0275fac}),gv),bv=function(){function e(t,n,i){S(this,e),this.namespaceId=t,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return C(e,[{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){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{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,i){this.delegate.setAttribute(e,t,n,i)}},{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,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),wv=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,i,r,o)).factory=e,a.namespaceId=i,a}return C(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,r,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)&&(r=(i=l).indexOf("."),l=(a=p([i.substring(0,r),i.substr(r+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)}}]),n}(bv),_v=((vv=function(e){o(n,e);var t=s(n);function n(e,i,r){return S(this,n),t.call(this,e.body,i,r)}return C(n)}(qg)).\u0275fac=function(e){return new(e||vv)(Li(ad),Li(Op),Li(yg))},vv.\u0275prov=Le({token:vv,factory:vv.\u0275fac}),vv),xv=new yi("AnimationModuleType"),kv=[{provide:Op,useFactory:function(){return"function"==typeof uv()?new lv:new av}},{provide:xv,useValue:"BrowserAnimations"},{provide:Xf,useClass:dv},{provide:yg,useFactory:function(){return new bg}},{provide:qg,useClass:_v},{provide:Pl,useFactory:function(e,t,n){return new yv(e,t,n)},deps:[Df,qg,Cc]}],Av=((mv=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||mv)},mv.\u0275mod=yt({type:mv}),mv.\u0275inj=Be({providers:kv,imports:[Qf]}),mv);function Cv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var i=t[0];if(E(i))return Sv(i,null);if(P(i)&&Object.getPrototypeOf(i)===Object.prototype){var r=Object.keys(i);return Sv(r.map(function(e){return i[e]}),r)}}if("function"==typeof t[t.length-1]){var o=t.pop();return Sv(t=1===t.length&&E(t[0])?t[0]:t,null).pipe(Z(function(e){return o.apply(void 0,m(e))}))}return Sv(t,null)}function Sv(e,t){return new V(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var l=re(e[s]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,a++),r[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==i&&u||(a===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},l=0;l<i;l++)s(l);else n.complete()})}var Ev,Pv,Dv=C(function e(){S(this,e)}),Ov=new yi("NgValueAccessor"),Mv={provide:Ov,useExisting:Pe(function(){return Tv}),multi:!0},Tv=((Ev=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r.onChange=function(e){},r.onTouched=function(){},r}return C(n,[{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)}}]),n}(Dv)).\u0275fac=function(e){return new(e||Ev)(os(Dl),os(Sl))},Ev.\u0275dir=wt({type:Ev,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&ys("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[bl([Mv]),Va]}),Ev),Iv={provide:Ov,useExisting:Pe(function(){return Lv}),multi:!0},Rv=new yi("CompositionEventMode"),Lv=((Pv=function(){function e(t,n,i){var r;S(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=rd()?rd().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return C(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}()).\u0275fac=function(e){return new(e||Pv)(os(Dl),os(Sl),os(Rv,8))},Pv.\u0275dir=wt({type:Pv,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&ys("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[bl([Iv])]}),Pv);function Fv(e){return null==e||0===e.length}function Bv(e){return null!=e&&"number"==typeof e.length}var zv=new yi("NgValidators"),Vv=new yi("NgAsyncValidators"),Nv=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Hv=function(){function e(){S(this,e)}return C(e,null,[{key:"min",value:function(e){return function(e){return function(t){if(Fv(t.value)||Fv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)}},{key:"max",value:function(e){return function(e){return function(t){if(Fv(t.value)||Fv(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return jv(e)}},{key:"requiredTrue",value:function(e){return function(e){return!0===e.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function(e){return Fv(e.value)||Nv.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return Fv(t.value)||!Bv(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"maxLength",value:function(e){return Uv(e)}},{key:"pattern",value:function(e){return Wv(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return Kv(e)}},{key:"composeAsync",value:function(e){return $v(e)}}]),e}();function jv(e){return Fv(e.value)?{required:!0}:null}function Uv(e){return function(t){return Bv(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}function Wv(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(Fv(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):Gv;var t,n}function Gv(e){return null}function qv(e){return null!=e}function Yv(e){var t=gs(e)?re(e):e;return ms(t),t}function Zv(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Qv(e,t){return t.map(function(t){return t(e)})}function Xv(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function Kv(e){if(!e)return null;var t=e.filter(qv);return 0==t.length?null:function(e){return Zv(Qv(e,t))}}function Jv(e){return null!=e?Kv(Xv(e)):null}function $v(e){if(!e)return null;var t=e.filter(qv);return 0==t.length?null:function(e){return Cv(Qv(e,t).map(Yv)).pipe(Z(Zv))}}function em(e){return null!=e?$v(Xv(e)):null}function tm(e,t){return null===e?[t]:Array.isArray(e)?[].concat(m(e),[t]):[e,t]}function nm(e){return e._rawValidators}function im(e){return e._rawAsyncValidators}var rm,om,am,sm,lm=((om=function(){function e(){S(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return C(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:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=Jv(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=em(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{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}}]),e}()).\u0275fac=function(e){return new(e||om)},om.\u0275dir=wt({type:om}),om),um=((rm=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(lm)).\u0275fac=function(e){return cm(e||rm)},rm.\u0275dir=wt({type:rm,features:[Va]}),rm),cm=fi(um),dm=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return C(n)}(lm),hm=function(){function e(t){S(this,e),this._cd=t}return C(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}(),fm=((sm=function(e){o(n,e);var t=s(n);function n(e){return S(this,n),t.call(this,e)}return C(n)}(hm)).\u0275fac=function(e){return new(e||sm)(os(dm,2))},sm.\u0275dir=wt({type:sm,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&Bs("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[Va]}),sm),pm=((am=function(e){o(n,e);var t=s(n);function n(e){return S(this,n),t.call(this,e)}return C(n)}(hm)).\u0275fac=function(e){return new(e||am)(os(um,10))},am.\u0275dir=wt({type:am,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&Bs("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[Va]}),am);function gm(e,t){return[].concat(m(t.path),[e])}function vm(e,t){bm(e,t,!0),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&&_m(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&_m(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function mm(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),wm(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function ym(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function bm(e,t,n){var i=nm(e);null!==t.validator?e.setValidators(tm(i,t.validator)):"function"==typeof i&&e.setValidators([i]);var r=im(e);if(null!==t.asyncValidator?e.setAsyncValidators(tm(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){var o=function(){return e.updateValueAndValidity()};ym(t._rawValidators,o),ym(t._rawAsyncValidators,o)}}function wm(e,t,n){var i=!1;if(null!==e){if(null!==t.validator){var r=nm(e);if(Array.isArray(r)&&r.length>0){var o=r.filter(function(e){return e!==t.validator});o.length!==r.length&&(i=!0,e.setValidators(o))}}if(null!==t.asyncValidator){var a=im(e);if(Array.isArray(a)&&a.length>0){var s=a.filter(function(e){return e!==t.asyncValidator});s.length!==a.length&&(i=!0,e.setAsyncValidators(s))}}}if(n){var l=function(){};ym(t._rawValidators,l),ym(t._rawAsyncValidators,l)}return i}function _m(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function xm(e,t){bm(e,t,!1)}function km(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function Am(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 Cm(e,t){if(!t)return null;Array.isArray(t);var n=void 0,i=void 0,r=void 0;return t.forEach(function(e){e.constructor===Lv?n=e:Object.getPrototypeOf(e.constructor)===Dv?i=e:r=e}),r||i||n||null}function Sm(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Em(e){return(Mm(e)?e.validators:e)||null}function Pm(e){return Array.isArray(e)?Jv(e):e||null}function Dm(e,t){return(Mm(t)?t.asyncValidators:e)||null}function Om(e){return Array.isArray(e)?em(e):e||null}function Mm(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Tm,Im,Rm,Lm,Fm,Bm,zm,Vm=function(){function e(t,n){S(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Pm(this._rawValidators),this._composedAsyncValidatorFn=Om(this._rawAsyncValidators)}return C(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{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._rawValidators=e,this._composedValidatorFn=Pm(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Om(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=Yv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof Hm?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof jm&&i.at(e)||null}),i}(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 Bu,this.statusChanges=new Bu}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||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){Mm(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),Nm=function(e){o(n,e);var t=s(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return S(this,n),(e=t.call(this,Em(r),Dm(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!o}),e}return C(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){Sm(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){Sm(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(Vm),Hm=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,Em(i),Dm(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),o}return C(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{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]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{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,i){n.reset(e[i],{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 Nm?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){var i=t.controls[n];i&&e(i,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){for(var t=0,n=Object.keys(this.controls);t<n.length;t++){var i=n[t],r=this.controls[i];if(this.contains(i)&&e(r))return!0}return!1}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t})}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild(function(e,i){n=t(n,e,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(Vm),jm=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,Em(i),Dm(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),o}return C(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"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,i){t._throwIfControlMissing(i),t.at(i).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]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).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,i){n.reset(e[i],{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 Nm?e.value:e.getRawValue()})}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=f(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)}}]),n}(Vm),Um={provide:um,useExisting:Pe(function(){return Gm})},Wm=Promise.resolve(null),Gm=((Tm=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Bu,r.form=new Hm({},Jv(e),em(i)),r}return C(n,[{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;Wm.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),vm(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;Wm.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Sm(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;Wm.then(function(){var n=t._findContainer(e.path),i=new Hm({});xm(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;Wm.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;Wm.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,Am(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}}]),n}(um)).\u0275fac=function(e){return new(e||Tm)(os(zv,10),os(Vv,10))},Tm.\u0275dir=wt({type:Tm,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&ys("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bl([Um]),Va]}),Tm),qm={provide:dm,useExisting:Pe(function(){return Zm})},Ym=Promise.resolve(null),Zm=((Lm=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this)).control=new Nm,a._registered=!1,a.update=new Bu,a._parent=e,a._setValidators(i),a._setAsyncValidators(r),a.valueAccessor=Cm(0,o),a}return C(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),km(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?gm(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{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(){vm(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;Ym.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;Ym.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(dm)).\u0275fac=function(e){return new(e||Lm)(os(um,9),os(zv,10),os(Vv,10),os(Ov,10))},Lm.\u0275dir=wt({type:Lm,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[bl([qm]),Va,Tt]}),Lm),Qm=((Rm=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Rm)},Rm.\u0275dir=wt({type:Rm,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Rm),Xm=((Im=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Im)},Im.\u0275mod=yt({type:Im}),Im.\u0275inj=Be({}),Im),Km=new yi("NgModelWithFormControlWarning"),Jm={provide:dm,useExisting:Pe(function(){return $m})},$m=((Fm=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this))._ngModelWarningConfig=o,a.update=new Bu,a._ngModelWarningSent=!1,a._setValidators(e),a._setAsyncValidators(i),a.valueAccessor=Cm(0,r),a}return C(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&mm(t,this,!1),vm(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}km(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&mm(this.form,this,!1)}},{key:"path",get:function(){return[]}},{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")}}]),n}(dm)).\u0275fac=function(e){return new(e||Fm)(os(zv,10),os(Vv,10),os(Ov,10),os(Km,8))},Fm.\u0275dir=wt({type:Fm,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[bl([Jm]),Va,Tt]}),Fm._ngModelWarningSentOnce=!1,Fm),ey={provide:um,useExisting:Pe(function(){return ty})},ty=((Bm=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new Bu,r._setValidators(e),r._setAsyncValidators(i),r}return C(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(wm(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{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 vm(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){mm(e.control||null,e,!1),Sm(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(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,Am(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=t.control,i=e.form.get(t.path);n!==i&&(mm(n||null,t),i instanceof Nm&&(vm(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);xm(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return wm(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){bm(this.form,this,!1),this._oldForm&&wm(this._oldForm,this,!1)}},{key:"_checkFormPresent",value:function(){}}]),n}(um)).\u0275fac=function(e){return new(e||Bm)(os(zv,10),os(Vv,10))},Bm.\u0275dir=wt({type:Bm,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&ys("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bl([ey]),Va,Tt]}),Bm),ny={provide:dm,useExisting:Pe(function(){return iy})},iy=((zm=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a){var s;return S(this,n),(s=t.call(this))._ngModelWarningConfig=a,s._added=!1,s.update=new Bu,s._ngModelWarningSent=!1,s._parent=e,s._setValidators(i),s._setAsyncValidators(r),s.valueAccessor=Cm(0,o),s}return C(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),km(e,this.viewModel)&&(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 gm(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{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}}]),n}(dm)).\u0275fac=function(e){return new(e||zm)(os(um,13),os(zv,10),os(Vv,10),os(Ov,10),os(Km,8))},zm.\u0275dir=wt({type:zm,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[bl([ny]),Va,Tt]}),zm._ngModelWarningSentOnce=!1,zm),ry={provide:Ov,useExisting:Pe(function(){return ly}),multi:!0};function oy(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var ay,sy,ly=((sy=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return C(n,[{key:"compareWith",set:function(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=oy(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 i=n[t];if(this._compareWith(this._optionMap.get(i),e))return i}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}}]),n}(Dv)).\u0275fac=function(e){return new(e||sy)(os(Dl),os(Sl))},sy.\u0275dir=wt({type:sy,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&ys("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[bl([ry]),Va]}),sy),uy=((ay=function(){function e(t,n,i){S(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}return C(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(oy(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}()).\u0275fac=function(e){return new(e||ay)(os(Sl),os(Dl),os(ly,9))},ay.\u0275dir=wt({type:ay,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ay),cy={provide:Ov,useExisting:Pe(function(){return _y}),multi:!0};function dy(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var hy,fy,py,gy,vy,my,yy,by,wy,_y=((fy=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return C(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(i.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 i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,o=0;o<r.length;o++){var a=r.item(o),s=t._getOptionValue(a.value);i.push(s)}else for(var l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var d=t._getOptionValue(c.value);i.push(d)}}t.value=i,e(i)}}},{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 i=n[t];if(this._compareWith(this._optionMap.get(i)._value,e))return i}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}}]),n}(Dv)).\u0275fac=function(e){return new(e||fy)(os(Dl),os(Sl))},fy.\u0275dir=wt({type:fy,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&ys("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[bl([cy]),Va]}),fy),xy=((hy=function(){function e(t,n,i){S(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return C(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(dy(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(dy(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}()).\u0275fac=function(e){return new(e||hy)(os(Sl),os(Dl),os(_y,9))},hy.\u0275dir=wt({type:hy,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),hy),ky={provide:zv,useExisting:Pe(function(){return Ay}),multi:!0},Ay=((py=function(){function e(){S(this,e),this._required=!1}return C(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?jv(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}()).\u0275fac=function(e){return new(e||py)},py.\u0275dir=wt({type:py,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&es("required",t.required?"":null)},inputs:{required:"required"},features:[bl([ky])]}),py),Cy={provide:zv,useExisting:Pe(function(){return Sy}),multi:!0},Sy=((gy=function(){function e(){S(this,e),this._validator=Gv}return C(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=Uv("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}()).\u0275fac=function(e){return new(e||gy)},gy.\u0275dir=wt({type:gy,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&es("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[bl([Cy]),Tt]}),gy),Ey={provide:zv,useExisting:Pe(function(){return Py}),multi:!0},Py=((wy=function(){function e(){S(this,e),this._validator=Gv}return C(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=Wv(this.pattern)}}]),e}()).\u0275fac=function(e){return new(e||wy)},wy.\u0275dir=wt({type:wy,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&es("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[bl([Ey]),Tt]}),wy),Dy=((by=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||by)},by.\u0275mod=yt({type:by}),by.\u0275inj=Be({imports:[[Xm]]}),by),Oy=((yy=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||yy)},yy.\u0275mod=yt({type:yy}),yy.\u0275inj=Be({imports:[Dy]}),yy),My=((my=function(){function e(){S(this,e)}return C(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Km,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275fac=function(e){return new(e||my)},my.\u0275mod=yt({type:my}),my.\u0275inj=Be({imports:[Dy]}),my),Ty=((vy=function(){function e(){S(this,e)}return C(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Hm(n,{asyncValidators:r,updateOn:o,validators:i})}},{key:"control",value:function(e,t,n){return new Nm(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new jm(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),n}},{key:"_createControl",value:function(e){return e instanceof Nm||e instanceof Hm||e instanceof jm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}()).\u0275fac=function(e){return new(e||vy)},vy.\u0275prov=Le({factory:function(){return new vy},token:vy,providedIn:My}),vy);function Iy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return Y(i)?(t.pop(),ie(t,i)):he(t)}function Ry(e,t){return le(e,t,1)}function Ly(e,t){return function(n){return n.lift(new Fy(e,t))}}var Fy=function(){function e(t,n){S(this,e),this.predicate=t,this.thisArg=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new By(e,this.predicate,this.thisArg))}}]),e}(),By=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return C(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(R),zy=C(function e(){S(this,e)}),Vy=C(function e(){S(this,e)}),Ny=function(){function e(t){var n=this;S(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 i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return C(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,m(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),Hy=function(){function e(){S(this,e)}return C(e,[{key:"encodeKey",value:function(e){return jy(e)}},{key:"encodeValue",value:function(e){return jy(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function jy(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 Uy=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(S(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Hy,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var i=e.indexOf("="),r=p(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}return C(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:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}();function Wy(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Gy(e){return"undefined"!=typeof Blob&&e instanceof Blob}function qy(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Yy=function(){function e(t,n,i,r){var o;if(S(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)||r?(this.body=void 0!==i?i:null,o=r):o=i,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 Ny),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 Uy,this.urlWithParams=n}return C(e,[{key:"serializeBody",value:function(){return null===this.body?null:Wy(this.body)||Gy(this.body)||qy(this.body)||"string"==typeof this.body?this.body:this.body instanceof Uy?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||qy(this.body)?null:Gy(this.body)?this.body.type||null:Wy(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Uy?"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,i=t.url||this.url,r=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,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})}}]),e}(),Zy=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),Qy=C(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";S(this,e),this.headers=t.headers||new Ny,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}),Xy=function(e){o(n,e);var t=s(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return S(this,n),(e=t.call(this,i)).type=Zy.ResponseHeader,e}return C(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Qy),Ky=function(e){o(n,e);var t=s(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return S(this,n),(e=t.call(this,i)).type=Zy.Response,e.body=void 0!==i.body?i.body:null,e}return C(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(Qy),Jy=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.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),i.error=e.error||null,i}return C(n)}(Qy);function $y(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var eb,tb,nb,ib,rb,ob,ab,sb,lb,ub=((eb=function(){function e(t){S(this,e),this.handler=t}return C(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Yy)n=e;else{var o=void 0;o=r.headers instanceof Ny?r.headers:new Ny(r.headers);var a=void 0;r.params&&(a=r.params instanceof Uy?r.params:new Uy({fromObject:r.params})),n=new Yy(e,t,void 0!==r.body?r.body:null,{headers:o,params:a,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Iy(n).pipe(Ry(function(e){return i.handler.handle(e)}));if(e instanceof Yy||"events"===r.observe)return s;var l=s.pipe(Ly(function(e){return e instanceof Ky}));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(Z(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Z(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Z(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 l.pipe(Z(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.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 Uy).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,$y(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,$y(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,$y(n,t))}}]),e}()).\u0275fac=function(e){return new(e||eb)(Li(zy))},eb.\u0275prov=Le({token:eb,factory:eb.\u0275fac}),eb),cb=function(){function e(t,n){S(this,e),this.next=t,this.interceptor=n}return C(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),db=new yi("HTTP_INTERCEPTORS"),hb=((tb=function(){function e(){S(this,e)}return C(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||tb)},tb.\u0275prov=Le({token:tb,factory:tb.\u0275fac}),tb),fb=/^\)\]\}',?\n/,pb=C(function e(){S(this,e)}),gb=((ib=function(){function e(){S(this,e)}return C(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||ib)},ib.\u0275prov=Le({token:ib,factory:ib.\u0275fac}),ib),vb=((nb=function(){function e(t){S(this,e),this.xhrFactory=t}return C(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new V(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Ny(i.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}(i)||e.url;return s=new Xy({headers:r,status:t,statusText:n,url:o})},u=function(){var t=l(),r=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var d=u;u=u.replace(fb,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new Ky({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Jy({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=l().url,r=new Jy({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,h=function(t){d||(n.next(l()),d=!0);var r={type:Zy.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:Zy.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",h),null!==a&&i.upload&&i.upload.addEventListener("progress",f)),i.send(a),n.next({type:Zy.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",u),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",h),null!==a&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}]),e}()).\u0275fac=function(e){return new(e||nb)(Li(pb))},nb.\u0275prov=Le({token:nb,factory:nb.\u0275fac}),nb),mb=new yi("XSRF_COOKIE_NAME"),yb=new yi("XSRF_HEADER_NAME"),bb=C(function e(){S(this,e)}),wb=((lb=function(){function e(t,n,i){S(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return C(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ch(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||lb)(Li(ad),Li(cc),Li(mb))},lb.\u0275prov=Le({token:lb,factory:lb.\u0275fac}),lb),_b=((sb=function(){function e(t,n){S(this,e),this.tokenService=t,this.headerName=n}return C(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||sb)(Li(bb),Li(yb))},sb.\u0275prov=Le({token:sb,factory:sb.\u0275fac}),sb),xb=((ab=function(){function e(t,n){S(this,e),this.backend=t,this.injector=n,this.chain=null}return C(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(db,[]);this.chain=t.reduceRight(function(e,t){return new cb(e,t)},this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||ab)(Li(Vy),Li(Ba))},ab.\u0275prov=Le({token:ab,factory:ab.\u0275fac}),ab),kb=((ob=function(){function e(){S(this,e)}return C(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:_b,useClass:hb}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:mb,useValue:t.cookieName}:[],t.headerName?{provide:yb,useValue:t.headerName}:[]]}}}]),e}()).\u0275fac=function(e){return new(e||ob)},ob.\u0275mod=yt({type:ob}),ob.\u0275inj=Be({providers:[_b,{provide:db,useExisting:_b,multi:!0},{provide:bb,useClass:wb},{provide:mb,useValue:"XSRF-TOKEN"},{provide:yb,useValue:"X-XSRF-TOKEN"}]}),ob),Ab=((rb=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||rb)},rb.\u0275mod=yt({type:rb}),rb.\u0275inj=Be({providers:[ub,{provide:zy,useClass:xb},vb,{provide:Vy,useExisting:vb},gb,{provide:pb,useExisting:gb}],imports:[[kb.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),rb),Cb=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this))._value=e,i}return C(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=i(d(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new j;return this._value}},{key:"next",value:function(e){i(d(n.prototype),"next",this).call(this,this._value=e)}}]),n}(G),Sb=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(R),Eb=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this)).parent=e,o.outerValue=i,o.outerIndex=r,o.index=0,o}return C(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(R);function Pb(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Eb(e,n,i);if(!r.closed)return t instanceof V?t.subscribe(r):ne(t)(r)}var Db={};function Ob(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=void 0,r=void 0;return Y(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(i=t.pop()),1===t.length&&E(t[0])&&(t=t[0]),he(t,r).lift(new Mb(i))}var Mb=function(){function e(t){S(this,e),this.resultSelector=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Tb(e,this.resultSelector))}}]),e}(),Tb=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return C(n,[{key:"_next",value:function(e){this.values.push(Db),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++)this.add(Pb(this,e[n],void 0,n))}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n){var i=this.values,r=this.toRespond?i[n]===Db?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(Sb),Ib=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}();function Rb(){return de(1)(Iy.apply(void 0,arguments))}var Lb=new V(function(e){return e.complete()});function Fb(e){return e?function(e){return new V(function(t){return e.schedule(function(){return t.complete()})})}(e):Lb}function Bb(e){return new V(function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?re(n):Fb()).subscribe(t)})}function zb(e,t){return"function"==typeof t?function(n){return n.pipe(zb(function(n,i){return re(e(n,i)).pipe(Z(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new Vb(e))}}var Vb=function(){function e(t){S(this,e),this.project=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Nb(e,this.project))}}]),e}(),Nb=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).project=i,r.index=0,r}return C(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new oe(this),i=this.destination;i.add(n),this.innerSubscription=se(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||i(d(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&i(d(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e){this.destination.next(e)}}]),n}(ae),Hb=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function jb(e){return function(t){return 0===e?Fb():t.lift(new Ub(e))}}var Ub=function(){function e(t){if(S(this,e),this.total=t,this.total<0)throw new Hb}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Wb(e,this.total))}}]),e}(),Wb=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return C(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(R);function Gb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return Y(i)?(t.pop(),function(e){return Rb(t,e,i)}):function(e){return Rb(t,e)}}function qb(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Yb(e,t,n))}}var Yb=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];S(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Zb(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Zb=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return C(n,[{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(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(R);function Qb(e){return function(t){var n=new Xb(e),i=t.lift(n);return n.caught=i}}var Xb=function(){function e(t){S(this,e),this.selector=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Kb(e,this.selector,this.caught))}}]),e}(),Kb=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return C(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(a){return void i(d(n.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var r=new oe(this);this.add(r);var o=se(t,r);o!==r&&this.add(o)}}}]),n}(ae);function Jb(e){return function(t){return 0===e?Fb():t.lift(new $b(e))}}var $b=function(){function e(t){if(S(this,e),this.total=t,this.total<0)throw new Hb}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new ew(e,this.total))}}]),e}(),ew=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return C(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%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,i=this.ring,r=0;r<n;r++){var o=t++%n;e.next(i[o])}e.complete()}}]),n}(R);function tw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rw;return function(t){return t.lift(new nw(e))}}var nw=function(){function e(t){S(this,e),this.errorFactory=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new iw(e,this.errorFactory))}}]),e}(),iw=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return C(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(R);function rw(){return new Ib}function ow(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new aw(e))}}var aw=function(){function e(t){S(this,e),this.defaultValue=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new sw(e,this.defaultValue))}}]),e}(),sw=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return C(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(R);function lw(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Ly(function(t,n){return e(t,n,i)}):B,jb(1),n?ow(t):tw(function(){return new Ib}))}}function uw(){}function cw(e,t,n){return function(i){return i.lift(new dw(e,t,n))}}var dw=function(){function e(t,n,i){S(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new hw(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),hw=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e))._tapNext=uw,a._tapError=uw,a._tapComplete=uw,a._tapError=r||uw,a._tapComplete=o||uw,c(i)?(a._context=u(a),a._tapNext=i):i&&(a._context=i,a._tapNext=i.next||uw,a._tapError=i.error||uw,a._tapComplete=i.complete||uw),a}return C(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(R);function fw(e){return function(t){return t.lift(new pw(e))}}var pw=function(){function e(t){S(this,e),this.callback=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new gw(e,this.callback))}}]),e}(),gw=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).add(new M(i)),r}return C(n)}(R),vw=C(function e(t,n){S(this,e),this.id=t,this.url=n}),mw=function(e){o(n,e);var t=s(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return C(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(vw),yw=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return C(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(vw),bw=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e,i)).reason=r,o}return C(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(vw),ww=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e,i)).error=r,o}return C(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(vw),_w=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return C(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vw),xw=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return C(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vw),kw=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a){var s;return S(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return C(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(vw),Aw=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return C(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vw),Cw=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return C(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(vw),Sw=function(){function e(t){S(this,e),this.route=t}return C(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),Ew=function(){function e(t){S(this,e),this.route=t}return C(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Pw=function(){function e(t){S(this,e),this.snapshot=t}return C(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Dw=function(){function e(t){S(this,e),this.snapshot=t}return C(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ow=function(){function e(t){S(this,e),this.snapshot=t}return C(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Mw=function(){function e(t){S(this,e),this.snapshot=t}return C(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Tw=function(){function e(t,n,i){S(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return C(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Iw=function(){function e(t){S(this,e),this.params=t||{}}return C(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Rw(e){return new Iw(e)}function Lw(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Fw(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=e[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function Bw(e,t){var n,i=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!i||!r||i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(!zw(e[n=i[o]],t[n]))return!1;return!0}function zw(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;var n=m(e).sort(),i=m(t).sort();return n.every(function(e,t){return i[t]===e})}return e===t}function Vw(e){return Array.prototype.concat.apply([],e)}function Nw(e){return e.length>0?e[e.length-1]:null}function Hw(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function jw(e){return ms(e)?e:gs(e)?re(Promise.resolve(e)):Iy(e)}function Uw(e,t,n){return n?function(e,t){return Bw(e,t)}(e.queryParams,t.queryParams)&&Ww(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return zw(e[n],t[n])})}(e.queryParams,t.queryParams)&&Gw(e.root,t.root)}function Ww(e,t){if(!Xw(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var n in t.children){if(!e.children[n])return!1;if(!Ww(e.children[n],t.children[n]))return!1}return!0}function Gw(e,t){return qw(e,t,t.segments)}function qw(e,t,n){if(e.segments.length>n.length)return!!Xw(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!Xw(e.segments,n))return!1;for(var i in t.children){if(!e.children[i])return!1;if(!Gw(e.children[i],t.children[i]))return!1}return!0}var r=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return!!Xw(e.segments,r)&&!!e.children.primary&&qw(e.children.primary,t,o)}var Yw=function(){function e(t,n,i){S(this,e),this.root=t,this.queryParams=n,this.fragment=i}return C(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Rw(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return $w.serialize(this)}}]),e}(),Zw=function(){function e(t,n){var i=this;S(this,e),this.segments=t,this.children=n,this.parent=null,Hw(n,function(e,t){return e.parent=i})}return C(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return e_(this)}}]),e}(),Qw=function(){function e(t,n){S(this,e),this.path=t,this.parameters=n}return C(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Rw(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return s_(this)}}]),e}();function Xw(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Kw=C(function e(){S(this,e)}),Jw=function(){function e(){S(this,e)}return C(e,[{key:"parse",value:function(e){var t=new h_(e);return new Yw(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+t_(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(i_(e),"=").concat(i_(t))}).join("&"):"".concat(i_(e),"=").concat(i_(n))}),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),$w=new Jw;function e_(e){return e.segments.map(function(e){return s_(e)}).join("/")}function t_(e,t){if(!e.hasChildren())return e_(e);if(t){var n=e.children.primary?t_(e.children.primary,!1):"",i=[];return Hw(e.children,function(e,t){"primary"!==t&&i.push("".concat(t,":").concat(t_(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return Hw(e.children,function(e,i){"primary"===i&&(n=n.concat(t(e,i)))}),Hw(e.children,function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return"primary"===n?[t_(e.children.primary,!1)]:["".concat(n,":").concat(t_(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(e_(e),"/").concat(r[0]):"".concat(e_(e),"/(").concat(r.join("//"),")")}function n_(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function i_(e){return n_(e).replace(/%3B/gi,";")}function r_(e){return n_(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function o_(e){return decodeURIComponent(e)}function a_(e){return o_(e.replace(/\+/g,"%20"))}function s_(e){return"".concat(r_(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(r_(e),"=").concat(r_(t[e]))}).join("")));var t}var l_=/^[^\/()?;=#]+/;function u_(e){var t=e.match(l_);return t?t[0]:""}var c_=/^[^=?&#]+/,d_=/^[^?&#]+/,h_=function(){function e(t){S(this,e),this.url=t,this.remaining=t}return C(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zw([],{}):new Zw([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Zw(e,t)),n}},{key:"parseSegment",value:function(){var e=u_(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Qw(o_(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=u_(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=u_(this.remaining);i&&(n=i,this.capture(n))}e[o_(t)]=o_(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(c_);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(d_);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=a_(t),o=a_(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=u_(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new Zw([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),f_=function(){function e(t){S(this,e),this._root=t}return C(e,[{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=p_(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=p_(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=g_(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 g_(e,this._root).map(function(e){return e.value})}}]),e}();function p_(e,t){if(e===t.value)return t;var n,i=f(t.children);try{for(i.s();!(n=i.n()).done;){var r=p_(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function g_(e,t){if(e===t.value)return[t];var n,i=f(t.children);try{for(i.s();!(n=i.n()).done;){var r=g_(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var v_=function(){function e(t,n){S(this,e),this.value=t,this.children=n}return C(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function m_(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var y_=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).snapshot=i,A_(u(r),e),r}return C(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(f_);function b_(e,t){var n=function(e,t){var n=new x_([],{},{},"",{},"primary",t,null,e.root,-1,{});return new k_("",new v_(n,[]))}(e,t),i=new Cb([new Qw("",{})]),r=new Cb({}),o=new Cb({}),a=new Cb({}),s=new Cb(""),l=new w_(i,r,a,s,o,"primary",t,n.root);return l.snapshot=n.root,new y_(new v_(l,[]),n)}var w_=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=l}return C(e,[{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(Z(function(e){return Rw(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(function(e){return Rw(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function __(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var x_=function(){function e(t,n,i,r,o,a,s,l,u,c,d){S(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}return C(e,[{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=Rw(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Rw(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:"","')")}}]),e}(),k_=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,i)).url=e,A_(u(r),i),r}return C(n,[{key:"toString",value:function(){return C_(this._root)}}]),n}(f_);function A_(e,t){t.value._routerState=e,t.children.forEach(function(t){return A_(e,t)})}function C_(e){var t=e.children.length>0?" { ".concat(e.children.map(C_).join(", ")," } "):"";return"".concat(e.value).concat(t)}function S_(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Bw(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Bw(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(!Bw(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Bw(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function E_(e,t){var n,i;return Bw(e.params,t.params)&&Xw(n=e.url,i=t.url)&&n.every(function(e,t){return Bw(e.parameters,i[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||E_(e.parent,t.parent))}function P_(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){var i=n.value;i._futureSnapshot=t.value;var r=function(e,t,n){return t.children.map(function(t){var i,r=f(n.children);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(e.shouldReuseRoute(t.value,o.value.snapshot))return P_(e,t,o)}}catch(a){r.e(a)}finally{r.f()}return P_(e,t)})}(e,t,n);return new v_(i,r)}var o=e.retrieve(t.value);if(o){var a=o.route;return D_(t,a),a}var s,l=new w_(new Cb((s=t.value).url),new Cb(s.params),new Cb(s.queryParams),new Cb(s.fragment),new Cb(s.data),s.outlet,s.component,s),u=t.children.map(function(t){return P_(e,t)});return new v_(l,u)}function D_(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var n=0;n<e.children.length;++n)D_(e.children[n],t.children[n])}function O_(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function M_(e){return"object"==typeof e&&null!=e&&e.outlets}function T_(e,t,n,i,r){var o={};return i&&Hw(i,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new Yw(n.root===e?t:I_(n.root,e,t),o,r)}function I_(e,t,n){var i={};return Hw(e.children,function(e,r){i[r]=e===t?n:I_(e,t,n)}),new Zw(e.segments,i)}var R_=function(){function e(t,n,i){if(S(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&O_(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(M_);if(r&&r!==Nw(i))throw new Error("{outlets:{}} has to be the last command")}return C(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),L_=C(function e(t,n,i){S(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i});function F_(e,t,n){if(e||(e=new Zw([],{})),0===e.segments.length&&e.hasChildren())return B_(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(i>=n.length)return o;var a=e.segments[r],s=n[i];if(M_(s))break;var l=""+s,u=i<n.length-1?n[i+1]:null;if(r>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!H_(l,u,a))return o;i+=2}else{if(!H_(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var o=new Zw(e.segments.slice(0,i.pathIndex),{});return o.children.primary=new Zw(e.segments.slice(i.pathIndex),e.children),B_(o,0,r)}return i.match&&0===r.length?new Zw(e.segments,{}):i.match&&!e.hasChildren()?z_(e,t,n):i.match?B_(e,0,r):z_(e,t,n)}function B_(e,t,n){if(0===n.length)return new Zw(e.segments,{});var i=function(e){return M_(e[0])?e[0].outlets:{primary:e}}(n),r={};return Hw(i,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(r[i]=F_(e.children[i],t,n))}),Hw(e.children,function(e,t){void 0===i[t]&&(r[t]=e)}),new Zw(e.segments,r)}function z_(e,t,n){for(var i=e.segments.slice(0,t),r=0;r<n.length;){var o=n[r];if(M_(o)){var a=V_(o.outlets);return new Zw(i,a)}if(0===r&&O_(n[0]))i.push(new Qw(e.segments[t].path,N_(n[0]))),r++;else{var s=M_(o)?o.outlets.primary:""+o,l=r<n.length-1?n[r+1]:null;s&&l&&O_(l)?(i.push(new Qw(s,N_(l))),r+=2):(i.push(new Qw(s,{})),r++)}}return new Zw(i,{})}function V_(e){var t={};return Hw(e,function(e,n){"string"==typeof e&&(e=[e]),null!==e&&(t[n]=z_(new Zw([],{}),0,e))}),t}function N_(e){var t={};return Hw(e,function(e,n){return t[n]=""+e}),t}function H_(e,t,n){return e==n.path&&Bw(t,n.parameters)}var j_=function(){function e(t,n,i,r){S(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=r}return C(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),S_(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var i=this,r=m_(t);e.children.forEach(function(e){var t=e.value.outlet;i.deactivateRoutes(e,r[t],n),delete r[t]}),Hw(r,function(e,t){i.deactivateRouteAndItsChildren(e,n)})}},{key:"deactivateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else r&&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 i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){for(var n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=m_(e),o=0,a=Object.keys(r);o<a.length;o++){var s=a[o];this.deactivateRouteAndItsChildren(r[s],i)}n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}},{key:"activateChildRoutes",value:function(e,t,n){var i=this,r=m_(t);e.children.forEach(function(e){i.activateRoutes(e,r[e.value.outlet],n),i.forwardEvent(new Mw(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Dw(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(S_(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(i.component){var a=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.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),U_(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}(i.snapshot),u=l?l.module.componentFactoryResolver:null;a.attachRef=null,a.route=i,a.resolver=u,a.outlet&&a.outlet.activateWith(i,u),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function U_(e){S_(e.value),e.children.forEach(U_)}var W_=C(function e(t,n){S(this,e),this.routes=t,this.module=n});function G_(e){return"function"==typeof e}function q_(e){return e instanceof Yw}var Y_=Symbol("INITIAL_VALUE");function Z_(){return zb(function(e){return Ob(e.map(function(e){return e.pipe(jb(1),Gb(Y_))})).pipe(qb(function(e,t){var n=!1;return t.reduce(function(e,i,r){if(e!==Y_)return e;if(i===Y_&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||q_(i))return i}return e},e)},Y_),Ly(function(e){return e!==Y_}),Z(function(e){return q_(e)?e:!0===e}),jb(1))})}var Q_,X_=((Q_=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Q_)},Q_.\u0275cmp=pt({type:Q_,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&cs(0,"router-outlet")},directives:function(){return[Xx]},encapsulation:2}),Q_);function K_(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var i=e[n];J_(i,$_(t,i))}}function J_(e,t){e.children&&K_(e.children,t)}function $_(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function ex(e){var t=e.children&&e.children.map(ex),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=X_),n}function tx(e){return e.outlet||"primary"}function nx(e,t){var n=e.filter(function(e){return tx(e)===t});return n.push.apply(n,m(e.filter(function(e){return tx(e)!==t}))),n}var ix={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function rx(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},ix):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||Fw)(n,e,t);if(!r)return Object.assign({},ix);var o={};Hw(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function ox(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return ax(e,t,n)&&"primary"!==tx(n)})}(e,n,i)){var o=new Zw(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,a=f(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==tx(s)){var l=new Zw([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,r[tx(s)]=l}}}catch(u){a.e(u)}finally{a.f()}return r}(e,t,i,new Zw(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 ax(e,t,n)})}(e,n,i)){var a=new Zw(e.segments,function(e,t,n,i,r,o){var a,s={},l=f(i);try{for(l.s();!(a=l.n()).done;){var u=a.value;if(ax(e,n,u)&&!r[tx(u)]){var c=new Zw([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[tx(u)]=c}}}catch(d){l.e(d)}finally{l.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Zw(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function ax(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function sx(e,t,n,i){return!!(tx(e)===i||"primary"!==i&&ax(t,n,e))&&("**"===e.path||rx(t,e,n).matched)}function lx(e,t,n){return 0===t.length&&!e.children[n]}var ux=C(function e(t){S(this,e),this.segmentGroup=t||null}),cx=C(function e(t){S(this,e),this.urlTree=t});function dx(e){return new V(function(t){return t.error(new ux(e))})}function hx(e){return new V(function(t){return t.error(new cx(e))})}function fx(e){return new V(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var px=function(){function e(t,n,i,r,o){S(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(su)}return C(e,[{key:"apply",value:function(){var e=this,t=ox(this.urlTree.root,[],[],this.config).segmentGroup,n=new Zw(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe(Z(function(t){return e.createUrlTree(gx(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Qb(function(t){if(t instanceof cx)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof ux)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(Z(function(n){return t.createUrlTree(gx(n),e.queryParams,e.fragment)})).pipe(Qb(function(e){if(e instanceof ux)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 i=e.segments.length>0?new Zw([],{primary:e}):e;return new Yw(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Z(function(e){return new Zw([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],o=0,a=Object.keys(n.children);o<a.length;o++){var s=a[o];"primary"===s?r.unshift(s):r.push(s)}return re(r).pipe(Ry(function(r){var o=n.children[r],a=nx(t,r);return i.expandSegmentGroup(e,a,o,r).pipe(Z(function(e){return{segment:e,outlet:r}}))}),qb(function(e,t){return e[t.outlet]=t.segment,e},{}),function(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Ly(function(t,n){return e(t,n,i)}):B,Jb(1),n?ow(t):tw(function(){return new Ib}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,o){var a=this;return re(n).pipe(Ry(function(s){return a.expandSegmentAgainstRoute(e,t,n,s,i,r,o).pipe(Qb(function(e){if(e instanceof ux)return Iy(null);throw e}))}),lw(function(e){return!!e}),Qb(function(e,n){if(e instanceof Ib||"EmptyError"===e.name){if(lx(t,i,r))return Iy(new Zw([],{}));throw new ux(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return sx(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):dx(t):dx(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?hx(o):this.lineralizeSegments(n,o).pipe(le(function(n){var o=new Zw(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=rx(t,i,r),l=s.matched,u=s.consumedSegments,c=s.lastChild,d=s.positionalParamSegments;if(!l)return dx(t);var h=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?hx(h):this.lineralizeSegments(i,h).pipe(le(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Iy(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Z(function(e){return n._loadedConfig=e,new Zw(i,{})})):Iy(new Zw(i,{}));var a=rx(t,n,i),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return dx(t);var c=i.slice(u);return this.getChildConfig(e,n,i).pipe(le(function(e){var i=e.module,a=e.routes,s=ox(t,l,c,a),u=s.segmentGroup,d=s.slicedSegments,h=new Zw(u.segments,u.children);if(0===d.length&&h.hasChildren())return o.expandChildren(i,a,h).pipe(Z(function(e){return new Zw(l,e)}));if(0===a.length&&0===d.length)return Iy(new Zw(l,{}));var f=tx(n)===r;return o.expandSegment(i,h,a,d,f?"primary":r,!0).pipe(Z(function(e){return new Zw(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?Iy(new W_(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Iy(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(le(function(n){return n?i.configLoader.load(e.injector,t).pipe(Z(function(e){return t._loadedConfig=e,e})):function(e){return new V(function(t){return t.error(Lw("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):Iy(new W_([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;return r&&0!==r.length?Iy(r.map(function(i){var r,o=e.get(i);if(function(e){return e&&G_(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!G_(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return jw(r)})).pipe(Z_(),cw(function(e){if(q_(e)){var t=Lw('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),Z(function(e){return!0===e})):Iy(!0)}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Iy(n);if(i.numberOfChildren>1||!i.children.primary)return fx(e.redirectTo);i=i.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,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Yw(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Hw(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return Hw(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Zw(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=f(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function gx(e){for(var t={},n=0,i=Object.keys(e.children);n<i.length;n++){var r=i[n],o=gx(e.children[r]);(o.segments.length>0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Zw(e.segments.concat(t.segments),t.children)}return e}(new Zw(e.segments,t))}var vx=C(function e(t){S(this,e),this.path=t,this.route=this.path[this.path.length-1]}),mx=C(function e(t,n){S(this,e),this.component=t,this.route=n});function yx(e,t,n){var i=e._root;return wx(i,t?t._root:null,n,[i.value])}function bx(e,t,n){var i=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(i?i.module.injector:n).get(e)}function wx(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=m_(t);return e.children.forEach(function(e){!function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Xw(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Xw(e.url,t.url)||!Bw(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!E_(e,t)||!Bw(e.queryParams,t.queryParams);case"paramsChange":default:return!E_(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vx(i)):(o.data=a.data,o._resolvedData=a._resolvedData),wx(e,t,o.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new mx(s.outlet.component,a))}else a&&_x(t,s,r),r.canActivateChecks.push(new vx(i)),wx(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),Hw(o,function(e,t){return _x(e,n.getContext(t),r)}),r}function _x(e,t,n){var i=m_(e),r=e.value;Hw(i,function(e,i){_x(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new mx(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var xx=C(function e(){S(this,e)});function kx(e){return new V(function(t){return t.error(e)})}var Ax=function(){function e(t,n,i,r,o,a){S(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return C(e,[{key:"recognize",value:function(){var e=ox(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new x_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new v_(n,t),r=new k_(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=__(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.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){for(var n=[],i=0,r=Object.keys(t.children);i<r.length;i++){var o=r[i],a=t.children[o],s=nx(e,o),l=this.processSegmentGroup(s,a,o);if(null===l)return null;n.push.apply(n,m(l))}var u=function(e){var t,n=[],i=f(e);try{var r=function(){var e,i=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(i))return n.push(i),"continue";var r=n.find(function(e){return i.value.routeConfig===e.value.routeConfig});void 0!==r?(e=r.children).push.apply(e,m(i.children)):n.push(i)};for(i.s();!(t=i.n()).done;)r()}catch(o){i.e(o)}finally{i.f()}return n}(n);return u.sort(function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)}),u}},{key:"processSegment",value:function(e,t,n,i){var r,o=f(e);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this.processSegmentAgainstRoute(a,t,n,i);if(null!==s)return s}}catch(l){o.e(l)}finally{o.f()}return lx(t,n,i)?[]:null}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo||!sx(e,t,n,i))return null;var r,o=[],a=[];if("**"===e.path){var s=n.length>0?Nw(n).parameters:{};r=new x_(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ex(e),tx(e),e.component,e,Cx(t),Sx(t)+n.length,Px(e))}else{var l=rx(t,e,n);if(!l.matched)return null;o=l.consumedSegments,a=n.slice(l.lastChild),r=new x_(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ex(e),tx(e),e.component,e,Cx(t),Sx(t)+o.length,Px(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=ox(t,o,a,u.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),d=c.segmentGroup,h=c.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(u,d);return null===f?null:[new v_(r,f)]}if(0===u.length&&0===h.length)return[new v_(r,[])];var p=tx(e)===i,g=this.processSegment(u,d,h,p?"primary":i);return null===g?null:[new v_(r,g)]}}]),e}();function Cx(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Sx(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 Ex(e){return e.data||{}}function Px(e){return e.resolve||{}}function Dx(e){return zb(function(t){var n=e(t);return n?re(n).pipe(Z(function(){return t})):Iy(t)})}var Ox=C(function e(){S(this,e)}),Mx=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n)}(function(){function e(){S(this,e)}return C(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),Tx=new yi("ROUTES"),Ix=function(){function e(t,n,i,r){S(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return C(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe(Z(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new W_(Vw(r.injector.get(Tx,void 0,qe.Self|qe.Optional)).map(ex),r)}),Qb(function(e){throw t._loader$=void 0,e}));return t._loader$=new ye(i,function(){return new G}).pipe(pe()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?re(this.loader.load(e)):jw(e()).pipe(le(function(e){return e instanceof lu?Iy(e):re(t.compiler.compileModuleAsync(e))}))}}]),e}(),Rx=C(function e(){S(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new Lx,this.attachRef=null}),Lx=function(){function e(){S(this,e),this.contexts=new Map}return C(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new Rx,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Fx=function(){function e(){S(this,e)}return C(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Bx(e){throw e}function zx(e,t,n){return t.parse("/")}function Vx(e,t){return Iy(null)}var Nx,Hx,jx,Ux=((jx=function(){function e(t,n,i,r,o,a,s,l){var u=this;S(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new G,this.errorHandler=Bx,this.malformedUriErrorHandler=zx,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Vx,afterPreactivation:Vx},this.urlHandlingStrategy=new Fx,this.routeReuseStrategy=new Mx,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=o.get(su),this.console=o.get(hc);var c=o.get(Cc);this.isNgZoneEnabled=c instanceof Cc&&Cc.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Yw(new Zw([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ix(a,s,function(e){return u.triggerEvent(new Sw(e))},function(e){return u.triggerEvent(new Ew(e))}),this.routerState=b_(this.currentUrlTree,this.rootComponentType),this.transitions=new Cb({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return C(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Ly(function(e){return 0!==e.id}),Z(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),zb(function(e){var i,r,o,a=!1,s=!1;return Iy(e).pipe(cw(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),zb(function(e){var i,r,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Iy(e).pipe(zb(function(e){var i=t.transitions.getValue();return n.next(new mw(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?Lb:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,a=t.config,zb(function(e){return function(e,t,n,i,r){return new px(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe(Z(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),cw(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,o){return le(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var a=new Ax(e,t,n,i,r,o).recognize();return null===a?kx(new xx):Iy(a)}catch(s){return kx(s)}}(e,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,t.serializeUrl(a)),r,o).pipe(Z(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var a})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),cw(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects);var i=new _w(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,u=e.extractedUrl,c=e.source,d=e.restoredState,h=e.extras,f=new mw(l,t.serializeUrl(u),c,d);n.next(f);var p=b_(u,t.rootComponentType).snapshot;return Iy(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:u,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Lb}),Dx(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})}),cw(function(e){var n=new xw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Z(function(e){return Object.assign(Object.assign({},e),{guards:yx(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return le(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?Iy(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return re(e).pipe(le(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Iy(o.map(function(o){var a,s=bx(o,t,r);if(function(e){return e&&G_(e.canDeactivate)}(s))a=jw(s.canDeactivate(e,t,n,i));else{if(!G_(s))throw new Error("Invalid CanDeactivate guard");a=jw(s(e,t,n,i))}return a.pipe(lw())})).pipe(Z_()):Iy(!0)}(e.component,e.route,n,t,i)}),lw(function(e){return!0!==e},!0))}(s,i,r,e).pipe(le(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return re(t).pipe(Ry(function(t){return Rb(function(e,t){return null!==e&&t&&t(new Pw(e)),Iy(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Ow(e)),Iy(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=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 Bb(function(){return Iy(t.guards.map(function(r){var o,a=bx(r,t.node,n);if(function(e){return e&&G_(e.canActivateChild)}(a))o=jw(a.canActivateChild(i,e));else{if(!G_(a))throw new Error("Invalid CanActivateChild guard");o=jw(a(i,e))}return o.pipe(lw())})).pipe(Z_())})});return Iy(r).pipe(Z_())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Iy(i.map(function(i){return Bb(function(){var r,o=bx(i,t,n);if(function(e){return e&&G_(e.canActivate)}(o))r=jw(o.canActivate(t,e));else{if(!G_(o))throw new Error("Invalid CanActivate guard");r=jw(o(t,e))}return r.pipe(lw())})})).pipe(Z_()):Iy(!0)}(e,t.route,n))}),lw(function(e){return!0!==e},!0))}(i,a,e,t):Iy(n)}),Z(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),cw(function(e){if(q_(e.guardsResult)){var n=Lw('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new kw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),Ly(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new bw(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0}),Dx(function(e){if(e.guards.canActivateChecks.length)return Iy(e).pipe(cw(function(e){var n=new Aw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),zb(function(e){var i,r,o=!1;return Iy(e).pipe((i=t.paramsInheritanceStrategy,r=t.ngModule.injector,le(function(e){var t=e.targetSnapshot,n=e.guards.canActivateChecks;if(!n.length)return Iy(e);var o=0;return re(n).pipe(Ry(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Iy({});var o={};return re(r).pipe(le(function(r){return function(e,t,n,i){var r=bx(e,t,i);return jw(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(cw(function(e){o[r]=e}))}),Jb(1),le(function(){return Object.keys(o).length===r.length?Iy(o):Lb}))}(e._resolve,e,t,i).pipe(Z(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),__(e,n).resolve),null}))}(e.route,t,i,r)}),cw(function(){return o++}),Jb(1),le(function(t){return o===n.length?Iy(e):Lb}))})),cw({next:function(){return o=!0},complete:function(){if(!o){var i=new bw(e.id,t.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),e.resolve(!1)}}}))}),cw(function(e){var n=new Cw(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),Dx(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,l=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})}),Z(function(e){var n=function(e,t,n){var i=P_(e,t._root,n?n._root:void 0);return new y_(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),cw(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,o=function(e){return t.triggerEvent(e)},Z(function(e){return new j_(r,e.targetRouterState,e.currentRouterState,o).activate(i),e})),cw({next:function(){a=!0},complete:function(){a=!0}}),fw(function(){if(!a&&!s){t.resetUrlToCurrentUrlTree();var i=new bw(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(i),e.resolve(!1)}t.currentNavigation=null}),Qb(function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var r=q_(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new bw(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new ww(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var l;return Lb}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{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){K_(e),this.config=e.map(ex),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=n||this.routerState.root,l=a?this.currentUrlTree.fragment:r,u=null;switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,i,r){if(0===n.length)return T_(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new R_(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return Hw(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(m(e),[{outlets:o}])}if(i.segmentPath)return[].concat(m(e),[i.segmentPath])}return"string"!=typeof i?[].concat(m(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(m(e),[i])},[]);return new R_(n,t,i)}(n);if(o.toRoot())return T_(t.root,new Zw([],{}),t,i,r);var a=function(e,t,n){if(e.isAbsolute)return new L_(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new L_(i,i===t.root,0)}var r=O_(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new L_(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?B_(a.segmentGroup,a.index,o.commands):F_(a.segmentGroup,a.index,o.commands);return T_(a.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,u,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=q_(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"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(q_(e))return Uw(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Uw(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return null!=i&&(t[n]=i),t},{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new yw(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,i,r){if(this.disposed)return Promise.resolve(!1);var o,a,s,l=this.getTransition(),u="imperative"!==t&&"imperative"===(null==l?void 0:l.source),c=(this.lastSuccessfulId===l.id||this.currentNavigation?l.rawUrl:l.urlAfterRedirects).toString()===e.toString();if(u&&c)return Promise.resolve(!0);r?(o=r.resolve,a=r.reject,s=r.promise):s=new Promise(function(e,t){o=e,a=t});var d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,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,i){var r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{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})}}]),e}()).\u0275fac=function(e){return new(e||jx)(Li(wi),Li(Kw),Li(Lx),Li(Sd),Li(Ba),Li(Zc),Li(xc),Li(void 0))},jx.\u0275prov=Le({token:jx,factory:jx.\u0275fac}),jx),Wx=((Hx=function(){function e(t,n,i,r,o){S(this,e),this.router=t,this.route=n,this.commands=[],this.onChanges=new G,null==i&&r.setAttribute(o.nativeElement,"tabindex","0")}return C(e,[{key:"ngOnChanges",value:function(e){this.onChanges.next(this)}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"onClick",value:function(){var e={skipLocationChange:qx(this.skipLocationChange),replaceUrl:qx(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:qx(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Hx)(os(Ux),os(w_),gi("tabindex"),os(Dl),os(Sl))},Hx.\u0275dir=wt({type:Hx,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&ys("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[Tt]}),Hx),Gx=((Nx=function(){function e(t,n,i){var r=this;S(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new G,this.subscription=t.events.subscribe(function(e){e instanceof yw&&r.updateTargetUrlAndHref()})}return C(e,[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:qx(this.skipLocationChange),replaceUrl:qx(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!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:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:qx(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Nx)(os(Ux),os(w_),os(yd))},Nx.\u0275dir=wt({type:Nx,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&ys("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(il("href",t.href,Sr),es("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[Tt]}),Nx);function qx(e){return""===e||!!e}var Yx,Zx,Qx,Xx=((Yx=function(){function e(t,n,i,r,o){S(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Bu,this.deactivateEvents=new Bu,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}return C(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Kx(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),e}()).\u0275fac=function(e){return new(e||Yx)(os(Lx),os(cu),os(xl),gi("name"),os(Jl))},Yx.\u0275dir=wt({type:Yx,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),Yx),Kx=function(){function e(t,n,i){S(this,e),this.route=t,this.childContexts=n,this.parent=i}return C(e,[{key:"get",value:function(e,t){return e===w_?this.route:e===Lx?this.childContexts:this.parent.get(e,t)}}]),e}(),Jx=C(function e(){S(this,e)}),$x=function(){function e(){S(this,e)}return C(e,[{key:"preload",value:function(e,t){return Iy(null)}}]),e}(),ek=((Qx=function(){function e(t,n,i,r,o){S(this,e),this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Ix(n,i,function(e){return t.triggerEvent(new Sw(e))},function(e){return t.triggerEvent(new Ew(e))})}return C(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Ly(function(e){return e instanceof yw}),Ry(function(){return e.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var e=this.injector.get(su);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],r=f(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;i.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(e,o)):o.children&&i.push(this.processRoutes(e,o.children))}}catch(s){r.e(s)}finally{r.f()}return re(i).pipe(de(),Z(function(e){}))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return(t._loadedConfig?Iy(t._loadedConfig):n.loader.load(e.injector,t)).pipe(le(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})}}]),e}()).\u0275fac=function(e){return new(e||Qx)(Li(Ux),Li(Zc),Li(xc),Li(Ba),Li(Jx))},Qx.\u0275prov=Le({token:Qx,factory:Qx.\u0275fac}),Qx),tk=((Zx=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};S(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return C(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof mw?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof yw&&(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 Tw&&(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 Tw(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Zx)(Li(Ux),Li(Jh),Li(void 0))},Zx.\u0275prov=Le({token:Zx,factory:Zx.\u0275fac}),Zx),nk=new yi("ROUTER_CONFIGURATION"),ik=new yi("ROUTER_FORROOT_GUARD"),rk=[Sd,{provide:Kw,useClass:Jw},{provide:Ux,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new Ux(null,e,t,n,i,r,o,Vw(a));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,c),s.enableTracing){var d=rd();c.events.subscribe(function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()})}return c},deps:[Kw,Lx,Sd,Ba,Zc,xc,Tx,nk,[function(){return C(function e(){S(this,e)})}(),new ji],[Ox,new ji]]},Lx,{provide:w_,useFactory:function(e){return e.routerState.root},deps:[Ux]},{provide:Zc,useClass:Kc},ek,$x,function(){function e(){S(this,e)}return C(e,[{key:"preload",value:function(e,t){return t().pipe(Qb(function(){return Iy(null)}))}}]),e}(),{provide:nk,useValue:{enableTracing:!1}}];function ok(){return new Nc("Router",Ux)}var ak,sk=((ak=function(){function e(t,n){S(this,e)}return C(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[rk,dk(t),{provide:ik,useFactory:ck,deps:[[Ux,new ji,new Ui]]},{provide:nk,useValue:n||{}},{provide:yd,useFactory:uk,deps:[sd,[new Hi(kd),new ji],nk]},{provide:tk,useFactory:lk,deps:[Ux,Jh,nk]},{provide:Jx,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:$x},{provide:Nc,multi:!0,useFactory:ok},[fk,{provide:rc,multi:!0,useFactory:pk,deps:[fk]},{provide:vk,useFactory:gk,deps:[fk]},{provide:dc,multi:!0,useExisting:vk}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[dk(t)]}}}]),e}()).\u0275fac=function(e){return new(e||ak)(Li(ik,8),Li(Ux,8))},ak.\u0275mod=yt({type:ak}),ak.\u0275inj=Be({}),ak);function lk(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new tk(e,t,n)}function uk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Cd(e,t):new Ad(e,t)}function ck(e){return"guarded"}function dk(e){return[{provide:bi,multi:!0,useValue:e},{provide:Tx,multi:!0,useValue:e}]}var hk,fk=((hk=function(){function e(t){S(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new G}return C(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(cd,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(Ux),r=e.injector.get(nk);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?Iy(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(nk),n=this.injector.get(ek),i=this.injector.get(tk),r=this.injector.get(Ux),o=this.injector.get(qc);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}()).\u0275fac=function(e){return new(e||hk)(Li(Ba))},hk.\u0275prov=Le({token:hk,factory:hk.\u0275fac}),hk);function pk(e){return e.appInitializer.bind(e)}function gk(e){return e.bootstrapListener.bind(e)}var vk=new yi("Router Initializer");function mk(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function yk(e,t){return function(n,i){t(n,i,e)}}function bk(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function wk(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})}a("meiF"),a("lTIg"),a("RQGG"),a("bC4P"),a("iWo5");var _k=a("E/Mt"),xk=a("1vRN"),kk=(a("39oe"),a("k4ps")),Ak=a("r7QR"),Ck=a("7OTs"),Sk=(a("y08P"),a("wEJo"));function Ek(e,t,n,i){return c(n)&&(i=n,n=void 0),i?Ek(e,t,n).pipe(Z(function(e){return E(e)?i.apply(void 0,m(e)):i(e)})):new V(function(i){Pk(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function Pk(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),o=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,c=e.length;u<c;u++)Pk(e[u],t,n,i,r)}i.add(o)}function Dk(e,t){return function(n){return n.lift(new Uk(e,t))}}a("B4Jq");var Ok,Mk,Tk,Ik,Rk,Lk,Fk,Bk,zk,Vk,Nk,Hk,jk,Uk=function(){function e(t,n){S(this,e),this.compare=t,this.keySelector=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Wk(e,this.compare,this.keySelector))}}]),e}(),Wk=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return C(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(R),Gk=_k.e,qk=["*"],Yk=function(e){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e)},Zk=((Ok=function(){function e(t,n){S(this,e),this.injector=t,this.el=n,this.onChange=function(){},this.onTouched=function(){}}return C(e,[{key:"writeValue",value:function(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,Qk(this.el)}},{key:"handleChangeEvent",value:function(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),Qk(this.el))}},{key:"_handleBlurEvent",value:function(e){e===this.el.nativeElement&&(this.onTouched(),Qk(this.el))}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.el.nativeElement.disabled=e}},{key:"ngOnDestroy",value:function(){this.statusChanges&&this.statusChanges.unsubscribe()}},{key:"ngAfterViewInit",value:function(){var e,t=this;try{e=this.injector.get(dm)}catch(i){}if(e){e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(function(){return Qk(t.el)}));var n=e.control;n&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(function(e){if(n[e]){var i=n[e].bind(n);n[e]=function(){i.apply(void 0,arguments),Qk(t.el)}}})}}}]),e}()).\u0275fac=function(e){!function(){throw new Error("invalid")}()},Ok.\u0275dir=wt({type:Ok,hostBindings:function(e,t){1&e&&ys("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),Ok),Qk=function(e){Yk(function(){var t=e.nativeElement,n=Xk(t);Kk(t,n);var i=t.closest("ion-item");i&&Kk(i,n)})},Xk=function(e){for(var t=e.classList,n=[],i=0;i<t.length;i++){var r=t.item(i);null!==r&&Jk(r,"ng-")&&n.push("ion-"+r.substr(3))}return n},Kk=function(e,t){var n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(function(e){return n.remove(e)}),t.forEach(function(e){return n.add(e)})},Jk=function(e,t){return e.substr(0,t.length)===t},$k=((Tk=Mk=function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this,e,i)}return C(n,[{key:"writeValue",value:function(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,Qk(this.el)}},{key:"_handleIonChange",value:function(e){this.handleChangeEvent(e,e.checked)}}]),n}(Zk)).\u0275fac=function(e){return new(e||Tk)(os(Ba),os(Sl))},Tk.\u0275dir=wt({type:Tk,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&ys("ionChange",function(e){return t._handleIonChange(e.target)})},features:[bl([{provide:Ov,useExisting:Mk,multi:!0}]),Va]}),Tk),eA=((Rk=Ik=function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this,e,i)}return C(n,[{key:"_handleIonChange",value:function(e){this.handleChangeEvent(e,e.value)}},{key:"registerOnChange",value:function(e){i(d(n.prototype),"registerOnChange",this).call(this,function(t){e(""===t?null:parseFloat(t))})}}]),n}(Zk)).\u0275fac=function(e){return new(e||Rk)(os(Ba),os(Sl))},Rk.\u0275dir=wt({type:Rk,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&ys("ionChange",function(e){return t._handleIonChange(e.target)})},features:[bl([{provide:Ov,useExisting:Ik,multi:!0}]),Va]}),Rk),tA=((Fk=Lk=function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this,e,i)}return C(n,[{key:"_handleIonSelect",value:function(e){this.handleChangeEvent(e,e.checked)}}]),n}(Zk)).\u0275fac=function(e){return new(e||Fk)(os(Ba),os(Sl))},Fk.\u0275dir=wt({type:Fk,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&ys("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[bl([{provide:Ov,useExisting:Lk,multi:!0}]),Va]}),Fk),nA=((zk=Bk=function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this,e,i)}return C(n,[{key:"_handleChangeEvent",value:function(e){this.handleChangeEvent(e,e.value)}}]),n}(Zk)).\u0275fac=function(e){return new(e||zk)(os(Ba),os(Sl))},zk.\u0275dir=wt({type:zk,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&ys("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[bl([{provide:Ov,useExisting:Bk,multi:!0}]),Va]}),zk),iA=((Hk=Vk=function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this,e,i)}return C(n,[{key:"_handleInputEvent",value:function(e){this.handleChangeEvent(e,e.value)}}]),n}(Zk)).\u0275fac=function(e){return new(e||Hk)(os(Ba),os(Sl))},Hk.\u0275dir=wt({type:Hk,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&ys("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[bl([{provide:Ov,useExisting:Vk,multi:!0}]),Va]}),Hk),rA=((Nk=function(){function e(t,n){var i=this;S(this,e),this.doc=t,this.backButton=new G,this.keyboardDidShow=new G,this.keyboardDidHide=new G,this.pause=new G,this.resume=new G,this.resize=new G,n.run(function(){var e;i.win=t.defaultView,i.backButton.subscribeWithPriority=function(e,t){return this.subscribe(function(i){return i.register(e,function(e){return n.run(function(){return t(e)})})})},aA(i.pause,t,"pause"),aA(i.resume,t,"resume"),aA(i.backButton,t,"ionBackButton"),aA(i.resize,i.win,"resize"),aA(i.keyboardDidShow,i.win,"ionKeyboardDidShow"),aA(i.keyboardDidHide,i.win,"ionKeyboardDidHide"),i._readyPromise=new Promise(function(t){e=t}),i.win&&i.win.cordova?t.addEventListener("deviceready",function(){e("cordova")},{once:!0}):e("dom")})}return C(e,[{key:"is",value:function(e){return Object(_k.a)(this.win,e)}},{key:"platforms",value:function(){return Object(_k.d)(this.win)}},{key:"ready",value:function(){return this._readyPromise}},{key:"isRTL",get:function(){return"rtl"===this.doc.dir}},{key:"getQueryParam",value:function(e){return oA(this.win.location.href,e)}},{key:"isLandscape",value:function(){return!this.isPortrait()}},{key:"isPortrait",value:function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}},{key:"testUserAgent",value:function(e){var t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}},{key:"url",value:function(){return this.win.location.href}},{key:"width",value:function(){return this.win.innerWidth}},{key:"height",value:function(){return this.win.innerHeight}}]),e}()).\u0275fac=function(e){return new(e||Nk)(Li(ad),Li(Cc))},Nk.\u0275prov=Le({token:Nk,factory:function(e){return Nk.\u0275fac(e)},providedIn:"root"}),Nk.ngInjectableDef=Le({factory:function(){return new Nk(Li(ad),Li(Cc))},token:Nk,providedIn:"root"}),Nk=mk([yk(0,Hi(ad))],Nk)),oA=function(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},aA=function(e,t,n){t&&t.addEventListener(n,function(t){e.next(null!=t?t.detail:void 0)})},sA=((jk=function(){function e(t,n,i,r){var o=this;S(this,e),this.location=n,this.serializer=i,this.router=r,this.direction=uA,this.animated=cA,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe(function(e){if(e instanceof mw){var t=e.restoredState?e.restoredState.navigationId:e.id;o.guessDirection=t<o.lastNavId?"back":"forward",o.guessAnimation=e.restoredState?void 0:o.guessDirection,o.lastNavId="forward"===o.guessDirection?e.id:t}}),t.backButton.subscribeWithPriority(0,function(e){o.pop(),e()})}return C(e,[{key:"navigateForward",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"navigateBack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"navigateRoot",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}},{key:"back",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{animated:!0,animationDirection:"back"};return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}},{key:"pop",value:function(){return wk(this,void 0,void 0,_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.topOutlet;case 1:if(e.t0=t,!e.t0){e.next=6;break}return e.next=5,t.pop();case 5:e.t0=!e.sent;case 6:if(!e.t0){e.next=10;break}t=t.parentOutlet;case 8:e.next=1;break;case 10:case"end":return e.stop()}},e,this)}))}},{key:"setDirection",value:function(e,t,n,i){this.direction=e,this.animated=lA(e,t,n),this.animationBuilder=i}},{key:"setTopOutlet",value:function(e){this.topOutlet=e}},{key:"consumeTransition",value:function(){var e,t="root",n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=uA,this.animated=cA,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}},{key:"navigate",value:function(e,t){if(Array.isArray(e))return this.router.navigate(e,t);var n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}]),e}()).\u0275fac=function(e){return new(e||jk)(Li(rA),Li(Sd),Li(Kw),Li(Ux,8))},jk.\u0275prov=Le({token:jk,factory:function(e){return jk.\u0275fac(e)},providedIn:"root"}),jk.ngInjectableDef=Le({factory:function(){return new jk(Li(rA),Li(Sd),Li(Kw),Li(Ux,8))},token:jk,providedIn:"root"}),jk=mk([yk(3,ji())],jk)),lA=function(e,t,n){if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},uA="auto",cA=void 0,dA=function(e,t,n){n.forEach(function(n){return e[n]=Ek(t,n)})};function hA(e){return function(t){return e.inputs&&(n=t,i=e.inputs,r=n.prototype,i.forEach(function(e){Object.defineProperty(r,e,{get:function(){return this.el[e]},set:function(t){var n=this;this.z.runOutsideAngular(function(){return n.el[e]=t})}})})),e.methods&&function(e,t){var n=e.prototype;t.forEach(function(e){n[e]=function(){var t=this,n=arguments;return this.z.runOutsideAngular(function(){return t.el[e].apply(t.el,n)})}})}(t,e.methods),t;var n,i,r}}var fA,pA,gA,vA,mA,yA,bA,wA,_A,xA,kA,AA,CA,SA,EA,PA,DA,OA,MA,TA,IA,RA,LA,FA,BA,zA,VA,NA,HA,jA,UA,WA,GA,qA,YA,ZA,QA,XA,KA,JA,$A,eC,tC,nC,iC,rC,oC,aC,sC,lC,uC,cC,dC,hC,fC,pC,gC,vC,mC,yC,bC,wC,_C,xC,kC,AC,CC,SC,EC,PC,DC,OC,MC,TC=((pC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||pC)(os(Jl),os(Sl),os(Cc))},pC.\u0275cmp=pt({type:pC,selectors:[["ion-app"]],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),pC),IC=((fC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||fC)(os(Jl),os(Sl),os(Cc))},fC.\u0275cmp=pt({type:fC,selectors:[["ion-avatar"]],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),fC),RC=((hC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||hC)(os(Jl),os(Sl),os(Cc))},hC.\u0275cmp=pt({type:hC,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),hC=mk([hA({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],hC)),LC=((dC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||dC)(os(Jl),os(Sl),os(Cc))},dC.\u0275cmp=pt({type:dC,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),dC=mk([hA({inputs:["color","mode"]})],dC)),FC=((cC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||cC)(os(Jl),os(Sl),os(Cc))},cC.\u0275cmp=pt({type:cC,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),cC=mk([hA({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],cC)),BC=((uC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||uC)(os(Jl),os(Sl),os(Cc))},uC.\u0275cmp=pt({type:uC,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),uC=mk([hA({inputs:["collapse"]})],uC)),zC=((lC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||lC)(os(Jl),os(Sl),os(Cc))},lC.\u0275cmp=pt({type:lC,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),lC=mk([hA({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],lC)),VC=((sC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||sC)(os(Jl),os(Sl),os(Cc))},sC.\u0275cmp=pt({type:sC,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),sC=mk([hA({inputs:["mode"]})],sC)),NC=((aC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||aC)(os(Jl),os(Sl),os(Cc))},aC.\u0275cmp=pt({type:aC,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),aC=mk([hA({inputs:["color","mode","translucent"]})],aC)),HC=((oC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||oC)(os(Jl),os(Sl),os(Cc))},oC.\u0275cmp=pt({type:oC,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),oC=mk([hA({inputs:["color","mode"]})],oC)),jC=((rC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange","ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||rC)(os(Jl),os(Sl),os(Cc))},rC.\u0275cmp=pt({type:rC,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),rC=mk([hA({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],rC)),UC=((iC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||iC)(os(Jl),os(Sl),os(Cc))},iC.\u0275cmp=pt({type:iC,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),iC=mk([hA({inputs:["color","disabled","mode","outline"]})],iC)),WC=((nC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||nC)(os(Jl),os(Sl),os(Cc))},nC.\u0275cmp=pt({type:nC,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),nC=mk([hA({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],nC)),GC=((tC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])})).\u0275fac=function(e){return new(e||tC)(os(Jl),os(Sl),os(Cc))},tC.\u0275cmp=pt({type:tC,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),tC=mk([hA({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],tC)),qC=((eC=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||eC)(os(Jl),os(Sl),os(Cc))},eC.\u0275cmp=pt({type:eC,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",dayNames:"dayNames",dayShortNames:"dayShortNames",dayValues:"dayValues",disabled:"disabled",displayFormat:"displayFormat",displayTimezone:"displayTimezone",doneText:"doneText",hourValues:"hourValues",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthNames:"monthNames",monthShortNames:"monthShortNames",monthValues:"monthValues",name:"name",pickerFormat:"pickerFormat",pickerOptions:"pickerOptions",placeholder:"placeholder",readonly:"readonly",value:"value",yearValues:"yearValues"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),eC=mk([hA({inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","displayTimezone","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"],methods:["open"]})],eC)),YC=(($A=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||$A)(os(Jl),os(Sl),os(Cc))},$A.\u0275cmp=pt({type:$A,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),$A=mk([hA({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],$A)),ZC=((JA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||JA)(os(Jl),os(Sl),os(Cc))},JA.\u0275cmp=pt({type:JA,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),JA=mk([hA({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],JA)),QC=((KA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||KA)(os(Jl),os(Sl),os(Cc))},KA.\u0275cmp=pt({type:KA,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),KA=mk([hA({inputs:["activated","side"]})],KA)),XC=((XA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||XA)(os(Jl),os(Sl),os(Cc))},XA.\u0275cmp=pt({type:XA,selectors:[["ion-footer"]],inputs:{mode:"mode",translucent:"translucent"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),XA=mk([hA({inputs:["mode","translucent"]})],XA)),KC=((QA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||QA)(os(Jl),os(Sl),os(Cc))},QA.\u0275cmp=pt({type:QA,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),QA=mk([hA({inputs:["fixed"]})],QA)),JC=((ZA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||ZA)(os(Jl),os(Sl),os(Cc))},ZA.\u0275cmp=pt({type:ZA,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),ZA=mk([hA({inputs:["collapse","mode","translucent"]})],ZA)),$C=((YA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||YA)(os(Jl),os(Sl),os(Cc))},YA.\u0275cmp=pt({type:YA,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),YA=mk([hA({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],YA)),eS=((qA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])})).\u0275fac=function(e){return new(e||qA)(os(Jl),os(Sl),os(Cc))},qA.\u0275cmp=pt({type:qA,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),qA=mk([hA({inputs:["alt","src"]})],qA)),tS=((GA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionInfinite"])})).\u0275fac=function(e){return new(e||GA)(os(Jl),os(Sl),os(Cc))},GA.\u0275cmp=pt({type:GA,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),GA=mk([hA({inputs:["disabled","position","threshold"],methods:["complete"]})],GA)),nS=((WA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||WA)(os(Jl),os(Sl),os(Cc))},WA.\u0275cmp=pt({type:WA,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),WA=mk([hA({inputs:["loadingSpinner","loadingText"]})],WA)),iS=((UA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])})).\u0275fac=function(e){return new(e||UA)(os(Jl),os(Sl),os(Cc))},UA.\u0275cmp=pt({type:UA,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),UA=mk([hA({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],UA)),rS=((jA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||jA)(os(Jl),os(Sl),os(Cc))},jA.\u0275cmp=pt({type:jA,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),jA=mk([hA({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],jA)),oS=((HA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||HA)(os(Jl),os(Sl),os(Cc))},HA.\u0275cmp=pt({type:HA,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),HA=mk([hA({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],HA)),aS=((NA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionSwipe"])})).\u0275fac=function(e){return new(e||NA)(os(Jl),os(Sl),os(Cc))},NA.\u0275cmp=pt({type:NA,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),NA=mk([hA({inputs:["side"]})],NA)),sS=((VA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionDrag"])})).\u0275fac=function(e){return new(e||VA)(os(Jl),os(Sl),os(Cc))},VA.\u0275cmp=pt({type:VA,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),VA=mk([hA({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],VA)),lS=((zA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||zA)(os(Jl),os(Sl),os(Cc))},zA.\u0275cmp=pt({type:zA,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),zA=mk([hA({inputs:["color","mode","position"]})],zA)),uS=((BA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||BA)(os(Jl),os(Sl),os(Cc))},BA.\u0275cmp=pt({type:BA,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),BA=mk([hA({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],BA)),cS=((FA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||FA)(os(Jl),os(Sl),os(Cc))},FA.\u0275cmp=pt({type:FA,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),FA=mk([hA({inputs:["color","lines","mode"]})],FA)),dS=((LA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])})).\u0275fac=function(e){return new(e||LA)(os(Jl),os(Sl),os(Cc))},LA.\u0275cmp=pt({type:LA,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),LA=mk([hA({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],LA)),hS=((RA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||RA)(os(Jl),os(Sl),os(Cc))},RA.\u0275cmp=pt({type:RA,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),RA=mk([hA({inputs:["autoHide","color","disabled","menu","mode","type"]})],RA)),fS=((IA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||IA)(os(Jl),os(Sl),os(Cc))},IA.\u0275cmp=pt({type:IA,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),IA=mk([hA({inputs:["autoHide","menu"]})],IA)),pS=((TA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||TA)(os(Jl),os(Sl),os(Cc))},TA.\u0275cmp=pt({type:TA,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),TA=mk([hA({inputs:["color","mode"]})],TA)),gS=((MA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||MA)(os(Jl),os(Sl),os(Cc))},MA.\u0275cmp=pt({type:MA,selectors:[["ion-radio"]],inputs:{color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),MA=mk([hA({inputs:["color","disabled","mode","name","value"]})],MA)),vS=((OA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange"])})).\u0275fac=function(e){return new(e||OA)(os(Jl),os(Sl),os(Cc))},OA.\u0275cmp=pt({type:OA,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),OA=mk([hA({inputs:["allowEmptySelection","name","value"]})],OA)),mS=((DA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange","ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||DA)(os(Jl),os(Sl),os(Cc))},DA.\u0275cmp=pt({type:DA,selectors:[["ion-range"]],inputs:{color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),DA=mk([hA({inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]})],DA)),yS=((PA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||PA)(os(Jl),os(Sl),os(Cc))},PA.\u0275cmp=pt({type:PA,selectors:[["ion-reorder"]],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),PA),bS=((EA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionItemReorder"])})).\u0275fac=function(e){return new(e||EA)(os(Jl),os(Sl),os(Cc))},EA.\u0275cmp=pt({type:EA,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),EA=mk([hA({inputs:["disabled"],methods:["complete"]})],EA)),wS=((SA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||SA)(os(Jl),os(Sl),os(Cc))},SA.\u0275cmp=pt({type:SA,selectors:[["ion-row"]],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),SA),_S=((CA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])})).\u0275fac=function(e){return new(e||CA)(os(Jl),os(Sl),os(Cc))},CA.\u0275cmp=pt({type:CA,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),CA=mk([hA({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],CA)),xS=((AA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange"])})).\u0275fac=function(e){return new(e||AA)(os(Jl),os(Sl),os(Cc))},AA.\u0275cmp=pt({type:AA,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),AA=mk([hA({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],AA)),kS=((kA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||kA)(os(Jl),os(Sl),os(Cc))},kA.\u0275cmp=pt({type:kA,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),kA=mk([hA({inputs:["disabled","layout","mode","type","value"]})],kA)),AS=((xA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||xA)(os(Jl),os(Sl),os(Cc))},xA.\u0275cmp=pt({type:xA,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),xA=mk([hA({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],xA)),CS=((_A=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||_A)(os(Jl),os(Sl),os(Cc))},_A.\u0275cmp=pt({type:_A,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),_A=mk([hA({inputs:["disabled","value"]})],_A)),SS=((wA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||wA)(os(Jl),os(Sl),os(Cc))},wA.\u0275cmp=pt({type:wA,selectors:[["ion-slide"]],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),wA),ES=((bA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])})).\u0275fac=function(e){return new(e||bA)(os(Jl),os(Sl),os(Cc))},bA.\u0275cmp=pt({type:bA,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),bA=mk([hA({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],bA)),PS=((yA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||yA)(os(Jl),os(Sl),os(Cc))},yA.\u0275cmp=pt({type:yA,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),yA=mk([hA({inputs:["color","duration","name","paused"]})],yA)),DS=((mA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionSplitPaneVisible"])})).\u0275fac=function(e){return new(e||mA)(os(Jl),os(Sl),os(Cc))},mA.\u0275cmp=pt({type:mA,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),mA=mk([hA({inputs:["contentId","disabled","when"]})],mA)),OS=((vA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||vA)(os(Jl),os(Sl),os(Cc))},vA.\u0275cmp=pt({type:vA,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),vA=mk([hA({inputs:["color","size"]})],vA)),MS=((gA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement,dA(this,this.el,["ionChange","ionFocus","ionBlur"])})).\u0275fac=function(e){return new(e||gA)(os(Jl),os(Sl),os(Cc))},gA.\u0275cmp=pt({type:gA,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),gA=mk([hA({inputs:["checked","color","disabled","mode","name","value"]})],gA)),TS=((pA=C(function e(t,n,i){S(this,e),this.z=i,t.detach(),this.el=n.nativeElement})).\u0275fac=function(e){return new(e||pA)(os(Jl),os(Sl),os(Cc))},pA.\u0275cmp=pt({type:pA,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),pA=mk([hA({inputs:["color","mode"]})],pA)),IS=((fA=function(){function e(){S(this,e)}return C(e,[{key:"get",value:function(e,t){var n=LS();return n?n.get(e,t):null}},{key:"getBoolean",value:function(e,t){var n=LS();return!!n&&n.getBoolean(e,t)}},{key:"getNumber",value:function(e,t){var n=LS();return n?n.getNumber(e,t):0}},{key:"set",value:function(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=LS();n&&n.set(e,t)}}]),e}()).\u0275fac=function(e){return new(e||fA)},fA.\u0275prov=Le({token:fA,factory:function(e){return fA.\u0275fac(e)},providedIn:"root"}),fA.ngInjectableDef=Le({factory:function(){return new fA},token:fA,providedIn:"root"}),fA),RS=new yi("USERCONFIG"),LS=function(){if("undefined"!=typeof window){var e=window.Ionic;if(e&&e.config)return e.config}return null},FS=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S(this,e),this.data=t}return C(e,[{key:"get",value:function(e){return this.data[e]}}]),e}(),BS=((gC=function(){function e(t,n){S(this,e),this.zone=t,this.appRef=n}return C(e,[{key:"create",value:function(e,t,n){return new zS(e,t,n,this.appRef,this.zone)}}]),e}()).\u0275fac=function(e){return new(e||gC)(Li(Cc),Li(qc))},gC.\u0275prov=Le({token:gC,factory:function(e){return gC.\u0275fac(e)}}),gC),zS=function(){function e(t,n,i,r,o){S(this,e),this.resolver=t,this.injector=n,this.location=i,this.appRef=r,this.zone=o,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return C(e,[{key:"attachViewToDom",value:function(e,t,n,i){var r=this;return this.zone.run(function(){return new Promise(function(o){o(VS(r.zone,r.resolver,r.injector,r.location,r.appRef,r.elRefMap,r.elEventsMap,e,t,n,i))})})}},{key:"removeViewFromDom",value:function(e,t){var n=this;return this.zone.run(function(){return new Promise(function(e){var i=n.elRefMap.get(t);if(i){i.destroy(),n.elRefMap.delete(t);var r=n.elEventsMap.get(t);r&&(r(),n.elEventsMap.delete(t))}e()})})}}]),e}(),VS=function(e,t,n,i,r,o,a,s,l,u,c){var d=t.resolveComponentFactory(l),h=Ba.create({providers:US(u),parent:n}),p=i?i.createComponent(d,i.length,h):d.create(h),g=p.instance,v=p.location.nativeElement;if(u&&Object.assign(g,u),c){var m,y=f(c);try{for(y.s();!(m=y.n()).done;){var b=m.value;v.classList.add(b)}}catch(_){y.e(_)}finally{y.f()}}var w=HS(e,g,v);return s.appendChild(v),i||r.attachView(p.hostView),p.changeDetectorRef.reattach(),o.set(v,p),a.set(v,w),v},NS=[kk.a,kk.b,kk.c,kk.d,kk.e],HS=function(e,t,n){return e.run(function(){var e=NS.filter(function(e){return"function"==typeof t[e]}).map(function(e){var i=function(n){return t[e](n.detail)};return n.addEventListener(e,i),function(){return n.removeEventListener(e,i)}});return function(){return e.forEach(function(e){return e()})}})},jS=new yi("NavParamsToken"),US=function(e){return[{provide:jS,useValue:e},{provide:FS,useFactory:WS,deps:[jS]}]},WS=function(e){return new FS(e)},GS=function(e,t){return(e=e.filter(function(e){return e.stackId!==t.stackId})).push(t),e},qS=function(e,t){var n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},YS=function(e,t){if(e)for(var n=ZS(t),i=0;i<n.length;i++){if(i>=e.length)return n[i];if(n[i]!==e[i])return}},ZS=function(e){return e.split("/").map(function(e){return e.trim()}).filter(function(e){return""!==e})},QS=function(e){e&&(e.ref.destroy(),e.unlistenEvents())},XS=function(){function e(t,n,i,r,o,a){S(this,e),this.containerEl=n,this.router=i,this.navCtrl=r,this.zone=o,this.location=a,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==t?ZS(t):void 0}return C(e,[{key:"createView",value:function(e,t){var n=qS(this.router,t),i=e&&e.location&&e.location.nativeElement,r=HS(this.zone,e.instance,i);return{id:this.nextId++,stackId:YS(this.tabsPrefix,n),unlistenEvents:r,element:i,ref:e,url:n}}},{key:"getExistingView",value:function(e){var t=qS(this.router,e),n=this.views.find(function(e){return e.url===t});return n&&n.ref.changeDetectorRef.reattach(),n}},{key:"setActive",value:function(e){var t=this,n=this.navCtrl.consumeTransition(),i=n.direction,r=n.animation,o=n.animationBuilder,a=this.activeView,s=function(e,t){return!t||e.stackId!==t.stackId}(e,a);s&&(i="back",r=void 0);var l,u=this.views.slice(),c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var d=this.views.includes(e),h=this.insertView(e,i);d||e.ref.changeDetectorRef.detectChanges();var f=e.animationBuilder;return void 0!==o||"back"!==i||s||void 0===f||(o=f),a&&(a.animationBuilder=o),this.zone.runOutsideAngular(function(){return t.wait(function(){return a&&a.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),t.transition(e,a,r,t.canGoBack(1),!1,o).then(function(){return KS(e,h,u,t.location)}).then(function(){return{enteringView:e,direction:i,animation:r,tabSwitch:s}})})})}},{key:"canGoBack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getActiveStackId();return this.getStack(t).length>e}},{key:"pop",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getActiveStackId();return this.zone.run(function(){var i=t.getStack(n);if(i.length<=e)return Promise.resolve(!1);var r=i[i.length-e-1],o=r.url,a=r.savedData;if(a){var s=a.get("primary");s&&s.route&&s.route._routerState&&s.route._routerState.snapshot&&s.route._routerState.snapshot.url&&(o=s.route._routerState.snapshot.url)}var l=t.navCtrl.consumeTransition().animationBuilder;return t.navCtrl.navigateBack(o,Object.assign({},r.savedExtras,{animation:l})).then(function(){return!0})})}},{key:"startBackTransition",value:function(){var e=this,t=this.activeView;if(t){var n=this.getStack(t.stackId),i=n[n.length-2],r=i.animationBuilder;return this.wait(function(){return e.transition(i,t,"back",e.canGoBack(2),!0,r)})}return Promise.resolve()}},{key:"endBackTransition",value:function(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&JS(this.activeView,this.views,this.views,this.location)}},{key:"getLastUrl",value:function(e){var t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}},{key:"getRootUrl",value:function(e){var t=this.getStack(e);return t.length>0?t[0]:void 0}},{key:"getActiveStackId",value:function(){return this.activeView?this.activeView.stackId:void 0}},{key:"destroy",value:function(){this.containerEl=void 0,this.views.forEach(QS),this.activeView=void 0,this.views=[]}},{key:"getStack",value:function(e){return this.views.filter(function(t){return t.stackId===e})}},{key:"insertView",value:function(e,t){return this.activeView=e,this.views=function(e,t,n){return"root"===n?GS(e,t):"forward"===n?function(e,t){return e.indexOf(t)>=0?e=e.filter(function(e){return e.stackId!==t.stackId||e.id<=t.id}):e.push(t),e}(e,t):function(e,t){return e.indexOf(t)>=0?e.filter(function(e){return e.stackId!==t.stackId||e.id<=t.id}):GS(e,t)}(e,t)}(this.views,e,t),this.views.slice()}},{key:"transition",value:function(e,t,n,i,r,o){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);var a=e?e.element:void 0,s=t?t.element:void 0,l=this.containerEl;return a&&a!==s&&(a.classList.add("ion-page"),a.classList.add("ion-page-invisible"),a.parentElement!==l&&l.appendChild(a),l.commit)?l.commit(a,s,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:i,progressAnimation:r,animationBuilder:o}):Promise.resolve(!1)}},{key:"wait",value:function(e){return wk(this,void 0,void 0,_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=void 0!==this.runningTask,!t.t0){t.next=5;break}return t.next=4,this.runningTask;case 4:this.runningTask=void 0;case 5:return t.abrupt("return",this.runningTask=e());case 6:case"end":return t.stop()}},t,this)}))}}]),e}(),KS=function(e,t,n,i){return"function"==typeof requestAnimationFrame?new Promise(function(r){requestAnimationFrame(function(){JS(e,t,n,i),r()})}):Promise.resolve()},JS=function(e,t,n,i){n.filter(function(e){return!t.includes(e)}).forEach(QS),t.forEach(function(t){var n=i.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){var r=t.element;r.setAttribute("aria-hidden","true"),r.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})},$S=((vC=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f){S(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.config=a,this.navCtrl=s,this.parentOutlet=f,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Cb(null),this.stackEvents=new Bu,this.activateEvents=new Bu,this.deactivateEvents=new Bu,this.nativeEl=u.nativeElement,this.name=r||"primary",this.tabsPrefix="true"===o?qS(c,h):void 0,this.stackCtrl=new XS(this.tabsPrefix,this.nativeEl,c,s,d,l),t.onChildOutletCreated(this.name,this)}return C(e,[{key:"animation",set:function(e){this.nativeEl.animation=e}},{key:"animated",set:function(e){this.nativeEl.animated=e}},{key:"swipeGesture",set:function(e){var t=this;this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:function(){return t.stackCtrl.canGoBack(1)},onStart:function(){return t.stackCtrl.startBackTransition()},onEnd:function(e){return t.stackCtrl.endBackTransition(e)}}:void 0}},{key:"ngOnDestroy",value:function(){this.stackCtrl.destroy()}},{key:"getContext",value:function(){return this.parentContexts.getContext(this.name)}},{key:"ngOnInit",value:function(){var e=this;if(!this.activated){var t=this.getContext();t&&t.route&&this.activateWith(t.route,t.resolver||null)}new Promise(function(t){return Object(xk.c)(e.nativeEl,t)}).then(function(){void 0===e._swipeGesture&&(e.swipeGesture=e.config.getBoolean("swipeBackEnabled","ios"===e.nativeEl.mode))})}},{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(){throw new Error("incompatible reuse strategy")}},{key:"attach",value:function(e,t){throw new Error("incompatible reuse strategy")}},{key:"deactivate",value:function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var e=this.getContext();if(e.route){var t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}},{key:"activateWith",value:function(e,t){var n,i=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var r=this.stackCtrl.getExistingView(e);if(r){n=this.activated=r.ref;var o=r.savedData;o&&(this.getContext().children.contexts=o),this.updateActivatedRouteProxy(n.instance,e)}else{var a=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,l=new Cb(null),u=this.createActivatedRouteProxy(l,e),c=new eE(u,s,this.location.injector);n=this.activated=this.location.createComponent(a,this.location.length,c),l.next(n.instance),r=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=r,this.stackCtrl.setActive(r).then(function(e){i.navCtrl.setTopOutlet(i),i.activateEvents.emit(n.instance),i.stackEvents.emit(e)})}},{key:"canGoBack",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return this.stackCtrl.canGoBack(e,t)}},{key:"pop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return this.stackCtrl.pop(e,t)}},{key:"getLastUrl",value:function(e){var t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}},{key:"getLastRouteView",value:function(e){return this.stackCtrl.getLastUrl(e)}},{key:"getRootView",value:function(e){return this.stackCtrl.getRootUrl(e)}},{key:"getActiveStackId",value:function(){return this.stackCtrl.getActiveStackId()}},{key:"createActivatedRouteProxy",value:function(e,t){var n=new w_;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}},{key:"proxyObservable",value:function(e,t){var n=this;return e.pipe(Ly(function(e){return!!e}),zb(function(e){return n.currentActivatedRoute$.pipe(Ly(function(t){return null!==t&&t.component===e}),zb(function(e){return e&&e.activatedRoute[t]}),Dk())}))}},{key:"updateActivatedRouteProxy",value:function(e,t){var n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}}]),e}()).\u0275fac=function(e){return new(e||vC)(os(Lx),os(cu),os(xl),gi("name"),gi("tabs"),os(IS),os(sA),os(Sd),os(Sl),os(Ux),os(Cc),os(w_),os(vC,12))},vC.\u0275dir=wt({type:vC,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),vC=mk([yk(3,mi("name")),yk(4,ji()),yk(4,mi("tabs")),yk(12,Ui()),yk(12,ji())],vC)),eE=function(){function e(t,n,i){S(this,e),this.route=t,this.childContexts=n,this.parent=i}return C(e,[{key:"get",value:function(e,t){return e===w_?this.route:e===Lx?this.childContexts:this.parent.get(e,t)}}]),e}(),tE=((xC=function(){function e(t,n,i){S(this,e),this.routerOutlet=t,this.navCtrl=n,this.config=i}return C(e,[{key:"onClick",value:function(e){var t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}}]),e}()).\u0275fac=function(e){return new(e||xC)(os($S,8),os(sA),os(IS))},xC.\u0275dir=wt({type:xC,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&ys("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),xC=mk([yk(0,ji())],xC)),nE=((_C=function(){function e(t,n,i,r,o){S(this,e),this.locationStrategy=t,this.navCtrl=n,this.elementRef=i,this.router=r,this.routerLink=o,this.routerDirection="forward"}return C(e,[{key:"ngOnInit",value:function(){this.updateTargetUrlAndHref()}},{key:"ngOnChanges",value:function(){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"updateTargetUrlAndHref",value:function(){if(this.routerLink){var e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}},{key:"onClick",value:function(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}}]),e}()).\u0275fac=function(e){return new(e||_C)(os(yd),os(sA),os(Sl),os(Ux),os(Wx,8))},_C.\u0275dir=wt({type:_C,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&ys("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[Tt]}),_C=mk([yk(4,ji())],_C)),iE=((wC=C(function e(t){S(this,e),this.templateRef=t})).\u0275fac=function(e){return new(e||wC)(os(ru))},wC.\u0275dir=wt({type:wC,selectors:[["","virtualFooter",""]]}),wC),rE=((bC=C(function e(t){S(this,e),this.templateRef=t})).\u0275fac=function(e){return new(e||bC)(os(ru))},bC.\u0275dir=wt({type:bC,selectors:[["","virtualHeader",""]]}),bC),oE=((yC=C(function e(t,n){S(this,e),this.templateRef=t,this.viewContainer=n})).\u0275fac=function(e){return new(e||yC)(os(ru),os(cu))},yC.\u0275dir=wt({type:yC,selectors:[["","virtualItem",""]]}),yC),aE=((mC=function(){function e(t,n,i){S(this,e),this.z=t,this.iterableDiffers=n,this.refMap=new WeakMap,this.el=i.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return C(e,[{key:"ngOnChanges",value:function(e){if(this.trackBy&&"items"in e){var t=e.items.currentValue;if(void 0===this.differ&&null!=t)try{this.differ=this.iterableDiffers.find(t).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"'. VirtualScroll only supports binding to Iterables such as Arrays."))}}}},{key:"ngDoCheck",value:function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}},{key:"nodeRender",value:function(e,t,n){var i=this;return this.z.run(function(){var r;if(e){var o=(r=i.refMap.get(e)).context;o.$implicit=t.value,o.index=t.index}else r=i.itmTmp.viewContainer.createEmbeddedView(i.getComponent(t.type),{$implicit:t.value,index:n},n),e=sE(r),i.refMap.set(e,r);return r.detectChanges(),e})}},{key:"getComponent",value:function(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}}]),e}()).\u0275fac=function(e){return new(e||mC)(os(Cc),os(Gl),os(Sl))},mC.\u0275cmp=pt({type:mC,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){var i;1&e&&(Ku(n,oE,1),Ku(n,rE,1),Ku(n,iE,1)),2&e&&(Qu(i=Ju())&&(t.itmTmp=i.first),Qu(i=Ju())&&(t.hdrTmp=i.first),Qu(i=Ju())&&(t.ftrTmp=i.first))},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[Tt],ngContentSelectors:qk,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},encapsulation:2,changeDetection:0}),mC=mk([hA({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],mC)),sE=function(e){for(var t=e.rootNodes,n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")},lE=function(){function e(t){S(this,e),this.ctrl=t}return C(e,[{key:"create",value:function(e){return this.ctrl.create(e||{})}},{key:"dismiss",value:function(e,t,n){return this.ctrl.dismiss(e,t,n)}},{key:"getTop",value:function(){return this.ctrl.getTop()}}]),e}(),uE=((DC=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.call(this,Ck.c)}return C(n)}(lE)).\u0275fac=function(e){return new(e||DC)},DC.\u0275prov=Le({token:DC,factory:function(e){return DC.\u0275fac(e)},providedIn:"root"}),DC.ngInjectableDef=Le({factory:function(){return new DC},token:DC,providedIn:"root"}),DC),cE=((PC=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.call(this,Ck.b)}return C(n)}(lE)).\u0275fac=function(e){return new(e||PC)},PC.\u0275prov=Le({token:PC,factory:function(e){return PC.\u0275fac(e)},providedIn:"root"}),PC.ngInjectableDef=Le({factory:function(){return new PC},token:PC,providedIn:"root"}),PC),dE=((EC=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.call(this,Ck.k)}return C(n)}(lE)).\u0275fac=function(e){return new(e||EC)},EC.\u0275prov=Le({token:EC,factory:function(e){return EC.\u0275fac(e)},providedIn:"root"}),EC.ngInjectableDef=Le({factory:function(){return new EC},token:EC,providedIn:"root"}),EC),hE=((SC=function(){function e(){S(this,e)}return C(e,[{key:"open",value:function(e){return Ak.a.open(e)}},{key:"close",value:function(e){return Ak.a.close(e)}},{key:"toggle",value:function(e){return Ak.a.toggle(e)}},{key:"enable",value:function(e,t){return Ak.a.enable(e,t)}},{key:"swipeGesture",value:function(e,t){return Ak.a.swipeGesture(e,t)}},{key:"isOpen",value:function(e){return Ak.a.isOpen(e)}},{key:"isEnabled",value:function(e){return Ak.a.isEnabled(e)}},{key:"get",value:function(e){return Ak.a.get(e)}},{key:"getOpen",value:function(){return Ak.a.getOpen()}},{key:"getMenus",value:function(){return Ak.a.getMenus()}}]),e}()).\u0275fac=function(e){return new(e||SC)},SC.\u0275prov=Le({token:SC,factory:function(e){return SC.\u0275fac(e)},providedIn:"root"}),SC.ngInjectableDef=Le({factory:function(){return new SC},token:SC,providedIn:"root"}),SC),fE=((CC=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,Ck.l)).angularDelegate=e,o.resolver=i,o.injector=r,o}return C(n,[{key:"create",value:function(e){return i(d(n.prototype),"create",this).call(this,Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}}]),n}(lE)).\u0275fac=function(e){return new(e||CC)(Li(BS),Li(xl),Li(Ba))},CC.\u0275prov=Le({token:CC,factory:function(e){return CC.\u0275fac(e)}}),CC),pE=((AC=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,Ck.d)).angularDelegate=e,o.resolver=i,o.injector=r,o}return C(n,[{key:"create",value:function(e){return i(d(n.prototype),"create",this).call(this,Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}}]),n}(lE)).\u0275fac=function(e){return new(e||AC)(Li(BS),Li(xl),Li(Ba))},AC.\u0275prov=Le({token:AC,factory:function(e){return AC.\u0275fac(e)}}),AC),gE=((kC=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.call(this,Ck.o)}return C(n)}(lE)).\u0275fac=function(e){return new(e||kC)},kC.\u0275prov=Le({token:kC,factory:function(e){return kC.\u0275fac(e)},providedIn:"root"}),kC.ngInjectableDef=Le({factory:function(){return new kC},token:kC,providedIn:"root"}),kC),vE=function(){function e(){S(this,e)}return C(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"shouldAttach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){if(e.routeConfig!==t.routeConfig)return!1;var n=e.params,i=t.params,r=Object.keys(n),o=Object.keys(i);if(r.length!==o.length)return!1;for(var a=0,s=r;a<s.length;a++){var l=s[a];if(i[l]!==n[l])return!1}return!0}}]),e}(),mE=!1,yE=function(e,t,n){return function(){var i=t.defaultView;if(i&&"undefined"!=typeof window){mE&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),mE=!0,(i.Ionic=i.Ionic||{}).config=Object.assign({},e,{_zoneGate:function(e){return n.run(e)}});var r="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(a.e(7).then(a.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(a.e(5).then(a.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(function(){return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:Yk,jmp:function(e){return n.runOutsideAngular(e)},ael:function(e,t,n,i){e[r](t,n,i)},rel:function(e,t,n,i){e.removeEventListener(t,n,i)}},"undefined"==typeof window?Promise.resolve():(Sk.b&&Sk.b.supports&&Sk.b.supports("color","var(--c)")?Object(Sk.d)():a.e(6).then(a.t.bind(null,"9qUq",7)).then(function(){return(Sk.n.$cssShim$=Sk.q.__cssshim)?Sk.n.$cssShim$.i():0})).then(function(){return Gk(),Object(Sk.e)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[1],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[1]}],[33,"ion-card-title",{"color":[1]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[1],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[1],"size":[1]}],[33,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],["ion-range",[[33,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[1],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[1],"lines":[1]}]]]]'),e)});var e})}}},bE=((MC=OC=function(){function e(){S(this,e)}return C(e,null,[{key:"forRoot",value:function(e){return{ngModule:OC,providers:[{provide:RS,useValue:e},{provide:rc,useFactory:yE,multi:!0,deps:[RS,ad,Cc]}]}}}]),e}()).\u0275fac=function(e){return new(e||MC)},MC.\u0275mod=yt({type:MC}),MC.\u0275inj=Be({providers:[BS,fE,pE],imports:[[Qh]]}),MC),wE=a("Hfs6"),_E=a.n(wE);function xE(e){return!!e&&(e instanceof V||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var kE=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.pending=!1,r}return C(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,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,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){o(n,e);var t=s(n);function n(e,i){return S(this,n),t.call(this)}return C(n,[{key:"schedule",value:function(e){return this}}]),n}(M)),AE=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return C(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?i(d(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?i(d(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?i(d(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(kE),CE=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;S(this,e),this.SchedulerAction=t,this.now=n}return C(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),SE=function(e){o(n,e);var t=s(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:CE.now;return S(this,n),(i=t.call(this,e,function(){return n.delegate&&n.delegate!==u(i)?n.delegate.now():r()})).actions=[],i.active=!1,i.scheduled=void 0,i}return C(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):i(d(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(CE),EE=new(function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n)}(SE))(AE);function PE(e,t){return new V(t?function(n){return t.schedule(DE,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function DE(e){var t=e.error;e.subscriber.error(t)}var OE,ME=((OE=function(){function e(t,n,i){S(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return C(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 Iy(this.value);case"E":return PE(this.error);case"C":return Fb()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new OE("C"),OE.undefinedValueNotification=new OE("N",void 0),OE),TE=function(e){o(n,e);var t=s(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return S(this,n),(r=t.call(this,e)).scheduler=i,r.delay=o,r}return C(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new IE(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(ME.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(ME.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(ME.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(R),IE=C(function e(t,n){S(this,e),this.notification=t,this.destination=n}),RE=function(e){o(n,e);var t=s(n);function n(){var e,i=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,o=arguments.length>2?arguments[2]:void 0;return S(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return C(n,[{key:"nextInfiniteTimeWindow",value:function(e){if(!this.isStopped){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}i(d(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this.isStopped||(this._events.push(new LE(this._getNow(),e)),this._trimBufferThenGetEvents()),i(d(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new j;if(this.isStopped||this.hasError?t=M.EMPTY:(this.observers.push(e),t=new U(this,e)),r&&e.add(e=new TE(e,r)),n)for(var a=0;a<o&&!e.closed;a++)e.next(i[a]);else for(var s=0;s<o&&!e.closed;s++)e.next(i[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||EE).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(e-i[o].time<n);)o++;return r>t&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}]),n}(G),LE=C(function e(t,n){S(this,e),this.time=t,this.value=n});function FE(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=e.refCount,l=e.scheduler,u=0,c=!1,d=!1;return function(e){var i;u++,!t||c?(c=!1,t=new RE(r,a,l),i=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){c=!0,t.error(e)},complete:function(){d=!0,n=void 0,t.complete()}}),d&&(n=void 0)):i=t.subscribe(this),this.add(function(){u--,i.unsubscribe(),i=void 0,n&&!d&&s&&0===u&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}var BE,zE,VE=C(function e(){S(this,e)}),NE=((BE=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"getTranslation",value:function(e){return Iy({})}}]),n}(VE)).\u0275fac=function(e){return HE(e||BE)},BE.\u0275prov=Le({token:BE,factory:BE.\u0275fac}),BE),HE=fi(NE),jE=C(function e(){S(this,e)}),UE=((zE=function(){function e(){S(this,e)}return C(e,[{key:"handle",value:function(e){return e.key}}]),e}()).\u0275fac=function(e){return new(e||zE)},zE.\u0275prov=Le({token:zE,factory:zE.\u0275fac}),zE);function WE(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!WE(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!WE(e[i],t[i]))return!1;return!0}}return!1}function GE(e){return null!=e}function qE(e){return e&&"object"==typeof e&&!Array.isArray(e)}function YE(e,t){var n=Object.assign({},e);return qE(e)&&qE(t)&&Object.keys(t).forEach(function(i){qE(t[i])&&i in e?n[i]=YE(e[i],t[i]):Object.assign(n,h({},i,t[i]))}),n}var ZE,QE,XE,KE,JE,$E,eP,tP,nP,iP,rP,oP,aP=C(function e(){S(this,e)}),sP=((ZE=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return C(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!GE(e)||!GE(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,function(e,i){var r=n.getValue(t,i);return GE(r)?r:e}):e}}]),n}(aP)).\u0275fac=function(e){return lP(e||ZE)},ZE.\u0275prov=Le({token:ZE,factory:ZE.\u0275fac}),ZE),lP=fi(sP),uP=C(function e(){S(this,e)}),cP=((QE=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(uP)).\u0275fac=function(e){return dP(e||QE)},QE.\u0275prov=Le({token:QE,factory:QE.\u0275fac}),QE),dP=fi(cP),hP=C(function e(){S(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Bu,this.onLangChange=new Bu,this.onDefaultLangChange=new Bu}),fP=new yi("USE_STORE"),pP=new yi("USE_DEFAULT_LANG"),gP=new yi("DEFAULT_LANGUAGE"),vP=new yi("USE_EXTEND"),mP=((JE=function(){function e(t,n,i,r,o){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8?arguments[8]:void 0;S(this,e),this.store=t,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new Bu,this._onLangChange=new Bu,this._onDefaultLangChange=new Bu,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}return C(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(jb(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Iy(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(jb(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),Iy(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(FE(1),jb(1));return this.loadingTranslations=n.pipe(Z(function(n){return t.compiler.compileTranslations(n,e)}),FE(1),jb(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?YE(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var r,o={},a=!1,s=f(t);try{for(s.s();!(r=s.n()).done;){var l=r.value;o[l]=this.getParsedResult(e,l,n),xE(o[l])&&(a=!0)}}catch(c){s.e(c)}finally{s.f()}return a?Cv(t.map(function(e){return xE(o[e])?o[e]:Iy(o[e])})).pipe(Z(function(e){var n={};return e.forEach(function(e,i){n[t[i]]=e}),n})):o}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var u={key:t,translateService:this};void 0!==n&&(u.interpolateParams=n),i=this.missingTranslationHandler.handle(u)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!GE(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Ry(function(i){return xE(i=n.getParsedResult(i,e,t))?i:Iy(i)}));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return xE(i)?i:Iy(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!GE(e)||!e.length)throw new Error('Parameter "key" required');return Rb(Bb(function(){return n.get(e,t)}),this.onTranslationChange.pipe(zb(function(i){var r=n.getParsedResult(i.translations,e,t);return"function"==typeof r.subscribe?r:Iy(r)})))}},{key:"stream",value:function(e,t){var n=this;if(!GE(e)||!e.length)throw new Error('Parameter "key" required');return Rb(Bb(function(){return n.get(e,t)}),this.onLangChange.pipe(zb(function(i){var r=n.getParsedResult(i.translations,e,t);return xE(r)?r:Iy(r)})))}},{key:"instant",value:function(e,t){if(!GE(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(xE(n)){if(e instanceof Array){var i={};return e.forEach(function(t,n){i[e[n]]=e[n]}),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),e}()).\u0275fac=function(e){return new(e||JE)(Li(hP),Li(VE),Li(uP),Li(aP),Li(jE),Li(pP),Li(fP),Li(vP),Li(gP))},JE.\u0275prov=Le({token:JE,factory:JE.\u0275fac}),JE),yP=((KE=function(){function e(t,n){S(this,e),this.translate=t,this._ref=n,this.value=""}return C(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var o=this.translate.getParsedResult(n,e,t);xE(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];if(WE(e,this.lastKey)&&WE(r,this.lastParams))return this.value;if(GE(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){var a=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(a)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+r[0])}}else"object"!=typeof r[0]||Array.isArray(r[0])||(t=r[0]);return this.lastKey=e,this.lastParams=r,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(function(i){n.lastKey&&i.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(function(i){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))})),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}()).\u0275fac=function(e){return new(e||KE)(os(mP),ic())},KE.\u0275pipe=_t({name:"translate",type:KE,pure:!1}),KE.\u0275prov=Le({token:KE,factory:KE.\u0275fac}),KE),bP=((XE=function(){function e(){S(this,e)}return C(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:VE,useClass:NE},t.compiler||{provide:uP,useClass:cP},t.parser||{provide:aP,useClass:sP},t.missingTranslationHandler||{provide:jE,useClass:UE},hP,{provide:fP,useValue:t.isolate},{provide:pP,useValue:t.useDefaultLang},{provide:vP,useValue:t.extend},{provide:gP,useValue:t.defaultLanguage},mP]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:VE,useClass:NE},t.compiler||{provide:uP,useClass:cP},t.parser||{provide:aP,useClass:sP},t.missingTranslationHandler||{provide:jE,useClass:UE},{provide:fP,useValue:t.isolate},{provide:pP,useValue:t.useDefaultLang},{provide:vP,useValue:t.extend},{provide:gP,useValue:t.defaultLanguage},mP]}}}]),e}()).\u0275fac=function(e){return new(e||XE)},XE.\u0275mod=yt({type:XE}),XE.\u0275inj=Be({}),XE),wP=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},_P=(($E=function(){function e(t,n,i){S(this,e),this.translate=t,this.router=n,this.toastController=i}return C(e,[{key:"success",value:function(e){return wP(this,void 0,void 0,_().mark(function t(){var n;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.includes("lang.")?this.translate.instant(e):e,t.next=3,this.toastController.create({cssClass:"notif-success",duration:3e3,message:n,position:"top"});case 3:t.sent.present();case 4:case"end":return t.stop()}},t,this)}))}},{key:"error",value:function(e){return wP(this,void 0,void 0,_().mark(function t(){var n;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.includes("lang.")?this.translate.instant(e):e,t.next=3,this.toastController.create({cssClass:"notif-error",duration:3e3,message:n,position:"top"});case 3:t.sent.present();case 4:case"end":return t.stop()}},t,this)}))}},{key:"handleErrors",value:function(e){console.log(e),0===e.status&&"Unknown Error"===e.statusText?this.error("lang.connectionServerFailed"):void 0!==e.error.errors?(this.error(void 0!==e.error.lang?"lang."+e.error.lang:e.error.errors),403!==e.status&&404!==e.status||this.router.navigate(["/home"])):this.error(void 0!==e.error.exception?e.error.exception[0].message:void 0!==e.error.error&&void 0!==e.error.error.message?e.error.error.message:void 0!==e.error.error[0]?e.error.error[0].message:e.message)}}]),e}()).\u0275fac=function(e){return new(e||$E)(Li(mP),Li(Ux),Li(gE))},$E.\u0275prov=Le({token:$E,factory:$E.\u0275fac}),$E),xP=function(){function e(){S(this,e)}return C(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),kP=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return C(n)}(xP),AP=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return C(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,i(d(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,i(d(n.prototype),"detach",this).call(this)}}]),n}(xP),CP=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this)).element=e instanceof Sl?e.nativeElement:e,i}return C(n)}(xP),SP=function(){function e(){S(this,e),this._isDisposed=!1,this.attachDomPortal=null}return C(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof kP?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof AP?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof CP?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{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)}}]),e}(),EP=function(e){o(n,e);var t=s(n);function n(e,r,o,a,s){var l,c;return S(this,n),(c=t.call(this)).outletElement=e,c._componentFactoryResolver=r,c._appRef=o,c._defaultInjector=a,c.attachDomPortal=function(e){var t=e.element,r=c._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),c.outletElement.appendChild(t),i((l=u(c),d(n.prototype)),"setDisposeFn",l).call(l,function(){r.parentNode&&r.parentNode.replaceChild(t,r)})},c._document=s,c}return C(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.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,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),i}},{key:"dispose",value:function(){i(d(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(SP),PP=((oP=function(e){o(n,e);var t=s(n);function n(e,r,o){var a,s;return S(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=r,s._isInitialized=!1,s.attached=new Bu,s.attachDomPortal=function(e){var t=e.element,r=s._document.createComment("dom-portal");e.setAttachedHost(u(s)),t.parentNode.insertBefore(r,t),s._getRootNode().appendChild(t),i((a=u(s),d(n.prototype)),"setDisposeFn",a).call(a,function(){r.parentNode&&r.parentNode.replaceChild(t,r)})},s._document=o,s}return C(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&i(d(n.prototype),"detach",this).call(this),e&&i(d(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){i(d(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),i(d(n.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return i(d(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(SP)).\u0275fac=function(e){return new(e||oP)(os(xl),os(cu),os(ad))},oP.\u0275dir=wt({type:oP,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Va]}),oP),DP=((rP=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||rP)},rP.\u0275mod=yt({type:rP}),rP.\u0275inj=Be({}),rP),OP=((iP=function(){function e(t,n,i){S(this,e),this.componentFactoryResolver=t,this.injector=n,this.appRef=i,this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentToobal="mainDocumentDetail",this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.mobileMode=!0,this.smartphoneMode=!0,this.mode="",this.scale=1,this.x=0,this.y=90,this.dragging=!1,this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}return C(e,[{key:"reset",value:function(){this.mainDocumentId=0,this.signaturesContent=[],this.datesContent=[],this.notesContent=[],this.signaturesList=[],this.signaturesListSubstituted=[],this.currentPage=1,this.totalPage=1,this.stampLock=!1,this.currentAction=0,this.indexDocumentsList=0,this.documentsList=[],this.documentsListCount={},this.workingAreaWidth=0,this.workingAreaHeight=0,this.currentToobal="mainDocumentDetail",this.smartphoneMode=window.screen.width<=360,this.mobileMode=!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.mode="",this.scale=1,this.x=0,this.y=90}},{key:"getAppSession",value:function(){this.appSession="AD098AD9ADA0D9IAXKJ90AKS099S"}},{key:"initTemplate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"adminMenu";document.getElementById(""+n).innerHTML="",this.portalHost=new EP(document.querySelector("#"+n),this.componentFactoryResolver,this.appRef,this.injector);var i=new AP(e,t);this.portalHost.attach(i)}},{key:"detachTemplate",value:function(){this.portalHost.detach()}}]),e}()).\u0275fac=function(e){return new(e||iP)(Li(xl),Li(Ba),Li(qc))},iP.\u0275prov=Le({token:iP,factory:iP.\u0275fac}),iP),MP=((nP=function(){function e(){S(this,e)}return C(e,[{key:"setAppSession",value:function(e){this.appSession=e}},{key:"getAppSession",value:function(){return this.appSession}},{key:"save",value:function(e,t){localStorage.setItem(e+"_"+this.getAppSession(),t)}},{key:"get",value:function(e){return localStorage.getItem(e+"_"+this.getAppSession())}},{key:"remove",value:function(e){localStorage.removeItem(e+"_"+this.getAppSession())}}]),e}()).\u0275fac=function(e){return new(e||nP)},nP.\u0275prov=Le({token:nP,factory:nP.\u0275fac,providedIn:"root"}),nP),TP=((tP=function(){function e(t,n,i,r,o,a){S(this,e),this.http=t,this.router=n,this.notificationService=i,this.signaturesService=r,this.localStorage=o,this.navCtrl=a,this.authMode="default",this.changeKey=!1,this.coreUrl="",this.user={},this.signatureRoles=[],this.authFailed=!1}return C(e,[{key:"getToken",value:function(){return this.localStorage.get("MaarchParapheurToken")}},{key:"setToken",value:function(e){this.localStorage.save("MaarchParapheurToken",e)}},{key:"getRefreshToken",value:function(){return this.localStorage.get("MaarchParapheurRefreshToken")}},{key:"setRefreshToken",value:function(e){this.localStorage.save("MaarchParapheurRefreshToken",e)}},{key:"clearTokens",value:function(){this.localStorage.remove("MaarchParapheurToken"),this.localStorage.remove("MaarchParapheurRefreshToken")}},{key:"refreshToken",value:function(){var e=this;return this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).pipe(cw(function(t){e.setToken(t.token),e.updateUserInfo(t.token)}),Qb(function(t){return e.logout(),e.notificationService.error("lang.sessionExpired"),Iy(!1)}))}},{key:"logout",value:function(){var e=this;if(null===this.getRefreshToken())return this.clearTokens(),void this.navCtrl.navigateRoot("/login");this.http.get("../rest/authenticate/logout").pipe(cw(function(){e.clearTokens(),e.navCtrl.navigateRoot("/login")}),Qb(function(t){return e.notificationService.handleErrors(t),e.clearTokens(),e.navCtrl.navigateRoot("/login"),Iy(!1)})).subscribe()}},{key:"saveTokens",value:function(e,t){this.setToken(e),this.setRefreshToken(t)}},{key:"isAuth",value:function(){return null!==this.getToken()}},{key:"updateUserInfo",value:function(e){var t=this.user.picture,n=JSON.parse(atob(e.split(".")[1]));this.user=n.user,this.authMode=n.connection,this.user.picture=t}},{key:"updateUserInfoWithTokenRefresh",value:function(){var e=this;this.http.get("../rest/authenticate/token",{params:{refreshToken:this.getRefreshToken()}}).subscribe({next:function(t){e.setToken(t.token),e.updateUserInfo(e.getToken())},error:function(t){e.notificationService.handleErrors(t)}})}},{key:"setUser",value:function(e){this.user=e}},{key:"getSignatureMode",value:function(e){return"visa"===e?"stamp":e}},{key:"getWorkflowMode",value:function(e){return this.signatureRoles.filter(function(t){return t.id===e})[0].type}},{key:"setCachedUrl",value:function(e){this.localStorage.save("MaarchParapheurCacheUrl",e)}},{key:"getCachedUrl",value:function(){return this.localStorage.get("MaarchParapheurCacheUrl")}},{key:"cleanCachedUrl",value:function(){return this.localStorage.remove("MaarchParapheurCacheUrl")}}]),e}()).\u0275fac=function(e){return new(e||tP)(Li(ub),Li(Ux),Li(_P),Li(OP),Li(MP),Li(sA))},tP.\u0275prov=Le({token:tP,factory:tP.\u0275fac,providedIn:"root"}),tP),IP=((eP=function(){function e(t,n,i,r,o){S(this,e),this.http=t,this.router=n,this.notificationService=i,this.signaturesService=r,this.authService=o,this.excludeUrls=["../rest/authenticate","../rest/authenticate/token","../rest/authenticationInformations","../rest/password","../rest/passwordRules","../rest/languages/fr","../rest/languages/en"],this.frontUrl=["../rest/documents/","../rest/users/","../rest/groups/","../rest/configurations/"],this.byPassHandleErrors=[{route:"/password",method:["PUT"]},{route:"/logout",method:["GET"]}],this.isRefreshing=!1,this.refreshTokenSubject=new Cb(null)}return C(e,[{key:"addAuthHeader",value:function(e){var t=this.authService.getToken();return e.clone({setHeaders:{Authorization:"Bearer "+t}})}},{key:"intercept",value:function(e,t){var n=this;return(this.excludeUrls.indexOf(e.url)>-1||e.url.indexOf("/password")>-1)&&-1===e.url.indexOf("/passwordRules")&&-1===e.method.indexOf("PUT")?t.handle(e):(e=this.addAuthHeader(e),t.handle(e).pipe(Qb(function(i){return n.byPassHandleErrors.filter(function(t){return e.url.indexOf(t.route)>-1&&t.method.indexOf(e.method)>-1}).length>0?t.handle(e):401===i.status?n.handle401Error(e,t):"Password expired : User must change his password"===i.error.errors?n.router.navigate(["/password-modification"]):("GET"===e.method&&n.frontUrl.forEach(function(t){if(e.url.indexOf(t)>-1)return"../rest/documents/"===t&&(n.signaturesService.mainDocumentId=null),r=new Jy({error:i.error,status:i.status,statusText:i.statusText,headers:i.headers,url:i.url}),Promise.reject(r)}),r=new Jy({error:i.error,status:i.status,statusText:i.statusText,headers:i.headers,url:i.url}),Promise.reject(r));var r})))}},{key:"handle401Error",value:function(e,t){var n=this;return this.isRefreshing?this.refreshTokenSubject.pipe(Ly(function(e){return null!=e}),jb(1),zb(function(){return e=n.addAuthHeader(e),t.handle(e)})):(this.isRefreshing=!0,this.refreshTokenSubject.next(null),this.authService.refreshToken().pipe(zb(function(i){return n.isRefreshing=!1,n.refreshTokenSubject.next(i.token),e=n.addAuthHeader(e),t.handle(e)})))}}]),e}()).\u0275fac=function(e){return new(e||eP)(Li(ub),Li(Ux),Li(_P),Li(OP),Li(TP))},eP.\u0275prov=Le({token:eP,factory:eP.\u0275fac}),eP);function RP(e,t){if(1&e){var n=ps();ls(0,"div",2),ls(1,"div",3),ls(2,"button",4),Mn(),ls(3,"svg",5),cs(4,"path",6),us(),Tn(),ls(5,"span",7),Xs(6,"Presentation Mode"),us(),us(),ls(7,"button",8),Mn(),ls(8,"svg",5),cs(9,"path",9),us(),Tn(),ls(10,"span",10),Xs(11,"Open"),us(),us(),ls(12,"button",11),Mn(),ls(13,"svg",5),cs(14,"path",12),us(),Tn(),ls(15,"span",13),Xs(16,"Print"),us(),us(),ls(17,"button",14),Mn(),ls(18,"svg",5),cs(19,"path",15),us(),Tn(),ls(20,"span",16),Xs(21,"Download"),us(),us(),ls(22,"a",17),Mn(),ls(23,"svg",5),cs(24,"path",18),us(),Tn(),ls(25,"span",19),Xs(26,"Current View"),us(),us(),ls(27,"button",20),Mn(),ls(28,"svg",21),cs(29,"path",22),us(),Tn(),ls(30,"span",23),Xs(31,"Go to First Page"),us(),us(),ls(32,"button",24),ys("click",function(){return rn(n),ks().previousPage()}),Mn(),ls(33,"svg",21),cs(34,"path",25),us(),Tn(),ls(35,"span",26),Xs(36,"Go to Previous Page"),us(),us(),ls(37,"button",27),ys("click",function(){return rn(n),ks().nextPage()}),Mn(),ls(38,"svg",21),cs(39,"path",28),us(),Tn(),ls(40,"span",29),Xs(41,"Go to Next Page"),us(),us(),ls(42,"button",30),Mn(),ls(43,"svg",21),cs(44,"path",31),us(),Tn(),ls(45,"span",32),Xs(46,"Go to Last Page"),us(),us(),ls(47,"button",33),Mn(),ls(48,"svg",5),cs(49,"path",34),us(),Tn(),ls(50,"span",35),Xs(51,"Rotate Clockwise"),us(),us(),ls(52,"button",36),Mn(),ls(53,"svg",5),cs(54,"path",37),us(),Tn(),ls(55,"span",38),Xs(56,"Rotate Counterclockwise"),us(),us(),ls(57,"button",39),Mn(),ls(58,"svg",5),cs(59,"path",40),us(),Tn(),ls(60,"span",41),Xs(61,"Text Selection Tool"),us(),us(),ls(62,"button",42),Mn(),ls(63,"svg",5),cs(64,"path",43),us(),Tn(),ls(65,"span",44),Xs(66,"Hand Tool"),us(),us(),ls(67,"button",45),Mn(),ls(68,"svg",46),cs(69,"path",47),us(),Tn(),ls(70,"span",48),Xs(71,"Vertical Scrolling"),us(),us(),ls(72,"button",49),Mn(),ls(73,"svg",46),cs(74,"path",50),us(),Tn(),ls(75,"span",51),Xs(76,"Horizontal Scrolling"),us(),us(),ls(77,"button",52),Mn(),ls(78,"svg",46),cs(79,"path",53),us(),Tn(),ls(80,"span",54),Xs(81,"Wrapped Scrolling"),us(),us(),ls(82,"button",55),ys("click",function(){return rn(n),ks().onSpreadChange("off")}),Mn(),ls(83,"svg",56),cs(84,"path",57),us(),Tn(),ls(85,"span",58),Xs(86,"No Spreads"),us(),us(),ls(87,"button",59),ys("click",function(){return rn(n),ks().onSpreadChange("odd")}),Mn(),ls(88,"svg",46),cs(89,"path",60),us(),Tn(),ls(90,"span",61),Xs(91,"Odd Spreads"),us(),us(),ls(92,"button",62),ys("click",function(){return rn(n),ks().onSpreadChange("even")}),Mn(),ls(93,"svg",46),cs(94,"path",63),us(),Tn(),ls(95,"span",64),Xs(96,"Even Spreads"),us(),us(),ls(97,"button",65),Mn(),ls(98,"svg",66),cs(99,"path",67),cs(100,"path",68),cs(101,"circle",69),us(),Tn(),ls(102,"span",70),Xs(103,"Document Properties\u2026"),us(),us(),us(),us()}if(2&e){var i=ks();Fs("top",i.secondaryToolbarTop)("transform","scale("+i.mobileFriendlyZoomScale+")")("transform-origin","right top"),Ao(2),Bs("invisible",!i.showPresentationModeButton),Ao(5),Bs("invisible",!i.showOpenFileButton),Ao(5),Bs("invisible",!i.showPrintButton),Ao(5),Bs("invisible",!i.showDownloadButton),Ao(5),Bs("invisible",!i.showBookmarkButton),Ao(5),Bs("invisible",!i.showPagingButtons),Ao(5),Bs("invisible",!i.showPagingButtons),as("disabled",i.disablePreviousPage),Ao(5),Bs("invisible",!i.showPagingButtons),as("disabled",i.disableNextPage),Ao(5),Bs("invisible",!i.showPagingButtons),Ao(5),Bs("invisible",!i.showRotateButton),Ao(5),Bs("invisible",!i.showRotateButton),Ao(5),Bs("invisible",!i.showHandToolButton),Ao(5),Bs("invisible",!i.showHandToolButton),Ao(5),Bs("invisible",!i.showScrollingButton),Ao(5),Bs("invisible",!i.showScrollingButton),Ao(5),Bs("invisible",!i.showScrollingButton),Ao(5),Bs("invisible",!i.showSpreadButton),Ao(5),Bs("invisible",!i.showSpreadButton),Ao(5),Bs("invisible",!i.showSpreadButton),Ao(5),Bs("invisible",!i.showPropertiesButton)}}function LP(e,t){1&e&&Ss(0,0,["*ngTemplateOutlet","customSidebar ? customSidebar : defaultSidebar"])}function FP(e,t){if(1&e){var n=ps();ls(0,"div",2),ls(1,"div",3),cs(2,"pdf-sidebar-toolbar"),us(),ls(3,"pdf-sidebar-content",4),ys("thumbnailDrawn",function(e){return rn(n),ks().thumbnailDrawn.emit(e)}),us(),cs(4,"div",5),us()}if(2&e){var i=ks();Fs("top",i.sidebarPositionTop),Ao(1),Fs("display",i.hideSidebarToolbar?"none":""),Ao(2),as("customThumbnail",i.customThumbnail)("hideSidebarToolbar",i.hideSidebarToolbar)}}var BP=["*"],zP=["root"],VP=["pdfSecondaryToolbarComponent"],NP=["pdfsidebar"];function HP(e,t){1&e&&cs(0,"link",48)}function jP(e,t){1&e&&cs(0,"pdf-dark-theme")}function UP(e,t){1&e&&cs(0,"pdf-light-theme")}function WP(e,t){1&e&&Ss(0,0,["*ngTemplateOutlet","customFreeFloatingBar ? customFreeFloatingBar : defaultFreeFloatingBar"])}function GP(e,t){}function qP(e,t){if(1&e&&(ls(0,"div",3),fs(1,0),us()),2&e){var n=ks(),i=rs(4);Fs("transform","scale("+n.mobileFriendlyZoomScale+")")("transform-origin","left center")("left",n.findbarLeft)("top",n.findbarTop),Bs("invisible",!n.showFindButton),Ao(1),as("ngTemplateOutlet",n.customFindbarButtons?n.customFindbarButtons:i)}}function YP(e,t){1&e&&(cs(0,"pdf-find-input-area",4),cs(1,"pdf-findbar-options-one-container"),cs(2,"pdf-findbar-options-two-container"),cs(3,"pdf-findbar-options-three-container"),cs(4,"pdf-findbar-message-container")),2&e&&as("customFindbarInputArea",ks().customFindbarInputArea)}function ZP(e,t){1&e&&(ls(0,"div",2),cs(1,"pdf-search-input-field"),cs(2,"pdf-find-previous"),cs(3,"pdf-find-next"),us())}var QP=["button"],XP="[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",KP=["button1"],JP=["button2"],$P="[_nghost-%COMP%]{margin-top:-1px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}",eD="button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:-2px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}";function tD(e,t){1&e&&Ss(0,0,["*ngTemplateOutlet","customToolbar ? customToolbar : defaultToolbar"])}function nD(e,t){if(1&e&&(ls(0,"div",7),ls(1,"div",8),cs(2,"pdf-toggle-sidebar",9),cs(3,"pdf-find-button",10),cs(4,"pdf-paging-area",11),us(),cs(5,"pdf-zoom-toolbar",12),ls(6,"div",13),cs(7,"pdf-hand-tool",14),cs(8,"pdf-select-tool",15),cs(9,"pdf-rotate-page",16),cs(10,"pdf-presentation-mode",17),cs(11,"pdf-open-file",18),cs(12,"pdf-print",19),cs(13,"pdf-download",20),cs(14,"pdf-bookmark",21),cs(15,"pdf-toggle-secondary-toolbar",22),us(),us()),2&e){var n=ks();Ao(2),as("showSidebarButton",n.showSidebarButton),Ao(1),as("showFindButton",n.showFindButton)("textLayer",n.textLayer),Ao(1),as("showPagingButtons",n.showPagingButtons),Ao(1),as("showZoomButtons",n.showZoomButtons)("zoomLevels",n.zoomLevels),Ao(2),as("showHandToolButton",n.showHandToolButton),Ao(1),as("showSelectToolButton",n.showHandToolButton),Ao(1),as("showRotateButton",n.showRotateButton),Ao(1),as("showPresentationModeButton",n.showPresentationModeButton),Ao(1),as("showOpenFileButton",n.showOpenFileButton),Ao(1),as("showPrintButton",n.showPrintButton),Ao(1),as("showDownloadButton",n.showDownloadButton),Ao(1),as("showBookmarkButton",n.showBookmarkButton),Ao(1),as("showSecondaryToolbarButton",n.showSecondaryToolbarButton)}}var iD=["sizeSelector"];function rD(e,t){if(1&e&&(ls(0,"option",5),Xs(1),us()),2&e){var n=t.$implicit;as("id",n.id),es("value",n.value)("data-l10n-id",n.dataL10nId)("data-l10n-args",n.dataL10nArgs),Ao(1),Js(" ",n.displayValue," ")}}var oD=["thumbnailViewTemplate"];function aD(e,t){1&e&&Ss(0,0,["*ngTemplateOutlet","customThumbnail ? customThumbnail : defaultThumbnail"])}function sD(e,t){1&e&&(ls(0,"a",8),ls(1,"div",9),cs(2,"div",10),us(),us())}var lD="undefined"!=typeof window&&!!window.MSInputMethodContext&&!!document.documentMode,uD=/Edge\/\d./i.test(navigator.userAgent),cD="undefined"==typeof ReadableStream||void 0===Promise.allSettled,dD={cursorToolOnLoad:0,defaultUrl:"",defaultZoomValue:"",disableHistory:!1,disablePageLabels:!1,enablePrintAutoRotate:!1,enableWebGL:!1,eventBusDispatchToDOM:!1,externalLinkRel:"noopener noreferrer nofollow",externalLinkTarget:0,historyUpdateUrl:!1,imageResourcesPath:"./images/",maxCanvasPixels:16777216,pdfBugEnabled:!1,removePageBorders:!1,renderer:"canvas",renderInteractiveForms:!0,sidebarViewOnLoad:-1,scrollModeOnLoad:-1,spreadModeOnLoad:-1,textLayerMode:1,useOnlyCssZoom:!1,viewOnLoad:0,cMapPacked:!0,cMapUrl:function(){return"./"+dD.assetsFolder+"/cmaps/"},disableAutoFetch:!1,disableCreateObjectURL:!1,disableFontFace:!1,disableRange:!1,disableStream:!1,isEvalSupported:!0,maxImageSize:-1,pdfBug:!1,postMessageTransfers:!0,verbosity:1,workerPort:null,assetsFolder:"assets",workerSrc:function(){return lD||uD||cD?"./"+dD.assetsFolder+"/pdf.worker-es5.js":"./"+dD.assetsFolder+"/pdf.worker.js"}};window.pdfDefaultOptions?dD=window.pdfDefaultOptions:window.pdfDefaultOptions=dD;var hD={ERRORS:0,WARNINGS:1,INFOS:5};hD[hD.ERRORS]="ERRORS",hD[hD.WARNINGS]="WARNINGS",hD[hD.INFOS]="INFOS";var fD={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};fD[fD.FOUND]="FOUND",fD[fD.NOT_FOUND]="NOT_FOUND",fD[fD.WRAPPED]="WRAPPED",fD[fD.PENDING]="PENDING";var pD,gD,vD,mD=["toolbarViewer","numPages","pageNumber","scaleSelectContainer","customScaleOption","previous","next","zoomIn","zoomOut","viewFind","openFile","print","presentationMode","download","viewBookmark","secondaryToolbar","secondaryToolbarToggle","secondaryToolbarButtonContainer","secondaryPresentationMode","secondaryOpenFile","secondaryPrint","secondaryDownload","secondaryViewBookmark","firstPage","lastPage","pageRotateCw","pageRotateCcw","cursorSelectTool","cursorHandTool","scrollVertical","scrollHorizontal","scrollWrapped","spreadNone","spreadOdd","spreadEven","documentProperties","contextFirstPage","contextLastPage","contextPageRotateCw","contextPageRotateCcw","outerContainer","viewerContainer","sidebarToggle","viewThumbnail","viewOutline","viewAttachments","thumbnailView","outlineView","attachmentsView","outerContainer","sidebarResizer","findbar","viewFind","findInput","findInputMultiline","findHighlightAll","findMatchCase","findEntireWord","findMultipleSearchTexts","findIgnoreAccents","findMsg","findResultsCount","findPrevious","findNext","findFuzzy","passwordOverlay","passwordText","password","passwordSubmit","passwordCancel","documentPropertiesOverlay","documentPropertiesClose","fileNameField","fileSizeField","titleField","authorField","subjectField","keywordsField","creationDateField","modificationDateField","creatorField","producerField","versionField","pageCountField","pageSizeField","linearizedField","errorWrapper","errorMessage","errorClose","errorMoreInfo","errorShowMore","errorShowLess","scaleSelectContainer","viewAttachments","viewLayers","viewThumbnail","viewOutline"],yD=((vD=function(){function e(){S(this,e)}return C(e,[{key:"addMissingStandardWidgets",value:function(){var e=this;this.dummyComponentsContainer=document.getElementsByClassName("dummy-pdf-viewer-components")[0];var t=this.dummyComponentsContainer;if(t)for(var n=0;n<t.children.length;n++){var i=t.firstChild;i&&t.removeChild(i)}if(mD.forEach(function(t){if(e.needsDummyWidget(t)){var n=document.createElement("span");n.id=t,n.className="invisible dummy-component",e.dummyComponentsContainer.appendChild(n)}}),this.needsDummyWidget("scaleSelect")){var r=document.createElement("select");r.id="scaleSelect",r.className="invisible dummy-component",this.dummyComponentsContainer.appendChild(r)}}},{key:"needsDummyWidget",value:function(e){return!document.getElementById(e)}}]),e}()).\u0275fac=function(e){return new(e||vD)},vD.\u0275cmp=pt({type:vD,selectors:[["pdf-dummy-components"]],decls:1,vars:0,consts:[[1,"invisible","dummy-pdf-viewer-components"]],template:function(e,t){1&e&&cs(0,"span",0)},encapsulation:2}),vD),bD=((gD=C(function e(){var t=this;S(this,e),this.onPDFJSInit=new G,this.pdfjsVersion=new RE(1),window.pdfjsLib&&window.pdfjsLib.version?this.pdfjsVersion.next(window.pdfjsLib.version):this.onPDFJSInit.subscribe(function(){t.pdfjsVersion.next(window.pdfjsLib.version)})})).\u0275fac=function(e){return new(e||gD)},gD.\u0275prov=Le({token:gD,factory:gD.\u0275fac,providedIn:"root"}),gD.ngInjectableDef=Fe({factory:function(){return new gD},token:gD,providedIn:"root"}),gD),wD=((pD=function(){function e(t,n){var i=this;S(this,e),this.element=t,this.notificationService=n,this.showPresentationModeButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.showPagingButtons=!0,this.showRotateButton=!0,this.showHandToolButton=!0,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.spreadChange=new Bu,this.secondaryMenuIsEmpty=new Bu,this.disablePreviousPage=!0,this.disableNextPage=!0;var r=this.notificationService.onPDFJSInit.subscribe(function(){i.onPdfJsInit(),r.unsubscribe()})}return C(e,[{key:"onPdfJsInit",value:function(){var e=this,t=window.PDFViewerApplication;t.eventBus.on("pagechanging",function(){e.updateUIState()}),t.eventBus.on("pagerendered",function(){e.updateUIState()})}},{key:"updateUIState",value:function(){var e=this;setTimeout(function(){var t=window.PDFViewerApplication,n=t.pdfViewer.currentPageNumber,i=document.getElementById("previousPage");i&&(e.disablePreviousPage=Number(n)<=1,i.disabled=e.disablePreviousPage);var r=document.getElementById("nextPage");r&&(e.disableNextPage=n===t.pagesCount,r.disabled=e.disableNextPage)})}},{key:"onSpreadChange",value:function(e){this.spreadChange.emit(e)}},{key:"ngOnChanges",value:function(e){var t=this;setTimeout(function(){return t.checkVisibility()})}},{key:"onResize",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"ngAfterViewInit",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){return e.checkVisibility()})}},{key:"checkVisibility",value:function(){var e=0,t=this.element.nativeElement.children.item(0);if(t){var n=t.children.item(0);n&&n instanceof HTMLElement&&(e=this.checkVisibilityRecursively(n))}this.secondaryMenuIsEmpty.emit(0===e)}},{key:"checkVisibilityRecursively",value:function(e){if("none"===e.style.display)return 0;if(e.classList.contains("hidden"))return 0;if(e.classList.contains("invisible"))return 0;if("none"===window.getComputedStyle(e).display)return 0;if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement)return 1;var t=0,n=e.children;if(n&&n.length)for(var i=0;i<n.length&&0===t;i++){var r=n.item(i);r&&r instanceof HTMLElement&&(t+=this.checkVisibilityRecursively(r))}return t}},{key:"previousPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("previouspage")}},{key:"nextPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("nextpage")}}]),e}()).\u0275fac=function(e){return new(e||pD)(os(Sl),os(bD))},pD.\u0275cmp=pt({type:pD,selectors:[["pdf-secondary-toolbar"]],hostBindings:function(e,t){1&e&&ys("resize",function(){return t.onResize()},!1,Rr)},inputs:{showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",showPagingButtons:"showPagingButtons",showRotateButton:"showRotateButton",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",customSecondaryToolbar:"customSecondaryToolbar",secondaryToolbarTop:"secondaryToolbarTop",mobileFriendlyZoomScale:"mobileFriendlyZoomScale"},outputs:{spreadChange:"spreadChange",secondaryMenuIsEmpty:"secondaryMenuIsEmpty"},features:[Tt],decls:3,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultSecondaryToolbar",""],["id","secondaryToolbar",1,"secondaryToolbar","hidden","doorHangerRight"],["id","secondaryToolbarButtonContainer"],["type","button","id","secondaryPresentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"secondaryToolbarButton","visibleLargeView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"],["type","button","id","secondaryOpenFile","title","Open File","data-l10n-id","open_file",1,"secondaryToolbarButton","visibleMediumView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"],["type","button","id","secondaryPrint","title","Print","data-l10n-id","print",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"],["type","button","id","secondaryDownload","title","Download","data-l10n-id","download",1,"secondaryToolbarButton","visibleSmallView"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"],["href","#","id","secondaryViewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"secondaryToolbarButton","bookmark","visibleTinyView"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"],["type","button","id","firstPage","title","Go to First Page","data-l10n-id","first_page",1,"secondaryToolbarButton","firstPage","visibleLargeView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"],["type","button","id","previousPage","title","Go to Previous Page","data-l10n-id","previous",1,"secondaryToolbarButton","previousPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"],["type","button","id","nextPage","title","Go to Next Page","data-l10n-id","next",1,"secondaryToolbarButton","nextPage","visibleTinyView",3,"disabled","click"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"],["type","button","id","lastPage","title","Go to Last Page","data-l10n-id","last_page",1,"secondaryToolbarButton","lastPage","visibleLargeView"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"],["type","button","id","pageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"secondaryToolbarButton","rotateCw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["data-l10n-id","page_rotate_cw_label"],["type","button","id","pageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"secondaryToolbarButton","rotateCcw","visibleXLView"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"],["data-l10n-id","page_rotate_ccw_label"],["type","button","id","cursorSelectTool","title","Enable Text Selection Tool","data-l10n-id","cursor_text_select_tool",1,"secondaryToolbarButton","toggled","visibleXXLView"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"],["type","button","id","cursorHandTool","title","Enable Hand Tool","data-l10n-id","cursor_hand_tool",1,"secondaryToolbarButton","visibleXXLView"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"],["type","button","id","scrollVertical","title","Use Vertical Scrolling","data-l10n-id","scroll_vertical",1,"secondaryToolbarButton","scrollVertical","toggled"],[2,"width","24px","height","24px","margin-top","3px"],["fill","currentColor","d","M9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM11 0v.5c0 1-.5 1.5-1.5 1.5h-3C5.5 2 5 1.5 5 .5V0h6zM11 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6z"],["data-l10n-id","scroll_vertical_label"],["type","button","id","scrollHorizontal","title","Use Horizontal Scrolling","data-l10n-id","scroll_horizontal",1,"secondaryToolbarButton","scrollHorizontal"],["fill","currentColor","d","M0 4h1.5c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5H0zM9.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C5 4.5 5.5 4 6.5 4zM16 4h-1.5c-1 0-1.5.5-1.5 1.5v5c0 1 .5 1.5 1.5 1.5H16z"],["data-l10n-id","scroll_horizontal_label"],["type","button","id","scrollWrapped","title","Use Wrapped Scrolling","data-l10n-id","scroll_wrapped",1,"secondaryToolbarButton","scrollWrapped"],["fill","currentColor","d","M5.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5C1 4.5 1.5 4 2.5 4zM7 0v.5C7 1.5 6.5 2 5.5 2h-3C1.5 2 1 1.5 1 .5V0h6zM7 16v-.5c0-1-.5-1.5-1.5-1.5h-3c-1 0-1.5.5-1.5 1.5v.5h6zM13.5 4c1 0 1.5.5 1.5 1.5v5c0 1-.5 1.5-1.5 1.5h-3c-1 0-1.5-.5-1.5-1.5v-5c0-1 .5-1.5 1.5-1.5zM15 0v.5c0 1-.5 1.5-1.5 1.5h-3C9.5 2 9 1.5 9 .5V0h6zM15 16v-.507c0-1-.5-1.5-1.5-1.5h-3C9.5 14 9 14.5 9 15.5v.5h6z"],["data-l10n-id","scroll_wrapped_label"],["type","button","id","spreadNone","title","Do not join page spreads","data-l10n-id","spread_none",1,"secondaryToolbarButton","spreadNone","toggled",3,"click"],["height","16","width","16"],["fill","currentColor","d","M6 3c-1 0-1.5.5-1.5 1.5v7c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5z"],["data-l10n-id","spread_none_label"],["type","button","id","spreadOdd","title","Join page spreads starting with odd-numbered pages","data-l10n-id","spread_odd",1,"secondaryToolbarButton","spreadOdd",3,"click"],["fill","currentColor","d","M10.56 3.5C9.56 3.5 9 4 9 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.93 1.2c.8 0 1.4.2 1.8.64.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.44-.2.3-.6.6-1 .93l-.6.4c-.4.3-.6.4-.7.55-.1.1-.2.2-.3.4h3.2v1.27h-5c0-.5.1-1 .3-1.43.2-.49.7-1 1.5-1.54.7-.5 1.1-.8 1.3-1.02.3-.3.4-.7.4-1.05 0-.3-.1-.6-.3-.77-.2-.2-.4-.3-.7-.3-.4 0-.7.2-.9.5-.1.2-.1.5-.2.9h-1.4c0-.6.2-1.1.3-1.5.4-.7 1.1-1.1 2-1.1zM1.54 3.5C.54 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.54 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm1.8 1.125H4.5V12H3V6.9H1.3v-1c.5 0 .8 0 .97-.03.33-.07.53-.17.73-.37.1-.2.2-.3.25-.5.05-.2.05-.3.05-.3z"],["data-l10n-id","spread_odd_label"],["type","button","id","spreadEven","title","Join page spreads starting with even-numbered pages","data-l10n-id","spread_even",1,"secondaryToolbarButton","spreadEven",3,"click"],["fill","currentColor","d","M1.5 3.5C.5 3.5 0 4 0 5v6.5c0 1 .5 1.5 1.5 1.5h4c1 0 1.5-.5 1.5-1.5V5c0-1-.5-1.5-1.5-1.5zm2 1.2c.8 0 1.4.2 1.8.6.5.4.7 1 .7 1.7 0 .5-.2 1-.5 1.4-.2.3-.5.7-1 1l-.6.4c-.4.3-.6.4-.75.56-.15.14-.25.24-.35.44H6v1.3H1c0-.6.1-1.1.3-1.5.3-.6.7-1 1.5-1.6.7-.4 1.1-.8 1.28-1 .32-.3.42-.6.42-1 0-.3-.1-.6-.23-.8-.17-.2-.37-.3-.77-.3s-.7.1-.9.5c-.04.2-.1.5-.1.9H1.1c0-.6.1-1.1.3-1.5.4-.7 1.1-1.1 2.1-1.1zM10.54 3.54C9.5 3.54 9 4 9 5v6.5c0 1 .5 1.5 1.54 1.5h4c.96 0 1.46-.5 1.46-1.5V5c0-1-.5-1.46-1.5-1.46zm1.9.95c.7 0 1.3.2 1.7.5.4.4.6.8.6 1.4 0 .4-.1.8-.4 1.1-.2.2-.3.3-.5.4.1 0 .3.1.6.3.4.3.5.8.5 1.4 0 .6-.2 1.2-.6 1.6-.4.5-1.1.7-1.9.7-1 0-1.8-.3-2.2-1-.14-.29-.24-.69-.24-1.29h1.4c0 .3 0 .5.1.7.2.4.5.5 1 .5.3 0 .5-.1.7-.3.2-.2.3-.5.3-.8 0-.5-.2-.8-.6-.95-.2-.05-.5-.15-1-.15v-1c.5 0 .8-.1 1-.14.3-.1.5-.4.5-.9 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.7-.3-.3 0-.6.1-.75.3-.2.2-.2.5-.2.86h-1.34c0-.4.1-.7.19-1.1 0-.12.2-.32.4-.62.2-.2.4-.3.7-.4.3-.1.6-.1 1-.1z"],["data-l10n-id","spread_even_label"],["type","button","id","documentProperties","title","Document Properties\u2026","data-l10n-id","document_properties",1,"secondaryToolbarButton","documentProperties"],["viewBox","0 0 16 16",2,"width","16px","height","16px","margin-top","3px"],["fill","currentColor","d","M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z"],["fill","currentColor","d","M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z"],["fill","currentColor","cx","8","cy","5","r","1.188"],["data-l10n-id","document_properties_label"]],template:function(e,t){if(1&e&&(fs(0,0),is(1,RP,104,48,"ng-template",null,1,nc)),2&e){var n=rs(2);as("ngTemplateOutlet",t.customSecondaryToolbar?t.customSecondaryToolbar:n)}},directives:[Mh],styles:["svg[_ngcontent-%COMP%]{position:absolute;display:inline-block;top:0;left:0}"]}),pD),_D={SELECT:0,HAND:1,ZOOM:2};_D[_D.SELECT]="SELECT",_D[_D.HAND]="HAND",_D[_D.ZOOM]="ZOOM";var xD,kD,AD,CD,SD,ED,PD,DD,OD,MD,TD,ID,RD,LD,FD,BD,zD,VD,ND,HD,jD,UD,WD,GD,qD,YD,ZD,QD,XD,KD,JD,$D,eO,tO,nO,iO,rO,oO,aO,sO,lO,uO,cO,dO,hO,fO,pO,gO,vO,mO=function(){function e(t){S(this,e),this._zone=t,this.startX=0,this.startY=0,this.initialPinchDistance=0,this.pinchScale=1,this.isMobile()&&this.initializePinchZoom()}return C(e,[{key:"isMobile",value:function(){return"ontouchstart"in document.documentElement}},{key:"onViewerTouchStart",value:function(e){if(this.initialPinchDistance=0,2===e.touches.length){var t=this.container.getBoundingClientRect();e.touches[0].pageX>=t.left&&e.touches[0].pageX<=t.right&&e.touches[0].pageY>=t.top&&e.touches[1].pageX>=t.left&&e.touches[1].pageX<=t.right&&e.touches[1].pageY>=t.top&&(this.startX=(e.touches[0].pageX+e.touches[1].pageX)/2,this.startY=(e.touches[0].pageY+e.touches[1].pageY)/2,this.initialPinchDistance=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),e.preventDefault(),e.stopPropagation())}}},{key:"onViewerTouchMove",value:function(e){var t=window.PDFViewerApplicationOptions;if(!(this.initialPinchDistance<=0||2!==e.touches.length)){1!==this.pinchScale&&e.preventDefault();var n=Math.hypot(e.touches[1].pageX-e.touches[0].pageX,e.touches[1].pageY-e.touches[0].pageY),i=this.startX+this.container.scrollLeft,r=this.startY+this.container.scrollTop;this.pinchScale=n/this.initialPinchDistance;var o=Number(t.get("minZoom"));o||(o=.1),this.pinchScale<o&&(this.pinchScale=o);var a=Number(t.get("maxZoom"));a||(a=10),this.pinchScale>a&&(this.pinchScale=a),this.viewer.style.transform="scale(".concat(this.pinchScale,")"),this.viewer.style.transformOrigin="".concat(i,"px ").concat(r,"px"),e.preventDefault(),e.stopPropagation()}}},{key:"onViewerTouchEnd",value:function(e){var t=window.PDFViewerApplication;if(!(this.initialPinchDistance<=0)){this.viewer.style.transform="none",this.viewer.style.transformOrigin="unset",t.pdfViewer.currentScale*=this.pinchScale;var n=this.container.getBoundingClientRect(),i=this.startY-n.top;this.container.scrollLeft+=(this.startX-n.left)*(this.pinchScale-1),this.container.scrollTop+=i*(this.pinchScale-1),this.resetPinchZoomParams(),e.preventDefault(),e.stopPropagation()}}},{key:"resetPinchZoomParams",value:function(){this.startX=this.startY=this.initialPinchDistance=0,this.pinchScale=1}},{key:"initializePinchZoom",value:function(){var e=this;this.viewer=document.getElementById("viewer"),this.container=document.getElementById("viewerContainer"),this._zone.runOutsideAngular(function(){document.addEventListener("touchstart",e.onViewerTouchStart.bind(e)),document.addEventListener("touchmove",e.onViewerTouchMove.bind(e),{passive:!1}),document.addEventListener("touchend",e.onViewerTouchEnd.bind(e))})}},{key:"destroyPinchZoom",value:function(){this.isMobile()&&(document.removeEventListener("touchstart",this.onViewerTouchStart),document.removeEventListener("touchmove",this.onViewerTouchMove),document.removeEventListener("touchend",this.onViewerTouchEnd))}}]),e}(),yO=((vO=function(){function e(t,n){S(this,e),this.elementRef=t,this.ref=n,this.sidebarVisible=!0,this.showSidebarButton=!0,this.thumbnailDrawn=new Bu,this.hideSidebarToolbar=!0}return C(e,[{key:"showToolbarWhenNecessary",value:function(){var e=this.elementRef.nativeElement.querySelectorAll("button"),t=0;e.forEach(function(e){e.hidden||t++}),this.hideSidebarToolbar=t<=1,this.ref.markForCheck()}}]),e}()).\u0275fac=function(e){return new(e||vO)(os(Sl),os(Jl))},vO.\u0275cmp=pt({type:vO,selectors:[["pdf-sidebar"]],inputs:{sidebarVisible:"sidebarVisible",showSidebarButton:"showSidebarButton",sidebarPositionTop:"sidebarPositionTop",customSidebar:"customSidebar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:BP,decls:4,vars:1,consts:[[4,"ngTemplateOutlet"],["defaultSidebar",""],["id","sidebarContainer"],["id","additionalSidebarContainer"],[3,"customThumbnail","hideSidebarToolbar","thumbnailDrawn"],["id","sidebarResizer",1,"hidden"]],template:function(e,t){if(1&e&&(Cs(),ls(0,"div"),is(1,LP,1,0,"ng-content",0),us(),is(2,FP,5,6,"ng-template",null,1,nc)),2&e){var n=rs(3);Ao(1),as("ngTemplateOutlet",t.customSidebar?t.customSidebar:n)}},directives:function(){return[Mh,cM,uM]},styles:[""]}),vO),bO=((gO=function(){function e(t,n,i,r){S(this,e),this.ngZone=t,this.platformId=n,this.notificationService=i,this.location=r,this.customFindbarButtons=void 0,this.srcChange=new Bu,this.authorization=void 0,this.httpHeaders=void 0,this.contextMenuAllowed=!0,this.afterPrint=new Bu,this.beforePrint=new Bu,this.currentZoomFactor=new Bu,this.enablePrint=!0,this.delayFirstView=0,this.logLevel=hD.WARNINGS,this.enablePinchOnMobile=!1,this.minifiedJSLibraries=!0,this.primaryMenuVisible=!0,this.printResolution=null,this.rotationChange=new Bu,this.minHeight=void 0,this._height="100%",this.useBrowserLocale=!1,this.backgroundColor="#e8e8eb",this.filenameForDownload="document.pdf",this.ignoreKeyboard=!1,this.ignoreKeys=[],this.acceptKeys=[],this.imageResourcesPath="./"+dD.assetsFolder+"/images/",this.language=void 0,this.listenToURL=!1,this.nameddest=void 0,this.password=void 0,this._showSidebarButton=!0,this.viewerPositionTop="32px",this.showUnverifiedSignatures=!1,this.showSidebarOnLoad=void 0,this.sidebarVisible=void 0,this.sidebarVisibleChange=new Bu,this.showFindButton=void 0,this.showPagingButtons=!0,this.showZoomButtons=!0,this.showPresentationModeButton=!1,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showDownloadButton=!0,this.showBookmarkButton=!0,this.theme="light",this.showSecondaryToolbarButton=!0,this.hideKebabMenuForSecondaryToolbar=!1,this.showRotateButton=!0,this.handTool=!0,this.handToolChange=new Bu,this.showHandToolButton=!1,this.showScrollingButton=!0,this.showSpreadButton=!0,this.showPropertiesButton=!0,this.showBorders=!0,this.spreadChange=new Bu,this.thumbnailDrawn=new Bu,this._page=void 0,this.pageChange=new Bu,this.pageLabel=void 0,this.pageLabelChange=new Bu,this.pagesLoaded=new Bu,this.pageRendered=new Bu,this.pdfDownloaded=new Bu,this.pdfLoaded=new Bu,this.pdfLoadingFailed=new Bu,this.textLayer=void 0,this.textlayerRendered=new Bu,this.textLayerRendered=new Bu,this.updateFindMatchesCount=new Bu,this.updateFindState=new Bu,this.zoom=void 0,this.zoomChange=new Bu,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,1,1.25,1.5,2,3,4],this.maxZoom=10,this.minZoom=.1,this._mobileFriendlyZoom="100%",this.mobileFriendlyZoomScale=1,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.toolbarWidthInPixels=100,this.secondaryToolbarTop=void 0,this.findbarTop=void 0,this.findbarLeft=void 0,this._top=void 0,this.shuttingDown=!1}return C(e,[{key:"src",set:function(e){e instanceof Uint8Array?this._src=e.buffer:e instanceof Blob?this._src=URL.createObjectURL(e):"string"==typeof e?(this._src=e,e.length>980&&e.length%4==0&&/^[a-zA-Z\d\/+]+={0,2}$/.test(e)&&console.error("The URL looks like a base64 encoded string. If so, please use the attribute base64 instead of src")):this._src=e}},{key:"base64Src",set:function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=t.charCodeAt(r);this.src=i.buffer}},{key:"height",get:function(){return this._height},set:function(e){var t=this;this.minHeight=void 0,e?this._height=e:this.height="100%",setTimeout(function(){t.checkHeight()})}},{key:"showSidebarButton",get:function(){return this._showSidebarButton},set:function(e){this._showSidebarButton=e;var t=1;/msie\s|trident\//i.test(window.navigator.userAgent)&&(t=Number((this._mobileFriendlyZoom||"100").replace("%",""))/100),this.findbarLeft=this._showSidebarButton?(68*t).toString()+"px":"0px"}},{key:"page",get:function(){return this._page},set:function(e){this._page=e?Number(e):void 0}},{key:"mobileFriendlyZoom",get:function(){return this._mobileFriendlyZoom},set:function(e){var t;"true"==e?e="150%":"false"!=e&&null!=e||(e="100%"),this._mobileFriendlyZoom=e,String(e).includes("%")||(e=100*Number(e)+"%"),t=Number((e||"100").replace("%",""))/100,this.mobileFriendlyZoomScale=t,this.toolbarWidth=(100/t).toString()+"%",this.toolbarPaddingTop=8*(t-1)+"px",this.findbarLeft=this.showSidebarButton?(68*t).toString()+"px":"0px",this.secondaryToolbarTop=(36+36*(t-1)).toString()+"px",this.findbarTop=(36+52*(t-1)).toString()+"px"}},{key:"mobileZoom",set:function(e){this.mobileFriendlyZoom=e}},{key:"sidebarPositionTop",get:function(){return this._top?this._top:this.mobileFriendlyZoom?this.mobileFriendlyZoom.endsWith("%")?(2+.29*Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1))).toString()+"px":this.mobileFriendlyZoom.endsWith("px")?this.mobileFriendlyZoom:(16+.16*Number(this.mobileFriendlyZoom)).toString()+"px":"32px"}},{key:"calcViewerPositionTop",value:function(){if(this._top)this.viewerPositionTop=this._top;else{if(this.mobileFriendlyZoom){if(this.mobileFriendlyZoom.endsWith("%")){var e=Number(this.mobileFriendlyZoom.substring(0,this.mobileFriendlyZoom.length-1));return void(this.viewerPositionTop=this.isPrimaryMenuVisible()?(1+.32*e).toString()+"px":"0")}if(this.mobileFriendlyZoom.endsWith("px"))return void(this.viewerPositionTop=this.mobileFriendlyZoom)}this.viewerPositionTop=this.isPrimaryMenuVisible()?"32px":"0"}}},{key:"iOSVersionRequiresES5",value:function(){var e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return null!=e&&parseInt(e[1],10)<13}},{key:"loadViewer",value:function(){var e=this;if(window["pdfjs-dist/build/pdf"]){var t=!!window.MSInputMethodContext&&!!document.documentMode,n=/Edge\/\d./i.test(navigator.userAgent),i=this.iOSVersionRequiresES5(),r="undefined"==typeof ReadableStream||void 0===Promise.allSettled,o=this.minifiedJSLibraries?".min.js":".js",a=document.createElement("script"),s=dD.assetsFolder;r&&console.log("Using the ES5 version of the PDF viewer."),a.src=this.location.normalize(t||n||i||r?s+"/viewer-es5"+o:s+"/viewer"+o),a.type="text/javascript",a.async=!0,document.getElementsByTagName("head")[0].appendChild(a)}else setTimeout(function(){return e.loadViewer()},25)}},{key:"ngOnInit",value:function(){if(this.onResize(),Xh(this.platformId)){if(!window["pdfjs-dist/build/pdf"]){var e=!!window.MSInputMethodContext&&!!document.documentMode,t=/Edge\/\d./i.test(navigator.userAgent),n="undefined"==typeof ReadableStream||void 0===Promise.allSettled,i=this.iOSVersionRequiresES5(),r=this.minifiedJSLibraries?".min.js":".js";if(this.minifiedJSLibraries&&!dD.workerSrc().endsWith(".min.js")){var o=dD.workerSrc();dD.workerSrc=function(){return o.replace(".js",".min.js")}}var a=dD.assetsFolder,s=document.createElement("script");s.src=this.location.normalize(e||t||i||n?a+"/pdf-es5"+r:a+"/pdf"+r),s.type="text/javascript",s.async=!0,document.getElementsByTagName("head")[0].appendChild(s)}window.webViewerLoad||this.loadViewer()}}},{key:"ngAfterViewInit",value:function(){var e=this;this.shuttingDown||(window.webViewerLoad?this.doInitPDFViewer():setTimeout(function(){return e.ngAfterViewInit()},50))}},{key:"assignTabindexes",value:function(){if(this.startTabindex){var e=this.root.nativeElement.cloneNode(!0);e.classList.add("offscreen"),this.showElementsRecursively(e),document.body.appendChild(e);var t=this.collectElementPositions(e,this.root.nativeElement,[]);document.body.removeChild(e);for(var n=t.sort(function(e,t){return e.y-t.y>15?1:t.y-e.y>15?-1:e.x-t.x}),i=0;i<n.length;i++)n[i].element.tabIndex=this.startTabindex+i}}},{key:"showElementsRecursively",value:function(e){if(e.classList.remove("hidden"),e.classList.remove("invisible"),e.classList.remove("hiddenXXLView"),e.classList.remove("hiddenXLView"),e.classList.remove("hiddenLargeView"),e.classList.remove("hiddenMediumView"),e.classList.remove("hiddenSmallView"),e.classList.remove("hiddenTinyView"),e.classList.remove("visibleXXLView"),e.classList.remove("visibleXLView"),e.classList.remove("visibleLargeView"),e.classList.remove("visibleMediumView"),e.classList.remove("visibleSmallView"),e.classList.remove("visibleTinyView"),!(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement)&&e.childElementCount>0)for(var t=0;t<e.childElementCount;t++){var n=e.children.item(t);n&&this.showElementsRecursively(n)}}},{key:"collectElementPositions",value:function(e,t,n){if(e instanceof HTMLButtonElement||e instanceof HTMLAnchorElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement){var i=e.getBoundingClientRect(),r={element:t,x:Math.round(i.left),y:Math.round(i.top)};n.push(r)}else if(e.childElementCount>0)for(var o=0;o<e.childElementCount;o++){var a=e.children.item(o),s=t.children.item(o);a&&s&&(n=this.collectElementPositions(a,s,n))}return n}},{key:"doInitPDFViewer",value:function(){var t=this,n=document.querySelectorAll('link[type="application/l10n"]');if(0===n.length)document.querySelector('script[type="application/l10n"]')?this.useBrowserLocale&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag."):this.useBrowserLocale||(console.error("If you set the attribute 'useBrowserLocale' to false, you must provide the translations yourself in a script or link tag."),console.error("The easiest way to do this is to add them to the index.html."));else if(this.useBrowserLocale){var i=n[0].attributes.origin;i&&"ngx-extended-pdf-viewer"!==i.value&&console.error("Please set the attribute 'useBrowserLocale' to false if you provide the translations yourself in a script or link tag.")}window.addEventListener("afterprint",function(e){t.afterPrint.emit()}),window.addEventListener("beforeprint",function(e){t.beforePrint.emit()}),document.addEventListener("localized",function e(n){document.removeEventListener("localized",e),t.initTimeout=setTimeout(function(){t.shuttingDown||(t.afterLibraryInit(),t.openPDF(),t.assignTabindexes())},t.delayFirstView)}),e.ngxExtendedPdfViewerInitialized&&console.error("You're trying to open two instances of the PDF viewer. Most likely, this will result in errors."),document.addEventListener("webviewerloaded",function e(){t.overrideDefaultSettings(),document.removeEventListener("webviewerloaded",e),t.enablePinchOnMobile&&(t.pinchOnMobileSupport=new mO(t.ngZone))}),this.activateTextlayerIfNecessary(null),setTimeout(function(){if(!t.shuttingDown){t.primaryMenuVisible=!0,t.hideKebabMenuForSecondaryToolbar&&!t.showSecondaryToolbarButton&&(t.isPrimaryMenuVisible()||(t.primaryMenuVisible=!1)),t.calcViewerPositionTop(),t.dummyComponents.addMissingStandardWidgets(),window.webViewerLoad();var e=window.PDFViewerApplication;e.appConfig.defaultUrl="",e.appConfig.filenameForDownload=t.filenameForDownload;var n=window.PDFViewerApplicationOptions;n.set("locale",t.language),n.set("imageResourcesPath",t.imageResourcesPath),n.set("minZoom",t.minZoom),n.set("maxZoom",t.maxZoom),e.isViewerEmbedded=!0,e.printKeyDownListener&&window.addEventListener("keydown",e.printKeyDownListener,!0);var i=document.getElementById("printContainer");i&&document.getElementsByTagName("body")[0].appendChild(i)}},0)}},{key:"afterLibraryInit",value:function(){this.notificationService.onPDFJSInit.next()}},{key:"checkHeight",value:function(){var e=document.getElementsByClassName("zoom")[0];if(e&&0===e.clientHeight&&this._height.includes("%")){var t=window.innerHeight-e.getBoundingClientRect().top;t=t*Number(this._height.replace("%",""))/100,this.minHeight=t>100?t+"px":"100px"}}},{key:"onSpreadChange",value:function(e){this.spreadChange.emit(e)}},{key:"activateTextlayerIfNecessary",value:function(e){var t=this;void 0===this.textLayer?this.handTool?(e&&e.set("textLayerMode",this.showHandToolButton?1:0),this.showHandToolButton||((this.showFindButton||void 0===this.showFindButton)&&(this.ngZone.run(function(){t.showFindButton=!1}),this.logLevel>=hD.WARNINGS&&console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.')),this.showHandToolButton&&this.logLevel>=hD.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))):(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(function(){var e=document.getElementById("viewFind");e&&e.classList.remove("invisible");var t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):this.textLayer?(e&&e.set("textLayerMode",1),this.textLayer=!0,void 0===this.showFindButton&&(this.showFindButton=!0,setTimeout(function(){var e=document.getElementById("viewFind");e&&e.classList.remove("invisible");var t=document.getElementById("findbar");t&&t.classList.remove("invisible")}))):(e&&e.set("textLayerMode",0),this.textLayer=!1,this.showFindButton&&this.logLevel>=hD.WARNINGS&&(console.warn('Hiding the "find" button because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the find button.'),this.ngZone.run(function(){t.showFindButton=!1})),this.showHandToolButton&&this.logLevel>=hD.WARNINGS&&(console.warn('Hiding the "hand tool / selection mode" menu because the text layer of the PDF file is not rendered. Use [textLayer]="true" to enable the the menu items.'),this.showHandToolButton=!1))}},{key:"overrideDefaultSettings",value:function(){var e=window.PDFViewerApplicationOptions;for(var t in dD)e.set(t,dD[t]);e.set("disablePreferences",!0),this.setZoom(),e.set("ignoreKeyboard",this.ignoreKeyboard),e.set("ignoreKeys",this.ignoreKeys),e.set("acceptKeys",this.acceptKeys),this.activateTextlayerIfNecessary(e);var n=this.sidebarVisible;void 0===n&&(n=this.showSidebarOnLoad);var i=window.PDFViewerApplication;void 0!==n&&(i.sidebarViewOnLoad=n?1:0,i.appConfig&&(i.appConfig.sidebarViewOnLoad=n?1:0),e.set("sidebarViewOnLoad",this.sidebarVisible?1:0)),"even"===this.spread?(e.set("spreadModeOnLoad",2),i.pdfViewer&&(i.pdfViewer.spreadMode=2),this.onSpreadChange("even")):"odd"===this.spread?(e.set("spreadModeOnLoad",1),i.pdfViewer&&(i.pdfViewer.spreadMode=1),this.onSpreadChange("odd")):(e.set("spreadModeOnLoad",0),i.pdfViewer&&(i.pdfViewer.spreadMode=0),this.onSpreadChange("off")),this.printResolution&&e.set("printResolution",this.printResolution),!1===this.showBorders&&e.set("removePageBorders",!this.showBorders)}},{key:"openPDF",value:function(){var t=this;ServiceWorkerOptions.showUnverifiedSignatures=this.showUnverifiedSignatures;var n=window.PDFViewerApplication;n.enablePrint=this.enablePrint,e.ngxExtendedPdfViewerInitialized=!0,this.onResize(),this.listenToURL||(n.pdfLinkService.setHash=function(){}),this.initTimeout=null,this.selectCursorTool(),n.eventBus.on("textlayerrendered",function(e){t.textlayerRendered.emit(e),t.textLayerRendered.emit(e)}),n.eventBus.on("pagesloaded",function(e){if(t.pagesLoaded.emit(e),t.rotation){var i=Number(t.rotation);0!==i&&90!==i&&180!==i&&270!==i||(n.pdfViewer.pagesRotation=i)}else n.pdfViewer.pagesRotation=0;setTimeout(function(){t.shuttingDown||(t.nameddest?n.pdfLinkService.navigateTo(t.nameddest):t.page?n.page=Number(t.page):t.pageLabel&&(n.pdfViewer.currentPageLabel=t.pageLabel))}),t.setZoom()}),n.eventBus.on("pagerendered",function(e){t.ngZone.run(function(){t.pageRendered.emit(e)})}),n.eventBus.on("download",function(e){t.ngZone.run(function(){t.pdfDownloaded.emit(e)})}),n.eventBus.on("scalechanging",function(e){setTimeout(function(){t.ngZone.run(function(){t.currentZoomFactor.emit(e.scale);var n=t.root.nativeElement.querySelector("#scaleSelect"),i=t.zoom;n&&(i=n.value),"auto"!==i&&"page-fit"!==i&&"page-actual"!==i&&"page-width"!==i&&t.zoomChange.emit(100*e.scale)})})}),n.eventBus.on("rotationchanging",function(e){t.ngZone.run(function(){t.rotationChange.emit(e.pagesRotation)})}),n.eventBus.on("fileinputchange",function(e){t.ngZone.run(function(){var n=e.fileInput.value.replace("C:\\fakepath\\","");t.srcChange.emit(n)})}),n.eventBus.on("cursortoolchanged",function(e){t.ngZone.run(function(){t.handToolChange.emit(e.tool===_D.HAND)})}),n.eventBus.on("sidebarviewchanged",function(e){t.ngZone.run(function(){t.sidebarVisibleChange.emit(e.view>0),t.sidebarComponent&&t.sidebarComponent.showToolbarWhenNecessary()})});var i=function(){t.ngZone.run(function(){t.sidebarComponent&&t.sidebarComponent.showToolbarWhenNecessary()})};if(n.eventBus.on("outlineloaded",i),n.eventBus.on("attachmentsloaded",i),n.eventBus.on("layersloaded",i),n.eventBus.on("updatefindcontrolstate",function(e){t.updateFindMatchesCount&&(e.state===fD.NOT_FOUND?t.updateFindMatchesCount.emit({current:0,total:0}):e.matchesCount.total&&t.updateFindMatchesCount.emit(e.matchesCount)),t.updateFindState&&t.updateFindState.emit(e.state)}),n.eventBus.on("updatefindmatchescount",function(e){t.updateFindMatchesCount&&e.matchesCount.total&&t.updateFindMatchesCount.emit(e.matchesCount)}),n.eventBus.on("pagechanging",function(e){t.shuttingDown||t.ngZone.run(function(){var e=n.pdfViewer.currentPageNumber,i=n.pdfViewer.currentPageLabel;e!==t.page&&t.pageChange.emit(e),i!==t.pageLabel&&t.pageLabelChange.emit(i)})}),this.checkHeight(),this._src){var r={password:this.password,verbosity:this.logLevel};this._src.range&&(r.range=this._src.range),this.httpHeaders&&(r.httpHeaders=this.httpHeaders),this.authorization&&(r.withCredentials=!0,r.httpHeaders?r.httpHeaders.Authorization||(r.httpHeaders.Authorization=this.authorization):r.httpHeaders={Authorization:this.authorization}),n.onError=function(e){return t.pdfLoadingFailed.emit(e)},n.open(this._src,r).then(function(){return t.pdfLoaded.emit({pagesCount:n.pagesCount})})}setTimeout(function(){t.shuttingDown||t.page&&(n.page=Number(t.page))},100)}},{key:"selectCursorTool",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:this.handTool?1:0})}},{key:"ngOnDestroy",value:function(){var t=window.PDFViewerApplication;if(this.shuttingDown=!0,e.ngxExtendedPdfViewerInitialized=!1,this.initTimeout&&(clearTimeout(this.initTimeout),this.initTimeout=void 0),t){this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0),t.cleanup(),t.close(),t.printKeyDownListener&&removeEventListener("keydown",t.printKeyDownListener,!0),t._boundEvents&&t.unbindWindowEvents();var n=t.eventBus;if(n)for(var i in t.unbindEvents(),n._listeners)if(n._listeners[i]){for(var r=n._listeners[i],o=0;o<r.length;o++)r[o]=void 0;n._listeners[i]=void 0}t.eventBus=null}var a=document.getElementsByTagName("body");if(a[0])for(var s=a[0].children,l=s.length-1;l>=0;l--){var u=s.item(l);(u&&"printContainer"===u.id||u&&"fileInput"===u.id)&&a[0].removeChild(u)}}},{key:"isPrimaryMenuVisible",value:function(){return!!(this.showBookmarkButton||this.showDownloadButton||this.showFindButton||this.showOpenFileButton||this.showPagingButtons||this.showPresentationModeButton||this.showPrintButton||this.showPropertiesButton||this.showSidebarButton||this.showZoomButtons)}},{key:"ngOnChanges",value:function(t){var n=this,i=window.PDFViewerApplication,r=window.PDFViewerApplicationOptions;if(e.ngxExtendedPdfViewerInitialized){if(("src"in t||"base64Src"in t)&&this._src){this.overrideDefaultSettings();var o={password:this.password,verbosity:this.logLevel};this._src.range&&(o.range=this._src.range),this.httpHeaders&&(o.httpHeaders=this.httpHeaders),this.authorization&&(o.withCredentials=!0,o.httpHeaders?o.httpHeaders.Authorization||(o.httpHeaders.Authorization=this.authorization):o.httpHeaders={Authorization:this.authorization}),i.open(this._src,o).then(function(){return n.pdfLoaded.emit({pagesCount:i.pagesCount})},function(e){return n.pdfLoadingFailed.emit(e)})}if("zoom"in t&&this.setZoom(),"maxZoom"in t&&r.set("maxZoom",this.maxZoom),"minZoom"in t&&r.set("minZoom",this.minZoom),"handTool"in t&&this.selectCursorTool(),"page"in t&&this.page&&this.page!=i.page&&(i.page=this.page),"pageLabel"in t&&this.pageLabel&&this.pageLabel!==i.pdfViewer.currentPageLabel&&(i.pdfViewer.currentPageLabel=this.pageLabel),"rotation"in t)if(this.rotation){var a=Number(this.rotation);0!==a&&90!==a&&180!==a&&270!==a||(i.pdfViewer.pagesRotation=a)}else i.pdfViewer.pagesRotation=0;"sidebarVisible"in t&&(this.sidebarVisible?i.pdfSidebar.open():i.pdfSidebar.close()),"filenameForDownload"in t&&(i.appConfig.filenameForDownload=this.filenameForDownload),"nameddest"in t&&this.nameddest&&i.pdfLinkService.navigateTo(this.nameddest),"spread"in t&&("even"===this.spread?(i.spreadModeOnLoad=2,i.pdfViewer.spreadMode=2,this.onSpreadChange("even")):"odd"===this.spread?(i.spreadModeOnLoad=1,i.pdfViewer.spreadMode=1,this.onSpreadChange("odd")):(i.spreadModeOnLoad=0,i.pdfViewer.spreadMode=0,this.onSpreadChange("off"))),"enablePinchOnMobile"in t&&(t.enablePinchOnMobile.isFirstChange()||t.enablePinchOnMobile.currentValue!==t.enablePinchOnMobile.previousValue&&(this.enablePinchOnMobile?this.pinchOnMobileSupport=new mO(this.ngZone):this.pinchOnMobileSupport&&(this.pinchOnMobileSupport.destroyPinchZoom(),this.pinchOnMobileSupport=void 0))),this.primaryMenuVisible=!0,this.showSecondaryToolbarButton&&!this.hideKebabMenuForSecondaryToolbar||this.isPrimaryMenuVisible()||(this.primaryMenuVisible=!1),this.calcViewerPositionTop()}if(this.onResize(),"printResolution"in t&&r&&r.set("printResolution",this.printResolution),"ignoreKeyboard"in t&&r&&this.overrideDefaultSettings(),"ignoreKeys"in t&&r&&this.overrideDefaultSettings(),"acceptKeys"in t&&r&&this.overrideDefaultSettings(),"showBorders"in t&&!t.showBorders.isFirstChange()&&r){this.overrideDefaultSettings();var s=document.getElementById("viewer");this.showBorders?s.classList.remove("removePageBorders"):s.classList.add("removePageBorders"),i.pdfViewer&&(i.pdfViewer.removePageBorders=!this.showBorders);var l={source:s,scale:(100|Number(this.zoom))/100,presetValue:this.zoom};i.eventBus.dispatch("scalechanging",l)}"showUnverifiedSignatures"in t&&i&&i.pdfDocument&&i.pdfDocument._transport.messageHandler.send("showUnverifiedSignatures",this.showUnverifiedSignatures),"enablePrint"in t&&(t.enablePrint.isFirstChange()||(i.enablePrint=this.enablePrint)),("customFindbar"in t&&!t.customFindbar.isFirstChange()||"customFindbarButtons"in t&&!t.customFindbarButtons.isFirstChange()||"customFindbarInputArea"in t&&!t.customFindbarInputArea.isFirstChange()||"customToolbar"in t&&!t.customToolbar.isFirstChange())&&this.dummyComponents&&this.dummyComponents.addMissingStandardWidgets()}},{key:"setZoom",value:function(){var e=this.zoom;String(e).endsWith("%")?e=Number(String(e).replace("%",""))/100:isNaN(Number(e))||(e=Number(e)/100),e||(e="auto");var t=window.PDFViewerApplication;t&&window.PDFViewerApplicationOptions.set("defaultZoomValue",e),t.pdfViewer&&(t.pdfViewer.currentScaleValue=e)}},{key:"onResize",value:function(){var e=document.getElementsByClassName("html");if(e&&e.length>0){var t=document.getElementById("outerContainer");t&&(this.toolbarWidthInPixels=t.clientWidth,this.secondaryToolbarComponent&&this.secondaryToolbarComponent.checkVisibility())}}},{key:"onContextMenu",value:function(){return this.contextMenuAllowed}},{key:"onSecondaryMenuIsEmpty",value:function(e){this.hideKebabMenuForSecondaryToolbar=e}}]),e}()).\u0275fac=function(e){return new(e||gO)(os(Cc),os(cc),os(bD),os(Sd))},gO.\u0275cmp=pt({type:gO,selectors:[["ngx-extended-pdf-viewer"]],viewQuery:function(e,t){var n;1&e&&(Xu(yD,1),Xu(zP,1),Xu(VP,1),Xu(NP,1)),2&e&&(Qu(n=Ju())&&(t.dummyComponents=n.first),Qu(n=Ju())&&(t.root=n.first),Qu(n=Ju())&&(t.secondaryToolbarComponent=n.first),Qu(n=Ju())&&(t.sidebarComponent=n.first))},hostBindings:function(e,t){1&e&&ys("contextmenu",function(){return t.onContextMenu()})},inputs:{customFindbarButtons:"customFindbarButtons",authorization:"authorization",httpHeaders:"httpHeaders",contextMenuAllowed:"contextMenuAllowed",enablePrint:"enablePrint",delayFirstView:"delayFirstView",logLevel:"logLevel",enablePinchOnMobile:"enablePinchOnMobile",minifiedJSLibraries:"minifiedJSLibraries",printResolution:"printResolution",useBrowserLocale:"useBrowserLocale",backgroundColor:"backgroundColor",filenameForDownload:"filenameForDownload",ignoreKeyboard:"ignoreKeyboard",ignoreKeys:"ignoreKeys",acceptKeys:"acceptKeys",imageResourcesPath:"imageResourcesPath",language:"language",listenToURL:"listenToURL",nameddest:"nameddest",password:"password",showUnverifiedSignatures:"showUnverifiedSignatures",showSidebarOnLoad:"showSidebarOnLoad",sidebarVisible:"sidebarVisible",showFindButton:"showFindButton",showPagingButtons:"showPagingButtons",showZoomButtons:"showZoomButtons",showPresentationModeButton:"showPresentationModeButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showDownloadButton:"showDownloadButton",showBookmarkButton:"showBookmarkButton",theme:"theme",showSecondaryToolbarButton:"showSecondaryToolbarButton",showRotateButton:"showRotateButton",handTool:"handTool",showHandToolButton:"showHandToolButton",showScrollingButton:"showScrollingButton",showSpreadButton:"showSpreadButton",showPropertiesButton:"showPropertiesButton",showBorders:"showBorders",pageLabel:"pageLabel",textLayer:"textLayer",zoom:"zoom",zoomLevels:"zoomLevels",maxZoom:"maxZoom",minZoom:"minZoom",_mobileFriendlyZoom:"_mobileFriendlyZoom",src:"src",base64Src:"base64Src",height:"height",showSidebarButton:"showSidebarButton",page:"page",mobileFriendlyZoom:"mobileFriendlyZoom",mobileZoom:"mobileZoom",customFindbarInputArea:"customFindbarInputArea",customToolbar:"customToolbar",customFindbar:"customFindbar",customSecondaryToolbar:"customSecondaryToolbar",customSidebar:"customSidebar",customThumbnail:"customThumbnail",customFreeFloatingBar:"customFreeFloatingBar",rotation:"rotation",startTabindex:"startTabindex",spread:"spread"},outputs:{srcChange:"srcChange",afterPrint:"afterPrint",beforePrint:"beforePrint",currentZoomFactor:"currentZoomFactor",rotationChange:"rotationChange",sidebarVisibleChange:"sidebarVisibleChange",handToolChange:"handToolChange",spreadChange:"spreadChange",thumbnailDrawn:"thumbnailDrawn",pageChange:"pageChange",pageLabelChange:"pageLabelChange",pagesLoaded:"pagesLoaded",pageRendered:"pageRendered",pdfDownloaded:"pdfDownloaded",pdfLoaded:"pdfLoaded",pdfLoadingFailed:"pdfLoadingFailed",textlayerRendered:"textlayerRendered",textLayerRendered:"textLayerRendered",updateFindMatchesCount:"updateFindMatchesCount",updateFindState:"updateFindState",zoomChange:"zoomChange"},features:[Tt],ngContentSelectors:BP,decls:66,vars:60,consts:[["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer",4,"ngIf"],[4,"ngIf"],[3,"zoom","width"],[1,"zoom"],["root",""],[1,"html"],[1,"loadingInProgress","body"],["id","outerContainer",3,"resize"],[1,"free-floating-bar"],[4,"ngTemplateOutlet"],[3,"sidebarPositionTop","sidebarVisible","showSidebarButton","customSidebar","customThumbnail","thumbnailDrawn"],["pdfsidebar",""],["id","mainContainer"],[3,"customToolbar","mobileFriendlyZoomScale","primaryMenuVisible","showBookmarkButton","showDownloadButton","showFindButton","showHandToolButton","showOpenFileButton","showPrintButton","showPagingButtons","showPresentationModeButton","showRotateButton","showSecondaryToolbarButton","showSidebarButton","showZoomButtons","textLayer","toolbarPaddingTop","toolbarWidth","zoomLevels"],[3,"customSecondaryToolbar","secondaryToolbarTop","mobileFriendlyZoomScale","showPresentationModeButton","showOpenFileButton","showPrintButton","showDownloadButton","showBookmarkButton","showPagingButtons","showRotateButton","showHandToolButton","showScrollingButton","showSpreadButton","showPropertiesButton","spreadChange","secondaryMenuIsEmpty"],["pdfSecondaryToolbarComponent",""],[3,"findbarLeft","findbarTop","mobileFriendlyZoomScale","showFindButton","customFindbarInputArea","customFindbarButtons"],["id","viewerContainer"],["id","viewer",1,"pdfViewer"],["id","errorWrapper","hidden","true"],["id","errorMessageLeft"],["id","errorMessage"],["type","button","id","errorShowMore","data-l10n-id","error_more_info"],["type","button","id","errorShowLess","data-l10n-id","error_less_info","hidden","true"],["id","errorMessageRight"],["type","button","id","errorClose","data-l10n-id","error_close"],[1,"clearBoth"],["id","errorMoreInfo","hidden","true","readonly","readonly"],["id","overlayContainer",1,"hidden"],["id","passwordOverlay",1,"container","hidden"],[1,"dialog"],[1,"row"],["id","passwordText","data-l10n-id","password_label"],["id","password",1,"toolbarField"],[1,"buttonRow"],["type","button","id","passwordCancel",1,"overlayButton"],["data-l10n-id","password_cancel"],["type","button","id","passwordSubmit",1,"overlayButton"],["data-l10n-id","password_ok"],["id","documentPropertiesOverlay",1,"container","hidden"],["id","printServiceOverlay",1,"container","hidden"],["data-l10n-id","print_progress_message"],["value","0","max","100"],["data-l10n-id","print_progress_percent","data-l10n-args",'{ "progress": 0 }',1,"relative-progress"],["type","button","id","printCancel",1,"overlayButton"],["data-l10n-id","print_progress_close"],["id","printContainer"],["defaultFreeFloatingBar",""],["rel","resource","type","application/l10n","href","assets/locale/locale.properties","origin","ngx-extended-pdf-viewer"]],template:function(e,t){if(1&e&&(Cs(),is(0,HP,1,0,"link",0),is(1,jP,1,0,"pdf-dark-theme",1),is(2,UP,1,0,"pdf-light-theme",1),cs(3,"pdf-dynamic-css",2),ls(4,"div",3,4),ls(6,"div",5),ls(7,"div",6),ls(8,"div",7),ys("resize",function(){return t.onResize()},!1,Rr),ls(9,"div",8),is(10,WP,1,0,"ng-content",9),us(),ls(11,"pdf-sidebar",10,11),ys("thumbnailDrawn",function(e){return t.thumbnailDrawn.emit(e)}),us(),ls(13,"div",12),cs(14,"pdf-dummy-components"),cs(15,"pdf-toolbar",13),ls(16,"pdf-secondary-toolbar",14,15),ys("spreadChange",function(e){return t.onSpreadChange(e)})("secondaryMenuIsEmpty",function(e){return t.onSecondaryMenuIsEmpty(e)}),us(),cs(18,"pdf-findbar",16),cs(19,"pdf-context-menu"),ls(20,"div",17),cs(21,"div",18),us(),ls(22,"div",19),ls(23,"div",20),cs(24,"span",21),ls(25,"button",22),Xs(26," More Information "),us(),ls(27,"button",23),Xs(28," Less Information "),us(),us(),ls(29,"div",24),ls(30,"button",25),Xs(31,"Close"),us(),us(),cs(32,"div",26),cs(33,"textarea",27),us(),us(),ls(34,"div",28),ls(35,"div",29),ls(36,"div",30),ls(37,"div",31),ls(38,"p",32),Xs(39," Enter the password to open this PDF file: "),us(),us(),ls(40,"div",31),cs(41,"input",33),us(),ls(42,"div",34),ls(43,"button",35),ls(44,"span",36),Xs(45,"Cancel"),us(),us(),ls(46,"button",37),ls(47,"span",38),Xs(48,"OK"),us(),us(),us(),us(),us(),cs(49,"pdf-document-properties-overlay",39),ls(50,"div",40),ls(51,"div",30),ls(52,"div",31),ls(53,"span",41),Xs(54,"Preparing document for printing\u2026"),us(),us(),ls(55,"div",31),cs(56,"progress",42),ls(57,"span",43),Xs(58,"0%"),us(),us(),ls(59,"div",34),ls(60,"button",44),ls(61,"span",45),Xs(62,"Cancel"),us(),us(),us(),us(),us(),us(),us(),cs(63,"div",46),us(),us(),us(),is(64,GP,0,0,"ng-template",null,47,nc)),2&e){var n=rs(65);as("ngIf",t.useBrowserLocale),Ao(1),as("ngIf","dark"===t.theme),Ao(1),as("ngIf","light"===t.theme),Ao(1),as("zoom",t.mobileFriendlyZoomScale)("width",t.toolbarWidthInPixels),Ao(1),Fs("height",t.height)("min-height",t.minHeight),Ao(3),Fs("background-color",t.backgroundColor),Ao(3),as("ngTemplateOutlet",t.customFreeFloatingBar?t.customFreeFloatingBar:n),Ao(1),as("sidebarPositionTop",t.sidebarPositionTop)("sidebarVisible",t.sidebarVisible)("showSidebarButton",t.showSidebarButton)("customSidebar",t.customSidebar)("customThumbnail",t.customThumbnail),Ao(4),as("customToolbar",t.customToolbar)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("primaryMenuVisible",t.primaryMenuVisible)("showBookmarkButton",t.showBookmarkButton)("showDownloadButton",t.showDownloadButton)("showFindButton",t.showFindButton)("showHandToolButton",t.showHandToolButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showPagingButtons",t.showPagingButtons)("showPresentationModeButton",t.showPresentationModeButton)("showRotateButton",t.showRotateButton)("showSecondaryToolbarButton",t.showSecondaryToolbarButton&&!t.hideKebabMenuForSecondaryToolbar)("showSidebarButton",t.showSidebarButton)("showZoomButtons",t.showZoomButtons)("textLayer",t.textLayer)("toolbarPaddingTop",t.toolbarPaddingTop)("toolbarWidth",t.toolbarWidth)("zoomLevels",t.zoomLevels),Ao(1),as("customSecondaryToolbar",t.customSecondaryToolbar)("secondaryToolbarTop",t.secondaryToolbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showPresentationModeButton",t.showPresentationModeButton)("showOpenFileButton",t.showOpenFileButton)("showPrintButton",t.showPrintButton&&t.enablePrint)("showDownloadButton",t.showDownloadButton)("showBookmarkButton",t.showBookmarkButton)("showPagingButtons",t.showPagingButtons)("showRotateButton",t.showRotateButton)("showHandToolButton",t.showHandToolButton)("showScrollingButton",t.showScrollingButton)("showSpreadButton",t.showSpreadButton)("showPropertiesButton",t.showPropertiesButton),Ao(2),as("findbarLeft",t.findbarLeft)("findbarTop",t.findbarTop)("mobileFriendlyZoomScale",t.mobileFriendlyZoomScale)("showFindButton",t.showFindButton)("customFindbarInputArea",t.customFindbarInputArea)("customFindbarButtons",t.customFindbarButtons),Ao(2),Fs("top",t.viewerPositionTop),Ao(1),Fs("background-color",t.backgroundColor)}},directives:function(){return[yh,lM,Mh,yO,yD,nM,wD,SO,kO,AO,hM,dM]},encapsulation:2,changeDetection:0}),gO.ngxExtendedPdfViewerInitialized=!1,gO),wO=((pO=function(){function e(){S(this,e)}return C(e,[{key:"findMultiple",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object.assign({},t,{findMultipleSearchTexts:!0});var n=e.join("\n")+"\n";return this.find(n,t)}},{key:"find",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(bO.ngxExtendedPdfViewerInitialized){var n=document.getElementById("findHighlightAll");n&&(n.checked=t.highlightAll||!1);var i=document.getElementById("findMatchCase");i&&(i.checked=t.matchCase||!1);var r=document.getElementById("findEntireWord");r&&(r.checked=t.wholeWords||!1);var o=document.getElementById("findIgnoreAccents");o&&(o.checked=t.ignoreAccents||!1);var a=t.findMultipleSearchTexts||e.includes("\n")||!1,s=document.getElementById("findMultipleSearchTexts");s&&(s.checked=a);var l=document.getElementById("individualWordsMode");l&&(l.checked=!1);var u=document.getElementById("findFuzzy");u&&(u.checked=t.fuzzySearch||!1);var c=a?document.getElementById("findInputMultiline"):document.getElementById("findInput");return c?(c instanceof HTMLTextAreaElement?(c.value=e,c.classList.remove("hidden"),document.getElementById("findInput").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.remove("hidden"),document.getElementById("individualWordsMode").classList.remove("hidden")):c instanceof HTMLInputElement&&(c.value=e,c.classList.remove("hidden"),document.getElementById("findInputMultiline").classList.add("hidden"),document.getElementById("individualWordsModeLabel").classList.add("hidden"),document.getElementById("individualWordsMode").classList.add("hidden")),c.dispatchEvent(new Event("input")),!0):(console.error("Unexpected error: the input field used to search isn't part of the DOM."),!1)}return console.error("The PDF viewer hasn't finished initializing. Please call find() later."),!1}},{key:"findNext",value:function(){if(bO.ngxExtendedPdfViewerInitialized){var e=document.getElementById("findNext");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findNext() later."),!1}},{key:"findPrevious",value:function(){if(bO.ngxExtendedPdfViewerInitialized){var e=document.getElementById("findPrevious");return!!e&&(e.click(),!0)}return console.error("The PDF viewer hasn't finished initializing. Please call findPrevious() later."),!1}},{key:"print",value:function(e){var t=this,n=window.PDFViewerApplication,i=!!window.isInPDFPrintRange&&!e;i||(e||(e={}),this.setPrintRange(e)),window.printPDF(),i||n.eventBus.on("afterprint",function(){t.removePrintRange()})}},{key:"removePrintRange",value:function(){window.isInPDFPrintRange=void 0,window.filteredPageCount=void 0}},{key:"setPrintRange",value:function(e){var t=this,n=window.PDFViewerApplication;window.isInPDFPrintRange=function(n){return t.isInPDFPrintRange(n,e)},window.filteredPageCount=this.filteredPageCount(n.pagesCount,e)}},{key:"filteredPageCount",value:function(e,t){for(var n=0,i=1;i<=e;i++)this.isInPDFPrintRange(i,t)&&n++;return n}},{key:"isInPDFPrintRange",value:function(e,t){var n=e+1;return!(t.from&&n<t.from||t.to&&n>t.to||t.excluded&&t.excluded.some(function(e){return e===n})||t.included&&!t.included.some(function(e){return e===n}))}},{key:"getPageAsText_preview",value:function(e,t){var n=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){e.getTextContent().then(function(e){return t(n.convertTextInfoToText(e))})})}},{key:"getPageAsText",value:function(e){var t=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){return new Promise(function(t,n){t(e.getTextContent())})}).then(function(e){return new Promise(function(n,i){n(t.convertTextInfoToText(e))})})}},{key:"convertTextInfoToText",value:function(e){return e?e.items.map(function(e){return e.str}).join(""):""}},{key:"getPageAsImage_preview",value:function(e,t,n,i){var r=this;window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){r.draw_preview(e,t,n,i)}).catch(function(e){i?i({message:"Unable to initialize PDF page service",reason:e}):console.error("Unable to initialize PDF page service",e)})}},{key:"getPageAsImage",value:function(e,t){var n=this;return window.PDFViewerApplication.pdfDocument.getPage(e).then(function(e){return new Promise(function(i,r){i(n.draw(e,t))})})}},{key:"draw",value:function(e,t){var n=1;t.scale?n=t.scale:t.width?n=t.width/e.getViewport({scale:1}).width:t.height&&(n=t.height/e.getViewport({scale:1}).height);var i=e.getViewport({scale:n}),r=this.getPageDrawContext(i.width,i.height),o=r.ctx,a=r.canvas,s=i.clone();return e.render({canvasContext:o,viewport:s}).promise.then(function(){return new Promise(function(e,t){e(a.toDataURL())})})}},{key:"draw_preview",value:function(e,t,n,i){var r=1;t.scale?r=t.scale:t.width?r=t.width/e.getViewport({scale:1}).width:t.height&&(r=t.height/e.getViewport({scale:1}).height);var o=e.getViewport({scale:r}),a=this.getPageDrawContext(o.width,o.height),s=a.ctx,l=a.canvas,u=o.clone();e.render({canvasContext:s,viewport:u}).promise.then(function(){var e=l.toDataURL();n(e)},function(e){i&&i(e)})}},{key:"getPageDrawContext",value:function(e,t){var n=document.createElement("canvas"),i=n.getContext("2d",{alpha:!1});if(!i)throw new Error("Couldn't create the 2d context");return n.width=e,n.height=t,n.style.width=e+"px",n.style.height=t+"px",{ctx:i,canvas:n}}}]),e}()).\u0275fac=function(e){return new(e||pO)},pO.\u0275prov=Le({token:pO,factory:pO.\u0275fac}),pO),_O=((fO=function(){function e(t){var n=this;S(this,e),this.notificationService=t,this.showHandToolButton=!0,this.isSelected=!1;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return C(e,[{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("cursortoolchanged",function(t){var n=t.tool;return e.isSelected=n===_D.HAND})}},{key:"onClick",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:_D.HAND})}}]),e}()).\u0275fac=function(e){return new(e||fO)(os(bD))},fO.\u0275cmp=pt({type:fO,selectors:[["pdf-hand-tool"]],inputs:{showHandToolButton:"showHandToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorHandTool","title","Enable hand tool","data-l10n-id","cursor_hand_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z"],["data-l10n-id","cursor_hand_tool_label"]],template:function(e,t){1&e&&(ls(0,"button",0),ys("click",function(){return t.onClick()}),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Hand Tool"),us(),us()),2&e&&Bs("invisible",!t.showHandToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),fO),xO=((hO=C(function e(){S(this,e),this.showBookmarkButton=!0})).\u0275fac=function(e){return new(e||hO)},hO.\u0275cmp=pt({type:hO,selectors:[["pdf-bookmark"]],inputs:{showBookmarkButton:"showBookmarkButton"},decls:5,vars:2,consts:[["href","#","id","viewBookmark","title","Current view (copy or open in new window)","data-l10n-id","bookmark",1,"toolbarButton","hiddenTinyView"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z"],["data-l10n-id","bookmark_label"]],template:function(e,t){1&e&&(ls(0,"a",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Current View"),us(),us()),2&e&&Bs("invisible",!t.showBookmarkButton)},styles:["[_nghost-%COMP%] a.toolbarButton[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-top:4px}[_nghost-%COMP%]:focus{outline:0}a[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),hO),kO=((dO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||dO)},dO.\u0275cmp=pt({type:dO,selectors:[["pdf-context-menu"]],decls:5,vars:0,consts:[["type","context","id","viewerContextMenu",2,"display","none"],["id","contextFirstPage",2,"display","none"],["id","contextLastPage",2,"display","none"],["id","contextPageRotateCw",2,"display","none"],["id","contextPageRotateCcw",2,"display","none"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"div",1),cs(2,"div",2),cs(3,"div",3),cs(4,"div",4),us())},styles:["[_nghost-%COMP%]{margin-top:4px}"]}),dO),AO=((cO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||cO)},cO.\u0275cmp=pt({type:cO,selectors:[["pdf-document-properties-overlay"]],decls:77,vars:0,consts:[[1,"dialog"],[1,"row"],["data-l10n-id","document_properties_file_name"],["id","fileNameField"],["data-l10n-id","document_properties_file_size"],["id","fileSizeField"],["data-l10n-id","document_properties_title"],["id","titleField"],["data-l10n-id","document_properties_author"],["id","authorField"],["data-l10n-id","document_properties_subject"],["id","subjectField"],["data-l10n-id","document_properties_keywords"],["id","keywordsField"],["data-l10n-id","document_properties_creation_date"],["id","creationDateField"],["data-l10n-id","document_properties_modification_date"],["id","modificationDateField"],["data-l10n-id","document_properties_creator"],["id","creatorField"],["data-l10n-id","document_properties_producer"],["id","producerField"],["data-l10n-id","document_properties_version"],["id","versionField"],["data-l10n-id","document_properties_page_count"],["id","pageCountField"],["data-l10n-id","document_properties_page_size"],["id","pageSizeField"],[1,"separator"],["data-l10n-id","document_properties_linearized"],["id","linearizedField"],[1,"buttonRow"],["type","button","id","documentPropertiesClose",1,"overlayButton"],["data-l10n-id","document_properties_close"]],template:function(e,t){1&e&&(ls(0,"div"),ls(1,"div",0),ls(2,"div",1),ls(3,"span",2),Xs(4,"File name:"),us(),ls(5,"p",3),Xs(6,"-"),us(),us(),ls(7,"div",1),ls(8,"span",4),Xs(9,"File size:"),us(),ls(10,"p",5),Xs(11,"-"),us(),us(),ls(12,"div",1),ls(13,"span",6),Xs(14,"Title:"),us(),ls(15,"p",7),Xs(16,"-"),us(),us(),ls(17,"div",1),ls(18,"span",8),Xs(19,"Author:"),us(),ls(20,"p",9),Xs(21,"-"),us(),us(),ls(22,"div",1),ls(23,"span",10),Xs(24,"Subject:"),us(),ls(25,"p",11),Xs(26,"-"),us(),us(),ls(27,"div",1),ls(28,"span",12),Xs(29,"Keywords:"),us(),ls(30,"p",13),Xs(31,"-"),us(),us(),ls(32,"div",1),ls(33,"span",14),Xs(34,"Creation Date:"),us(),ls(35,"p",15),Xs(36,"-"),us(),us(),ls(37,"div",1),ls(38,"span",16),Xs(39,"Modification Date:"),us(),ls(40,"p",17),Xs(41,"-"),us(),us(),ls(42,"div",1),ls(43,"span",18),Xs(44,"Creator:"),us(),ls(45,"p",19),Xs(46,"-"),us(),us(),ls(47,"div",1),ls(48,"span",20),Xs(49,"PDF Producer:"),us(),ls(50,"p",21),Xs(51,"-"),us(),us(),ls(52,"div",1),ls(53,"span",22),Xs(54,"PDF Version:"),us(),ls(55,"p",23),Xs(56,"-"),us(),us(),ls(57,"div",1),ls(58,"span",24),Xs(59,"Page Count:"),us(),ls(60,"p",25),Xs(61,"-"),us(),us(),ls(62,"div",1),ls(63,"span",26),Xs(64,"Page Size:"),us(),ls(65,"p",27),Xs(66,"-"),us(),us(),cs(67,"div",28),ls(68,"div",1),ls(69,"span",29),Xs(70,"Fast Web View:"),us(),ls(71,"p",30),Xs(72,"-"),us(),us(),ls(73,"div",31),ls(74,"button",32),ls(75,"span",33),Xs(76,"Close"),us(),us(),us(),us(),us())},styles:[""]}),cO),CO=((uO=C(function e(){S(this,e),this.showDownloadButton=!0})).\u0275fac=function(e){return new(e||uO)},uO.\u0275cmp=pt({type:uO,selectors:[["pdf-download"]],inputs:{showDownloadButton:"showDownloadButton"},decls:5,vars:2,consts:[["type","button","id","download","title","Download","data-l10n-id","download",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z"],["data-l10n-id","download_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Download"),us(),us()),2&e&&Bs("invisible",!t.showDownloadButton)},styles:[XP]}),uO),SO=((lO=C(function e(){S(this,e),this.showFindButton=!0})).\u0275fac=function(e){return new(e||lO)},lO.\u0275cmp=pt({type:lO,selectors:[["pdf-findbar"]],inputs:{showFindButton:"showFindButton",mobileFriendlyZoomScale:"mobileFriendlyZoomScale",findbarLeft:"findbarLeft",findbarTop:"findbarTop",customFindbarInputArea:"customFindbarInputArea",customFindbar:"customFindbar",customFindbarButtons:"customFindbarButtons"},decls:5,vars:1,consts:[[3,"ngTemplateOutlet"],["defaultFindbar",""],["defaultFindbarButtons",""],["id","findbar",1,"findbar","hidden","doorHanger"],[3,"customFindbarInputArea"]],template:function(e,t){if(1&e&&(fs(0,0),is(1,qP,2,11,"ng-template",null,1,nc),is(3,YP,5,1,"ng-template",null,2,nc)),2&e){var n=rs(2);as("ngTemplateOutlet",t.customFindbar?t.customFindbar:n)}},directives:function(){return[Mh,FO,PO,OO,DO,EO]},styles:[""]}),lO),EO=((sO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||sO)},sO.\u0275cmp=pt({type:sO,selectors:[["pdf-findbar-message-container"]],decls:2,vars:0,consts:[["id","findbarMessageContainer"],["id","findMsg",1,"toolbarLabel"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"span",1),us())},styles:[""]}),sO),PO=((aO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||aO)},aO.\u0275cmp=pt({type:aO,selectors:[["pdf-findbar-options-one-container"]],decls:3,vars:0,consts:[["id","findbarOptionsOneContainer"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"pdf-find-highlight-all"),cs(2,"pdf-find-match-case"),us())},directives:function(){return[RO,BO]},styles:[""]}),aO),DO=((oO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||oO)},oO.\u0275cmp=pt({type:oO,selectors:[["pdf-findbar-options-three-container"]],decls:4,vars:0,consts:[["id","findbarOptionsThreeContainer"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"pdf-find-ignore-accents"),cs(2,"pdf-find-fuzzily"),cs(3,"pdf-find-results-count"),us())},directives:function(){return[LO,IO,jO]},styles:[""]}),oO),OO=((rO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||rO)},rO.\u0275cmp=pt({type:rO,selectors:[["pdf-findbar-options-two-container"]],decls:3,vars:0,consts:[["id","findbarOptionsTwoContainer"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"pdf-find-entire-word"),cs(2,"pdf-find-entire-phrase"),us())},directives:function(){return[TO,VO]},styles:[""]}),rO),MO=((iO=function(){function e(){S(this,e),this.showFindButton=void 0,this.textLayer=void 0}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||iO)},iO.\u0275cmp=pt({type:iO,selectors:[["pdf-find-button"]],inputs:{showFindButton:"showFindButton",textLayer:"textLayer"},decls:5,vars:2,consts:[["type","button","id","viewFind","title","Find in Document","data-l10n-id","findbar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"],["data-l10n-id","findbar_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Find"),us(),us()),2&e&&Bs("invisible",!t.showFindButton||!t.textLayer)},styles:[eD]}),iO),TO=((nO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||nO)},nO.\u0275cmp=pt({type:nO,selectors:[["pdf-find-entire-word"]],decls:3,vars:0,consts:[["type","checkbox","id","findEntireWord",1,"toolbarField"],["for","findEntireWord","data-l10n-id","find_entire_word_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(cs(0,"input",0),ls(1,"label",1),Xs(2," Whole words\n"),us())},styles:[""]}),nO),IO=((tO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||tO)},tO.\u0275cmp=pt({type:tO,selectors:[["pdf-find-fuzzily"]],decls:3,vars:0,consts:[["type","checkbox","id","findFuzzy",1,"toolbarField"],["for","findFuzzy","data-l10n-id","find_fuzzy",1,"toolbarLabel"]],template:function(e,t){1&e&&(cs(0,"input",0),ls(1,"label",1),Xs(2," Fuzzy search\n"),us())},styles:[""]}),tO),RO=((eO=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||eO)},eO.\u0275cmp=pt({type:eO,selectors:[["pdf-find-highlight-all"]],decls:3,vars:0,consts:[["type","checkbox","id","findHighlightAll",1,"toolbarField"],["for","findHighlightAll","data-l10n-id","find_highlight",1,"toolbarLabel"]],template:function(e,t){1&e&&(cs(0,"input",0),ls(1,"label",1),Xs(2," Highlight all\n"),us())},styles:[""]}),eO),LO=(($D=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||$D)},$D.\u0275cmp=pt({type:$D,selectors:[["pdf-find-ignore-accents"]],decls:3,vars:0,consts:[["type","checkbox","id","findIgnoreAccents",1,"toolbarField"],["for","findIgnoreAccents","data-l10n-id","find_ignore_accents",1,"toolbarLabel"]],template:function(e,t){1&e&&(cs(0,"input",0),ls(1,"label",1),Xs(2," Ignore accents and diacritics\n"),us())},styles:[""]}),$D),FO=((JD=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||JD)},JD.\u0275cmp=pt({type:JD,selectors:[["pdf-find-input-area"]],inputs:{customFindbarInputArea:"customFindbarInputArea"},decls:2,vars:2,consts:[["id","findbarInputContainer",4,"ngIf"],[3,"ngTemplateOutlet"],["id","findbarInputContainer"]],template:function(e,t){1&e&&(is(0,ZP,4,0,"div",0),fs(1,1)),2&e&&(as("ngIf",!t.customFindbarInputArea),Ao(1),as("ngTemplateOutlet",t.customFindbarInputArea))},directives:function(){return[yh,Mh,$O,HO,NO]},styles:[""]}),JD),BO=((KD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||KD)},KD.\u0275cmp=pt({type:KD,selectors:[["pdf-find-match-case"]],decls:3,vars:0,consts:[["type","checkbox","id","findMatchCase",1,"toolbarField"],["for","findMatchCase","data-l10n-id","find_match_case_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(cs(0,"input",0),ls(1,"label",1),Xs(2," Match case\n"),us())},styles:[""]}),KD),zO=((XD=C(function e(){S(this,e),this.individualWordsMode=!0,this.multipleSearchTexts=!1})).\u0275fac=function(e){return new(e||XD)},XD.\u0275prov=Le({token:XD,factory:XD.\u0275fac,providedIn:"root"}),XD.ngInjectableDef=Fe({factory:function(){return new XD},token:XD,providedIn:"root"}),XD),VO=((QD=function(){function e(t){S(this,e),this.pdfFindbarService=t}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||QD)(os(zO))},QD.\u0275cmp=pt({type:QD,selectors:[["pdf-find-entire-phrase"]],decls:6,vars:6,consts:[["type","checkbox","id","findMultipleSearchTexts",1,"toolbarField",3,"ngModel","ngModelChange"],["for","findMultipleSearchTexts","data-l10n-id","find_multiple_texts_label",1,"toolbarLabel"],["type","checkbox","id","individualWordsMode",1,"toolbarField",3,"ngModel","ngModelChange"],["for","individualWordsMode","id","individualWordsModeLabel","data-l10n-id","find_individual_words_label",1,"toolbarLabel"]],template:function(e,t){1&e&&(ls(0,"input",0),ys("ngModelChange",function(e){return t.pdfFindbarService.multipleSearchTexts=e}),us(),ls(1,"label",1),Xs(2," multiple search texts\n"),us(),ls(3,"input",2),ys("ngModelChange",function(e){return t.pdfFindbarService.individualWordsMode=e}),us(),ls(4,"label",3),Xs(5," separated by word boundaries\n"),us()),2&e&&(as("ngModel",t.pdfFindbarService.multipleSearchTexts),Ao(3),Bs("hidden",!t.pdfFindbarService.multipleSearchTexts),as("ngModel",t.pdfFindbarService.individualWordsMode),Ao(1),Bs("hidden",!t.pdfFindbarService.multipleSearchTexts))},directives:[Tv,fm,Zm],styles:[""]}),QD),NO=((ZD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ZD)},ZD.\u0275cmp=pt({type:ZD,selectors:[["pdf-find-next"]],decls:5,vars:0,consts:[["type","button","id","findNext","title","Find the next occurrence of the phrase","data-l10n-id","find_next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","find_next_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Next"),us(),us())},styles:["button.toolbarButton#findNext[_ngcontent-%COMP%]{margin-top:0}"]}),ZD),HO=((YD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||YD)},YD.\u0275cmp=pt({type:YD,selectors:[["pdf-find-previous"]],decls:5,vars:0,consts:[["type","button","id","findPrevious","title","Find the previous occurrence of the phrase","data-l10n-id","find_previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","find_previous_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Previous"),us(),us())},styles:["button.toolbarButton#findPrevious[_ngcontent-%COMP%]{margin-top:0}"]}),YD),jO=((qD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||qD)},qD.\u0275cmp=pt({type:qD,selectors:[["pdf-find-results-count"]],decls:1,vars:0,consts:[["id","findResultsCount",1,"toolbarLabel","hidden"]],template:function(e,t){1&e&&cs(0,"span",0)},styles:[""]}),qD),UO=((GD=function(){function e(t){var n=this;S(this,e),this.notificationService=t,this.disableFirstPage=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return C(e,[{key:"firstPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableFirstPage=e.pageNumber<=1,this.button.nativeElement.disabled=this.disableFirstPage}}]),e}()).\u0275fac=function(e){return new(e||GD)(os(bD))},GD.\u0275cmp=pt({type:GD,selectors:[["pdf-first-page"]],viewQuery:function(e,t){var n;1&e&&Xu(QP,1),2&e&&Qu(n=Ju())&&(t.button=n.first)},decls:6,vars:1,consts:[["type","button","title","First page","id","primaryFirstPage","data-l10n-id","first_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z"],["data-l10n-id","first_page_label"]],template:function(e,t){1&e&&(ls(0,"button",0,1),ys("click",function(){return t.firstPage()}),Mn(),ls(2,"svg",2),cs(3,"path",3),us(),Tn(),ls(4,"span",4),Xs(5,"First page"),us(),us()),2&e&&as("disabled",t.disableFirstPage)},styles:[""]}),GD),WO=((WD=function(){function e(t){var n=this;S(this,e),this.notificationService=t,this.disableLastPage=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return C(e,[{key:"firstPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("firstpage")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableLastPage=e.pageNumber===e.pagesCount,this.button.nativeElement.disabled=this.disableLastPage}},{key:"lastPage",value:function(){window.PDFViewerApplication.eventBus.dispatch("lastpage")}}]),e}()).\u0275fac=function(e){return new(e||WD)(os(bD))},WD.\u0275cmp=pt({type:WD,selectors:[["pdf-last-page"]],viewQuery:function(e,t){var n;1&e&&Xu(QP,1),2&e&&Qu(n=Ju())&&(t.button=n.first)},decls:6,vars:1,consts:[["type","button","title","Last page","id","primaryLastPage","data-l10n-id","last_page",1,"toolbarButton","hiddenLargeView",3,"disabled","click"],["button",""],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z"],["data-l10n-id","last_page_label"]],template:function(e,t){1&e&&(ls(0,"button",0,1),ys("click",function(){return t.lastPage()}),Mn(),ls(2,"svg",2),cs(3,"path",3),us(),Tn(),ls(4,"span",4),Xs(5,"Last page"),us(),us()),2&e&&as("disabled",t.disableLastPage)},styles:[""]}),WD),GO=((UD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||UD)},UD.\u0275cmp=pt({type:UD,selectors:[["pdf-next-page"]],decls:5,vars:0,consts:[["type","button","title","Next Page","id","next","data-l10n-id","next",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"],["data-l10n-id","next_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Next"),us(),us())},styles:[""]}),UD),qO=((jD=C(function e(){S(this,e),this.showOpenFileButton=!0})).\u0275fac=function(e){return new(e||jD)},jD.\u0275cmp=pt({type:jD,selectors:[["pdf-open-file"]],inputs:{showOpenFileButton:"showOpenFileButton"},decls:5,vars:2,consts:[["type","button","id","openFile","title","Open File","data-l10n-id","open_file",1,"toolbarButton","hiddenMediumView"],["viewBox","0 0 24 24",2,"width","24px","height","20px"],["fill","currentColor","d","M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z"],["data-l10n-id","open_file_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Open"),us(),us()),2&e&&Bs("invisible",!t.showOpenFileButton)},styles:[XP]}),jD),YO=((HD=function(){function e(){S(this,e),this.showPagingButtons=!0}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||HD)},HD.\u0275cmp=pt({type:HD,selectors:[["pdf-page-number"]],inputs:{showPagingButtons:"showPagingButtons"},decls:2,vars:4,consts:[["type","number","id","pageNumber","title","Page","value","1","size","4","min","1","data-l10n-id","page",1,"toolbarField","pageNumber"],["id","numPages",1,"toolbarLabel","hiddenXLView"]],template:function(e,t){1&e&&(cs(0,"input",0),cs(1,"span",1)),2&e&&(Bs("invisible",!t.showPagingButtons),Ao(1),Bs("invisible",!t.showPagingButtons))},styles:[""]}),HD),ZO=((ND=C(function e(){S(this,e),this.showPagingButtons=!0})).\u0275fac=function(e){return new(e||ND)},ND.\u0275cmp=pt({type:ND,selectors:[["pdf-paging-area"]],inputs:{showPagingButtons:"showPagingButtons"},decls:7,vars:5,consts:[[1,"paging-left","hiddenTinyView"],[2,"margin-right","-3px"],[2,"margin-left","-3px"],[3,"showPagingButtons"],[1,"paging-right","hiddenTinyView"],[2,"margin-right","-3px","margin-left","-3px"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"pdf-first-page",1),cs(2,"pdf-previous-page",2),us(),cs(3,"pdf-page-number",3),ls(4,"div",4),cs(5,"pdf-next-page",5),cs(6,"pdf-last-page",2),us()),2&e&&(Bs("invisible",!t.showPagingButtons),Ao(3),as("showPagingButtons",t.showPagingButtons),Ao(1),Bs("invisible",!t.showPagingButtons))},directives:function(){return[UO,XO,YO,GO,WO]},styles:[".paging-right[_ngcontent-%COMP%]{float:right;display:block;margin-top:-2px}.paging-left[_ngcontent-%COMP%]{float:left;display:block;margin-top:-2px}"]}),ND),QO=((VD=C(function e(){S(this,e),this.showPresentationModeButton=!0})).\u0275fac=function(e){return new(e||VD)},VD.\u0275cmp=pt({type:VD,selectors:[["pdf-presentation-mode"]],inputs:{showPresentationModeButton:"showPresentationModeButton"},decls:5,vars:2,consts:[["type","button","id","presentationMode","title","Switch to Presentation Mode","data-l10n-id","presentation_mode",1,"toolbarButton","hiddenLargeView"],["viewBox","0 0 24 24",2,"width","27px","height","27px"],["fill","currentColor","d","M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z"],["data-l10n-id","presentation_mode_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Presentation Mode"),us(),us()),2&e&&Bs("invisible",!t.showPresentationModeButton)},styles:["[_nghost-%COMP%] button.toolbarButton[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),VD),XO=((zD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||zD)},zD.\u0275cmp=pt({type:zD,selectors:[["pdf-previous-page"]],decls:5,vars:0,consts:[["type","button","title","Previous Page","id","previous","data-l10n-id","previous",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"],["data-l10n-id","previous_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Previous"),us(),us())},styles:[""]}),zD),KO=((BD=C(function e(){S(this,e),this.showPrintButton=!0})).\u0275fac=function(e){return new(e||BD)},BD.\u0275cmp=pt({type:BD,selectors:[["pdf-print"]],inputs:{showPrintButton:"showPrintButton"},decls:5,vars:2,consts:[["type","button","id","print","title","Print","data-l10n-id","print",1,"toolbarButton","hiddenSmallView"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z"],["data-l10n-id","print_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Print"),us(),us()),2&e&&Bs("invisible",!t.showPrintButton)},styles:[$P]}),BD),JO=((FD=function(){function e(t){var n=this;S(this,e),this.notificationService=t,this.showRotateButton=!0,this.disableRotate=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return C(e,[{key:"rotateCW",value:function(){window.PDFViewerApplication.eventBus.dispatch("rotatecw")}},{key:"rotateCCW",value:function(){window.PDFViewerApplication.eventBus.dispatch("rotateccw")}},{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("updateuistate",function(t){return e.updateUIState(t)})}},{key:"updateUIState",value:function(e){this.disableRotate=0===e.pagesCount,this.button1.nativeElement.disabled=this.disableRotate,this.button2.nativeElement.disabled=this.disableRotate}}]),e}()).\u0275fac=function(e){return new(e||FD)(os(bD))},FD.\u0275cmp=pt({type:FD,selectors:[["pdf-rotate-page"]],viewQuery:function(e,t){var n;1&e&&(Xu(KP,1),Xu(JP,1)),2&e&&(Qu(n=Ju())&&(t.button1=n.first),Qu(n=Ju())&&(t.button2=n.first))},inputs:{showRotateButton:"showRotateButton"},decls:8,vars:6,consts:[["type","button","id","primaryPageRotateCw","title","Rotate Clockwise","data-l10n-id","page_rotate_cw",1,"toolbarButton","hiddenXLView","rotateCw",3,"disabled","click"],["button1",""],["viewBox","0 0 24 24",2,"width","23px","height","23px"],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12S7.03 21 12 21C14 21 15.92 20.34 17.5 19.14L16.06 17.7C14.87 18.54 13.45 19 12 19C8.13 19 5 15.87 5 12S8.13 5 12 5 19 8.13 19 12H16L20 16L24 12H21C21 7.03 16.97 3 12 3"],["type","button","id","primaryPageRotateCcw","title","Rotate Counterclockwise","data-l10n-id","page_rotate_ccw",1,"toolbarButton","hiddenXLView","rotateCcw",3,"disabled","click"],["button2",""],["fill","currentColor","d","M12 3C7.03 3 3 7.03 3 12H0L4 16L8 12H5C5 8.13 8.13 5 12 5S19 8.13 19 12 15.87 19 12 19C10.55 19 9.13 18.54 7.94 17.7L6.5 19.14C8.08 20.34 10 21 12 21C16.97 21 21 16.97 21 12S16.97 3 12 3"]],template:function(e,t){1&e&&(ls(0,"button",0,1),ys("click",function(){return t.rotateCW()}),Mn(),ls(2,"svg",2),cs(3,"path",3),us(),us(),Tn(),ls(4,"button",4,5),ys("click",function(){return t.rotateCCW()}),Mn(),ls(6,"svg",2),cs(7,"path",6),us(),us()),2&e&&(Bs("invisible",!t.showRotateButton),as("disabled",t.disableRotate),Ao(4),Bs("invisible",!t.showRotateButton),as("disabled",t.disableRotate))},styles:[$P]}),FD),$O=((LD=C(function e(t){S(this,e),this.pdfFindbarService=t})).\u0275fac=function(e){return new(e||LD)(os(zO))},LD.\u0275cmp=pt({type:LD,selectors:[["pdf-search-input-field"]],decls:2,vars:5,consts:[["autocomplete","search-input-field","id","findInput","title","Find","data-l10n-id","find_input","name","search-input-field",1,"toolbarField",3,"placeholder"],["id","findInputMultiline","type","checkbox","placeholder","Multiple search terms. Each line is a search term.","data-l10n-id","find_input_line_by_line","lines","3",1,"toolbarField"]],template:function(e,t){1&e&&(cs(0,"input",0),cs(1,"textarea",1)),2&e&&(Bs("hidden",!t.pdfFindbarService.individualWordsMode),as("placeholder","Find in document\u2026"),Ao(1),Bs("hidden",t.pdfFindbarService.individualWordsMode))},styles:["textarea[_ngcontent-%COMP%]{width:200px;height:3.5em}textarea[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#bfbfbf}textarea[_ngcontent-%COMP%]::-moz-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]:-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::-ms-input-placeholder{font-style:italic}textarea[_ngcontent-%COMP%]::placeholder{font-style:italic}"]}),LD),eM=((RD=function(){function e(){S(this,e),this.showSecondaryToolbarButton=!0}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||RD)},RD.\u0275cmp=pt({type:RD,selectors:[["pdf-toggle-secondary-toolbar"]],inputs:{showSecondaryToolbarButton:"showSecondaryToolbarButton"},decls:5,vars:2,consts:[["type","button","id","secondaryToolbarToggle","title","Tools","data-l10n-id","tools",1,"toolbarButton"],["viewBox","0 0 24 24","onclick","event.preventDefault(); return false;",2,"width","27px","height","27px"],["fill","currentColor","d","M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"],["data-l10n-id","tools_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Tools"),us(),us()),2&e&&Bs("invisible",!t.showSecondaryToolbarButton)},styles:["svg[_ngcontent-%COMP%]{margin-top:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}"]}),RD),tM=((ID=function(){function e(){S(this,e),this.showSidebarButton=!0}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||ID)},ID.\u0275cmp=pt({type:ID,selectors:[["pdf-toggle-sidebar"]],inputs:{showSidebarButton:"showSidebarButton"},decls:5,vars:2,consts:[["type","button","id","sidebarToggle","title","Toggle Sidebar","data-l10n-id","toggle_sidebar",1,"toolbarButton"],["viewBox","0 0 24 24",2,"width","24px","height","24px"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["data-l10n-id","toggle_sidebar_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Toggle Sidebar"),us(),us()),2&e&&Bs("invisible",!t.showSidebarButton)},styles:[eD]}),ID),nM=((TD=C(function e(){S(this,e),this.mobileFriendlyZoomScale=1,this.primaryMenuVisible=!0,this.showBookmarkButton=!0,this.showDownloadButton=!0,this.showFindButton=void 0,this.showHandToolButton=!0,this.showOpenFileButton=!0,this.showPrintButton=!0,this.showPagingButtons=!0,this.showPresentationModeButton=!1,this.showRotateButton=!0,this.showSecondaryToolbarButton=!0,this.showSidebarButton=!0,this.showZoomButtons=!0,this.textLayer=void 0,this.toolbarPaddingTop="0px",this.toolbarWidth="100%",this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]})).\u0275fac=function(e){return new(e||TD)},TD.\u0275cmp=pt({type:TD,selectors:[["pdf-toolbar"]],inputs:{mobileFriendlyZoomScale:"mobileFriendlyZoomScale",primaryMenuVisible:"primaryMenuVisible",showBookmarkButton:"showBookmarkButton",showDownloadButton:"showDownloadButton",showFindButton:"showFindButton",showHandToolButton:"showHandToolButton",showOpenFileButton:"showOpenFileButton",showPrintButton:"showPrintButton",showPagingButtons:"showPagingButtons",showPresentationModeButton:"showPresentationModeButton",showRotateButton:"showRotateButton",showSecondaryToolbarButton:"showSecondaryToolbarButton",showSidebarButton:"showSidebarButton",showZoomButtons:"showZoomButtons",textLayer:"textLayer",toolbarPaddingTop:"toolbarPaddingTop",toolbarWidth:"toolbarWidth",zoomLevels:"zoomLevels",customToolbar:"customToolbar"},ngContentSelectors:BP,decls:8,vars:11,consts:[[1,"toolbar"],["id","toolbarContainer"],[4,"ngTemplateOutlet"],["id","loadingBar"],[1,"progress"],[1,"glimmer"],["defaultToolbar",""],["id","toolbarViewer"],["id","toolbarViewerLeft"],[3,"showSidebarButton"],[3,"showFindButton","textLayer"],[3,"showPagingButtons"],[3,"showZoomButtons","zoomLevels"],["id","toolbarViewerRight"],[3,"showHandToolButton"],[3,"showSelectToolButton"],[3,"showRotateButton"],[3,"showPresentationModeButton"],[3,"showOpenFileButton"],[3,"showPrintButton"],[3,"showDownloadButton"],[3,"showBookmarkButton"],[3,"showSecondaryToolbarButton"]],template:function(e,t){if(1&e&&(Cs(),ls(0,"div",0),ls(1,"div",1),is(2,tD,1,0,"ng-content",2),ls(3,"div",3),ls(4,"div",4),cs(5,"div",5),us(),us(),us(),us(),is(6,nD,16,15,"ng-template",null,6,nc)),2&e){var n=rs(7);Bs("invisible",!t.primaryMenuVisible),Ao(1),Fs("transform","scale("+t.mobileFriendlyZoomScale+")")("transform-origin","left center")("width",t.toolbarWidth)("padding-top",t.toolbarPaddingTop),Ao(1),as("ngTemplateOutlet",t.customToolbar?t.customToolbar:n)}},directives:function(){return[Mh,tM,MO,ZO,aM,_O,sM,JO,QO,qO,KO,CO,xO,eM]},styles:[""]}),TD),iM=((MD=function(){function e(){S(this,e),this._zoomLevels=[]}return C(e,[{key:"zoomLevels",set:function(e){var t=this;this._zoomLevels=e.map(function(e){return t.valueToZoomLevel(e)})}},{key:"ngOnInit",value:function(){}},{key:"valueToZoomLevel",value:function(e){e.toString().endsWith("%")&&(e=e.toString().replace("%",""),e=Number(e)/100);var t=Number(e);if(!t){var n=String(e);return{id:this.snakeToCamel(e+"Option"),value:n,dataL10nId:"page_scale_"+n.replace("page-",""),dataL10nArgs:void 0,displayValue:n}}var i=Math.round(100*t);return{id:"scale_"+i,value:String(t),dataL10nId:"page_scale_percent",dataL10nArgs:'{ "scale": '.concat(i," }"),displayValue:String(i)+"%"}}},{key:"snakeToCamel",value:function(e){return e.replace(/([-_][a-z])/g,function(e){return e.toUpperCase().replace("-","").replace("_","")})}}]),e}()).\u0275fac=function(e){return new(e||MD)},MD.\u0275cmp=pt({type:MD,selectors:[["pdf-zoom-dropdown"]],viewQuery:function(e,t){var n;1&e&&Xu(iD,1),2&e&&Qu(n=Ju())&&(t.sizeSelector=n.first)},inputs:{zoomLevels:"zoomLevels"},decls:5,vars:1,consts:[["id","scaleSelectContainer",1,"dropdownToolbarButton"],["id","scaleSelect","title","Zoom","data-l10n-id","zoom"],["sizeSelector",""],[3,"id",4,"ngFor","ngForOf"],["id","customScaleOption","title","","value","custom","disabled","disabled","hidden","true"],[3,"id"]],template:function(e,t){1&e&&(ls(0,"span",0),ls(1,"select",1,2),is(3,rD,2,5,"option",3),cs(4,"option",4),us(),us()),2&e&&(Ao(3),as("ngForOf",t._zoomLevels))},directives:[vh,uy,xy],styles:[".dropdownToolbarButton[_ngcontent-%COMP%]{display:table-cell;-webkit-appearance:none;width:150px;max-width:150px}.dropdownToolbarButton[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{width:170px}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){.dropdownToolbarButton[_ngcontent-%COMP%]::after{top:-1px}}"]}),MD),rM=((OD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||OD)},OD.\u0275cmp=pt({type:OD,selectors:[["pdf-zoom-in"]],decls:4,vars:0,consts:[["type","button","id","zoomIn","title","Zoom In","data-l10n-id","zoom_in",1,"toolbarButton","zoomIn"],["data-l10n-id","zoom_in_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Xs(1," + "),ls(2,"span",1),Xs(3,"Zoom In"),us(),us())},styles:[""]}),OD),oM=((DD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||DD)},DD.\u0275cmp=pt({type:DD,selectors:[["pdf-zoom-out"]],decls:4,vars:0,consts:[["type","button","id","zoomOut","title","Zoom Out","data-l10n-id","zoom_out",1,"toolbarButton","zoomOut",2,"margin-top","2px"],["data-l10n-id","zoom_out_label"]],template:function(e,t){1&e&&(ls(0,"button",0),Xs(1," - "),ls(2,"span",1),Xs(3,"Zoom Out"),us(),us())},styles:[""]}),DD),aM=((PD=C(function e(){S(this,e),this.showZoomButtons=!0,this.zoomLevels=["auto","page-actual","page-fit","page-width",.5,.75,1,1.25,1.5,2,3,4]})).\u0275fac=function(e){return new(e||PD)},PD.\u0275cmp=pt({type:PD,selectors:[["pdf-zoom-toolbar"]],inputs:{showZoomButtons:"showZoomButtons",zoomLevels:"zoomLevels"},decls:4,vars:3,consts:[["id","toolbarViewerMiddle"],[2,"width","unset","max-width","unset","padding-top","3px",3,"zoomLevels"]],template:function(e,t){1&e&&(ls(0,"div",0),cs(1,"pdf-zoom-out"),cs(2,"pdf-zoom-in"),cs(3,"pdf-zoom-dropdown",1),us()),2&e&&(Bs("invisible",!t.showZoomButtons),Ao(3),as("zoomLevels",t.zoomLevels))},directives:[oM,rM,iM],styles:[""]}),PD),sM=((ED=function(){function e(t){var n=this;S(this,e),this.notificationService=t,this.showSelectToolButton=!0,this.isSelected=!0;var i=this.notificationService.onPDFJSInit.subscribe(function(){n.onPdfJsInit(),i.unsubscribe()})}return C(e,[{key:"onPdfJsInit",value:function(){var e=this;window.PDFViewerApplication.eventBus.on("cursortoolchanged",function(t){var n=t.tool;return e.isSelected=n===_D.SELECT})}},{key:"onClick",value:function(){window.PDFViewerApplication.eventBus.dispatch("switchcursortool",{tool:_D.SELECT})}}]),e}()).\u0275fac=function(e){return new(e||ED)(os(bD))},ED.\u0275cmp=pt({type:ED,selectors:[["pdf-select-tool"]],inputs:{showSelectToolButton:"showSelectToolButton"},decls:5,vars:4,consts:[["type","button","id","primaryCursorSelectTool","title","Enable text selection tool","data-l10n-id","cursor_text_select_tool",1,"toolbarButton","hiddenXXLView",3,"click"],["viewBox","0 0 24 24",2,"width","22px","height","22px"],["fill","currentColor","d","M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.89 22 4M2 20V17H4V20H7V22H4C2.9 22 2 21.11 2 20M10 2H14V4H10V2M10 20H14V22H10V20M2 10H4V14H2V10M18.5 13C20.4 13 22 14.6 22 16.5C22 19.1 18.5 23 18.5 23C18.5 23 15 19.1 15 16.5C15 14.6 16.6 13 18.5 13M18.5 17.8C19.2 17.8 19.8 17.2 19.7 16.6C19.7 16 19.1 15.4 18.5 15.4C17.9 15.4 17.3 15.9 17.3 16.6C17.3 17.2 17.8 17.8 18.5 17.8M20 10H22V12.34C21.42 11.84 20.74 11.45 20 11.23V10Z"],["data-l10n-id","cursor_text_select_tool_label"]],template:function(e,t){1&e&&(ls(0,"button",0),ys("click",function(){return t.onClick()}),Mn(),ls(1,"svg",1),cs(2,"path",2),us(),Tn(),ls(3,"span",3),Xs(4,"Text selection tool"),us(),us()),2&e&&Bs("invisible",!t.showSelectToolButton)("toggled",t.isSelected)},styles:["[_nghost-%COMP%]{margin-top:0;margin-right:-3px}[_nghost-%COMP%]:focus{outline:0}button[_ngcontent-%COMP%]:focus, svg[_ngcontent-%COMP%]:focus{outline:0}.toggled[_ngcontent-%COMP%]{background-color:#646464;border-color:rgba(0,0,0,.4) rgba(0,0,0,.45) rgba(0,0,0,.5);box-shadow:0 1px 1px rgba(0,0,0,.1) inset,0 0 1px rgba(0,0,0,.2) inset,0 1px 0 rgba(255,255,255,.05)}"]}),ED),lM=((SD=function(){function e(t,n){S(this,e),this.renderer=t,this.document=n,this.zoom=1,this.width=100,this.xs=490,this.sm=560,this.md=610,this.lg=660,this.xl=740,this.xxl=830}return C(e,[{key:"style",get:function(){return"\n@media all and (max-width: ".concat(this.xl,"px) {\n #toolbarViewerMiddle {\n display: table;\n margin: auto;\n left: auto;\n position: inherit;\n transform: none;\n }\n}\n\n@media all and (max-width: 840px) {\n #sidebarContent {\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {\n left: 0px !important;\n }\n html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {\n right: 0px !important;\n }\n\n #outerContainer .hiddenLargeView,\n #outerContainer .hiddenMediumView {\n display: inherit;\n }\n #outerContainer .visibleLargeView,\n #outerContainer .visibleMediumView {\n display: none;\n }\n}\n\n@media all and (max-width: ").concat(this.lg,"px) {\n .toolbarButtonSpacer {\n width: 15px;\n }\n\n #outerContainer .hiddenLargeView {\n display: none;\n }\n #outerContainer .visibleLargeView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.md,"px) {\n .toolbarButtonSpacer {\n display: none;\n }\n #outerContainer .hiddenMediumView {\n display: none;\n }\n #outerContainer .visibleMediumView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.sm,"px) {\n .hiddenSmallView,\n .hiddenSmallView * {\n display: none;\n }\n .visibleSmallView {\n display: inherit;\n }\n .toolbarButtonSpacer {\n width: 0;\n }\n html[dir='ltr'] .findbar {\n left: 38px;\n }\n html[dir='rtl'] .findbar {\n right: 38px;\n }\n}\n\n@media all and (max-width: ").concat(this.xs,"px) {\n #scaleSelectContainer {\n display: none;\n }\n}\n\n.visibleXLView,\n.visibleXXLView,\n.visibleTinyView {\n display: none;\n}\n\n.hiddenXLView,\n.hiddenXXLView {\n display: unset;\n}\n\n@media all and (max-width: ").concat(this.xl,"px) {\n #outerContainer .hiddenXLView {\n display: none;\n }\n #outerContainer .visibleXLView {\n display: inherit;\n }\n\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-36%);\n transform: translateX(-36%);\n display: unset;\n margin: unset;\n left: 50%;\n position: absolute;\n }\n}\n\n@media all and (max-width: ").concat(this.xxl,"px) {\n #outerContainer .hiddenXXLView {\n display: none;\n }\n #outerContainer .visibleXXLView {\n display: inherit;\n }\n}\n\n@media all and (max-width: ").concat(this.md,"px) {\n #toolbarViewerMiddle {\n -webkit-transform: translateX(-26%);\n transform: translateX(-26%);\n }\n}\n\n@media all and (max-width: ").concat(this.xs,"px) {\n .hiddenTinyView,\n .hiddenTinyView * {\n display: none;\n }\n .visibleTinyView {\n display: inherit;\n }\n}\n ")}},{key:"ngOnInit",value:function(){this.injectStyle()}},{key:"ngOnChanges",value:function(){var e=this.document.body.clientWidth/this.width*(this.zoom?this.zoom:1);this.xs=490*e,this.sm=560*e,this.md=610*e,this.lg=660*e,this.xl=740*e,this.xxl=830*e;var t=this.document.getElementById("pdf-dynamic-css");t&&(t.innerHTML=this.style)}},{key:"injectStyle",value:function(){var e=this.document.createElement("STYLE");e.id="pdf-dynamic-css",e.innerHTML=this.style,this.renderer.appendChild(this.document.head,e)}},{key:"ngOnDestroy",value:function(){var e=this.document.getElementById("pdf-dynamic-css");e&&e.parentElement&&e.parentElement.removeChild(e)}}]),e}()).\u0275fac=function(e){return new(e||SD)(os(Dl),os(ad))},SD.\u0275cmp=pt({type:SD,selectors:[["pdf-dynamic-css"]],inputs:{zoom:"zoom",width:"width"},features:[Tt],decls:0,vars:0,template:function(e,t){},styles:[""]}),SD),uM=((CD=function(){function e(){var t=this;S(this,e),this.thumbnailDrawn=new Bu,this.top="32px",this._hideSidebarToolbar=!1,window.pdfThumbnailGeneratorReady=function(){return t.pdfThumbnailGeneratorReady()},window.pdfThumbnailGenerator=function(e,n,i,r,o){return t.createThumbnail(e,n,i,r,o)}}return C(e,[{key:"ngOnDestroy",value:function(){this.linkService=void 0}},{key:"pdfThumbnailGeneratorReady",value:function(){if(!this.thumbnailViewTemplate)return!1;var e=this.thumbnailViewTemplate.nativeElement;return!!e&&!!e.innerHTML&&e.innerHTML.length>0}},{key:"createThumbnail",value:function(e,t,n,i,r){this.linkService=t;var o=this.thumbnailViewTemplate.nativeElement.innerHTML.split(/_ng\w+-\w+-\w+=""/g).join("").split(/ng-\w+-\w+/g).join("").split(/<!--[\s\S]*?-->/g).join(""),a=e.canvasWidth+2+"px",s=e.canvasHeight+2+"px",l=o.split("WIDTH_OF_RING").join(a).split("HEIGHT_OF_RING").join(s).split("PAGE_NUMBER").join(n),u=this.createElementFromHTML(l);u.classList.remove("pdf-viewer-template");var c=u;c.href=t.getAnchorUrl("#page="+n),r.then(function(e){c.title=e}),c.onclick=function(){return t.page=n,!1},e.anchor=c;var d=u.getElementsByClassName("image-container")[0];e.ring=d,e.div=u.getElementsByClassName("thumbnail")[0],i.appendChild(u),this.thumbnailDrawn.emit({thumbnail:u,container:i,pageId:n})}},{key:"createElementFromHTML",value:function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}},{key:"onKeyDown",value:function(e){"ArrowDown"===e.code?this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=this.linkService.pagesCount:this.linkService.page<this.linkService.pagesCount&&(this.linkService.page=this.linkService.page+1),e.preventDefault()):"ArrowUp"===e.code&&this.linkService&&(e.ctrlKey||e.metaKey?this.linkService.page=1:this.linkService.page>1&&(this.linkService.page=this.linkService.page-1),e.preventDefault())}},{key:"hideSidebarToolbar",set:function(e){this._hideSidebarToolbar=e,this.top=this._hideSidebarToolbar?"0":"32px"}}]),e}()).\u0275fac=function(e){return new(e||CD)},CD.\u0275cmp=pt({type:CD,selectors:[["pdf-sidebar-content"]],viewQuery:function(e,t){var n;1&e&&Xu(oD,1),2&e&&Qu(n=Ju())&&(t.thumbnailViewTemplate=n.first)},inputs:{hideSidebarToolbar:"hideSidebarToolbar",customThumbnail:"customThumbnail"},outputs:{thumbnailDrawn:"thumbnailDrawn"},ngContentSelectors:BP,decls:10,vars:3,consts:[["id","sidebarContent"],["thumbnailViewTemplate",""],[4,"ngTemplateOutlet"],["id","thumbnailView",3,"keydown"],["id","outlineView",1,"hidden"],["id","attachmentsView",1,"hidden"],["id","layersView",1,"hidden"],["defaultThumbnail",""],[1,"pdf-viewer-template"],["data-page-number","$page",1,"thumbnail"],[1,"thumbnailSelectionRing","image-container",2,"width","WIDTH_OF_RING","height","HEIGHT_OF_RING"]],template:function(e,t){if(1&e&&(Cs(),ls(0,"div",0),ls(1,"div",null,1),is(3,aD,1,0,"ng-content",2),us(),ls(4,"div",3),ys("keydown",function(e){return t.onKeyDown(e)}),us(),cs(5,"div",4),cs(6,"div",5),cs(7,"div",6),us(),is(8,sD,3,0,"ng-template",null,7,nc)),2&e){var n=rs(9);Fs("top",t.top),Ao(3),as("ngTemplateOutlet",t.customThumbnail?t.customThumbnail:n)}},directives:[Mh],styles:[""]}),CD),cM=((AD=function(){function e(){S(this,e)}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||AD)},AD.\u0275cmp=pt({type:AD,selectors:[["pdf-sidebar-toolbar"]],decls:21,vars:0,consts:[["id","toolbarSidebar"],["type","button","id","viewThumbnail","title","Show Thumbnails","data-l10n-id","thumbs",1,"toolbarButton","toggled"],["data-l10n-id","thumbs_label"],["viewBox","0 0 24 24",2,"width","20px","height","20px"],["fill","currentColor","d","M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z"],["type","button","id","viewOutline","title","Show Document Outline (double-click to expand/collapse all items)","data-l10n-id","document_outline","hidden","true",1,"toolbarButton"],["data-l10n-id","document_outline_label"],["fill","currentColor","d","M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z"],["type","button","id","viewAttachments","title","Show Attachments","data-l10n-id","attachments","hidden","true",1,"toolbarButton"],["data-l10n-id","attachments_label"],["fill","currentColor","d","M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"],["id","viewLayers","title","Show Layers (double-click to reset all layers to the default state)","data-l10n-id","layers","hidden","true",1,"toolbarButton"],["data-l10n-id","layers_label"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 4.233 4.233",2,"width","20px","height","20px"],["d","M.15 2.992c-.198.1-.2.266-.002.365l1.604.802a.93.93 0 00.729-.001l1.602-.801c.198-.1.197-.264 0-.364l-.695-.348c-1.306.595-2.542 0-2.542 0m-.264.53l.658-.329c.6.252 1.238.244 1.754 0l.659.329-1.536.768zM.15 1.935c-.198.1-.198.265 0 .364l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363l-.694-.35c-1.14.56-2.546.001-2.546.001m-.264.53l.664-.332c.52.266 1.261.235 1.75.002l.659.33-1.537.768zM.15.877c-.198.099-.198.264 0 .363l1.604.802a.926.926 0 00.727 0l1.603-.802c.198-.099.198-.264 0-.363L2.481.075a.926.926 0 00-.727 0zm.43.182L2.117.29l1.538.769-1.538.768z"]],template:function(e,t){1&e&&(ls(0,"div",0),ls(1,"button",1),ls(2,"span",2),Xs(3,"Thumbnails"),us(),Mn(),ls(4,"svg",3),cs(5,"path",4),us(),us(),Tn(),ls(6,"button",5),ls(7,"span",6),Xs(8,"Document Outline"),us(),Mn(),ls(9,"svg",3),cs(10,"path",7),us(),us(),Tn(),ls(11,"button",8),ls(12,"span",9),Xs(13,"Attachments"),us(),Mn(),ls(14,"svg",3),cs(15,"path",10),us(),us(),Tn(),ls(16,"button",11),ls(17,"span",12),Xs(18,"Layers"),us(),Mn(),ls(19,"svg",13),cs(20,"path",14),us(),us(),us())},styles:["button[_ngcontent-%COMP%]{margin-right:4px!important}div#toolbarSidebar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-child{margin-left:4px!important}"]}),AD),dM=((kD=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||kD)},kD.\u0275cmp=pt({type:kD,selectors:[["pdf-light-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(90, 90, 90)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#5a5a5a;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#5a5a5a;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:#fff!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#f9f9f9}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#f9f9f9;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:#e3e1e6}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid #ddd}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:var(#e3e1e6);color:#5a5a5a;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#f9f9f9}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#f9f9f9;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#5a5a5a;color:#f9f9f9;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#5a5a5a;margin:0;padding:3px 2px 2px;border:none;background-color:#fff}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#f9f9f9}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:#fff;background-clip:padding-box;color:#5a5a5a;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#5a5a5a;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#5a5a5a;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#f9f9f9;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#5a5a5a;font-size:12px;line-height:14px;background-color:#f9f9f9;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#f9f9f9;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),kD),hM=((xD=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||xD)},xD.\u0275cmp=pt({type:xD,selectors:[["pdf-dark-theme"]],decls:0,vars:0,template:function(e,t){},styles:["ngx-extended-pdf-viewer .dropdownToolbarButton::after{content:url(\"data:image/svg+xml; utf8, <svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(217, 217, 217)' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>\")}ngx-extended-pdf-viewer .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}ngx-extended-pdf-viewer .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}ngx-extended-pdf-viewer .textLayer .highlight{margin:-1px;padding:1px;background-color:var(#b400aa);border-radius:4px}ngx-extended-pdf-viewer .textLayer .highlight.begin{border-radius:4px 0 0 4px}ngx-extended-pdf-viewer .textLayer .highlight.end{border-radius:0 4px 4px 0}ngx-extended-pdf-viewer .textLayer .highlight.middle{border-radius:0}ngx-extended-pdf-viewer .textLayer .highlight.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer ::-moz-selection{background:#00f}ngx-extended-pdf-viewer .textLayer ::selection{background:#00f}ngx-extended-pdf-viewer .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .textLayer .endOfContent.active{top:0}ngx-extended-pdf-viewer .annotationLayer section{position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.pushButton>a,ngx-extended-pdf-viewer .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}ngx-extended-pdf-viewer .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input,ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input,ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);color:#474747;border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select option{padding:0}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],ngx-extended-pdf-viewer .annotationLayer .choiceWidgetAnnotation select[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input[disabled],ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#474747;content:'';display:block;position:absolute}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}ngx-extended-pdf-viewer .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.checkBox input,ngx-extended-pdf-viewer .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}ngx-extended-pdf-viewer .annotationLayer .popupWrapper{position:absolute;width:20em}ngx-extended-pdf-viewer .annotationLayer .popup{position:absolute;z-index:4;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;word-wrap:break-word}ngx-extended-pdf-viewer .annotationLayer .popup>*{font-size:9px}ngx-extended-pdf-viewer .annotationLayer .popup h1{display:inline-block}ngx-extended-pdf-viewer .annotationLayer .popup span{display:inline-block;margin-left:5px}ngx-extended-pdf-viewer .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}ngx-extended-pdf-viewer .annotationLayer .caretAnnotation,ngx-extended-pdf-viewer .annotationLayer .circleAnnotation svg ellipse,ngx-extended-pdf-viewer .annotationLayer .fileAttachmentAnnotation,ngx-extended-pdf-viewer .annotationLayer .freeTextAnnotation,ngx-extended-pdf-viewer .annotationLayer .highlightAnnotation,ngx-extended-pdf-viewer .annotationLayer .inkAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .lineAnnotation svg line,ngx-extended-pdf-viewer .annotationLayer .polygonAnnotation svg polygon,ngx-extended-pdf-viewer .annotationLayer .polylineAnnotation svg polyline,ngx-extended-pdf-viewer .annotationLayer .squareAnnotation svg rect,ngx-extended-pdf-viewer .annotationLayer .squigglyAnnotation,ngx-extended-pdf-viewer .annotationLayer .stampAnnotation,ngx-extended-pdf-viewer .annotationLayer .strikeoutAnnotation,ngx-extended-pdf-viewer .annotationLayer .underlineAnnotation{cursor:pointer}ngx-extended-pdf-viewer .pdfViewer .canvasWrapper{overflow:hidden}ngx-extended-pdf-viewer .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}ngx-extended-pdf-viewer .pdfViewer.singlePageView{display:inline-block}ngx-extended-pdf-viewer .pdfViewer.singlePageView .page{margin:0;border:none}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped,ngx-extended-pdf-viewer .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal,ngx-extended-pdf-viewer .spread{white-space:nowrap}ngx-extended-pdf-viewer .pdfViewer.removePageBorders,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .spread,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .spread,ngx-extended-pdf-viewer .spread .page{display:inline-block;vertical-align:middle}ngx-extended-pdf-viewer .pdfViewer.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.scrollWrapped .page,ngx-extended-pdf-viewer .spread .page{margin-left:-3.5px;margin-right:-3.5px}ngx-extended-pdf-viewer .pdfViewer.removePageBorders .spread .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollHorizontal .page,ngx-extended-pdf-viewer .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}ngx-extended-pdf-viewer .pdfViewer .page canvas{margin:0;display:block}ngx-extended-pdf-viewer .pdfViewer .page canvas[hidden]{display:none}ngx-extended-pdf-viewer .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .spread{display:block}ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer .page,ngx-extended-pdf-viewer .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}ngx-extended-pdf-viewer .html *{padding:0;margin:0}ngx-extended-pdf-viewer .html{height:100%;width:100%;font-size:10px}ngx-extended-pdf-viewer .body{height:100%;width:100%}ngx-extended-pdf-viewer .body,ngx-extended-pdf-viewer .pdf-viewer button,ngx-extended-pdf-viewer .pdf-viewer input,ngx-extended-pdf-viewer .pdf-viewer select{font:message-box;outline:0}ngx-extended-pdf-viewer select{background-color:rgba(255,255,255,.09)!important}ngx-extended-pdf-viewer .hidden,ngx-extended-pdf-viewer [hidden]{display:none!important}ngx-extended-pdf-viewer .pdfViewer.enablePermissions .textLayer>span{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;cursor:not-allowed}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{top:0!important;overflow:hidden!important}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop{background-color:#000}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-webkit-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-moz-full-screen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-moz-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:-ms-fullscreen{border-top:2px solid transparent;background-color:#000;width:100%;height:100%;cursor:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #viewerContainer.pdfPresentationMode:fullscreen{top:0;border-top:2px solid transparent;background-color:#000;width:100%;height:100%;overflow:hidden;cursor:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen a:not(.internalLink){display:none}ngx-extended-pdf-viewer .pdfPresentationMode:-webkit-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-moz-full-screen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:-ms-fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode:fullscreen .textLayer>span{cursor:none}ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls .textLayer>span,ngx-extended-pdf-viewer .pdfPresentationMode.pdfPresentationModeControls>*{cursor:default}ngx-extended-pdf-viewer #outerContainer{width:100%;height:100%;position:relative;-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}ngx-extended-pdf-viewer #sidebarContainer{position:absolute;top:32px;bottom:0;width:200px;visibility:hidden;z-index:2;border-top:1px solid #333;transition-duration:.2s;transition-timing-function:ease}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContainer{transition-property:left;left:-200px;left:calc(0px - $sidebar-width)}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContainer{transition-property:right;right:-200px;right:calc(0px - $sidebar-width)}ngx-extended-pdf-viewer .loadingInProgress #sidebarContainer{top:36px}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #sidebarContainer{transition-duration:0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outerContainer.sidebarMoving #sidebarContainer,ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{visibility:visible}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{left:0}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #sidebarContainer{right:0}ngx-extended-pdf-viewer #mainContainer{position:absolute;top:0;right:0;bottom:0;left:0;min-width:320px}ngx-extended-pdf-viewer #sidebarContent{top:32px;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;position:absolute;width:100%;background-color:rgba(0,0,0,.1)}html[dir=ltr] ngx-extended-pdf-viewer #sidebarContent{left:0}html[dir=rtl] ngx-extended-pdf-viewer #sidebarContent{right:0}ngx-extended-pdf-viewer #viewerContainer{-webkit-overflow-scrolling:touch;top:32px;right:0;bottom:0;left:0;outline:0}ngx-extended-pdf-viewer #viewerContainer:not(.pdfPresentationMode){transition-duration:.2s;transition-timing-function:ease}ngx-extended-pdf-viewer #outerContainer.sidebarResizing #viewerContainer{transition-duration:0s}html[dir=ltr] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:left;left:200px}html[dir=rtl] ngx-extended-pdf-viewer #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){transition-property:right;right:200px}ngx-extended-pdf-viewer .toolbar{position:relative;left:0;right:0;z-index:7;cursor:default;border:1px solid rgba(0,0,0,.5)}ngx-extended-pdf-viewer #toolbarContainer{width:100%}ngx-extended-pdf-viewer #toolbarSidebar{width:100%;height:32px;background-color:#424242;color:#d9d9d9;border:none;padding-top:1px}ngx-extended-pdf-viewer #sidebarResizer{position:absolute;top:0;bottom:0;width:6px;z-index:4;cursor:ew-resize}html[dir=ltr] ngx-extended-pdf-viewer #sidebarResizer{right:-6px}html[dir=rtl] ngx-extended-pdf-viewer #sidebarResizer{left:-6px}ngx-extended-pdf-viewer #toolbarContainer,ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{position:relative;height:32px;background-color:#474747}ngx-extended-pdf-viewer #toolbarViewer{height:32px}ngx-extended-pdf-viewer #loadingBar{position:relative;width:100%;height:4px;background-color:#333;border-bottom:1px solid #333}ngx-extended-pdf-viewer #loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:#ddd;overflow:hidden;transition:width .2s}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate{background-color:#999;transition:none}ngx-extended-pdf-viewer #loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg,#bbb 0,#999 5px,#999 45px,#ddd 55px,#ddd 95px,#bbb 100px);-webkit-animation:950ms linear infinite progressIndeterminate;animation:950ms linear infinite progressIndeterminate}ngx-extended-pdf-viewer .findbar,ngx-extended-pdf-viewer .secondaryToolbar{top:40px;position:absolute;z-index:7;height:auto;min-width:16px;padding:0 6px;margin:4px 2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;cursor:default}ngx-extended-pdf-viewer .findbar{min-width:300px}ngx-extended-pdf-viewer .findbar>div{height:32px}ngx-extended-pdf-viewer .findbar.wrapContainers>div{clear:both}ngx-extended-pdf-viewer .findbar.wrapContainers>div#findbarMessageContainer{height:auto}html[dir=ltr] ngx-extended-pdf-viewer .findbar{left:34px}html[dir=rtl] ngx-extended-pdf-viewer .findbar{right:34px}ngx-extended-pdf-viewer .findbar label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #findInput{width:200px}ngx-extended-pdf-viewer #findInput::-webkit-input-placeholder{color:#bfbfbf}ngx-extended-pdf-viewer #findInput::-moz-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput:-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::-ms-input-placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput::placeholder{font-style:italic}ngx-extended-pdf-viewer #findInput[data-status=pending]{background-repeat:no-repeat;background-position:right}html[dir=rtl] ngx-extended-pdf-viewer #findInput[data-status=pending]{background-position:left}ngx-extended-pdf-viewer .secondaryToolbar{padding:6px;height:auto;z-index:8}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbar{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbar{left:4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer{max-width:200px;max-height:400px;overflow-y:auto;-webkit-overflow-scrolling:touch;margin-bottom:-4px}ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenScrollModeButtons>.scrollModeButtons,ngx-extended-pdf-viewer #secondaryToolbarButtonContainer.hiddenSpreadModeButtons>.spreadModeButtons{display:none!important}ngx-extended-pdf-viewer .doorHanger,ngx-extended-pdf-viewer .doorHangerRight{border:1px solid rgba(0,0,0,.5);border-radius:2px}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:after,ngx-extended-pdf-viewer .doorHangerRight:before{bottom:100%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}ngx-extended-pdf-viewer .doorHanger:after,ngx-extended-pdf-viewer .doorHangerRight:after{border-bottom-color:#474747;border-width:8px}ngx-extended-pdf-viewer .doorHanger:before,ngx-extended-pdf-viewer .doorHangerRight:before{border-bottom-color:rgba(0,0,0,.5);border-width:9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:after{left:13px;margin-left:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHanger:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHangerRight:before{left:13px;margin-left:-9px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:after,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:after{right:13px;margin-right:-8px}html[dir=ltr] ngx-extended-pdf-viewer .doorHangerRight:before,html[dir=rtl] ngx-extended-pdf-viewer .doorHanger:before{right:13px;margin-right:-9px}ngx-extended-pdf-viewer #findResultsCount{background-color:#d9d9d9;color:#474747;text-align:center;padding:3px 4px}ngx-extended-pdf-viewer #findMsg{font-style:italic;color:#f66}ngx-extended-pdf-viewer #findMsg:empty{display:none}ngx-extended-pdf-viewer #findInput.notFound{background-color:#f66}ngx-extended-pdf-viewer #toolbarViewerMiddle{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight{float:left;margin-left:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft{float:right;margin-right:4px}html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=ltr] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=ltr] ngx-extended-pdf-viewer .findbar *{position:relative;float:left}html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerLeft>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerMiddle>*,html[dir=rtl] ngx-extended-pdf-viewer #toolbarViewerRight>*,html[dir=rtl] ngx-extended-pdf-viewer .findbar *{position:relative;float:right}ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{border:0;background:0 0;width:32px;height:25px}ngx-extended-pdf-viewer .toolbarButton>span{display:inline-block;width:0;height:0;overflow:hidden}ngx-extended-pdf-viewer .overlayButton[disabled],ngx-extended-pdf-viewer .secondaryToolbarButton[disabled],ngx-extended-pdf-viewer .toolbarButton[disabled]{opacity:.5}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{min-width:16px;padding:2px 6px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=rtl] ngx-extended-pdf-viewer .overlayButton,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px 2px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton{background-color:rgba(0,0,0,.2);background-clip:padding-box;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .secondaryToolbarButton.toggled,ngx-extended-pdf-viewer .toolbarButton.toggled{background-color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.4)}ngx-extended-pdf-viewer .dropdownToolbarButton{width:140px;padding:0;overflow:hidden}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton::after{right:8px}html[dir=rtl] ngx-extended-pdf-viewer .dropdownToolbarButton::after{left:8px}ngx-extended-pdf-viewer .dropdownToolbarButton>select{width:162px;height:23px;font-size:12px;color:#d9d9d9;margin:0;padding:3px 2px 2px;border:none;background-color:rgba(255,255,255,.09)}ngx-extended-pdf-viewer .dropdownToolbarButton>select>option{background:#474747}ngx-extended-pdf-viewer #customScaleOption{display:none}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:first-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:last-child{margin-left:4px}ngx-extended-pdf-viewer .toolbarButtonSpacer{width:30px;display:inline-block;height:1px}html[dir=ltr] ngx-extended-pdf-viewer #findPrevious,html[dir=rtl] ngx-extended-pdf-viewer #findNext{margin-left:3px}html[dir=ltr] ngx-extended-pdf-viewer #findNext,html[dir=rtl] ngx-extended-pdf-viewer #findPrevious{margin-right:3px}ngx-extended-pdf-viewer .secondaryToolbarButton::before,ngx-extended-pdf-viewer .toolbarButton::before{position:absolute;display:inline-block;top:4px;left:7px}ngx-extended-pdf-viewer .toolbarButton.zoomOut{font-size:30px}ngx-extended-pdf-viewer .toolbarButton.zoomIn{font-size:24px}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark,ngx-extended-pdf-viewer .toolbarButton.bookmark{box-sizing:border-box;outline:0;padding-top:4px;text-decoration:none}ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-top:5px}ngx-extended-pdf-viewer .bookmark[href='#']{opacity:.5;pointer-events:none}ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{position:absolute;display:inline-block;top:1px;content:'';background-color:#70db55;height:9px;width:9px;border-radius:50%}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{left:17px}html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton.pdfSidebarNotification::after{right:17px}ngx-extended-pdf-viewer .secondaryToolbarButton{position:relative;margin:0 0 4px;padding:3px 0 1px;height:auto;min-height:25px;width:auto;min-width:100%;white-space:normal}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-left:24px;text-align:left}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton{padding-right:24px;text-align:right}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-left:27px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton.bookmark{padding-right:27px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-right:4px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton>span{padding-left:4px}ngx-extended-pdf-viewer .toolbarField{padding:3px 6px;margin:4px 0;border-radius:2px;background-color:rgba(255,255,255,.09);background-clip:padding-box;color:#d9d9d9;font-size:12px;line-height:14px;outline-style:none;border:1px solid rgba(0,0,0,.4)}ngx-extended-pdf-viewer .toolbarField[type=checkbox]{display:inline-block;margin:8px 0}ngx-extended-pdf-viewer .toolbarField.pageNumber{-moz-appearance:textfield;min-width:16px;text-align:right;width:40px}ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-repeat:no-repeat;background-position:1px}ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-inner-spin-button,ngx-extended-pdf-viewer .toolbarField.pageNumber::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}ngx-extended-pdf-viewer .toolbarLabel{min-width:16px;padding:3px 6px 3px 2px;margin:4px 2px 4px 0;border:1px solid transparent;border-radius:2px;color:#d9d9d9;font-size:12px;line-height:14px;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}ngx-extended-pdf-viewer #thumbnailView{position:absolute;width:calc(100% - 60px);top:0;bottom:0;padding:10px 30px 0;overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #thumbnailView>a:active{outline:0}ngx-extended-pdf-viewer .thumbnail{margin:0 10px 5px}html[dir=ltr] ngx-extended-pdf-viewer .thumbnail{float:left}html[dir=rtl] ngx-extended-pdf-viewer .thumbnail{float:right}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail{margin-bottom:10px}ngx-extended-pdf-viewer #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]){margin-bottom:9px}ngx-extended-pdf-viewer .thumbnail:not([data-loaded]){border:1px dashed rgba(255,0,0,.5);margin:-1px 9px 4px}ngx-extended-pdf-viewer .thumbnailImage{border:1px solid transparent;opacity:.8;z-index:1;background-color:#fff;background-clip:content-box}ngx-extended-pdf-viewer .thumbnailSelectionRing{border-radius:2px;padding:7px}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage{opacity:1}ngx-extended-pdf-viewer .thumbnail.selected>.thumbnailSelectionRing{background-color:rgba(255,255,255,.4);background-clip:padding-box;color:#fff}ngx-extended-pdf-viewer #attachmentsView,ngx-extended-pdf-viewer #layersView,ngx-extended-pdf-viewer #outlineView{position:absolute;width:calc(100% - 8px);top:0;bottom:0;overflow:auto;-webkit-overflow-scrolling:touch;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ngx-extended-pdf-viewer #outlineView{padding:4px 4px 0}ngx-extended-pdf-viewer #attachmentsView{padding:3px 4px 0}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=ltr] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-left:20px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>.treeItems,html[dir=rtl] ngx-extended-pdf-viewer .treeWithDeepNesting>.treeItem{margin-right:20px}ngx-extended-pdf-viewer .treeItem>a{text-decoration:none;display:inline-block;min-width:95%;min-width:calc(100% - 4px);height:auto;margin-bottom:1px;border-radius:2px;color:#424242;font-size:13px;line-height:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer .treeItem>a{padding:2px 0 5px 4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItem>a{padding:2px 4px 5px 0}ngx-extended-pdf-viewer #layersView .treeItem>a>*{cursor:pointer}html[dir=ltr] ngx-extended-pdf-viewer #layersView .treeItem>a>label{padding-left:4px}html[dir=rtl] ngx-extended-pdf-viewer #layersView .treesItem>a>label{padding-right:4px}ngx-extended-pdf-viewer .treeItemToggler{position:relative;height:0;width:0}ngx-extended-pdf-viewer .treeItemToggler::before{content:url(assets/images/treeitem-expanded.svg);display:inline-block;position:absolute;max-width:16px}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{content:url(assets/images/treeitem-collapsed.svg);max-width:16px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden::before{-webkit-transform:scaleX(-1);transform:scaleX(-1)}ngx-extended-pdf-viewer .treeItemToggler.treeItemsHidden~.treeItems{display:none}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler{float:left}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler{float:right}html[dir=ltr] ngx-extended-pdf-viewer .treeItemToggler::before{right:4px}html[dir=rtl] ngx-extended-pdf-viewer .treeItemToggler::before{left:4px}ngx-extended-pdf-viewer .treeItem>a:hover,ngx-extended-pdf-viewer .treeItemToggler:hover,ngx-extended-pdf-viewer .treeItemToggler:hover+a,ngx-extended-pdf-viewer .treeItemToggler:hover~.treeItems{background-clip:padding-box;border-radius:2px}ngx-extended-pdf-viewer .treeItem.selected{background-clip:padding-box}ngx-extended-pdf-viewer ::-moz-selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer ::selection{background:rgba(0,0,255,.3)}ngx-extended-pdf-viewer #errorWrapper{background:#f66;color:#fff;left:0;position:absolute;right:0;z-index:5;padding:3px;font-size:.8em}ngx-extended-pdf-viewer .loadingInProgress #errorWrapper{top:37px}ngx-extended-pdf-viewer #errorMessageLeft{float:left}ngx-extended-pdf-viewer #errorMessageRight{float:right}ngx-extended-pdf-viewer #errorMoreInfo{background-color:#fff;color:#000;padding:3px;margin:3px;width:98%}ngx-extended-pdf-viewer .overlayButton{width:auto;margin:3px 4px 2px!important;padding:2px 6px 3px}ngx-extended-pdf-viewer #overlayContainer{display:table;position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,.2);z-index:9}ngx-extended-pdf-viewer #overlayContainer>*{overflow:auto;-webkit-overflow-scrolling:touch}ngx-extended-pdf-viewer #overlayContainer>.container{display:table-cell;vertical-align:middle;text-align:center}ngx-extended-pdf-viewer #overlayContainer>.container .dialog{display:inline-block;padding:15px;border-spacing:4px;color:#d9d9d9;font-size:12px;line-height:14px;background-color:#474747;border-radius:4px}ngx-extended-pdf-viewer .dialog>.row{display:table-row}ngx-extended-pdf-viewer .dialog>.row>*{display:table-cell}ngx-extended-pdf-viewer .dialog .toolbarField{margin:5px 0}ngx-extended-pdf-viewer .dialog .buttonRow{text-align:center;vertical-align:middle}ngx-extended-pdf-viewer .dialog :link{color:#fff}ngx-extended-pdf-viewer #passwordOverlay>.dialog{text-align:center}ngx-extended-pdf-viewer #passwordOverlay .toolbarField{width:200px}ngx-extended-pdf-viewer #documentPropertiesOverlay>.dialog{text-align:left}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{min-width:100px}html[dir=ltr] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:left}html[dir=rtl] ngx-extended-pdf-viewer #documentPropertiesOverlay .row>*{text-align:right}.fileInput{background:#fff;color:#000;margin-top:5px;visibility:hidden;position:fixed;right:0;top:0}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>span{width:125px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .row>p{max-width:225px;word-wrap:break-word}ngx-extended-pdf-viewer #documentPropertiesOverlay .buttonRow{margin-top:10px}ngx-extended-pdf-viewer .clearBoth{clear:both}ngx-extended-pdf-viewer .grab-to-pan-grab{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAB/+AAA7/gAAM/8AAAP7AAAG2wAABtkAAAzYAAAM2AAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//wAD//4AA//+AAH//yAB///AAf//wAH//4AL//+AD///yB////z///////////////////////////////////////8=),move!important;cursor:-webkit-grab!important;cursor:grab!important}ngx-extended-pdf-viewer .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link){cursor:inherit!important}ngx-extended-pdf-viewer .grab-to-pan-grab:active,ngx-extended-pdf-viewer .grab-to-pan-grabbing{cursor:url(data:image/cur;base64,AAACAAEAICAAAA8ADwAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAB+AAAA/gAAAf8AAAP/AAAD/4AAAP+AAAD/gAAB/oAAAbYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////AP///wD///4A///8AH//+AB///gAP//8AD///gA///wAP//8AH///kn/////////////////////////////////////////////////////////////////8=),move!important;cursor:-webkit-grabbing!important;cursor:grabbing!important;position:fixed;background:rgba(0,0,0,0);display:block;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:10}@page{margin:0}#printContainer{display:none}@media screen and (-webkit-min-device-pixel-ratio:1.1),screen and (min-resolution:1.1dppx){ngx-extended-pdf-viewer .toolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-5px}ngx-extended-pdf-viewer .secondaryToolbarButton::before{-webkit-transform:scale(.5);transform:scale(.5);top:-4px}}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton::before,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton::before{left:-1px}html[dir=ltr] ngx-extended-pdf-viewer .secondaryToolbarButton::before{left:-2px}html[dir=rtl] ngx-extended-pdf-viewer .secondaryToolbarButton::before{right:4px;left:186px}ngx-extended-pdf-viewer #findInput[data-status=pending],ngx-extended-pdf-viewer .toolbarField.pageNumber.visiblePageIsLoading{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAACGFjVEwAAAAMAAAAAEy9LREAAAAaZmNUTAAAAAAAAAAgAAAAIgAAAAAAAAAAAGQD6AAA26DBZgAABPNJREFUeNq1l21MW1UYx2tgI+pghBHiNJCYKLiERMUvRvbB0S5ZygrI5toxKAItSwDHRBoIzk1SFT44oy4xfjEaY1PMRKNNyMInPxjfFjEiZsFNwpu1oy4LMFZ6uece/085F2/PiuBtPMkv5/ac8zzP/7yfWswmznktuAJ+A89ubWE+UDbYnaJ8AoS5xq8jv5aififYkV5wVW3SOP8BjsaANzmANqdpJEAjAVEp+CMqV73IW8C+dHr/FbgMfhIiHjTUzYI/AAn4y1C+CzSDVsbYSRWdMC0AxiE4+h78CH6Gw/cNgWY2EWDVgxO3bi3WmxYQCoV6MdTfAn0UfgFPJwnQ/hGA/D4KTugiurq6jpgWkJmZWbG0tPQp1sF3mOvEKIAQ1cE5iZnXuHZd07RrQkC1UcD4+DgNf8V25/sZMAQ+AA5wF4ofOHvm7El8fw0BicVIUPtgMNgHEVfA5PDw8DkxZS16zym32Wy15IPqVldXH0aZEzwH9snB7wFBBBlG/jn4kjP2LvLHUF0+OTl5Ad/fgMvhSPg9YXYQOAQ2MWVH9d4HAoETKNqP7wJQbRQGPGCHUcC9nLMAjQCG+yKG9DPwBQ33ysrKS1lZWY7BwcH2gYGBjoyMDLswKxAibOKbkr2ysrLWbrcfQbvD8/N/HjCuh41cTWzRnUnTPTQ0dBpD+BEaBFH5CbgoRiOE3tQaelsKNkuleru2tran9KBGYori7enpOUYxkwSASqvV6rx69ffX0fBjxjeEDIMy1OcJtkp5hLwjiEsjl9zFxcU1FEsWQKkI2IGju7u7aWFh4S1VZR+OjY35s7Oz95jYRHtoHSixmPdX7AaaFjE6dhErZboblIHDwGEgz4SAPMkH+XyCYsg74FHG+WvI3+aMvYOcuLB6+/b5/v7+JjGvZlNpXV1d7c2bS83SLiDqQSEJeAW8gcrzlAPk7E3khN+SZqJAxsCyCEt8LX4OH4MEo9zAWnzt5XQFqIrilgPrKIrSYOnr63MtLy+TiFeBnzPuR2P/4vLimV5frzNdAY2NjVXRaNQjB49EIh63210tn2gytjTjb8t/gdzI5TrhnJqa6lhbYy9C7cE05r+c7oeJiYlGsQ3l4AWywW5QDboBBX8BdIL7TQRPPohYIreCXZsZPA5Ogy5D4OdBO9j7XwXgDtkrvw0opxGJx+N33IZZFJwxEZjxU8g7YNQeCAQbcnJyEkcrsa2eA7KhkzD1DpAuI/qhKIyCgvVeY9484j53TE9PV6w74uSo/N/mXA8yMzNjJVvyQQ+TpO2nKl75xZyJU+/4yspyWzgcbu3s7HTqx6fH43mSXsQJ4/WeNItghaBeUJgokx4kZKsf66fa24/Nzc214IXlxdZPeRvapVW6H+TKzyw4qUtxwtVT2ezs7HH6rY+WqvIa8kG+JN/2zW7DQ+CA8RklLyKHw1FDdRuiRDmVUR27c84fojrhs0LEKNrms5y7jL0fHR1tEL2xGF84hDApHxkZcUuiXRazCWd1sx4opsS8JSUl1frVLB+t+hVMbWIxxauXq/BhWoDf76+BCOpJq8/nc4r73KKPgHEUDGZlvl6fkzEFq131kg9LGulQbm5uVX5+fhUtHONj4obhglmIRFqkR42dbMhWzLnpVAQqCXnhuFyuo9HoDU84HPHQd2o78fxKM2USW9xytk3t/rck/y8wmf4Gx4B9Xz6i1hAAAAAaZmNUTAAAAAEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQNMrsgAABQ5mZEFUAAAAAnjapZdtTFtVGMdrwKlkIYiETA37sGyQJXxiX1T2BVbN7FZANFARCi0tMDBF2BgGNcvEzC06EBMSEogi2Czz7ZPiBvFlohLFREKqET8g7y02A0YkLZd77/H/lHPN4dIJ9J7k13P6nPu8nOecnufWFGtjjJnBTfAVeHpHBQOOEsB+vVxV1S8g/5GpbFRV2S39/MrKyoOYTzTkXJbl0zDyIbgOntkamPrdZgDqKPpfdUHXqUz9C/0UeMnI6ruBF3zEg3hEmLtFAQAxAJIfAn+CWbCATE3FHIAkSe/ASD+4Bj4GFwRH34IfNgNQxwR5H5iG43n0fvS+mAPo7u4+w5jyAfDyDHwGjnFH31AAdAbQj3FZDpjEtkRWj7nF4eHhKzEHEB8fn7u4uHhVYUofU9g1rOYTGH6X5jY2Nj7H+Hvs9SjOyjAP4Eu+73NwHgiHw7+Qjd3u93HQqijsVfSPg3sgfrS6utqO8XugH0FcV3Ee6Pmurs56BHFzQ5K+7u3tPU8yrPwPPDeDQP3oFzs6OhrJBs0hmCOQFYMKcFTv/D7wOngTXAFvM0U5h/4wprNHRn56BeP3gXdiYuIiV3sSWDlmEiBbfXzvA36//1OIaFGpIB9UKYpSTT1wgXvFAO7H5MVIBhi7BC5j39/C96vLy8sVcXFx1oaGBkdjY6MTYwtXS+VBmPnYRHOdnV3nenp6zickJOTNzflzuEPunPey7MZ435btbm9vr1hfX7/AlEgm3gCXtGy0tbU9Jaw2E9ytZWrP1dbWPqE5FQlJkru5ubmIfG4JAJzKysoqHBn52UM/N7AZiKJcDjN2BPPJnJ1aMgHdA3rnNwZu2NPT0wvIlz4AageBBVhLyspsk5OTZ3HIXhsaGnoxMTERRvfcHvJ6vS9IoZD7t/Fxh8VieZZnx8J9RW0PgCxwGlgFYgkgWbTBbR6L+BAbC4cP8RQ1IN2N6Imz/9y5U19TU1PE9zXWlllSUlK4vLzqFA8ipxSkmfBRCTwC9Ywp9dRDocpksJEj0bE+CLrvKYC6aIRCktNoALIk2UXHIvBdZnI4HPlLS0skOIMtiIBxTSAYcNOc0QDKy8vzgsGgS+88EAi47HZ7vv5G02M26H9X9lP1D9FPxuf73Y4iQ9uTbWD/s8mGz+crJ5tRnKfqFfaDE6h+lCaRA3t2rr+IFADb5COqwvo6OyozuZIrGA5gbW3tYdLVn37KCK78bdVwH3BvKxygH7cZ3YQUBLGrlQPSoZsw+i9AV4yoNEoShMJD42PjDrPZXEj7NTU1lbtpiJGh7P/bc01/enr6BOmSjXFcxaJtSZbc5HNLMWppaSlaXV11z8/POz0eT5F2fbpcrsf+y87mSpzcWRoo5aRFZEivuGLS1a51T11d0ezsbCX5gK8o1ZAXIoHjIEl7mdCAkZIoN1wpyWZmZp6n71q2ZJkVkA2ypbNtuVs1PAlyxNco/bmwWq0FPADIAZeTjOaU7Xt+mOa4zVzuA7520bACm7j6wcHBMr4ak/iGQ3CV7IGBAbsuaJuR/wVOzVFICrkzMjLytdJMMhGtBNMzqCFuTS5LBupJa2trAYKglVQ1NTUV83pu0jIgZkFQy2p6ualYUSScdtlNNkwG2smkpKS8lJSUPDo44svEbaHA/B0IVOpeaiykQ7pkw0gAB8EpQn9wbDbbc8HgbdfCQsBF4+h6/PXLYIsndqhy5j3oGW9R/xfE2P4FtUR7pWscH34AAAAaZmNUTAAAAAMAAAAgAAAAIgAAAAAAAAAAAGQD6AAArUX4WwAABPlmZEFUAAAABHjatZddTJtVGMdrwOGSgQQJmUG4UnAJ8WJeaFJiFGqydHaQKR+r0LJ+YBDopkvVQEwWUYazi8qFSzDqnKJLxsX0oklJdRfLdGNMXFe98YaP0b6jWbo1YW1f3g//zzyveXtsBd/Gk/xyTs45z/95zkfP89ZktKiq+hT4FHwBmje3MO7oAbCd75dl+ST6v1UVdQbtr/PYVYAdRTnf2NgwQ2QcHAfPcg5Oy/cCUGbQPseN9SiqchH1z8BdzOrfBsfAByyIat3Yl+AbMAO+0/XXgfPYmcuqqlwFlwwHcPduxg+x98D74ISsyv06R6cKBBAAPymKegW7s6Aoyo+GAxgfH+9VVXlMdwwfgsd1AUzTHUD9ve5iXoDTy6ivYuxaKBQ6ajiA0tLSlsXFRT/O+l0ITuCynUD9Bo2l0+mTFADOeiabzZ5hAXwOLoIrYGF9fT1EGls97yfAq5IkeVA3gfvQXdvR0dGF9lF2FMcRRIDmj42NeRHEZ+D05OTkEPVh5T9gziXUv6COTExMDJMGaQEXmAd/gMO88/vJObb7EA2C10EPqMWwORgMDaD9Djg2Pz8/zMyeBzaGhTpWVlY+UhVavXJtaWnpFLqaYQOUMOoVsIrxONXgQX0A2ygAMITt9mGVFMRr4IggJGwlJSU2p9N5oK+vz462lZnVsCAsrG2isUAgMIwdOVxWVmbLZDKfQGMRl/EGdiWGtoB6Ddy8o96pyjnu0dHRroyYGYDzIUwcBj62G0cw9oxutU2gUGnS5gWDQQccLcP+BogrqnoT9RruTHxubu5j8pkTANjb0NDQHg6HnWw3Blkgh8AjGK9ibFaqCNi0sq0WyDFI3E7eDmMXXeSLD4BKPbACm9VqffH69d9c2MKBs2fOOpjofyrl5eUPxeJx+onGspnswtTU1JukzXzUF7LbDnaDF4BNw0gAZMNpkOaTzAdK7tPZA/r1pJJJl91u38/O1WhpIo1kMuUiTdyvVzR95rPOxBpskNVAm2QqspCG3jEfhCktpp1aB086LfYWG4Akig7esYYoQh+/7323EgkPPyisCW4aKzYA0kjk0xcEj8PhaONfNB5Lkf63pF/DT6KfYTT6uwN5wY1ozUWcv5k0otGokzTzOK/hDXaAVuR9/j7sNOB8Z46GDKBd8DMtm1V3SarkZgZFB4BU/DDZ8refdgTpexcf7Tbg5SfL4Kvp6ZcrKiqqKAhiSysHZDMN2/y/AMlLPnPSsSiiUzcp8mvkoMVi2U/nhY+Slr+EVBIy/9uZa/ZIx61kSxqRSOSgXluURC/5zElGIyMjnalUyru6uury+Xyd2vPp8Xie1naHPVAu7gUl6u71YXv1KyZb7Vn3DQ524nvBTT7IV75saOVuaTOohFCbPnqI2PkXTnsxl5eXD2jzaLckSW0nDdLitK2FsuEe8ByopQ5kw8f4e2Gz2UjU9HdQrJ/6aEz+55k/SmNMs4X5gK8tFKygW7/62dnZXrYakz53EMzETB8iXNDdJqMFb7VLc4Sc4W1sbGzTUjP/U9VSMM1BDvFq/RI0jPqnL992BEEr6ff7/V0sn5u0HdDvgs5st/8tf5csi7jtkpc0TEWUPZWVlfuqq6spKVn1HxP6BLYmCG7uo8ZKNmTLztxwqQd7Cf7idHd3v5RI3PLEYoKH2gXsrKxdVCklNslyloJ2/1vh/xcYLH8CCfCBoXIWl6IAAAAaZmNUTAAAAAUAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQI+KIQAABP9mZEFUAAAABnjatZdtTFtVGMdrQIkvMIKEYJbtk4IYjAl+mWFfxmpc7nZZA5PVMqhAO5RqdSQNhTnUodEYjcm+mcWpwQpMnAkfCGExIYs6jVtGSlFjDPIuLyME0qZwc8+9/h937nZ7bKXp1ZP8ck/Py/P8z3Ofe86pLdOi6/qjoBO8Bh7fabwVR3eDnCTtAfAWeJcx9maS/vvBfZacb29vl8NIG3gZPJHogL3B2C0B4H3B+TPgU9ALjlpZvQe8BPxcxC5T3+ughwv4wNReBM4jKiGIHAChjAVEo9FGGPNx568A2eSoO4UAP/gMAvrw/FJV1QsZC2hvb6+FkReBjxs+BfaYBJzV2R0BeD4GLoDPwYCuaZcGBgdPWUmDqomJiWZGecCYEYV66tjc3AySAIoAIvUOF3CGVg++0DV9cG1t7ePs7OyqdN93GXheVXUnng/z5t12u70Gv1+AAB/C6kfi+amjra2tfmNj48zGxvrZzs7OJmpD/0eUeJqmXdR0/euOjg4v2UDbXYDsXALfAHeyT60FnLyNqjooodBd2dsbqqdXwZCQly+PuPi0p4HMsVPD5ORkJwTSu/8K9ffQtF9RlAr8/gSCvkVUrqL+I/gB5JoF3AO8hnOspNWoz8//eSArK+uILEu1sizXYrjEpxVxEXZet2GcFAwGPd3d3a05OTlyPBanPBlDLnyHqJDTn8B1zi5zELKDwdPPbm3FyOk/8Pl8T5lWWw5SlXJjXF9f3zE4vaLp2vd81dfADbRdvzI29jb5TBAADpeUlDhGRkYbRAFRXS9GfwFnp1JAYN4+cJVWDac38BxfWV656HK5GsmXKIDKXh5eWZKk2vFwuCkeV7yhUKhecJxWyc3NfXBqauo8wn8tFo2Nnjv34as8OhL3lbTcCyrAESAbZCKA5gg2yOaT5EP8AvaAE2LYN9fXmxGuGv5eMy3l/f39Qca0MGxO41XM4EnMgglQY+POeebzJ69T339wmkY0TZ+H8wXUzSyCX2xxJe4mZ8lADjRYFqDpv8HWMnJhmZ4a1XXt7ydE/Wpzu93Va6urHtH50spSC/VZFTA0NHRaY9ofsHnTAKJuItK/o69L3NFE7Bb9p2W/SBxEn2Ek8nMjjlLanistvP9KshGJRNxkM4nzInHCA+Ag05mYD8UZOC9OsMEAbJOPFNcvvUzVVeNAsiwgFos9RHPF84UigqteGY3Z8TBioBc7YV5eXgGJINJaOaA5tIua7d1B9ZLPhONYUdBoGhQeDzfRXYDe1/T0dNUtQ3rrv+UE9RnzZ2ZmDtJcshHGtm62raiKl3wmHEZdXV11uOV4FxYWmv1+f52xfXo8nn1GdPgG1SzsoIBf0xBe84pprrGt+32+urm5uRbyQb6SnYaSkKX7QT5dq83qYcTFBZxgwo45Ozv7HP02ooXblYNskC3BtpTqNDwEDoDd1LC1tfWImBe4lDio77Yo3k5t1MeEd26+3oEq7gO+0ih0PzSvfnR0tIGvxmY+Owg+pXJ4eLhREO20ZVpwn2s2HOHM8JaWlh41jmbxUzWOYBpD9wijXYWNjAX09PQ4IIJWcjIQCBzn57nNiIA5CqZpFYFg4DhjCrJd9ZINm4VyKD8/v7qwsLCaEsd8mTAfYCtLSy3CpUaiOTSXbFgRsBccJsTEcTqdx1ZX1zyLi0seqqeYJ/G6pZJN7HDK2VPO+9+K+L8gw/IXI+58OxdsgRwAAAAaZmNUTAAAAAcAAAAgAAAAIgAAAAAAAAAAAGQD6AAArRlZyAAABTdmZEFUAAAACHjatZdrSFxHFMcnZJM+UGtTkUKohT60AT+lUFr0i7oN5SZrJOZhfUb3oVW6pYalYgvRGkTStBQr0tDSB9ZU2wSkglihFNvtE2milX4olPpMVt2NjbHsunvvnf5P9o6swz7ILj3w84z3zMw5c+65M7MsWeGc54B6YOWBwGOAJUPiTpzvAXsB24HK66BbuMad0A7AJO4F9wAWj7hGcABYgQ08JdleCgegUQCvSrZnONc6oN8EhakEcBo4DKwgLcLWBFqAHECmpmlvIDPnoHvw/7mkA7i1uVltOBeUCBscNIFoAZwAnZrGuxHA+a2trbOAxYLFM7a2vlJOjiUeBkwLZ6CZagC0AnL+KJyeBbTqHjy70NfXZwMsFiyeEVI8MzNTr3GtkWsgHMBRwHw+n40CgM3p9XoJCqABdIJucH55ebnTZDIVAxYL0RAFd1pVeQX0E4BB9pvN5mPkWAQAuxWwioqK42s3bzZ6vSvNVqu1AjCsvB19ukAPeNtms1XTHGjv4jxUBP0O+JBz1QIYQX/Ep2bdkWpVLYPOxgQFAwMDVeL56OjoccAgzwOLgRkwt/snG9JOq3/L7Xa78KgwEAjkca5RVj6FbRAMof05uD+yCPcCu3CiiXSDpaUbRbt37z6iWJRyRVHKMakCSLKNIMxGm6GfYrfbq5qbm2vRttz+5zbN8RGyN4CivIT2MNf5ZWgibTsAiKmt7fUTgcC/d5zKtLS0PBex2nwWW/JFP9SQgoV8ghr5jFasc/4l9BVV1698NTLyGvmMHGgCh3Nzc8vGxydq5AA2Ufmw7zOIK6IfxuWDQZ3rX5BjzvWRubmF9ywWSyX5kgMgyQEKsFCqr6H6/f6gfXBwsEo4vhtJT09/aHp6upvr+uVb6+sfd3R0NBnZUQxfUeU+cBAcARZBMgHQGGkOmvNp8iGfao+AajntG+vrDZWVlcfEO09S8i9e/MAZCqljmPM78D1wgx/AODjEyLmo/G1ttA0bS5GvdZ3/DE38gvav0GF0/RvmD/rryFk0UAM1gKUCnExirt+gr5LWOTTQ9Tt8y+rq6kp9a2s22bln1WMlG2CpMDw8fCYUCtGKZ8PopH8PBYM/Dg0Ntco7moyZpSyJ58+WO9FnODv7R62qqrQ9FwCWBLvA++Avv98/2d/f3xrFebb8RaSBEuxeUY/gu+QQWAE3wDLX+SL0JfB41AvJ1hY/oHKsWDhNPQAF+MAa3vsK18OBgL/By4AlPIw0MICdMCMjY58RRMJARD8a4/F4RowgvGAVeMIZ0ZegH4wMYE8wqG4HQMxcm6mnuwC9r7m5ueJwYLwxQU0UiPHz8/MlNLa3t/cMbldXRTZ0BIJPkTLxwI7TsL29/eTGxoYdt5gGp9N5UmyfuFQ8K7JjbFANIHIHJajNOIo2MoM0Vmzrk5OTF/A5/olvf2lqaurdaKehIlVpIcg0rmAOweLiYiVg5FiTdsyFhYUXRT/KlqryMpoDFEpzK7FOwxdAEdgPGG4zT8p1geO0DDDxPGLbZmTTpAtN5PUOFJMPw1diMe6HDsHExESNsRoWeXYYMEjB2NhYrRR0RdK/C4LBYINwhDPDnpeXd1QczfRMgpGN+tA9QjxXMQdgsWDxjF1dXWUIglbicLlcp4zznIkMSFlgBOSgq811StOCjqCq2mkOwGLB4hrxvjIzM0uzsrJKqXAiLxORB9iqx2MFjDD6KDSGxtIcLAXJAYcJqXDCvwvWfLbr1z02agMmEOOk61fSYiISnHLmmOP+N5F/FyQp/wHjxqv8BBis8gAAABpmY1RMAAAACQAAACAAAAAiAAAAAAAAAAAAZAPoAABAamiUAAAFIWZkQVQAAAAKeAG1l2tMHFUUx6+hVE14WQkxVPGLQhvhCxqj0BgLa2KnLIXyECkIy77agpg0wSAIbQHF+EExAV8RbIJ8kfCJEAmQxkdVRNc2pJHEL2JZ6LobQktWdllm5vq/5Yysk32ku/Ekv5w7c+aec+beO/fcYbEK5/wRUCegNosFakQkEezX35dluR7aJhBtwIKhPonxJnAYmIEFHNLZbIqi2IUmWBCHZC5boQVPxJNAY1AAM0gKTkAHI5JAE7CDMxyJABYOFsl42+ut0wUpjp6AeAbXCj8Nfdbr9ZoACweLZDx37rWKEIEeCpcA2dBW7rw9pqilo6OjGrBwsEhGSNHi4qJJEQ735vsEYB7PukUL7na7zYCRDfd2335packmfIDoQguuUZZ5DfRjgEEOGgyGk8KplgDsZsBqamoqPR6Pxe12mUUbiNVvpgTOgJZjx0oqhQ/ynwfOgjbwtH4RJgLqTMhyGXQG+haOjo6e0u5PTk5WAgZ5ARgJA2DCRnPfPDEx0YhbR7a2tg4isQbc64CtC/o8cW9wAvuBFdj0n5fTefNoQkJCiWSUKiRJqoBTCQjJoCQM1BYiGY3GivLy8ir0MbpcrhIEbYefTvjshr6A616MZi/a9/2bAGRfe3tnld//952gepqbm58NettcEE5ytec6OzufQ9A30P9NcF7hvAe6b3tn+62hoSGriMk0oYvj2dnZZdPTM/X6BLxY3bAfICILPefz+R5F3y4Evgj60H7b4bj6ekFBQaWIpU9ASBaQgFEM9TWsfp8vYB0bGztFTu9KkpOTH5ydnX11Z2enz3nD2WW32+todCSKFVLuB/mgBBg1YklA9NH5KAFPUoyQVc0WzObGRlNtbe1JmtdYJbe7+6LJ7w+8B58fYU18Ai34FLwPnmIUnFY+aWqTjcXJAHyOQI9gQ/scWuMSGGS+gK9BBAsF1kA9YPGgyDLeVhnjCuB8TAHiWmjsDx+zhoaG0nXsaPrgLuxwwgZYPAwODtq2fb4v4HNcoKqq0F/iK7k0MDBg1e9oegwgXonqP0P/kPgMr1//7RXa2wsBi4F7QBeYvr1xe7Snp+d0iOAZ+i8iCRRjsYQuwXcFElfVeegr4BtwGbwDHg55Itre5odlTtUMxJsANqDnoX8FC5yrP3KVXwHf4noWvAxY1GKkgFHshCkpKQcoCRB12IsFmZmZ6cvLyyNoXwW/gJ/ADzQiX4OU/5TjQECmBABYvLZoEmcBMV9wVLSbGLdHWROfgVWw7PP7PhR9+/v7W3C6+gr3HOBnMK9y9Tua7r1qKI5Om5ub1tXV1abW1tZqbfu0WCzPaKNDG1QTCPdfsIZhdmHunWj/MT4+XiN8iNI8NTV1IRAIXJZV9fu5ubmeUNVQ0q3SIyBNO2ZprKys1AImAiu6HRPzvgD9FyVyA3o2NTX1AeFL51sKVw1fBEe1Y5Tf739cvy5w4CgDe4dSug/Y8PBwG4bXg0XnwrUT/AlMgJHPIoqRBaILnQ9tGjMzM/X0Niy4dhAMUnjr1q2ZvVFQV6AXYv4xwZw1aYFQM6w5OTknqMyGPJYLmwmC7XZN3R2FVSTxO2DhYJGMvb29ZUhCvKWtra3tJarnTBsB3SgwASR/fn7+A0zDTZXzFYfD8S5g4WARjZivtLS00vT09FK0peDDRHABc7tcZsAE9IyUn59fnZeXV0VzHrNkgeMC3cKh/4J1y9qayyLagBHB/SRqxyX7iEhVzhC53/8j+v+CmOQfnaCvAsiMZ2EAAAAaZmNUTAAAAAsAAAAgAAAAIgAAAAAAAAAAAGQD6AAArfy7fQAABPFmZEFUAAAADHjatVdtTJtVFK5hM8EQQIbEhMxfDmgC/th+TGV/BjVZXlbKh9DKYB2lLV1JmNaQVRiEjMyPv8TE6JQZK1KRf8RkYUkzg84laELI5pIZFQPESm2WQgld+374nHLf7eVa7PZWT/Lk3Jzbc85zzz3vvbcGvaIoykGgk+Fgdg/9ifYDT/J2URS7YHcTaMzPkw/55prcCPQATqCKm3NLktSrkuDmqkRFdDFfYy4EzqgJWLACLQEtNPYCwKESRHW6dROIxeOdXKL6RyBQryYnxOOxTt0EfL5zrXwi4Nm9CNCc1kYEfD5fqyEHqVtaWuqWFOz1w/220EQkEnWqidbX13sYAYuWAPlSjMdpuDOiqNign2fmcpPJ1ELBVAKYTyez2WyvRiIR5/p6uIfG7Mvo0TYn+VIMmkskEodgs7K+Mmb61NLODyCKTdBlmK4NBAKnVPvs7CwlI3kFMDOYyEBz6u8mJydPwXSMYgAWDTG1kvv5b9ZFE/zntbr6x/G8vLyTglloFQSB9lNgbmWMhImNSYSGhoYW+h35kC8X0wOcxfgsf7bs8/uH2hKJrfSPefT19b2kWW01sJdUq7/zer0vaxbSKyExtDeRTHpHR0dtlHMXAaChoqKi6erVuS6eQHyn80sYskkJQfNFeCQkhu4LXQs5jEZjM+XiCZA8x8prphIuooO3t5MutpcI+thyYGpqqiuZSHjv3rnjbm5ubmPVEViujJIPHAZOAmYVOgmUcDEo5hHKkfFW48u+ce+eo6Ojo4Xtq16p9ng87bFY/A3EPA/4gbcYzgEVBpacdSnTbExz/8Ft+rokKRegL+BAG4ZWMQK8adhObtspWSagB7pyJSClJFr1RSzqImk0JLSU1qlU6rzBbrc3RnGi8cnDOOFoLlcCw8PDHZubm2OI+S7wDsPbsVhs1O/3v8afaDxMQI6SPX4Z/yP6DG/d+uk0O9trde79E4ADeD8cDl/CYWbPkLyMdyoA6tEs/7iCdRB4AQgAV4CPgQ8BL/BMRof79xUjnlGaCylnAkeAaeAL4DN8XZ9CfwL9AZoPFYdku4wkIICTsLCwMH20Eh6h7C8CR8vLyw/gPfAexl8hThB6koiwilwGntp1HSeTomvXY2JxqZvd5+bl5eW6HWJK77/1BOvw74HrW1tbI+Q7MDDgjEajH8H2JVUDZD7HAolE/q7LaHBwsH1jY8O1trbm6O/vb1ePT6fTSStyaR4lDpasXZHln6FvA007NvkHWVYWYP8OttDE5QkLxcDVbMabwhePx69goYHp6WlfpttQ4Lr0GFDMP7NWVlY6yAFJfpUV+U/YVoFF9ur5GuMfgZuKrMxjtRNFRUVPUywutrDXbXgCOK59RvF9YTab2WqVv4AwiKxB/0a28fHxflmWF1GJBdhuAN+o1WEx6ygHy5Vd2PvQrWJubq6LVsMqkCYgEwFZWWYutXigBh9WQf4WesagV5LJpENdOe4MV2VlpUW9mmGLEAG2BSqBEqvVehqkFrA91AtoSPmabgJjY2NNIEHld6Obren7nAmSRIA0AejfNW6HQ6HQJQUkYL8xPz8/ZMhBThQXFzeWlpY2ssbJf0BAkn6R5Z0K4GBZ4h41Qk1NTduhqqpWtue6hZqlgcA3zszMzAgqczeVkm4Hg8GhPfwENs5J9hGy3HKmLH7/g/D/C3TK3/RJfVWiL971AAAAGmZjVEwAAAANAAAAIAAAACIAAAAAAAAAAABkA+gAAEA2yQcAAATpZmRBVAAAAA542rWXW0xcRRjH14AaEy6RJsTEtCRGSEGe4ElpTEq3ph5Yy0UostyXUxUqpphKpQZLNRpSHkx4oBgNabfE2oSElKRBfQFj4MELiOiLGFIBS3ddsASyu2fPOeP/287Uw7C46dn4Jb/M8M18l/3mdnDYFcbYflDH2R/fwn6gh8Ejsl7X9XroTxLUl8fJhmwTDZ4LPKAVHJTGThqG8apIQho7qDNd5ba5iSTQJAJwZynWBKxY9CmgRSSI6jTbTuDu1ladFOhI3AQwRwQntrbu1tlOoLPzzUo5EHhirwRozKqjBDo7OysdCUjx/Px8s8Gw1v+u93Ea8PsDrSKQz+fzkI7GrAmQLfl4kA3XpOusBu3TXP2k0+msIGciAYxHg9XU1Lzs9/tbfb41D/X5yfBYNyfZkg8aC4VC2dCdoBgUK9ZRixrfR9fL0GZiuMjr9bqFfnx8nIKRHAUujpMUNCbmjYyMuKE6RD7AcenUtFJM+cyqNCgfr5WV24eTkpJKFZdSqSgKrafCzTJ5Ek7eJ1FKSkoqaB7ZkK3sM9rquirfLclnz56rCoW2afIu2tvbn7X82nywl+SLeW1tbc+JoFaCmqZ2dXVVU8wdCYCSnJycsomJr+plo617Oz+DE08yCPlEEBM3JxooBsWSEyA5wMvrohLOYQcHg5rK1xJOH1j2ka0WDKq/wBf55NVReKyY8hgoAKXAJbCZQIbkg3wWUoyYr5pcrs2NjZba2toKvq52JZ98bGxstsib+/4rSp1duxSISY4EhXxYAsM/o76g3hHUgo1iUAZ7oD7RBDRNa4av12MRDAabHI2NjS8FcKPJwddww9FYogmoqlq+vr7eBp9vgFMC3KKveTyeMvlGk3GCBCW+/0x5Eh2ZhYVfG/jdXmRz7R8CCtb/zOLi4qmqqqoTMYJnykYp4Ahev11PsI0EngK9oMdg7F2074BykB7TIBxmuTrTLQ9SwgnkgI/AB6hCL3iPIRG0XWgLaU7cx8gAXtxmaWlpdLW+CF6g0sYp+zMgLzU1dd/U1NRbOHZ98PchM9j70J8HPeAceHTHc6xpurrjY2Juvpm/565wOHyFMfMv02R34OzSfyTQgTvkKtpPA38HVLLFSXIvLy/3iGqAC4YR6REJCEnu7u6u3tzcVFdXV1s6OjqqxfU5NjbWgMl+cIeZ7E+0v/FgpWASfAmK7+nM60jwGv6+DD7p6+s7Sj7wNLv6+/tbA4HA+WA4fGFgYMAT6zVUpF16KD09/XE4mgY+cBss42KZjAYzzWmTmT9Ch5bdIN329vYl/H0dXEXJh1H+HvJBviTfyl6v4TFwWHxG8RvLB9bAKrg1ODh4mo/9DH5AIjNoo0n19vaqSGaUV+EK+Aw8T2PcZzHF4LHiC0q+QKUHVPpl3Gg36NfwCsxD9z32xQz6U9ykaGlp6WNehREkchl74qLDrsDxLV76FZT7d7fb3SieZuh+ogT4EokEMnCJvaLrxhfQfQ68hqEP2U5gdnb2Ipz8YaL009PT9EsKLTt+zjTNaAJov7GYFYyOjr7NmHENFfBiE7c7EpBjeXl5VQUFBXQqFOvHhB6JfIvg36EyMzimN6WPGiU7O7siKyurnK+5bTkASgh54wwPD5+JRCKToZD29dDQ0Ok97BTeT0iSiTivnDOO3f8g8v8FNuUfG4CCnr3IRI0AAAAaZmNUTAAAAA8AAAAgAAAAIgAAAAAAAAAAAGQD6AAAraAa7gAABPlmZEFUAAAAEHjatVdtTFtVGMaAJiYEIhowKOgPS7ZAYjL9o7AYtpost8Py6ZDxsUHLoEUXMITpRDIxKyNion9Q4tSFdCYYmZNEiMFo4ghDpwhiwg9/CdLabmm2wC5t74fPS8/B64HCdhtP8uTevue87/Pc97znvrdJZoeu6zlALUPO7h7mie4F7hPtiqLUwd5MoHtxnnzIN1HyvUAT4AD2CHPNqqqe4CKEuT2KrjiZ795EBBzjBCxYqlGAEQZ7KtDIBSI7x00LuLm6WisQHbwDAQc5OWF19WataQEdHScrRCLg4XgCaM5oIwEdHR0ViZTBgfn5+eOqjr3+d7/tNBEM3nBwokAg0MQE2I0CyJdi3E3BHVMUvRrXJ5j5EavVWk7BuADMb5BVV1dXBoNBRyDgb6J7djKajMVJvhSD5tbX1y2wHSEO4truqG04b0JRSnHNxHTh8PDwUW4fGxurZG7PAyUMVjLQHF/n9XqPwlREMQC7cGocxCmeWSdNisdredlXnJycfFgqkSokSaL9lJhbJhNhZfc0JJvNVk7ryId8xZh0xcM5xXdLyqlTp6vW19do8Ra43e5nDE9bAMQbBXydy+V6lpMaIUcizq6urheJ8z8CAFteXl7pxMQ3daLTaqzyMxh2HHydeCIIE19P1BMHcYkCaOSy9JZQCn9FBctyxMn2EkHvejxIvhFZdv6OWGz7ShhHbjyn+4F9wGFazGFSQIYQg2I+RRzbdjUxXbdCocaamppytq9mRwHFCIVuNYrFvdlF6WZLlQJ8UcLdFDGMxKKIJDkiN3CDCNRAXaIClEikXiTmiEQQv6Gh4YUbeKOJk3684WguUQEUI7hdfL/fUV9fbxffaCKsCfLfUfxMcdHQ0FBXOBy+pmmaH2rPA/eY3P9C6g8LCwsN7BiK5JmigwW4pOnadVyDQEDTdRJhNUGejWJ24doSa2ZA7FshNZ7Dq8AKkQJ/Q4Sf/V6KRqNmBDwKvAy4gVYIaAFOUEaQ3S3d8AHAT8S6pnPiZU3T/1xaWrqYnZ39EH4XA/t32g6aAx4HHktLS8sYHR2l8/8K0IZsxIToKmWEN6NNx3SQLeua5sP9X8CSfPv2lf7+/pO0X+jl78P2G8T9gqfo3UFAFdALdK+srJSSL7pj1eLiYoshGy46kuIXc8rMzMy7KLo/kO7ZycnJs2inG6/PkZGRI0QOzELgT7qufRcjiz6Hp7oA+wfA02TD73MI7sHvM8Dp9vb2/fy13tnZ+ZLP52tdW1tzdXd3V2/XDSWhSovS09Npay6jEOdwvQZMy7J8kZF9hjr5Ahnxwv4e2a6HQm/g/hzwNtADNFIMiiXEluJ1w0NAMf+MUnS9To+R/wzMAD/09fW1snR/BXwOISTgY7K1tbXVRlX1HZaFt4A3gSdpjsU8QByMa/eBuvgW+z6LID9ie6aRwvPsaZJgv0wCVGQAIj5hLoVzc3OvqSwLEHKG9j7J7ADpVZb6q0j392VlZZvfBrB9CYwAXoALyCgqKqoKh6Mk4CyE9apq9HXTAqampnpAPI1gV8bHx3tYP+cVfwkFuSEAT/qpwW3f4IeDqHLVE4UAvFUTamiHLBZLRX5+fiUVjvFjIoxipAyouupFZQ8KHzVSTk5OaVZWlp3tuemRC9gIYuEMDAy4w3L4Asg/8ng8zXH8JHaf0Egh7NLlrHH9/rch/i8wOf4BRvqEvL0rz4oAAAAaZmNUTAAAABEAAAAgAAAAIgAAAAAAAAAAAGQD6AAAQaGt/gAABQFmZEFUAAAAEnjatZdbTBxVHMbXgCYmCEgbsCGFhFgCCQkJfagKL+2uSTOUu6WEO2UXKlvauiSyIlZSN6FRi0lDjA8kRgmKqeUiKmjS9IU+mHql4A1pgrQVWHXDdoFlmDPj99+e0fGElbITT/LLmT1n/uf7zn3WEmnSNG0vqObs3TbAhNCD4CGxXFGUGpQ3EfQs1lMMxZoVzwSNwA4yhLomxlizbkKoy1A0xcFjM80YqNcFeGMxRgNGDOUx4LhuEKPTELGBlUCgWhCy3ocBqy5OBAIr1REbcLlOl4lC4LFwBqjOWEYGXC5XmcVEOjQ1NdXANMz1P/NdRBVe7x92XWh5ebmRGygyGqBYamMnC65eUbQK5I/z4mSbzVZKjekGUB8Sq6ioeMbr9dqXlxcb6ZnvjEbj4qRYaoPqgsHgPpQdIw3S2mqrhYL/RlGKkSeiOre/v79KLx8bGyMxSk+DAo6NCqhOf29gYKAKRXnUBigSdo2dNMU966BKcXvduvXbwaioqCNSgVQmSRLNp8TDErkJG3+mJOXn55fSexRDsWKblKNzDvFsiXa7XzwaDK6GXhZxOp1PGnqbBcKlLP29lpaWp3RRI+uy7Ghvby8nzX8ZAPnp6enFExOf14hBgXsrP4GzXUogxB1BTHw6UUsapCUaoJQCJHJPQ/gtVvD6uuzgc4lGd5x2Uay8vu6YQVt8+gq4Rkq4oIdBDjgCCnQiNJAgtEFt7icNcQeUg5vgT46PUBn7dWRk5Cyf10hTVmVlZanP5z8uLm79FiUDvwCvqqm/Uw6Q66g3LSYTCRmFRRMWVdN+1lRtCT+WVKBxVELVfjRrQJHlWlFYR5blGsvw8PALqPwJBXc0Vb2D/DZG4zbKZoaGhtxmDdTV1RXSiSmKLy4u2mtra4vEE03EZlL/vtpPFF/q7e11ra2tXcEUTMNtD3ggwvnPpfthenq6jm9DUTxRDEgDb4MfwPeADHwH8nYsLh5ELJRbQUy4gGYuNgNuqPeevwbXNzc3c3dqYHV1dQ8Ji6ufRmRjYyNTFI8HU9gNN8gEhv4b5F/CxBezs7NvJicn78LvA2D/dtOB+j1EbGxsAp2EW+8A4TLCj0dUVaXekvBXMHDd7/ePdHV1naD5urt692WUj8PgKPLW/xC3Uj14dn5+3kqx9E1AHyZGA7IiO8Qv5ugrV696MDzXgsGNz0ZHRztxnYaOz76+vmISB2PgMniHi+UAD3gJZPCyM+jtGU1jJ/F8wm63P6Ef66eczvKFhYVGdMzR0dGx5W0oCas0Ly4u7lE09Bb4GAyDD/wB/wUu9irT2BvIz4PnqWxpaYl6+BxoxaJzIi9BcTzIE9qWwt2Gh8FBkMxFCsEnYATH8ofI33O73fW8rhf0cAPnqAzn/lGmaW00Cig7CVrAPqrjbR4iDa61fUIv3kUDH4HLDL2fm5s7z3tjgQgMsB7GYICxV3hI7uTkZDMfhVOMYSoUpcoSaVJV9FoNDf0lNNZvtVqP6Vczyi6CC3wEdAMJ2dnZJcGgTAZOowOtjMlNERsYHx93KapyCb1/f3Bw0MXvcwsfgYsgZAC5xxCW4/F4amgaZMZau7u7Tf0vOJyamlqSlpZWSgvH+DGxFgi8BvHXyYDP5zsrfNRISUlJRfG7dxdSG2YMpIB8Qlw4nZ2dDQF/oNvnWznX1tZWEyZO4s+mUjSxzS1nCxv3vyXxf0GE6S+R9YNYr/xWtAAAABpmY1RMAAAAEwAAACAAAAAiAAAAAAAAAAAAZAPoAACsN34XAAAFF2ZkQVQAAAAUeNq1l1tMXEUcxmmgJkZuAtkoWHyxXCKJpvJgpD60rNocWCCgFOmyUHa36hKgLqE0vFXQVCymioYXE8LVeCONpIQHEo0xYhtCE6SpvgnULOzCrpCFhbPn4vdf59Dj2BV6Nk7yyxxmdub7ZuY/F+KMJlVVjwAr48j+LYwLHQYP8eWSJNWh/BxB33w9taG2sYrnAztwgDyu7pwsy29oJri6PEmVnKxtfiwGGjQB1lmi3oAeXXkiaNQMYnbOGjawEQxaOaHiAxgo1sSJYHDDatiA291axQuBx6IZoDp9GRlwu91VsYTByfn5+bOyirW+t97lVOHzrTs0Ia/Xa2cGyvUGqC31cdD1bgPLiqreQe5ixVlms7mSOtMMSJIaEaupqXnV5/M5vN4VO32znWHXBye1pT6obmdn5yjKTrO4yufFU8AfqqL4kK+BdXzfRG5CddHw8PAZbVQTExMkRuklYGGYqYDqtN+Njo6eQdFx6gOUc7vGAQ7rDTxKBsAKZsCLHEaUdeR+cVccjo+PLxUsQpUgCLSeAmtmYibM7JuSUFJSUkm/ozZ373pO6ONhL5ckJ3+2JMzM3OhVVGURFR6IryL3stnwT09P23WjLQDRUoH2O5fL9YImqickis6Ojo5q0vyHAVBSV1fX4Pf7r7PZ8Ch/G/GBV1CfxtgvpRH8jiCmJqdsOTk5FaTFG6CUDQRg6e/vb9ve3v5JUdTfPR7Pl0lJSekGdlA6xYEYCjlvYzew5bMwjexojR4Gx0ApsOhIM2AgjeujFDxHGvwOKAU/gzuI/F+RE7/J4fDc2NjYRbauRlNBbW1tZSCw2cjfHdotSgZ+ROT/QqgALDBuIxhn4mJMJKQX5k3ESYr0g6qotwiYuIXCOQ3EwHexGpBE0cYLa4iiWBc3NDR0PhwOf4+Cm1iCCIj+G2JYnB4cHGyN1UB9fX0ZnZi8+MrKisNms5XzJxqPOUb9A/Vv4n/U3d3tCgQ2RrAEdCZcAIcMrn8R3Q8LCwv1bBvy4ia+wRPgPSzBFPJJMAGugWcfWJw/iORIXgwSozWoBt+C66qyJ/wN+ALB8syDGtja2nqchPnopxnZ3d3N58WTSJxxTVGUceRfgc/n5uYuZWVlpeP7aZAHDu07cpCcnJxGJ+H9dwB3GeGPRxQlMloIK1/TqNfW1j5pbm5uoPXy/+mnDj5FR1cxgtf+a801kcXFxWJqS28CepjoDYiS6ORfzAnj4+PtqBgNBoOfDQwMtOI6jRyfPT09L5M4+AiPkivILzGxo+AtYA+FQk9GyrgHicPheF471luamqqXl5ftm5ubzs7OzvvehgIXpcdTUlLondAJPga94LJv3edmBprxVGtDcLXgCd5AZUtLS6/fW3MVL2KVbr5U6ovrW4h2G54CJ0AWE3kR9IEPMaoPkL9rt9trqA7CHfjbrapyi/aEs1gsFfK/1/wp7XkHTjINaO2fSOQddHAVXMFoL8/OzrrZaFAnX4C4W8YMQLCJNSmanJy0cZEPwwYTG3UveD8sh7sKCwurtKsZZe3gbbA3A1SXm5tbHgqJTs0E7oJGwwZGRkYaIdwj43Dq6+uz032uMwcDcsQAZqFJ1+xY+8X207IsItolZ1dXF+LAeDplMpkqMjMzqRNB/5jYCATO0wzIMLC6uvom96gRMjIyylJTU8vYmhtO2aCE4APH6XTW4KyA+JrLarVWR2knsO+YUgKxzy1njtruf0v8/wUG019dDISlQm+mHQAAABpmY1RMAAAAFQAAACAAAAAhAAAAAAAAAAAAZAPoAABQgGYUAAAFD2ZkQVQAAAAWeAGl13tIW9cDB/BTTCtCdbYV2SjKGJ12zL+6f7bpBnUZG1cTQyzVn49Y42266NRNVuqEPXzgqpvsD53stzHcKGHdBttEkCBM6CjdoxsrQoUhSH2kZorYlkaTcO89+570XHd7SC4xOfDxHO/jvO85JyTVQCktgAZFURp5mqQimYcegUNABA2qqp5D7GFpIIIDsD/dCnTAEgTgTeGeR0AMjoNMFUVG/FQ6FfgbVuE2j59MogIHwc16h0H6TMoVwPheR7xMqRagGg0i/X0SFXhJv8YqcPf+/QYgiRCzm7Ozs33I6JZG6QrrBU3T/kH8ikkFHhWvd3V1VQNJhJjdtFgs5dvb21di80DTAtqDXrgGZHNzQ9YLWV9fbwGCdJXechbPzc01E0LKk/2smuEqzEA97MPlo0NDQ2wiLsKyYS6Q2traUxsbG3IQhbM0YMhoi7H1VqvVyfLg+R+jCq2FM8aJaZw4V+E3+AMt/QvxD/Ac3i1dWlm6pFHtFnphFYV+DQThZbBxViBTU1On9B7w+Xz1uFSG//OhSu+VB3Hs69hvrEAO/My791e4Dn/CjXA4/HFmZqZtfHy8a2xsrCsjI0MCgpDPK2HlaRakiooKpyRJ1XimcnV19aRKVWGugKKcRXxgtwIIFr/f/w5m+izviWt6b6DVNyYnJ+sNrS2BRKFEf661o/V5sWAmHAp7LlzoOc3KJIZggQq73V4fCAQ+x4NXeEV+gd+hDPcPc+aBP2f8IvTu98/MNBYVFTlYWWIFWCgECWyD/YPeO3fvXFY07aeFhYVPsrOzjwDZC4QjbB6EQiHPzbmbzWxoeO9IvKy4IQtOQCXYdOYtN+0Jm0ElPANZ4udXCl9hkWGznvkRJhUlehmTro2Pa6qhpK6uzrm1teUWhwMaoIBgln6BxDeYgN8i1n3HTQBJU4OxYCO2lRP8+Qz/+GJUFagPlQJQ1E+BpCOqRF16gaLozk4jGRkZce/s7PwfF76ECQaFT2DyjGMVbAaSDpfLVWVctnXB20G5qanJLq5oIiukE5LKP198qL293bW2ttaLmn4INbAPSApK2f4wPz/vYqtjnMLzxS8iD2QYwTB8hHgIBuGJvRcubM0q4KwABxMdSF5UVXoR8TBmbKxgldIBXGM98TiQvcAceizOpwdKC+LjYgWy4CI3CAP4IvoQvzc9Pe1lKyHShXA0qZZDTk7OYd8lX3282a9QYTOCTJUVCtAH7y8uLr7ldDpr2HgFg8FKdihFpToQv2A25nqLsROWs3fZmYAdTB6uAH14O0awjI6OtkQikXdxsnm7t3egCdtpbPns7OwsY4VDB7SBDAQK0JJGfUUDAm7jmMuy/Ky+rLe1tZ3GRue+dy90tqcn/m4oCbO0DA6hkDpk2Amvg3dlZaUOdlc4itbyNFkOLP/PcBr2QBXyyIUyIW8p0W74KpzUj1GRCH0ambwB7ciUtf41h8PmAGI84XDEZrM52DVh8h0DwvMs52UUJn9OVHe73otDi4u3Ju6pGKHUP+NvFK7Xpvy7AC3w8q5vxdHsXHFxcZW+NRu7mqcJu8eeCYVD/6330agbSCLE7Obw8AfVqhptRdrb3d1dw/dzkqgHGIQT3efP1+AdTxj6+/sdQBIhpjcxXrm5ufa8vDw70pLxMMGO5Kzl+sYChOHPSOwd9i4f85RDIVQw4sSJ/S7Y3JTXDb8LOON7Ek+nFSyc2S5nNX3PJPwLu02sWzaoOecAAAATdEVYdFNvZnR3YXJlAEphcG5nIHIxMTkn6LNhAAAAAElFTkSuQmCC);background-size:16px 17px}ngx-extended-pdf-viewer .dropdownToolbarButton::after{width:24px;height:24px;display:inline-block;position:absolute;margin-top:5px}@media print{body{background:rgba(0,0,0,0)}#errorWrapper,#loadingBox,#secondaryToolbar,#sidebarContainer,.textLayer,.toolbar{display:none}#viewerContainer{overflow:visible}#mainContainer,#viewerContainer,.page,.page canvas{position:static;padding:0;margin:0}.page{float:left;display:none;border:none;box-shadow:none;background-clip:content-box;background-color:#fff}.page[data-loaded]{display:block}.fileInput,body[data-pdfjsprinting] #outerContainer{display:none}#printContainer canvas,#printContainer img,body[data-pdfjsprinting] #printContainer{display:block}#printContainer{height:100%}#printContainer>div{position:relative;top:0;left:0;width:1px;height:1px;overflow:visible;page-break-after:always;page-break-inside:avoid}}ngx-extended-pdf-viewer .visibleLargeView,ngx-extended-pdf-viewer .visibleMediumView,ngx-extended-pdf-viewer .visibleSmallView{display:none}ngx-extended-pdf-viewer #viewerContainer{overflow:auto;-webkit-overflow-scrolling:touch;position:absolute}ngx-extended-pdf-viewer .invisible{display:none!important}body[data-pdfjsprinting] #printContainer,body[data-pdfjsprinting] #printContainer *{padding:0;margin:0;font:message-box;outline:0}#printContainer canvas,#printContainer img{display:block!important}@media print{body[data-pdfjsprinting]>*{display:none!important}body[data-pdfjsprinting] #printContainer{display:block!important}body[data-pdfjsprinting] #printContainer div img{height:100vh!important}body,html{overflow-y:visible!important}html.cdk-global-scrollblock{width:initial;position:initial}}ngx-extended-pdf-viewer .textLayer .highlight.color0{background-color:rgba(180,0,170,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color0.selected{background-color:#b400aa}ngx-extended-pdf-viewer .textLayer .highlight.color1{background-color:rgba(0,100,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color1.selected{background-color:#006400}ngx-extended-pdf-viewer .textLayer .highlight.color2{background-color:rgba(0,0,255,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color2.selected{background-color:#00f}ngx-extended-pdf-viewer .textLayer .highlight.color3{background-color:rgba(255,0,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color3.selected{background-color:red}ngx-extended-pdf-viewer textLayer .highlight.color4{background-color:rgba(255,94,0,.4)}ngx-extended-pdf-viewer .textLayer .highlight.color4.selected{background-color:#ff5e00}html[dir=ltr] ngx-extended-pdf-viewer .dropdownToolbarButton,html[dir=ltr] ngx-extended-pdf-viewer .overlayButton,html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton{margin:3px 0 4px}html[dir=ltr] ngx-extended-pdf-viewer .toolbarButton:last-child,html[dir=rtl] ngx-extended-pdf-viewer .toolbarButton:first-child{margin-right:0;margin-left:0}html[dir=ltr] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:4px;margin-left:0}html[dir=rtl] ngx-extended-pdf-viewer #secondaryToolbarToggle{margin-right:0;margin-left:4px}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .overlayButton,ngx-extended-pdf-viewer .secondaryToolbarButton,ngx-extended-pdf-viewer .toolbarButton{padding-left:0;padding-right:0}ngx-extended-pdf-viewer .offscreen{position:fixed!important;left:-9999px!important;display:block!important;width:3000px!important}ngx-extended-pdf-viewer .offscreen #sidebarContainer{top:1000px!important}ngx-extended-pdf-viewer .dropdownToolbarButton,ngx-extended-pdf-viewer .toolbarButton{margin-left:-1px!important;margin-right:-2px!important}ngx-extended-pdf-viewer #numPages{padding-right:0}ngx-extended-pdf-viewer .pdf-viewer-template,ngx-extended-pdf-viewer .pdf-viewer-template *{display:none}ngx-extended-pdf-viewer a:focus,ngx-extended-pdf-viewer button:focus,ngx-extended-pdf-viewer input:focus,ngx-extended-pdf-viewer select:focus{outline:0;border:1px solid #00f}ngx-extended-pdf-viewer input[type=checkbox]:focus{outline:#00f solid 1px}"],encapsulation:2}),xD);function fM(e,t,n){return!e||e.some(function(e){return function(e,t,n){var i,r=0;return(e=e.toLowerCase()).includes("ctrl+")&&(r|=1,e=e.replace("ctrl+","")),e.includes("cmd+")&&(r|=8,e=e.replace("cmd+","")),e.includes("alt+")&&(r|=2,e=e.replace("alt+","")),e.includes("shift+")&&(r|=4,e=e.replace("shift+","")),e.includes("meta+")&&(r|=8,e=e.replace("meta+","")),i="up"===e?38:"down"===e?40:"+"===e||'"+"'===e?171:"-"===e||'"-"'===e?173:"esc"===e?27:"enter"===e?13:"space"===e?32:"f4"===e?115:"backspace"===e?8:"home"===e?36:"end"===e?35:"left"===e?37:"right"===e?39:"pagedown"===e?34:"pageup"===e?33:e.toUpperCase().charCodeAt(0),"WHEEL"===n?"wheel"===e&&t===r:i===n&&t===r}(e,t,n)})}Promise.allSettled||window.Zone&&!window["__zone_symbol__Promise.allSettled"]&&console.error("Please update zone.js to version 0.10.3 or higher. Otherwise, you'll run the slow ECMAScript 5 version even on modern browser that can run the fast ESMAScript 2015 version."),"undefined"!=typeof window&&(window.isKeyIgnored=function(e,t){var n=window.PDFViewerApplicationOptions,i=n.get("ignoreKeys"),r=n.get("acceptKeys");return"WHEEL"===t?!!fM(i,e,"WHEEL")||!!(r&&r.length>0)&&!fM(r,e,"WHEEL"):16===t||17===t||18===t||224===t||!!n.get("ignoreKeyboard")||!!(i&&i.length>0&&fM(i,e,t))||!!(r&&r.length>0)&&!fM(r,e,t)});var pM,gM,vM,mM,yM,bM,wM,_M=((pM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||pM)},pM.\u0275mod=yt({type:pM}),pM.\u0275inj=Be({providers:[wO,bD,Sd,{provide:yd,useClass:Ad}],imports:[[Qh,Oy]]}),pM),xM=["contentRef"],kM=["*"],AM=((mM=function(){function e(t){S(this,e),this.display="inline-block",this._dragDisabled=!1,this._elementRef=t}return C(e,[{key:"dragDisabled",get:function(){return this._dragDisabled},set:function(e){this._dragDisabled=e}}]),e}()).\u0275fac=function(e){return new(e||mM)(os(Sl))},mM.\u0275dir=wt({type:mM,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(e,t){2&e&&Fs("display",t.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),mM=mk([yk(0,Hi(Sl)),bk("design:paramtypes",[Sl])],mM)),CM=((vM=function(){function e(t,n,i){S(this,e),this._elementRef=t,this._renderer=n,this._document=i,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.dsInitialized=new Bu,this.indexChanged=new Bu,this.reachesLeftBound=new Bu,this.reachesRightBound=new Bu,this.snapAnimationFinished=new Bu,this.dragStart=new Bu,this.dragEnd=new Bu,this.scrollbarWidth=this.getScrollbarWidth()+"px"}return C(e,[{key:"isDragging",get:function(){return this._isDragging}},{key:"currIndex",get:function(){return this._index},set:function(e){e!==this._index&&(this._index=e,this.indexChanged.emit(e))}},{key:"scrollbarHidden",get:function(){return this._scrollbarHidden},set:function(e){this._scrollbarHidden=e}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e}},{key:"xDisabled",get:function(){return this._xDisabled},set:function(e){this._xDisabled=e}},{key:"yDisabled",get:function(){return this._yDisabled},set:function(e){this._yDisabled=e}},{key:"xWheelEnabled",get:function(){return this._xWheelEnabled},set:function(e){this._xWheelEnabled=e}},{key:"dragDisabled",get:function(){return this._dragDisabled},set:function(e){this._dragDisabled=e}},{key:"snapDisabled",get:function(){return this._snapDisabled},set:function(e){this._snapDisabled=e}},{key:"snapOffset",get:function(){return this._snapOffset},set:function(e){this._snapOffset=e}},{key:"snapDuration",get:function(){return this._snapDuration},set:function(e){this._snapDuration=e}},{key:"ngOnChanges",value:function(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}},{key:"ngAfterViewInit",value:function(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType="undefined"!=typeof window?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen("document","dragstart",function(e){e.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild()}},{key:"ngAfterViewChecked",value:function(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}},{key:"ngOnDestroy",value:function(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}},{key:"onMouseMoveHandler",value:function(e){this.onMouseMove(e)}},{key:"onMouseMove",value:function(e){if(this.isPressed&&!this.disabled){if(!e.buttons&&!e.which)return this.onMouseUpHandler(e);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){var t=e.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-t+this.downX,this.downX=t}if(!this.yDisabled&&!this.dragDisabled){var n=e.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-n+this.downY,this.downY=n}}}},{key:"onMouseDownHandler",value:function(e){var t=this.locateDragScrollItem(e.target);if(!t||!t.dragDisabled){this._startGlobalListening("touchstart"===e.type),this.isPressed=!0;var n=e;this.downX=n.clientX,this.downY=n.clientY,clearTimeout(this.scrollToTimer)}}},{key:"onScrollHandler",value:function(){var e=this;this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(function(){e.isScrolling=!1,e.locateCurrentIndex(!0)},500))}},{key:"onMouseUpHandler",value:function(e){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}},{key:"moveLeft",value:function(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"moveRight",value:function(){var e=this.wrapper||this.parentNode,t=e?e.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex<this.maximumIndex(t,this._children.toArray())&&(this.currIndex++,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"moveTo",value:function(e){var t=this.wrapper||this.parentNode,n=t?t.clientWidth:0;e>=0&&e!==this.currIndex&&this.currIndex<=this.maximumIndex(n,this._children.toArray())&&(this.currIndex=Math.min(e,this.maximumIndex(n,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}},{key:"checkNavStatus",value:function(){var e=this;setTimeout(function(){var t=Boolean(e._children.length<=1),n=Boolean(e._contentRef.nativeElement.scrollWidth<=e._contentRef.nativeElement.clientWidth);t||n?(e.reachesLeftBound.emit(!0),e.reachesRightBound.emit(!0)):e.isScrollReachesRightEnd()?(e.reachesLeftBound.emit(!1),e.reachesRightBound.emit(!0)):0===e._contentRef.nativeElement.scrollLeft&&e._contentRef.nativeElement.scrollWidth>e._contentRef.nativeElement.clientWidth?(e.reachesLeftBound.emit(!0),e.reachesRightBound.emit(!1)):(e.reachesLeftBound.emit(!1),e.reachesRightBound.emit(!1))},0)}},{key:"onWheel",value:function(e){this._xWheelEnabled&&(e.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(e.deltaY,0):e.deltaY<0?this.moveLeft():e.deltaY>0&&this.moveRight())}},{key:"onWindowResize",value:function(){this.refreshWrapperDimensions(),this.checkNavStatus()}},{key:"_setIsDragging",value:function(e){this._isDragging!==e&&(this._isDragging=e,e?this.dragStart.emit():this.dragEnd.emit())}},{key:"_startGlobalListening",value:function(e){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",e?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",e?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}},{key:"_stopGlobalListening",value:function(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}},{key:"disableScroll",value:function(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"hidden")}},{key:"enableScroll",value:function(e){this._renderer.setStyle(this._contentRef.nativeElement,"overflow-"+e,"auto")}},{key:"hideScrollbar",value:function(){"none"===this._contentRef.nativeElement.style.display||this.wrapper||(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width","calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.setStyle(this._contentRef.nativeElement,"height","calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}},{key:"showScrollbar",value:function(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}},{key:"checkScrollbar",value:function(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":"calc(100% + ".concat(this.scrollbarWidth,")")),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":"calc(100% + ".concat(this.scrollbarWidth,")"))}},{key:"setScrollBar",value:function(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}},{key:"getScrollbarWidth",value:function(){var e=this._renderer.createElement("div");this._renderer.setStyle(e,"visibility","hidden"),this._renderer.setStyle(e,"width","100px"),this._renderer.setStyle(e,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,e);var t=e.offsetWidth;this._renderer.setStyle(e,"overflow","scroll");var n=this._renderer.createElement("div");this._renderer.setStyle(n,"width","100%"),this._renderer.appendChild(e,n);var i=n.offsetWidth;return this._renderer.removeChild(this._document.body,e),t-i||20}},{key:"refreshWrapperDimensions",value:function(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px"))}},{key:"scrollTo",value:function(e,t,n){var i=this;i.isAnimating=!0;var r=e.scrollLeft,o=t-r-this.snapOffset,a=0;!function t(){var s,l,u;a+=20,e.scrollLeft=(s=a,l=r,u=o,(s/=n/2)<1?u/2*s*s+l:-u/2*(--s*(s-2)-1)+l),a<n?i.scrollToTimer=setTimeout(t,20):setTimeout(function(){i.isAnimating=!1,i.snapAnimationFinished.emit(i.currIndex)},20)}()}},{key:"locateCurrentIndex",value:function(e){var t=this;this.currentChildWidth(function(n,i,r,o,a){t._contentRef.nativeElement.scrollLeft>=r&&t._contentRef.nativeElement.scrollLeft<=i?(i-t._contentRef.nativeElement.scrollLeft>n/2&&!t.isScrollReachesRightEnd()?(t.isAnimating||(t.currIndex=o),e&&t.scrollTo(t._contentRef.nativeElement,r,t.snapDuration)):0!==t._contentRef.nativeElement.scrollLeft&&(t.isAnimating||(t.currIndex=o+1),e&&t.scrollTo(t._contentRef.nativeElement,r+n,t.snapDuration)),a()):o+1===t._children.length-1&&(t.isAnimating||(t.currIndex=o+1),a())})}},{key:"currentChildWidth",value:function(e){for(var t=0,n=!1,i=function(){n=!0},r=this._children.toArray(),o=0;o<r.length&&o!==r.length-1&&!n;o++){var a=r[o]._elementRef.nativeElement.clientWidth;e(a,t+r[o+1]._elementRef.nativeElement.clientWidth,t,o,i),t+=a}}},{key:"toChildrenLocation",value:function(){for(var e=0,t=this._children.toArray(),n=0;n<this.currIndex;n++)e+=t[n]._elementRef.nativeElement.clientWidth;return e}},{key:"locateDragScrollItem",value:function(e){for(var t=null,n=this._children.toArray(),i=0;i<n.length;i++)e===n[i]._elementRef.nativeElement&&(t=n[i]);return t}},{key:"markElDimension",value:function(){this.wrapper?(this.elWidth=this.wrapper.style.width,this.elHeight=this.wrapper.style.height):(this.elWidth=this._elementRef.nativeElement.style.width||this._elementRef.nativeElement.offsetWidth+"px",this.elHeight=this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px");var e=this.wrapper||this.parentNode;this._children.length>1&&(this.indexBound=this.maximumIndex(e?e.clientWidth:0,this._children.toArray()))}},{key:"maximumIndex",value:function(e,t){for(var n=0,i=0,r=0;r<=t.length;r++){var o=t[t.length-1-r];if(!o)break;var a=o._elementRef.nativeElement,s=a.clientWidth;if(0===s&&a.firstElementChild&&(s=o._elementRef.nativeElement.firstElementChild.clientWidth),!((i+=s)<e))break;n++}return t.length-n}},{key:"isScrollReachesRightEnd",value:function(){return this._contentRef.nativeElement.scrollLeft+this._contentRef.nativeElement.offsetWidth>=this._contentRef.nativeElement.scrollWidth}},{key:"adjustMarginToLastChild",value:function(){if(this._children&&this._children.length>0&&this.hideScrollbar){var e=this._children.toArray();this._renderer.setStyle(e[e.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&e.length>1?this.scrollbarWidth:0)}}}]),e}()).\u0275fac=function(e){return new(e||vM)(os(Sl),os(Dl),os(ad))},vM.\u0275cmp=pt({type:vM,selectors:[["drag-scroll"]],contentQueries:function(e,t,n){var i;1&e&&Ku(n,AM,0),2&e&&Qu(i=Ju())&&(t._children=i)},viewQuery:function(e,t){var n;1&e&&Xu(xM,3),2&e&&Qu(n=Ju())&&(t._contentRef=n.first)},hostVars:2,hostBindings:function(e,t){1&e&&ys("wheel",function(e){return t.onWheel(e)})("resize",function(){return t.onWindowResize()},!1,Rr),2&e&&Fs("pointer-events",t._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[Tt],ngContentSelectors:kM,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(e,t){1&e&&(Cs(),ls(0,"div",0,1),Ss(2),us())},styles:["[_nghost-%COMP%] {\n overflow: hidden;\n display: block;\n }\n .drag-scroll-content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n }"]}),vM=mk([yk(0,Hi(Sl)),yk(1,Hi(Dl)),yk(2,Hi(ad)),bk("design:paramtypes",[Sl,Dl,Object])],vM)),SM=((gM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||gM)},gM.\u0275mod=yt({type:gM}),gM.\u0275inj=Be({}),gM),EM=function(){function e(t,n){S(this,e),this.x=t,this.y=n}return C(e,[{key:"value",get:function(){return{x:this.x,y:this.y}}},{key:"add",value:function(e){return this.x+=e.x,this.y+=e.y,this}},{key:"subtract",value:function(e){return this.x-=e.x,this.y-=e.y,this}},{key:"multiply",value:function(e){this.x*=e,this.y*=e}},{key:"divide",value:function(e){this.x/=e,this.y/=e}},{key:"reset",value:function(){return this.x=0,this.y=0,this}},{key:"set",value:function(e){return this.x=e.x,this.y=e.y,this}}],[{key:"fromEvent",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.isMouseEvent(t))return new e(t.clientX,t.clientY);if(null===n||1===t.changedTouches.length)return new e(t.changedTouches[0].clientX,t.changedTouches[0].clientY);for(var i=0;i<t.changedTouches.length;i++)if(t.changedTouches[i].target===n)return new e(t.changedTouches[i].clientX,t.changedTouches[i].clientY)}},{key:"isMouseEvent",value:function(e){return 8===Object.prototype.toString.apply(e).indexOf("MouseEvent")}},{key:"isIPosition",value:function(e){return!!e&&"x"in e&&"y"in e}},{key:"getCurrent",value:function(t){var n=new e(0,0);if(window){var i=window.getComputedStyle(t);if(i){var r=parseInt(i.getPropertyValue("left"),10),o=parseInt(i.getPropertyValue("top"),10);n.x=isNaN(r)?0:r,n.y=isNaN(o)?0:o}return n}return console.error("Not Supported!"),null}},{key:"copy",value:function(t){return new e(0,0).set(t)}}]),e}(),PM=function(){function e(t,n){S(this,e),this.parent=t,this.renderer=n,this._added=!1;var i=n.createElement("div");n.setStyle(i,"position","absolute"),n.setStyle(i,"width","100%"),n.setStyle(i,"height","100%"),n.setStyle(i,"background-color","transparent"),n.setStyle(i,"top","0"),n.setStyle(i,"left","0"),this._helper=i}return C(e,[{key:"add",value:function(){this.parent&&!this._added&&(this.parent.appendChild(this._helper),this._added=!0)}},{key:"remove",value:function(){this.parent&&this._added&&(this.parent.removeChild(this._helper),this._added=!1)}},{key:"dispose",value:function(){this._helper=null,this._added=!1}},{key:"el",get:function(){return this._helper}}]),e}(),DM=((yM=function(){function e(t,n){S(this,e),this.el=t,this.renderer=n,this.allowDrag=!0,this.moving=!1,this.orignal=null,this.oldTrans=new EM(0,0),this.tempTrans=new EM(0,0),this.currTrans=new EM(0,0),this.oldZIndex="",this._zIndex="",this.needTransform=!1,this.draggingSub=null,this._helperBlock=null,this.started=new Bu,this.stopped=new Bu,this.edge=new Bu,this.outOfBounds={top:!1,right:!1,bottom:!1,left:!1},this.gridSize=1,this.inBounds=!1,this.trackPosition=!0,this.scale=1,this.preventDefaultEvent=!1,this.position={x:0,y:0},this.lockAxis=null,this.movingOffset=new Bu,this.endOffset=new Bu,this._helperBlock=new PM(t.nativeElement,n)}return C(e,[{key:"zIndex",set:function(e){this.renderer.setStyle(this.el.nativeElement,"z-index",e),this._zIndex=e}},{key:"ngDraggable",set:function(e){if(null!=e&&""!==e){this.allowDrag=!!e;var t=this.getDragEl();this.allowDrag?this.renderer.addClass(t,"ng-draggable"):(this.putBack(),this.renderer.removeClass(t,"ng-draggable"))}}},{key:"ngOnInit",value:function(){if(this.allowDrag){var e=this.getDragEl();this.renderer.addClass(e,"ng-draggable")}this.resetPosition()}},{key:"ngOnDestroy",value:function(){this.bounds=null,this.handle=null,this.orignal=null,this.oldTrans=null,this.tempTrans=null,this.currTrans=null,this._helperBlock.dispose(),this._helperBlock=null,this.draggingSub&&this.draggingSub.unsubscribe()}},{key:"ngOnChanges",value:function(e){if(e.position&&!e.position.isFirstChange()){var t=e.position.currentValue;this.moving?this.needTransform=!0:(EM.isIPosition(t)?this.oldTrans.set(t):this.oldTrans.reset(),this.transform())}}},{key:"ngAfterViewInit",value:function(){this.inBounds&&(this.boundsCheck(),this.oldTrans.add(this.tempTrans),this.tempTrans.reset())}},{key:"getDragEl",value:function(){return this.handle?this.handle:this.el.nativeElement}},{key:"resetPosition",value:function(){EM.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.tempTrans.reset(),this.transform()}},{key:"moveTo",value:function(e){this.orignal&&(e.subtract(this.orignal),this.tempTrans.set(e),this.tempTrans.divide(this.scale),this.transform(),this.bounds&&this.edge.emit(this.boundsCheck()),this.movingOffset.emit(this.currTrans.value))}},{key:"transform",value:function(){var e=this.tempTrans.x+this.oldTrans.x,t=this.tempTrans.y+this.oldTrans.y;"x"===this.lockAxis?(e=this.oldTrans.x,this.tempTrans.x=0):"y"===this.lockAxis&&(t=this.oldTrans.y,this.tempTrans.y=0),this.gridSize>1&&(e=Math.round(e/this.gridSize)*this.gridSize,t=Math.round(t/this.gridSize)*this.gridSize);var n="translate(".concat(Math.round(e),"px, ").concat(Math.round(t),"px)");this.renderer.setStyle(this.el.nativeElement,"transform",n),this.renderer.setStyle(this.el.nativeElement,"-webkit-transform",n),this.renderer.setStyle(this.el.nativeElement,"-ms-transform",n),this.renderer.setStyle(this.el.nativeElement,"-moz-transform",n),this.renderer.setStyle(this.el.nativeElement,"-o-transform",n),this.currTrans.x=e,this.currTrans.y=t}},{key:"pickUp",value:function(){if(this.oldZIndex=this.el.nativeElement.style.zIndex?this.el.nativeElement.style.zIndex:"",window&&(this.oldZIndex=window.getComputedStyle(this.el.nativeElement,null).getPropertyValue("z-index")),this.zIndexMoving&&this.renderer.setStyle(this.el.nativeElement,"z-index",this.zIndexMoving),!this.moving){this.started.emit(this.el.nativeElement),this.moving=!0;var e=this.getDragEl();this.renderer.addClass(e,"ng-dragging"),this.subscribeEvents()}}},{key:"subscribeEvents",value:function(){var e=this;this.draggingSub=Ek(document,"mousemove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)}),this.draggingSub.add(Ek(document,"touchmove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)})),this.draggingSub.add(Ek(document,"mouseup",{passive:!1}).subscribe(function(){return e.putBack()})),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(Ek(document,"mouseleave",{passive:!1}).subscribe(function(){return e.putBack()})),this.draggingSub.add(Ek(document,"touchend",{passive:!1}).subscribe(function(){return e.putBack()})),this.draggingSub.add(Ek(document,"touchcancel",{passive:!1}).subscribe(function(){return e.putBack()}))}},{key:"unsubscribeEvents",value:function(){this.draggingSub.unsubscribe(),this.draggingSub=null}},{key:"boundsCheck",value:function(){if(this.bounds){var e=this.bounds.getBoundingClientRect(),t=this.el.nativeElement.getBoundingClientRect(),n={top:!!this.outOfBounds.top||e.top<t.top,right:!!this.outOfBounds.right||e.right>t.right,bottom:!!this.outOfBounds.bottom||e.bottom>t.bottom,left:!!this.outOfBounds.left||e.left<t.left};return this.inBounds&&(n.top||(this.tempTrans.y-=(t.top-e.top)/this.scale),n.bottom||(this.tempTrans.y-=(t.bottom-e.bottom)/this.scale),n.right||(this.tempTrans.x-=(t.right-e.right)/this.scale),n.left||(this.tempTrans.x-=(t.left-e.left)/this.scale),this.transform()),n}}},{key:"getCurrentOffset",value:function(){return this.currTrans.value}},{key:"putBack",value:function(){if(this._zIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this._zIndex):this.zIndexMoving&&(this.oldZIndex?this.renderer.setStyle(this.el.nativeElement,"z-index",this.oldZIndex):this.el.nativeElement.style.removeProperty("z-index")),this.moving){this.stopped.emit(this.el.nativeElement),this._helperBlock.remove(),this.needTransform&&(EM.isIPosition(this.position)?this.oldTrans.set(this.position):this.oldTrans.reset(),this.transform(),this.needTransform=!1),this.bounds&&this.edge.emit(this.boundsCheck()),this.moving=!1,this.endOffset.emit(this.currTrans.value),this.trackPosition&&this.oldTrans.add(this.tempTrans),this.tempTrans.reset(),this.trackPosition||this.transform();var e=this.getDragEl();this.renderer.removeClass(e,"ng-dragging"),this.unsubscribeEvents()}}},{key:"checkHandleTarget",value:function(e,t){if("BUTTON"===t.tagName)return!1;if(t===e)return!0;for(var n in t.children)if(t.children.hasOwnProperty(n)&&this.checkHandleTarget(e,t.children[n]))return!0;return!1}},{key:"onMouseDown",value:function(e){e instanceof MouseEvent&&2===e.button||(void 0===this.handle||this.checkHandleTarget(e.target||e.srcElement,this.handle))&&!1!==this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this.orignal=EM.fromEvent(e,this.getDragEl()),this.pickUp())}},{key:"onMouseMove",value:function(e){this.moving&&this.allowDrag&&(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._helperBlock.add(),this.moveTo(EM.fromEvent(e,this.getDragEl())))}}]),e}()).\u0275fac=function(e){return new(e||yM)(os(Sl),os(Dl))},yM.\u0275dir=wt({type:yM,selectors:[["","ngDraggable",""]],hostBindings:function(e,t){1&e&&ys("mousedown",function(e){return t.onMouseDown(e)})("touchstart",function(e){return t.onMouseDown(e)})},inputs:{outOfBounds:"outOfBounds",gridSize:"gridSize",inBounds:"inBounds",trackPosition:"trackPosition",scale:"scale",preventDefaultEvent:"preventDefaultEvent",position:"position",lockAxis:"lockAxis",zIndex:"zIndex",ngDraggable:"ngDraggable",bounds:"bounds",handle:"handle",zIndexMoving:"zIndexMoving"},outputs:{started:"started",stopped:"stopped",edge:"edge",movingOffset:"movingOffset",endOffset:"endOffset"},exportAs:["ngDraggable"],features:[Tt]}),yM),OM=function(){function e(t,n,i,r,o){var a=this;S(this,e),this.parent=t,this.renderer=n,this.type=i,this.css=r,this.onMouseDown=o;var s=n.createElement("div");n.addClass(s,"ng-resizable-handle"),n.addClass(s,r),"se"===i&&n.addClass(s,"ng-resizable-diagonal"),this.parent&&t.appendChild(s),this._onResize=function(e){o(e,a)},s.addEventListener("mousedown",this._onResize,{passive:!1}),s.addEventListener("touchstart",this._onResize,{passive:!1}),this._handle=s}return C(e,[{key:"dispose",value:function(){this._handle.removeEventListener("mousedown",this._onResize),this._handle.removeEventListener("touchstart",this._onResize),this.parent&&this.parent.removeChild(this._handle),this._handle=null,this._onResize=null}},{key:"el",get:function(){return this._handle}}]),e}(),MM=function(){function e(t,n){S(this,e),this.width=t,this.height=n}return C(e,[{key:"set",value:function(e){return this.width=e.width,this.height=e.height,this}}],[{key:"getCurrent",value:function(t){var n=new e(0,0);if(window){var i=window.getComputedStyle(t);return i&&(n.width=parseInt(i.getPropertyValue("width"),10),n.height=parseInt(i.getPropertyValue("height"),10)),n}return console.error("Not Supported!"),null}},{key:"copy",value:function(t){return new e(0,0).set(t)}}]),e}(),TM=((wM=function(){function e(t,n){S(this,e),this.el=t,this.renderer=n,this._resizable=!0,this._handles={},this._handleType=[],this._handleResizing=null,this._direction=null,this._directionChanged=null,this._aspectRatio=0,this._containment=null,this._origMousePos=null,this._origSize=null,this._origPos=null,this._currSize=null,this._currPos=null,this._initSize=null,this._initPos=null,this._gridSize=null,this._bounding=null,this._helperBlock=null,this.draggingSub=null,this._adjusted=!1,this.rzHandles="e,s,se",this.rzAspectRatio=!1,this.rzContainment=null,this.rzGrid=null,this.rzMinWidth=null,this.rzMinHeight=null,this.rzMaxWidth=null,this.rzMaxHeight=null,this.preventDefaultEvent=!0,this.rzStart=new Bu,this.rzResizing=new Bu,this.rzStop=new Bu,this._helperBlock=new PM(t.nativeElement,n)}return C(e,[{key:"ngResizable",set:function(e){null!=e&&""!==e&&(this._resizable=!!e,this.updateResizable())}},{key:"ngOnChanges",value:function(e){e.rzHandles&&!e.rzHandles.isFirstChange()&&this.updateResizable(),e.rzAspectRatio&&!e.rzAspectRatio.isFirstChange()&&this.updateAspectRatio(),e.rzContainment&&!e.rzContainment.isFirstChange()&&this.updateContainment()}},{key:"ngOnInit",value:function(){this.updateResizable()}},{key:"ngOnDestroy",value:function(){this.removeHandles(),this._containment=null,this._helperBlock.dispose(),this._helperBlock=null}},{key:"ngAfterViewInit",value:function(){var e=this.el.nativeElement;this._initSize=MM.getCurrent(e),this._initPos=EM.getCurrent(e),this._currSize=MM.copy(this._initSize),this._currPos=EM.copy(this._initPos),this.updateAspectRatio(),this.updateContainment()}},{key:"resetSize",value:function(){this._currSize=MM.copy(this._initSize),this._currPos=EM.copy(this._initPos),this.doResize()}},{key:"getStatus",value:function(){return this._currPos&&this._currSize?{size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x}}:null}},{key:"updateResizable",value:function(){var e=this.el.nativeElement;this.renderer.removeClass(e,"ng-resizable"),this.removeHandles(),this._resizable&&(this.renderer.addClass(e,"ng-resizable"),this.createHandles())}},{key:"updateAspectRatio",value:function(){if("boolean"==typeof this.rzAspectRatio)this._aspectRatio=this.rzAspectRatio&&this._currSize.height?this._currSize.width/this._currSize.height:0;else{var e=Number(this.rzAspectRatio);this._aspectRatio=isNaN(e)?0:e}}},{key:"updateContainment",value:function(){this._containment=this.rzContainment?"string"==typeof this.rzContainment?"parent"===this.rzContainment?this.el.nativeElement.parentElement:document.querySelector(this.rzContainment):this.rzContainment:null}},{key:"createHandles",value:function(){if(this.rzHandles)if("string"==typeof this.rzHandles){var e,t=f("all"===this.rzHandles?["n","e","s","w","ne","se","nw","sw"]:this.rzHandles.replace(/ /g,"").toLowerCase().split(","));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=this.createHandleByType(n,"ng-resizable-"+n);i&&(this._handleType.push(n),this._handles[n]=i)}}catch(l){t.e(l)}finally{t.f()}}else{var r,o=f(Object.keys(this.rzHandles));try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this.createHandleByType(a,this.rzHandles[a]);s&&(this._handleType.push(a),this._handles[a]=s)}}catch(l){o.e(l)}finally{o.f()}}}},{key:"createHandleByType",value:function(e,t){var n=this.el.nativeElement;return e.match(/^(se|sw|ne|nw|n|e|s|w)$/)?new OM(n,this.renderer,e,t,this.onMouseDown.bind(this)):(console.error("Invalid handle type:",e),null)}},{key:"removeHandles",value:function(){var e,t=f(this._handleType);try{for(t.s();!(e=t.n()).done;){var n=e.value;this._handles[n].dispose()}}catch(i){t.e(i)}finally{t.f()}this._handleType=[],this._handles={}}},{key:"onMouseDown",value:function(e,t){e instanceof MouseEvent&&2===e.button||(this.preventDefaultEvent&&(e.stopPropagation(),e.preventDefault()),this._handleResizing||(this._origMousePos=EM.fromEvent(e),this.startResize(t),this.subscribeEvents()))}},{key:"subscribeEvents",value:function(){var e=this;this.draggingSub=Ek(document,"mousemove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)}),this.draggingSub.add(Ek(document,"touchmove",{passive:!1}).subscribe(function(t){return e.onMouseMove(t)})),this.draggingSub.add(Ek(document,"mouseup",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),/msie\s|trident\//i.test(window.navigator.userAgent)||this.draggingSub.add(Ek(document,"mouseleave",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),this.draggingSub.add(Ek(document,"touchend",{passive:!1}).subscribe(function(){return e.onMouseLeave()})),this.draggingSub.add(Ek(document,"touchcancel",{passive:!1}).subscribe(function(){return e.onMouseLeave()}))}},{key:"unsubscribeEvents",value:function(){this.draggingSub.unsubscribe(),this.draggingSub=null}},{key:"onMouseLeave",value:function(){this._handleResizing&&(this.stopResize(),this._origMousePos=null,this.unsubscribeEvents())}},{key:"onMouseMove",value:function(e){this._handleResizing&&this._resizable&&this._origMousePos&&this._origPos&&this._origSize&&(this.resizeTo(EM.fromEvent(e)),this.onResizing())}},{key:"startResize",value:function(e){var t=this.el.nativeElement;this._origSize=MM.getCurrent(t),this._origPos=EM.getCurrent(t),this._currSize=MM.copy(this._origSize),this._currPos=EM.copy(this._origPos),this._containment&&this.getBounding(),this.getGridSize(),this._helperBlock.add(),this._handleResizing=e,this.updateDirection(),this.rzStart.emit(this.getResizingEvent())}},{key:"stopResize",value:function(){this._helperBlock.remove(),this.rzStop.emit(this.getResizingEvent()),this._handleResizing=null,this._direction=null,this._origSize=null,this._origPos=null,this._containment&&this.resetBounding()}},{key:"onResizing",value:function(){this.rzResizing.emit(this.getResizingEvent())}},{key:"getResizingEvent",value:function(){return{host:this.el.nativeElement,handle:this._handleResizing?this._handleResizing.el:null,size:{width:this._currSize.width,height:this._currSize.height},position:{top:this._currPos.y,left:this._currPos.x},direction:Object.assign({},this._directionChanged)}}},{key:"updateDirection",value:function(){this._direction={n:!!this._handleResizing.type.match(/n/),s:!!this._handleResizing.type.match(/s/),w:!!this._handleResizing.type.match(/w/),e:!!this._handleResizing.type.match(/e/)},this._directionChanged=Object.assign({},this._direction),this.rzAspectRatio&&(this._directionChanged.n&&!this._directionChanged.e&&(this._directionChanged.w=!0),this._directionChanged.s&&!this._directionChanged.w&&(this._directionChanged.e=!0),this._directionChanged.e&&!this._directionChanged.n&&(this._directionChanged.s=!0),this._directionChanged.w&&!this._directionChanged.n&&(this._directionChanged.s=!0))}},{key:"resizeTo",value:function(e){e.subtract(this._origMousePos);var t=Math.round(e.x/this._gridSize.x)*this._gridSize.x,n=Math.round(e.y/this._gridSize.y)*this._gridSize.y;this._direction.n?(this._currPos.y=this._origPos.y+n,this._currSize.height=this._origSize.height-n):this._direction.s&&(this._currSize.height=this._origSize.height+n),this._direction.e?this._currSize.width=this._origSize.width+t:this._direction.w&&(this._currSize.width=this._origSize.width-t,this._currPos.x=this._origPos.x+t),this.checkBounds(),this.checkSize(),this.adjustByRatio(),this.doResize()}},{key:"doResize",value:function(){var e=this.el.nativeElement;(!this._direction||this._direction.n||this._direction.s||this._aspectRatio)&&this.renderer.setStyle(e,"height",this._currSize.height+"px"),(!this._direction||this._direction.w||this._direction.e||this._aspectRatio)&&this.renderer.setStyle(e,"width",this._currSize.width+"px"),this.renderer.setStyle(e,"left",this._currPos.x+"px"),this.renderer.setStyle(e,"top",this._currPos.y+"px")}},{key:"adjustByRatio",value:function(){if(this._aspectRatio&&!this._adjusted)if(this._direction.e||this._direction.w){var e=Math.floor(this._currSize.width/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-e),this._currSize.height=e}else{var t=Math.floor(this._aspectRatio*this._currSize.height);this._direction.n&&(this._currPos.x+=this._currSize.width-t),this._currSize.width=t}}},{key:"checkBounds",value:function(){if(this._containment){var e=this._bounding.width-this._bounding.pr-this._bounding.deltaL-this._bounding.translateX-this._currPos.x,t=this._bounding.height-this._bounding.pb-this._bounding.deltaT-this._bounding.translateY-this._currPos.y;if(this._direction.n&&this._currPos.y+this._bounding.translateY<0&&(this._currPos.y=-this._bounding.translateY,this._currSize.height=this._origSize.height+this._origPos.y+this._bounding.translateY),this._direction.w&&this._currPos.x+this._bounding.translateX<0&&(this._currPos.x=-this._bounding.translateX,this._currSize.width=this._origSize.width+this._origPos.x+this._bounding.translateX),this._currSize.width>e&&(this._currSize.width=e),this._currSize.height>t&&(this._currSize.height=t),this._aspectRatio){if(this._adjusted=!1,(this._direction.w||this._direction.e)&&this._currSize.width/this._aspectRatio>=t){var n=Math.floor(t*this._aspectRatio);this._direction.w&&(this._currPos.x+=this._currSize.width-n),this._currSize.width=n,this._currSize.height=t,this._adjusted=!0}if((this._direction.n||this._direction.s)&&this._currSize.height*this._aspectRatio>=e){var i=Math.floor(e/this._aspectRatio);this._direction.n&&(this._currPos.y+=this._currSize.height-i),this._currSize.width=e,this._currSize.height=i,this._adjusted=!0}}}}},{key:"checkSize",value:function(){var e=this.rzMinHeight?this.rzMinHeight:1,t=this.rzMinWidth?this.rzMinWidth:1;this._currSize.height<e&&(this._currSize.height=e,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-e))),this._currSize.width<t&&(this._currSize.width=t,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-t))),this.rzMaxHeight&&this._currSize.height>this.rzMaxHeight&&(this._currSize.height=this.rzMaxHeight,this._direction.n&&(this._currPos.y=this._origPos.y+(this._origSize.height-this.rzMaxHeight))),this.rzMaxWidth&&this._currSize.width>this.rzMaxWidth&&(this._currSize.width=this.rzMaxWidth,this._direction.w&&(this._currPos.x=this._origPos.x+(this._origSize.width-this.rzMaxWidth)))}},{key:"getBounding",value:function(){var e=this._containment,t=window.getComputedStyle(e);if(t){var n=t.getPropertyValue("position"),i=window.getComputedStyle(this.el.nativeElement).getPropertyValue("transform").replace(/[^-\d,]/g,"").split(",");this._bounding={},this._bounding.width=e.clientWidth,this._bounding.height=e.clientHeight,this._bounding.pr=parseInt(t.getPropertyValue("padding-right"),10),this._bounding.pb=parseInt(t.getPropertyValue("padding-bottom"),10),this._bounding.deltaL=this.el.nativeElement.offsetLeft-this._currPos.x,this._bounding.deltaT=this.el.nativeElement.offsetTop-this._currPos.y,i.length>=6?(this._bounding.translateX=parseInt(i[4],10),this._bounding.translateY=parseInt(i[5],10)):(this._bounding.translateX=0,this._bounding.translateY=0),this._bounding.position=t.getPropertyValue("position"),"static"===n&&this.renderer.setStyle(e,"position","relative")}}},{key:"resetBounding",value:function(){this._bounding&&"static"===this._bounding.position&&this.renderer.setStyle(this._containment,"position","relative"),this._bounding=null}},{key:"getGridSize",value:function(){this._gridSize={x:1,y:1},this.rzGrid&&("number"==typeof this.rzGrid?this._gridSize={x:this.rzGrid,y:this.rzGrid}:Array.isArray(this.rzGrid)&&(this._gridSize={x:this.rzGrid[0],y:this.rzGrid[1]}))}}]),e}()).\u0275fac=function(e){return new(e||wM)(os(Sl),os(Dl))},wM.\u0275dir=wt({type:wM,selectors:[["","ngResizable",""]],inputs:{rzHandles:"rzHandles",rzAspectRatio:"rzAspectRatio",rzContainment:"rzContainment",rzGrid:"rzGrid",rzMinWidth:"rzMinWidth",rzMinHeight:"rzMinHeight",rzMaxWidth:"rzMaxWidth",rzMaxHeight:"rzMaxHeight",preventDefaultEvent:"preventDefaultEvent",ngResizable:"ngResizable"},outputs:{rzStart:"rzStart",rzResizing:"rzResizing",rzStop:"rzStop"},exportAs:["ngResizable"],features:[Tt]}),wM),IM=((bM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||bM)},bM.\u0275mod=yt({type:bM}),bM.\u0275inj=Be({imports:[[]]}),bM);function RM(e,t){return function(n,i){t(n,i,e)}}var LM,FM=((LM=function(){function e(t,n){S(this,e),this.document=t,this.platformId=n,this.documentIsAccessible=Xh(this.platformId)}return C(e,[{key:"check",value:function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}},{key:"get",value:function(e){if(!this.documentIsAccessible||!this.check(e))return"";e=encodeURIComponent(e);var t=this.getCookieRegExp(e).exec(this.document.cookie);try{return decodeURIComponent(t[1])}catch(n){return t[1]}}},{key:"getAll",value:function(){if(!this.documentIsAccessible)return{};var e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(function(t){var n=p(t.split("="),2),i=n[0],r=n[1];e[decodeURIComponent(i.replace(/^ /,""))]=decodeURIComponent(r)}),e}},{key:"set",value:function(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"Lax";if(this.documentIsAccessible){var s=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";n&&(s+="number"==typeof n?"expires="+new Date((new Date).getTime()+1e3*n*60*60*24).toUTCString()+";":"expires="+n.toUTCString()+";"),i&&(s+="path="+i+";"),r&&(s+="domain="+r+";"),!1===o&&"None"===a&&(o=!0,console.warn("[ngx-cookie-service] Cookie ".concat(e," was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130"))),o&&(s+="secure;"),s+="sameSite="+a+";",this.document.cookie=s}}},{key:"delete",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";this.documentIsAccessible&&this.set(e,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),t,n,i,r)}},{key:"deleteAll",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var o in r)r.hasOwnProperty(o)&&this.delete(o,e,t,n,i)}}},{key:"getCookieRegExp",value:function(e){var t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}}]),e}()).\u0275fac=function(e){return new(e||LM)(Li(ad),Li(cc))},LM.\u0275prov=Le({factory:function(){return new LM(Li(ad),Li(cc))},token:LM,providedIn:"root"}),LM=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([RM(0,Hi(ad)),RM(1,Hi(cc))],LM));function BM(e){return"string"==typeof e}var zM,VM,NM,HM,jM,UM,WM,GM,qM,YM,ZM=((YM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||YM)},YM.\u0275mod=yt({type:YM}),YM.\u0275inj=Be({imports:[[]]}),YM),QM=((qM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||qM)},qM.\u0275mod=yt({type:qM}),qM.\u0275inj=Be({imports:[[]]}),qM),XM=((GM=function(){function e(){S(this,e)}return C(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!BM(e))return e;if(e.length>t){if(i)return e.slice(0,t)+n;if(~e.indexOf(" ",t))return e.slice(0,e.indexOf(" ",t))+n}return e}}]),e}()).\u0275fac=function(e){return new(e||GM)},GM.\u0275pipe=_t({name:"shorten",type:GM,pure:!0}),GM),KM=((WM=function(){function e(){S(this,e)}return C(e,[{key:"transform",value:function(e){return BM(e)?function(e){var t,n=e.split(/\s/g),i=v(t=n)||b(t)||y(t)||g(),r=i[0],o=i.slice(1);return[r.toLowerCase().split(/(?=['|-])/g).map(function(e){return e.indexOf("-")+e.indexOf("'")>-2?e.slice(0,2).toUpperCase()+e.slice(2):e.slice(0,1).toUpperCase()+e.slice(1)}).join("")].concat(m(o)).join(" ")}(e):e}}]),e}()).\u0275fac=function(e){return new(e||WM)},WM.\u0275pipe=_t({name:"ucfirst",type:WM,pure:!0}),WM),JM=((UM=function(){function e(){S(this,e),this.latinMap={"\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":"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","\u1e9e":"SS","\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":"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","\xdf":"ss","\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"}}return C(e,[{key:"transform",value:function(e){var t=this;return BM(e)?e.replace(/[^A-Za-z0-9]/g,function(e){return t.latinMap[e]||e}):e}}]),e}()).\u0275fac=function(e){return new(e||UM)},UM.\u0275pipe=_t({name:"latinise",type:UM,pure:!0}),UM),$M=((jM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||jM)},jM.\u0275mod=yt({type:jM}),jM.\u0275inj=Be({imports:[[]]}),jM),eT=((HM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||HM)},HM.\u0275mod=yt({type:HM}),HM.\u0275inj=Be({imports:[[]]}),HM),tT=((NM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||NM)},NM.\u0275mod=yt({type:NM}),NM.\u0275inj=Be({imports:[[]]}),NM),nT=((VM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||VM)},VM.\u0275mod=yt({type:VM}),VM.\u0275inj=Be({imports:[[]]}),VM),iT=((zM=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||zM)},zM.\u0275mod=yt({type:zM}),zM.\u0275inj=Be({imports:[ZM,$M,eT,tT,QM,nT]}),zM);function rT(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.length?n.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var oT=new SE(kE);function aT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oT;return function(n){return n.lift(new lT(e,t))}}var sT,lT=function(){function e(t,n){S(this,e),this.dueTime=t,this.scheduler=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new uT(e,this.dueTime,this.scheduler))}}]),e}(),uT=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return C(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(cT,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(R);function cT(e){e.debouncedNext()}function dT(e){return null!=e&&""+e!="false"}function hT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function fT(e){return Array.isArray(e)?e:[e]}function pT(e){return null==e?"":"string"==typeof e?e:e+"px"}function gT(e){return e instanceof Sl?e.nativeElement:e}try{sT="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(_Q){sT=!1}var vT,mT,yT,bT,wT=function(){var e=C(function e(t){S(this,e),this._platformId=t,this.isBrowser=this._platformId?Xh(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&&!sT)&&"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.\u0275fac=function(t){return new(t||e)(Li(cc))},e.\u0275prov=Le({factory:function(){return new e(Li(cc))},token:e,providedIn:"root"}),e}(),_T=((bT=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||bT)},bT.\u0275mod=yt({type:bT}),bT.\u0275inj=Be({}),bT);function xT(e){return function(){if(null==vT&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return vT=!0}}))}finally{vT=vT||!1}return vT}()?e:!!e.capture}function kT(e){if(function(){if(null==yT){var e="undefined"!=typeof document?document.head:null;yT=!(!e||!e.createShadowRoot&&!e.attachShadow)}return yT}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}var AT,CT,ST,ET,PT=((ET=function(){function e(){S(this,e)}return C(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||ET)},ET.\u0275prov=Le({factory:function(){return new ET},token:ET,providedIn:"root"}),ET),DT=((ST=function(){function e(t){S(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return C(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=gT(e);return new V(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new G,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,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}()).\u0275fac=function(e){return new(e||ST)(Li(PT))},ST.\u0275prov=Le({factory:function(){return new ST(Li(PT))},token:ST,providedIn:"root"}),ST),OT=((CT=function(){function e(t,n,i){S(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new Bu,this._disabled=!1,this._currentSubscription=null}return C(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=dT(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=hT(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(aT(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||CT)(os(DT),os(Sl),os(Cc))},CT.\u0275dir=wt({type:CT,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),CT),MT=((AT=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||AT)},AT.\u0275mod=yt({type:AT}),AT.\u0275inj=Be({providers:[PT]}),AT);function TT(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var IT,RT=0,LT=new Map,FT=null,BT=((IT=function(){function e(t){S(this,e),this._document=t}return C(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=zT(t,n);"string"!=typeof t?(VT(t),LT.set(i,{messageElement:t,referenceCount:0})):LT.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=zT(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=LT.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}FT&&0===FT.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");FT&&this._deleteMessagesContainer(),LT.clear()}},{key:"_createMessageElement",value:function(e,t){var n=this._document.createElement("div");VT(n),n.textContent=e,t&&n.setAttribute("role",t),this._createMessagesContainer(),FT.appendChild(n),LT.set(zT(e,t),{messageElement:n,referenceCount:0})}},{key:"_deleteMessageElement",value:function(e){var t=LT.get(e),n=t&&t.messageElement;FT&&n&&FT.removeChild(n),LT.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!FT){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode&&e.parentNode.removeChild(e),(FT=this._document.createElement("div")).id="cdk-describedby-message-container",FT.style.visibility="hidden",FT.classList.add("cdk-visually-hidden"),this._document.body.appendChild(FT)}}},{key:"_deleteMessagesContainer",value:function(){FT&&FT.parentNode&&(FT.parentNode.removeChild(FT),FT=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=TT(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,i,r,o,a=LT.get(t);n=e,i="aria-describedby",r=a.messageElement.id,(o=TT(n,i)).some(function(e){return e.trim()==r.trim()})||(o.push(r.trim()),n.setAttribute(i,o.join(" "))),e.setAttribute("cdk-describedby-host",""),a.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,i,r,o,a=LT.get(t);a.referenceCount--,n=e,i="aria-describedby",r=a.messageElement.id,(o=TT(n,i).filter(function(e){return e!=r.trim()})).length?n.setAttribute(i,o.join(" ")):n.removeAttribute(i),e.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=TT(e,"aria-describedby"),i=LT.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}]),e}()).\u0275fac=function(e){return new(e||IT)(Li(ad))},IT.\u0275prov=Le({factory:function(){return new IT(Li(ad))},token:IT,providedIn:"root"}),IT);function zT(e,t){return"string"==typeof e?"".concat(t||"","/").concat(e):e}function VT(e){e.id||(e.id="cdk-describedby-message-"+RT++)}var NT,HT=function(){function e(t){var n=this;S(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new G,this._typeaheadSubscription=M.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new G,this.change=new G,t instanceof Vu&&t.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return C(e,[{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;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(cw(function(t){return e._pressedLetters.push(t)}),aT(t),Ly(function(){return e._pressedLetters.length>0}),Z(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i<n.length+1;i++){var r=(e._activeItemIndex+i)%n.length,o=n[r];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(r);break}}e._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||rT(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&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:"isTyping",value:function(){return this._pressedLetters.length>0}},{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),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{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 i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{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 Vu?this._items.toArray():this._items}}]),e}(),jT=function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),i(d(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(HT),UT=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.apply(this,arguments))._origin="program",e}return C(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){i(d(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(HT),WT=((NT=function(){function e(t){S(this,e),this._platform=t}return C(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(_Q){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===qT(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=qT(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(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))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){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")||GT(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}()).\u0275fac=function(e){return new(e||NT)(Li(wT))},NT.\u0275prov=Le({factory:function(){return new NT(Li(wT))},token:NT,providedIn:"root"}),NT);function GT(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 qT(e){if(!GT(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var YT,ZT=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];S(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return C(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{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,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(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),!this._checker.isFocusable(e)){var t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return 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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(jb(1)).subscribe(e)}}]),e}(),QT=((YT=function(){function e(t,n,i){S(this,e),this._checker=t,this._ngZone=n,this._document=i}return C(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new ZT(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||YT)(Li(WT),Li(Cc),Li(ad))},YT.\u0275prov=Le({factory:function(){return new YT(Li(WT),Li(Cc),Li(ad))},token:YT,providedIn:"root"}),YT);"undefined"!=typeof Element&∈var XT,KT=new yi("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),JT=new yi("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),$T=((XT=function(){function e(t,n,i,r){S(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return C(e,[{key:"announce",value:function(e){for(var t,n,i,r=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]?i=s[0]:(n=(t=p(s,2))[0],i=t[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=o&&o.politeness?o.politeness:"polite"),null==i&&o&&(i=o.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=e,t(),"number"==typeof i&&(r._previousTimeout=setTimeout(function(){return r.clear()},i))},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}}]),e}()).\u0275fac=function(e){return new(e||XT)(Li(KT,8),Li(Cc),Li(ad),Li(JT,8))},XT.\u0275prov=Le({factory:function(){return new XT(Li(KT,8),Li(Cc),Li(ad),Li(JT,8))},token:XT,providedIn:"root"}),XT);function eI(e){return 0===e.buttons}function tI(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}var nI,iI=new yi("cdk-focus-monitor-default-options"),rI=xT({passive:!0,capture:!0}),oI=((nI=function(){function e(t,n,i,r){var o=this;S(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=eI(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){tI(e)?o._lastTouchTarget||o._setOriginForCurrentEventQueue("keyboard"):(null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=aI(e),o._touchTimeoutId=setTimeout(function(){return o._lastTouchTarget=null},650))},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout(function(){return o._windowFocused=!1})},this._rootNodeFocusAndBlurListener=function(e){for(var t=aI(e),n="focus"===e.type?o._onFocus:o._onBlur,i=t;i;i=i.parentElement)n.call(o,e,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return C(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=gT(e);if(!this._platform.isBrowser||1!==n.nodeType)return Iy(null);var i=kT(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var o={checkChildren:t,subject:new G,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(e){var t=gT(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=gT(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=p(e,2),r=n[0],o=n[1];return i._originChanged(r,t,o)}):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=aI(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===aI(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,rI),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,rI)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,rI),e.addEventListener("mousedown",t._documentMousedownListener,rI),e.addEventListener("touchstart",t._documentTouchstartListener,rI),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,rI),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,rI),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,rI),i.removeEventListener("mousedown",this._documentMousedownListener,rI),i.removeEventListener("touchstart",this._documentTouchstartListener,rI),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}()).\u0275fac=function(e){return new(e||nI)(Li(Cc),Li(wT),Li(ad,8),Li(iI,8))},nI.\u0275prov=Le({factory:function(){return new nI(Li(Cc),Li(wT),Li(ad,8),Li(iI,8))},token:nI,providedIn:"root"}),nI);function aI(e){return e.composedPath?e.composedPath()[0]:e.target}var sI,lI,uI,cI,dI=((lI=function(){function e(t,n){S(this,e),this._platform=t,this._document=n}return C(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||lI)(Li(wT),Li(ad))},lI.\u0275prov=Le({factory:function(){return new lI(Li(wT),Li(ad))},token:lI,providedIn:"root"}),lI),hI=((sI=C(function e(t){S(this,e),t._applyBodyHighContrastModeCssClasses()})).\u0275fac=function(e){return new(e||sI)(Li(dI))},sI.\u0275mod=yt({type:sI}),sI.\u0275inj=Be({imports:[[_T,MT]]}),sI),fI=new yi("cdk-dir-doc",{providedIn:"root",factory:function(){return Fi(ad)}}),pI=((cI=function(){function e(t){if(S(this,e),this.value="ltr",this.change=new Bu,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return C(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||cI)(Li(fI,8))},cI.\u0275prov=Le({factory:function(){return new cI(Li(fI,8))},token:cI,providedIn:"root"}),cI),gI=((uI=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||uI)},uI.\u0275mod=yt({type:uI}),uI.\u0275inj=Be({}),uI),vI=new Tl("11.2.5");function mI(e,t){if(1&e&&cs(0,"mat-pseudo-checkbox",4),2&e){var n=ks();as("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function yI(e,t){if(1&e&&(ls(0,"span",5),Xs(1),us()),2&e){var n=ks();Ao(1),Js("(",n.group.label,")")}}var bI,wI=["*"],_I=function(){var e=C(function e(){S(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}(),xI=function(){var e=C(function e(){S(this,e)});return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),kI=new Tl("11.2.5"),AI=new yi("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),CI=((bI=function(){function e(t,n,i){S(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return C(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return zc()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!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._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&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(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&kI.full!==vI.full&&console.warn("The Angular Material version ("+kI.full+") does not match the Angular CDK version ("+vI.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275fac=function(e){return new(e||bI)(Li(dI),Li(AI,8),Li(ad))},bI.\u0275mod=yt({type:bI}),bI.\u0275inj=Be({imports:[[gI],gI]}),bI);function SI(e){return function(e){o(n,e);var t=s(n);function n(){var e;S(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._disabled=!1,e}return C(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=dT(e)}}]),n}(e)}function EI(e,t){return function(e){o(i,e);var n=s(i);function i(){var e;S(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).defaultColor=t,e.color=t,e}return C(i,[{key:"color",get:function(){return this._color},set:function(e){var t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}]),i}(e)}function PI(e){return function(e){o(n,e);var t=s(n);function n(){var e;S(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._disableRipple=!1,e}return C(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=dT(e)}}]),n}(e)}function DI(e){return function(e){o(n,e);var t=s(n);function n(){var e;S(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new V(function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)}),e}return C(n,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}]),n}(e)}try{"undefined"!=typeof Intl}catch(_Q){!1}var OI,MI,TI,II,RI,LI,FI,BI,zI,VI=((MI=function(){function e(){S(this,e)}return C(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}()).\u0275fac=function(e){return new(e||MI)},MI.\u0275prov=Le({factory:function(){return new MI},token:MI,providedIn:"root"}),MI),NI=((OI=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||OI)},OI.\u0275mod=yt({type:OI}),OI.\u0275inj=Be({imports:[[CI],CI]}),OI),HI=function(){function e(t,n,i){S(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return C(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),jI={enterDuration:450,exitDuration:400},UI=xT({passive:!0}),WI=["mousedown","touchstart"],GI=["mouseup","mouseleave","touchend","touchcancel"],qI=function(){function e(t,n,i,r){S(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=gT(i))}return C(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},jI),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,l=t-r.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",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var d=new HI(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(function(){var e=d===n._mostRecentTransientRipple;d.state=1,i.persistent||e&&n._isPointerDown||d.fadeOut()},u),d}},{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,i=Object.assign(Object.assign({},jI),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=gT(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(WI))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(GI),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=eI(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled&&!tI(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{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:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,UI)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(WI.forEach(function(t){e._triggerElement.removeEventListener(t,e,UI)}),this._pointerUpEventsRegistered&&GI.forEach(function(t){e._triggerElement.removeEventListener(t,e,UI)}))}}]),e}(),YI=new yi("mat-ripple-global-options"),ZI=((LI=function(){function e(t,n,i,r,o){S(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new qI(this,n,t,i)}return C(e,[{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(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),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(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}()).\u0275fac=function(e){return new(e||LI)(os(Sl),os(Cc),os(wT),os(YI,8),os(xv,8))},LI.\u0275dir=wt({type:LI,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&Bs("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),LI),QI=((RI=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||RI)},RI.\u0275mod=yt({type:RI}),RI.\u0275inj=Be({imports:[[CI,_T],CI]}),RI),XI=((II=C(function e(t){S(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1})).\u0275fac=function(e){return new(e||II)(os(xv,8))},II.\u0275cmp=pt({type:II,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&Bs("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),II),KI=((TI=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||TI)},TI.\u0275mod=yt({type:TI}),TI.\u0275inj=Be({imports:[[CI]]}),TI),JI=new yi("MAT_OPTION_PARENT_COMPONENT"),$I=SI(C(function e(){S(this,e)})),eR=0,tR=((FI=function(e){o(n,e);var t=s(n);function n(e){var i,r;return S(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+eR++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return C(n)}($I)).\u0275fac=function(e){return new(e||FI)(os(JI,8))},FI.\u0275dir=wt({type:FI,inputs:{label:"label"},features:[Va]}),FI),nR=new yi("MatOptgroup"),iR=0,rR=C(function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];S(this,e),this.source=t,this.isUserInput=n}),oR=((zI=function(){function e(t,n,i,r){S(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+iR++,this.onSelectionChange=new Bu,this._stateChanges=new G}return C(e,[{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=dT(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){13!==e.keyCode&&32!==e.keyCode||rT(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 rR(this,e))}}]),e}()).\u0275fac=function(e){return new(e||zI)(os(Sl),os(Jl),os(void 0),os(tR))},zI.\u0275dir=wt({type:zI,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),zI),aR=((BI=function(e){o(n,e);var t=s(n);function n(e,i,r,o){return S(this,n),t.call(this,e,i,r,o)}return C(n)}(oR)).\u0275fac=function(e){return new(e||BI)(os(Sl),os(Jl),os(JI,8),os(nR,8))},BI.\u0275cmp=pt({type:BI,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&ys("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(il("id",t.id),es("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),Bs("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[Va],ngContentSelectors:wI,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(Cs(),is(0,mI,1,2,"mat-pseudo-checkbox",0),ls(1,"span",1),Ss(2),us(),is(3,yI,2,1,"span",2),cs(4,"div",3)),2&e&&(as("ngIf",t.multiple),Ao(3),as("ngIf",t.group&&t.group._inert),Ao(1),as("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[yh,ZI,XI],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),BI);function sR(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;a<e+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}var lR,uR=((lR=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||lR)},lR.\u0275mod=yt({type:lR}),lR.\u0275inj=Be({imports:[[QI,Qh,CI,KI]]}),lR),cR=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return C(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(d(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(d(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(kE),dR=new(function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(SE))(cR),hR=1,fR=Promise.resolve(),pR={};function gR(e){return e in pR&&(delete pR[e],!0)}var vR=function(e){var t=hR++;return pR[t]=!0,fR.then(function(){return gR(t)&&e()}),t},mR=function(e){gR(e)},yR=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return C(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?i(d(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=vR(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return i(d(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(mR(t),e.scheduled=void 0)}}]),n}(kE),bR=new(function(e){o(n,e);var t=s(n);function n(){return S(this,n),t.apply(this,arguments)}return C(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(SE))(yR),wR=function(){function e(t){S(this,e),this.durationSelector=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new _R(e,this.durationSelector))}}]),e}(),_R=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).durationSelector=i,r.hasValue=!1,r}return C(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(i){return this.destination.error(i)}var n=se(t,new oe(this));!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=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(ae);function xR(e){return!E(e)&&e-parseFloat(e)+1>=0}function kR(){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,i=-1;return xR(t)?i=Number(t)<1?1:Number(t):Y(t)&&(n=t),Y(n)||(n=oT),new V(function(t){var r=xR(e)?e:+e-n.now();return n.schedule(AR,r,{index:0,period:i,subscriber:t})})}function AR(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function CR(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oT;return t=function(){return kR(e,n)},function(e){return e.lift(new wR(t))}}function SR(e){return function(t){return t.lift(new MR(e))}}var ER,PR,DR,OR,MR=function(){function e(t){S(this,e),this.notifier=t}return C(e,[{key:"call",value:function(e,t){var n=new TR(e),i=se(this.notifier,new oe(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),TR=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this,e)).seenValue=!1,i}return C(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(ae),IR=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];S(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new G,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return C(e,[{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),i=0;i<t;i++)n[i]=arguments[i];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),i=0;i<t;i++)n[i]=arguments[i];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){}}]),e}(),RR=((OR=function(){function e(t,n,i){S(this,e),this._ngZone=t,this._platform=n,this._scrolled=new G,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return C(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new V(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(CR(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Iy()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Ly(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=gT(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Ek(e._getWindow().document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||OR)(Li(Cc),Li(wT),Li(ad,8))},OR.\u0275prov=Le({factory:function(){return new OR(Li(Cc),Li(wT),Li(ad,8))},token:OR,providedIn:"root"}),OR),LR=((DR=function(){function e(t,n,i){var r=this;S(this,e),this._platform=t,this._change=new G,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._updateViewportSize()})})}return C(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(CR(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||DR)(Li(wT),Li(Cc),Li(ad,8))},DR.\u0275prov=Le({factory:function(){return new DR(Li(wT),Li(Cc),Li(ad,8))},token:DR,providedIn:"root"}),DR),FR=((PR=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||PR)},PR.\u0275mod=yt({type:PR}),PR.\u0275inj=Be({}),PR),BR=((ER=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||ER)},ER.\u0275mod=yt({type:ER}),ER.\u0275inj=Be({imports:[[gI,_T,FR],gI,FR]}),ER),zR=function(){function e(t,n){S(this,e),this.predicate=t,this.inclusive=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new VR(e,this.predicate,this.inclusive))}}]),e}(),VR=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).predicate=i,o.inclusive=r,o.index=0,o}return C(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(R),NR=function(){if(null==mT){if("object"!=typeof document||!document)return mT=!1;if("scrollBehavior"in document.documentElement.style)mT=!0;else{var e=Element.prototype.scrollTo;mT=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return mT}(),HR=function(){function e(t,n){S(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return C(e,[{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=pT(-this._previousScrollPosition.left),e.style.top=pT(-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,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),NR&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),NR&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{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}}]),e}(),jR=function(){function e(t,n,i,r){var o=this;S(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return C(e,[{key:"attach",value:function(e){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}}]),e}(),UR=function(){function e(){S(this,e)}return C(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function WR(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 GR(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 qR,YR,ZR,QR,XR,KR=function(){function e(t,n,i,r){S(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return C(e,[{key:"attach",value:function(e){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(),i=n.width,r=n.height;WR(t,[{width:i,height:r,bottom:r,right:i,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}}]),e}(),JR=((qR=C(function e(t,n,i,r){var o=this;S(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new UR},this.close=function(e){return new jR(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new HR(o._viewportRuler,o._document)},this.reposition=function(e){return new KR(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r})).\u0275fac=function(e){return new(e||qR)(Li(RR),Li(LR),Li(Cc),Li(ad))},qR.\u0275prov=Le({factory:function(){return new qR(Li(RR),Li(LR),Li(Cc),Li(ad))},token:qR,providedIn:"root"}),qR),$R=C(function e(t){if(S(this,e),this.scrollStrategy=new UR,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];void 0!==t[r]&&(this[r]=t[r])}}),eL=C(function e(t,n,i,r,o){S(this,e),this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}),tL=C(function e(t,n){S(this,e),this.connectionPair=t,this.scrollableViewProperties=n}),nL=((QR=function(){function e(t){S(this,e),this._attachedOverlays=[],this._document=t}return C(e,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(e){this.remove(e),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()}}]),e}()).\u0275fac=function(e){return new(e||QR)(Li(ad))},QR.\u0275prov=Le({factory:function(){return new QR(Li(ad))},token:QR,providedIn:"root"}),QR),iL=((ZR=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return C(n,[{key:"add",value:function(e){i(d(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(nL)).\u0275fac=function(e){return new(e||ZR)(Li(ad))},ZR.\u0275prov=Le({factory:function(){return new ZR(Li(ad))},token:ZR,providedIn:"root"}),ZR),rL=((YR=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var o=n[i];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},r}return C(n,[{key:"add",value:function(e){i(d(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(nL)).\u0275fac=function(e){return new(e||YR)(Li(ad),Li(wT))},YR.\u0275prov=Le({factory:function(){return new YR(Li(ad),Li(wT))},token:YR,providedIn:"root"}),YR),oL=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),aL=((XR=function(){function e(t,n){S(this,e),this._platform=n,this._document=t}return C(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||oL)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),oL?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}]),e}()).\u0275fac=function(e){return new(e||XR)(Li(ad),Li(wT))},XR.\u0275prov=Le({factory:function(){return new XR(Li(ad),Li(wT))},token:XR,providedIn:"root"}),XR),sL=function(){function e(t,n,i,r,o,a,s,l,u){var c=this;S(this,e),this._portalOutlet=t,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=u,this._backdropElement=null,this._backdropClick=new G,this._attachments=new G,this._detachments=new G,this._locationChanges=M.EMPTY,this._backdropClickHandler=function(e){return c._backdropClick.next(e)},this._keydownEvents=new G,this._outsidePointerEvents=new G,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return C(e,[{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._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(jb(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._locationChanges=this._location.subscribe(function(){return t.dispose()})),this._outsideClickDispatcher.add(this),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(),this._outsideClickDispatcher.remove(this),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._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),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}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{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(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(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=pT(this._config.width),e.height=pT(this._config.height),e.minWidth=pT(this._config.minWidth),e.minHeight=pT(this._config.minHeight),e.maxWidth=pT(this._config.maxWidth),e.maxHeight=pT(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"":"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 i=function i(){n&&(n.removeEventListener("click",t._backdropClickHandler),n.removeEventListener("transitionend",i),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",i)}),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(e,t,n){var i=e.classList;fT(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.pipe(SR(fe(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())}}]),e}(),lL=/([A-Za-z%]+)$/,uL=function(){function e(t,n,i,r,o){S(this,e),this._viewportRuler=n,this._document=i,this._platform=r,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 G,this._resizeSubscription=M.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}return C(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;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,i=this._overlayRect,r=this._viewportRect,o=[],a=f(this._preferredPositions);try{for(a.s();!(t=a.n()).done;){var s=t.value,l=this._getOriginPoint(n,s),u=this._getOverlayPoint(l,i,s),c=this._getOverlayFit(u,i,r,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,r)?o.push({position:s,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:i})}}catch(y){a.e(y)}finally{a.f()}if(o.length){var d,h=null,p=-1,g=f(o);try{for(g.s();!(d=g.n()).done;){var v=d.value,m=v.boundingBoxRect.width*v.boundingBoxRect.height*(v.position.weight||1);m>p&&(p=m,h=v)}}catch(y){g.e(y)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(h.position,h.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&&cL(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 i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}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 i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=hL(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(o+=s),l&&(a+=l);var u=0-a,c=a+r.height-n.height,d=this._subtractOverflows(r.width,0-o,o+r.width-n.width),h=this._subtractOverflows(r.height,u,c),f=d*h;return{visibleArea:f,isCompletelyWithinViewport:r.width*r.height===f,fitsInViewportVertically:h===r.height,fitsInViewportHorizontally:d==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=dL(this._overlayRef.getConfig().minHeight),a=dL(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&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 i,r,o=hL(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),l=Math.max(e.y+o.height-a.height,0),u=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?c||-s:e.x<this._viewportMargin?a.left-n.left-e.x:0,r=o.height<=a.height?u||-l:e.y<this._viewportMargin?a.top-n.top-e.y:0,this._previousPushAmount={x:i,y:r},{x:e.x+i,y:e.y+r}}},{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(),i=new tL(e,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(t," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,i,r,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)i=e.y,n=l.height-i+this._viewportMargin;else if("bottom"===t.overlayY)r=l.height-e.y+2*this._viewportMargin,n=l.height-r+this._viewportMargin;else{var c=Math.min(l.bottom-e.y+l.top,e.y),d=this._lastBoundingBoxSize.height;n=2*c,i=e.y-c,n>d&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/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 h=Math.min(l.right-e.x+l.left,e.x),f=this._lastBoundingBoxSize.width;o=2*h,a=e.x-h,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:i,left:a,bottom:r,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.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=pT(n.height),i.top=pT(n.top),i.bottom=pT(n.bottom),i.width=pT(n.width),i.left=pT(n.left),i.right=pT(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",r&&(i.maxHeight=pT(r)),o&&(i.maxWidth=pT(o))}this._lastBoundingBoxSize=n,cL(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){cL(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){cL(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();cL(n,this._getExactOverlayY(t,e,a)),cL(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=pT(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=pT(o.maxWidth):r&&(n.maxWidth="")),cL(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=pT(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=pT(r.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:GR(e,n),isOriginOutsideView:WR(e,n),isOverlayClipped:GR(t,n),isOverlayOutsideView:WR(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return 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(){}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&fT(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;this._pane&&(this._appliedPanelClasses.forEach(function(t){e._pane.classList.remove(t)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof Sl)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)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}}}]),e}();function cL(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function dL(e){if("number"!=typeof e&&null!=e){var t=p(e.split(lL),2),n=t[0],i=t[1];return i&&"px"!==i?null:parseFloat(n)}return e||null}function hL(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}var fL,pL,gL,vL,mL,yL=function(){function e(t,n,i,r,o,a,s){S(this,e),this._preferredPositions=[],this._positionStrategy=new uL(i,r,o,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n),this.onPositionChange=this._positionStrategy.positionChanges}return C(e,[{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,i){var r=new eL(e,t,n,i);return this._preferredPositions.push(r),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}}]),e}(),bL=function(){function e(){S(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return C(e,[{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(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"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=l?"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}}}]),e}(),wL=((pL=function(){function e(t,n,i,r){S(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return C(e,[{key:"global",value:function(){return new bL}},{key:"connectedTo",value:function(e,t,n){return new yL(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new uL(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||pL)(Li(LR),Li(ad),Li(wT),Li(aL))},pL.\u0275prov=Le({factory:function(){return new pL(Li(LR),Li(ad),Li(wT),Li(aL))},token:pL,providedIn:"root"}),pL),_L=0,xL=((fL=function(){function e(t,n,i,r,o,a,s,l,u,c,d){S(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=l,this._directionality=u,this._location=c,this._outsideClickDispatcher=d}return C(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new $R(e);return r.direction=r.direction||this._directionality.value,new sL(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{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(qc)),new EP(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||fL)(Li(JR),Li(aL),Li(xl),Li(wL),Li(iL),Li(Ba),Li(Cc),Li(ad),Li(pI),Li(Sd),Li(rL))},fL.\u0275prov=Le({token:fL,factory:fL.\u0275fac}),fL),kL=[{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"}],AL=new yi("cdk-connected-overlay-scroll-strategy"),CL=((vL=C(function e(t){S(this,e),this.elementRef=t})).\u0275fac=function(e){return new(e||vL)(os(Sl))},vL.\u0275dir=wt({type:vL,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),vL),SL=((gL=function(){function e(t,n,i,r,o){S(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=M.EMPTY,this._attachSubscription=M.EMPTY,this._detachSubscription=M.EMPTY,this._positionSubscription=M.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Bu,this.positionChange=new Bu,this.attach=new Bu,this.detach=new Bu,this.overlayKeydown=new Bu,this.overlayOutsideClick=new Bu,this._templatePortal=new AP(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return C(e,[{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=dT(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=dT(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=dT(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=dT(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=dT(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{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=kL);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),27!==t.keyCode||e.disableClose||rT(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new $R({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).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{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.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new zR(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||gL)(os(xL),os(ru),os(cu),os(AL),os(pI,8))},gL.\u0275dir=wt({type:gL,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Tt]}),gL),EL={provide:AL,deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},PL=((mL=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||mL)},mL.\u0275mod=yt({type:mL}),mL.\u0275inj=Be({providers:[xL,EL],imports:[[gI,DP,BR],BR]}),mL),DL=["underline"],OL=["connectionContainer"],ML=["inputContainer"],TL=["label"];function IL(e,t){1&e&&(ds(0),ls(1,"div",14),cs(2,"div",15),cs(3,"div",16),cs(4,"div",17),us(),ls(5,"div",18),cs(6,"div",15),cs(7,"div",16),cs(8,"div",17),us(),hs())}function RL(e,t){1&e&&(ls(0,"div",19),Ss(1,1),us())}function LL(e,t){if(1&e&&(ds(0),Ss(1,2),ls(2,"span"),Xs(3),us(),hs()),2&e){var n=ks(2);Ao(3),Ks(n._control.placeholder)}}function FL(e,t){1&e&&Ss(0,3,["*ngSwitchCase","true"])}function BL(e,t){1&e&&(ls(0,"span",23),Xs(1," *"),us())}function zL(e,t){if(1&e){var n=ps();ls(0,"label",20,21),ys("cdkObserveContent",function(){return rn(n),ks().updateOutlineGap()}),is(2,LL,4,1,"ng-container",12),is(3,FL,1,0,"ng-content",12),is(4,BL,2,0,"span",22),us()}if(2&e){var i=ks();Bs("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),as("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),es("for",i._control.id)("aria-owns",i._control.id),Ao(2),as("ngSwitchCase",!1),Ao(1),as("ngSwitchCase",!0),Ao(1),as("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function VL(e,t){1&e&&(ls(0,"div",24),Ss(1,4),us())}function NL(e,t){if(1&e&&(ls(0,"div",25,26),cs(2,"span",27),us()),2&e){var n=ks();Ao(2),Bs("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function HL(e,t){1&e&&(ls(0,"div"),Ss(1,5),us()),2&e&&as("@transitionMessages",ks()._subscriptAnimationState)}function jL(e,t){if(1&e&&(ls(0,"div",31),Xs(1),us()),2&e){var n=ks(2);as("id",n._hintLabelId),Ao(1),Ks(n.hintLabel)}}function UL(e,t){if(1&e&&(ls(0,"div",28),is(1,jL,2,2,"div",29),Ss(2,6),cs(3,"div",30),Ss(4,7),us()),2&e){var n=ks();as("@transitionMessages",n._subscriptAnimationState),Ao(1),as("ngIf",n.hintLabel)}}var WL,GL,qL,YL,ZL,QL=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],XL=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],KL=new yi("MatError"),JL={transitionMessages:Kf("transitionMessages",[tp("enter",ep({opacity:1,transform:"translateY(0%)"})),ip("void => enter",[ep({opacity:0,transform:"translateY(-5px)"}),Jf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$L=((WL=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||WL)},WL.\u0275dir=wt({type:WL}),WL),eF=new yi("MatHint"),tF=((qL=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||qL)},qL.\u0275dir=wt({type:qL,selectors:[["mat-label"]]}),qL),nF=((GL=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||GL)},GL.\u0275dir=wt({type:GL,selectors:[["mat-placeholder"]]}),GL),iF=new yi("MatPrefix"),rF=new yi("MatSuffix"),oF=0,aF=EI(C(function e(t){S(this,e),this._elementRef=t}),"primary"),sF=new yi("MAT_FORM_FIELD_DEFAULT_OPTIONS"),lF=new yi("MatFormField"),uF=((ZL=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s,l,u){var c;return S(this,n),(c=t.call(this,e))._elementRef=e,c._changeDetectorRef=i,c._dir=o,c._defaults=a,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new G,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-"+oF++,c._labelId="mat-form-field-label-"+oF++,c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==u,c.appearance=a&&a.appearance?a.appearance:"legacy",c._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,c}return C(n,[{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=dT(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value: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._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{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(Gb(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(SR(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(SR(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Gb(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Gb(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(SR(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{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._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&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._label&&(this._showAlwaysAnimate=!0,Ek(this._label.nativeElement,"transitionend").pipe(jb(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,m(this._control.userAriaDescribedBy.split(" "))),"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.push.apply(e,m(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{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(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=e.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,d=0;d<l.length;d++)c+=l[d].offsetWidth;t=Math.abs(u-s)-5,n=c>0?.75*c+10:0}for(var h=0;h<r.length;h++)r[h].style.width=t+"px";for(var f=0;f<o.length;f++)o[f].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}]),n}(aF)).\u0275fac=function(e){return new(e||ZL)(os(Sl),os(Jl),os(Sl),os(pI,8),os(sF,8),os(wT),os(Cc),os(xv,8))},ZL.\u0275cmp=pt({type:ZL,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;1&e&&(Ku(n,$L,1),Ku(n,$L,3),Ku(n,tF,1),Ku(n,tF,3),Ku(n,nF,1),Ku(n,KL,1),Ku(n,eF,1),Ku(n,iF,1),Ku(n,rF,1)),2&e&&(Qu(i=Ju())&&(t._controlNonStatic=i.first),Qu(i=Ju())&&(t._controlStatic=i.first),Qu(i=Ju())&&(t._labelChildNonStatic=i.first),Qu(i=Ju())&&(t._labelChildStatic=i.first),Qu(i=Ju())&&(t._placeholderChild=i.first),Qu(i=Ju())&&(t._errorChildren=i),Qu(i=Ju())&&(t._hintChildren=i),Qu(i=Ju())&&(t._prefixChildren=i),Qu(i=Ju())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;1&e&&(Xu(DL,1),Xu(OL,3),Xu(ML,1),Xu(TL,1)),2&e&&(Qu(n=Ju())&&(t.underlineRef=n.first),Qu(n=Ju())&&(t._connectionContainerRef=n.first),Qu(n=Ju())&&(t._inputContainerRef=n.first),Qu(n=Ju())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&Bs("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[bl([{provide:lF,useExisting:ZL}]),Va],ngContentSelectors:XL,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(Cs(QL),ls(0,"div",0),ls(1,"div",1,2),ys("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),is(3,IL,9,0,"ng-container",3),is(4,RL,2,0,"div",4),ls(5,"div",5,6),Ss(7),ls(8,"span",7),is(9,zL,5,16,"label",8),us(),us(),is(10,VL,2,0,"div",9),us(),is(11,NL,3,4,"div",10),ls(12,"div",11),is(13,HL,2,1,"div",12),is(14,UL,5,2,"div",13),us(),us()),2&e&&(Ao(3),as("ngIf","outline"==t.appearance),Ao(1),as("ngIf",t._prefixChildren.length),Ao(5),as("ngIf",t._hasFloatingLabel()),Ao(1),as("ngIf",t._suffixChildren.length),Ao(1),as("ngIf","outline"!=t.appearance),Ao(1),as("ngSwitch",t._getDisplayedMessages()),Ao(1),as("ngSwitchCase","error"),Ao(1),as("ngSwitchCase","hint"))},directives:[yh,Eh,Ph,OT],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[JL.transitionMessages]},changeDetection:0}),ZL),cF=((YL=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||YL)},YL.\u0275mod=yt({type:YL}),YL.\u0275inj=Be({imports:[[Qh,CI,MT],CI]}),YL);function dF(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oT,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new vF(i,n))}}var hF,fF,pF,gF,vF=function(){function e(t,n){S(this,e),this.delay=t,this.scheduler=n}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new mF(e,this.delay,this.scheduler))}}]),e}(),mF=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return C(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new yF(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(ME.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(ME.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(R),yF=C(function e(t,n){S(this,e),this.time=t,this.notification=n}),bF={provide:new yi("mat-autocomplete-scroll-strategy"),deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},wF=((fF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||fF)},fF.\u0275mod=yt({type:fF}),fF.\u0275inj=Be({providers:[bF],imports:[[PL,uR,CI,Qh],FR,uR,CI]}),fF),_F=((hF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||hF)},hF.\u0275mod=yt({type:hF}),hF.\u0275inj=Be({imports:[[hI,CI],CI]}),hF),xF=function(){function e(t){S(this,e),this.total=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new kF(e,this.total))}}]),e}(),kF=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return C(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(R),AF=new Set,CF=((gF=function(){function e(t){S(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):SF}return C(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!AF.has(e))try{pF||((pF=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(pF)),pF.sheet&&(pF.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),AF.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}()).\u0275fac=function(e){return new(e||gF)(Li(wT))},gF.\u0275prov=Le({factory:function(){return new gF(Li(wT))},token:gF,providedIn:"root"}),gF);function SF(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var EF,PF=((EF=function(){function e(t,n){S(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new G}return C(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return DF(fT(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=Ob(DF(fT(e)).map(function(e){return t._registerQuery(e).observable}));return(n=Rb(n.pipe(jb(1)),n.pipe(function(e){return e.lift(new xF(1))},aT(0)))).pipe(Z(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),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),i={observable:new V(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Gb(n),Z(function(t){var n=t.matches;return{query:e,matches:n}}),SR(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}()).\u0275fac=function(e){return new(e||EF)(Li(CF),Li(Cc))},EF.\u0275prov=Le({factory:function(){return new EF(Li(CF),Li(Cc))},token:EF,providedIn:"root"}),EF);function DF(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}function OF(e,t){}var MF,TF,IF,RF,LF,FF,BF,zF,VF=new yi("MatBottomSheetData"),NF=C(function e(){S(this,e),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}),HF={bottomSheetState:Kf("state",[tp("void, hidden",ep({transform:"translateY(100%)"})),tp("visible",ep({transform:"translateY(0%)"})),ip("visible => void, visible => hidden",Jf("".concat(xI.COMPLEX," ").concat(_I.ACCELERATION_CURVE))),ip("void => visible",Jf("".concat(xI.EXITING," ").concat(_I.DECELERATION_CURVE)))])},jF=((TF=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s){var l;return S(this,n),(l=t.call(this))._elementRef=e,l._changeDetectorRef=i,l._focusTrapFactory=r,l.bottomSheetConfig=s,l._animationState="void",l._animationStateChanged=new Bu,l._elementFocusedBeforeOpened=null,l.attachDomPortal=function(e){return l._validatePortalAttached(),l._setPanelClass(),l._savePreviouslyFocusedElement(),l._portalOutlet.attachDomPortal(e)},l._document=a,l._breakpointSubscription=o.observe(["(min-width: 960px) and (max-width: 1279.98px)","(min-width: 1280px) and (max-width: 1919.98px)","(min-width: 1920px)"]).subscribe(function(){l._toggleClass("mat-bottom-sheet-container-medium",o.isMatched("(min-width: 960px) and (max-width: 1279.98px)")),l._toggleClass("mat-bottom-sheet-container-large",o.isMatched("(min-width: 1280px) and (max-width: 1919.98px)")),l._toggleClass("mat-bottom-sheet-container-xlarge",o.isMatched("(min-width: 1920px)"))}),l}return C(n,[{key:"attachComponentPortal",value:function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(e){"hidden"===e.toState?this._restoreFocus():"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_toggleClass",value:function(e,t){var n=this._elementRef.nativeElement.classList;t?n.add(e):n.remove(e)}},{key:"_validatePortalAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_setPanelClass",value:function(){var e=this._elementRef.nativeElement,t=this.bottomSheetConfig.panelClass;Array.isArray(t)?t.forEach(function(t){return e.classList.add(t)}):t&&e.classList.add(t)}},{key:"_trapFocus",value:function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._getActiveElement();t===e||e.contains(t)||e.focus()}}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&e&&"function"==typeof e.focus){var t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var e=this;this._elementFocusedBeforeOpened=this._getActiveElement(),this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return e._elementRef.nativeElement.focus()})}},{key:"_getActiveElement",value:function(){var e,t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}]),n}(SP)).\u0275fac=function(e){return new(e||TF)(os(Sl),os(Jl),os(QT),os(PF),os(ad,8),os(NF))},TF.\u0275cmp=pt({type:TF,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(e,t){var n;1&e&&Xu(PP,3),2&e&&Qu(n=Ju())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(e,t){1&e&&bs("@state.start",function(e){return t._onAnimationStart(e)})("@state.done",function(e){return t._onAnimationDone(e)}),2&e&&(es("aria-label",null==t.bottomSheetConfig?null:t.bottomSheetConfig.ariaLabel),rl("@state",t._animationState))},features:[Va],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&is(0,OF,0,0,"ng-template",0)},directives:[PP],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[HF.bottomSheetState]}}),TF),UF=((MF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||MF)},MF.\u0275mod=yt({type:MF}),MF.\u0275inj=Be({imports:[[PL,CI,DP],CI]}),MF),WF=function(){function e(t,n){var i=this;S(this,e),this._overlayRef=n,this._afterDismissed=new G,this._afterOpened=new G,this.containerInstance=t,this.disableClose=t.bottomSheetConfig.disableClose,t._animationStateChanged.pipe(Ly(function(e){return"done"===e.phaseName&&"visible"===e.toState}),jb(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),t._animationStateChanged.pipe(Ly(function(e){return"done"===e.phaseName&&"hidden"===e.toState}),jb(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),n.dispose()}),n.detachments().pipe(jb(1)).subscribe(function(){i._afterDismissed.next(i._result),i._afterDismissed.complete()}),fe(n.backdropClick(),n.keydownEvents().pipe(Ly(function(e){return 27===e.keyCode}))).subscribe(function(e){i.disableClose||"keydown"===e.type&&rT(e)||(e.preventDefault(),i.dismiss())})}return C(e,[{key:"dismiss",value:function(e){var t=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(Ly(function(e){return"start"===e.phaseName}),jb(1)).subscribe(function(e){t._closeFallbackTimeout=setTimeout(function(){t._overlayRef.dispose()},e.totalTime+100),t._overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit())}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}}]),e}(),GF=new yi("mat-bottom-sheet-default-options"),qF=((IF=function(){function e(t,n,i,r){S(this,e),this._overlay=t,this._injector=n,this._parentBottomSheet=i,this._defaultOptions=r,this._bottomSheetRefAtThisLevel=null}return C(e,[{key:"_openedBottomSheetRef",get:function(){var e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}},{key:"open",value:function(e,t){var n=this,i=function(e,t){return Object.assign(Object.assign({},e),t)}(this._defaultOptions||new NF,t),r=this._createOverlay(i),o=this._attachContainer(r,i),a=new WF(o,r);if(e instanceof ru)o.attachTemplatePortal(new AP(e,null,{$implicit:i.data,bottomSheetRef:a}));else{var s=new kP(e,void 0,this._createInjector(i,a)),l=o.attachComponentPortal(s);a.instance=l.instance}return a.afterDismissed().subscribe(function(){n._openedBottomSheetRef==a&&(n._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return a.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}},{key:"dismiss",value:function(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},{key:"_attachContainer",value:function(e,t){var n=Ba.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:NF,useValue:t}]}),i=new kP(jF,t.viewContainerRef,n);return e.attach(i).instance}},{key:"_createOverlay",value:function(e){var t=new $R({direction:e.direction,hasBackdrop:e.hasBackdrop,disposeOnNavigation:e.closeOnNavigation,maxWidth:"100%",scrollStrategy:e.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return e.backdropClass&&(t.backdropClass=e.backdropClass),this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:WF,useValue:t},{provide:VF,useValue:e.data}];return!e.direction||n&&n.get(pI,null)||i.push({provide:pI,useValue:{value:e.direction,change:Iy()}}),Ba.create({parent:n||this._injector,providers:i})}}]),e}()).\u0275fac=function(e){return new(e||IF)(Li(xL),Li(Ba),Li(IF,12),Li(GF,8))},IF.\u0275prov=Le({factory:function(){return new IF(Li(xL),Li(_a),Li(IF,12),Li(GF,8))},token:IF,providedIn:UF}),IF),YF=["mat-button",""],ZF=["*"],QF=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],XF=EI(SI(PI(C(function e(t){S(this,e),this._elementRef=t})))),KF=((zF=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;S(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=f(QF);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.isRoundButton&&(o.color="accent"),o}return C(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(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),i=0;i<t;i++)n[i]=arguments[i];return n.some(function(t){return e._getHostElement().hasAttribute(t)})}}]),n}(XF)).\u0275fac=function(e){return new(e||zF)(os(Sl),os(oI),os(xv,8))},zF.\u0275cmp=pt({type:zF,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&Xu(ZI,1),2&e&&Qu(n=Ju())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(es("disabled",t.disabled||null),Bs("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Va],attrs:YF,ngContentSelectors:ZF,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(Cs(),ls(0,"span",0),Ss(1),us(),cs(2,"span",1),cs(3,"span",2)),2&e&&(Ao(2),Bs("mat-button-ripple-round",t.isRoundButton||t.isIconButton),as("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[ZI],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),zF),JF=((BF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||BF)},BF.\u0275mod=yt({type:BF}),BF.\u0275inj=Be({imports:[[QI,CI],CI]}),BF),$F=((FF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||FF)},FF.\u0275mod=yt({type:FF}),FF.\u0275inj=Be({imports:[[CI],CI]}),FF),eB=((LF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||LF)},LF.\u0275mod=yt({type:LF}),LF.\u0275inj=Be({}),LF),tB=((RF=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||RF)},RF.\u0275mod=yt({type:RF}),RF.\u0275inj=Be({imports:[[QI,CI,MT,eB],CI,eB]}),RF);function nB(e,t){}var iB,rB,oB=C(function e(){S(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}),aB={dialogContainer:Kf("dialogContainer",[tp("void, exit",ep({opacity:0,transform:"scale(0.7)"})),tp("enter",ep({transform:"none"})),ip("* => enter",Jf("150ms cubic-bezier(0, 0, 0.2, 1)",ep({transform:"none",opacity:1}))),ip("* => void, * => exit",Jf("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ep({opacity:0})))])},sB=((rB=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s){var l;return S(this,n),(l=t.call(this))._elementRef=e,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=a,l._focusMonitor=s,l._animationStateChanged=new Bu,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l.attachDomPortal=function(e){return l._portalOutlet.hasAttached(),l._portalOutlet.attachDomPortal(e)},l._ariaLabelledBy=a.ariaLabelledBy||null,l._document=o,l}return C(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}},{key:"_getActiveElement",value:function(){var e,t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}]),n}(SP)).\u0275fac=function(e){return new(e||rB)(os(Sl),os(QT),os(Jl),os(ad,8),os(oB),os(oI))},rB.\u0275dir=wt({type:rB,viewQuery:function(e,t){var n;1&e&&Xu(PP,3),2&e&&Qu(n=Ju())&&(t._portalOutlet=n.first)},features:[Va]}),rB),lB=((iB=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.apply(this,arguments))._state="enter",e}return C(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(sB)).\u0275fac=function(e){return uB(e||iB)},iB.\u0275cmp=pt({type:iB,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&bs("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(il("id",t._id),es("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),rl("@dialogContainer",t._state))},features:[Va],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&is(0,nB,0,0,"ng-template",0)},directives:[PP],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[aB.dialogContainer]}}),iB),uB=fi(lB),cB=0,dB=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+cB++;S(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new G,this._afterClosed=new G,this._beforeClosed=new G,this._state=0,n._id=r,n._animationStateChanged.pipe(Ly(function(e){return"opened"===e.state}),jb(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(Ly(function(e){return"closed"===e.state}),jb(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),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(Ly(function(e){return 27===e.keyCode&&!i.disableClose&&!rT(e)})).subscribe(function(e){e.preventDefault(),hB(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():hB(i,"mouse")})}return C(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Ly(function(e){return"closing"===e.state}),jb(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{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._overlayRef.updateSize({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:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function hB(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var fB,pB,gB,vB,mB,yB,bB,wB,_B=new yi("MatDialogData"),xB=new yi("mat-dialog-default-options"),kB=new yi("mat-dialog-scroll-strategy"),AB={provide:kB,deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},CB=((wB=function(){function e(t,n,i,r,o,a,s,l,u){var c=this;S(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=l,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G,this._afterOpenedAtThisLevel=new G,this._ariaHiddenElements=new Map,this.afterAllClosed=Bb(function(){return c.openDialogs.length?c._getAfterAllClosed():c._getAfterAllClosed().pipe(Gb(void 0))}),this._scrollStrategy=a}return C(e,[{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:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new oB)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),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 $R({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=Ba.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:oB,useValue:t}]}),i=new kP(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof ru)t.attachTemplatePortal(new AP(e,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,t),a=t.attachComponentPortal(new kP(e,i.viewContainerRef,o));r.componentInstance=a.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(pI,null)||r.push({provide:pI,useValue:{value:e.direction,change:Iy()}}),Ba.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().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 i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}()).\u0275fac=function(e){return new(e||wB)(os(xL),os(Ba),os(void 0),os(void 0),os(aL),os(void 0),os(wi),os(wi),os(yi))},wB.\u0275dir=wt({type:wB}),wB),SB=((bB=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s,l){return S(this,n),t.call(this,e,i,o,s,l,a,dB,lB,_B)}return C(n)}(CB)).\u0275fac=function(e){return new(e||bB)(Li(xL),Li(Ba),Li(Sd,8),Li(xB,8),Li(kB),Li(bB,12),Li(aL))},bB.\u0275prov=Le({token:bB,factory:bB.\u0275fac}),bB),EB=0,PB=((yB=function(){function e(t,n,i){S(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+EB++}return C(e,[{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)})}}]),e}()).\u0275fac=function(e){return new(e||yB)(os(dB,8),os(Sl),os(SB))},yB.\u0275dir=wt({type:yB,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&il("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),yB),DB=((mB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||mB)},mB.\u0275dir=wt({type:mB,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),mB),OB=((vB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||vB)},vB.\u0275dir=wt({type:vB,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),vB),MB=((gB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||gB)},gB.\u0275mod=yt({type:gB}),gB.\u0275inj=Be({providers:[SB,AB],imports:[[PL,DP,CI],CI]}),gB),TB=((pB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||pB)},pB.\u0275mod=yt({type:pB}),pB.\u0275inj=Be({}),pB),IB=((fB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||fB)},fB.\u0275mod=yt({type:fB}),fB.\u0275inj=Be({imports:[[Qh,CI,TB,DP]]}),fB),RB=["*"];function LB(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function FB(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function BB(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var zB,VB=C(function e(t,n,i){S(this,e),this.url=t,this.svgText=n,this.options=i}),NB=((zB=function(){function e(t,n,i,r){S(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}return C(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new VB(n,null,i))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(Ar.HTML,n);if(!r)throw BB(n);return this._addSvgIconConfig(e,t,new VB("",r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new VB(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(Ar.HTML,t);if(!i)throw BB(t);return this._addSvgIconSetConfig(e,new VB("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(Ar.RESOURCE_URL,e);if(!n)throw FB(e);var i=this._cachedIconsByUrl.get(n);return i?Iy(HB(i)):this._loadSvgIconFromConfig(new VB(e,null)).pipe(cw(function(e){return t._cachedIconsByUrl.set(n,e)}),Z(function(e){return HB(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=jB(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):PE(LB(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?Iy(HB(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Z(function(e){return HB(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?Iy(i):Cv(t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(Qb(function(t){var i=n._sanitizer.sanitize(Ar.RESOURCE_URL,e.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(i," failed: ").concat(t.message))),Iy(null)}))})).pipe(Z(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw LB(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),o=this._extractSvgIconFromSet(r,e,i.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(cw(function(t){return e.svgText=t}),Z(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?Iy(null):this._fetchIcon(e).pipe(cw(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,i=0;i<n.length;i++){var r=n[i],o=r.name,a=r.value;"id"!==o&&t.setAttribute(o,a)}for(var s=0;s<e.childNodes.length;s++)e.childNodes[s].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[s].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchIcon",value:function(e){var t,n=this,i=e.url,r=e.options,o=null!==(t=null==r?void 0:r.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));var a=this._sanitizer.sanitize(Ar.RESOURCE_URL,i);if(!a)throw FB(i);var s=this._inProgressUrlFetches.get(a);if(s)return s;var l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(fw(function(){return n._inProgressUrlFetches.delete(a)}),xe());return this._inProgressUrlFetches.set(a,l),l}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(jB(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}},{key:"_svgElementFromConfig",value:function(e){if(!e.svgElement){var t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}},{key:"_getIconConfigFromResolvers",value:function(e,t){for(var n=0;n<this._resolvers.length;n++){var i=this._resolvers[n](t,e);if(i)return(r=i).url&&r.options?new VB(i.url,null,i.options):new VB(i,null)}var r}}]),e}()).\u0275fac=function(e){return new(e||zB)(Li(ub,8),Li(Gf),Li(ad,8),Li(Mr))},zB.\u0275prov=Le({factory:function(){return new zB(Li(ub,8),Li(Gf),Li(ad,8),Li(Mr))},token:zB,providedIn:"root"}),zB);function HB(e){return e.cloneNode(!0)}function jB(e,t){return e+":"+t}var UB,WB,GB,qB,YB,ZB,QB=EI(C(function e(t){S(this,e),this._elementRef=t})),XB=new yi("mat-icon-location",{providedIn:"root",factory:function(){var e=Fi(ad),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),KB=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],JB=KB.map(function(e){return"[".concat(e,"]")}).join(", "),$B=/^url\(['"]?#(.*?)['"]?\)$/,ez=((ZB=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a){var s;return S(this,n),(s=t.call(this,e))._iconRegistry=i,s._location=o,s._errorHandler=a,s._inline=!1,s._currentIconFetch=M.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true"),s}return C(n,[{key:"inline",get:function(){return this._inline},set:function(e){this._inline=dT(e)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach(function(t,n){t.forEach(function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(JB),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(e){KB.forEach(function(i){var r=t[e],o=r.getAttribute(i),a=o?o.match($B):null;if(a){var s=n.get(r);s||(s=[],n.set(r,s)),s.push({name:i,value:a[1]})}})},r=0;r<t.length;r++)i(r)}},{key:"_updateSvgIcon",value:function(e){var t=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){var n=p(this._splitIconName(e),2),i=n[0],r=n[1];i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(jb(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){t._errorHandler.handleError(new Error("Error retrieving icon ".concat(i,":").concat(r,"! ").concat(e.message)))})}}}]),n}(QB)).\u0275fac=function(e){return new(e||ZB)(os(Sl),os(NB),gi("aria-hidden"),os(XB),os(Mr))},ZB.\u0275cmp=pt({type:ZB,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(es("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),Bs("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Va],ngContentSelectors:RB,decls:1,vars:0,template:function(e,t){1&e&&(Cs(),Ss(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),ZB),tz=((YB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||YB)},YB.\u0275mod=yt({type:YB}),YB.\u0275inj=Be({imports:[[CI],CI]}),YB),nz=((qB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||qB)},qB.\u0275mod=yt({type:qB}),qB.\u0275inj=Be({imports:[[_T]]}),qB),iz=((GB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||GB)},GB.\u0275mod=yt({type:GB}),GB.\u0275inj=Be({providers:[VI],imports:[[nz,cF,CI],nz,cF]}),GB),rz=((WB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||WB)},WB.\u0275mod=yt({type:WB}),WB.\u0275inj=Be({imports:[[CI],CI]}),WB),oz=((UB=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||UB)},UB.\u0275mod=yt({type:UB}),UB.\u0275inj=Be({imports:[[NI,QI,CI,KI,Qh],NI,CI,KI,rz]}),UB),az=["trigger"],sz=["panel"];function lz(e,t){if(1&e&&(ls(0,"span",8),Xs(1),us()),2&e){var n=ks();Ao(1),Ks(n.placeholder)}}function uz(e,t){if(1&e&&(ls(0,"span",12),Xs(1),us()),2&e){var n=ks(2);Ao(1),Ks(n.triggerValue)}}function cz(e,t){1&e&&Ss(0,0,["*ngSwitchCase","true"])}function dz(e,t){1&e&&(ls(0,"span",9),is(1,uz,2,1,"span",10),is(2,cz,1,0,"ng-content",11),us()),2&e&&(as("ngSwitch",!!ks().customTrigger),Ao(2),as("ngSwitchCase",!0))}function hz(e,t){if(1&e){var n=ps();ls(0,"div",13),ls(1,"div",14,15),ys("@transformPanel.done",function(e){return rn(n),ks()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return rn(n),ks()._handleKeydown(e)}),Ss(3,1),us(),us()}if(2&e){var i=ks();as("@transformPanelWrap",void 0),Ao(1),nl("mat-select-panel ",i._getPanelTheme(),""),Fs("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),as("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),es("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var fz,pz,gz,vz,mz,yz,bz=[[["mat-select-trigger"]],"*"],wz=["mat-select-trigger","*"],_z={transformPanelWrap:Kf("transformPanelWrap",[ip("* => void",op("@transformPanel",[rp()],{optional:!0}))]),transformPanel:Kf("transformPanel",[tp("void",ep({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),tp("showing",ep({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),tp("showing-multiple",ep({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ip("void => *",Jf("120ms cubic-bezier(0, 0, 0.2, 1)")),ip("* => void",Jf("100ms 25ms linear",ep({opacity:0})))])},xz=0,kz=new yi("mat-select-scroll-strategy"),Az=new yi("MAT_SELECT_CONFIG"),Cz={provide:kz,deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Sz=C(function e(t,n){S(this,e),this.source=t,this.value=n}),Ez=PI(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){o(i,e);var n=s(i);function i(){var e;S(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o)))._tabIndex=t,e.defaultTabIndex=t,e}return C(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?hT(e):this.defaultTabIndex}}]),i}(e)}(SI(function(e){o(n,e);var t=s(n);function n(){var e;S(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))).errorState=!1,e.stateChanges=new G,e}return C(n,[{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())}}]),n}(C(function e(t,n,i,r,o){S(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o}))))),Pz=new yi("MatSelectTrigger"),Dz=((pz=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s,l,c,d,h,f,p,g,v){var y,b,w,_;return S(this,n),(y=t.call(this,a,o,l,c,h))._viewportRuler=e,y._changeDetectorRef=i,y._ngZone=r,y._dir=s,y._parentFormField=d,y.ngControl=h,y._liveAnnouncer=g,y._defaultOptions=v,y._panelOpen=!1,y._compareWith=function(e,t){return e===t},y._uid="mat-select-"+xz++,y._triggerAriaLabelledBy=null,y._destroy=new G,y._onChange=function(){},y._onTouched=function(){},y._valueId="mat-select-value-"+xz++,y._panelDoneAnimatingStream=new G,y._overlayPanelClass=(null===(b=y._defaultOptions)||void 0===b?void 0:b.overlayPanelClass)||"",y._focused=!1,y.controlType="mat-select",y._required=!1,y._multiple=!1,y._disableOptionCentering=null!==(_=null===(w=y._defaultOptions)||void 0===w?void 0:w.disableOptionCentering)&&void 0!==_&&_,y.ariaLabel="",y.optionSelectionChanges=Bb(function(){var e=y.options;return e?e.changes.pipe(Gb(e),zb(function(){return fe.apply(void 0,m(e.map(function(e){return e.onSelectionChange})))})):y._ngZone.onStable.pipe(jb(1),zb(function(){return y.optionSelectionChanges}))}),y.openedChange=new Bu,y._openedStream=y.openedChange.pipe(Ly(function(e){return e}),Z(function(){})),y._closedStream=y.openedChange.pipe(Ly(function(e){return!e}),Z(function(){})),y.selectionChange=new Bu,y.valueChange=new Bu,y.ngControl&&(y.ngControl.valueAccessor=u(y)),null!=(null==v?void 0:v.typeaheadDebounceInterval)&&(y._typeaheadDebounceInterval=v.typeaheadDebounceInterval),y._scrollStrategyFactory=p,y._scrollStrategy=y._scrollStrategyFactory(),y.tabIndex=parseInt(f)||0,y.id=y.id,y}return C(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{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=dT(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=dT(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=dT(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=hT(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 IR(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Dk(),SR(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(SR(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(Gb(null),SR(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}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(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{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.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,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=40===t||38===t||37===t||39===t,i=13===t||32===t,r=this._keyManager;if(!r.isTyping()&&i&&!rT(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||13!==n&&32!==n||!t.activeItem||rT(e))if(!r&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.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(jb(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{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._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new jT(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(SR(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(SR(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=fe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(SR(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),fe.apply(void 0,m(this.options.map(function(e){return e._stateChanges}))).pipe(SR(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{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(),null!=this.value&&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,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),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(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getLabelId",value:function(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}},{key:"_getTriggerAriaLabelledby",value:function(){if(this.ariaLabel)return null;var e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{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||this._focused&&!!this._placeholder}}]),n}(Ez)).\u0275fac=function(e){return new(e||pz)(os(LR),os(Jl),os(Cc),os(VI),os(Sl),os(pI,8),os(Gm,8),os(ty,8),os(lF,8),os(dm,10),gi("tabindex"),os(kz),os($T),os(Az,8))},pz.\u0275dir=wt({type:pz,viewQuery:function(e,t){var n;1&e&&(Xu(az,1),Xu(sz,1),Xu(SL,1)),2&e&&(Qu(n=Ju())&&(t.trigger=n.first),Qu(n=Ju())&&(t.panel=n.first),Qu(n=Ju())&&(t.overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Va,Tt]}),pz),Oz=((fz=function(e){o(n,e);var t=s(n);function n(){var e;return S(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return C(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;i(d(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(SR(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;i(d(n.prototype),"_canOpen",this).call(this)&&(i(d(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(jb(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")}))}},{key:"_scrollOptionIntoView",value:function(e){var t,n,i,r=sR(e,this.options,this.optionGroups),o=this._getItemHeight();this.panel.nativeElement.scrollTop=(n=o,(t=(e+r)*o)<(i=this.panel.nativeElement.scrollTop)?t:t+n>i+256?Math.max(0,t-256+n):i)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),i(d(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new Sz(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);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 i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,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 i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=sR(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{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:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(Dz)).\u0275fac=function(e){return Mz(e||fz)},fz.\u0275cmp=pt({type:fz,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(Ku(n,Pz,1),Ku(n,aR,1),Ku(n,nR,1)),2&e&&(Qu(i=Ju())&&(t.customTrigger=i.first),Qu(i=Ju())&&(t.options=i),Qu(i=Ju())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&ys("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(es("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),Bs("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[bl([{provide:$L,useExisting:fz},{provide:JI,useExisting:fz}]),Va],ngContentSelectors:wz,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Cs(bz),ls(0,"div",0,1),ys("click",function(){return t.toggle()}),ls(3,"div",2),is(4,lz,2,1,"span",3),is(5,dz,3,2,"span",4),us(),ls(6,"div",5),cs(7,"div",6),us(),us(),is(8,hz,4,14,"ng-template",7),ys("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=rs(1);es("aria-owns",t.panelOpen?t.id+"-panel":null),Ao(3),as("ngSwitch",t.empty),es("id",t._valueId),Ao(1),as("ngSwitchCase",!0),Ao(1),as("ngSwitchCase",!1),Ao(3),as("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[CL,Eh,Ph,SL,Dh,ph],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[_z.transformPanelWrap,_z.transformPanel]},changeDetection:0}),fz),Mz=fi(Oz),Tz=((gz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||gz)},gz.\u0275mod=yt({type:gz}),gz.\u0275inj=Be({providers:[Cz],imports:[[Qh,PL,uR,CI],FR,cF,uR,CI]}),gz),Iz={tooltipState:Kf("state",[tp("initial, void, hidden",ep({opacity:0,transform:"scale(0)"})),tp("visible",ep({transform:"scale(1)"})),ip("* => visible",Jf("200ms cubic-bezier(0, 0, 0.2, 1)",np([ep({opacity:0,transform:"scale(0)",offset:0}),ep({opacity:.5,transform:"scale(0.99)",offset:.5}),ep({opacity:1,transform:"scale(1)",offset:1})]))),ip("* => hidden",Jf("100ms cubic-bezier(0, 0, 0.2, 1)",ep({opacity:0})))])},Rz=xT({passive:!0}),Lz=new yi("mat-tooltip-scroll-strategy"),Fz={provide:Lz,deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},Bz=new yi("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),zz=((yz=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){var f=this;S(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new G,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!rT(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run(function(){return f.hide(0)}))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)})}return C(e,[{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=dT(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(SR(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=p(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,Rz)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{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 kP(Vz,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(SR(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:"_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(SR(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(SR(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();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(jb(1),SR(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}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=p(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,Rz)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}()).\u0275fac=function(e){return new(e||yz)(os(xL),os(Sl),os(RR),os(cu),os(Cc),os(wT),os(BT),os(oI),os(Lz),os(pI,8),os(Bz,8),os(ad))},yz.\u0275dir=wt({type:yz,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),yz),Vz=((mz=function(){function e(t,n){S(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new G,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}return C(e,[{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}},{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()}}]),e}()).\u0275fac=function(e){return new(e||mz)(os(Jl),os(PF))},mz.\u0275cmp=pt({type:mz,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&ys("click",function(){return t._handleBodyInteraction()},!1,Lr)("auxclick",function(){return t._handleBodyInteraction()},!1,Lr),2&e&&Fs("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(ls(0,"div",0),ys("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),Ou(1,"async"),Xs(2),us()),2&e)&&(Bs("mat-tooltip-handset",null==(n=Mu(1,5,t._isHandset))?null:n.matches),as("ngClass",t.tooltipClass)("@state",t._visibility),Ao(2),Ks(t.message))},directives:[ph],pipes:[Hh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Iz.tooltipState]},changeDetection:0}),mz),Nz=((vz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||vz)},vz.\u0275mod=yt({type:vz}),vz.\u0275inj=Be({providers:[Fz],imports:[[hI,Qh,PL,CI],CI,FR]}),vz);function Hz(e,t){if(1&e&&(ls(0,"mat-option",19),Xs(1),us()),2&e){var n=t.$implicit;as("value",n),Ao(1),Js(" ",n," ")}}function jz(e,t){if(1&e){var n=ps();ls(0,"mat-form-field",16),ls(1,"mat-select",17),ys("selectionChange",function(e){return rn(n),ks(2)._changePageSize(e.value)}),is(2,Hz,2,2,"mat-option",18),us(),us()}if(2&e){var i=ks(2);as("appearance",i._formFieldAppearance)("color",i.color),Ao(1),as("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),Ao(1),as("ngForOf",i._displayedPageSizeOptions)}}function Uz(e,t){if(1&e&&(ls(0,"div",20),Xs(1),us()),2&e){var n=ks(2);Ao(1),Ks(n.pageSize)}}function Wz(e,t){if(1&e&&(ls(0,"div",12),ls(1,"div",13),Xs(2),us(),is(3,jz,3,6,"mat-form-field",14),is(4,Uz,2,1,"div",15),us()),2&e){var n=ks();Ao(2),Js(" ",n._intl.itemsPerPageLabel," "),Ao(1),as("ngIf",n._displayedPageSizeOptions.length>1),Ao(1),as("ngIf",n._displayedPageSizeOptions.length<=1)}}function Gz(e,t){if(1&e){var n=ps();ls(0,"button",21),ys("click",function(){return rn(n),ks().firstPage()}),Mn(),ls(1,"svg",7),cs(2,"path",22),us(),us()}if(2&e){var i=ks();as("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),es("aria-label",i._intl.firstPageLabel)}}function qz(e,t){if(1&e){var n=ps();Mn(),Tn(),ls(0,"button",23),ys("click",function(){return rn(n),ks().lastPage()}),Mn(),ls(1,"svg",7),cs(2,"path",24),us(),us()}if(2&e){var i=ks();as("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),es("aria-label",i._intl.lastPageLabel)}}var Yz,Zz,Qz,Xz,Kz,Jz,$z,eV,tV,nV,iV=((Yz=C(function e(){S(this,e),this.changes=new G,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 i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}})).\u0275fac=function(e){return new(e||Yz)},Yz.\u0275prov=Le({factory:function(){return new Yz},token:Yz,providedIn:"root"}),Yz),rV={provide:iV,deps:[[new ji,new Ui,iV]],useFactory:function(e){return e||new iV}},oV=new yi("MAT_PAGINATOR_DEFAULT_OPTIONS"),aV=SI(DI(C(function e(){S(this,e)}))),sV=((nV=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;if(S(this,n),(o=t.call(this))._intl=e,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new Bu,o._intlChanges=e.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),r){var a=r.pageSize,s=r.pageSizeOptions,u=r.hidePageSize,c=r.showFirstLastButtons;null!=a&&(o._pageSize=a),null!=s&&(o._pageSizeOptions=s),null!=u&&(o._hidePageSize=u),null!=c&&(o._showFirstLastButtons=c)}return l(o)}return C(n,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(hT(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=hT(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(hT(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return hT(e)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=dT(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=dT(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})}}]),n}(aV)).\u0275fac=function(e){return new(e||nV)(os(iV),os(Jl),os(void 0))},nV.\u0275dir=wt({type:nV,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[Va]}),nV),lV=((tV=function(e){o(n,e);var t=s(n);function n(e,i,r){var o;return S(this,n),o=t.call(this,e,i,r),r&&null!=r.formFieldAppearance&&(o._formFieldAppearance=r.formFieldAppearance),o}return C(n)}(sV)).\u0275fac=function(e){return new(e||tV)(os(iV),os(Jl),os(oV,8))},tV.\u0275cmp=pt({type:tV,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Va],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(ls(0,"div",0),ls(1,"div",1),is(2,Wz,5,3,"div",2),ls(3,"div",3),ls(4,"div",4),Xs(5),us(),is(6,Gz,3,5,"button",5),ls(7,"button",6),ys("click",function(){return t.previousPage()}),Mn(),ls(8,"svg",7),cs(9,"path",8),us(),us(),Tn(),ls(10,"button",9),ys("click",function(){return t.nextPage()}),Mn(),ls(11,"svg",7),cs(12,"path",10),us(),us(),is(13,qz,3,5,"button",11),us(),us(),us()),2&e&&(Ao(2),as("ngIf",!t.hidePageSize),Ao(3),Js(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),Ao(1),as("ngIf",t.showFirstLastButtons),Ao(1),as("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),es("aria-label",t._intl.previousPageLabel),Ao(3),as("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),es("aria-label",t._intl.nextPageLabel),Ao(3),as("ngIf",t.showFirstLastButtons))},directives:[yh,KF,zz,uF,Oz,vh,aR],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),tV),uV=((eV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||eV)},eV.\u0275mod=yt({type:eV}),eV.\u0275inj=Be({providers:[rV],imports:[[Qh,JF,Tz,Nz,CI]]}),eV),cV=(($z=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||$z)},$z.\u0275mod=yt({type:$z}),$z.\u0275inj=Be({imports:[[CI,Qh],CI]}),$z),dV=((Jz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Jz)},Jz.\u0275mod=yt({type:Jz}),Jz.\u0275inj=Be({imports:[[Qh,CI,_T,FR],FR,CI]}),Jz),hV=((Kz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Kz)},Kz.\u0275mod=yt({type:Kz}),Kz.\u0275inj=Be({}),Kz),fV=((Xz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Xz)},Xz.\u0275mod=yt({type:Xz}),Xz.\u0275inj=Be({imports:[[hV,QI,CI,MT],hV,CI]}),Xz),pV=((Qz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Qz)},Qz.\u0275mod=yt({type:Qz}),Qz.\u0275inj=Be({imports:[[Qh,CI],CI]}),Qz),gV=((Zz=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Zz)},Zz.\u0275mod=yt({type:Zz}),Zz.\u0275inj=Be({imports:[[PL,DP,Qh,JF,CI],CI]}),Zz),vV=["mat-sort-header",""];function mV(e,t){if(1&e){var n=ps();ls(0,"div",3),ys("@arrowPosition.start",function(){return rn(n),ks()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return rn(n),ks()._disableViewStateAnimation=!1}),cs(1,"div",4),ls(2,"div",5),cs(3,"div",6),cs(4,"div",7),cs(5,"div",8),us(),us()}if(2&e){var i=ks();as("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),Ao(2),as("@indicator",i._getArrowDirectionState()),Ao(1),as("@leftPointer",i._getArrowDirectionState()),Ao(1),as("@rightPointer",i._getArrowDirectionState())}}var yV,bV,wV,_V,xV,kV,AV,CV=["*"],SV=new yi("MAT_SORT_DEFAULT_OPTIONS"),EV=DI(SI(C(function e(){S(this,e)}))),PV=((yV=function(e){o(n,e);var t=s(n);function n(e){var i;return S(this,n),(i=t.call(this))._defaultOptions=e,i.sortables=new Map,i._stateChanges=new G,i.start="asc",i._direction="",i.sortChange=new Bu,i}return C(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=dT(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(e){var t,n,i;if(!e)return"";var r=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),o=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,r),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(EV)).\u0275fac=function(e){return new(e||yV)(os(SV,8))},yV.\u0275dir=wt({type:yV,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Va,Tt]}),yV),DV=xI.ENTERING+" "+_I.STANDARD_CURVE,OV={indicator:Kf("indicator",[tp("active-asc, asc",ep({transform:"translateY(0px)"})),tp("active-desc, desc",ep({transform:"translateY(10px)"})),ip("active-asc <=> active-desc",Jf(DV))]),leftPointer:Kf("leftPointer",[tp("active-asc, asc",ep({transform:"rotate(-45deg)"})),tp("active-desc, desc",ep({transform:"rotate(45deg)"})),ip("active-asc <=> active-desc",Jf(DV))]),rightPointer:Kf("rightPointer",[tp("active-asc, asc",ep({transform:"rotate(45deg)"})),tp("active-desc, desc",ep({transform:"rotate(-45deg)"})),ip("active-asc <=> active-desc",Jf(DV))]),arrowOpacity:Kf("arrowOpacity",[tp("desc-to-active, asc-to-active, active",ep({opacity:1})),tp("desc-to-hint, asc-to-hint, hint",ep({opacity:.54})),tp("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",ep({opacity:0})),ip("* => asc, * => desc, * => active, * => hint, * => void",Jf("0ms")),ip("* <=> *",Jf(DV))]),arrowPosition:Kf("arrowPosition",[ip("* => desc-to-hint, * => desc-to-active",Jf(DV,np([ep({transform:"translateY(-25%)"}),ep({transform:"translateY(0)"})]))),ip("* => hint-to-desc, * => active-to-desc",Jf(DV,np([ep({transform:"translateY(0)"}),ep({transform:"translateY(25%)"})]))),ip("* => asc-to-hint, * => asc-to-active",Jf(DV,np([ep({transform:"translateY(25%)"}),ep({transform:"translateY(0)"})]))),ip("* => hint-to-asc, * => active-to-asc",Jf(DV,np([ep({transform:"translateY(0)"}),ep({transform:"translateY(-25%)"})]))),tp("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",ep({transform:"translateY(0)"})),tp("hint-to-desc, active-to-desc, desc",ep({transform:"translateY(-25%)"})),tp("hint-to-asc, active-to-asc, asc",ep({transform:"translateY(25%)"}))]),allowChildren:Kf("allowChildren",[ip("* <=> *",[op("@*",rp(),{optional:!0})])])},MV=((bV=C(function e(){S(this,e),this.changes=new G,this.sortButtonLabel=function(e){return"Change sorting for "+e}})).\u0275fac=function(e){return new(e||bV)},bV.\u0275prov=Le({factory:function(){return new bV},token:bV,providedIn:"root"}),bV),TV={provide:MV,deps:[[new ji,new Ui,MV]],useFactory:function(e){return e||new MV}},IV=SI(C(function e(){S(this,e)})),RV=((AV=function(e){o(n,e);var t=s(n);function n(e,i,r,o,a,s){var l;return S(this,n),(l=t.call(this))._intl=e,l._changeDetectorRef=i,l._sort=r,l._columnDef=o,l._focusMonitor=a,l._elementRef=s,l._showIndicatorHint=!1,l._arrowDirection="",l._disableViewStateAnimation=!1,l.arrowPosition="after",l._handleStateChanges(),l}return C(n,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=dT(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var n=!!t;n!==e._showIndicatorHint&&(e._setIndicatorHintVisible(n),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=fe(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),n}(IV)).\u0275fac=function(e){return new(e||AV)(os(MV),os(Jl),os(PV,8),os("MAT_SORT_HEADER_COLUMN_DEF",8),os(oI),os(Sl))},AV.\u0275cmp=pt({type:AV,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&ys("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(es("aria-sort",t._getAriaSortAttribute()),Bs("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[Va],attrs:vV,ngContentSelectors:CV,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(Cs(),ls(0,"div",0),ls(1,"div",1),Ss(2),us(),is(3,mV,6,6,"div",2),us()),2&e&&(Bs("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),es("tabindex",t._isDisabled()?null:0),Ao(3),as("ngIf",t._renderArrow()))},directives:[yh],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[OV.indicator,OV.leftPointer,OV.rightPointer,OV.arrowOpacity,OV.arrowPosition,OV.allowChildren]},changeDetection:0}),AV),LV=((kV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||kV)},kV.\u0275mod=yt({type:kV}),kV.\u0275inj=Be({providers:[TV],imports:[[Qh,CI]]}),kV),FV=((xV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||xV)},xV.\u0275mod=yt({type:xV}),xV.\u0275inj=Be({imports:[[BR]]}),xV),BV=((_V=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||_V)},_V.\u0275mod=yt({type:_V}),_V.\u0275inj=Be({imports:[[FV,CI],CI]}),_V),zV=((wV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||wV)},wV.\u0275mod=yt({type:wV}),wV.\u0275inj=Be({imports:[[Qh,CI,DP,QI,MT,hI],CI]}),wV),VV=["mat-menu-item",""],NV=["*"];function HV(e,t){if(1&e){var n=ps();ls(0,"div",0),ys("keydown",function(e){return rn(n),ks()._handleKeydown(e)})("click",function(){return rn(n),ks().closed.emit("click")})("@transformMenu.start",function(e){return rn(n),ks()._onAnimationStart(e)})("@transformMenu.done",function(e){return rn(n),ks()._onAnimationDone(e)}),ls(1,"div",1),Ss(2),us(),us()}if(2&e){var i=ks();as("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),es("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var jV,UV,WV,GV,qV,YV,ZV={transformMenu:Kf("transformMenu",[tp("void",ep({opacity:0,transform:"scale(0.8)"})),ip("void => enter",Jf("120ms cubic-bezier(0, 0, 0.2, 1)",ep({opacity:1,transform:"scale(1)"}))),ip("* => void",Jf("100ms 25ms linear",ep({opacity:0})))]),fadeInItems:Kf("fadeInItems",[tp("showing",ep({opacity:1})),ip("void => *",[ep({opacity:0}),Jf("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},QV=new yi("MatMenuContent"),XV=new yi("MAT_MENU_PANEL"),KV=PI(SI(C(function e(){S(this,e)}))),JV=((jV=function(e){o(n,e);var t=s(n);function n(e,i,r,o){var a;return S(this,n),(a=t.call(this))._elementRef=e,a._focusMonitor=r,a._parentMenu=o,a.role="menuitem",a._hovered=new G,a._focused=new G,a._highlighted=!1,a._triggersSubmenu=!1,o&&o.addItem&&o.addItem(u(a)),a}return C(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r<i.length;r++){var o=i[r];null===(e=o.parentNode)||void 0===e||e.removeChild(o)}return(null===(t=n.textContent)||void 0===t?void 0:t.trim())||""}}]),n}(KV)).\u0275fac=function(e){return new(e||jV)(os(Sl),os(ad),os(oI),os(XV,8))},jV.\u0275cmp=pt({type:jV,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&ys("click",function(e){return t._checkDisabled(e)})("mouseenter",function(){return t._handleMouseEnter()}),2&e&&(es("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),Bs("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[Va],attrs:VV,ngContentSelectors:NV,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(Cs(),Ss(0),cs(1,"div",0)),2&e&&(Ao(1),as("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[ZI],encapsulation:2,changeDetection:0}),jV),$V=new yi("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),eN=0,tN=((WV=function(){function e(t,n,i){S(this,e),this._elementRef=t,this._ngZone=n,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Vu,this._tabSubscription=M.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new G,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Bu,this.close=this.closed,this.panelId="mat-menu-panel-"+eN++}return C(e,[{key:"xPosition",get:function(){return this._xPosition},set:function(e){this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=dT(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=dT(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(e){t._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(function(e){t._classList[e]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var e=this;this._updateDirectDescendants(),this._keyManager=new UT(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")}),this._directDescendantItems.changes.pipe(Gb(this._directDescendantItems),zb(function(e){return fe.apply(void 0,m(e.map(function(e){return e._focused})))})).subscribe(function(t){return e._keyManager.updateActiveItem(t)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe(Gb(this._directDescendantItems),zb(function(e){return fe.apply(void 0,m(e.map(function(e){return e._hovered})))}))}},{key:"addItem",value:function(e){}},{key:"removeItem",value:function(e){}},{key:"_handleKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;switch(t){case 27:rT(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:38!==t&&40!==t||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}},{key:"focusFirstItem",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(jb(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t="mat-elevation-z"+Math.min(4+e,24),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Gb(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}()).\u0275fac=function(e){return new(e||WV)(os(Sl),os(Cc),os($V))},WV.\u0275dir=wt({type:WV,contentQueries:function(e,t,n){var i;1&e&&(Ku(n,QV,1),Ku(n,JV,1),Ku(n,JV,0)),2&e&&(Qu(i=Ju())&&(t.lazyContent=i.first),Qu(i=Ju())&&(t._allItems=i),Qu(i=Ju())&&(t.items=i))},viewQuery:function(e,t){var n;1&e&&Xu(ru,1),2&e&&Qu(n=Ju())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),WV),nN=((UV=function(e){o(n,e);var t=s(n);function n(e,i,r){return S(this,n),t.call(this,e,i,r)}return C(n)}(tN)).\u0275fac=function(e){return new(e||UV)(os(Sl),os(Cc),os($V))},UV.\u0275cmp=pt({type:UV,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&es("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[bl([{provide:XV,useExisting:UV}]),Va],ngContentSelectors:NV,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(Cs(),is(0,HV,3,6,"ng-template"))},directives:[ph],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ZV.transformMenu,ZV.fadeInItems]},changeDetection:0}),UV),iN=new yi("mat-menu-scroll-strategy"),rN={provide:iN,deps:[xL],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},oN=xT({passive:!0}),aN=((YV=function(){function e(t,n,i,r,o,a,s,l){var u=this;S(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=M.EMPTY,this._hoverSubscription=M.EMPTY,this._menuCloseSubscription=M.EMPTY,this._handleTouchStart=function(e){tI(e)||(u._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Bu,this.onMenuOpen=this.menuOpened,this.menuClosed=new Bu,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=o instanceof tN?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,oN),a&&(a._triggersSubmenu=this.triggersSubmenu())}return C(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,oN),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof tN&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof tN?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Ly(function(e){return"void"===e.toState}),jb(1),SR(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new $R({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=p("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=p("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,l=a,u=n,c=i,d=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=u="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",l="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:u,overlayY:o,offsetY:d},{originX:i,originY:s,overlayX:c,overlayY:o,offsetY:d},{originX:n,originY:l,overlayX:u,overlayY:a,offsetY:-d},{originX:i,originY:l,overlayX:c,overlayY:a,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return fe(t,this._parentMaterialMenu?this._parentMaterialMenu.closed:Iy(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ly(function(t){return t!==e._menuItemInstance}),Ly(function(){return e._menuOpen})):Iy(),n)}},{key:"_handleMousedown",value:function(e){eI(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;13!==t&&32!==t||(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ly(function(t){return t===e._menuItemInstance&&!t.disabled}),dF(0,bR)).subscribe(function(){e._openedBy="mouse",e.menu instanceof tN&&e.menu._isAnimating?e.menu._animationDone.pipe(jb(1),dF(0,bR),SR(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new AP(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}()).\u0275fac=function(e){return new(e||YV)(os(xL),os(Sl),os(cu),os(iN),os(XV,8),os(JV,10),os(pI,8),os(oI))},YV.\u0275dir=wt({type:YV,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&ys("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&es("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),YV),sN=((qV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||qV)},qV.\u0275mod=yt({type:qV}),qV.\u0275inj=Be({providers:[rN],imports:[CI]}),qV),lN=((GV=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||GV)},GV.\u0275mod=yt({type:GV}),GV.\u0275inj=Be({providers:[rN],imports:[[Qh,CI,QI,PL,sN],FR,CI,sN]}),GV);function uN(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function cN(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function dN(e,t){var n=t?"":"none";cN(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function hN(e,t){var n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function fN(e){var t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function pN(e,t){return e.getPropertyValue(t).split(",").map(function(e){return e.trim()})}function gN(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function vN(e,t,n){var i=e.top,r=e.bottom,o=e.left,a=e.right;return n>=i&&n<=r&&t>=o&&t<=a}function mN(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function yN(e,t,n,i){var r=e.top,o=e.right,a=e.bottom,s=e.left,l=e.width*t,u=e.height*t;return i>r-u&&i<a+u&&n>s-l&&n<o+l}var bN=function(){function e(t,n){S(this,e),this._document=t,this._viewportRuler=n,this.positions=new Map}return C(e,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(e){var t=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(function(e){t.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:gN(e)})})}},{key:"handleScroll",value:function(e){var t=e.target,n=this.positions.get(t);if(!n)return null;var i,r,o=t===this._document?t.documentElement:t,a=n.scrollPosition;if(t===this._document){var s=this._viewportRuler.getViewportScrollPosition();i=s.top,r=s.left}else i=t.scrollTop,r=t.scrollLeft;var l=a.top-i,u=a.left-r;return this.positions.forEach(function(e,n){e.clientRect&&t!==n&&o.contains(n)&&mN(e.clientRect,l,u)}),a.top=i,a.left=r,{top:l,left:u}}}]),e}();function wN(e){var t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),i=e.nodeName.toLowerCase();t.removeAttribute("id");for(var r=0;r<n.length;r++)n[r].removeAttribute("id");return"canvas"===i?AN(e,t):"input"!==i&&"select"!==i&&"textarea"!==i||kN(e,t),_N("canvas",e,t,AN),_N("input, textarea, select",e,t,kN),t}function _N(e,t,n,i){var r=t.querySelectorAll(e);if(r.length)for(var o=n.querySelectorAll(e),a=0;a<r.length;a++)i(r[a],o[a])}var xN=0;function kN(e,t){"file"!==t.type&&(t.value=e.value),"radio"===t.type&&t.name&&(t.name="mat-clone-".concat(t.name,"-").concat(xN++))}function AN(e,t){var n=t.getContext("2d");if(n)try{n.drawImage(e,0,0)}catch(_Q){}}var CN=xT({passive:!0}),SN=xT({passive:!1}),EN=function(){function e(t,n,i,r,o,a){var s=this;S(this,e),this._config=n,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new G,this._pointerMoveSubscription=M.EMPTY,this._pointerUpSubscription=M.EMPTY,this._scrollSubscription=M.EMPTY,this._resizeSubscription=M.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new G,this.started=new G,this.released=new G,this.ended=new G,this.entered=new G,this.exited=new G,this.dropped=new G,this.moved=this._moveEvents,this._pointerDown=function(e){if(s.beforeStarted.next(),s._handles.length){var t=s._handles.find(function(t){var n=e.target;return!!n&&(n===t||t.contains(n))});!t||s._disabledHandles.has(t)||s.disabled||s._initializeDragSequence(t,e)}else s.disabled||s._initializeDragSequence(s._rootElement,e)},this._pointerMove=function(e){var t=s._getPointerPositionOnPage(e);if(s._hasStartedDragging){s._boundaryElement&&(s._previewRect&&(s._previewRect.width||s._previewRect.height)||(s._previewRect=(s._preview||s._rootElement).getBoundingClientRect())),e.preventDefault();var n=s._getConstrainedPointerPosition(t);if(s._hasMoved=!0,s._lastKnownPointerPosition=t,s._updatePointerDirectionDelta(n),s._dropContainer)s._updateActiveDropContainer(n,t);else{var i=s._activeTransform;i.x=n.x-s._pickupPositionOnPage.x+s._passiveTransform.x,i.y=n.y-s._pickupPositionOnPage.y+s._passiveTransform.y,s._applyRootElementTransform(i.x,i.y),"undefined"!=typeof SVGElement&&s._rootElement instanceof SVGElement&&s._rootElement.setAttribute("transform","translate(".concat(i.x," ").concat(i.y,")"))}s._moveEvents.observers.length&&s._ngZone.run(function(){s._moveEvents.next({source:s,pointerPosition:n,event:e,distance:s._getDragDistance(n),delta:s._pointerDirectionDelta})})}else if(Math.abs(t.x-s._pickupPositionOnPage.x)+Math.abs(t.y-s._pickupPositionOnPage.y)>=s._config.dragStartThreshold){var r=Date.now()>=s._dragStartTime+s._getDragStartDelay(e),o=s._dropContainer;if(!r)return void s._endDragSequence(e);o&&(o.isDragging()||o.isReceiving())||(e.preventDefault(),s._hasStartedDragging=!0,s._ngZone.run(function(){return s._startDragSequence(e)}))}},this._pointerUp=function(e){s._endDragSequence(e)},this.withRootElement(t).withParent(n.parentDragRef||null),this._parentPositions=new bN(i,o),a.registerDragItem(this)}return C(e,[{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(e){var t=dT(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach(function(e){return dN(e,t)}))}},{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(e){var t=this;this._handles=e.map(function(e){return gT(e)}),this._handles.forEach(function(e){return dN(e,t.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(e){t._handles.indexOf(e)>-1&&n.add(e)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(e){return this._previewTemplate=e,this}},{key:"withPlaceholderTemplate",value:function(e){return this._placeholderTemplate=e,this}},{key:"withRootElement",value:function(e){var t=this,n=gT(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",t._pointerDown,SN),n.addEventListener("touchstart",t._pointerDown,CN)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(e){var t=this;return this._boundaryElement=e?gT(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return t._containInsideBoundaryOnResize()})),this}},{key:"withParent",value:function(e){return this._parentDragRef=e,this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&ON(this._rootElement),ON(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),dN(e,!0))}},{key:"enableHandle",value:function(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),dN(e,this.disabled))}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"_withDropContainer",value:function(e){this._dropContainer=e}},{key:"getFreeDragPosition",value:function(){var e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}},{key:"setFreeDragPosition",value:function(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}},{key:"_sortFromLastPointerPosition",value:function(){var e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&ON(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&ON(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(e){var t=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){t._cleanupDragArtifacts(e),t._cleanupCachedDimensions(),t._dragDropRegistry.stopDragging(t)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){t.ended.next({source:t,distance:t._getDragDistance(t._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(e){MN(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var t=this._dropContainer;if(t){var n=this._rootElement,i=n.parentNode,r=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();i.insertBefore(a,n),hN(n,!1),this._document.body.appendChild(i.replaceChild(o,n)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,s).appendChild(r),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(e,t){var n=this;this._parentDragRef&&t.stopPropagation();var i=this.isDragging(),r=MN(t),o=!r&&0!==t.button,a=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),!(i||o||s)){this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(function(e){n._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=gN(this._boundaryElement));var l=this._previewTemplate;this._pickupPositionInElement=l&&l.template&&!l.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);var u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}}},{key:"_cleanupDragArtifacts",value:function(e){var t=this;hN(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(function(){var n=t._dropContainer,i=n.getItemIndex(t),r=t._getPointerPositionOnPage(e),o=t._getDragDistance(t._getPointerPositionOnPage(e)),a=n._isOverContainer(r.x,r.y);t.ended.next({source:t,distance:o}),t.dropped.next({item:t,currentIndex:i,previousIndex:t._initialIndex,container:n,previousContainer:t._initialContainer,isPointerOverContainer:a,distance:o}),n.drop(t,i,t._initialIndex,t._initialContainer,a,o),t._dropContainer=t._initialContainer})}},{key:"_updateActiveDropContainer",value:function(e,t){var n=this,i=e.x,r=e.y,o=t.x,a=t.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,r,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this._dropContainer._startScrollingIfNecessary(o,a),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this._preview.style.transform=PN(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)}},{key:"_createPreviewElement",value:function(){var e,t=this._previewTemplate,n=this.previewClass,i=t?t.template:null;if(i&&t){var r=t.matchSize?this._rootElement.getBoundingClientRect():null,o=t.viewContainer.createEmbeddedView(i,t.context);o.detectChanges(),e=TN(o,this._document),this._previewRef=o,t.matchSize?IN(e,r):e.style.transform=PN(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var a=this._rootElement;IN(e=wN(a),a.getBoundingClientRect())}return cN(e.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),dN(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(t){return e.classList.add(t)}):e.classList.add(n)),e}},{key:"_animatePreviewToPlaceholder",value:function(){var e=this;if(!this._hasMoved)return Promise.resolve();var t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=PN(t.left,t.top);var n=function(e){var t=getComputedStyle(e),n=pN(t,"transition-property"),i=n.find(function(e){return"transform"===e||"all"===e});if(!i)return 0;var r=n.indexOf(i),o=pN(t,"transition-duration"),a=pN(t,"transition-delay");return fN(o[r])+fN(a[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(t){var i=function n(i){(!i||i.target===e._preview&&"transform"===i.propertyName)&&(e._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(i,1.5*n);e._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var e,t=this._placeholderTemplate,n=t?t.template:null;return n?(this._placeholderRef=t.viewContainer.createEmbeddedView(n,t.context),this._placeholderRef.detectChanges(),e=TN(this._placeholderRef,this._document)):e=wN(this._rootElement),e.classList.add("cdk-drag-placeholder"),e}},{key:"_getPointerPositionInElement",value:function(e,t){var n=this._rootElement.getBoundingClientRect(),i=e===this._rootElement?null:e,r=i?i.getBoundingClientRect():n,o=MN(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition();return{x:r.left-n.left+(o.pageX-r.left-a.left),y:r.top-n.top+(o.pageY-r.top-a.top)}}},{key:"_getPointerPositionOnPage",value:function(e){var t=this._getViewportScrollPosition(),n=MN(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=n.pageX-t.left,r=n.pageY-t.top;if(this._ownerSVGElement){var o=this._ownerSVGElement.getScreenCTM();if(o){var a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=r,a.matrixTransform(o.inverse())}}return{x:i,y:r}}},{key:"_getConstrainedPointerPosition",value:function(e){var t=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(e,this):e,i=n.x,r=n.y;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(i=this._pickupPositionOnPage.x),this._boundaryRect){var o=this._pickupPositionInElement,a=o.x,s=o.y,l=this._boundaryRect,u=this._previewRect,c=l.top+s,d=l.bottom-(u.height-s);i=DN(i,l.left+a,l.right-(u.width-a)),r=DN(r,c,d)}return{x:i,y:r}}},{key:"_updatePointerDirectionDelta",value:function(e){var t=e.x,n=e.y,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,o=Math.abs(t-r.x),a=Math.abs(n-r.y);return o>this._config.pointerDirectionChangeThreshold&&(i.x=t>r.x?1:-1,r.x=t),a>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,dN(this._rootElement,e))}}},{key:"_removeRootElementListeners",value:function(e){e.removeEventListener("mousedown",this._pointerDown,SN),e.removeEventListener("touchstart",this._pointerDown,CN)}},{key:"_applyRootElementTransform",value:function(e,t){var n=PN(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}},{key:"_getDragDistance",value:function(e){var t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var e=this._passiveTransform,t=e.x,n=e.y;if(!(0===t&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===r.width&&0===r.height)){var o=i.left-r.left,a=r.right-i.right,s=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,i.height>r.height?(s>0&&(n+=s),l>0&&(n-=l)):n=0,t===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:t})}}}},{key:"_getDragStartDelay",value:function(e){var t=this.dragStartDelay;return"number"==typeof t?t:MN(e)?t.touch:t?t.mouse:0}},{key:"_updateOnScroll",value:function(e){var t=this._parentPositions.handleScroll(e);if(t){var n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&mN(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=kT(this._rootElement)),this._cachedShadowRoot}}]),e}();function PN(e,t){return"translate3d(".concat(Math.round(e),"px, ").concat(Math.round(t),"px, 0)")}function DN(e,t,n){return Math.max(t,Math.min(n,e))}function ON(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function MN(e){return"t"===e.type[0]}function TN(e,t){var n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];var i=t.createElement("div");return n.forEach(function(e){return i.appendChild(e)}),i}function IN(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=PN(t.left,t.top)}function RN(e,t){return Math.max(0,Math.min(t,e))}var LN=function(){function e(t,n,i,r,o){var a=this;S(this,e),this._dragDropRegistry=n,this._ngZone=r,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new G,this.entered=new G,this.exited=new G,this.dropped=new G,this.sorted=new G,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=M.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new G,this._cachedShadowRoot=null,this._startScrollInterval=function(){a._stopScrolling(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oT;return(!xR(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=oT),new V(function(n){return n.add(t.schedule(uN,e,{subscriber:n,counter:0,period:e})),n})}(0,dR).pipe(SR(a._stopScrollTimers)).subscribe(function(){var e=a._scrollNode,t=a.autoScrollStep;1===a._verticalScrollDirection?BN(e,-t):2===a._verticalScrollDirection&&BN(e,t),1===a._horizontalScrollDirection?zN(e,-t):2===a._horizontalScrollDirection&&zN(e,t)})},this.element=gT(t),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new bN(i,o)}return C(e,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){this._draggingStarted(),this._notifyReceivingSiblings()}},{key:"enter",value:function(e,t,n,i){var r;this._draggingStarted(),null==i?-1===(r=this.sortingDisabled?this._draggables.indexOf(e):-1)&&(r=this._getItemIndexFromPointerPosition(e,t,n)):r=i;var o=this._activeDraggables,a=o.indexOf(e),s=e.getPlaceholderElement(),l=o[r];if(l===e&&(l=o[r+1]),a>-1&&o.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){var u=l.getRootElement();u.parentElement.insertBefore(s,u),o.splice(r,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){var c=o[0].getRootElement();c.parentNode.insertBefore(s,c),o.unshift(e)}else gT(this.element).appendChild(s),o.push(e);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}},{key:"exit",value:function(e){this._reset(),this.exited.next({item:e,container:this})}},{key:"drop",value:function(e,t,n,i,r,o){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:o})}},{key:"withItems",value:function(e){var t=this,n=this._draggables;return this._draggables=e,e.forEach(function(e){return e._withDropContainer(t)}),this.isDragging()&&(n.filter(function(e){return e.isDragging()}).every(function(t){return-1===e.indexOf(t)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(e){return this._direction=e,this}},{key:"connectedTo",value:function(e){return this._siblings=e.slice(),this}},{key:"withOrientation",value:function(e){return this._orientation=e,this}},{key:"withScrollableParents",value:function(e){var t=gT(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t].concat(m(e)):e.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(e){return this._isDragging?FN("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(t){return t.drag===e}):this._draggables.indexOf(e)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(e,t,n,i){if(!this.sortingDisabled&&this._clientRect&&yN(this._clientRect,.05,t,n)){var r=this._itemPositions,o=this._getItemIndexFromPointerPosition(e,t,n,i);if(!(-1===o&&r.length>0)){var a="horizontal"===this._orientation,s=FN(r,function(t){return t.drag===e}),l=r[o],u=l.clientRect,c=s>o?1:-1,d=this._getItemOffsetPx(r[s].clientRect,u,c),h=this._getSiblingOffsetPx(s,r,c),f=r.slice();!function(e,t,n){var i=RN(t,e.length-1),r=RN(n,e.length-1);if(i!==r){for(var o=e[i],a=r<i?-1:1,s=i;s!==r;s+=a)e[s]=e[s+a];e[r]=o}}(r,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:e}),r.forEach(function(t,n){if(f[n]!==t){var i=t.drag===e,r=i?d:h,o=i?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=r,a?(o.style.transform="translate3d(".concat(Math.round(t.offset),"px, 0, 0)"),mN(t.clientRect,0,r)):(o.style.transform="translate3d(0, ".concat(Math.round(t.offset),"px, 0)"),mN(t.clientRect,r,0))}}),this._previousSwap.overlaps=vN(u,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=a?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(e,t){var n=this;if(!this.autoScrollDisabled){var i,r=0,o=0;if(this._parentPositions.positions.forEach(function(a,s){var l;s!==n._document&&a.clientRect&&!i&&yN(a.clientRect,.05,e,t)&&(l=p(function(e,t,n,i){var r=VN(t,i),o=NN(t,n),a=0,s=0;if(r){var l=e.scrollTop;1===r?l>0&&(a=1):e.scrollHeight-l>e.clientHeight&&(a=2)}if(o){var u=e.scrollLeft;1===o?u>0&&(s=1):e.scrollWidth-u>e.clientWidth&&(s=2)}return[a,s]}(s,a.clientRect,e,t),2),r=l[0],o=l[1],(r||o)&&(i=s))}),!r&&!o){var a=this._viewportRuler.getViewportSize(),s=a.width,l=a.height,u={width:s,height:l,top:0,right:s,bottom:l,left:0};r=VN(u,t),o=NN(u,e),i=window}!i||r===this._verticalScrollDirection&&o===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_draggingStarted",value:function(){var e=gT(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"_cacheParentPositions",value:function(){var e=gT(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}},{key:"_cacheItemPositions",value:function(){var e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(e){var t=e.getVisibleElement();return{drag:e,offset:0,clientRect:gN(t)}}).sort(function(t,n){return e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var e=this;this._isDragging=!1;var t=gT(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(e){var t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(function(t){return t._stopReceiving(e)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=t[e].clientRect,o=t[e+-1*n],a=r[i?"width":"height"]*n;if(o){var s=i?"left":"top",l=i?"right":"bottom";-1===n?a-=o.clientRect[s]-r[l]:a+=r[s]-o.clientRect[l]}return a}},{key:"_getItemOffsetPx",value:function(e,t,n){var i="horizontal"===this._orientation,r=i?t.left-e.left:t.top-e.top;return-1===n&&(r+=i?t.width-e.width:t.height-e.height),r}},{key:"_shouldEnterAsFirstChild",value:function(e,t){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var r=n[n.length-1].clientRect;return i?e>=r.right:t>=r.bottom}var o=n[0].clientRect;return i?e<=o.left:t<=o.top}},{key:"_getItemIndexFromPointerPosition",value:function(e,t,n,i){var r=this,o="horizontal"===this._orientation,a=FN(this._itemPositions,function(a,s,l){var u=a.drag,c=a.clientRect;if(u===e)return l.length<2;if(i){var d=o?i.x:i.y;if(u===r._previousSwap.drag&&r._previousSwap.overlaps&&d===r._previousSwap.delta)return!1}return o?t>=Math.floor(c.left)&&t<Math.floor(c.right):n>=Math.floor(c.top)&&n<Math.floor(c.bottom)});return-1!==a&&this.sortPredicate(a,e,this)?a:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(e,t){return null!=this._clientRect&&vN(this._clientRect,e,t)}},{key:"_getSiblingContainerFromPosition",value:function(e,t,n){return this._siblings.find(function(i){return i._canReceive(e,t,n)})}},{key:"_canReceive",value:function(e,t,n){if(!this._clientRect||!vN(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;var i=this._getShadowRoot().elementFromPoint(t,n);if(!i)return!1;var r=gT(this.element);return i===r||r.contains(i)}},{key:"_startReceiving",value:function(e,t){var n=this,i=this._activeSiblings;!i.has(e)&&t.every(function(e){return n.enterPredicate(e,n)||n._draggables.indexOf(e)>-1})&&(i.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var e=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){if(e.isDragging()){var n=e._parentPositions.handleScroll(t);n&&(e._itemPositions.forEach(function(e){mN(e.clientRect,n.top,n.left)}),e._itemPositions.forEach(function(t){var n=t.drag;e._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else e.isReceiving()&&e._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var e=kT(gT(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}},{key:"_notifyReceivingSiblings",value:function(){var e=this,t=this._activeDraggables.filter(function(e){return e.isDragging()});this._siblings.forEach(function(n){return n._startReceiving(e,t)})}}]),e}();function FN(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1}function BN(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function zN(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function VN(e,t){var n=e.top,i=e.bottom,r=.05*e.height;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}function NN(e,t){var n=e.left,i=e.right,r=.05*e.width;return t>=n-r&&t<=n+r?1:t>=i-r&&t<=i+r?2:0}var HN,jN,UN,WN=xT({passive:!1,capture:!0}),GN=((HN=function(){function e(t,n){var i=this;S(this,e),this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=function(e){return e.isDragging()},this.pointerMove=new G,this.pointerUp=new G,this.scroll=new G,this._preventDefaultWhileDragging=function(e){i._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=function(e){i._activeDragInstances.length>0&&(i._activeDragInstances.some(i._draggingPredicate)&&e.preventDefault(),i.pointerMove.next(e))},this._document=n}return C(e,[{key:"registerDropContainer",value:function(e){this._dropInstances.has(e)||this._dropInstances.add(e)}},{key:"registerDragItem",value:function(e){var t=this;this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){t._document.addEventListener("touchmove",t._persistentTouchmoveListener,WN)})}},{key:"removeDropContainer",value:function(e){this._dropInstances.delete(e)}},{key:"removeDragItem",value:function(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,WN)}},{key:"startDragging",value:function(e,t){var n=this;if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){var i=t.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(e){return n.pointerUp.next(e)},options:!0}).set("scroll",{handler:function(e){return n.scroll.next(e)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:WN}),i||this._globalListeners.set("mousemove",{handler:function(e){return n.pointerMove.next(e)},options:WN}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(e,t){n._document.addEventListener(t,e.handler,e.options)})})}}},{key:"stopDragging",value:function(e){var t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}},{key:"isDragging",value:function(e){return this._activeDragInstances.indexOf(e)>-1}},{key:"ngOnDestroy",value:function(){var e=this;this._dragInstances.forEach(function(t){return e.removeDragItem(t)}),this._dropInstances.forEach(function(t){return e.removeDropContainer(t)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var e=this;this._globalListeners.forEach(function(t,n){e._document.removeEventListener(n,t.handler,t.options)}),this._globalListeners.clear()}}]),e}()).\u0275fac=function(e){return new(e||HN)(Li(Cc),Li(ad))},HN.\u0275prov=Le({factory:function(){return new HN(Li(Cc),Li(ad))},token:HN,providedIn:"root"}),HN),qN={dragStartThreshold:5,pointerDirectionChangeThreshold:5},YN=((jN=function(){function e(t,n,i,r){S(this,e),this._document=t,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=r}return C(e,[{key:"createDrag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qN;return new EN(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(e){return new LN(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),e}()).\u0275fac=function(e){return new(e||jN)(Li(ad),Li(Cc),Li(LR),Li(GN))},jN.\u0275prov=Le({factory:function(){return new jN(Li(ad),Li(Cc),Li(LR),Li(GN))},token:jN,providedIn:"root"}),jN),ZN=new yi("CDK_DRAG_PARENT"),QN=new yi("CDK_DRAG_CONFIG"),XN=new yi("CdkDropList"),KN=new yi("CdkDragHandle"),JN=new yi("CdkDragPlaceholder"),$N=new yi("CdkDragPreview"),eH=((UN=function(){function e(t,n,i,r,o,a,s,l,u,c,d){var h=this;S(this,e),this.element=t,this.dropContainer=n,this._ngZone=r,this._viewContainerRef=o,this._dir=s,this._changeDetectorRef=u,this._selfHandle=c,this._parentDrag=d,this._destroyed=new G,this.started=new Bu,this.released=new Bu,this.ended=new Bu,this.entered=new Bu,this.exited=new Bu,this.dropped=new Bu,this.moved=new V(function(e){var t=h._dragRef.moved.pipe(Z(function(e){return{source:h,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}})).subscribe(e);return function(){t.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),a&&this._assignDefaults(a),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return C(e,[{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(e){this._disabled=dT(e),this._dragRef.disabled=this._disabled}},{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.onStable.pipe(jb(1),SR(this._destroyed)).subscribe(function(){e._updateRootElement(),e._handles.changes.pipe(Gb(e._handles),cw(function(t){var n=t.filter(function(t){return t._parentDrag===e}).map(function(e){return e.element});e._selfHandle&&e.rootElementSelector&&n.push(e.element),e._dragRef.withHandles(n)}),zb(function(e){return fe.apply(void 0,m(e.map(function(e){return e._stateChanges.pipe(Gb(e))})))}),SR(e._destroyed)).subscribe(function(t){var n=e._dragRef,i=t.element.nativeElement;t.disabled?n.disableHandle(i):n.enableHandle(i)}),e.freeDragPosition&&e._dragRef.setFreeDragPosition(e.freeDragPosition)})}},{key:"ngOnChanges",value:function(e){var t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this);var t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var e=this.element.nativeElement,t=this.rootElementSelector?tH(e,this.rootElementSelector):e;this._dragRef.withRootElement(t||e)}},{key:"_getBoundaryElement",value:function(){var e=this.boundaryElement;return e?"string"==typeof e?tH(this.element.nativeElement,e):gT(e):null}},{key:"_syncInputs",value:function(t){var n=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var e=n._dir,i=n.dragStartDelay,r=n._placeholderTemplate?{template:n._placeholderTemplate.templateRef,context:n._placeholderTemplate.data,viewContainer:n._viewContainerRef}:null,o=n._previewTemplate?{template:n._previewTemplate.templateRef,context:n._previewTemplate.data,matchSize:n._previewTemplate.matchSize,viewContainer:n._viewContainerRef}:null;t.disabled=n.disabled,t.lockAxis=n.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:hT(i),t.constrainPosition=n.constrainPosition,t.previewClass=n.previewClass,t.withBoundaryElement(n._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o),e&&t.withDirection(e.value)}}),t.beforeStarted.pipe(jb(1)).subscribe(function(){var i,r;if(n._parentDrag)t.withParent(n._parentDrag._dragRef);else for(var o=n.element.nativeElement.parentElement;o;){if(null===(i=o.classList)||void 0===i?void 0:i.contains("cdk-drag")){t.withParent((null===(r=e._dragInstances.find(function(e){return e.element.nativeElement===o}))||void 0===r?void 0:r._dragRef)||null);break}o=o.parentElement}})}},{key:"_handleEvents",value:function(e){var t=this;e.started.subscribe(function(){t.started.emit({source:t}),t._changeDetectorRef.markForCheck()}),e.released.subscribe(function(){t.released.emit({source:t})}),e.ended.subscribe(function(e){t.ended.emit({source:t,distance:e.distance}),t._changeDetectorRef.markForCheck()}),e.entered.subscribe(function(e){t.entered.emit({container:e.container.data,item:t,currentIndex:e.currentIndex})}),e.exited.subscribe(function(e){t.exited.emit({container:e.container.data,item:t})}),e.dropped.subscribe(function(e){t.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:t,distance:e.distance})})}},{key:"_assignDefaults",value:function(e){var t=e.lockAxis,n=e.dragStartDelay,i=e.constrainPosition,r=e.previewClass,o=e.boundaryElement,a=e.draggingDisabled,s=e.rootElementSelector;this.disabled=null!=a&&a,this.dragStartDelay=n||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),r&&(this.previewClass=r),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s)}}]),e}()).\u0275fac=function(e){return new(e||UN)(os(Sl),os(XN,12),os(ad),os(Cc),os(cu),os(QN,8),os(pI,8),os(YN),os(Jl),os(KN,10),os(ZN,12))},UN.\u0275dir=wt({type:UN,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){var i;1&e&&(Ku(n,$N,1),Ku(n,JN,1),Ku(n,KN,1)),2&e&&(Qu(i=Ju())&&(t._previewTemplate=i.first),Qu(i=Ju())&&(t._placeholderTemplate=i.first),Qu(i=Ju())&&(t._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&Bs("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[bl([{provide:ZN,useExisting:UN}]),Tt]}),UN._dragInstances=[],UN);function tH(e,t){for(var n=e.parentElement;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}var nH,iH=((nH=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||nH)},nH.\u0275mod=yt({type:nH}),nH.\u0275inj=Be({providers:[YN],imports:[FR]}),nH),rH=function(e,t,n){if(0===n||0===t)return"";var i=e*t;return i<(n=Math.max(n,0))&&Math.min(i+t,n),"".concat(e+1," / ").concat(Math.ceil(n/t))};var oH,aH,sH,lH,uH=((lH=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||lH)},lH.\u0275mod=yt({type:lH}),lH.\u0275inj=Be({providers:[{provide:iV,useValue:(sH=new iV,sH.itemsPerPageLabel="Afficher:",sH.nextPageLabel="Page suivante",sH.previousPageLabel="Page pr\xe9c\xe9dente",sH.getRangeLabel=rH,sH)}],imports:[[dV,oz,MB,UF,QI,iH,gV,JF,tz,cV,$F,iz,IB,lN,zV,pV,Tz,fV,_F,BV,uV,LV,wF,tB],dV,oz,MB,UF,QI,iH,gV,JF,tz,cV,$F,iz,IB,lN,zV,pV,Tz,fV,_F,BV,uV,LV,wF,tB]}),lH),cH=((aH=C(function e(t,n,i){S(this,e),this.translate=t,this.data=n,this.dialogRef=i,null===this.data.mode&&(this.data.mode=""),null===this.data.msg&&(this.data.msg="")})).\u0275fac=function(e){return new(e||aH)(os(mP),os(_B),os(dB))},aH.\u0275cmp=pt({type:aH,selectors:[["ng-component"]],decls:10,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","red",3,"click"]],template:function(e,t){1&e&&(ls(0,"div"),ls(1,"h1",0),Xs(2),Ou(3,"translate"),us(),cs(4,"div",1),Ou(5,"translate"),ls(6,"div",2),ls(7,"button",3),ys("click",function(){return t.dialogRef.close()}),Xs(8),Ou(9,"translate"),us(),us(),us()),2&e&&(nl("modalContent ",t.data.mode,""),Ao(2),Ks(Mu(3,6,t.data.title)),Ao(2),as("innerHTML",Mu(5,8,t.data.msg),Cr),Ao(4),Ks(Mu(9,10,"lang.ok")))},directives:[PB,DB,OB,KF],pipes:[yP],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),aH),dH=((oH=function(){function e(t,n,i,r,o,a,s,l,u){S(this,e),this.translate=t,this.http=n,this.router=i,this.signaturesService=r,this.cookieService=o,this.authService=a,this.localStorage=s,this.dialog=l,this.menu=u}return C(e,[{key:"canActivate",value:function(e,t){var n=this;if("login"===e.url.join("/"))return this.authService.isAuth()?(this.router.navigate(["/home"]),!1):(this.http.get("../rest/authenticationInformations").pipe(Z(function(e){n.authService.authMode=e.connection,n.authService.changeKey=e.changeKey,n.authService.coreUrl=e.coreUrl,n.localStorage.setAppSession(e.instanceId)})).subscribe(),!0);if(!this.authService.authFailed){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu");var i=this.authService.getToken();if(null===i||this.authService.authFailed)return this.http.get("../rest/authenticationInformations").pipe(Z(function(e){return n.authService.authMode=e.connection,n.authService.changeKey=e.changeKey,n.authService.coreUrl=e.coreUrl,n.localStorage.setAppSession(e.instanceId),null!==(i=n.authService.getToken())?(n.authService.user=JSON.parse(atob(i.split(".")[1])).user,n.translate.use(n.authService.user.preferences.lang),n.cookieService.set("maarchParapheurLang",n.authService.user.preferences.lang),n.setData(),n.authService.changeKey&&n.dialog.open(cH,{autoFocus:!1,disableClose:!0,data:{mode:"warning",title:"lang.warnPrivateKeyTitle",msg:"lang.warnPrivateKey"}}),!0):(n.authService.setCachedUrl(t.url.replace(/^\//g,"")),n.authService.logout(),!1)}));if(void 0===this.authService.user.id){var r=JSON.parse(atob(i.split(".")[1]));this.authService.user=r.user,this.authService.authMode=r.connection,this.translate.use(this.authService.user.preferences.lang),this.cookieService.set("maarchParapheurLang",this.authService.user.preferences.lang),this.setData()}return!0}}},{key:"setData",value:function(){var e=this;0===this.authService.signatureRoles.length&&this.http.get("../rest/signatureModes").subscribe(function(t){e.authService.signatureRoles=[{id:"visa",type:"visa",color:"#135F7F"}],e.authService.signatureRoles=e.authService.signatureRoles.concat(t.map(function(e){return Object.assign(Object.assign({},e),{type:"sign"})}))}),0===this.signaturesService.signaturesList.length&&this.http.get("../rest/users/"+this.authService.user.id+"/signatures").subscribe(function(t){e.signaturesService.signaturesList=t.signatures}),void 0===this.authService.user.picture&&this.http.get("../rest/users/"+this.authService.user.id+"/picture").subscribe(function(t){e.authService.user.picture=t.picture})}}]),e}()).\u0275fac=function(e){return new(e||oH)(Li(mP),Li(ub),Li(Ux),Li(OP),Li(FM),Li(TP),Li(MP),Li(SB),Li(hE))},oH.\u0275prov=Le({token:oH,factory:oH.\u0275fac,providedIn:"root"}),oH);function hH(e,t){if(1&e&&(ls(0,"ion-col"),ls(1,"ion-button",7),ls(2,"div",8),cs(3,"ion-icon",9),ls(4,"ion-label",10),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-note",11),Xs(8),Ou(9,"translate"),us(),us(),us(),us()),2&e){var n=t.$implicit;Ao(1),as("routerLink",n.route),Ao(2),as("name",n.icon),Ao(2),Ks(Mu(6,4,"lang."+n.id)),Ao(3),Js(" ",Mu(9,6,"lang."+n.id+"Desc"),"")}}var fH,pH=function(e){return[e]},gH=((fH=function(){function e(t,n,i){S(this,e),this.signaturesService=t,this.authService=n,this.menu=i}return C(e,[{key:"ngOnInit",value:function(){this.menu.enable(!1,"right-menu")}}]),e}()).\u0275fac=function(e){return new(e||fH)(os(OP),os(TP),os(hE))},fH.\u0275cmp=pt({type:fH,selectors:[["app-administration"]],decls:12,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],[3,"ngClass"],[4,"ngFor","ngForOf"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"ion-content",null,4),ls(9,"ion-grid"),ls(10,"ion-row",5),is(11,hH,10,8,"ion-col",6),us(),us(),us()),2&e&&(as("translucent",!0),Ao(5),Ks(Mu(6,4,"lang.administration")),Ao(5),as("ngClass",Cu(6,pH,t.signaturesService.mobileMode?"repeatRowsMobile":"repeatRows")),Ao(1),as("ngForOf",t.authService.user.administrativePrivileges))},directives:[JC,TS,BC,hS,OS,GC,KC,wS,ph,vh,WC,FC,nE,Wx,$C,lS,pS],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".container[_ngcontent-%COMP%]{flex:1;overflow:auto}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;text-align:center;width:100%;display:inline-block}@media (min-width:768px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%]{width:33%}}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{border-color:#f99830;padding:10px;width:90%;height:160px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:50px}.container[_ngcontent-%COMP%] .admin-item[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;flex-direction:column}.admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.repeatRows[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr)}.repeatRowsMobile[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));-ms-grid-row-align:10px}"]}),fH);function vH(e,t){if(1&e&&(ls(0,"div",15),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks().$implicit;as("mat-sort-header",n),Ao(1),Js(" ",Mu(2,2,"lang."+n)," ")}}function mH(e,t){if(1&e&&(ds(0),is(1,vH,3,4,"div",14),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf","actions"!==n)}}function yH(e,t){if(1&e){var n=ps();ls(0,"div",16),ls(1,"ion-searchbar",17),ys("ionChange",function(e){return rn(n),ks().applyFilter(e.detail.value)}),Ou(2,"translate"),us(),us()}2&e&&(Ao(1),as("placeholder",Mu(2,1,"lang.filter")))}function bH(e,t){if(1&e&&(ls(0,"div",16),Xs(1),us()),2&e){var n=t.$implicit,i=ks().$implicit;Ao(1),Js(" ",i[n]," ")}}function wH(e,t){if(1&e){var n=ps();ls(0,"ion-item",7),ls(1,"ion-label",18),is(2,bH,2,1,"div",19),us(),ls(3,"ion-button",20),ys("click",function(e){rn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Ou(4,"translate"),cs(5,"ion-icon",21),us(),us()}if(2&e){var i=t.$implicit,r=ks();Ao(1),Ps("routerLink","/administration/users/",i.id,""),Ao(1),as("ngForOf",r.displayedColumns),Ao(1),Es("title",Mu(4,4,"lang.delete")),as("disabled",i.id===r.authService.user.id)}}var _H,xH=((_H=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.authService=s,this.alertController=l,this.userList=[],this.loading=!0,this.displayedColumns=this.signaturesService.mobileMode?["firstname","lastname","email"]:["firstname","lastname","email","actions"]}return C(e,[{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.userList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/users?mode=all").pipe(Z(function(e){return e.users}),fw(function(){return e.loading=!1})).subscribe({next:function(t){e.userList=t,e.sortedData=e.userList.slice()}})}},{key:"delete",value:function(e){return t=this,i=_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/users/"+e.id).pipe(fw(function(){return i.loading=!1})).subscribe({next:function(t){var n=i.userList.findIndex(function(t){return t.id===e.id});i.userList.splice(n,1),i.sortedData=i.userList.slice(),i.notificationService.success("lang.userDeleted")},error:function(e){i.notificationService.handleErrors(e)}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.userList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||_H)(os(ub),os(mP),os(JM),os(SB),os(OP),os(_P),os(TP),os(cE))},_H.\u0275cmp=pt({type:_H,selectors:[["app-administration-users-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/users/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"disabled","title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),Ou(8,"translate"),us(),us(),ls(9,"ion-toolbar",1),ls(10,"ion-buttons",2),ls(11,"ion-button",4),Xs(12),Ou(13,"translate"),us(),us(),ls(14,"ion-title",5),Xs(15),Ou(16,"translate"),us(),us(),us(),ls(17,"ion-content",null,6),ls(19,"ion-list"),ls(20,"ion-item",7),ls(21,"ion-label",8),ys("matSortChange",function(e){return t.sortData(e)}),is(22,mH,2,1,"ng-container",9),is(23,yH,3,3,"div",10),us(),ls(24,"ion-button",11),cs(25,"ion-icon"),us(),us(),ls(26,"ion-virtual-scroll",12),is(27,wH,6,6,"ion-item",13),us(),us(),us()),2&e&&(as("translucent",!0),Ao(6),$s("",Mu(7,10,"lang.administration")," ",Mu(8,12,"lang.manage_usersAlt"),""),Ao(6),Js(" ",Mu(13,14,"lang.userCreation")," "),Ao(3),$s("",t.userList.length," ",Mu(16,16,"lang.manage_usersAlt"),""),Ao(6),as("matSortActive",t.displayedColumns[1]),Ao(1),as("ngForOf",t.displayedColumns),Ao(1),as("ngIf",t.displayedColumns.indexOf("actions")>-1),Ao(3),as("items",t.sortedData))},directives:[JC,TS,BC,hS,RC,tE,OS,FC,nE,Wx,GC,uS,rS,lS,PV,vh,yh,$C,aE,oE,RV,_S,iA],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),_H);function kH(e,t){1&e&&(cs(0,"div",5),Ou(1,"translate")),2&e&&as("innerHTML",Mu(1,1,ks().data.msg),Cr)}var AH,CH=((AH=C(function e(t,n,i){S(this,e),this.translate=t,this.data=n,this.dialogRef=i,null===this.data.msg&&(this.data.msg="")})).\u0275fac=function(e){return new(e||AH)(os(mP),os(_B),os(dB))},AH.\u0275cmp=pt({type:AH,selectors:[["ng-component"]],decls:12,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"actions","btn","blue",3,"click"],["mat-button","",1,"actions","btn","red",3,"click"],["mat-dialog-content","",3,"innerHTML"]],template:function(e,t){1&e&&(ls(0,"div"),ls(1,"h1",0),Xs(2),Ou(3,"translate"),us(),is(4,kH,2,3,"div",1),ls(5,"div",2),ls(6,"button",3),ys("click",function(){return t.dialogRef.close("yes")}),Xs(7),Ou(8,"translate"),us(),ls(9,"button",4),ys("click",function(){return t.dialogRef.close("no")}),Xs(10),Ou(11,"translate"),us(),us(),us()),2&e&&(nl("modalContent ",t.data.mode,""),Ao(2),Ks(Mu(3,7,t.data.title)),Ao(2),as("ngIf",null!==t.data.msg),Ao(3),Ks(Mu(8,9,"lang.yes")),Ao(3),Ks(Mu(11,11,"lang.no")))},directives:[PB,yh,OB,KF,DB],pipes:[yP],styles:[".modalContent[_ngcontent-%COMP%]{position:relative}.mat-dialog-content[_ngcontent-%COMP%], .mat-dialog-title[_ngcontent-%COMP%]{text-align:center!important;color:#666}.mat-dialog-title[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]{width:100%;margin:10px}.close[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-15px;width:40px;height:40px;font-size:20px;color:#666}.warning[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{color:#e74c3c}"]}),AH);function SH(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-label"),Xs(2),Ou(3,"translate"),us(),ls(4,"ion-checkbox",27),ys("ionChange",function(e){rn(n);var t=ks().$implicit;return ks(2).toggleSignMode(t,e.detail.checked)}),us(),us()}if(2&e){var i=ks().$implicit,r=ks(2);Ao(1),Fs("color",i.color),Ao(1),Ks(Mu(3,5,"lang."+i.id)),Ao(2),as("checked",r.user.signatureModes.indexOf(i.id)>-1)("disabled","stamp"===i.id)}}function EH(e,t){if(1&e&&(ds(0),is(1,SH,5,7,"ion-item",11),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf","visa"!==n.id)}}function PH(e,t){if(1&e&&(ls(0,"ion-note",33),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(3);Ao(1),Js(" ",Mu(2,1,n.handlePassword.errorMsg),"")}}function DH(e,t){if(1&e){var n=ps();ls(0,"ion-item",28),ls(1,"ion-button",29),ys("click",function(){rn(n);var e=ks(2);return e.hideNewPassword=!e.hideNewPassword}),cs(2,"ion-icon",30),us(),ls(3,"ion-label",14),Xs(4),Ou(5,"translate"),us(),ls(6,"ion-input",31),ys("ngModelChange",function(e){return rn(n),ks(2).passwordRest.newPassword=e})("ionChange",function(){rn(n);var e=ks(2);return e.checkPasswordValidity(e.passwordRest.newPassword)}),us(),is(7,PH,3,3,"ion-note",32),us()}if(2&e){var i=ks(2);Ao(2),as("name",i.hideNewPassword?"eye-outline":"eye-off-outline"),Ao(2),Ks(Mu(5,5,"lang.newPassword")),Ao(2),as("type",i.hideNewPassword?"password":"text")("ngModel",i.passwordRest.newPassword),Ao(1),as("ngIf",i.handlePassword.error&&i.passwordRest.newPassword.length>0)}}function OH(e,t){1&e&&(ls(0,"ion-note",33),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.passwordNotMatch"),""))}function MH(e,t){1&e&&(ls(0,"ion-note",36),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.samePassword"),""))}function TH(e,t){if(1&e){var n=ps();ls(0,"ion-item",28),ls(1,"ion-button",29),ys("click",function(){rn(n);var e=ks(2);return e.hideNewPasswordConfirm=!e.hideNewPasswordConfirm}),cs(2,"ion-icon",30),us(),ls(3,"ion-label",14),Xs(4),Ou(5,"translate"),us(),ls(6,"ion-input",34),ys("ngModelChange",function(e){return rn(n),ks(2).passwordRest.passwordConfirmation=e}),us(),is(7,OH,3,3,"ion-note",32),is(8,MH,3,3,"ion-note",35),us()}if(2&e){var i=ks(2);Ao(2),as("name",i.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),Ao(2),Ks(Mu(5,6,"lang.passwordConfirmation")),Ao(2),as("type",i.hideNewPasswordConfirm?"password":"text")("ngModel",i.passwordRest.passwordConfirmation),Ao(1),as("ngIf",i.passwordRest.passwordConfirmation!==i.passwordRest.newPassword&&i.passwordRest.passwordConfirmation.length>0),Ao(1),as("ngIf",i.passwordRest.passwordConfirmation===i.passwordRest.newPassword&&i.passwordRest.newPassword.length>0&&i.passwordRest.passwordConfirmation.length>0&&!i.handlePassword.error)}}function IH(e,t){if(1&e){var n=ps();ds(0),ls(1,"form",12,13),ys("ngSubmit",function(){return rn(n),ks().onSubmit()}),ls(3,"ion-content"),ls(4,"ion-item"),ls(5,"ion-label",14),Xs(6),Ou(7,"translate"),us(),ls(8,"ion-input",15),ys("ngModelChange",function(e){return rn(n),ks().user.login=e}),us(),us(),ls(9,"ion-item"),ls(10,"ion-label",14),Xs(11),Ou(12,"translate"),us(),ls(13,"ion-input",16),ys("ngModelChange",function(e){return rn(n),ks().user.firstname=e}),us(),us(),ls(14,"ion-item"),ls(15,"ion-label",14),Xs(16),Ou(17,"translate"),us(),ls(18,"ion-input",17),ys("ngModelChange",function(e){return rn(n),ks().user.lastname=e}),us(),us(),ls(19,"ion-item"),ls(20,"ion-label",14),Xs(21),Ou(22,"translate"),us(),ls(23,"ion-input",18),ys("ngModelChange",function(e){return rn(n),ks().user.email=e}),us(),us(),ls(24,"ion-item"),ls(25,"ion-label"),Xs(26),Ou(27,"translate"),us(),ls(28,"ion-toggle",19),ys("ngModelChange",function(e){return rn(n),ks().user.isRest=e})("ionChange",function(e){return rn(n),ks().getPassRules(e)}),us(),us(),ls(29,"ion-list"),ls(30,"ion-list-header"),ls(31,"ion-label",20),Xs(32),Ou(33,"translate"),us(),us(),is(34,EH,2,1,"ng-container",21),us(),is(35,DH,8,7,"ion-item",22),is(36,TH,9,8,"ion-item",22),ls(37,"ion-item",23),ls(38,"div",24),ls(39,"ion-button",25),ls(40,"ion-label",26),Xs(41),Ou(42,"translate"),us(),us(),us(),us(),us(),us(),hs()}if(2&e){var i=rs(2),r=ks();Ao(6),Js("",Mu(7,23,"lang.login")," *"),Ao(2),as("maxlength",128)("readonly",!r.creationMode)("ngModel",r.user.login),Ao(3),Js("",Mu(12,25,"lang.firstname")," *"),Ao(2),as("maxlength",128)("ngModel",r.user.firstname),Ao(3),Js("",Mu(17,27,"lang.lastname")," *"),Ao(2),as("maxlength",128)("ngModel",r.user.lastname),Ao(3),Js("",Mu(22,29,"lang.email")," *"),Ao(2),as("maxlength",128)("ngModel",r.user.email),Ao(3),Ks(Mu(27,31,"lang.restUser")),Ao(2),as("disabled",!r.creationMode)("ngModel",r.user.isRest)("checked",r.user.isRest),Ao(4),Ks(Mu(33,33,"lang.signatureModes")),Ao(2),as("ngForOf",r.authService.signatureRoles),Ao(1),as("ngIf",r.user.isRest),Ao(1),as("ngIf",r.user.isRest),Ao(3),as("disabled",!i.form.valid||!r.canValidate()),Ao(2),Ks(Mu(42,35,"lang.validate"))}}function RH(e,t){if(1&e&&(ls(0,"ion-item"),ls(1,"ion-label"),Xs(2),us(),us()),2&e){var n=t.$implicit;Ao(2),Ks(n.label)}}function LH(e,t){if(1&e&&(ls(0,"ion-list"),is(1,RH,3,1,"ion-item",21),us()),2&e){var n=ks(2);Ao(1),as("ngForOf",n.user.groups)}}function FH(e,t){1&e&&(ls(0,"ion-list",38),ls(1,"ion-item",39),ls(2,"ion-label",40),Xs(3),Ou(4,"translate"),us(),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.noAssociatedGroup")))}function BH(e,t){if(1&e&&(ds(0),ls(1,"ion-content"),is(2,LH,2,1,"ion-list",11),is(3,FH,5,3,"ion-list",37),us(),hs()),2&e){var n=ks();Ao(2),as("ngIf",n.user.groups.length>0),Ao(1),as("ngIf",0===n.user.groups.length)}}var zH,VH=((zH=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.creationMode=!0,this.loading=!0,this.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",isRest:!1,signatureModes:["stamp"]},this.title="",this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.currentTool="info",this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordRest={newPassword:"",passwordConfirmation:""},this.ruleText="",this.otherRuleText="",this.showPassword=!1,this.handlePassword={error:!1,errorMsg:""}}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.userCreation"),e.user={id:"",firstname:"",lastname:"",login:"",email:"",picture:"",signatureModes:["stamp"],isRest:!1},e.loading=!1):(e.creationMode=!1,e.http.get("../rest/users/"+t.id).pipe(Z(function(e){return e.user}),fw(function(){return e.loading=!1})).subscribe({next:function(t){e.user=t,e.userClone=JSON.parse(JSON.stringify(e.user)),e.title=e.user.firstname+" "+e.user.lastname,e.user.isRest&&e.getPassRules({detail:{checked:!0}})}}))})}},{key:"canValidate",value:function(){return!(this.user.isRest&&""!==this.passwordRest.newPassword&&(this.handlePassword.error||this.passwordRest.passwordConfirmation!==this.passwordRest.newPassword)||JSON.stringify(this.user)===JSON.stringify(this.userClone)&&""===this.passwordRest.newPassword)}},{key:"onSubmit",value:function(){this.creationMode?this.createUser():this.modifyUser()}},{key:"modifyUser",value:function(){var e=this;this.loading=!0,this.http.put("../rest/users/"+this.user.id,this.user).pipe(fw(function(){return e.loading=!1}),cw(function(){e.authService.user.id===e.user.id&&e.authService.updateUserInfoWithTokenRefresh(),""!==e.passwordRest.newPassword&&e.updateRestUser(),e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userUpdated")}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}},{key:"updateRestUser",value:function(){var e=this,t=new Ny({Authorization:"Bearer "+this.authService.getToken()});this.http.put("../rest/users/"+this.user.id+"/password",this.passwordRest,{headers:t}).subscribe(function(){e.passwordRest.newPassword="",e.passwordRest.passwordConfirmation=""},function(t){e.notificationService.handleErrors(t)})}},{key:"createUser",value:function(){var e=this;this.loading=!0,this.http.post("../rest/users",this.user).pipe(fw(function(){return e.loading=!1}),cw(function(t){e.user.isRest&&(e.user.id=t.id,e.updateRestUser()),e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userAdded")}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}},{key:"delete",value:function(){var e=this;this.dialog.open(CH,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(function(t){"yes"===t&&(e.loading=!0,e.http.delete("../rest/users/"+e.user.id).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/users"]),e.notificationService.success("lang.userDeleted")}}))})}},{key:"cancel",value:function(){this.router.navigate(["/administration/users"])}},{key:"getPassRules",value:function(e){var t=this;e.detail.checked&&(this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(e){var n=[],i=[];e.rules.forEach(function(e){"minLength"===e.label?(t.passwordRules.minLength.enabled=e.enabled,t.passwordRules.minLength.value=e.value,e.enabled&&t.translate.get("lang.minLengthChar",{charLength:e.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===e.label?(t.passwordRules.complexityUpper.enabled=e.enabled,t.passwordRules.complexityUpper.value=e.value,e.enabled&&n.push("lang.upperRequired")):"complexityNumber"===e.label?(t.passwordRules.complexityNumber.enabled=e.enabled,t.passwordRules.complexityNumber.value=e.value,e.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===e.label?(t.passwordRules.complexitySpecial.enabled=e.enabled,t.passwordRules.complexitySpecial.value=e.value,e.enabled&&n.push("lang.specialCharRequired")):"renewal"===e.label?(t.passwordRules.renewal.enabled=e.enabled,t.passwordRules.renewal.value=e.value,e.enabled&&t.translate.get("lang.renewalInfo",{time:e.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===e.label&&(t.passwordRules.historyLastUse.enabled=e.enabled,t.passwordRules.historyLastUse.value=e.value,e.enabled&&t.translate.get("lang.historyUseInfo",{countPwd:e.value}).subscribe(function(e){i.push(e)}))}),t.ruleText=n.join(", "),t.otherRuleText=i.join("<br/>")},function(e){t.notificationService.handleErrors(e)}))}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"toggleSignMode",value:function(e,t){t?-1===this.user.signatureModes.indexOf(e.id)&&this.user.signatureModes.push(e.id):this.user.signatureModes=this.user.signatureModes.filter(function(t){return t!==e.id})}},{key:"initTab",value:function(e){this.currentTool=e}}]),e}()).\u0275fac=function(e){return new(e||zH)(os(ub),os(mP),os(w_),os(Ux),os(OP),os(_P),os(SB),os(TP))},zH.\u0275cmp=pt({type:zH,selectors:[["app-administration-user"]],decls:24,vars:13,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end"],[3,"src"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","groups",3,"disabled"],["name","people-sharp"],[4,"ngIf"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","login","required","","pattern","^[\\w.@-]*$",3,"maxlength","readonly","ngModel","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","ngModelChange"],["type","email","name","email","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"maxlength","ngModel","ngModelChange"],["slot","start","color","primary","name","isRest",3,"disabled","ngModel","checked","ngModelChange","ionChange"],["color","secondary"],[4,"ngFor","ngForOf"],["style","align-items: center;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["slot","start",3,"checked","disabled","ionChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","newPasswordRest",3,"type","ngModel","ngModelChange","ionChange"],["color","danger",4,"ngIf"],["color","danger"],["name","passwordConfirmation",3,"type","ngModel","ngModelChange"],["color","success",4,"ngIf"],["color","success"],["class","no-result",4,"ngIf"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),us(),ls(7,"ion-avatar",4),cs(8,"img",5),us(),us(),us(),ls(9,"ion-header"),ls(10,"ion-toolbar"),ls(11,"ion-segment",6),ys("ionChange",function(e){return t.initTab(e.detail.value)}),ls(12,"ion-segment-button",7),ls(13,"ion-label"),Xs(14),Ou(15,"translate"),us(),cs(16,"ion-icon",8),us(),ls(17,"ion-segment-button",9),ls(18,"ion-label"),Xs(19),Ou(20,"translate"),us(),cs(21,"ion-icon",10),us(),us(),us(),us(),is(22,IH,43,37,"ng-container",11),is(23,BH,4,2,"ng-container",11)),2&e&&(as("translucent",!0),Ao(6),Ks(t.title),Ao(2),as("src",t.user.picture,Sr),Ao(3),as("value",t.currentTool),Ao(3),Ks(Mu(15,9,"lang.informations")),Ao(3),as("disabled",t.creationMode),Ao(2),Ks(Mu(20,11,"lang.manage_groups")),Ao(3),as("ngIf","info"===t.currentTool),Ao(1),as("ngIf","groups"===t.currentTool))},directives:[JC,TS,BC,hS,RC,tE,OS,IC,xS,nA,kS,lS,$C,yh,Qm,pm,Gm,GC,rS,iS,iA,Ay,Py,Sy,fm,Zm,MS,$k,uS,cS,vh,FC,jC,pS],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:30px}"]}),zH);function NH(e,t){if(1&e&&(ls(0,"div",15),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks().$implicit;as("mat-sort-header",n),Ao(1),Js(" ",Mu(2,2,"lang."+n)," ")}}function HH(e,t){if(1&e&&(ds(0),is(1,NH,3,4,"div",14),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf","actions"!==n)}}function jH(e,t){if(1&e){var n=ps();ls(0,"div",16),ls(1,"ion-searchbar",17),ys("ionChange",function(e){return rn(n),ks().applyFilter(e.detail.value)}),Ou(2,"translate"),us(),us()}2&e&&(Ao(1),as("placeholder",Mu(2,1,"lang.filter")))}function UH(e,t){if(1&e&&(ls(0,"div",16),Xs(1),us()),2&e){var n=t.$implicit,i=ks().$implicit;Ao(1),Js(" ",i[n]," ")}}function WH(e,t){if(1&e){var n=ps();ls(0,"ion-item",7),ls(1,"ion-label",18),is(2,UH,2,1,"div",19),us(),ls(3,"ion-button",20),ys("click",function(e){rn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Ou(4,"translate"),cs(5,"ion-icon",21),us(),us()}if(2&e){var i=t.$implicit,r=ks();Ao(1),Ps("routerLink","/administration/groups/",i.id,""),Ao(1),as("ngForOf",r.displayedColumns),Ao(1),Es("title",Mu(4,3,"lang.delete"))}}var GH,qH=((GH=function(){function e(t,n,i,r,o,a,s){S(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.alertController=s,this.groupList=[],this.loading=!0,this.displayedColumns=["label","actions"]}return C(e,[{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.groupList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/groups").pipe(Z(function(e){return e.groups}),fw(function(){return e.loading=!1})).subscribe({next:function(t){e.groupList=t,e.sortedData=e.groupList.slice()}})}},{key:"delete",value:function(e){return t=this,i=_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/groups/"+e.id).pipe(fw(function(){return i.loading=!1})).subscribe({next:function(t){var n=i.groupList.findIndex(function(t){return t.id===e.id});i.groupList.splice(n,1),i.sortedData=i.groupList.slice(),i.notificationService.success("lang.groupDeleted")}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.groupList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||GH)(os(ub),os(mP),os(JM),os(SB),os(OP),os(_P),os(cE))},GH.\u0275cmp=pt({type:GH,selectors:[["app-administration-groups-list"]],viewQuery:function(e,t){var n;1&e&&(Xu(lV,3),Xu(PV,3)),2&e&&(Qu(n=Ju())&&(t.paginator=n.first),Qu(n=Ju())&&(t.sort=n.first))},decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/groups/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),Ou(8,"translate"),us(),us(),ls(9,"ion-toolbar",1),ls(10,"ion-buttons",2),ls(11,"ion-button",4),Xs(12),Ou(13,"translate"),us(),us(),ls(14,"ion-title",5),Xs(15),Ou(16,"translate"),us(),us(),us(),ls(17,"ion-content",null,6),ls(19,"ion-list"),ls(20,"ion-item",7),ls(21,"ion-label",8),ys("matSortChange",function(e){return t.sortData(e)}),is(22,HH,2,1,"ng-container",9),is(23,jH,3,3,"div",10),us(),ls(24,"ion-button",11),cs(25,"ion-icon"),us(),us(),ls(26,"ion-virtual-scroll",12),is(27,WH,6,5,"ion-item",13),us(),us(),us()),2&e&&(as("translucent",!0),Ao(6),$s("",Mu(7,10,"lang.administration")," ",Mu(8,12,"lang.manage_groupsAlt"),""),Ao(6),Js(" ",Mu(13,14,"lang.groupCreation")," "),Ao(3),$s("",t.groupList.length," ",Mu(16,16,"lang.manage_groupsAlt"),""),Ao(6),as("matSortActive",t.displayedColumns[0]),Ao(1),as("ngForOf",t.displayedColumns),Ao(1),as("ngIf",t.displayedColumns.indexOf("actions")>-1),Ao(3),as("items",t.sortedData))},directives:[JC,TS,BC,hS,RC,tE,OS,FC,nE,Wx,GC,uS,rS,lS,PV,vh,yh,$C,aE,oE,RV,_S,iA],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),GH);function YH(e,t){if(1&e){var n=ps();ls(0,"ion-item",6),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).selectUser(e)}),ls(1,"ion-label"),Xs(2),us(),us()}if(2&e){var i=t.$implicit;Ao(2),$s(" ",i.firstname," ",i.lastname," ")}}function ZH(e,t){if(1&e&&(ls(0,"ion-list"),ls(1,"ion-virtual-scroll",4),is(2,YH,3,2,"ion-item",5),us(),us()),2&e){var n=ks();Ao(1),as("items",n.usersList)}}function QH(e,t){1&e&&(ls(0,"ion-item",7),ls(1,"ion-label"),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Ks(Mu(3,1,"lang.emptyUsers")))}var XH,KH=((XH=function(){function e(t,n){S(this,e),this.http=t,this.modalController=n,this.usersList=[]}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.http.get("../rest/users?mode=all").pipe(Z(function(e){return e.users})).subscribe({next:function(t){e.usersList=t.filter(function(t){return-1===e.users.findIndex(function(e){return e.id===t.id})})}})}},{key:"selectUser",value:function(e){this.modalController.dismiss(e)}}]),e}()).\u0275fac=function(e){return new(e||XH)(os(ub),os(fE))},XH.\u0275cmp=pt({type:XH,selectors:[["app-users"]],inputs:{users:"users"},decls:8,vars:6,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 35%;",4,"ngIf"],["approxItemHeight","50px",2,"height","450px",3,"items"],["button","",3,"click",4,"virtualItem"],["button","",3,"click"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","35%"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),us(),us(),ls(5,"ion-content"),is(6,ZH,3,1,"ion-list",2),is(7,QH,4,3,"ion-item",3),us()),2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,4,"lang.users")),Ao(3),as("ngIf",t.usersList.length>0),Ao(1),as("ngIf",0===t.usersList.length))},directives:[JC,TS,OS,GC,yh,uS,aE,oE,rS,lS],pipes:[yP],encapsulation:2}),XH),JH=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function $H(e,t){1&e&&(ls(0,"ion-item",18),ls(1,"ion-label",19),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Js("",Mu(3,1,"lang.privileges")," :"))}function ej(e,t){if(1&e){var n=ps();ls(0,"ion-item",20),ls(1,"ion-toggle",21),ys("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(){rn(n);var e=t.$implicit;return ks().togglePrivilege(e,!0)}),us(),ls(2,"ion-label",22),ys("click",function(){rn(n);var e=t.$implicit;return ks().togglePrivilege(e,!1)}),Xs(3),Ou(4,"translate"),us(),us()}if(2&e){var i=t.$implicit;Ao(1),as("name",i.id)("checked",i.checked)("ngModel",i.checked),Ao(2),Ks(Mu(4,4,"lang."+i.id+"Admin"))}}function tj(e,t){1&e&&(ls(0,"ion-item",18),ls(1,"ion-label",19),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Js("",Mu(3,1,"lang.linkedUsers")," :"))}function nj(e,t){if(1&e&&(ls(0,"div",34),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks().$implicit;as("mat-sort-header",n),Ao(1),Js(" ",Mu(2,2,"lang."+n)," ")}}function ij(e,t){if(1&e&&(ds(0),is(1,nj,3,4,"div",33),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf","actions"!==n)}}function rj(e,t){if(1&e){var n=ps();ls(0,"div",35),ls(1,"ion-button",36),ys("click",function(){return rn(n),ks(2).openUserList()}),Xs(2),Ou(3,"translate"),us(),us()}2&e&&(Ao(2),Js(" ",Mu(3,1,"lang.add")," "))}function oj(e,t){if(1&e&&(ls(0,"div",42),Xs(1),us()),2&e){var n=t.$implicit,i=ks().$implicit;Ao(1),Js(" ",i[n]," ")}}function aj(e,t){if(1&e){var n=ps();ls(0,"ion-item",37),ls(1,"ion-label",38),is(2,oj,2,1,"div",39),us(),ls(3,"ion-button",40),ys("click",function(e){rn(n);var i=t.$implicit,r=ks(2);return e.stopPropagation(),r.unlinkUser(i)}),Ou(4,"translate"),cs(5,"ion-icon",41),us(),us()}if(2&e){var i=t.$implicit,r=ks(2);Ao(1),Ps("routerLink","/administration/users/",i.id,""),Ao(1),as("ngForOf",r.displayedColumns),Ao(1),Es("title",Mu(4,3,"lang.unlinkUser"))}}function sj(e,t){if(1&e){var n=ps();ls(0,"ion-infinite-scroll",43),ys("ionInfinite",function(e){return rn(n),ks(2).loadData(e)}),cs(1,"ion-infinite-scroll-content",44),Ou(2,"translate"),us()}2&e&&(Ao(1),as("loadingText",Mu(2,1,"lang.loadingMoreData")))}function lj(e,t){1&e&&(ls(0,"ion-item",45),ls(1,"ion-label"),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Ks(Mu(3,1,"lang.emptyGroupUsers")))}function uj(e,t){if(1&e){var n=ps();ls(0,"ion-content",23),ls(1,"ion-list"),ls(2,"ion-item",24),ds(3,14),ls(4,"ion-label",25),ys("matSortChange",function(e){return rn(n),ks().sortData(e)}),is(5,ij,2,1,"ng-container",26),is(6,rj,4,3,"div",27),us(),hs(),ls(7,"ion-button",28),cs(8,"ion-icon"),us(),us(),ls(9,"ion-virtual-scroll",29),is(10,aj,6,5,"ion-item",30),us(),is(11,sj,3,3,"ion-infinite-scroll",31),us(),is(12,lj,4,3,"ion-item",32),us()}if(2&e){var i=ks();Ao(4),as("matSortActive",i.displayedColumns[1]),Ao(1),as("ngForOf",i.displayedColumns),Ao(1),as("ngIf",i.displayedColumns.indexOf("actions")>-1),Ao(3),as("items",i.sortedData),Ao(2),as("ngIf",i.group.users.length>7),Ao(1),as("ngIf",0===i.group.users.length)}}function cj(e,t){if(1&e){var n=ps();ls(0,"ion-button",46),ys("click",function(){return rn(n),ks().deleteGroup()}),ls(1,"ion-label",16),Xs(2),Ou(3,"translate"),us(),us()}2&e&&(Ao(2),Ks(Mu(3,1,"lang.delete")))}var dj,hj=((dj=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){S(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.popoverController=u,this.modalController=c,this.alertController=d,this.latinisePipe=h,this.creationMode=!0,this.loading=!0,this.title="",this.displayedColumns=["firstname","lastname","actions"],this.group={id:"",label:"",users:[],privileges:[]},this.groupClone=JSON.parse(JSON.stringify(this.group))}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.groupCreation"),e.loading=!1,e.groupClone=JSON.parse(JSON.stringify(e.group))):(e.creationMode=!1,e.usersList=[],e.http.get("../rest/groups/"+t.id).pipe(Z(function(e){return e.group}),fw(function(){e.loading=!1})).subscribe({next:function(t){e.group=t,e.groupClone=JSON.parse(JSON.stringify(e.group)),e.title=e.group.label,e.updateDataTable()}}),e.http.get("../rest/users?mode=all").pipe(Z(function(e){return e.users})).subscribe({next:function(t){e.usersList=t}}))})}},{key:"updateDataTable",value:function(){this.sortedData=this.group.users.slice()}},{key:"openUserList",value:function(e){return JH(this,void 0,void 0,_().mark(function e(){var t,n,i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:KH,componentProps:{users:this.group.users}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:n=e.sent,void 0!==(i=n.data)&&this.linkUser(i);case 10:case"end":return e.stop()}},e,this)}))}},{key:"canValidate",value:function(){return this.group.label!==this.groupClone.label}},{key:"onSubmit",value:function(){this.creationMode?this.createGroup():this.modifyGroup()}},{key:"linkUser",value:function(e){var t=this;this.http.put("../rest/groups/"+this.group.id+"/users",{userId:e.id}).subscribe({next:function(){t.group.users.push(e),t.updateDataTable(),t.notificationService.success("lang.userAdded")}})}},{key:"unlinkUser",value:function(e){return JH(this,void 0,void 0,_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.id!==this.authService.user.id){t.next=8;break}return t.next=3,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.deleteUser(e)}}]});case 3:return n=t.sent,t.next=6,n.present();case 6:t.next=9;break;case 8:this.deleteUser(e);case 9:case"end":return t.stop()}},t,this)}))}},{key:"deleteUser",value:function(e){var t=this;this.http.delete("../rest/groups/"+this.group.id+"/users/"+e.id,{}).subscribe({next:function(){var n=t.group.users.findIndex(function(t){return t.id===e.id});t.group.users.splice(n,1),t.updateDataTable(),t.notificationService.success("lang.userDeleted")}})}},{key:"modifyGroup",value:function(){var e=this;this.loading=!0,this.http.put("../rest/groups/"+this.group.id,this.group).subscribe({next:function(){e.router.navigate(["/administration/groups"]),e.notificationService.success("lang.groupUpdated")}})}},{key:"createGroup",value:function(){var e=this;this.loading=!0,this.http.post("../rest/groups",this.group).subscribe({next:function(t){e.router.navigate(["/administration/groups/"+t.id]),e.notificationService.success("lang.groupAdded")}})}},{key:"deleteGroup",value:function(){return JH(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){n.http.delete("../rest/groups/"+n.group.id).subscribe({next:function(){n.router.navigate(["/administration/groups"]),n.notificationService.success("lang.groupDeleted")}})}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"togglePrivilege",value:function(e,t){return JH(this,void 0,void 0,_().mark(function n(){var i,r=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("manage_groups"!==e.id||!e.checked){n.next=9;break}return t||(e.checked=!e.checked),n.next=4,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),message:this.translate.instant("lang.groupWarnMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){e.checked=!e.checked}},{text:this.translate.instant("lang.yes"),handler:function(){r.updatePrivilege(e)}}]});case 4:return i=n.sent,n.next=7,i.present();case 7:n.next=10;break;case 9:t||(e.checked=!e.checked),setTimeout(function(){r.updatePrivilege(e)},200);case 10:case"end":return n.stop()}},n,this)}))}},{key:"updatePrivilege",value:function(e){var t=this;this.http.put("../rest/groups/"+this.group.id+"/privilege/"+e.id,{checked:e.checked}).subscribe({next:function(){t.notificationService.success("lang.privilegeUpdated"),t.authService.updateUserInfoWithTokenRefresh()}})}},{key:"cancel",value:function(){this.router.navigate(["/administration/groups"])}},{key:"sortData",value:function(e){var t=this.group.users.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}},{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.group.users.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"loadData",value:function(e){var t=this;this.http.get("../rest/groups/"+this.group.id).pipe(cw(function(n){t.group.users=n.group.users,e.target.complete(),e.target.disabled=!0})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||dj)(os(ub),os(mP),os(w_),os(Ux),os(OP),os(_P),os(SB),os(TP),os(pE),os(fE),os(cE),os(JM))},dj.\u0275cmp=pt({type:dj,selectors:[["app-administration-group"]],viewQuery:function(e,t){var n;1&e&&(Xu(lV,1),Xu(PV,1)),2&e&&(Qu(n=Ju())&&(t.paginator=n.first),Qu(n=Ju())&&(t.sort=n.first))},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"maxlength","ngModel","ngModelChange"],["lines","none",4,"ngIf"],[2,"display","grid","grid-gap","10px"],["style","cursor: pointer",4,"ngFor","ngForOf"],[2,"margin-left","4x","display","flex","width","50%",3,"placeholder","ionChange"],["style","height: 400px; overflow-y: auto;",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click",4,"ngIf"],["lines","none"],["color","secondary"],[2,"cursor","pointer"],["slot","start","color","primary",3,"name","checked","ngModel","ngModelChange","click"],[3,"click"],[2,"height","400px","overflow-y","auto"],[2,"position","sticky","top","0px","z-index","1"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1;text-align: right;",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none","style","text-align: center; font-size: 20px; color: gray; margin-top: 5px;",4,"ngIf"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1","text-align","right"],["slot","end","color","primary","fille","outline","shape","round",3,"click"],[2,"display","flex"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","close-outline"],[2,"flex","1"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","none",2,"text-align","center","font-size","20px","color","gray","margin-top","5px"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"click"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),us(),us(),us(),ls(7,"form",4,5),ys("ngSubmit",function(){return t.onSubmit()}),ls(9,"ion-content"),ls(10,"ion-item"),ls(11,"ion-label",6),Xs(12),Ou(13,"translate"),us(),ls(14,"ion-input",7),ys("ngModelChange",function(e){return t.group.label=e}),us(),us(),is(15,$H,4,3,"ion-item",8),ls(16,"div",9),is(17,ej,5,6,"ion-item",10),us(),is(18,tj,4,3,"ion-item",8),ls(19,"ion-searchbar",11),ys("ionChange",function(e){return t.applyFilter(e.detail.value)}),Ou(20,"translate"),us(),is(21,uj,13,6,"ion-content",12),ls(22,"ion-item",13),ls(23,"div",14),ls(24,"ion-button",15),ls(25,"ion-label",16),Xs(26),Ou(27,"translate"),us(),us(),is(28,cj,4,3,"ion-button",17),us(),us(),us(),us()),2&e){var n=rs(8);as("translucent",!0),Ao(6),Ks(t.title),Ao(6),Js("",Mu(13,17,"lang.label")," *"),Ao(2),as("maxlength",128)("ngModel",t.group.label),Ao(1),as("ngIf",!t.creationMode),Ao(1),Bs("grid-2-col",t.signaturesService.mobileMode)("grid-3-col",!t.signaturesService.mobileMode),Ao(1),as("ngForOf",t.group.privileges),Ao(1),as("ngIf",!t.creationMode),Ao(1),as("placeholder",Mu(20,19,"lang.filter")),Ao(2),as("ngIf",!t.creationMode),Ao(3),as("disabled",!n.form.valid||!t.canValidate()),Ao(2),Ks(Mu(27,21,"lang.validate")),Ao(2),as("ngIf",!t.creationMode)}},directives:[JC,TS,BC,hS,RC,tE,OS,Qm,pm,Gm,GC,rS,lS,iS,iA,Ay,Sy,fm,Zm,yh,vh,_S,FC,MS,$k,uS,PV,$C,aE,oE,RV,nE,Wx,tS,nS],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".privilegesList[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;display:inline-block;width:100%}@media (min-width:768px){.privilegesList[_ngcontent-%COMP%]{width:50%}}@media (min-width:992px){.privilegesList[_ngcontent-%COMP%]{width:33%}}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center;margin-top:30px}legend[_ngcontent-%COMP%]{color:#f99830}.grid-2-col[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.grid-3-col[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}"]}),dj);function fj(e,t){if(1&e&&(ls(0,"ion-select-option",10),Xs(1),Ou(2,"translate"),us()),2&e){var n=t.$implicit;as("value",n.id)("disabled",!n.allowed),Ao(1),Js(" ",Mu(2,3,"lang."+n.id+"Connection"),"")}}function pj(e,t){if(1&e){var n=ps();ls(0,"ion-select",8),ys("ionChange",function(e){return rn(n),ks().changeConnection(e.detail.value)}),Ou(1,"translate"),is(2,fj,3,5,"ion-select-option",9),us()}if(2&e){var i=ks();Es("cancelText",Mu(1,3,"lang.cancel")),as("value",i.currentConnection.id),Ao(2),as("ngForOf",i.connectionList)}}function gj(e,t){if(1&e&&(ls(0,"ion-col"),ls(1,"ion-button",11),ls(2,"div",12),cs(3,"ion-icon",13),ls(4,"ion-label",14),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-note",15),Xs(8),Ou(9,"translate"),us(),us(),us(),us()),2&e){var n=t.$implicit;Ao(1),as("routerLink",n.route),Ao(2),as("name",n.icon),Ao(2),Js("",Mu(6,4,"lang."+n.id)," "),Ao(3),Js(" ",Mu(9,6,"lang."+n.id+"Desc"),"")}}var vj,mj=((vj=function(){function e(t,n,i,r,o){S(this,e),this.http=t,this.signaturesService=n,this.notificationService=i,this.alertController=r,this.authService=o,this.loading=!0,this.privileges=[{id:"manage_ldap_configurations",icon:"server-sharp",route:"/administration/connections/ldaps"}],this.id=0,this.label="",this.connectionList=[]}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.http.get("../rest/configurations",{params:{identifier:"connection"}}).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(t){e.label=t.configurations.label,e.id=t.configurations.id,e.connectionList=t.configurations.availableConnections;var n=e.connectionList.findIndex(function(e){return e.id===t.configurations.value});e.currentConnection=void 0!==e.connectionList[n]?e.connectionList[n]:e.connectionList[0]}})}},{key:"changeConnection",value:function(e){return t=this,i=_().mark(function t(){var n=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.http.patch("../rest/configurations/"+this.id,{label:this.label,value:e}).pipe(fw(function(){return n.loading=!1})).subscribe({next:function(){n.authService.updateUserInfoWithTokenRefresh(),n.notificationService.success("lang.connectionModeUpdated"),n.authService.authMode=e}});case 1:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||vj)(os(ub),os(OP),os(_P),os(cE),os(TP))},vj.\u0275cmp=pt({type:vj,selectors:[["app-administration-connection"]],decls:18,vars:9,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["mainContent",""],["color","secondary"],[3,"value","cancelText","ionChange",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"value","cancelText","ionChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["expand","block","size","large","fill","outline","color","secondary",2,"height","200px",3,"routerLink"],[1,"admin-content"],["color","primary",2,"font-size","70px",3,"name"],["color","primary",2,"white-space","normal"],[2,"font-size","8px","white-space","normal","padding","10px"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),us(),us(),us(),ls(8,"ion-content",null,4),ls(10,"ion-item"),ls(11,"ion-label",5),Xs(12),Ou(13,"translate"),us(),is(14,pj,3,5,"ion-select",6),us(),ls(15,"ion-grid"),ls(16,"ion-row"),is(17,gj,10,8,"ion-col",7),us(),us(),us()),2&e&&(as("translucent",!0),Ao(6),Ks(Mu(7,5,"lang.manage_connections")),Ao(6),Ks(Mu(13,7,"lang.connectionMode")),Ao(2),as("ngIf",t.currentConnection),Ao(3),as("ngForOf",t.privileges))},directives:[JC,TS,BC,hS,RC,tE,OS,GC,rS,lS,yh,KC,wS,vh,AS,nA,CS,WC,FC,nE,Wx,$C,pS],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",".admin-desc[_ngcontent-%COMP%]{white-space:normal;font-size:10px;line-height:15px;text-align:justify;color:grey;height:60px;overflow:auto}.admin-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}"]}),vj);function yj(e,t){if(1&e&&(ls(0,"div",15),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks().$implicit;as("mat-sort-header",n),Ao(1),Js(" ",Mu(2,2,"lang."+n)," ")}}function bj(e,t){if(1&e&&(ds(0),is(1,yj,3,4,"div",14),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf","actions"!==n)}}function wj(e,t){if(1&e){var n=ps();ls(0,"div",16),ls(1,"ion-searchbar",17),ys("ionChange",function(e){return rn(n),ks().applyFilter(e.detail.value)}),Ou(2,"translate"),us(),us()}2&e&&(Ao(1),as("placeholder",Mu(2,1,"lang.filter")))}function _j(e,t){if(1&e&&(ls(0,"div",16),Xs(1),us()),2&e){var n=t.$implicit,i=ks().$implicit;Ao(1),Js(" ",i[n]," ")}}function xj(e,t){if(1&e){var n=ps();ls(0,"ion-item",7),ls(1,"ion-label",18),is(2,_j,2,1,"div",19),us(),ls(3,"ion-button",20),ys("click",function(e){rn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.delete(i)}),Ou(4,"translate"),cs(5,"ion-icon",21),us(),us()}if(2&e){var i=t.$implicit,r=ks();Ao(1),Ps("routerLink","/administration/connections/ldaps/",i.id,""),Ao(1),as("ngForOf",r.displayedColumns),Ao(1),Es("title",Mu(4,3,"lang.delete"))}}var kj,Aj=((kj=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.signaturesService=o,this.notificationService=a,this.authService=s,this.alertController=l,this.ldapList=[],this.loading=!0,this.displayedColumns=["label","actions"]}return C(e,[{key:"updateDataTable",value:function(){this.sortedData=this.ldapList.slice()}},{key:"applyFilter",value:function(e){var t=this;e=this.latinisePipe.transform(e.toLowerCase()),this.sortedData=this.ldapList.filter(function(n){var i=!1;return t.displayedColumns.forEach(function(r){n[r]&&t.latinisePipe.transform(n[r].toLowerCase()).includes(e)&&(i=!0)}),i})}},{key:"ngOnInit",value:function(){}},{key:"ionViewWillEnter",value:function(){var e=this;this.http.get("../rest/configurations",{params:{identifier:"ldapServer"}}).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(t){e.ldapList=t.configurations,e.updateDataTable()}})}},{key:"delete",value:function(e){return t=this,i=_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/configurations/"+e.id).pipe(fw(function(){return i.loading=!1})).subscribe({next:function(){var t=i.ldapList.findIndex(function(t){return t.id===e.id});i.ldapList.splice(t,1),i.updateDataTable(),i.notificationService.success("lang.ldapDeleted")}})}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"sortData",value:function(e){var t=this.ldapList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){return function(e,t,n){return(e<t?-1:1)*(n?1:-1)}(t[e.active],n[e.active],"asc"===e.direction)}):t}}]),e}()).\u0275fac=function(e){return new(e||kj)(os(ub),os(mP),os(JM),os(SB),os(OP),os(_P),os(TP),os(cE))},kj.\u0275cmp=pt({type:kj,selectors:[["app-administration-ldap-list"]],decls:28,vars:18,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["fill","outline","shape","round","routerLink","/administration/connections/ldaps/new"],["slot","end","color","secondary"],["mainContent",""],[2,"display","flex"],["color","primary","matSort","","matSortDirection","asc",2,"display","flex","font-size","12px","align-items","center",3,"matSortActive","matSortChange"],[4,"ngFor","ngForOf"],["style","flex: 1",4,"ngIf"],["slot","end","fill","clear","shape","round","disabled",""],["approxItemHeight","50px",3,"items"],["style","display: flex;",4,"virtualItem"],["disableClear","","style","flex: 1",3,"mat-sort-header",4,"ngIf"],["disableClear","",2,"flex","1",3,"mat-sort-header"],[2,"flex","1"],[2,"padding","1px",3,"placeholder","ionChange"],[2,"display","flex","cursor","pointer",3,"routerLink"],["style","flex: 1",4,"ngFor","ngForOf"],["slot","end","fill","clear","shape","round",3,"title","click"],["color","danger","slot","icon-only","name","trash"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),Ou(8,"translate"),us(),us(),ls(9,"ion-toolbar",1),ls(10,"ion-buttons",2),ls(11,"ion-button",4),Xs(12),Ou(13,"translate"),us(),us(),ls(14,"ion-title",5),Xs(15),Ou(16,"translate"),us(),us(),us(),ls(17,"ion-content",null,6),ls(19,"ion-list"),ls(20,"ion-item",7),ls(21,"ion-label",8),ys("matSortChange",function(e){return t.sortData(e)}),is(22,bj,2,1,"ng-container",9),is(23,wj,3,3,"div",10),us(),ls(24,"ion-button",11),cs(25,"ion-icon"),us(),us(),ls(26,"ion-virtual-scroll",12),is(27,xj,6,5,"ion-item",13),us(),us(),us()),2&e&&(as("translucent",!0),Ao(6),$s("",Mu(7,10,"lang.administration")," ",Mu(8,12,"lang.manage_ldap_configurationsAlt")," "),Ao(6),Js(" ",Mu(13,14,"lang.ldapCreation")," "),Ao(3),$s("",t.ldapList.length," ",Mu(16,16,"lang.manage_ldap_configurationsAlt"),""),Ao(6),as("matSortActive",t.displayedColumns[0]),Ao(1),as("ngForOf",t.displayedColumns),Ao(1),as("ngIf",t.displayedColumns.indexOf("actions")>-1),Ao(3),as("items",t.sortedData))},directives:[JC,TS,BC,hS,RC,tE,OS,FC,nE,Wx,GC,uS,rS,lS,PV,vh,yh,$C,aE,oE,RV,_S,iA],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),kj);function Cj(e,t){return t?function(n){return n.pipe(Cj(function(n,i){return re(e(n,i)).pipe(Z(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new Sj(e))}}var Sj=function(){function e(t){S(this,e),this.project=t}return C(e,[{key:"call",value:function(e,t){return t.subscribe(new Ej(e,this.project))}}]),e}(),Ej=function(e){o(n,e);var t=s(n);function n(e,i){var r;return S(this,n),(r=t.call(this,e)).project=i,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return C(n,[{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(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new oe(this),n=this.destination;n.add(t);var i=se(e,t);i!==t&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),n}(ae);function Pj(e,t){1&e&&(ds(0),Xs(1),Ou(2,"translate"),hs()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.connectionInProgress"),"... "))}function Dj(e,t){if(1&e&&(ds(0),Xs(1),hs()),2&e){var n=ks(2);Ao(1),Js(" ",n.ldapTest.result," ")}}function Oj(e,t){if(1&e&&(ls(0,"div",16),is(1,Pj,3,3,"ng-container",17),is(2,Dj,2,1,"ng-container",17),us()),2&e){var n=ks();Ao(1),as("ngIf",n.loadingTest),Ao(1),as("ngIf",""!==n.ldapTest.result)}}var Mj,Tj=((Mj=function(){function e(t,n,i,r,o,a){S(this,e),this.http=t,this.translate=n,this.latinisePipe=i,this.dialog=r,this.notificationService=o,this.alertController=a,this.loadingTest=!1}return C(e,[{key:"ngOnInit",value:function(){}},{key:"testLdap",value:function(){var e=this;this.loadingTest=!0,this.ldapTest.result="",this.canValidate?this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(cw(function(){e.notificationService.success("lang.ldapUpdated")}),Cj(function(){return e.http.get("../rest/configurations/"+e.ldap.id+"/connection",{params:{login:e.ldapTest.login,password:e.ldapTest.password}})}),cw(function(t){e.ldapTest.result=t.informations,t.connection&&e.notificationService.success("lang.ldapConnectionSucceeded")}),fw(function(){return e.loadingTest=!1}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe():this.http.get("../rest/configurations/"+this.ldap.id+"/connection",{params:{login:this.ldapTest.login,password:this.ldapTest.password}}).pipe(cw(function(t){e.ldapTest.result=t.informations,t.connection&&e.notificationService.success("lang.ldapConnectionSucceeded")}),fw(function(){return e.loadingTest=!1}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||Mj)(os(ub),os(mP),os(JM),os(SB),os(_P),os(cE))},Mj.\u0275cmp=pt({type:Mj,selectors:[["app-check-connection"]],inputs:{ldapTest:"ldapTest",ldap:"ldap",canValidate:"canValidate"},decls:45,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","login","required","",3,"ngModel","ngModelChange"],["name","password","required","",3,"ngModel","ngModelChange"],["color","secondary"],["name","uri","readonly","",3,"ngModel","ngModelChange"],["name","pathLogin","readonly","",3,"value"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],[1,"bash"],[4,"ngIf"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"form",3,4),ys("ngSubmit",function(){return t.testLdap()}),ls(9,"ion-content",null,5),ls(11,"ion-item"),ls(12,"ion-label",6),Xs(13),Ou(14,"translate"),us(),ls(15,"ion-input",7),ys("ngModelChange",function(e){return t.ldapTest.login=e}),us(),us(),ls(16,"ion-item"),ls(17,"ion-label",6),Xs(18),Ou(19,"translate"),us(),ls(20,"ion-input",8),ys("ngModelChange",function(e){return t.ldapTest.password=e}),us(),us(),ls(21,"ion-card"),ls(22,"ion-card-header"),ls(23,"ion-card-subtitle",9),Xs(24),Ou(25,"translate"),us(),us(),ls(26,"ion-card-content"),ls(27,"ion-item"),ls(28,"ion-label",1),Xs(29),Ou(30,"translate"),us(),ls(31,"ion-input",10),ys("ngModelChange",function(e){return t.ldap.value.uri=e}),us(),us(),ls(32,"ion-item"),ls(33,"ion-label",1),Xs(34),Ou(35,"translate"),us(),cs(36,"ion-input",11),us(),is(37,Oj,3,2,"div",12),us(),us(),us(),ls(38,"ion-footer",13),ls(39,"ion-toolbar"),ls(40,"ion-buttons",14),ls(41,"ion-button",15),ls(42,"ion-label"),Xs(43),Ou(44,"translate"),us(),us(),us(),us(),us(),us()),2&e){var n=rs(8);as("translucent",!0),Ao(5),Ks(Mu(6,14,"lang.connectionTest")),Ao(8),Js("",Mu(14,16,"lang.login")," *"),Ao(2),as("ngModel",t.ldapTest.login),Ao(3),Js("",Mu(19,18,"lang.password")," *"),Ao(2),as("ngModel",t.ldapTest.password),Ao(4),Js("",Mu(25,20,"lang.ldapInformations")," :"),Ao(5),Js("",Mu(30,22,"lang.uri")," :"),Ao(2),as("ngModel",t.ldap.value.uri),Ao(3),Js("",Mu(35,24,"lang.login")," :"),Ao(2),as("value",t.ldap.value.prefix?t.ldap.value.prefix+"\\"+t.ldapTest.login+t.ldap.value.suffix:t.ldapTest.login+t.ldap.value.suffix),Ao(1),as("ngIf",""!==t.ldapTest.result||t.loadingTest),Ao(4),as("disabled",!n.form.valid||t.loadingTest),Ao(2),Ks(Mu(44,26,"lang.connectionTest"))}},directives:[JC,TS,BC,RC,tE,OS,Qm,pm,Gm,GC,rS,lS,iS,iA,Ay,fm,Zm,zC,NC,HC,VC,yh,XC,FC],pipes:[yP],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),Mj);function Ij(e,t){if(1&e){var n=ps();ls(0,"ion-button",18),ys("click",function(){return rn(n),ks().checkConnection()}),ls(1,"ion-label",15),Xs(2),Ou(3,"translate"),us(),us()}2&e&&(Ao(2),Ks(Mu(3,1,"lang.connectionTest")))}function Rj(e,t){if(1&e){var n=ps();ls(0,"ion-button",19),ys("click",function(){return rn(n),ks().delete()}),ls(1,"ion-label",15),Xs(2),Ou(3,"translate"),us(),us()}if(2&e){var i=ks();as("disabled","ldap"===i.authService.authMode&&1===i.ldap.count),Ao(2),Ks(Mu(3,2,"lang.delete"))}}var Lj,Fj=((Lj=function(){function e(t,n,i,r,o,a,s,l,u){S(this,e),this.http=t,this.translate=n,this.route=i,this.router=r,this.signaturesService=o,this.notificationService=a,this.dialog=s,this.authService=l,this.modalController=u,this.creationMode=!0,this.loading=!0,this.loadingTest=!1,this.ldapTest={login:"",password:"",result:""},this.ldap={id:0,label:"",identifier:"ldapServer",value:{uri:"",ssl:!1,prefix:"",suffix:"",baseDN:""}},this.title=""}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.ldapTest.login=this.authService.user.login,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.title=e.translate.instant("lang.ldapCreation"),e.loading=!1):(e.creationMode=!1,e.http.get("../rest/configurations/"+t.id).pipe(Z(function(e){return e.configuration}),fw(function(){return e.loading=!1})).subscribe({next:function(t){e.ldap=t,e.ldapClone=JSON.parse(JSON.stringify(e.ldap)),e.title=e.ldap.label}}))})}},{key:"canValidate",value:function(){return JSON.stringify(this.ldap)!==JSON.stringify(this.ldapClone)}},{key:"onSubmit",value:function(){this.creationMode?this.createLdap():this.modifyLdap()}},{key:"modifyLdap",value:function(){var e=this;this.loading=!0,this.http.patch("../rest/configurations/"+this.ldap.id,this.ldap).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapUpdated")}})}},{key:"createLdap",value:function(){var e=this;this.loading=!0,this.http.post("../rest/configurations",this.ldap).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapAdded")}})}},{key:"delete",value:function(){var e=this;this.dialog.open(CH,{autoFocus:!1,data:{mode:"",title:"lang.confirmMsg",msg:""}}).afterClosed().subscribe(function(t){"yes"===t&&(e.loading=!0,e.http.delete("../rest/configurations/"+e.ldap.id).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(){e.router.navigate(["/administration/connections/ldaps"]),e.notificationService.success("lang.ldapDeleted")}}))})}},{key:"cancel",value:function(){this.router.navigate(["/administration/connections/ldaps"])}},{key:"checkConnection",value:function(e){return t=this,i=_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:Tj,componentProps:{ldapTest:this.ldapTest,ldap:this.ldap,canValidate:this.canValidate()}});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||Lj)(os(ub),os(mP),os(w_),os(Ux),os(OP),os(_P),os(SB),os(TP),os(fE))},Lj.\u0275cmp=pt({type:Lj,selectors:[["app-administration-ldap"]],decls:49,vars:28,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","adminForm",2,"display","contents",3,"ngSubmit"],["adminForm","ngForm"],["color","secondary","position","floating"],["name","label","required","",3,"ngModel","ngModelChange"],["name","uri","required","",3,"ngModel","ngModelChange"],["name","baseDN",3,"ngModel","ngModelChange"],["name","prefix",3,"ngModel","ngModelChange"],["name","suffix",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click",4,"ngIf"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],["type","button","shape","round","size","large","fill","outline","color","danger",3,"disabled","click"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),us(),us(),us(),ls(7,"form",4,5),ys("ngSubmit",function(){return t.onSubmit()}),ls(9,"ion-content"),ls(10,"ion-item"),ls(11,"ion-label",6),Xs(12),Ou(13,"translate"),us(),ls(14,"ion-input",7),ys("ngModelChange",function(e){return t.ldap.label=e}),us(),us(),ls(15,"ion-item"),ls(16,"ion-label",6),Xs(17),Ou(18,"translate"),us(),ls(19,"ion-input",8),ys("ngModelChange",function(e){return t.ldap.value.uri=e}),us(),us(),ls(20,"ion-item"),ls(21,"ion-label",6),Xs(22),Ou(23,"translate"),us(),ls(24,"ion-input",9),ys("ngModelChange",function(e){return t.ldap.value.baseDN=e}),us(),ls(25,"ion-note"),Xs(26,"ex: dc=maarch,dc=com"),us(),us(),ls(27,"ion-item"),ls(28,"ion-label",6),Xs(29),Ou(30,"translate"),us(),ls(31,"ion-input",10),ys("ngModelChange",function(e){return t.ldap.value.prefix=e}),us(),ls(32,"ion-note"),Xs(33,"ex: MAARCH"),us(),us(),ls(34,"ion-item"),ls(35,"ion-label",6),Xs(36),Ou(37,"translate"),us(),ls(38,"ion-input",11),ys("ngModelChange",function(e){return t.ldap.value.suffix=e}),us(),ls(39,"ion-note"),Xs(40,"ex: @maarch.com"),us(),us(),ls(41,"ion-item",12),ls(42,"div",13),ls(43,"ion-button",14),ls(44,"ion-label",15),Xs(45),Ou(46,"translate"),us(),us(),is(47,Ij,4,3,"ion-button",16),is(48,Rj,4,4,"ion-button",17),us(),us(),us(),us()),2&e){var n=rs(8);as("translucent",!0),Ao(6),Ks(t.title),Ao(6),Js("",Mu(13,16,"lang.label")," *"),Ao(2),as("ngModel",t.ldap.label),Ao(3),Js("",Mu(18,18,"lang.uri")," *"),Ao(2),as("ngModel",t.ldap.value.uri),Ao(3),Ks(Mu(23,20,"lang.baseDN")),Ao(2),as("ngModel",t.ldap.value.baseDN),Ao(5),Ks(Mu(30,22,"lang.prefix")),Ao(2),as("ngModel",t.ldap.value.prefix),Ao(5),Ks(Mu(37,24,"lang.suffix")),Ao(2),as("ngModel",t.ldap.value.suffix),Ao(5),as("disabled",!n.form.valid||!t.canValidate()),Ao(2),Ks(Mu(46,26,"lang.validate")),Ao(2),as("ngIf",!t.creationMode),Ao(1),as("ngIf",!t.creationMode)}},directives:[JC,TS,BC,hS,RC,tE,OS,Qm,pm,Gm,GC,rS,lS,iS,iA,Ay,fm,Zm,pS,FC,yh],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),Lj);function Bj(e,t){if(1&e&&(ls(0,"ion-item"),cs(1,"ion-icon",13),ls(2,"ion-label",14),Xs(3),Ou(4,"translate"),us(),us()),2&e){var n=ks();Ao(1),as("color","close-outline"===n.emailSendResult.icon?"danger":"primary")("name",n.emailSendResult.icon),Ao(1),as("color","close-outline"===n.emailSendResult.icon?"danger":"primary"),Ao(1),Ks(Mu(4,4,n.emailSendResult.msg))}}function zj(e,t){if(1&e&&(ls(0,"div",15),Xs(1),us()),2&e){var n=ks();Ao(1),Js(" ",n.emailSendResult.debug," ")}}var Vj,Nj=((Vj=function(){function e(t,n,i,r,o){S(this,e),this.http=t,this.translate=n,this.dialog=i,this.notificationService=r,this.alertController=o,this.emailSendLoading=!1,this.emailSendResult={icon:"",msg:"",debug:"",error:!1}}return C(e,[{key:"ngOnInit",value:function(){}},{key:"testEmailSend",value:function(){var e=this;this.emailSendResult={icon:"paper-plane-outline",msg:"lang.emailSendInProgress",debug:"",error:!1};var t={sender:this.sendmailFrom,recipients:[this.recipientTest],subject:"["+this.translate.instant("lang.doNotReply")+"] "+this.translate.instant("lang.emailSendTest"),status:"EXPRESS",body:this.translate.instant("lang.emailSendTest"),isHtml:!1};this.emailSendLoading=!0,this.http.post("../rest/emails",t).pipe(cw(function(t){e.emailSendResult=t.isSent?{icon:"checkmark-outline",msg:"lang.emailSendSuccess",debug:"",error:!1}:{icon:"close-outline",msg:"lang.emailSendFailed",debug:t.informations,error:!0}}),fw(function(){return e.emailSendLoading=!1})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||Vj)(os(ub),os(mP),os(SB),os(_P),os(cE))},Vj.\u0275cmp=pt({type:Vj,selectors:[["app-check-email-connection"]],inputs:{profileInfo:"profileInfo",sendmailFrom:"sendmailFrom",recipientTest:"recipientTest"},decls:25,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],[2,"display","contents",3,"ngSubmit"],["adminTestForm","ngForm"],["mainContent",""],["color","secondary","position","floating"],["name","recipientTest","required","","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],[4,"ngIf"],["class","bash",4,"ngIf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled"],["slot","start",3,"color","name"],[3,"color"],[1,"bash"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"form",3,4),ys("ngSubmit",function(){return t.testEmailSend()}),ls(9,"ion-content",null,5),ls(11,"ion-item"),ls(12,"ion-label",6),Xs(13),Ou(14,"translate"),us(),ls(15,"ion-input",7),ys("ngModelChange",function(e){return t.recipientTest=e}),us(),us(),is(16,Bj,5,6,"ion-item",8),is(17,zj,2,1,"div",9),us(),ls(18,"ion-footer",10),ls(19,"ion-toolbar"),ls(20,"ion-buttons",11),ls(21,"ion-button",12),ls(22,"ion-label"),Xs(23),Ou(24,"translate"),us(),us(),us(),us(),us(),us()),2&e){var n=rs(8);as("translucent",!0),Ao(5),Ks(Mu(6,9,"lang.emailSendTest")),Ao(8),Js("",Mu(14,11,"lang.mailTo")," *"),Ao(2),as("ngModel",t.recipientTest)("disabled",t.emailSendLoading),Ao(1),as("ngIf",""!=t.emailSendResult.msg),Ao(1),as("ngIf",t.emailSendResult.error),Ao(4),as("disabled",!n.form.valid||t.emailSendLoading),Ao(2),Ks(Mu(24,13,"lang.connectionTest"))}},directives:[JC,TS,BC,RC,tE,OS,Qm,pm,Gm,GC,rS,lS,iS,iA,Ay,Py,fm,Zm,yh,XC,FC,$C],pipes:[yP],styles:[".bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]}),Vj);function Hj(e,t){if(1&e&&(ls(0,"ion-select-option",27),Xs(1),Ou(2,"translate"),us()),2&e){var n=t.$implicit;as("value",n.id),Ao(1),Js("",Mu(2,2,n.label)," ")}}function jj(e,t){if(1&e&&(ls(0,"ion-select-option",27),Xs(1),Ou(2,"translate"),us()),2&e){var n=t.$implicit;as("value",n.id),Ao(1),Js(" ",Mu(2,2,n.label)," ")}}function Uj(e,t){if(1&e){var n=ps();ls(0,"form",5,6),ys("ngSubmit",function(){return rn(n),ks().onSubmit()}),ls(2,"ion-content"),ls(3,"ion-item"),ls(4,"ion-label",7),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-select",8),ys("ngModelChange",function(e){return rn(n),ks().sendmail.type=e}),is(8,Hj,3,4,"ion-select-option",9),us(),us(),ls(9,"ion-grid"),ls(10,"ion-row"),ls(11,"ion-col",10),ls(12,"ion-item"),ls(13,"ion-label",7),Xs(14),Ou(15,"translate"),us(),ls(16,"ion-select",11),ys("ngModelChange",function(e){return rn(n),ks().sendmail.secure=e}),is(17,jj,3,4,"ion-select-option",9),us(),us(),us(),ls(18,"ion-col",12),ls(19,"ion-item"),ls(20,"ion-label",7),Xs(21),Ou(22,"translate"),us(),ls(23,"ion-input",13),ys("ngModelChange",function(e){return rn(n),ks().sendmail.host=e}),us(),us(),us(),ls(24,"ion-col",10),ls(25,"ion-item"),ls(26,"ion-label",7),Xs(27),Ou(28,"translate"),us(),ls(29,"ion-input",14),ys("ngModelChange",function(e){return rn(n),ks().sendmail.port=e}),us(),us(),us(),us(),us(),ls(30,"ion-item"),ls(31,"ion-toggle",15),ys("ngModelChange",function(e){return rn(n),ks().sendmail.auth=e})("ngModelChange",function(){return rn(n),ks().cleanAuthInfo()}),us(),ls(32,"ion-label"),Xs(33),Ou(34,"translate"),us(),us(),ls(35,"ion-item"),ls(36,"ion-label",7),Xs(37),Ou(38,"translate"),us(),ls(39,"ion-input",16),ys("ngModelChange",function(e){return rn(n),ks().sendmail.user=e}),us(),us(),ls(40,"ion-item",17),ls(41,"ion-button",18),ys("click",function(){rn(n);var e=ks();return e.hidePassword=!e.hidePassword}),cs(42,"ion-icon",19),us(),ls(43,"ion-label",7),Xs(44),us(),ls(45,"ion-input",20),ys("ngModelChange",function(e){return rn(n),ks().sendmail.password=e}),us(),us(),ls(46,"ion-item"),ls(47,"ion-label",7),Xs(48),Ou(49,"translate"),us(),ls(50,"ion-input",21),ys("ngModelChange",function(e){return rn(n),ks().sendmail.from=e}),us(),us(),ls(51,"ion-item",22),ls(52,"div",23),ls(53,"ion-button",24),ys("click",function(){return rn(n),ks().checkConnection()}),ls(54,"ion-label",25),Xs(55),Ou(56,"translate"),us(),us(),ls(57,"ion-button",26),ls(58,"ion-label",25),Xs(59),Ou(60,"translate"),us(),us(),us(),us(),us(),us()}if(2&e){var i=rs(1),r=ks();Ao(5),Js("",Mu(6,34,"lang.configurationType")," *"),Ao(2),as("ngModel",r.sendmail.type),Ao(1),as("ngForOf",r.smtpTypeList),Ao(6),Js("",Mu(15,36,"lang.smtpAuth")," * "),Ao(2),as("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.secure)("value",r.sendmail.secure),Ao(1),as("ngForOf",r.smtpSecList),Ao(4),Js("",Mu(22,38,"lang.host")," *"),Ao(2),as("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.host),Ao(4),Js("",Mu(28,40,"lang.port")," *"),Ao(2),as("disabled","smtp"!=r.sendmail.type)("ngModel",r.sendmail.port),Ao(2),as("ngModel",r.sendmail.auth)("checked",r.sendmail.auth)("disabled","smtp"!=r.sendmail.type),Ao(2),Ks(Mu(34,42,"lang.enableAuth")),Ao(4),Js("",Mu(38,44,"lang.id")," *"),Ao(2),as("ngModel",r.sendmail.user)("disabled",!r.sendmail.auth||"smtp"!=r.sendmail.type),Ao(3),as("name",r.hidePassword?"eye-outline":"eye-off-outline"),Ao(2),$s("",r.passwordLanguage," ",r.sendmail.passwordAlreadyExists?"":"*",""),Ao(1),as("type",r.hidePassword?"password":"text")("ngModel",r.sendmail.password)("disabled",!r.sendmail.auth||"smtp"!=r.sendmail.type)("required",!r.sendmail.passwordAlreadyExists),Ao(3),Ks(Mu(49,46,"lang.mailFrom")),Ao(2),as("ngModel",r.sendmail.from)("disabled","smtp"!=r.sendmail.type),Ao(5),Ks(Mu(56,48,"lang.connectionTest")),Ao(2),as("disabled",!i.form.valid||!r.canValidate()),Ao(2),Ks(Mu(60,50,"lang.validate"))}}var Wj,Gj=((Wj=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.http=t,this.translate=n,this.route=i,this.signaturesService=r,this.notificationService=o,this.dialog=a,this.authService=s,this.modalController=l,this.loading=!0,this.title="",this.passwordLanguage="",this.hidePassword=!0,this.smtpTypeList=[{id:"smtp",label:"lang.smtpclient"},{id:"sendmail",label:"lang.smtprelay"},{id:"qmail",label:"lang.qmail"},{id:"mail",label:"lang.phpmail"}],this.smtpSecList=[{id:"",label:"lang.none"},{id:"ssl",label:"ssl"},{id:"tls",label:"tls"}]}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe(function(){e.http.get("../rest/configurations/1").pipe(Z(function(e){return e.configuration}),fw(function(){return e.loading=!1})).subscribe({next:function(t){e.sendmail=t.value,e.sendmailLabel=t.label,e.sendmailClone=JSON.parse(JSON.stringify(e.sendmail)),e.title=e.translate.instant("lang.manage_email_configuration"),e.passwordLanguage=e.translate.instant(e.sendmail.passwordAlreadyExists?"lang.passwordModification":"lang.password")}})})}},{key:"canValidate",value:function(){return JSON.stringify(this.sendmail)!==JSON.stringify(this.sendmailClone)}},{key:"onSubmit",value:function(){var e=this;this.loading=!0,this.http.patch("../rest/configurations/1",{value:this.sendmail,label:this.sendmailLabel}).pipe(fw(function(){return e.loading=!1})).subscribe({next:function(){e.sendmailClone=JSON.parse(JSON.stringify(e.sendmail)),e.notificationService.success("lang.emailConfigurationUpdated")}})}},{key:"cleanAuthInfo",value:function(){this.sendmail.passwordAlreadyExists=!1,this.sendmail.user="",this.sendmail.password=""}},{key:"checkConnection",value:function(e){return t=this,i=_().mark(function e(){var t,n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=JSON.parse(JSON.stringify(this.authService.user)),JSON.stringify(this.sendmailClone)!==JSON.stringify(this.sendmail)&&this.onSubmit(),e.next=4,this.modalController.create({component:Nj,componentProps:{sendmailFrom:this.sendmail.from,recipientTest:t.email}});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||Wj)(os(ub),os(mP),os(w_),os(OP),os(_P),os(SB),os(TP),os(fE))},Wj.\u0275cmp=pt({type:Wj,selectors:[["app-administration-sendmail"]],decls:8,vars:3,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","sendmailForm",3,"ngSubmit",4,"ngIf"],["id","sendmailForm",2,"display","contents",3,"ngSubmit"],["sendmailForm","ngForm"],["color","secondary","position","floating"],["name","smtpType","interface","popover","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["size","2"],["name","SMTPSecure","interface","popover","required","",3,"disabled","ngModel","value","ngModelChange"],["size","8"],["name","host","required","",3,"disabled","ngModel","ngModelChange"],["type","number","name","port","required","",3,"disabled","ngModel","ngModelChange"],["name","SMTPAuth",3,"ngModel","checked","disabled","ngModelChange"],["name","user","required","",3,"ngModel","disabled","ngModelChange"],[2,"align-items","center"],["slot","end","fill","clear","color","primary",3,"click"],["color","primary",3,"name"],["name","password",3,"type","ngModel","disabled","required","ngModelChange"],["name","mailFrom","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)",3,"ngModel","disabled","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","button","shape","round","size","large","fill","outline","color","medium",3,"click"],[2,"font-size","13px"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[3,"value"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),us(),us(),us(),is(7,Uj,61,52,"form",4)),2&e&&(as("translucent",!0),Ao(6),Ks(t.title),Ao(1),as("ngIf",!t.loading))},directives:[JC,TS,BC,hS,RC,tE,OS,yh,Qm,pm,Gm,GC,rS,lS,AS,nA,Ay,fm,Zm,vh,KC,wS,WC,iS,iA,eA,MS,$k,FC,$C,Py,CS],pipes:[yP],styles:[".testSendTo[_ngcontent-%COMP%]{width:95%;margin-top:10px;margin-left:10px}.bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px;word-wrap:break-word}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:25px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.cancel[_ngcontent-%COMP%]{position:absolute;top:10px;left:0;height:65px;width:65px;font-size:35px;color:#fff}.auth-container[_ngcontent-%COMP%]{display:flex}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100px;padding-right:10px}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:50px;padding-left:10px}@media (max-width:360px){.auth-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.auth-container[_ngcontent-%COMP%] .auth-1[_ngcontent-%COMP%]{width:100%;padding-right:0}.auth-container[_ngcontent-%COMP%] .auth-2[_ngcontent-%COMP%]{width:100%;flex:1}.auth-container[_ngcontent-%COMP%] .auth-3[_ngcontent-%COMP%]{width:100%;padding-left:0}}"]}),Wj);function qj(e,t,n){this.x=e,this.y=t,this.time=n||(new Date).getTime()}function Yj(e,t,n,i){this.startPoint=e,this.control1=t,this.control2=n,this.endPoint=i}function Zj(e,t){var n=this,i=t||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.throttle="throttle"in i?i.throttle:16,this.minDistance="minDistance"in i?i.minDistance:5,this._strokeMoveUpdate=this.throttle?function(e,t,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),a=null,o=e.apply(i,r),a||(i=r=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return i=this,r=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(i,r),a||(i=r=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}}(Zj.prototype._strokeUpdate,this.throttle):Zj.prototype._strokeUpdate,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onBegin=i.onBegin,this.onEnd=i.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()}qj.prototype.velocityFrom=function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1},qj.prototype.distanceTo=function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))},qj.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.time===e.time},Yj.prototype.length=function(){for(var e=0,t=void 0,n=void 0,i=0;i<=10;i+=1){var r=i/10,o=this._point(r,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this._point(r,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var s=o-t,l=a-n;e+=Math.sqrt(s*s+l*l)}t=o,n=a}return e},Yj.prototype._point=function(e,t,n,i,r){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*i*(1-e)*e*e+r*e*e*e},Zj.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},Zj.prototype.fromDataURL=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new Image,r=n.ratio||window.devicePixelRatio||1,o=n.width||this._canvas.width/r,a=n.height||this._canvas.height/r;this._reset(),i.src=e,i.onload=function(){t._ctx.drawImage(i,0,0,o,a)},this._isEmpty=!1},Zj.prototype.toDataURL=function(e){var t;switch(e){case"image/svg+xml":return this._toSVG();default:for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(t=this._canvas).toDataURL.apply(t,[e].concat(i))}},Zj.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},Zj.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)},Zj.prototype.isEmpty=function(){return this._isEmpty},Zj.prototype._strokeBegin=function(e){this._data.push([]),this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)},Zj.prototype._strokeUpdate=function(e){var t=this._createPoint(e.clientX,e.clientY),n=this._data[this._data.length-1],i=n&&n[n.length-1],r=i&&t.distanceTo(i)<this.minDistance;if(!i||!r){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})}},Zj.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)},Zj.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},Zj.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)},Zj.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},Zj.prototype._createPoint=function(e,t,n){var i=this._canvas.getBoundingClientRect();return new qj(e-i.left,t-i.top,n||(new Date).getTime())},Zj.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 i=(n=this._calculateCurveControlPoints(t[0],t[1],t[2])).c2;n=this._calculateCurveControlPoints(t[1],t[2],t[3]);var r=new Yj(t[1],i,n.c1,t[2]),o=this._calculateCurveWidths(r);return t.shift(),{curve:r,widths:o}}return{}},Zj.prototype._calculateCurveControlPoints=function(e,t,n){var i=e.x-t.x,r=e.y-t.y,o=t.x-n.x,a=t.y-n.y,s=(e.x+t.x)/2,l=(e.y+t.y)/2,u=(t.x+n.x)/2,c=(t.y+n.y)/2,d=Math.sqrt(i*i+r*r),h=Math.sqrt(o*o+a*a),f=h/(d+h),p=t.x-(u+(s-u)*f),g=t.y-(c+(l-c)*f);return{c1:new qj(s+p,l+g),c2:new qj(u+p,c+g)}},Zj.prototype._calculateCurveWidths=function(e){var t={start:null,end:null},n=this.velocityFilterWeight*e.endPoint.velocityFrom(e.startPoint)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(n);return t.start=this._lastWidth,t.end=i,this._lastVelocity=n,this._lastWidth=i,t},Zj.prototype._strokeWidth=function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)},Zj.prototype._drawPoint=function(e,t,n){var i=this._ctx;i.moveTo(e,t),i.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1},Zj.prototype._drawCurve=function(e,t,n){var i=this._ctx,r=n-t,o=Math.floor(e.length());i.beginPath();for(var a=0;a<o;a+=1){var s=a/o,l=s*s,u=l*s,c=1-s,d=c*c,h=d*c,f=h*e.startPoint.x;f+=3*d*s*e.control1.x,f+=3*c*l*e.control2.x;var p=h*e.startPoint.y;p+=3*d*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*r)}i.closePath(),i.fill()},Zj.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()},Zj.prototype._fromData=function(e,t,n){for(var i=0;i<e.length;i+=1){var r=e[i];if(r.length>1)for(var o=0;o<r.length;o+=1){var a=r[o],s=new qj(a.x,a.y,a.time),l=a.color;if(0===o)this.penColor=l,this._reset(),this._addPoint(s);else if(o!==r.length-1){var u=this._addPoint(s),c=u.curve,d=u.widths;c&&d&&t(c,d,l)}}else this._reset(),n(r[0])}},Zj.prototype._toSVG=function(){var e=this,t=this._data,n=this._canvas,i=Math.max(window.devicePixelRatio||1,1),r=n.width/i,o=n.height/i,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 i=document.createElement("path");if(!(isNaN(e.control1.x)||isNaN(e.control1.y)||isNaN(e.control2.x)||isNaN(e.control2.y))){var r="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);i.setAttribute("d",r),i.setAttribute("stroke-width",(2.25*t.end).toFixed(3)),i.setAttribute("stroke",n),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),a.appendChild(i)}},function(t){var n=document.createElement("circle"),i="function"==typeof e.dotSize?e.dotSize():e.dotSize;n.setAttribute("r",i),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 '+r+" "+o+'" width="'+r+'" height="'+o+'">',l=a.innerHTML;if(void 0===l){var u=document.createElement("dummy"),c=a.childNodes;u.innerHTML="";for(var d=0;d<c.length;d+=1)u.appendChild(c[d].cloneNode(!0));l=u.innerHTML}return"data:image/svg+xml;base64,"+btoa(s+l+"</svg>")},Zj.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},Zj.prototype.toData=function(){return this._data};var Qj,Xj,Kj=Zj,Jj=((Xj=function(){function e(t){S(this,e),this.elementRef=t,this.options=this.options||{},this.onBeginEvent=new Bu,this.onEndEvent=new Bu}return C(e,[{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 Kj(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}}]),e}()).\u0275fac=function(e){return new(e||Xj)(os(Sl))},Xj.\u0275cmp=pt({type:Xj,selectors:[["signature-pad"]],inputs:{options:"options"},outputs:{onBeginEvent:"onBeginEvent",onEndEvent:"onEndEvent"},decls:1,vars:0,template:function(e,t){1&e&&cs(0,"canvas")},encapsulation:2}),Xj),$j=((Qj=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||Qj)},Qj.\u0275mod=yt({type:Qj}),Qj.\u0275inj=Be({imports:[[]]}),Qj),eU=["signaturePad"],tU=function(e,t){return{"border-color":e,"background-color":t}};function nU(e,t){if(1&e){var n=ps();ds(0,20),ls(1,"input",21),ys("change",function(){rn(n);var e=t.$implicit;return ks().onColorChange(e)}),us(),hs()}if(2&e){var i=t.$implicit,r=ks();Ao(1),as("checked",0===r.idx)("value",i.id)("ngStyle",Su(3,tU,i.id,i.id))}}var iU,rU=((iU=function(){function e(t,n,i,r,o,a,s){S(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.notificationService=r,this.authService=o,this.localStorage=a,this.modalController=s,this.reloaded=new Bu,this.penColors=[{id:"black"},{id:"#1a75ff"},{id:"#FF0000"}],this.disableState=!1,this.signaturePadOptions={minWidth:1,maxWidth:2.5,backgroundColor:"rgba(255, 255, 255, 0)",canvasWidth:600,canvasHeight:400}}return C(e,[{key:"ngAfterViewInit",value:function(){this.localStorage.get("signature")}},{key:"onColorChange",value:function(e){this.selectedColor=Object.assign({},this.selectedColor,e),this.signaturePad.set("penColor",this.selectedColor.id)}},{key:"onDotChange",value:function(e){this.signaturePad.set("minWidth",parseFloat(e)),this.signaturePad.set("maxWidth",parseFloat(e)+2)}},{key:"drawComplete",value:function(){this.localStorage.save("signature",JSON.stringify(this.signaturePad.toData())),this.haveSigned=!0}},{key:"drawClear",value:function(){this.signaturePad.clear(),this.haveSigned=!1}},{key:"closePad",value:function(){this.modalController.dismiss("cancel")}},{key:"saveSignature",value:function(){var e=this;this.disableState=!0,this.haveSigned=!0;var t=this.signaturePad.toDataURL("image/png").replace("data:image/png;base64,","");this.localStorage.save("signature",JSON.stringify(t));var n={id:0,encodedSignature:t,format:"png"};this.http.post("../rest/users/"+this.authService.user.id+"/signatures",n).pipe(fw(function(){e.disableState=!1})).subscribe(function(t){n.id=t.signatureId,e.signaturesService.signaturesList.unshift({id:n.id,encodedSignature:n.encodedSignature}),e.modalController.dismiss("reload"),e.notificationService.success("lang.signatureRegistered")})}}]),e}()).\u0275fac=function(e){return new(e||iU)(os(mP),os(ub),os(OP),os(_P),os(TP),os(MP),os(fE))},iU.\u0275cmp=pt({type:iU,selectors:[["app-pad"]],viewQuery:function(e,t){var n;1&e&&Xu(eU,1),2&e&&Qu(n=Ju())&&(t.signaturePad=n.first)},outputs:{reloaded:"reloaded"},decls:34,vars:16,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],["color","light",1,"pad"],[1,"pad-actions"],[1,"pad-actions-boxed"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"btn",3,"click"],["type","range","name","dot","min","1","max","10","step","1","value","1",1,"range",3,"input"],["padContent",""],[1,"pad"],[1,"pad-draw"],[1,"padContent",3,"options","onEndEvent"],["signaturePad",""],[1,"draw"],[1,"footer-buttons"],["color","danger",3,"click"],["color","success",3,"click"],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle","change"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),ls(5,"ion-buttons",2),ls(6,"ion-button",3),ys("click",function(){return t.closePad()}),cs(7,"ion-icon",4),us(),us(),us(),us(),ls(8,"ion-header",0),ls(9,"ion-toolbar",5),ls(10,"section",6),ls(11,"div",7),is(12,nU,2,6,"ng-container",8),us(),ls(13,"button",9),ys("click",function(){return t.drawClear()}),Xs(14),Ou(15,"translate"),us(),ls(16,"div",7),ls(17,"input",10),ys("input",function(e){return t.onDotChange(e.target.value)}),us(),us(),us(),us(),us(),ls(18,"ion-content",null,11),ls(20,"article",12),ls(21,"section",13),ls(22,"signature-pad",14,15),ys("onEndEvent",function(){return t.drawComplete()}),us(),us(),cs(24,"div",16),us(),us(),ls(25,"ion-footer",17),ls(26,"ion-button",18),ys("click",function(){return t.closePad()}),ls(27,"ion-label"),Xs(28),Ou(29,"translate"),us(),us(),ls(30,"ion-button",19),ys("click",function(){return t.saveSignature()}),ls(31,"ion-label"),Xs(32),Ou(33,"translate"),us(),us(),us()),2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,8,"lang.createNewSignature")),Ao(5),as("translucent",!0),Ao(4),as("ngForOf",t.penColors),Ao(2),Ks(Mu(15,10,"lang.erase")),Ao(8),as("options",t.signaturePadOptions),Ao(6),Ks(Mu(29,12,"lang.cancel")),Ao(4),Ks(Mu(33,14,"lang.save")))},directives:[JC,TS,OS,BC,FC,$C,vh,GC,Jj,XC,lS,Oh],pipes:[yP],styles:[".pad-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly;padding:10px 0}.pad-actions-boxed[_ngcontent-%COMP%]{border-radius:60px;height:60px;background:#f1f4f4;padding:0 20px}.pad-actions-boxed[_ngcontent-%COMP%], .pad-draw[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.pad-draw[_ngcontent-%COMP%]{background:#fff}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:checked, .pad[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.padContent[_ngcontent-%COMP%]{border:1px dashed hsla(0,0%,59.2%,.55)}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),iU),oU=["slides"];function aU(e,t){if(1&e&&(ls(0,"small",9),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks();Ao(1),$s("",n.currentWorflow.signaturePositions.length," ",Mu(2,2,"lang.prePositionings"),"")}}function sU(e,t){1&e&&(ls(0,"ion-label",36),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.substitutedSignature")))}function lU(e,t){if(1&e){var n=ps();ls(0,"ion-card",27),ls(1,"img",28),ys("click",function(){rn(n);var e=t.$implicit;return ks(4).selectSignature(e)}),us(),ls(2,"ion-toolbar",29),is(3,sU,3,3,"ion-label",30),ls(4,"ion-buttons",31),ls(5,"ion-button",32),ys("click",function(){rn(n);var e=t.$implicit;return ks(4).selectSignature(e)}),Ou(6,"translate"),cs(7,"ion-icon",33),us(),us(),ls(8,"ion-buttons",3),ls(9,"ion-button",34),ys("click",function(){rn(n);var e=t.$implicit;return ks(4).removeSignature(e)}),Ou(10,"translate"),cs(11,"ion-icon",35),us(),us(),us(),us()}if(2&e){var i=t.$implicit,r=t.index,o=ks(4);Ao(1),Ps("id","imgSign_",r,""),as("src",o.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Sr),Ao(2),as("ngIf",i.substituted),Ao(2),as("title",Mu(6,5,"lang.selectSignature")),Ao(4),as("title",Mu(10,7,"lang.removeSignature"))}}function uU(e,t){if(1&e&&(ls(0,"ion-slide",24),ls(1,"div",25),is(2,lU,12,9,"ion-card",26),us(),us()),2&e){var n=t.$implicit;Ao(2),as("ngForOf",n)}}function cU(e,t){if(1&e&&(ls(0,"ion-slides",21,22),is(2,uU,3,1,"ion-slide",23),us()),2&e){var n=ks(2);as("options",n.slideOpts),Ao(2),as("ngForOf",n.signaturesList)}}function dU(e,t){if(1&e){var n=ps();ds(0),is(1,cU,3,2,"ion-slides",10),ls(2,"ion-fab",11),ls(3,"ion-fab-button",12),cs(4,"ion-icon",13),us(),ls(5,"ion-fab-list",14),ls(6,"ion-fab-button",15),ys("click",function(){return rn(n),ks().addNewDate()}),Ou(7,"translate"),cs(8,"ion-icon",16),us(),ls(9,"ion-fab-button",15),ys("click",function(){return rn(n),rs(16).click()}),Ou(10,"translate"),cs(11,"ion-icon",17),us(),ls(12,"ion-fab-button",15),ys("click",function(){return rn(n),ks().openSignatures()}),Ou(13,"translate"),cs(14,"ion-icon",18),us(),us(),us(),ls(15,"input",19,20),ys("change",function(e){return rn(n),ks().handleFileInput(e.target.files)}),us(),hs()}if(2&e){var i=ks();Ao(1),as("ngIf",!i.loading),Ao(5),as("title",Mu(7,4,"lang.addNewDate")),Ao(3),as("title",Mu(10,6,"lang.importNewSignature")),Ao(3),as("title",Mu(13,8,"lang.createNewSignature"))}}function hU(e,t){1&e&&(ls(0,"div",37),cs(1,"ion-icon",38),ls(2,"div"),Xs(3),Ou(4,"translate"),us(),us()),2&e&&(Ao(3),Js(" ",Mu(4,1,"lang.certifiedDocumentMsg")," "))}var fU,pU=((fU=function(){function e(t,n,i,r,o,a,s,l,u,c){S(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.bottomSheetRef=r,this.sanitization=o,this.notificationService=a,this.authService=s,this.localStorage=l,this.renderer=u,this.modalController=c,this.loading=!0,this.scrolling=!1,this.signPosMode=!1,this.datePosMode=!1,this.title="lang.signatures",this.slideOpts={initialSlide:0,speed:400,direction:"vertical"},this.signaturesList=[],this.inAllPage=!1,this.count=0}return C(e,[{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"scroll",value:function(e){var t=this;this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(function(){t.scrolling=!1},500))}},{key:"ngOnInit",value:function(){this.initSignatures(),this.signPosMode=this.currentWorflow.signaturePositions.length>0&&this.emptySigns(),this.getImgDimensions(this.content)}},{key:"initSignatures",value:function(){var e=this;this.signaturesList=[];var t=[],n=0;this.signaturesService.signaturesListSubstituted.concat(this.signaturesService.signaturesList).forEach(function(i){6===n?(e.signaturesList.push(t),t=[i],n=0):(t.push(i),n++)}),t.length>0&&this.signaturesList.push(t)}},{key:"ionViewDidEnter",value:function(){this.loading=!1}},{key:"openSignatures",value:function(){return e=this,n=_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:rU,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:"reload"===e.sent.data&&this.initSignatures();case 10:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"mustPrePosSignature",value:function(e,t){return!(!this.signPosMode||0===e.length&&0===t.length)}},{key:"selectSignature",value:function(e){var t,n=this,i=document.getElementById("imgSign_"+this.signaturesList[0].indexOf(e).toString());this.signatureWidth=i.naturalWidth,this.signatureScaling=void 0!==this.authService.user.preferences.signatureScaling&&this.authService.user.preferences.signatureScaling,t=!1===this.signatureScaling?this.signatureWidth>=this.documentWidth?100:100*this.signatureWidth/this.documentWidth:this.signatureScaling,e.width=t;var r=this.currentWorflow.signaturePositions.filter(function(e){return e.page===n.signaturesService.currentPage}),o=this.currentWorflow.signaturePositions.filter(function(e){return e.page!==n.signaturesService.currentPage});this.mustPrePosSignature(r,o)?(r.length>0&&(e.positionX=r[0].positionX,e.positionY=r[0].positionY,this.storeSignature(e,this.signaturesService.currentPage)),o.length>0&&o.forEach(function(t){e.positionX=t.positionX,e.positionY=t.positionY,n.storeSignature(e,t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.signatureInDocAddedAlt"):this.translate.get("lang.signaturesInDocAdded",{0:this.currentWorflow.signaturePositions.map(function(e){return e.page})}).subscribe(function(e){n.notificationService.success(e)}),this.modalController.dismiss(0===r.length&&o.length>0?{redirectPage:o[0].page}:"success")):(e.positionX=60,e.positionY=80,this.storeSignature(e,this.signaturesService.currentPage),this.notificationService.success("lang.signatureInDocAdded"),this.modalController.dismiss("success"))}},{key:"addNewDate",value:function(){var e=this,t=this.currentWorflow.datePositions.filter(function(t){return t.page===e.signaturesService.currentPage}),n=this.currentWorflow.datePositions.filter(function(t){return t.page!==e.signaturesService.currentPage});if(0===t.length&&0===n.length){var i={width:13e3/this.signaturesService.workingAreaWidth,height:3e3/this.signaturesService.workingAreaHeight,positionX:0,positionY:0,font:"Arial",size:15,color:"#666",format:"d MMMM y"};i.positionX=60,i.positionY=80,this.storeDate(i,this.signaturesService.currentPage),this.notificationService.success("lang.dateInDocAdded"),this.modalController.dismiss("success")}else t.length>0&&this.storeDate({width:t[0].width,height:t[0].height,positionX:t[0].positionX,positionY:t[0].positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},this.signaturesService.currentPage),n.forEach(function(t){e.storeDate({width:t.width,height:t.height,positionX:t.positionX,positionY:t.positionY,font:"Arial",size:15,color:"#666",format:"d MMMM y"},t.page)}),1===this.currentWorflow.signaturePositions.length?this.notificationService.success("lang.dateInDocAddedAlt"):this.translate.get("lang.dateInDocAdded",{0:this.currentWorflow.signaturePositions.map(function(e){return e.page})}).subscribe(function(t){e.notificationService.success(t)}),this.modalController.dismiss(0===t.length&&n.length>0?{redirectPage:n[0].page}:"success")}},{key:"storeSignature",value:function(e,t){this.signaturesService.signaturesContent[t]||(this.signaturesService.signaturesContent[t]=[]),this.signaturesService.signaturesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"storeDate",value:function(e,t){this.signaturesService.datesContent[t]||(this.signaturesService.datesContent[t]=[]),this.signaturesService.datesContent[t].push(JSON.parse(JSON.stringify(e))),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"removeSignature",value:function(e){var t=this;confirm(this.translate.instant("lang.wantDeleteSignature"))&&this.http.delete("../rest/users/"+this.authService.user.id+"/signatures/"+e.id).subscribe(function(){t.signaturesService.signaturesList=t.signaturesService.signaturesList.filter(function(t){return t.id!==e.id}),t.notificationService.success("lang.signatureDeleted"),t.initSignatures()},function(e){t.notificationService.error(e.error.errors)})}},{key:"toggleAllPage",value:function(){this.inAllPage=!this.inAllPage}},{key:"tapEvent",value:function(e,t,n){var i=this;this.count++,setTimeout(function(){1===i.count?i.count=0:i.count>1&&(i.count=0,i.selectSignature(e))},250)}},{key:"handleFileInput",value:function(e){var t=this,n=e.item(0);if(n.size<=1e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(n.type)){var i=new FileReader;i.onloadend=function(e){var r=i.result.toString().replace("data:"+n.type+";base64,","");t.localStorage.save("signature",JSON.stringify(r));var o={id:0,encodedSignature:r,format:"png"};t.http.post("../rest/users/"+t.authService.user.id+"/signatures",o).subscribe(function(e){o.id=e.signatureId,t.signaturesService.signaturesList.unshift({id:o.id,encodedSignature:o.encodedSignature}),t.initSignatures(),t.notificationService.success("lang.signatureRegistered")})},i.readAsDataURL(n)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.maxFileSizeReached")}},{key:"emptySigns",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}},{key:"getImgDimensions",value:function(e){var t=atob(e.slice(0,50)).slice(16,24),n=Uint8Array.from(t,function(e){return e.charCodeAt(0)}),i=new DataView(n.buffer);this.documentWidth=i.getInt32(0)}}]),e}()).\u0275fac=function(e){return new(e||fU)(os(mP),os(ub),os(OP),os(qF),os(Gf),os(_P),os(TP),os(MP),os(Dl),os(fE))},fU.\u0275cmp=pt({type:fU,selectors:[["app-signatures"]],viewQuery:function(e,t){var n;1&e&&Xu(oU,1),2&e&&Qu(n=Ju())&&(t.slides=n.first)},inputs:{currentWorflow:"currentWorflow",content:"content"},decls:13,vars:7,consts:[[3,"translucent"],["color","primary"],["class","secondary",4,"ngIf"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"wheel"],[4,"ngIf","ngIfElse"],["elseCertified",""],[1,"secondary"],["pager","true",3,"options",4,"ngIf"],["horizontal","start","vertical","bottom","slot","fixed"],["color","primary","close-icon","chevron-down"],["name","chevron-up-outline"],["side","top"],["color","light",3,"title","click"],["name","calendar-outline"],["name","download-outline"],["name","add-outline"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["pager","true",3,"options"],["slides",""],["style","display: grid;grid-template-columns: repeat(2, 1fr);",4,"ngFor","ngForOf"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],[2,"display","contents"],["class","sign-image",4,"ngFor","ngForOf"],[1,"sign-image"],[2,"width","190px","cursor","pointer",3,"id","src","click"],[2,"position","absolute","top","0px"],["color","secondary",4,"ngIf"],["slot","start"],["size","small","color","primary",3,"title","click"],["slot","icon-only","name","arrow-up-circle-outline"],["size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["color","secondary"],[1,"certified-msg"],["slot","start","name","ribbon-outline","color","success",2,"font-size","70px"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),is(5,aU,3,4,"small",2),us(),ls(6,"ion-buttons",3),ls(7,"ion-button",4),ys("click",function(){return t.dismissModal()}),cs(8,"ion-icon",5),us(),us(),us(),us(),ls(9,"ion-content",6),ys("wheel",function(e){return t.scroll(e)}),is(10,dU,17,10,"ng-container",7),is(11,hU,5,3,"ng-template",null,8,nc),us()),2&e){var n=rs(12);as("translucent",!0),Ao(3),Js("",Mu(4,5,"lang.signatures")," "),Ao(2),as("ngIf",t.signPosMode),Ao(5),as("ngIf",!t.signaturesService.stampLock)("ngIfElse",n)}},directives:[JC,TS,OS,yh,BC,FC,$C,GC,YC,ZC,QC,ES,vh,SS,zC,lS],pipes:[yP],styles:[".secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.signatures[_ngcontent-%COMP%]{flex-direction:column}.signatures[_ngcontent-%COMP%], .signatures-top[_ngcontent-%COMP%]{display:flex;align-items:center}.signatures-top[_ngcontent-%COMP%]{height:105px;width:100%;justify-content:space-around;border-bottom:1px solid #e9e8e8}.signatures[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{width:100%;padding-top:40px;overflow:auto;display:flex;justify-content:center;flex-wrap:wrap;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{transition:all .3s ease-in-out;height:190px;width:190px;margin:8px;border:1px solid hsla(0,0%,59.2%,.55);border-radius:5px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,0,0,.04);display:flex;justify-content:center;align-items:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%] .substituteInfo[_ngcontent-%COMP%]{color:#f99830;font-size:10px;position:absolute;top:0;left:10px}.signatures[_ngcontent-%COMP%] .list-item.create[_ngcontent-%COMP%]{background-color:#f1f4f4;flex-direction:column;text-align:center}.signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:active, .signatures[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{transform:translateY(-20px);cursor:pointer}.sign_icon[_ngcontent-%COMP%]{position:absolute;top:5px}.sign_icon[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff;height:auto}.add_icon[_ngcontent-%COMP%]{right:5px}.remove_icon[_ngcontent-%COMP%]{left:5px}.sign-image[_ngcontent-%COMP%]{height:95%}.certified-msg[_ngcontent-%COMP%], .sign-image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.certified-msg[_ngcontent-%COMP%]{height:100%;flex-direction:column;padding:40px}.certified-msg[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:30px;color:var(--ion-color-medium)}"]}),fU),gU=["mainContent"],vU=["canvas"],mU=["img"],yU=["nav"],bU=function(e,t){return{"border-color":e,"background-color":t}};function wU(e,t){if(1&e&&(ds(0,28),cs(1,"input",29),hs()),2&e){var n=t.$implicit,i=ks(2);Ao(1),as("checked",0===i.idx)("value",n.id)("ngStyle",Su(3,bU,n.id,n.id))}}function _U(e,t){if(1&e){var n=ps();ls(0,"ion-content",null,8),ls(2,"div",9),is(3,wU,2,6,"ng-container",10),cs(4,"hr"),ls(5,"i",11),ys("click",function(){return rn(n),ks().undo()}),us(),us(),ls(6,"ion-fab",12),ls(7,"ion-fab-button",13),cs(8,"ion-icon",14),us(),ls(9,"ion-fab-list",15),ls(10,"ion-fab-button",16),ys("click",function(e){rn(n);var t=ks();return e.stopPropagation(),t.editMode=!t.editMode}),Ou(11,"translate"),Ou(12,"translate"),cs(13,"ion-icon",17),us(),ls(14,"ion-fab-button",18),ys("click",function(e){rn(n);var t=ks();return e.stopPropagation(),t.getImageDimensions(!t.originalSize)}),Ou(15,"translate"),Ou(16,"translate"),cs(17,"ion-icon",17),us(),us(),us(),ls(18,"div",19),ls(19,"drag-scroll",20,21),ls(21,"div",22,23),ls(23,"ion-img",24,25),ys("ionImgDidLoad",function(e){return rn(n),ks().imageLoaded(e)}),us(),cs(25,"canvas",26,27),us(),us(),us(),us()}if(2&e){var i=ks();Ao(3),as("ngForOf",i.penColors),Ao(7),as("color",i.editMode?"danger":"success")("title",i.editMode?Mu(11,19,"lang.lockEdition"):Mu(12,21,"lang.unlockEdition")),Ao(3),as("name",i.editMode?"lock-closed-outline":"lock-open-outline"),Ao(1),as("title",i.originalSize?Mu(15,23,"lang.originalSize"):Mu(16,25,"lang.screenSize")),Ao(3),as("name",i.originalSize?"scan-outline":"crop-outline"),Ao(2),Fs("max-width",i.areaWidth,"px"),Ao(2),Fs("width",i.areaWidth,"px")("height",i.areaHeight,"px"),Ao(2),Fs("width",i.areaWidth,"px")("height",i.areaHeight,"px"),as("src",i.content),Ao(2),Fs("display",i.editMode?"initial":"none")}}var xU,kU,AU,CU=((AU=function(){function e(t,n,i,r,o){S(this,e),this.signaturesService=t,this.notificationService=n,this.authService=i,this.localStorage=r,this.modalController=o,this.triggerEvent=new Bu,this.penColors=[{id:"#000000"},{id:"#1a75ff"},{id:"#FF0000"}],this.areaWidth=0,this.areaHeight=0,this.editMode=!0,this.originalSize=!0,this.loading=!0}return C(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.loading=!1},100)}},{key:"imageLoaded",value:function(e){this.getImageDimensions(!1)}},{key:"getImageDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.originalSize=t;var n=new Image;n.onload=function(i){e.areaWidth=i.target.naturalWidth,e.areaHeight=i.target.naturalHeight,t||e.getAreaDimension(),e.editMode&&setTimeout(function(){var t,i,r,o=$("#myBounds").offset();t=1===Math.sign(o.top)||e.precentScrollTop<=Math.abs(o.top)?e.precentScrollTop-o.top:-1===Math.sign(o.top)&&e.precentScrollTop<=-Math.sign(o.top)?2*(e.precentScrollTop-o.top):100*(e.precentScrollTop-o.top);var a=e.precentScrollLeft-o.left;i=e.precentScrollLeft-document.documentElement.offsetLeft,r=e.precentScrollTop-document.documentElement.offsetTop,i=i/e.areaWidth*100,r=r/e.areaHeight*100,document.getElementsByClassName("drag-scroll-content")[1].scrollTo(a,t),n.style.transform="translate(-"+i+"%,-"+r+"%) scale(2)",e.initPad()},200)},n.src=this.content}},{key:"getAreaDimension",value:function(){var e=100*this.mainContent.el.offsetWidth/this.areaWidth;this.areaWidth=e*this.areaWidth/100,this.areaHeight=e*this.areaHeight/100}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"initPad",value:function(){$("#myCanvas").sign({mode:this.authService.user.preferences.writingMode,lineWidth:this.authService.user.preferences.writingSize,changeColor:$(".radio"),undo:$(".undo"),height:this.areaHeight,width:this.areaWidth,fixHeight:56,fixWidth:0,mobileMode:this.signaturesService.mobileMode}),$("input[value='"+this.authService.user.preferences.writingColor+"']").trigger("click")}},{key:"validateAnnotation",value:function(){this.signaturesService.notesContent[this.signaturesService.currentPage]||(this.signaturesService.notesContent[this.signaturesService.currentPage]=[]),this.signaturesService.notesContent[this.signaturesService.currentPage].push({fullPath:this.canvas.nativeElement.toDataURL("image/png"),positionX:0,positionY:0,height:this.signaturesService.workingAreaHeight,width:this.signaturesService.workingAreaWidth}),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.modalController.dismiss(""),this.notificationService.success("lang.annotationAdded")}},{key:"undo",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||AU)(os(OP),os(_P),os(TP),os(MP),os(fE))},AU.\u0275cmp=pt({type:AU,selectors:[["app-document-note-pad"]],viewQuery:function(e,t){var n;1&e&&(Xu(gU,1),Xu(vU,1),Xu(mU,1),Xu(yU,1,CM)),2&e&&(Qu(n=Ju())&&(t.mainContent=n.first),Qu(n=Ju())&&(t.canvas=n.first),Qu(n=Ju())&&(t.img=n.first),Qu(n=Ju())&&(t.ds=n.first))},inputs:{content:"content",precentScrollTop:"precentScrollTop",precentScrollLeft:"precentScrollLeft"},outputs:{triggerEvent:"triggerEvent"},decls:16,vars:11,consts:[[3,"translucent"],["color","primary"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],[2,"text-align","center"],["color","danger","shape","round","fill","outline","size","large",3,"click"],[2,"font-size","13px"],["color","success","shape","round","fill","outline","size","large",2,"margin-left","50px",3,"click"],["mainContent",""],[1,"tool-content","tool-content-right"],["let","","idx","index",4,"ngFor","ngForOf"],[1,"fa","fa-undo","fa-2x","undo",3,"click"],["vertical","top","horizontal","start","slot","fixed","activated",""],["close-icon","chevron-up"],["name","chevron-down"],["side","bottom"],[3,"color","title","click"],[3,"name"],[3,"title","click"],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto"],["nav",""],[2,"position","relative"],["myBounds",""],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],["id","myCanvas",2,"position","absolute","top","0px","left","0px"],["canvas",""],["let","","idx","index"],["type","radio","name","colors",1,"radio",3,"checked","value","ngStyle"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),us(),us(),is(5,_U,27,27,"ion-content",2),ls(6,"ion-footer",3),ls(7,"div",4),ls(8,"ion-button",5),ys("click",function(){return t.dismissModal()}),ls(9,"ion-label",6),Xs(10),Ou(11,"translate"),us(),us(),ls(12,"ion-button",7),ys("click",function(){return t.validateAnnotation()}),ls(13,"ion-label",6),Xs(14),Ou(15,"translate"),us(),us(),us(),us()),2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,5,"lang.annotateDocument")),Ao(2),as("ngIf",!t.loading),Ao(5),Ks(Mu(11,7,"lang.cancel")),Ao(4),Ks(Mu(15,9,"lang.save")))},directives:[JC,TS,OS,yh,XC,FC,lS,GC,vh,YC,ZC,$C,QC,CM,eS,Oh],pipes:[yP],styles:[".tool-content[_ngcontent-%COMP%]{position:fixed}.fullscreen[_ngcontent-%COMP%]{--width:100%;--height:100%}.tool-content[_ngcontent-%COMP%]{z-index:1;display:flex;position:absolute;background:hsla(0,0%,50.2%,.30196078431372547);border-radius:20px;top:170px;transform:translateY(-50%) rotate(-90deg);padding:10px}.tool-content-left[_ngcontent-%COMP%]{left:-40px}.tool-content-right[_ngcontent-%COMP%]{right:-40px}.undo[_ngcontent-%COMP%]{cursor:pointer;transform:rotate(90deg);transition:all .2s}.undo[_ngcontent-%COMP%]:active{transform:rotate(90deg) scale(1.5)}.radio[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:5px;width:30px;height:30px;border-radius:30px;border-width:none;border-style:solid;outline:none;cursor:pointer;transition:all .2s}.radio[_ngcontent-%COMP%]:checked, .radio[_ngcontent-%COMP%]:hover{transform:scale(1.5)}.footer-buttons[_ngcontent-%COMP%]{display:grid;padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}"]}),AU),SU=((kU=function(){function e(t,n,i){S(this,e),this.http=t,this.signaturesService=n,this.router=i,this.currentIndex=0,this.offset=0,this.limit=10}return C(e,[{key:"resfreshDocuments",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.http.get("../rest/documents?limit="+(this.limit+this.offset)+"&offset=0&mode="+this.signaturesService.mode).subscribe(function(n){e.signaturesService.documentsList=n.documents,e.signaturesService.documentsListCount=n.count,t&&e.router.navigate(void 0!==e.signaturesService.documentsList[e.currentIndex]?["/documents/"+e.signaturesService.documentsList[e.currentIndex].id]:e.signaturesService.documentsList.length>0?["/documents/"+e.signaturesService.documentsList[0].id]:["/home"])})}}]),e}()).\u0275fac=function(e){return new(e||kU)(Li(ub),Li(OP),Li(Ux))},kU.\u0275prov=Le({token:kU,factory:kU.\u0275fac}),kU),EU=((xU=function(){function e(t,n,i,r){S(this,e),this.signaturesService=t,this.filtersService=n,this.authService=i,this.bottomSheetRef=r,this.date=new Date}return C(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.signaturesService.currentToobal="mainDocumentDetail",e.filtersService.resfreshDocuments(!0),e.bottomSheetRef.dismiss()},2e3)}}]),e}()).\u0275fac=function(e){return new(e||xU)(os(OP),os(SU),os(TP),os(WF))},xU.\u0275cmp=pt({type:xU,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"red",2,"text-align","center"],[1,"fa","fa-thumbs-down","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(ls(0,"div",0),ls(1,"h1"),cs(2,"i",1),us(),ls(3,"p"),Xs(4),Ou(5,"translate"),us(),ls(6,"p",2),Xs(7),us(),ls(8,"p",3),Xs(9),Ou(10,"translate"),Ou(11,"date"),Ou(12,"translate"),Ou(13,"date"),us(),us()),2&e&&(Ao(4),Ks(Mu(5,7,"lang.documentRefusedAs")),Ao(3),$s("",t.authService.user.firstname," ",t.authService.user.lastname,""),Ao(2),tl("",Mu(10,9,"lang.onRange")," ",Tu(11,11,t.date,"dd/MM/yyyy")," ",Mu(12,14,"lang.atRange")," ",Tu(13,16,t.date,"HH:mm"),""))},pipes:[yP,Gh],styles:[""]}),xU),PU=["slides"];function DU(e,t){1&e&&(ls(0,"span",16),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js("(",Mu(2,1,"lang.mainDocument"),")"))}function OU(e,t){1&e&&(ls(0,"span",16),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js("(",Mu(2,1,"lang.attachment"),")"))}var MU=function(e){return{background:e}};function TU(e,t){if(1&e){var n=ps();ls(0,"ion-slide"),ls(1,"div",12),ls(2,"div",13),ys("click",function(){rn(n);var e=t.index;return ks(2).loadDoc(e)}),us(),ls(3,"div",14),Xs(4),is(5,DU,3,3,"span",15),is(6,OU,3,3,"span",15),us(),us(),us()}if(2&e){var i=t.$implicit,r=t.index,o=ks(2);Ao(2),Bs("current",r==o.currentDocId),as("ngStyle",Cu(6,MU,"url("+i.imgContent[1]+") no-repeat scroll center center / contain")),Ao(2),Js(" ",i.title,"\xa0"),Ao(1),as("ngIf",0==r),Ao(1),as("ngIf",r>0)}}function IU(e,t){if(1&e&&(ls(0,"ion-slides",9,10),is(2,TU,7,8,"ion-slide",11),us()),2&e){var n=ks();as("options",n.slideOpts),Ao(2),as("ngForOf",n.docList)}}var RU,LU,FU,BU,zU,VU,NU=((LU=function(){function e(t,n,i,r){S(this,e),this.http=t,this.signaturesService=n,this.sanitizer=i,this.menu=r,this.triggerEvent=new Bu,this.loading=!0,this.scrolling=!1,this.slideOpts={initialSlide:0,speed:400,direction:"vertical"}}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.docList.forEach(function(t,n){void 0===t.imgContent[1]&&n>0&&e.http.get("../rest/attachments/"+t.id+"/thumbnails/1").subscribe(function(e){t.imgContent[1]="data:image/png;base64,"+e.fileContent})})}},{key:"ngAfterViewInit",value:function(){this.loading=!1}},{key:"loadDoc",value:function(e){this.triggerEvent.emit(e),this.menu.close("right-menu")}},{key:"scroll",value:function(e){var t=this;this.scrolling||(this.scrolling=!0,e.deltaY<0?this.slides.slidePrev():this.slides.slideNext(),setTimeout(function(){t.scrolling=!1},500))}}]),e}()).\u0275fac=function(e){return new(e||LU)(os(ub),os(OP),os(Gf),os(hE))},LU.\u0275cmp=pt({type:LU,selectors:[["app-document-list"]],viewQuery:function(e,t){var n;1&e&&Xu(PU,1),2&e&&Qu(n=Ju())&&(t.slides=n.first)},inputs:{docList:"docList",currentDocId:"currentDocId"},outputs:{triggerEvent:"triggerEvent"},decls:12,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","document-outline"],[1,"ion-text-center"],[1,"secondary"],[3,"wheel"],["pager","true",3,"options",4,"ngIf"],["pager","true",3,"options"],["slides",""],[4,"ngFor","ngForOf"],[2,"height","90%","width","100%","position","relative","padding","10px"],[2,"cursor","pointer","height","100%","width","100%","border-radius","4px","transition","box-shadow 280ms cubic-bezier(.4,0,.2,1)","border","solid 1px #E0E0E0",3,"ngStyle","click"],[1,"pjToolsContent"],["class","red",4,"ngIf"],[1,"red"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),ls(3,"ion-button",3),cs(4,"ion-icon",4),us(),us(),ls(5,"ion-title",5),ls(6,"b",6),Xs(7),us(),Xs(8),Ou(9,"translate"),us(),us(),us(),ls(10,"ion-content",7),ys("wheel",function(e){return t.scroll(e)}),is(11,IU,3,2,"ion-slides",8),us()),2&e&&(as("translucent",!0),Ao(7),Ks(t.docList.length),Ao(1),Js("\xa0",Mu(9,4,"lang.attachedElements"),""),Ao(3),as("ngIf",!t.loading))},directives:[JC,TS,BC,FC,$C,OS,GC,yh,ES,vh,SS,Oh],pipes:[yP],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.pjToolsContent[_ngcontent-%COMP%]{position:absolute;border:1px solid #e0e0e0;border-bottom-left-radius:5px;background:#fff;padding:10px;font-weight:600;color:#135f7f;font-size:14px;top:10px}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}"]}),LU),HU=((RU=function(){function e(t,n){S(this,e),this.translate=t,this.latinisePipe=n}return C(e,[{key:"empty",value:function(e){return null==e||!1===e||(Array.isArray(e)?!(e.length>0):""===String(e))}},{key:"isDate",value:function(e){return e instanceof Date&&!isNaN(e.valueOf())}},{key:"formatFrenchDateToTechnicalDate",value:function(e){if(this.empty(e))return e;var t=e.split("-");return(t=t.concat(t[t.length-1].split(" "))).splice(2,1),this.empty(t[3])&&(t[3]="00:00:00"),"".concat(t[2],"-").concat(t[1],"-").concat(t[0]," ").concat(t[3])}},{key:"formatFrenchDateToObjectDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(this.empty(e))return e;var n=e.split(t);return(n=n.concat(n[n.length-1].split(" "))).splice(2,1),this.empty(n[3])&&(n[3]="00:00:00"),new Date("".concat(n[2],"-").concat(n[1],"-").concat(n[0]," ").concat(n[3]))}},{key:"formatDateObjectToDateString",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dd-mm-yyyy";if(null!==e){var i=[];n.split("-").forEach(function(t){if("dd"===t){var n=e.getDate();n=("00"+n).slice(-2),i.push(n)}else if("mm"===t){var r=e.getMonth()+1;r=("00"+r).slice(-2),i.push(r)}else if("yyyy"===t){var o=e.getFullYear();i.push(o)}});var r="";return t&&(r=" 23:59:59"),"".concat(i.join("-")).concat(r)}return e}},{key:"formatSerializedDateToDateString",value:function(e){return this.formatDateObjectToDateString(new Date(e))}},{key:"listSortingDataAccessor",value:function(e,t){return"string"==typeof e[t]?e[t].toLowerCase():e[t]}},{key:"filterUnSensitive",value:function(e,t,n){var i=this,r=!1;return t=this.latinisePipe.transform(t),n.forEach(function(n){var o=e[n];"string"!=typeof e[n]&&(o=void 0===o?"":JSON.stringify(o)),r=r||i.latinisePipe.transform(o.toLowerCase()).includes(t)}),r}},{key:"formatBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if("number"==typeof e){if(0===e)return"0 Octet";var n=1024,i=t<0?0:t,r=["Octets","KO","MO","GO","TO","PO","EO","ZO","YO"],o=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,o)).toFixed(i))+" "+r[o]}return e}}]),e}()).\u0275fac=function(e){return new(e||RU)(Li(mP),Li(JM))},RU.\u0275prov=Le({token:RU,factory:RU.\u0275fac,providedIn:"root"}),RU),jU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},UU=((FU=function(){function e(t,n,i,r,o,a){S(this,e),this.http=t,this.translate=n,this.notificationService=i,this.signaturesService=r,this.functionsService=o,this.alertController=a}return C(e,[{key:"sendDocument",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return new Promise(function(s){return jU(n,void 0,void 0,_().mark(function n(){var l,u=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(l={},!(this.signaturesService.currentAction>0)){n.next=17;break}if(null!==a){n.next=8;break}return n.next=5,this.getElementsFromDoc();case 5:n.t0=n.sent,n.next=9;break;case 8:n.t0=a;case 9:l.signatures=n.t0,null!==i&&((l=Object.assign(Object.assign({},l),i)).step="hashCertificate"),null!==t&&(l.note=t),null!==r&&(l.signatureLength=r),this.functionsService.empty(o)||(l.tmpUniqueId=o),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,l).pipe(cw(function(e){s(null===i||{hashDocument:e.dataToSign,signatureContentLength:e.signatureContentLength,signatureFieldName:e.signatureFieldName,tmpUniqueId:e.tmpUniqueId})}),Qb(function(e){return u.notificationService.handleErrors(e),s(403===e.status&&null),Iy(!1)})).subscribe(),n.next=18;break;case 17:s(!1);case 18:case"end":return n.stop()}},n,this)}))})}},{key:"getElementsFromDoc",value:function(){return jU(this,void 0,void 0,_().mark(function e(){var t=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e){return jU(t,void 0,void 0,_().mark(function t(){var n,i,r,o=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=[],i=_().mark(function e(t){var i,r,a;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.signaturesService.datesContent[t]){e.next=11;break}i=0;case 2:if(!(i<o.signaturesService.datesContent[t].length)){e.next=11;break}return r=o.signaturesService.datesContent[t][i],e.next=6,o.getSvgContent(i);case 6:a=e.sent,n.push({encodedImage:a.replace("data:image/svg+xml;base64,",""),width:r.width,height:r.height,positionX:r.positionX,positionY:r.positionY,type:"SVG",page:t});case 8:i++,e.next=2;break;case 11:o.signaturesService.signaturesContent[t]&&o.signaturesService.signaturesContent[t].forEach(function(e){n.push({encodedImage:e.encodedSignature,width:e.width,positionX:e.positionX,positionY:e.positionY,type:"PNG",page:t})}),o.signaturesService.notesContent[t]&&o.signaturesService.notesContent[t].forEach(function(e){n.push({encodedImage:e.fullPath.replace("data:image/png;base64,",""),width:e.width,positionX:e.positionX,positionY:e.positionY,type:"PNG",page:t})});case 12:case"end":return e.stop()}},e)}),r=1;case 3:if(!(r<=this.signaturesService.totalPage)){t.next=8;break}return t.delegateYield(i(r),"t0",5);case 5:r++,t.next=3;break;case 8:e(n);case 9:case"end":return t.stop()}},t,this)}))}));case 1:case"end":return e.stop()}},e)}))}},{key:"getSvgContent",value:function(e){return new Promise(function(t){var n=document.getElementById("testSVG_"+e),i=(new XMLSerializer).serializeToString(n),r=new Blob([i],{type:"image/svg+xml"}),o=new FileReader;o.readAsDataURL(r),o.onloadend=function(){t(o.result)}})}},{key:"checkGroupMail",value:function(e,t){var n=this;return new Promise(function(i){return jU(n,void 0,void 0,_().mark(function n(){var r=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:this.functionsService.empty(e.mailingId)?i([this.signaturesService.mainDocumentId]):this.http.get("../rest/documents/".concat(this.signaturesService.mainDocumentId,"/linkedMailing")).pipe(cw(function(e){return jU(r,void 0,void 0,_().mark(function n(){var r,o=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e.documents.length>1)){n.next=8;break}return n.next=3,this.alertController.create({header:this.translate.instant("lang.mailing"),message:this.translate.instant("validate"===t?"lang.makeActionOnDocInMailGroup":"lang.refuseActionDocInMailGroup"),backdropDismiss:!1,buttons:[{text:this.translate.instant("lang.yes"),handler:function(){i(e.documents)}},{role:"cancel",text:this.translate.instant("lang.no"),cssClass:"secondary",handler:function(){i([o.signaturesService.mainDocumentId])}}]});case 3:return r=n.sent,n.next=6,r.present();case 6:n.next=9;break;case 8:i([this.signaturesService.mainDocumentId]);case 9:case"end":return n.stop()}},n,this)}))}),Qb(function(e){return r.notificationService.handleErrors(e),i([]),Iy(!1)})).subscribe();case 1:case"end":return n.stop()}},n,this)}))})}}]),e}()).\u0275fac=function(e){return new(e||FU)(Li(ub),Li(mP),Li(_P),Li(OP),Li(HU),Li(cE))},FU.\u0275prov=Le({token:FU,factory:FU.\u0275fac,providedIn:"root"}),FU),WU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},GU=((BU=function(){function e(t,n,i,r,o,a,s,l,u){S(this,e),this.modalController=t,this.http=n,this.translate=i,this.notificationService=r,this.loadingController=o,this.signaturesService=a,this.actionsService=s,this.functionsService=l,this.authService=u,this.filters={expired:!1,keyUsage:[],onlyWithPrivateKey:!0},this.provider=null,this.cert=null,this.certPem=null,this.privateKey=null,this.signatures=[],this.signatureLength=null,this.server=null}return C(e,[{key:"ngOnInit",value:function(){return WU(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.authService.signatureRoles.filter(function(e){return e.id===n.signatureMode})[0],this.functionsService.empty(t.issuer)||(this.filters.issuerDNMatch=new RegExp(t.issuer,"i")),this.functionsService.empty(t.subject)||(this.filters.subjectDNMatch=new RegExp(t.subject,"i")),this.functionsService.empty(t.keyUsage)||this.filters.keyUsage.push(t.keyUsage);case 2:case"end":return e.stop()}},e,this)}))}},{key:"certificateChosen",value:function(e){return WU(this,void 0,void 0,_().mark(function t(){var n=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return WU(n,void 0,void 0,_().mark(function n(){var i,r;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.present(),n.prev=1,this.server=e.detail.server,this.checkWebsocketSession(),n.next=6,e.detail.server.getCrypto(e.detail.providerId);case 6:return this.provider=n.sent,this.checkWebsocketSession(),n.next=10,this.provider.certStorage.getItem(e.detail.certificateId);case 10:return this.cert=n.sent,this.checkWebsocketSession(),n.next=14,this.provider.certStorage.exportCert("pem",this.cert);case 14:return this.certPem=n.sent,this.checkWebsocketSession(),n.next=18,this.provider.keyStorage.getItem(e.detail.privateKeyId);case 18:this.privateKey=n.sent,n.next=24;break;case 21:return n.prev=21,n.t0=n.catch(1),n.abrupt("return",(this.notificationService.error(n.t0),t.dismiss(),void this.modalController.dismiss(!1)));case 24:this.certificate={certificate:this.certPem},i=!1,r=0;case 27:if(!(r<this.idsToProcess.length)){n.next=37;break}return n.next=30,this.actionsService.getElementsFromDoc();case 30:return this.signatures=n.sent,n.next=33,this.sendAndSign(this.idsToProcess[r]);case 33:i=n.sent;case 34:r++,n.next=27;break;case 37:t.dismiss(),this.modalController.dismiss(i);case 38:case"end":return n.stop()}},n,this,[[1,21]])}))});case 1:case"end":return t.stop()}},t,this)}))}},{key:"checkWebsocketSession",value:function(){return WU(this,void 0,void 0,_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.server.client.state===WebSocket.OPEN){e.next=7;break}return e.next=3,this.server.connect();case 3:return e.next=5,new Promise(function(e){return setTimeout(e,150)});case 5:e.next=0;break;case 7:case"end":return e.stop()}},e,this)}))}},{key:"sendAndSign",value:function(e){return WU(this,void 0,void 0,_().mark(function t(){var n,i,r;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!1,i={};case 1:if(n){t.next=21;break}r=!1;case 3:if(!1!==r){t.next=19;break}return t.next=6,this.fusionStampAndGenerateSignature(e,i.tmpUniqueId);case 6:if(null!==(i=t.sent)){t.next=9;break}return t.abrupt("return",!1);case 9:if(!1!==i){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,this.signDocument(e,i.hashDocument,i.signatureContentLength,i.signatureFieldName,i.tmpUniqueId);case 13:if(!0===(r=t.sent)){t.next=16;break}return t.abrupt("return",!1);case 16:this.signatures.shift(),n=0===this.signatures.length;case 17:t.next=3;break;case 19:t.next=1;break;case 21:return t.abrupt("return",n);case 22:case"end":return t.stop()}},t,this)}))}},{key:"fusionStampAndGenerateSignature",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return WU(this,void 0,void 0,_().mark(function n(){var i;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return i={},n.next=3,this.actionsService.sendDocument(e,null,this.certificate,this.signatureLength,t,this.signatures);case 3:return i=n.sent,n.abrupt("return",i);case 5:case"end":return n.stop()}},n,this)}))}},{key:"signDocument",value:function(e,t,n,i,r){var o=this;return new Promise(function(a){return WU(o,void 0,void 0,_().mark(function o(){var s,l,u,c,d,h,f=this;return _().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return s={name:this.privateKey.algorithm.name,hash:"SHA-256"},l=this.fromHex(t),o.prev=1,this.checkWebsocketSession(),o.next=5,this.provider.subtle.sign(s,this.privateKey,l);case 5:u=o.sent,o.next=11;break;case 8:return o.prev=8,o.t0=o.catch(1),o.abrupt("return",(this.notificationService.error(o.t0),a(!1),Iy(!1)));case 11:c={note:this.note},d={signatures:this.signatures,certificate:this.certPem,hashSignature:this.toHex(u),signatureContentLength:n,signatureFieldName:i,tmpUniqueId:r},h=Object.assign(Object.assign({},c),d),this.http.put("../rest/documents/"+e+"/actions/"+this.signaturesService.currentAction,h).pipe(cw(function(){a(!0)}),Qb(function(e){return void 0!==e.error.newSignatureLength?(f.signatureLength=e.error.newSignatureLength,a(!1)):(f.notificationService.handleErrors(e),a("error")),Iy(!1)})).subscribe();case 13:case"end":return o.stop()}},o,this,[[1,8]])}))})}},{key:"cancelSign",value:function(){this.modalController.dismiss(!1)}},{key:"toHex",value:function(e){for(var t=new Uint8Array(e),n=[],i=t.length,r=0;r<i;r++){var o=t[r].toString(16);n.push(1===o.length?"0"+o:o)}return n.join("")}},{key:"fromHex",value:function(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length;n+=2){var i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}}]),e}()).\u0275fac=function(e){return new(e||BU)(os(fE),os(ub),os(mP),os(_P),os(dE),os(OP),os(UU),os(HU),os(TP))},BU.\u0275cmp=pt({type:BU,selectors:[["signature-method-modal"]],inputs:{note:"note",signatureMode:"signatureMode",idsToProcess:"idsToProcess"},decls:2,vars:1,consts:[["language","fr","hide-footer","",2,"height","100%","width","100%",3,"filters","continue","cancel"]],template:function(e,t){1&e&&(ls(0,"ion-content"),ls(1,"peculiar-fortify-certificates",0),ys("continue",function(e){return t.certificateChosen(e)})("cancel",function(){return t.cancelSign()}),us(),us()),2&e&&(Ao(1),as("filters",t.filters))},directives:[GC],styles:[".content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:30px!important;height:100%;flex-direction:column}.content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:130px;color:var(--ion-color-primary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)!important}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)!important}@-webkit-keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:bounce;animation-name:bounce;transform-origin:center bottom;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}"]}),BU),qU=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},YU=((VU=function(){function e(t,n,i,r,o,a,s){S(this,e),this.http=t,this.modalController=n,this.actionsService=i,this.loadingController=r,this.translate=o,this.authService=a,this.notificationService=s}return C(e,[{key:"checkAuthenticationAndLaunchAction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return qU(this,void 0,void 0,_().mark(function i(){return _().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!(["rgs_2stars","rgs_2stars_timestamped","inca_card","inca_card_eidas"].indexOf(e.signatureMode)>-1)){i.next=13;break}if(0===this.authService.coreUrl.indexOf("https://")){i.next=7;break}return i.next=4,this.notificationService.error("lang.securedUrlNeeded");case 4:i.t1=null,i.next=10;break;case 7:return i.next=9,this.openRgsAuth(t,e.signatureMode,n);case 9:i.t1=i.sent;case 10:i.t0=i.t1,i.next=16;break;case 13:return i.next=15,this.launchDefaultMode(t,n);case 15:i.t0=i.sent;case 16:return i.abrupt("return",i.t0);case 17:case"end":return i.stop()}},i,this)}))}},{key:"launchDefaultMode",value:function(e,t){return qU(this,void 0,void 0,_().mark(function n(){var i=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise(function(n){return qU(i,void 0,void 0,_().mark(function i(){var r,o,a;return _().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.loadingController.create({message:this.translate.instant("lang.loadingValidation"),spinner:"dots"});case 2:(r=i.sent).present(),o=!0,a=0;case 6:if(!(a<t.length)){i.next=13;break}return i.next=9,this.actionsService.sendDocument(t[a],e);case 9:o=i.sent;case 10:a++,i.next=6;break;case 13:r.dismiss(),n(o);case 14:case"end":return i.stop()}},i,this)}))}));case 1:case"end":return n.stop()}},n)}))}},{key:"openRgsAuth",value:function(e,t,n){return qU(this,void 0,void 0,_().mark(function i(){var r=this;return _().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",new Promise(function(i){return qU(r,void 0,void 0,_().mark(function r(){var o,a,s;return _().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.modalController.create({component:GU,componentProps:{note:e,signatureMode:t,idsToProcess:n}});case 2:return o=r.sent,r.next=5,o.present();case 5:return r.next=7,o.onWillDismiss();case 7:a=r.sent,s=a.data,i(s);case 10:case"end":return r.stop()}},r,this)}))}));case 1:case"end":return i.stop()}},i)}))}}]),e}()).\u0275fac=function(e){return new(e||VU)(Li(ub),Li(fE),Li(UU),Li(dE),Li(mP),Li(TP),Li(_P))},VU.\u0275prov=Le({token:VU,factory:VU.\u0275fac,providedIn:"root"}),VU),ZU=((zU=function(){function e(t,n,i,r){S(this,e),this.signaturesService=t,this.filtersService=n,this.authService=i,this.bottomSheetRef=r,this.date=new Date}return C(e,[{key:"ngOnInit",value:function(){var e=this;setTimeout(function(){e.signaturesService.currentToobal="mainDocumentDetail",e.filtersService.resfreshDocuments(!0),e.bottomSheetRef.dismiss()},2e3)}}]),e}()).\u0275fac=function(e){return new(e||zU)(os(OP),os(SU),os(TP),os(WF))},zU.\u0275cmp=pt({type:zU,selectors:[["ng-component"]],decls:14,vars:19,consts:[[1,"green",2,"text-align","center"],[1,"fa","fa-thumbs-up","fa-4x"],[2,"font-weight","bold","font-size","30px"],[2,"font-weight","bold","font-size","15px"]],template:function(e,t){1&e&&(ls(0,"div",0),ls(1,"h1"),cs(2,"i",1),us(),ls(3,"p"),Xs(4),Ou(5,"translate"),us(),ls(6,"p",2),Xs(7),us(),ls(8,"p",3),Xs(9),Ou(10,"translate"),Ou(11,"date"),Ou(12,"translate"),Ou(13,"date"),us(),us()),2&e&&(Ao(4),Ks(Mu(5,7,"lang.documentValidateAs")),Ao(3),$s("",t.authService.user.firstname," ",t.authService.user.lastname,""),Ao(2),tl("",Mu(10,9,"lang.onRange")," ",Tu(11,11,t.date,"dd/MM/yyyy")," ",Mu(12,14,"lang.atRange")," ",Tu(13,16,t.date,"HH:mm"),""))},pipes:[yP,Gh],styles:[""]}),zU);function QU(e,t){if(1&e&&(ds(0),ls(1,"div",1),cs(2,"img",2),us(),hs()),2&e){var n=t.$implicit,i=ks();Ao(1),Fs("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),Ao(1),Fs("width",100,"%"),as("src",i.sanitization.bypassSecurityTrustUrl(n.fullPath),Sr)}}var XU,KU=((XU=function(){function e(t,n,i){S(this,e),this.translate=t,this.sanitization=n,this.signaturesService=i}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||XU)(os(mP),os(Gf),os(OP))},XU.\u0275cmp=pt({type:XU,selectors:[["app-document-note-list"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[2,"top","0","left","0","position","absolute"],[3,"src"]],template:function(e,t){1&e&&is(0,QU,3,7,"ng-container",0),2&e&&as("ngForOf",t.signaturesService.notesContent[t.signaturesService.currentPage])},directives:[vh],encapsulation:2}),XU),JU=["menuTrigger"],$U=["test"],eW=function(e,t){return{x:e,y:t}};function tW(e,t){if(1&e){var n=ps();ls(0,"div",1,2),ys("rzResizing",function(e){rn(n);var i=t.index;return ks().onResizing(e,i)})("rzStart",function(){return rn(n),ks().signaturesService.resizing=!0})("movingOffset",function(){return rn(n),ks().signaturesService.dragging=!0})("endOffset",function(e){rn(n);var i=t.index;return ks().moveSign(e,i)})("rzStop",function(e){rn(n);var i=t.index,r=ks();return r.onResizeStop(e,i),r.signaturesService.resizing=!1}),ls(2,"ion-item",3),ls(3,"ion-select",4),ys("click",function(e){return e.stopPropagation()})("ionChange",function(e){rn(n);var i=t.index;return ks().select(e,i)}),ls(4,"ion-select-option",5),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-select-option",6),Xs(8),Ou(9,"translate"),us(),us(),us(),cs(10,"img",7),us()}if(2&e){var i=t.$implicit,r=ks();Fs("width",i.width,"%")("height",r.fix),as("position",Su(20,eW,i.positionX*r.signaturesService.workingAreaWidth/100,i.positionY*r.signaturesService.workingAreaHeight/100))("ngDraggable",!r.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",r.bounds)("inBounds",!0),Ao(5),Js("",Mu(6,16,"lang.delete")," "),Ao(2),as("disabled",i.inAllPage),Ao(1),Js(" ",Mu(9,18,"lang.replicate"),""),Ao(2),Fs("width",100,"%"),as("src",r.sanitization.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Sr)}}var nW,iW=((nW=function(){function e(t,n,i,r,o,a,s,l){S(this,e),this.translate=t,this.sanitization=n,this.signaturesService=i,this.notificationService=r,this.localStorage=o,this.dialog=a,this.popoverController=s,this.modalController=l,this.fix="auto",this.today=new Date}return C(e,[{key:"ngOnInit",value:function(){}},{key:"select",value:function(e,t){this[e.detail.value](t)}},{key:"moveSign",value:function(e,t){var n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}},{key:"onResizing",value:function(e,t){this.test.nativeElement.style.height="auto"}},{key:"onResizeStop",value:function(e,t){this.test.nativeElement.style.height="auto",this.signaturesService.signaturesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}},{key:"cloneSign",value:function(e){var t=this;this.dialog.open(CH,{autoFocus:!1,width:"450px",data:{title:"lang.wantSignOtherPage",msg:""}}).afterClosed().subscribe(function(n){if("yes"===n){t.signaturesService.signaturesContent[t.signaturesService.currentPage][e].inAllPage=!0,t.signaturesService.signaturesContent[t.signaturesService.currentPage][e].token=Math.random().toString(36).substr(2,9);for(var i=1;i<=t.signaturesService.totalPage;i++)t.signaturesService.signaturesContent[i]||(t.signaturesService.signaturesContent[i]=[]),i!==t.signaturesService.currentPage&&t.signaturesService.signaturesContent[i].push(JSON.parse(JSON.stringify(t.signaturesService.signaturesContent[t.signaturesService.currentPage][e])));t.localStorage.save(t.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:t.signaturesService.signaturesContent,note:t.signaturesService.notesContent}))}}),this.menuSign.closeMenu()}},{key:"deleteSignature",value:function(e){if(!0===this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].inAllPage){var t=this.signaturesService.signaturesContent[this.signaturesService.currentPage][e].token;if(confirm(this.translate.instant("lang.wantDeleteSignatureOtherPage")))for(var n=1;n<=this.signaturesService.totalPage;n++){this.signaturesService.signaturesContent[n]||(this.signaturesService.signaturesContent[n]=[]);for(var i=0;i<=this.signaturesService.signaturesContent[n].length;i++)this.signaturesService.signaturesContent[n][i]&&t===this.signaturesService.signaturesContent[n][i].token&&this.signaturesService.signaturesContent[n].splice(i,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1)}else this.signaturesService.signaturesContent[this.signaturesService.currentPage].splice(e,1);this.emptySigns()&&(this.signaturesService.signaturesContent=[]),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"emptySigns",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}return e}}]),e}()).\u0275fac=function(e){return new(e||nW)(os(mP),os(Gf),os(OP),os(_P),os(MP),os(SB),os(pE),os(fE))},nW.\u0275cmp=pt({type:nW,selectors:[["app-document-sign-list"]],viewQuery:function(e,t){var n;1&e&&(Xu(JU,1),Xu($U,1)),2&e&&(Qu(n=Ju())&&(t.menuSign=n.first),Qu(n=Ju())&&(t.test=n.first))},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["ngResizable","","style","position:absolute;border: dashed 1px grey;background: rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%;",3,"position","width","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","height","rzResizing","rzStart","movingOffset","endOffset","rzStop",4,"ngFor","ngForOf"],["ngResizable","",2,"position","absolute","border","dashed 1px grey","background","rgba(255, 255, 255, 0.6) none repeat scroll 0% 0%",3,"position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop"],["test",""],[2,"position","absolute","--background","none","right","0","--border-width","0"],["selectedText"," ","value","","interface","popover",3,"click","ionChange"],["value","deleteSignature",1,"action-item"],["value","cloneSign",1,"action-item",3,"disabled"],[1,"img-content",3,"src"]],template:function(e,t){1&e&&is(0,tW,11,23,"div",0),2&e&&as("ngForOf",t.signaturesService.signaturesContent[t.signaturesService.currentPage])},directives:[vh,TM,DM,rS,AS,nA,CS],pipes:[yP],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}"]}),nW);function rW(e,t){if(1&e&&(ls(0,"ion-select-option",19),Xs(1),Ou(2,"date"),Ou(3,"translate"),us()),2&e){var n=t.$implicit,i=ks();as("value",n),Ao(1),Js(" ",Ru(2,2,i.today,n,void 0,Mu(3,7,"lang.langISO"))," ")}}function oW(e,t){if(1&e&&(ls(0,"ion-select-option",19),Xs(1),us()),2&e){var n=t.$implicit;zs(ks().getFontLabel(n)),as("value",n),Ao(1),Js(" ",n," ")}}var aW,sW=function(){return{cssClass:"selectFormat"}},lW=((aW=function(){function e(t){S(this,e),this.modalController=t,this.today=new Date,this.dateformats=["dd/MM/y","dd-MM-y","dd.MM.y","d MMM y","d MMMM y"],this.datefonts=["Arial","Verdana","Helvetica","Tahoma","Times New Roman","Courier New"],this.size={Arial:15,Verdana:13,Helvetica:13,Tahoma:13,"Times New Roman":15,"Courier New":13}}return C(e,[{key:"ngOnInit",value:function(){this.date=JSON.parse(JSON.stringify(this.currentDate))}},{key:"dismissModal",value:function(){this.modalController.dismiss()}},{key:"getFontLabel",value:function(e){return e.replace(" ","_")}},{key:"onSubmit",value:function(){this.modalController.dismiss(this.date)}},{key:"select",value:function(e){this.date.size=this.size[e]}}]),e}()).\u0275fac=function(e){return new(e||aW)(os(fE))},aW.\u0275cmp=pt({type:aW,selectors:[["ng-component"]],inputs:{currentDate:"currentDate"},decls:45,vars:43,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[2,"text-align","center","font-weight","normal","font-size","50px","padding","50px"],["color","secondary"],["interface","popover",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["button","","lines","full",3,"click"],["type","color",2,"display","none",3,"ngModel","ngModelChange"],["colorPicker",""],["slot","end","name","ellipse"],[3,"ngModel","interfaceOptions","cancelText","ngModelChange","ionChange"],[3,"value","class",4,"ngFor","ngForOf"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"click"],["type","button",3,"click"],[3,"value"]],template:function(e,t){if(1&e){var n=ps();ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),ls(5,"ion-buttons",2),ls(6,"ion-button",3),ys("click",function(){return t.dismissModal()}),cs(7,"ion-icon",4),us(),us(),us(),us(),ls(8,"ion-content"),ls(9,"ion-toolbar"),ls(10,"ion-title",5),Xs(11),Ou(12,"date"),Ou(13,"translate"),us(),us(),ls(14,"ion-item"),ls(15,"ion-label",6),Xs(16),Ou(17,"translate"),us(),ls(18,"ion-select",7),ys("ngModelChange",function(e){return t.date.format=e}),is(19,rW,4,9,"ion-select-option",8),us(),us(),ls(20,"ion-item",9),ys("click",function(){return rn(n),rs(22).click()}),ls(21,"input",10,11),ys("ngModelChange",function(e){return t.date.color=e}),us(),ls(23,"ion-label",6),Xs(24),Ou(25,"translate"),us(),cs(26,"ion-icon",12),us(),ls(27,"ion-item"),ls(28,"ion-label",6),Xs(29),Ou(30,"translate"),us(),ls(31,"ion-select",13),ys("ngModelChange",function(e){return t.date.font=e})("ionChange",function(e){return t.select(e.detail.value)}),Ou(32,"translate"),is(33,oW,2,4,"ion-select-option",14),us(),us(),us(),ls(34,"ion-footer",15),ls(35,"ion-toolbar"),ls(36,"ion-buttons",16),ls(37,"ion-button",17),ys("click",function(){return t.onSubmit()}),ls(38,"ion-label"),Xs(39),Ou(40,"translate"),us(),us(),ls(41,"ion-button",18),ys("click",function(){return t.dismissModal()}),ls(42,"ion-label"),Xs(43),Ou(44,"translate"),us(),us(),us(),us(),us()}2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,21,"lang.options")),Ao(7),zs(t.getFontLabel(t.date.font)),Fs("color",t.date.color),Ao(1),Ks(Ru(12,23,t.today,t.date.format,void 0,Mu(13,28,"lang.langISO"))),Ao(5),Ks(Mu(17,30,"lang.format")),Ao(2),as("ngModel",t.date.format),Ao(1),as("ngForOf",t.dateformats),Ao(2),as("ngModel",t.date.color),Ao(3),Ks(Mu(25,32,"lang.color")),Ao(2),Fs("color",t.date.color),Ao(3),Ks(Mu(30,34,"lang.font")),Ao(2),as("ngModel",t.date.font)("interfaceOptions",Au(42,sW))("cancelText",Mu(32,36,"lang.cancel")),Ao(2),as("ngForOf",t.datefonts),Ao(6),Ks(Mu(40,38,"lang.save")),Ao(4),Ks(Mu(44,40,"lang.cancel")))},directives:[JC,TS,OS,BC,FC,$C,GC,rS,lS,AS,nA,fm,Zm,vh,Lv,XC,CS],pipes:[yP,Gh],styles:[".Arial{font-family:Arial,sans-serif} .Verdana{font-family:Verdana,sans-serif} .Helvetica{font-family:Helvetica,sans-serif} .Tahoma{font-family:Tahoma,sans-serif} .Times_New_Roman{font-family:Times New Roman,serif} .Courier_New{font-family:Courier New,monospace}"]}),aW),uW=["menuTrigger"],cW=["test2"],dW=function(e,t){return{x:e,y:t}};function hW(e,t){if(1&e){var n=ps();ls(0,"div",1,2),ys("rzResizing",function(e){rn(n);var i=t.index;return ks().onResizingDate(e,i)})("rzStart",function(){return rn(n),ks().signaturesService.resizing=!0})("movingOffset",function(){return rn(n),ks().signaturesService.dragging=!0})("endOffset",function(e){rn(n);var i=t.index;return ks().moveDate(e,i)})("rzStop",function(e){rn(n);var i=t.index,r=ks();return r.onResizeDateStop(e,i),r.signaturesService.resizing=!1})("click",function(e){return e.stopPropagation()}),ls(2,"ion-buttons",3),ls(3,"ion-button",4),cs(4,"ion-icon",5),us(),us(),ls(5,"mat-menu",null,6),ls(7,"button",7),ys("click",function(){rn(n);var e=t.index;return ks().openDateSettings(e)}),Xs(8),Ou(9,"translate"),us(),ls(10,"button",7),ys("click",function(){rn(n);var e=t.index;return ks().deleteDate(e)}),Xs(11),Ou(12,"translate"),us(),us(),Mn(),ls(13,"svg",8),ls(14,"text",9),Xs(15),Ou(16,"date"),Ou(17,"translate"),us(),us(),us()}if(2&e){var i=t.$implicit,r=t.index,o=rs(6),a=ks();Fs("width",i.width,"%")("height",i.height,"%")("height",a.fix),as("id","dateDiv_"+r)("position",Su(34,dW,i.positionX*a.signaturesService.workingAreaWidth/100,i.positionY*a.signaturesService.workingAreaHeight/100))("ngDraggable",!a.signaturesService.resizing)("rzAspectRatio",!0)("preventDefaultEvent",!1)("bounds",a.bounds)("inBounds",!0),Ao(3),as("matMenuTriggerFor",o),Ao(5),Ks(Mu(9,23,"lang.options")),Ao(3),Ks(Mu(12,25,"lang.delete")),Ao(2),as("id","testSVG_"+r),Ao(1),Fs("font-family",i.font)("fill",i.color),es("font-size",i.size),Ao(1),Ks(Ru(16,27,a.today,i.format,void 0,Mu(17,32,"lang.langISO")))}}var fW,pW=((fW=function(){function e(t,n,i,r,o,a,s){S(this,e),this.translate=t,this.signaturesService=n,this.notificationService=i,this.localStorage=r,this.dialog=o,this.popoverController=a,this.modalController=s,this.fix="auto",this.today=new Date}return C(e,[{key:"ngOnInit",value:function(){}},{key:"moveDate",value:function(e,t){var n=100*e.y/this.signaturesService.workingAreaHeight;this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionX=100*e.x/this.signaturesService.workingAreaWidth,this.signaturesService.datesContent[this.signaturesService.currentPage][t].positionY=n,this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.signaturesService.dragging=!1}},{key:"onResizingDate",value:function(e,t){this.test2.nativeElement.style.height="auto"}},{key:"onResizeDateStop",value:function(e,t){this.test2.nativeElement.style.height="auto",this.signaturesService.datesContent[this.signaturesService.currentPage][t].height=100*e.size.height/this.signaturesService.workingAreaHeight,this.signaturesService.datesContent[this.signaturesService.currentPage][t].width=100*e.size.width/this.signaturesService.workingAreaWidth}},{key:"deleteDate",value:function(e){this.signaturesService.datesContent[this.signaturesService.currentPage].splice(e,1),this.localStorage.save(this.signaturesService.mainDocumentId.toString(),JSON.stringify({date:this.signaturesService.datesContent,sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent}))}},{key:"openDateSettings",value:function(e){return t=this,i=_().mark(function t(){var n,i,r;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.modalController.create({component:lW,componentProps:{currentDate:this.signaturesService.datesContent[this.signaturesService.currentPage][e]}});case 2:return n=t.sent,t.next=5,n.present();case 5:return t.next=7,n.onWillDismiss();case 7:i=t.sent,void 0!==(r=i.data)&&(this.signaturesService.datesContent[this.signaturesService.currentPage][e]=r);case 10:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}}]),e}()).\u0275fac=function(e){return new(e||fW)(os(mP),os(OP),os(_P),os(MP),os(SB),os(pE),os(fE))},fW.\u0275cmp=pt({type:fW,selectors:[["app-document-date-list"]],viewQuery:function(e,t){var n;1&e&&(Xu(uW,1),Xu(cW,1)),2&e&&(Qu(n=Ju())&&(t.menuSign=n.first),Qu(n=Ju())&&(t.test2=n.first))},inputs:{bounds:"bounds"},decls:1,vars:1,consts:[["class","test","ngResizable","",3,"id","position","width","height","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click",4,"ngFor","ngForOf"],["ngResizable","",1,"test",3,"id","position","ngDraggable","rzAspectRatio","preventDefaultEvent","bounds","inBounds","rzResizing","rzStart","movingOffset","endOffset","rzStop","click"],["test2",""],[2,"position","absolute","top","-30px","right","0px"],["slot","icon-only","shape","round","color","secondary",3,"matMenuTriggerFor"],["name","ellipsis-vertical"],["menu","matMenu"],["mat-menu-item","",3,"click"],["viewBox","0 0 130 30","preserveAspectRatio","xMinYMin meet",3,"id"],["y","21"]],template:function(e,t){1&e&&is(0,hW,18,37,"div",0),2&e&&as("ngForOf",t.signaturesService.datesContent[t.signaturesService.currentPage])},directives:[vh,TM,DM,BC,FC,aN,$C,nN,JV],pipes:[yP,Gh],styles:[".action-item ion-radio{--color:transparent;--color-checked:transparent}.test[_ngcontent-%COMP%]{position:absolute;border:1px dashed grey;background:hsla(0,0%,100%,.6) none repeat scroll 0 0;background:none;font:sans-serif}svg[_ngcontent-%COMP%]{width:100%;height:100%;pointer-events:none}text[_ngcontent-%COMP%]{pointer-events:auto}svg.text[_ngcontent-%COMP%]{display:block;font-size:inherit}"]}),fW),gW=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function vW(e,t){if(1&e){var n=ps();ls(0,"ion-item",6),ys("click",function(){rn(n);var e=t.$implicit;return ks().loadVisaWorkflow(e)}),ls(1,"ion-label"),Xs(2),us(),ls(3,"ion-buttons",7),ls(4,"ion-button",8),ys("click",function(e){rn(n);var i=t.$implicit,r=ks();return e.stopPropagation(),r.removeModel(i)}),cs(5,"ion-icon",9),us(),us(),us()}if(2&e){var i=t.$implicit;Ao(2),Ks(i.title)}}var mW,yW=((mW=function(){function e(t,n,i,r,o,a){S(this,e),this.http=t,this.translate=n,this.popoverController=i,this.alertController=r,this.notificationService=o,this.authService=a,this.currentWorkflow=[],this.visaWorkflowModels=[]}return C(e,[{key:"ngOnInit",value:function(){this.getVisaUserModels()}},{key:"createModel",value:function(){return gW(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.newTemplate"),message:this.translate.instant("lang.newTemplateDesc"),inputs:[{name:"title",type:"text",placeholder:this.translate.instant("lang.label")+" *"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(e){return""!==e.title?(n.saveModel(e.title),!0):(n.notificationService.error(n.translate.instant("lang.label")+" "+n.translate.instant("lang.mandatory")),!1)}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"saveModel",value:function(e){var t=this,n={title:e,items:this.currentWorkflow.map(function(e){return{userId:e.userId,mode:t.authService.getWorkflowMode(e.role),signatureMode:t.authService.getSignatureMode(e.role)}})};this.http.post("../rest/workflowTemplates",n).pipe(cw(function(n){t.notificationService.success("lang.modelCreated"),t.visaWorkflowModels.push({id:n.id,title:e})}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}},{key:"removeModel",value:function(e){return gW(this,void 0,void 0,_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({header:this.translate.instant("lang.delete"),message:this.translate.instant("lang.deleteTemplate"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){i.http.delete("../rest/workflowTemplates/"+e.id).pipe(cw(function(){i.visaWorkflowModels=i.visaWorkflowModels.filter(function(t){return t.id!==e.id}),i.notificationService.success("Mod\xe8le ".concat(e.title," supprim\xe9"))}),Qb(function(e){return i.notificationService.handleErrors(e),Iy(!1)})).subscribe()}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}))}},{key:"getVisaUserModels",value:function(){var e=this;this.http.get("../rest/workflowTemplates").pipe(cw(function(t){e.visaWorkflowModels=t.workflowTemplates}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}},{key:"loadVisaWorkflow",value:function(e){var t=this;this.http.get("../rest/workflowTemplates/"+e.id).pipe(cw(function(e){var n=e.workflowTemplate.items.map(function(e){return{userId:e.userId,userDisplay:e.userLabel,role:"visa"===e.mode?"visa":e.signatureMode,processDate:null,current:!1,modes:["visa"].concat(e.userSignatureModes)}});t.popoverController.dismiss(n)}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||mW)(os(ub),os(mP),os(pE),os(cE),os(_P),os(TP))},mW.\u0275cmp=pt({type:mW,selectors:[["app-visa-workflow-models"]],inputs:{currentWorkflow:"currentWorkflow"},decls:11,vars:8,consts:[["lines","none"],["color","secondary"],["button","",3,"click",4,"ngFor","ngForOf"],["button","",3,"disabled","click"],["color","primary","slot","start","name","add-circle-outline"],["color","primary"],["button","",3,"click"],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(ls(0,"ion-list",0),ls(1,"ion-list-header"),ls(2,"ion-label",1),Xs(3),Ou(4,"translate"),us(),us(),is(5,vW,6,1,"ion-item",2),ls(6,"ion-item",3),ys("click",function(){return t.createModel()}),cs(7,"ion-icon",4),ls(8,"ion-label",5),Xs(9),Ou(10,"translate"),us(),us(),us()),2&e&&(Ao(3),Ks(Mu(4,4,"lang.circuitModels")),Ao(2),as("ngForOf",t.visaWorkflowModels),Ao(1),as("disabled",0===t.currentWorkflow.length),Ao(3),Ks(Mu(10,6,"lang.newTemplate")))},directives:[uS,cS,lS,vh,rS,$C,BC,FC],pipes:[yP],styles:[""]}),mW);function bW(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-checkbox",19),ys("ionChange",function(e){rn(n),ks(2);var t=rs(3);return ks().addUser(e.detail.value,t)}),us(),ls(2,"ion-label"),Xs(3),us(),ls(4,"ion-note",13),Xs(5),us(),us()}if(2&e){var i=t.$implicit;Ao(1),as("value",i),Ao(2),$s("",i.firstname," ",i.lastname,""),Ao(2),Ks(i.email)}}function wW(e,t){if(1&e&&(ls(0,"ion-list",17),is(1,bW,6,4,"ion-item",18),us()),2&e){var n=ks(2);Ao(1),as("ngForOf",n.visaUsersList)}}function _W(e,t){if(1&e){var n=ps();ds(0),ls(1,"ion-item",10),ls(2,"ion-searchbar",11,12),ys("ngModelChange",function(e){return rn(n),ks().visaUsersSearchVal=e})("ionChange",function(e){return rn(n),ks().getVisaUsers(e)})("ionFocus",function(){return rn(n),ks().visaUsersSearchVal=""}),Ou(4,"translate"),us(),ls(5,"ion-buttons",13),ls(6,"ion-button",14),ys("click",function(e){return rn(n),ks().openVisaWorkflowModels(e)}),Ou(7,"translate"),cs(8,"ion-icon",15),us(),us(),us(),is(9,wW,2,1,"ion-list",16),hs()}if(2&e){var i=ks();Ao(2),as("ngModel",i.visaUsersSearchVal)("placeholder",Mu(4,4,"lang.searchUser")),Ao(4),as("title",Mu(7,6,"lang.circuitModels")),Ao(3),as("ngIf",i.visaUsersList.length>0)}}function xW(e,t){1&e&&(ls(0,"ion-list"),ls(1,"ion-item",10),ls(2,"ion-label",20),Xs(3),Ou(4,"translate"),us(),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.noUserInWorkflow")))}function kW(e,t){1&e&&(ls(0,"p",31),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.substituteMsg"),""))}function AW(e,t){if(1&e&&(ls(0,"h2",32),Xs(1),us()),2&e){var n=ks().$implicit;as("title",n.userDisplay),Ao(1),Ks(n.userDisplay)}}function CW(e,t){1&e&&(ls(0,"h2",33),Xs(1),Ou(2,"translate"),us()),2&e&&(as("title",ks().$implicit.userDisplay),Ao(1),Js(" ",Mu(2,2,"lang.userDeleted"),""))}function SW(e,t){if(1&e&&(ls(0,"ion-select-option",37),Xs(1),Ou(2,"translate"),us()),2&e){var n=t.$implicit,i=ks(2),r=i.index,o=i.$implicit,a=ks();as("value",n)("disabled",!a.isValidRole(r,n,o.role)),Ao(1),Js(" ",Mu(2,3,"lang."+n+"User")," ")}}function EW(e,t){if(1&e){var n=ps();ls(0,"p",34),ls(1,"ion-select",35),ys("ngModelChange",function(e){return rn(n),ks().$implicit.role=e}),Ou(2,"translate"),is(3,SW,3,5,"ion-select-option",36),us(),us()}if(2&e){var i,r=ks().$implicit,o=ks();Ao(1),Fs("color",null==(i=o.getRole(r.role))?null:i.color),as("ngModel",r.role)("title",Mu(2,7,"lang."+r.role+"User"))("interfaceOptions",o.customPopoverOptions)("disabled",!o.editMode),Ao(2),as("ngForOf",r.modes)}}function PW(e,t){if(1&e&&(ls(0,"ion-note",41),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(2).$implicit;Ao(1),$s(" ",Mu(2,2,"lang."+n.mode+"ProcessInfo")," ",n.processDate," ")}}function DW(e,t){if(1&e&&(ls(0,"ion-note",42),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(2).$implicit;Ao(1),$s(" ",Mu(2,2,"lang.refProcessInfo")," ",n.processDate," ")}}function OW(e,t){if(1&e&&(ls(0,"ion-note",43),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(2).$implicit;Ao(1),$s(" ",Mu(2,2,"lang.stopProcessInfo")," ",n.processDate," ")}}function MW(e,t){if(1&e&&(ls(0,"p",32),is(1,PW,3,4,"ion-note",38),is(2,DW,3,4,"ion-note",39),is(3,OW,3,4,"ion-note",40),us()),2&e){var n=ks().$implicit;as("title",n.processDate),Ao(1),as("ngIf","VAL"===n.status),Ao(1),as("ngIf","REF"===n.status),Ao(1),as("ngIf","STOP"===n.status)}}function TW(e,t){1&e&&cs(0,"ion-icon",44)}function IW(e,t){if(1&e){var n=ps();ls(0,"ion-button",45),ys("click",function(e){rn(n);var t=ks().index,i=ks();return e.stopPropagation(),i.removeUser(t)}),cs(1,"ion-icon",46),us()}}function RW(e,t){if(1&e&&(ls(0,"ion-item",21),ls(1,"ion-reorder",2),cs(2,"ion-icon",22),Ou(3,"translate"),us(),ls(4,"ion-avatar",23),ys("click",function(e){return e.stopPropagation()}),cs(5,"img",24),us(),ls(6,"ion-label"),is(7,kW,3,3,"p",25),is(8,AW,2,2,"h2",26),is(9,CW,3,4,"h2",27),is(10,EW,4,9,"p",28),is(11,MW,4,4,"p",26),us(),is(12,TW,1,0,"ion-icon",29),ls(13,"ion-buttons",13),is(14,IW,2,0,"ion-button",30),us(),us()),2&e){var n=t.$implicit,i=ks();Bs("current",n.current),Ao(2),as("title",Mu(3,11,"lang.reorder")),Ao(3),as("src",n.userPicture,Sr),Ao(2),as("ngIf",i.userDelegated&&n.current),Ao(1),as("ngIf",""!==n.userDisplay),Ao(1),as("ngIf",""===n.userDisplay),Ao(1),as("ngIf",null===n.processDate),Ao(1),as("ngIf",null!==n.processDate),Ao(1),as("ngIf",!i.editMode&&n.current),Ao(2),as("ngIf",i.editMode)}}var LW,FW=((LW=function(){function e(t,n,i,r,o){S(this,e),this.http=t,this.signaturesService=n,this.authService=i,this.notificationService=r,this.popoverController=o,this.editMode=!1,this.visaWorkflow=[],this.userDelegated=!1,this.loading=!1,this.visaUsersSearchVal="",this.visaUsersList=[],this.showVisaUsersList=!1,this.customPopoverOptions={header:"Roles"},this.roles=[]}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.visaWorkflow.forEach(function(t,n){e.getAvatarUser(n)})}},{key:"doReorder",value:function(e){this.canMoveUser(e)?this.visaWorkflow=e.detail.complete(this.visaWorkflow):(this.notificationService.error("lang.errorUserSignType"),e.detail.complete(!1))}},{key:"canMoveUser",value:function(e){var t=this.array_move(this.visaWorkflow.slice(),e.detail.from,e.detail.to);return t=t.filter(function(e){return void 0!==e}),this.isValidWorkflow(t)}},{key:"isValidWorkflow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.visaWorkflow,t=!0;return e.forEach(function(n,i){-1===["visa","stamp"].indexOf(n.role)&&e.filter(function(e,t){return t>i&&"stamp"===e.role}).length>0&&(t=!1)}),t}},{key:"array_move",value:function(e,t,n){if(n>=e.length)for(var i=n-e.length+1;i--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"getVisaUsers",value:function(e){var t=this;this.showVisaUsersList=!0,""===e.detail.value?this.resetVisaUsersList():e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(cw(function(e){t.visaUsersList=e}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}},{key:"addUser",value:function(e,t){this.resetVisaUsersList(),e.signatureModes.unshift("visa"),this.visaWorkflow.push({userId:e.id,userDisplay:"".concat(e.firstname," ").concat(e.lastname),role:e.signatureModes[e.signatureModes.length-1],processDate:null,current:!1,modes:e.signatureModes}),this.isValidWorkflow()||(this.visaWorkflow[this.visaWorkflow.length-1].role="visa"),this.getAvatarUser(this.visaWorkflow.length-1),this.visaUsersSearchVal="",t.setFocus()}},{key:"removeUser",value:function(e){this.visaWorkflow.splice(e,1)}},{key:"getAvatarUser",value:function(e){var t=this;void 0===this.visaWorkflow[e].userPicture&&""!==this.visaWorkflow[e].userDisplay&&this.http.get("../rest/users/"+this.visaWorkflow[e].userId+"/picture").pipe(cw(function(n){t.visaWorkflow[e].userPicture=n.picture}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}},{key:"resetVisaUsersList",value:function(){this.visaUsersList=[]}},{key:"openVisaWorkflowModels",value:function(e){return t=this,i=_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.popoverController.create({component:yW,componentProps:{currentWorkflow:this.visaWorkflow},event:e});case 2:return n=t.sent,t.next=5,n.present();case 5:n.onDidDismiss().then(function(e){"backdrop"!==e.role&&(i.visaWorkflow=i.visaWorkflow.concat(e.data),i.visaWorkflow.forEach(function(e,t){i.getAvatarUser(t)}))});case 6:case"end":return t.stop()}},t,this)}),new((n=void 0)||(n=Promise))(function(e,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function a(e){try{s(i.throw(e))}catch(t){r(t)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n(function(e){e(i)})).then(o,a)}s((i=i.apply(t,[])).next())});var t,n,i}},{key:"getCurrentWorkflow",value:function(){return this.visaWorkflow}},{key:"getRole",value:function(e){return this.authService.signatureRoles.filter(function(t){return t.id===e})[0]}},{key:"loadWorkflow",value:function(e){this.visaWorkflow=e;for(var t=this.visaWorkflow.length,n=0;n<t;n++)this.getAvatarUser(n)}},{key:"isValidRole",value:function(e,t,n){return!(this.visaWorkflow.filter(function(t,n){return n>e&&["stamp"].indexOf(t.role)>-1}).length>0&&["visa","stamp"].indexOf(n)>-1&&-1===["visa","stamp"].indexOf(t)||this.visaWorkflow.filter(function(t,n){return n<e&&-1===["visa","stamp"].indexOf(t.role)}).length>0&&"stamp"===t)}},{key:"setPositionsWorkfow",value:function(e,t){var n=this;this.clearPositionsFromResource(e),t.length>0&&Object.keys(t).forEach(function(i){var r=Object.assign(Object.assign({},t[i]),{mainDocument:e.mainDocument});n.visaWorkflow[t[i].sequence].signaturePositions=n.visaWorkflow[t[i].sequence].signaturePositions.filter(function(t){return t.mainDocument!==e.mainDocument}),n.visaWorkflow[t[i].sequence].signaturePositions.push(r)})}},{key:"clearPositionsFromResource",value:function(e){this.visaWorkflow.forEach(function(t){t.signaturePositions=t.signaturePositions.filter(function(t){return t.mainDocument!==e.mainDocument})})}}]),e}()).\u0275fac=function(e){return new(e||LW)(os(ub),os(OP),os(TP),os(_P),os(pE))},LW.\u0275cmp=pt({type:LW,selectors:[["app-visa-workflow"]],viewQuery:function(e,t){var n;1&e&&Xu(bS,1),2&e&&Qu(n=Ju())&&(t.reorderGroup=n.first)},inputs:{editMode:"editMode",visaWorkflow:"visaWorkflow",userDelegated:"userDelegated"},decls:13,vars:8,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","list-outline"],[1,"ion-text-center"],[3,"click"],[4,"ngIf"],[3,"disabled","ionItemReorder"],["class","no-ripple",3,"current",4,"ngFor","ngForOf"],["lines","none"],[3,"ngModel","placeholder","ngModelChange","ionChange","ionFocus"],["searchInput",""],["slot","end"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","albums-outline"],["style","position: absolute;z-index: 2;width: 100%;box-shadow: 0 4px 2px -2px gray;",4,"ngIf"],[2,"position","absolute","z-index","2","width","100%","box-shadow","0 4px 2px -2px gray"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["color","medium",1,"ion-text-center"],[1,"no-ripple"],["name","reorder-three",2,"font-size","30px",3,"title"],["slot","start",1,"avatar-user",2,"cursor","grab",3,"click"],[3,"src"],["class","secondary",4,"ngIf"],[3,"title",4,"ngIf"],["class","danger",3,"title",4,"ngIf"],["style","display: flex;justify-content: start;",4,"ngIf"],["color","success","slot","end","name","caret-back-outline",4,"ngIf"],["style","z-index: 9999","fill","clear","slot","icon-only","shape","round","color","danger",3,"click",4,"ngIf"],[1,"secondary"],[3,"title"],[1,"danger",3,"title"],[2,"display","flex","justify-content","start"],["interface","popover",2,"width","auto","max-width","100%","padding-left","0px",3,"ngModel","title","interfaceOptions","disabled","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["class","valProcess",4,"ngIf"],["class","refProcess",4,"ngIf"],["class","stopProcess",4,"ngIf"],[1,"valProcess"],[1,"refProcess"],[1,"stopProcess"],["color","success","slot","end","name","caret-back-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",2,"z-index","9999",3,"click"],["slot","icon-only","name","trash-outline"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),ls(3,"ion-button",3),cs(4,"ion-icon",4),us(),us(),ls(5,"ion-title",5),Xs(6),Ou(7,"translate"),us(),us(),us(),ls(8,"ion-content",6),ys("click",function(){return t.resetVisaUsersList()}),is(9,_W,10,8,"ng-container",7),is(10,xW,5,3,"ion-list",7),ls(11,"ion-reorder-group",8),ys("ionItemReorder",function(e){return t.doReorder(e)}),is(12,RW,15,13,"ion-item",9),us(),us()),2&e&&(as("translucent",!0),Ao(6),Ks(Mu(7,6,"lang.circuit")),Ao(3),as("ngIf",t.editMode),Ao(1),as("ngIf",0===t.visaWorkflow.length),Ao(1),as("disabled",!t.editMode),Ao(1),as("ngForOf",t.visaWorkflow))},directives:[JC,TS,BC,FC,$C,OS,GC,yh,bS,vh,rS,_S,iA,fm,Zm,uS,jC,$k,lS,pS,yS,IC,AS,nA,CS],pipes:[yP],styles:[".current[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-success)}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.danger[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.avatar-user[_ngcontent-%COMP%]{width:50px;height:50px;border:solid var(--ion-color-secondary)}ion-select[_ngcontent-%COMP%]{font-size:12px}.no-ripple[_ngcontent-%COMP%]{--ripple-color:transparent}.item-select-disabled[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%], .select-disabled[_ngcontent-%COMP%]{opacity:1}.item-select-disabled[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]::part(icon){display:none!important}.valProcess[_ngcontent-%COMP%]{color:var(--ion-color-success)}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%], .valProcess[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font-size:12px;text-align:right;padding-top:10px;padding-bottom:10px}.refProcess[_ngcontent-%COMP%], .stopProcess[_ngcontent-%COMP%]{color:var(--ion-color-danger)}"]}),LW);function BW(e,t){if(1&e){var n=ps();ls(0,"ion-item",9),ys("click",function(){rn(n);var e=t.$implicit;return ks().goTo(e.id)}),ls(1,"div"),ls(2,"ion-label",10),Xs(3),us(),ls(4,"ion-label",11),Xs(5),Ou(6,"shorten"),us(),us(),cs(7,"ion-icon",12),us()}if(2&e){var i=t.$implicit;Ao(3),Ks(i.reference),Ao(2),Ks(Iu(6,2,i.title,50,"..."))}}var zW,VW=((zW=function(){function e(t){S(this,e),this.router=t}return C(e,[{key:"ngOnInit",value:function(){}},{key:"goTo",value:function(e){this.router.navigate(["/documents/"+e])}}]),e}()).\u0275fac=function(e){return new(e||zW)(os(Ux))},zW.\u0275cmp=pt({type:zW,selectors:[["app-associated-documents"]],inputs:{associatedDocuments:"associatedDocuments"},decls:14,vars:6,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","link-outline"],[1,"ion-text-center"],[1,"secondary"],[2,"display","flex","flex-direction","column","height","100%"],["class","doc-item",3,"click",4,"ngFor","ngForOf"],[1,"doc-item",3,"click"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["slot","end","color","medium","name","arrow-forward-outline"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),ls(3,"ion-button",3),cs(4,"ion-icon",4),us(),us(),ls(5,"ion-title",5),ls(6,"b",6),Xs(7),us(),Xs(8),Ou(9,"translate"),us(),us(),us(),ls(10,"ion-content"),ls(11,"div",7),ls(12,"ion-list"),is(13,BW,8,6,"ion-item",8),us(),us(),us()),2&e&&(as("translucent",!0),Ao(7),Ks(null==t.associatedDocuments?null:t.associatedDocuments.length),Ao(1),Js("\xa0",Mu(9,4,"lang.associatedDocuments"),""),Ao(5),as("ngForOf",t.associatedDocuments))},directives:[JC,TS,BC,FC,$C,OS,GC,uS,vh,rS,lS],pipes:[yP,XM],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}img[_ngcontent-%COMP%]{pointer-events:none}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px;cursor:pointer}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}"]}),zW);function NW(e,t){1&e&&(ls(0,"ion-card"),ls(1,"ion-item",13),cs(2,"ion-icon",14),ls(3,"ion-label"),Xs(4),Ou(5,"translate"),us(),us(),us()),2&e&&(Ao(4),Ks(Mu(5,1,"lang.docIsInMailGroup")))}function HW(e,t){if(1&e&&(ls(0,"ion-item",8),ls(1,"ion-label",9),Xs(2),Ou(3,"translate"),us(),cs(4,"ion-input",10),us()),2&e){var n=ks();as("title",n.mainDocument.description),Ao(2),Ks(Mu(3,3,"lang.description")),Ao(2),as("value",n.mainDocument.description)}}function jW(e,t){if(1&e&&(ls(0,"ion-item",8),ls(1,"ion-label",9),Xs(2),Ou(3,"translate"),us(),cs(4,"ion-input",10),us()),2&e){var n=ks();as("title",n.mainDocument.deadline),Ao(2),Ks(Mu(3,3,"lang.processingDeadline")),Ao(2),as("value",n.mainDocument.deadline)}}function UW(e,t){if(1&e&&(ls(0,"ion-item"),ls(1,"ion-label",9),Xs(2),Ou(3,"translate"),us(),cs(4,"ion-input",10),us()),2&e){var n=t.$implicit;Ao(2),Ks(Mu(3,2,n.label)),Ao(2),as("value",n.value)}}var WW,GW=((WW=function(){function e(t,n){S(this,e),this.signaturesService=t,this.functionsService=n,this.loading=!1}return C(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||WW)(os(OP),os(HU))},WW.\u0275cmp=pt({type:WW,selectors:[["app-main-document-detail"]],inputs:{mainDocument:"mainDocument"},decls:29,vars:23,consts:[[3,"translucent"],["color","primary"],["slot","start"],["disabled",""],["slot","icon-only","name","information-circle"],[1,"ion-text-center"],[4,"ngIf"],["lines","full",1,"ion-no-margin"],[3,"title"],["color","secondary","position","floating"],["readonly","",3,"value"],[3,"title",4,"ngIf"],[4,"ngFor","ngForOf"],["color","danger"],["name","alert-circle","slot","start"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),ls(3,"ion-button",3),cs(4,"ion-icon",4),us(),us(),ls(5,"ion-title",5),Xs(6),Ou(7,"translate"),us(),us(),us(),ls(8,"ion-content"),is(9,NW,6,3,"ion-card",6),ls(10,"ion-list",7),ls(11,"ion-item",8),ls(12,"ion-label",9),Xs(13),Ou(14,"translate"),us(),cs(15,"ion-input",10),us(),is(16,HW,5,5,"ion-item",11),is(17,jW,5,5,"ion-item",11),ls(18,"ion-item",8),ls(19,"ion-label",9),Xs(20),Ou(21,"translate"),us(),cs(22,"ion-input",10),us(),ls(23,"ion-item",8),ls(24,"ion-label",9),Xs(25),Ou(26,"translate"),us(),cs(27,"ion-input",10),us(),is(28,UW,5,4,"ion-item",12),us(),us()),2&e&&(as("translucent",!0),Ao(6),Ks(Mu(7,15,"lang.informations")),Ao(3),as("ngIf",!t.functionsService.empty(t.mainDocument.mailingId)),Ao(2),as("title",t.mainDocument.sender),Ao(2),Ks(Mu(14,17,"lang.emittedBy")),Ao(2),as("value",t.mainDocument.sender),Ao(1),as("ngIf",null!=t.mainDocument.description),Ao(1),as("ngIf",null!=t.mainDocument.deadline),Ao(1),as("title",t.mainDocument.reference),Ao(2),Ks(Mu(21,19,"lang.reference")),Ao(2),as("value",t.mainDocument.reference),Ao(1),as("title",t.mainDocument.title),Ao(2),Ks(Mu(26,21,"lang.subject")),Ao(2),as("value",t.mainDocument.title),Ao(1),as("ngForOf",t.mainDocument.metadata))},directives:[JC,TS,BC,FC,$C,OS,GC,yh,uS,rS,lS,iS,iA,vh,zC],pipes:[yP],styles:[".mat-list-item[_ngcontent-%COMP%]{height:auto!important;text-align:center}.mat-card[_ngcontent-%COMP%]{box-shadow:none;border:1px solid #e0e0e0}.mat-icon[_ngcontent-%COMP%]{height:auto}.current[_ngcontent-%COMP%]{box-shadow:0 0 20px 0 #656565}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:65px;justify-content:center;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%]{display:flex;position:relative}.panel-content[_ngcontent-%COMP%]{flex-direction:column;height:100%;overflow:hidden}.closePanel[_ngcontent-%COMP%]{position:absolute;left:0;font-size:24px}.panel-content[_ngcontent-%COMP%] .mat-form-field-label{color:#f99830}.panel-content[_ngcontent-%COMP%] .mat-input-element:disabled{color:#135f7f}"]}),WW),qW=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},YW=["mainContent"],ZW=["img"],QW=["snav"],XW=["dragElem"],KW=["appDocumentNotePad"],JW=["appDocumentList"],$W=["rightContent"],eG=["pagesList"];function tG(e,t){if(1&e){var n=ps();ls(0,"ion-segment-button",20),ys("click",function(){return rn(n),ks(2).openAssociatedDocuments()}),ls(1,"ion-label",11),Xs(2),Ou(3,"ucfirst"),Ou(4,"translate"),us(),cs(5,"ion-icon",21),ls(6,"ion-badge",15),Xs(7),us(),us()}if(2&e){var i=ks(2);Ao(2),Ks(Mu(3,2,Mu(4,4,"lang.associatedDocuments"))),Ao(5),Js(" ",i.mainDocument.linkedDocuments.length," ")}}function nG(e,t){if(1&e){var n=ps();ls(0,"ion-buttons",22),ls(1,"ion-button",23),ys("click",function(e){return rn(n),ks(2).openAction(e)}),cs(2,"ion-icon",24),us(),us()}if(2&e){var i=ks(2);Ao(1),as("disabled","CONVERTING"===i.mainDocument.status)}}function iG(e,t){if(1&e){var n=ps();ls(0,"ion-header",6),ls(1,"ion-toolbar",7),ls(2,"ion-buttons",8),cs(3,"ion-menu-button"),us(),ls(4,"ion-segment",9),ys("ionChange",function(e){return rn(n),ks().signaturesService.currentToobal=e.detail.value}),ls(5,"ion-segment-button",10),ys("click",function(){return rn(n),ks().openMainDocumentDetail()}),ls(6,"ion-label",11),Xs(7),Ou(8,"translate"),us(),cs(9,"ion-icon",12),us(),ls(10,"ion-segment-button",13),ys("click",function(){return rn(n),ks().openDocumentList()}),ls(11,"ion-label",11),Xs(12),Ou(13,"ucfirst"),Ou(14,"translate"),us(),cs(15,"ion-icon",14),ls(16,"ion-badge",15),Xs(17),us(),us(),is(18,tG,8,6,"ion-segment-button",16),ls(19,"ion-segment-button",17),ys("click",function(){return rn(n),ks().openVisaWorkflow()}),ls(20,"ion-label",11),Xs(21),Ou(22,"translate"),us(),cs(23,"ion-icon",18),ls(24,"ion-badge",15),Xs(25),us(),us(),us(),is(26,nG,3,1,"ion-buttons",19),us(),us()}if(2&e){var i=ks();as("translucent",!0),Ao(4),as("value",i.signaturesService.currentToobal),Ao(3),Ks(Mu(8,9,"lang.informations")),Ao(5),Ks(Mu(13,11,Mu(14,13,"lang.attachedElements"))),Ao(5),Js(" ",i.mainDocument.attachments.length+1," "),Ao(1),as("ngIf",void 0!==i.mainDocument.linkedDocuments&&i.mainDocument.linkedDocuments.length>0),Ao(3),Ks(Mu(22,15,"lang.circuit")),Ao(4),Js(" ",i.mainDocument.workflow.length," "),Ao(1),as("ngIf",!i.detailMode)}}function rG(e,t){1&e&&(ls(0,"ion-toolbar",25),ls(1,"ion-label",26),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Ks(Mu(3,1,"lang.substitutionInfo")))}function oG(e,t){1&e&&(ls(0,"ion-toolbar",27),ls(1,"div",28),ls(2,"ion-label",29),Xs(3),Ou(4,"translate"),us(),cs(5,"ion-spinner",30),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.convertingDocument")))}function aG(e,t){1&e&&(ls(0,"ion-toolbar",27),ls(1,"ion-label",31),Xs(2),Ou(3,"translate"),us(),us()),2&e&&(Ao(2),Ks(Mu(3,1,"lang.errorConvertingDocument")))}function sG(e,t){if(1&e){var n=ps();ls(0,"ion-fab-button",44),ys("movingOffset",function(){return rn(n),ks(3).signaturesService.dragging=!0})("endOffset",function(){return rn(n),ks(3).signaturesService.dragging=!1})("click",function(){return rn(n),ks(3).expandedNote=!0}),Ou(1,"translate"),cs(2,"ion-icon",45),us()}if(2&e){ks(2);var i=rs(7),r=ks();as("bounds",i)("inBounds",!0)("title",Mu(1,4,"lang.expandNote"))("disabled",r.signaturesService.dragging)}}function lG(e,t){if(1&e&&(ds(0),ls(1,"div",52),Xs(2),us(),ls(3,"div",53),Xs(4),us(),hs()),2&e){var n=ks(4);Ao(2),$s(" ",n.mainDocument.notes.creator," (",n.mainDocument.notes.creationDate,") : "),Ao(2),Js(" ",n.mainDocument.notes.value," ")}}function uG(e,t){if(1&e&&(ls(0,"div"),ls(1,"div",52),Xs(2),us(),ls(3,"div",53),Xs(4),us(),us()),2&e){var n=ks().$implicit;Ao(2),$s(" ",n.userDisplay," (",n.processDate,") : "),Ao(2),Js(" ",n.note," ")}}function cG(e,t){if(1&e&&(ds(0),is(1,uG,5,3,"div",3),hs()),2&e){var n=t.$implicit;Ao(1),as("ngIf",n.note)}}function dG(e,t){if(1&e){var n=ps();ls(0,"div",46),ys("movingOffset",function(){return rn(n),ks(3).signaturesService.dragging=!0})("endOffset",function(){return rn(n),ks(3).signaturesService.dragging=!1}),ls(1,"div",47),cs(2,"i",48),ls(3,"span",49),Xs(4),Ou(5,"translate"),us(),ls(6,"i",50),ys("click",function(){return rn(n),ks(3).expandedNote=!1}),Ou(7,"translate"),us(),us(),is(8,lG,5,3,"ng-container",3),is(9,cG,2,1,"ng-container",51),us()}if(2&e){ks(2);var i=rs(7),r=ks();as("bounds",i)("inBounds",!0),Ao(4),Ks(Mu(5,6,"lang.note")),Ao(2),as("title",Mu(7,8,"lang.collapseNote")),Ao(2),as("ngIf",null!=r.mainDocument.notes),Ao(1),as("ngForOf",r.mainDocument.workflow)}}function hG(e,t){if(1&e&&(ds(0),is(1,sG,3,6,"ion-fab-button",42),is(2,dG,10,10,"div",43),hs()),2&e){var n=ks(2);Ao(1),as("ngIf",!n.expandedNote),Ao(1),as("ngIf",n.expandedNote)}}function fG(e,t){1&e&&cs(0,"app-document-note-list")}function pG(e,t){1&e&&cs(0,"app-document-sign-list",54),2&e&&(ks(),as("bounds",rs(7)))}function gG(e,t){1&e&&cs(0,"app-document-date-list",54),2&e&&(ks(),as("bounds",rs(7)))}function vG(e,t){if(1&e){var n=ps();ls(0,"ion-img",55,56),ys("ionImgDidLoad",function(e){return rn(n),ks(2).imageLoaded(e)}),us()}if(2&e){var i=ks(2);Fs("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),as("src",i.docList[i.currentDoc].imgContent[i.pageNum])}}function mG(e,t){if(1&e&&(ls(0,"ion-select-option",63),Xs(1),us()),2&e){var n=t.index,i=ks(3);as("value",n+1)("disabled",n+1===i.pageNum),Ao(1),Ks(n+1)}}var yG=function(e){return{cssClass:e}};function bG(e,t){if(1&e){var n=ps();ls(0,"section",57),ls(1,"div",58),Xs(2),us(),ls(3,"div",59),ys("click",function(e){return rn(n),ks(2).openSelect(e)}),Xs(4),Ou(5,"translate"),us(),ls(6,"ion-select",60,61),ys("ngModelChange",function(e){return rn(n),ks(2).pageNum=e})("ionChange",function(e){return rn(n),ks(2).goTo(e.target.value)}),is(8,mG,2,3,"ion-select-option",62),us(),us()}if(2&e){var i=ks(2);Ao(2),Js(" ",i.docList[i.currentDoc].title," "),Ao(2),el("",Mu(5,7,"lang.page")," ",i.pageNum," / ",i.totalPages,""),Ao(2),as("ngModel",i.pageNum)("interfaceOptions",Cu(9,yG,i.totalPages>10?"popover-class":"custom-popover-class")),Ao(2),as("ngForOf",i.pagesArray(i.totalPages))}}function wG(e,t){1&e&&(ls(0,"ion-item",64),cs(1,"ion-icon",65),ls(2,"ion-label"),Xs(3),Ou(4,"translate"),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.certifiedDocument")))}function _G(e,t){if(1&e){var n=ps();ls(0,"ion-fab-button",68),ys("click",function(){return rn(n),ks(3).prevPage()}),cs(1,"ion-icon",69),us()}}function xG(e,t){if(1&e){var n=ps();ls(0,"ion-fab-button",70),ys("click",function(){return rn(n),ks(3).nextPage()}),cs(1,"ion-icon",71),us()}}function kG(e,t){if(1&e&&(ds(0),is(1,_G,2,0,"ion-fab-button",66),is(2,xG,2,0,"ion-fab-button",67),hs()),2&e){var n=ks(2);Ao(1),as("ngIf",n.pageNum>1&&!n.loadingImage),Ao(1),as("ngIf",n.pageNum<n.totalPages&&!n.loadingImage)}}function AG(e,t){if(1&e){var n=ps();ls(0,"ion-content",null,32),is(2,hG,3,2,"ng-container",3),ls(3,"div",33),ls(4,"drag-scroll",34,35),ys("click",function(e){rn(n);var t=ks();return 0==t.currentDoc&&!t.detailMode&&t.openAction(e)}),ls(6,"div",36,37),is(8,fG,1,0,"app-document-note-list",3),is(9,pG,1,1,"app-document-sign-list",38),is(10,gG,1,1,"app-document-date-list",38),is(11,vG,2,5,"ion-img",39),us(),us(),us(),is(12,bG,9,11,"section",40),is(13,wG,5,3,"ion-item",41),is(14,kG,3,2,"ng-container",3),us()}if(2&e){var i=ks();Ao(2),as("ngIf",null!=i.mainDocument.notes||i.hasWorkflowNotes),Ao(2),Fs("max-width",i.signaturesService.workingAreaWidth,"px"),as("drag-scroll-disabled",(i.signaturesService.dragging||i.signaturesService.resizing)&&i.signaturesService.mobileMode)("drag-disabled",(i.signaturesService.dragging||i.signaturesService.resizing)&&!i.signaturesService.mobileMode),Ao(2),Fs("width",i.signaturesService.workingAreaWidth,"px")("height",i.signaturesService.workingAreaHeight,"px"),Ao(2),as("ngIf",0==i.currentDoc&&!i.loadingImage),Ao(1),as("ngIf",0===i.currentDoc&&!i.loadingImage&&i.signaturesService.signaturesContent[i.pageNum]),Ao(1),as("ngIf",0===i.currentDoc&&!i.loadingImage&&i.signaturesService.datesContent[i.pageNum]),Ao(1),as("ngIf",void 0!==i.docList[i.currentDoc]&&!i.functionsService.empty(i.docList[i.currentDoc].imgContent[i.pageNum])),Ao(1),as("ngIf",!i.signaturesService.dragging&&!i.signaturesService.resizing&&i.docList[i.currentDoc]),Ao(1),as("ngIf",i.mainDocument.isCertified),Ao(1),as("ngIf",!i.signaturesService.dragging&&!i.signaturesService.resizing&&!i.loadingImage)}}function CG(e,t){if(1&e&&cs(0,"ion-icon",76),2&e){var n=ks().$implicit;as("slot","start")("name",n.logo)}}function SG(e,t){if(1&e){var n=ps();ls(0,"ion-button",74),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).launchEvent(e)}),is(1,CG,1,2,"ion-icon",75),ls(2,"ion-label",26),Xs(3),Ou(4,"translate"),us(),us()}if(2&e){var i=t.$implicit;as("disabled",ks(2).isNotReady())("color",i.color),Ao(1),as("ngIf",""!==i.logo),Ao(2),Ks(Mu(4,4,i.label))}}function EG(e,t){if(1&e&&(ls(0,"ion-footer",72),is(1,SG,5,6,"ion-button",73),us()),2&e){var n=ks();Ao(1),as("ngForOf",n.actionsList)}}function PG(e,t){if(1&e&&cs(0,"app-visa-workflow",81),2&e){var n=ks(2);as("visaWorkflow",n.mainDocument.workflow)("userDelegated",n.userDelegated)}}function DG(e,t){if(1&e){var n=ps();ls(0,"app-document-list",82,83),ys("triggerEvent",function(e){return rn(n),ks(2).loadDoc(e)}),us()}if(2&e){var i=ks(2);as("currentDocId",i.currentDoc)("docList",i.docList)}}function OG(e,t){1&e&&cs(0,"app-associated-documents",84,85),2&e&&as("associatedDocuments",ks(2).mainDocument.linkedDocuments)}function MG(e,t){1&e&&cs(0,"app-main-document-detail",86,87),2&e&&as("mainDocument",ks(2).mainDocument)}function TG(e,t){if(1&e&&(is(0,PG,1,2,"app-visa-workflow",77),is(1,DG,2,2,"app-document-list",78),is(2,OG,2,1,"app-associated-documents",79),is(3,MG,2,1,"app-main-document-detail",80)),2&e){var n=ks();as("ngIf","visaWorkflow"==n.signaturesService.currentToobal),Ao(1),as("ngIf","documentList"==n.signaturesService.currentToobal),Ao(1),as("ngIf","associatedDocuments"==n.signaturesService.currentToobal),Ao(1),as("ngIf","mainDocumentDetail"==n.signaturesService.currentToobal)}}var IG,RG=((IG=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,w,_,x,k){S(this,e),this.translate=t,this.router=n,this.route=i,this.http=r,this.signaturesService=o,this.notificationService=a,this.cookieService=s,this.sanitizer=l,this.dialog=u,this.bottomSheet=c,this.authService=d,this.localStorage=h,this.menu=f,this.actionSheetController=p,this.loadingController=g,this.viewContainerRef=v,this.modalController=m,this.pdfViewerService=y,this.alertController=b,this.signatureMethodService=w,this.navCtrl=_,this.functionsService=x,this.actionsService=k,this.posX=0,this.posY=0,this.enterApp=!0,this.detailMode=!1,this.pageNum=1,this.signaturesContent=[],this.currentDoc=0,this.docList=[],this.actionsList=[{id:2,label:"lang.reject",color:"danger",logo:"thumbs-down-outline",event:"refuseDocument"},{id:3,label:"lang.signatures",color:"",logo:"",event:"openSignatures"},{id:1,label:"lang.validate",color:"success",logo:"thumbs-up-outline",event:"validateDocument"}],this.freezeSidenavClose=!1,this.startX=0,this.startY=0,this.widthDoc="100%",this.resetDragPos=!1,this.mainDocument={id:0,status:status,attachments:[],workflow:[]},this.loadingUI=!1,this.expandedNote=!0,this.hasWorkflowNotes=!1,this.currentTool="info",this.load=null,this.dragging=!1,this.resizing=!1,this.pdfname=null,this.loadingdocument=!0,this.loadingpdf=!1,this.loadingImage=!0,this.fileContent="",this.userDelegated=!1,this.draggable=!1}return C(e,[{key:"imageLoaded",value:function(e){this.getImageDimensions(!0),"CONVERTING"!==this.mainDocument.status&&this.load.dismiss(),this.menu.enable(!0,"right-menu"),this.loadingImage=!1,document.getElementsByClassName("drag-scroll-content")[0].scrollTop=0}},{key:"getImageDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=new Image;n.onload=function(n){e.signaturesService.workingAreaWidth=n.target.naturalWidth,e.signaturesService.workingAreaHeight=n.target.naturalHeight,t&&e.getAreaDimension()},n.src=this.docList[this.currentDoc].imgContent[this.pageNum]}},{key:"getAreaDimension",value:function(){var e=100*this.mainContent.el.offsetWidth/this.signaturesService.workingAreaWidth;this.signaturesService.workingAreaWidth=e*this.signaturesService.workingAreaWidth/100,this.signaturesService.workingAreaHeight=e*this.signaturesService.workingAreaHeight/100}},{key:"openAction",value:function(e){return qW(this,void 0,void 0,_().mark(function t(){var n,i,r=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.posX=e.clientX,this.posY=e.clientY,n=[],this.checkEmptyNote()||n.push({text:this.translate.instant("lang.cancelPreviousNote"),icon:"arrow-undo-outline",handler:function(){r.undoTag()}}),this.signaturesService.stampLock||(n.push({text:this.translate.instant("lang.affixSignature"),icon:"ribbon-outline",handler:function(){r.openSignatures()}}),n.push({text:this.translate.instant("lang.annotateDocument"),icon:"receipt-outline",handler:function(){r.openNoteEditor()}})),this.checkEmptiness()||n.push({text:this.translate.instant("lang.deleteAll"),icon:"color-wand-outline",handler:function(){r.removeTags()}}),t.next=5,this.actionSheetController.create({header:"Actions",cssClass:"my-custom-class",buttons:n});case 5:return i=t.sent,t.next=8,i.present();case 8:case"end":return t.stop()}},t,this)}))}},{key:"openSignatures",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t,n,i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:pU,cssClass:"my-custom-class",componentProps:{currentWorflow:this.mainDocument.workflow.filter(function(e){return!0===e.current})[0],content:this.fileContent}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:n=e.sent,i=n.data,this.dragging=!1,void 0!==i&&("success"===i||void 0!==i.redirectPage&&this.goTo(i.redirectPage));case 10:case"end":return e.stop()}},e,this)}))}},{key:"openNoteEditor",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:CU,cssClass:"fullscreen",componentProps:{precentScrollLeft:this.posX,precentScrollTop:this.posY,content:this.docList[this.currentDoc].imgContent[this.pageNum]}});case 2:return t=e.sent,e.next=5,t.present();case 5:return e.next=7,t.onWillDismiss();case 7:case"end":return e.stop()}},e,this)}))}},{key:"scrollToElem",value:function(){var e=this.signaturesService.signaturesContent[this.pageNum][this.signaturesService.signaturesContent[this.pageNum].length-1].positionY-75-($("#myBounds")[0].getBoundingClientRect().top-70)-$(window).height();document.getElementsByClassName("drag-scroll-content")[0].scrollTo(1e3,-e)}},{key:"ionViewWillEnter",value:function(){this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent")}},{key:"ngOnInit",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.menu.enable(!1,"right-menu"),this.menu.enable(!0,"left-menu"),this.route.params.subscribe(function(e){void 0!==e.id&&t.loadingController.create({message:t.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(n){t.load=n,t.load.present(),t.http.get("../rest/documents/"+e.id).pipe(cw(function(n){return qW(t,void 0,void 0,_().mark(function t(){var i,r,o,a=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.checkSubstitute(n.document.workflow.find(function(e){return e.current}));case 2:i=t.sent,this.mainDocument=n.document,this.mainDocument.workflow=this.mainDocument.workflow.map(function(e){return e.note&&(a.hasWorkflowNotes=!0),e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes})}),this.totalPages=this.mainDocument.pages,this.signaturesService.mainDocumentId=this.mainDocument.id,this.signaturesService.totalPage=this.mainDocument.pages,this.menu.enable(!0,"right-menu"),this.initDoc(),r=this.mainDocument.workflow.find(function(e){return!0===e.current}),this.mainDocument.isCertified=this.mainDocument.workflow.filter(function(e){return"REF"!==e.status&&"STOP"!==e.status&&"sign"===e.mode&&"stamp"!==e.signatureMode&&null!==e.processDate}).length>0,this.userDelegated=i,o=[{id:4,label:"lang.back",color:"medium",logo:"chevron-back-outline",event:"back"}],this.mainDocument.readOnly?(this.actionsList=o,this.detailMode=!0):(null==r?void 0:r.userId)!==this.authService.user.id?i||(this.actionsList=o,this.detailMode=!0):this.functionsService.empty(r)||(this.signaturesService.stampLock=this.mainDocument.isCertified&&("stamp"===r.signatureMode&&"sign"===r[0].mode||"visa"===r.mode),r.userId!==this.authService.user.id?this.http.get("../rest/users/"+r.userId+"/signatures").subscribe(function(e){a.signaturesService.signaturesListSubstituted=e.signatures}):this.signaturesService.signaturesListSubstituted=[],r.datePositions.length>0&&this.functionsService.empty(this.signaturesService.datesContent)&&r.datePositions.forEach(function(e){a.signaturesService.datesContent[e.page]||(a.signaturesService.datesContent[e.page]=[]),a.signaturesService.datesContent[e.page][0]={width:e.width,height:e.height,positionX:e.positionX,positionY:e.positionY,font:e.font,size:e.size,color:e.color,format:e.format}})),this.docList.push({id:this.mainDocument.id,title:this.mainDocument.title,pages:this.mainDocument.pages,imgContent:[],imgUrl:"../rest/documents/"+this.mainDocument.id+"/thumbnails"}),this.mainDocument.attachments.forEach(function(e){a.docList.push({id:e.id,title:e.title,pages:e.pages,imgContent:[],imgUrl:"../rest/attachments/"+e.id+"/thumbnails"})}),this.menu.enable(!0,"right-menu"),this.renderImage(),this.loadingdocument=!1,this.load.dismiss(),"CONVERTING"===this.mainDocument.status&&(this.timerSubscription=kR(0,1e4).pipe(cw(function(){a.http.get("../rest/documents/"+e.id).pipe(cw(function(e){var t;a.totalPages=e.document.pages,"CONVERTING"!==e.document.status&&(a.mainDocument.status=e.document.status,null===(t=a.timerSubscription)||void 0===t||t.unsubscribe())})).subscribe()}),Qb(function(e){return a.load.dismiss(),a.notificationService.handleErrors(e),Iy(!1)})).subscribe());case 8:case"end":return t.stop()}},t,this)}))}),Qb(function(e){return console.log("error",e),setTimeout(function(){t.load.dismiss()},200),t.notificationService.handleErrors(e),t.router.navigate(["/home"]),Iy(!1)})).subscribe()})});case 1:case"end":return e.stop()}},e,this)}))}},{key:"ngOnDestroy",value:function(){var e;null===(e=this.timerSubscription)||void 0===e||e.unsubscribe()}},{key:"checkSubstitute",value:function(e){var t=this;return!this.functionsService.empty(e)&&new Promise(function(n){t.http.get("../rest/users/"+e.userId).pipe(cw(function(e){n(e.user.substitute===t.authService.user.id)}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()})}},{key:"renderPdf",value:function(){var e=this;this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/content").subscribe(function(t){e.pdfname="data:application/pdf;base64,"+t.encodedDocument,e.loadingpdf=!0})}},{key:"onPagesLoaded",value:function(e){return qW(this,void 0,void 0,_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.totalPages=e.pagesCount,this.exportAsImage();case 1:case"end":return t.stop()}},t,this)}))}},{key:"exportAsImage",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfViewerService.getPageAsImage(this.pageNum,{width:1e3});case 2:t=e.sent,this.docList[this.currentDoc].imgContent[this.pageNum]=t,this.loadingpdf=!1,this.load.dismiss();case 4:case"end":return e.stop()}},e,this)}))}},{key:"renderImage",value:function(){var e=this;void 0===this.docList[this.currentDoc].imgContent[this.pageNum]&&(0===this.currentDoc?this.http.get("../rest/documents/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(cw(function(t){e.docList[e.currentDoc].imgContent[e.pageNum]="data:image/png;base64,"+t.fileContent,e.fileContent=t.fileContent}),Qb(function(t){return e.load.dismiss(),e.notificationService.handleErrors(t),e.router.navigate(["/home"]),Iy(!1)})).subscribe():this.http.get("../rest/attachments/"+this.docList[this.currentDoc].id+"/thumbnails/"+this.pageNum).pipe(cw(function(t){e.docList[e.currentDoc].imgContent[e.pageNum]="data:image/png;base64,"+t.fileContent}),Qb(function(t){return e.load.dismiss(),e.notificationService.handleErrors(t),e.router.navigate(["/home"]),Iy(!1)})).subscribe())}},{key:"initDoc",value:function(){this.docList=[],this.signaturesService.signaturesContent=[],this.signaturesService.notesContent=[],this.signaturesService.datesContent=[],this.signaturesService.currentToobal="mainDocumentDetail";var e=this.localStorage.get(this.mainDocument.id.toString());if(e){var t=JSON.parse(e);this.signaturesService.notesContent=void 0!==t.note?t.note:[],this.signaturesService.signaturesContent=void 0!==t.sign?t.sign:[],this.signaturesService.datesContent=void 0!==t.date?t.date:[]}this.signaturesService.currentAction=0,this.signaturesService.currentPage=1,this.pageNum=1,this.signaturesContent.currentDoc=1,this.currentDoc=0}},{key:"testDrag",value:function(e){var t=e.source.getRootElement(),n=t.getBoundingClientRect(),i=this.getPosition(t);this.signaturesService.y=n.y-i.top,this.signaturesService.x=n.x-i.left}},{key:"getPosition",value:function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-e.scrollLeft,n+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{top:n,left:t}}},{key:"zoomForNotes",value:function(){this.widthDoc="200%",this.signaturesService.scale=2,$(".example-box").css({transform:"translate3d("+this.signaturesService.x*this.signaturesService.scale+"px, "+this.signaturesService.y*this.signaturesService.scale+"px, 0px)"}),this.signaturesService.workingAreaHeight*=this.signaturesService.scale,this.signaturesService.workingAreaWidth*=this.signaturesService.scale}},{key:"zoomForView",value:function(){var e=this;this.resetDragPos=!0,this.widthDoc="100%",this.signaturesService.workingAreaHeight=this.signaturesService.workingAreaHeight/2,this.signaturesService.workingAreaWidth=this.signaturesService.workingAreaWidth/2,setTimeout(function(){e.resetDragPos=!1},200),this.signaturesService.scale=1}},{key:"prevPage",value:function(){this.loadingImage=!0,this.pageNum--,0===this.pageNum&&(this.pageNum=1),0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"nextPage",value:function(){this.loadingImage=!0,this.pageNum>=this.totalPages?this.pageNum=this.totalPages:this.pageNum++,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"goTo",value:function(e){var t=this;this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(e){t.load=e,t.load.present(),t.loadingImage=!0,t.load.dismiss()}),this.pageNum=e,0===this.currentDoc&&(this.signaturesService.currentPage=this.pageNum),this.renderImage()}},{key:"pagesArray",value:function(e){return Array(e)}},{key:"initWorkingArea",value:function(){}},{key:"refuseDocument",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t,n,i=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.translate.instant("lang.rejectDocumentWarning"),0===this.signaturesService.notesContent.length&&(t=this.translate.instant("lang.refuseDocumentWithoutNote")),e.next=4,this.alertController.create({cssClass:"custom-alert-danger",header:this.translate.instant("lang.reject"),message:t,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.reject"),handler:function(e){return qW(i,void 0,void 0,_().mark(function t(){var n,i;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.actionsService.checkGroupMail(this.mainDocument,"reject");case 2:return n=t.sent,t.next=5,this.signatureMethodService.launchDefaultMode(e.paragraph,n);case 5:i=t.sent,this.functionsService.empty(i)||(this.bottomSheet.open(EU,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()));case 7:case"end":return t.stop()}},t,this)}))}}]});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}))}},{key:"validateDocument",value:function(e){return qW(this,void 0,void 0,_().mark(function e(){var t,n,i=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.translate.instant("lang.validateDocumentWarning"),0===this.signaturesService.signaturesContent.length&&0===this.signaturesService.notesContent.length&&(t=this.translate.instant("lang.validateDocumentWithoutSignOrNote")),this.signaturesService.stampLock&&(t=this.translate.instant("lang.certifiedDocumentMsg2")),e.next=4,this.alertController.create({cssClass:"custom-alert-success",header:this.translate.instant("lang.validate"),message:t,inputs:[{name:"paragraph",id:"paragraph",type:"textarea",placeholder:this.translate.instant("lang.addReason")}],buttons:[{text:this.translate.instant("lang.validate"),handler:function(e){return qW(i,void 0,void 0,_().mark(function t(){var n,i,r;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.mainDocument.workflow.filter(function(e){return!0===e.current})[0],t.next=3,this.actionsService.checkGroupMail(this.mainDocument,"validate");case 3:return i=t.sent,t.next=6,this.signatureMethodService.checkAuthenticationAndLaunchAction(n,e.paragraph,i);case 6:r=t.sent,this.functionsService.empty(r)||(this.bottomSheet.open(ZU,{disableClose:!0,direction:"ltr"}),this.localStorage.remove(this.mainDocument.id.toString()));case 8:case"end":return t.stop()}},t,this)}))}}]});case 4:return n=e.sent,e.next=7,n.present();case 7:case"end":return e.stop()}},e,this)}))}},{key:"removeTags",value:function(){return qW(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.signaturesService.currentAction=0,e.next=3,this.alertController.create({header:this.translate.instant("lang.deleteNoteAndSignature"),buttons:[{text:this.translate.instant("lang.validate"),handler:function(){n.signaturesService.signaturesContent=[],n.signaturesService.notesContent=[],n.signaturesService.datesContent=[],n.localStorage.remove(n.mainDocument.id.toString()),n.notificationService.success("lang.noteAndSignatureDeleted")}}]});case 3:return t=e.sent,e.next=6,t.present();case 6:case"end":return e.stop()}},e,this)}))}},{key:"loadDoc",value:function(e){this.pageNum=1,this.currentDoc=e,this.totalPages=this.docList[e].pages}},{key:"launchEvent",value:function(e){this.backToDetails(),this.signaturesService.currentAction=e.id,this[e.event]()}},{key:"undoTag",value:function(){this.signaturesService.notesContent[this.pageNum]&&(this.signaturesService.notesContent[this.pageNum].pop(),this.localStorage.remove(this.mainDocument.id.toString()),this.localStorage.save(this.mainDocument.id.toString(),JSON.stringify({sign:this.signaturesService.signaturesContent,note:this.signaturesService.notesContent})),this.isEmptyNote()&&(this.signaturesService.notesContent=[]))}},{key:"checkEmptyNote",value:function(){return!this.signaturesService.notesContent[this.pageNum]||"undefined"===this.signaturesService.notesContent[this.pageNum]||0===this.signaturesService.notesContent[this.pageNum].length}},{key:"isEmptyNote",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++)if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}return e}},{key:"checkEmptiness",value:function(){for(var e=!0,t=1;t<=this.signaturesService.totalPage;t++){if(this.signaturesService.datesContent[t]&&this.signaturesService.datesContent[t].length>0){e=!1;break}if(this.signaturesService.notesContent[t]&&this.signaturesService.notesContent[t].length>0){e=!1;break}if(this.signaturesService.signaturesContent[t]&&this.signaturesService.signaturesContent[t].length>0){e=!1;break}}return e}},{key:"openVisaWorkflow",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="visaWorkflow"}},{key:"openDocumentList",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="documentList"}},{key:"openAssociatedDocuments",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="associatedDocuments"}},{key:"openMainDocumentDetail",value:function(){this.menu.open("right-menu"),this.signaturesService.currentToobal="mainDocumentDetail"}},{key:"backToDetails",value:function(){this.signaturesService.currentToobal="mainDocumentDetail"}},{key:"deleteSubstution",value:function(){var e=this;confirm(this.translate.instant("lang.deleteSubstitution")+" ?")&&this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:null}).subscribe(function(){e.authService.updateUserInfoWithTokenRefresh(),e.notificationService.success("lang.substitutionDeleted")})}},{key:"back",value:function(){this.navCtrl.back()}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent"),this.loadingController.dismiss()}},{key:"openSelect",value:function(e){this.totalPages>1&&(this.pagesList.interface="popover",this.pagesList.open(e))}},{key:"fromHex",value:function(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length;n+=2){var i=e.slice(n,n+2);t[n/2]=parseInt(i,16)}return t.buffer}},{key:"isNotReady",value:function(){return["CONVERTING","ERROR"].indexOf(this.mainDocument.status)>-1}}]),e}()).\u0275fac=function(e){return new(e||IG)(os(mP),os(Ux),os(w_),os(ub),os(OP),os(_P),os(FM),os(Gf),os(SB),os(qF),os(TP),os(MP),os(hE),os(uE),os(dE),os(cu),os(fE),os(wO),os(cE),os(YU),os(sA),os(HU),os(UU))},IG.\u0275cmp=pt({type:IG,selectors:[["app-document"]],viewQuery:function(e,t){var n;1&e&&(Xu(YW,1),Xu(ZW,1),Xu(QW,3),Xu(XW,1),Xu(KW,1),Xu(JW,1),Xu($W,3),Xu(eG,1)),2&e&&(Qu(n=Ju())&&(t.mainContent=n.first),Qu(n=Ju())&&(t.img=n.first),Qu(n=Ju())&&(t.snav=n.first),Qu(n=Ju())&&(t.dragElem=n.first),Qu(n=Ju())&&(t.appDocumentNotePad=n.first),Qu(n=Ju())&&(t.appDocumentList=n.first),Qu(n=Ju())&&(t.rightContent=n.first),Qu(n=Ju())&&(t.pagesList=n.first))},decls:8,vars:6,consts:[[3,"translucent",4,"ngIf"],["class","ion-text-center","color","primary",4,"ngIf"],["class","ion-text-center","color","danger",4,"ngIf"],[4,"ngIf"],["class","ion-no-border footer-buttons",4,"ngIf"],["rightContent",""],[3,"translucent"],["color","light"],["slot","start"],["value","favorite",3,"value","ionChange"],["value","mainDocumentDetail",3,"click"],["color","primary"],["color","primary","name","information-circle"],["value","documentList",3,"click"],["color","primary","name","document-attach-outline"],["color","danger",2,"position","absolute","top","10px","right","40%"],["value","associatedDocuments",3,"click",4,"ngIf"],["value","visaWorkflow",3,"click"],["color","primary","name","list-outline"],["slot","end",4,"ngIf"],["value","associatedDocuments",3,"click"],["color","primary","name","link-outline"],["slot","end"],["color","primary",3,"disabled","click"],["slot","icon-only","name","settings-sharp"],["color","primary",1,"ion-text-center"],[2,"font-size","13px"],["color","danger",1,"ion-text-center"],[1,"loading",2,"display","flex","height","100%"],[1,"loadingMsg"],["name","dots","color","light",2,"padding-top","6.5%"],[2,"font-size","14px","font-weight","bold"],["mainContent",""],[2,"display","contents"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-scroll-disabled","drag-disabled","click"],["nav",""],["id","myBounds",2,"position","relative","cursor","grab"],["myBounds",""],[3,"bounds",4,"ngIf"],["class","img-content",3,"src","width","height","ionImgDidLoad",4,"ngIf"],["class","page-info",4,"ngIf"],["lines","none","class","certified",4,"ngIf"],["ngDraggable","","style","top: 40px;right: 40px;z-index:2;position:absolute;",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click",4,"ngIf"],["ngDraggable","","class","note",3,"bounds","inBounds","movingOffset","endOffset",4,"ngIf"],["ngDraggable","",2,"top","40px","right","40px","z-index","2","position","absolute",3,"bounds","inBounds","title","disabled","movingOffset","endOffset","click"],["name","chatbubble-ellipses-outline"],["ngDraggable","",1,"note",3,"bounds","inBounds","movingOffset","endOffset"],[1,"note-title"],[1,"far","fa-sticky-note",2,"padding-right","5px"],[2,"flex","1"],[1,"fa","fa-minus-square",2,"cursor","pointer",3,"title","click"],[4,"ngFor","ngForOf"],[1,"note-creator"],[1,"note-content"],[3,"bounds"],[1,"img-content",3,"src","ionImgDidLoad"],["img",""],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","popover","hidden","true",2,"max-height","100%",3,"ngModel","interfaceOptions","ngModelChange","ionChange"],["pagesList",""],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["lines","none",1,"certified"],["slot","start","name","ribbon-outline","color","success"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"],[1,"ion-no-border","footer-buttons"],["shape","round","size","large","fill","outline",3,"disabled","color","click",4,"ngFor","ngForOf"],["shape","round","size","large","fill","outline",3,"disabled","color","click"],[3,"slot","name",4,"ngIf"],[3,"slot","name"],["style","display: contents;",3,"visaWorkflow","userDelegated",4,"ngIf"],["style","display: contents;",3,"currentDocId","docList","triggerEvent",4,"ngIf"],["style","display: contents;",3,"associatedDocuments",4,"ngIf"],["style","display: contents;",3,"mainDocument",4,"ngIf"],[2,"display","contents",3,"visaWorkflow","userDelegated"],[2,"display","contents",3,"currentDocId","docList","triggerEvent"],["appDocumentList",""],[2,"display","contents",3,"associatedDocuments"],["appAssociatedDocuments",""],[2,"display","contents",3,"mainDocument"],["appMainDocumentDetail",""]],template:function(e,t){1&e&&(is(0,iG,27,17,"ion-header",0),is(1,rG,4,3,"ion-toolbar",1),is(2,oG,6,3,"ion-toolbar",2),is(3,aG,4,3,"ion-toolbar",2),is(4,AG,15,16,"ion-content",3),is(5,EG,2,1,"ion-footer",4),is(6,TG,4,4,"ng-template",null,5,nc)),2&e&&(as("ngIf",!t.loadingdocument),Ao(1),as("ngIf",null!==t.authService.user.substitute&&t.docList[t.currentDoc]),Ao(1),as("ngIf",0!==t.mainDocument.id&&"CONVERTING"===t.mainDocument.status),Ao(1),as("ngIf",0!==t.mainDocument.id&&"ERROR"===t.mainDocument.status),Ao(1),as("ngIf",!t.loadingdocument),Ao(1),as("ngIf",!t.loadingImage&&0===t.currentDoc))},directives:[yh,JC,TS,BC,hS,xS,nA,kS,lS,$C,LC,FC,PS,GC,CM,ZC,DM,vh,KU,iW,pW,eS,AS,fm,Zm,CS,rS,XC,FW,NU,VW,GW],pipes:[yP,KM],styles:[".enterApp[_ngcontent-%COMP%]{position:fixed;height:100vh;width:100vw;background-color:#135f7f;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px}.mainView[_ngcontent-%COMP%]{height:100%;width:auto;display:flex;flex-direction:column;overflow:hidden}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:70px;width:auto}.header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:auto;width:auto;font-size:40px}.article[_ngcontent-%COMP%]{display:flex;justify-content:center;overflow:hidden;flex:1;top:0;left:0}.canvas-wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:120px}canvas[_ngcontent-%COMP%]{margin:0 auto;display:block}.header[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:80px;align-items:center;padding:0}.header[_ngcontent-%COMP%], .header-action[_ngcontent-%COMP%]{display:flex;justify-content:center}.header-action[_ngcontent-%COMP%]{color:#135f7f}.header-action-button[_ngcontent-%COMP%]{white-space:normal;word-break:break-word;width:135px!important}.header-infos[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:5px;display:flex;justify-content:space-between;align-items:flex-start;width:100%;padding-top:12px;padding-bottom:7px;position:relative;overflow-y:hidden;overflow-x:auto}.header-info[_ngcontent-%COMP%]{border-right:1px solid #979797;width:200px;height:60px;font-size:12px;padding-left:20px}.header-info[_ngcontent-%COMP%]:last-of-type{border:none}.header-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0}.header-expand[_ngcontent-%COMP%]{width:70%;position:absolute;left:50%;transform:translateX(-50%);top:25px;border:1px solid #f1f4f4}.header-expand[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{padding-top:10px}.header-expand[_ngcontent-%COMP%] .mat-expansion-panel{box-shadow:none}.header-expand[_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f}.header-expand[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.header-expand-content[_ngcontent-%COMP%]{width:33%;display:inline-block}.header-expand-content[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-overflow:ellipsis}.header-expand-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.header-expand[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled{opacity:1;color:#666}.header-expand[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{flex:1;font-size:12px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.btn-next[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;right:25px;top:50%;cursor:pointer;z-index:1}.btn-next.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.btn-previous[_ngcontent-%COMP%]{color:#666;background:hsla(0,0%,77.6%,.5019607843137255);border-radius:20px;padding:10px;border:none;outline:none;position:absolute;left:25px;top:50%;cursor:pointer;z-index:1}.btn-previous.disabled[_ngcontent-%COMP%], button.disabled[_ngcontent-%COMP%]{cursor:not-allowed}.overlay[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.5)}.pdf-page-canvas[_ngcontent-%COMP%]{opacity:1;transition:opacity .5s ease-in}.pdf-page-canvas-loading-doc[_ngcontent-%COMP%]{opacity:0}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leftPosDesk[_ngcontent-%COMP%]{left:25%!important}.mat-badge-content[_ngcontent-%COMP%]{background:#e74c3c}.substutionModal[_ngcontent-%COMP%]{color:#fff;background:#135f7f}.substutionModal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:10px}.substutionModal[_ngcontent-%COMP%] .msgModal[_ngcontent-%COMP%]{text-align:center;flex:1}.substitutedInformations[_ngcontent-%COMP%]{top:85px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis;background:#135f7f;color:#fff;font-size:13px;text-align:center}.note[_ngcontent-%COMP%]{top:40px;right:40px;z-index:2;cursor:-webkit-grab;cursor:grab;position:absolute;background-color:#fff8bb;width:300px;max-height:400px;overflow:auto;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.note-title[_ngcontent-%COMP%]{background-color:#fff8bb;position:sticky;top:0;display:flex;align-items:center;font-weight:700}.note-creator[_ngcontent-%COMP%], .note-title[_ngcontent-%COMP%]{padding:10px;color:#135f7f}.note-creator[_ngcontent-%COMP%]{font-size:12px;text-decoration:underline}.note-content[_ngcontent-%COMP%]{padding:0 10px 10px;color:#4f4f4f}.footer-buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.footer-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{margin:auto;width:150px}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.certified[_ngcontent-%COMP%]{position:absolute;top:10px;left:10px;border:1px solid var(--ion-color-success);color:var(--ion-color-success)} .popover-class .popover-content{height:50%;top:50px} .custom-popover-class .popover-class{height:10%;top:50px}.loading[_ngcontent-%COMP%]{display:flex;position:absolute;justify-content:center;top:0;left:0;width:100%;height:100%;z-index:2;overflow:hidden}.loadingMsg[_ngcontent-%COMP%]{padding:2%;color:var(--ion-color-light);font-weight:700;margin-right:-5px}"]}),IG),LG=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function FG(e,t){1&e&&(ls(0,"a",13),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.forgotPassword")))}function BG(e,t){1&e&&(ls(0,"a",14),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.ldapEnabled")))}function zG(e,t){1&e&&(ls(0,"a",14),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.kerberosEnabled")))}function VG(e,t){1&e&&(ls(0,"a",14),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.x509Enabled")))}function NG(e,t){if(1&e&&(ls(0,"a",15),Ou(1,"translate"),Xs(2),us()),2&e){var n=ks();Ds("href","",Mu(1,3,"lang.repoUrl"),"/commit/",n.commitHash,"",Sr),Ao(2),Ks(n.commitHash.substring(0,8))}}var HG,jG,UG=((jG=function(){function e(t,n,i,r,o,a,s,l,u,c){S(this,e),this.http=t,this.router=n,this.authService=i,this.signaturesService=r,this.notificationService=o,this.dialog=a,this.formBuilder=s,this.loadingController=l,this.translate=u,this.menu=c,this.loading=!1,this.showForm=!1,this.commitHash=null}return C(e,[{key:"ngOnInit",value:function(){return LG(this,void 0,void 0,_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loginForm=this.formBuilder.group({login:[null,Hv.required],password:[null,Hv.required]}),this.environment=nd,this.signaturesService.reset(),e.next=5,this.loadCommitInformation();case 5:case"end":return e.stop()}},e,this)}))}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}},{key:"ngAfterViewInit",value:function(){var e=this;setTimeout(function(){e.showForm=!0,e.fixAutoFill(),e.initConnection()},500)}},{key:"fixAutoFill",value:function(){var e=this;setTimeout(function(){e.loginForm.get("login").setValue($("#login").val()),e.loginForm.get("password").setValue($("#password").val())},100)}},{key:"onSubmit",value:function(){return LG(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadingController.create({cssClass:"my-custom-class",message:this.translate.instant("lang.connexion")});case 2:return t=e.sent,e.next=5,t.present();case 5:this.authService.authFailed=!1,this.loginForm.invalid?(t.dismiss(),this.notificationService.error("lang.requiredLoginPassword")):this.http.post("../rest/authenticate",{login:this.loginForm.get("login").value,password:this.loginForm.get("password").value},{observe:"response"}).pipe(cw(function(e){n.loading=!1,n.showForm=!1,n.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),n.authService.setUser({}),n.authService.getCachedUrl()?(n.router.navigateByUrl(n.authService.getCachedUrl()),n.authService.cleanCachedUrl()):n.router.navigate(["/home"]),t.dismiss()}),Qb(function(e){return n.loading=!1,n.authService.authFailed=!0,401===e.status&&-1===["kerberos","x509","azure_saml"].indexOf(n.authService.authMode)?(n.notificationService.error("lang.wrongLoginPassword"),t.dismiss()):"azure_saml"===n.authService.authMode&&"Authentication Failed : not logged"===e.error.errors?(t.dismiss(),window.location.href=e.error.authUri):(t.dismiss(),n.notificationService.handleErrors(e)),Iy(!1)})).subscribe();case 7:case"end":return e.stop()}},e,this)}))}},{key:"initConnection",value:function(){["kerberos","x509","azure_saml"].indexOf(this.authService.authMode)>-1&&(this.loginForm.disable(),this.loginForm.setValidators(null),this.onSubmit())}},{key:"loadCommitInformation",value:function(){var e=this;return new Promise(function(t){e.http.get("../rest/commitInformation").pipe(cw(function(n){e.commitHash=n.hash,t(!0)}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()})}}]),e}()).\u0275fac=function(e){return new(e||jG)(os(ub),os(Ux),os(TP),os(OP),os(_P),os(SB),os(Ty),os(dE),os(mP),os(hE))},jG.\u0275cmp=pt({type:jG,selectors:[["ng-component"]],decls:27,vars:18,consts:[[1,"login-content"],["svgIcon","maarchLogo",1,"maarchLogo"],[2,"width","400px","position","absolute","left","50%","top","50%","transform","translate(-50%,-50%)"],[3,"formGroup","ngSubmit"],["position","floating"],["formControlName","login","type","text",3,"keyup.enter"],["name","password","matInput","","type","password","formControlName","password",3,"keyup.enter"],[1,"connection-type"],["routerLink","/forgot-password","class","forgot-password",4,"ngIf"],["href","","class","forgot-password",4,"ngIf"],["type","submit","expand","block",3,"disabled"],[1,"version-info"],["style","color: white","target","blank",3,"href",4,"ngIf"],["routerLink","/forgot-password",1,"forgot-password"],["href","",1,"forgot-password"],["target","blank",2,"color","white",3,"href"]],template:function(e,t){1&e&&(ls(0,"ion-content",0),cs(1,"mat-icon",1),ls(2,"ion-card",2),ls(3,"ion-card-content"),ls(4,"form",3),ys("ngSubmit",function(){return t.onSubmit()}),ls(5,"ion-item"),ls(6,"ion-label",4),Xs(7),Ou(8,"translate"),us(),ls(9,"ion-input",5),ys("keyup.enter",function(){return t.onSubmit()}),us(),us(),ls(10,"ion-item"),ls(11,"ion-label",4),Xs(12),Ou(13,"translate"),us(),ls(14,"ion-input",6),ys("keyup.enter",function(){return t.onSubmit()}),us(),us(),ls(15,"div",7),is(16,FG,3,3,"a",8),is(17,BG,3,3,"a",9),is(18,zG,3,3,"a",9),is(19,VG,3,3,"a",9),us(),ls(20,"ion-button",10),Xs(21),Ou(22,"translate"),us(),us(),us(),us(),ls(23,"ion-note",11),Xs(24),is(25,NG,3,5,"a",12),Xs(26),us(),us()),2&e&&(Ao(4),as("formGroup",t.loginForm),Ao(3),Ks(Mu(8,12,"lang.login")),Ao(5),Ks(Mu(13,14,"lang.password")),Ao(4),as("ngIf","default"===t.authService.authMode),Ao(1),as("ngIf","ldap"===t.authService.authMode),Ao(1),as("ngIf","kerberos"===t.authService.authMode),Ao(1),as("ngIf","x509"===t.authService.authMode),Ao(1),as("disabled",t.loginForm.invalid||t.loading),Ao(1),Js(" ",Mu(22,16,"lang.connect")," "),Ao(3),Js(" Maarch Parapheur ",t.environment.VERSION," "),Ao(1),as("ngIf",null!==t.commitHash),Ao(1),Js(" Powered by ",t.environment.AUTHOR," "))},directives:[GC,ez,zC,VC,Qm,pm,ty,rS,lS,iS,iA,fm,iy,yh,FC,pS,Gx,nE],pipes:[yP],styles:[".version-info[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;top:10%;left:50%;transform:translateX(-50%);width:250px;height:auto;padding-bottom:10px}.login-content[_ngcontent-%COMP%]{--background:var(--ion-color-primary)}.forgot-password[_ngcontent-%COMP%]{display:block;text-align:right}.connection-type[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]}),jG),WG=((HG=function(){function e(t,n,i,r,o){S(this,e),this.router=t,this.http=n,this.notificationService=o,this.loadingForm=!1,this.loading=!1,this.newLogin={login:"",password:""},this.labelButton="lang.send",this.appVersion="",this.appAuthor="",i.addSvgIcon("maarchLogo",r.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg"))}return C(e,[{key:"ngOnInit",value:function(){}},{key:"generateLink",value:function(){var e=this;this.labelButton="lang.generation",this.loading=!0,this.http.post("../rest/password",{login:this.newLogin.login}).pipe(fw(function(){e.labelButton="lang.send",e.loading=!1})).subscribe(function(t){e.loadingForm=!0,e.notificationService.success("lang.requestSentByEmail"),e.router.navigate(["/login"])},function(t){e.notificationService.handleErrors(t)})}}]),e}()).\u0275fac=function(e){return new(e||HG)(os(Ux),os(ub),os(NB),os(Gf),os(_P))},HG.\u0275cmp=pt({type:HG,selectors:[["ng-component"]],decls:28,vars:15,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","floating"],["name","login","matInput","","type","text","oninput","this.value = this.value.toLowerCase()",3,"ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"ion-content",null,3),ls(9,"form",4,5),ys("ngSubmit",function(){return t.generateLink()}),ls(11,"ion-grid"),ls(12,"ion-row"),ls(13,"ion-col",6),ls(14,"ion-card",7),cs(15,"ion-card-content",8),Ou(16,"translate"),us(),ls(17,"ion-item"),ls(18,"ion-label",9),Xs(19),Ou(20,"translate"),us(),ls(21,"ion-input",10),ys("ngModelChange",function(e){return t.newLogin.login=e}),us(),us(),us(),us(),us(),ls(22,"ion-item",11),ls(23,"div",12),ls(24,"ion-button",13),ls(25,"ion-label",14),Xs(26),Ou(27,"translate"),us(),us(),us(),us(),us(),us()),2&e&&(as("translucent",!0),Ao(5),Ks(Mu(6,7,"lang.forgotPassword")),Ao(10),as("innerHTML",Mu(16,9,"lang.afterClickingSendLinkChangePassword"),Cr),Ao(4),Js("",Mu(20,11,"lang.enterLogin")," *"),Ao(2),as("ngModel",t.newLogin.login),Ao(3),as("disabled",""==t.newLogin.login||t.loading),Ao(2),Ks(Mu(27,13,t.labelButton)))},directives:[JC,TS,BC,RC,tE,OS,GC,Qm,pm,Gm,KC,wS,WC,zC,VC,rS,lS,iS,iA,fm,Zm,FC],pipes:[yP],styles:[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-200px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]}),HG);function GG(e,t){if(1&e&&(ls(0,"ion-note",22),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks();Ao(1),Js(" ",Mu(2,1,n.handlePassword.errorMsg),"")}}function qG(e,t){1&e&&(ls(0,"ion-note",23),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.samePassword"),""))}function YG(e,t){1&e&&(ls(0,"ion-note",22),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.passwordNotMatch"),""))}var ZG,QG,XG=((QG=function(){function e(t,n,i,r,o,a,s,l){var u=this;S(this,e),this.translate=t,this.router=n,this.route=i,this.http=r,this.notificationService=s,this.menu=l,this.loadingForm=!1,this.loading=!1,this.token="",this.password={newPassword:"",passwordConfirmation:""},this.labelButton="lang.update",this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.handlePassword={error:!1,errorMsg:""},this.ruleText="",this.otherRuleText="",o.addSvgIcon("maarchLogo",a.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.route.queryParams.subscribe(function(e){u.token=e.token})}return C(e,[{key:"ngOnInit",value:function(){this.getPassRules()}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!1,"left-menu"),this.menu.enable(!1,"right-menu")}},{key:"updatePassword",value:function(){var e=this;this.labelButton="lang.sending",this.loading=!0,this.http.put("../rest/password",{token:this.token,password:this.password.newPassword}).pipe(fw(function(){e.labelButton="lang.update",e.loading=!1})).subscribe(function(t){e.loadingForm=!0,e.notificationService.success("lang.passwordChanged"),e.router.navigate(["/login"])},function(t){e.notificationService.handleErrors(t)})}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"getPassRules",value:function(){var e=this;this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[];t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&e.translate.get("lang.minLengthChar",{charLength:t.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&n.push("lang.upperRequired")):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&n.push("lang.specialCharRequired")):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&e.translate.get("lang.renewalInfo",{time:t.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&e.translate.get("lang.historyUseInfo",{countPwd:t.value}).subscribe(function(e){i.push(e)}))}),e.ruleText=n.join(", "),e.otherRuleText=i.join("<br/>")},function(t){e.notificationService.handleErrors(t)})}},{key:"allowValidate",value:function(){return!(!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}}]),e}()).\u0275fac=function(e){return new(e||QG)(os(mP),os(Ux),os(w_),os(ub),os(NB),os(Gf),os(_P),os(hE))},QG.\u0275cmp=pt({type:QG,selectors:[["ng-component"]],decls:47,vars:35,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],["id","passForm",2,"display","contents",3,"ngSubmit"],["passForm","ngForm"],["offset","3","size","6"],[1,"info"],[3,"innerHTML"],["color","secondary","position","stacked"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","medium","routerLink","/login"],["color","danger"],["color","success"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"ion-content",null,3),ls(9,"form",4,5),ys("ngSubmit",function(){return t.updatePassword()}),ls(11,"ion-grid"),ls(12,"ion-row"),ls(13,"ion-col",6),ls(14,"ion-card",7),cs(15,"ion-card-content",8),Ou(16,"translate"),us(),ls(17,"ion-item"),ls(18,"ion-label",9),Xs(19),Ou(20,"translate"),us(),ls(21,"ion-input",10),ys("ngModelChange",function(e){return t.password.newPassword=e})("keyup",function(){return t.checkPasswordValidity(t.password.newPassword)}),Ou(22,"translate"),us(),ls(23,"ion-button",11),ys("click",function(){return t.hideNewPassword=!t.hideNewPassword}),cs(24,"ion-icon",12),us(),is(25,GG,3,3,"ion-note",13),us(),ls(26,"ion-item"),ls(27,"ion-label",9),Xs(28),Ou(29,"translate"),us(),ls(30,"ion-input",14),ys("ngModelChange",function(e){return t.password.passwordConfirmation=e}),Ou(31,"translate"),us(),ls(32,"ion-button",11),ys("click",function(){return t.hideNewPasswordConfirm=!t.hideNewPasswordConfirm}),cs(33,"ion-icon",12),us(),us(),ls(34,"ion-item",15),is(35,qG,3,3,"ion-note",16),is(36,YG,3,3,"ion-note",13),us(),us(),us(),us(),ls(37,"ion-item",17),ls(38,"div",18),ls(39,"ion-button",19),ls(40,"ion-label",20),Xs(41),Ou(42,"translate"),us(),us(),ls(43,"ion-button",21),ls(44,"ion-label",20),Xs(45),Ou(46,"translate"),us(),us(),us(),us(),us(),us()),2&e&&(as("translucent",!0),Ao(5),Ks(Mu(6,19,"lang.newPassword")),Ao(10),as("innerHTML",Mu(16,21,"lang.logInOncePasswordChanged"),Cr),Ao(4),Ks(Mu(20,23,"lang.newPassword")),Ao(2),Es("placeholder",Mu(22,25,"lang.newPassword")),as("ngModel",t.password.newPassword)("type",t.hideNewPassword?"password":"text"),Ao(3),as("name",t.hideNewPassword?"eye-outline":"eye-off-outline"),Ao(1),as("ngIf",t.handlePassword.error),Ao(3),Js("",Mu(29,27,"lang.passwordConfirmation")," "),Ao(2),Es("placeholder",Mu(31,29,"lang.passwordConfirmation")),as("ngModel",t.password.passwordConfirmation)("type",t.hideNewPasswordConfirm?"password":"text"),Ao(3),as("name",t.hideNewPasswordConfirm?"eye-outline":"eye-off-outline"),Ao(2),as("ngIf",t.password.passwordConfirmation===t.password.newPassword&&t.password.newPassword.length>0&&t.password.passwordConfirmation.length>0),Ao(1),as("ngIf",t.password.passwordConfirmation!==t.password.newPassword),Ao(3),as("disabled",t.allowValidate()||t.loading),Ao(2),Ks(Mu(42,31,t.labelButton)),Ao(4),Ks(Mu(46,33,"lang.cancel")))},directives:[JC,TS,BC,RC,tE,OS,GC,Qm,pm,Gm,KC,wS,WC,zC,VC,rS,lS,iS,iA,fm,Zm,FC,$C,yh,nE,Wx,pS],pipes:[yP],styles:[".login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;transform:translateY(-230px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}"]}),QG),KG=((ZG=function(){function e(t,n,i,r){S(this,e),this.http=t,this.translate=n,this.notify=i,this.signaturesService=r,this.loading=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0},lockTime:{enabled:!1,value:0},lockAttempts:{enabled:!1,value:0}},this.passwordRulesClone={},this.passwordRulesList=[]}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.http.get("../rest/passwordRules").subscribe(function(t){e.passwordRulesList=t.rules,t.rules.forEach(function(t){e.passwordRules[t.label].enabled=t.enabled,e.passwordRules[t.label].value=t.value,e.passwordRules[t.label].label=e.translate.instant("lang.password_"+t.label+"Required"),e.passwordRules[t.label].id=t.label,e.loading=!1}),e.passwordRulesClone=JSON.parse(JSON.stringify(e.passwordRules))},function(t){e.notify.error(t.error.errors)})}},{key:"cancelModification",value:function(){var e=this;this.passwordRules=JSON.parse(JSON.stringify(this.passwordRulesClone)),this.passwordRulesList.forEach(function(t){t.enabled=e.passwordRules[t.label].enabled,t.value=e.passwordRules[t.label].value})}},{key:"checkModif",value:function(){return JSON.stringify(this.passwordRules)===JSON.stringify(this.passwordRulesClone)}},{key:"disabledForm",value:function(){return!(this.passwordRules.lockTime.enabled||this.passwordRules.minLength.enabled||this.passwordRules.lockAttempts.enabled||this.passwordRules.renewal.enabled||this.passwordRules.historyLastUse.enabled)}},{key:"toggleRule",value:function(e){var t=this;this.passwordRulesList.forEach(function(n){"lockAttempts"!==e.id||"lockTime"!==n.label&&"lockAttempts"!==n.label?e.id===n.label&&(n.enabled=e.enabled):(n.enabled=e.enabled,t.passwordRules.lockTime.enabled=e.enabled)})}},{key:"onSubmit",value:function(){var e=this;this.passwordRulesList.forEach(function(t){t.enabled=e.passwordRules[t.label].enabled,t.value=e.passwordRules[t.label].value}),this.http.put("../rest/passwordRules",{rules:this.passwordRulesList}).subscribe(function(){e.passwordRulesClone=JSON.parse(JSON.stringify(e.passwordRules)),e.notify.success("lang.passwordRulesUpdated")},function(t){e.notify.error(t.error.errors)})}}]),e}()).\u0275fac=function(e){return new(e||ZG)(os(ub),os(mP),os(_P),os(OP))},ZG.\u0275cmp=pt({type:ZG,selectors:[["ng-component"]],decls:69,vars:49,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["id","passwordForm",2,"display","contents",3,"ngSubmit"],["passwordForm","ngForm"],["color","secondary"],["slot","start","name","complexityUpper",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexityNumber",3,"ngModel","checked","ngModelChange"],["slot","start","name","complexitySpecial",3,"ngModel","checked","ngModelChange"],["slot","start","name","minLengthToggle",3,"ngModel","checked","ngModelChange"],["color","secondary","position","floating"],["name","minLength","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","end"],["slot","start","name","lockAttemptsToggle",3,"ngModel","checked","ngModelChange"],["name","lockAttempts","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["name","lockTime","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","renewalToggle",3,"ngModel","checked","ngModelChange"],["name","renewal","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["slot","start","name","historyLastUseToggle",3,"ngModel","checked","ngModelChange"],["name","historyLastUse","min","1","pattern","^[1-9][0-9]*",3,"disabled","ngModel","ngModelChange"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"]],template:function(e,t){if(1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),us(),us(),us(),ls(8,"form",4,5),ys("ngSubmit",function(){return t.onSubmit()}),ls(10,"ion-content"),ls(11,"ion-row"),ls(12,"ion-col"),ls(13,"ion-item"),ls(14,"ion-label",6),Xs(15),us(),ls(16,"ion-toggle",7),ys("ngModelChange",function(e){return t.passwordRules.complexityUpper.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityUpper)}),us(),us(),us(),ls(17,"ion-col"),ls(18,"ion-item"),ls(19,"ion-label",6),Xs(20),us(),ls(21,"ion-toggle",8),ys("ngModelChange",function(e){return t.passwordRules.complexityNumber.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexityNumber)}),us(),us(),us(),ls(22,"ion-col"),ls(23,"ion-item"),ls(24,"ion-label",6),Xs(25),us(),ls(26,"ion-toggle",9),ys("ngModelChange",function(e){return t.passwordRules.complexitySpecial.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.complexitySpecial)}),us(),us(),us(),us(),ls(27,"ion-item"),ls(28,"ion-toggle",10),ys("ngModelChange",function(e){return t.passwordRules.minLength.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.minLength)}),us(),ls(29,"ion-label",11),Xs(30),us(),ls(31,"ion-input",12),ys("ngModelChange",function(e){return t.passwordRules.minLength.value=e}),us(),ls(32,"ion-note",13),Xs(33),Ou(34,"translate"),us(),us(),ls(35,"ion-row"),ls(36,"ion-col"),ls(37,"ion-item"),ls(38,"ion-toggle",14),ys("ngModelChange",function(e){return t.passwordRules.lockAttempts.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.lockAttempts)}),us(),ls(39,"ion-label",11),Xs(40),us(),ls(41,"ion-input",15),ys("ngModelChange",function(e){return t.passwordRules.lockAttempts.value=e}),us(),us(),us(),ls(42,"ion-col"),ls(43,"ion-item"),ls(44,"ion-label",11),Xs(45),us(),ls(46,"ion-input",16),ys("ngModelChange",function(e){return t.passwordRules.lockTime.value=e}),us(),ls(47,"ion-note",13),Xs(48),Ou(49,"translate"),us(),us(),us(),us(),ls(50,"ion-item"),ls(51,"ion-toggle",17),ys("ngModelChange",function(e){return t.passwordRules.renewal.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.renewal)}),us(),ls(52,"ion-label",11),Xs(53),us(),ls(54,"ion-input",18),ys("ngModelChange",function(e){return t.passwordRules.renewal.value=e}),us(),ls(55,"ion-note",13),Xs(56),Ou(57,"translate"),us(),us(),ls(58,"ion-item"),ls(59,"ion-toggle",19),ys("ngModelChange",function(e){return t.passwordRules.historyLastUse.enabled=e})("ngModelChange",function(){return t.toggleRule(t.passwordRules.historyLastUse)}),us(),ls(60,"ion-label",11),Xs(61),us(),ls(62,"ion-input",20),ys("ngModelChange",function(e){return t.passwordRules.historyLastUse.value=e}),us(),us(),ls(63,"ion-item",21),ls(64,"div",22),ls(65,"ion-button",23),ls(66,"ion-label",24),Xs(67),Ou(68,"translate"),us(),us(),us(),us(),us(),us()),2&e){var n=rs(9);as("translucent",!0),Ao(6),Ks(Mu(7,39,"lang.manage_password_rules")),Ao(9),Ks(t.passwordRules.complexityUpper.label),Ao(1),as("ngModel",t.passwordRules.complexityUpper.enabled)("checked",t.passwordRules.complexityUpper.enabled),Ao(4),Ks(t.passwordRules.complexityNumber.label),Ao(1),as("ngModel",t.passwordRules.complexityNumber.enabled)("checked",t.passwordRules.complexityNumber.enabled),Ao(4),Ks(t.passwordRules.complexitySpecial.label),Ao(1),as("ngModel",t.passwordRules.complexitySpecial.enabled)("checked",t.passwordRules.complexitySpecial.enabled),Ao(2),as("ngModel",t.passwordRules.minLength.enabled)("checked",t.passwordRules.minLength.enabled),Ao(2),Ks(t.passwordRules.minLength.label),Ao(1),as("disabled",!t.passwordRules.minLength.enabled)("ngModel",t.passwordRules.minLength.value),Ao(2),Ks(Mu(34,41,"lang.chars")),Ao(5),as("ngModel",t.passwordRules.lockAttempts.enabled)("checked",t.passwordRules.lockAttempts.enabled),Ao(2),Ks(t.passwordRules.lockAttempts.label),Ao(1),as("disabled",!t.passwordRules.lockAttempts.enabled)("ngModel",t.passwordRules.lockAttempts.value),Ao(4),Ks(t.passwordRules.lockTime.label),Ao(1),as("disabled",!t.passwordRules.lockTime.enabled)("ngModel",t.passwordRules.lockTime.value),Ao(2),Ks(Mu(49,43,"lang.minutes")),Ao(3),as("ngModel",t.passwordRules.renewal.enabled)("checked",t.passwordRules.renewal.enabled),Ao(2),Ks(t.passwordRules.renewal.label),Ao(1),as("disabled",!t.passwordRules.renewal.enabled)("ngModel",t.passwordRules.renewal.value),Ao(2),Ks(Mu(57,45,"lang.days")),Ao(3),as("ngModel",t.passwordRules.historyLastUse.enabled)("checked",t.passwordRules.historyLastUse.enabled),Ao(2),Ks(t.passwordRules.historyLastUse.label),Ao(1),as("disabled",!t.passwordRules.historyLastUse.enabled)("ngModel",t.passwordRules.historyLastUse.value),Ao(3),as("disabled",!n.valid&&!t.disabledForm()||t.checkModif()),Ao(2),Ks(Mu(68,47,"lang.validate"))}},directives:[JC,TS,BC,hS,RC,tE,OS,Qm,pm,Gm,GC,wS,WC,rS,lS,MS,$k,fm,Zm,iS,iA,Py,pS,FC],pipes:[yP],encapsulation:2}),ZG);function JG(e,t){1&e&&(ls(0,"ion-note",17),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.requiredField")))}function $G(e,t){1&e&&(ls(0,"ion-item",26),cs(1,"ion-icon",27),ls(2,"ion-label",28),Xs(3),Ou(4,"translate"),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.passwordValid")))}function eq(e,t){1&e&&(ls(0,"ion-item",26),cs(1,"ion-icon",27),ls(2,"ion-label",28),Xs(3),Ou(4,"translate"),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.passwordMatch")))}function tq(e,t){1&e&&cs(0,"ion-item",29),2&e&&as("innerHTML",ks().otherRuleText,Cr)}var nq,iq=((nq=function(){function e(t,n,i,r,o,a,s){S(this,e),this.http=t,this.notify=n,this._formBuilder=i,this.translate=r,this.signaturesService=o,this.authService=a,this.router=s,this.config={},this.loading=!1,this.user={},this.ruleText="",this.hidePassword=!0,this.validPassword=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.user=JSON.parse(atob(this.authService.getToken().split(".")[1])).user}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[],r=[];n.push(Hv.required),t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&(n.push(Hv.minLength(e.passwordRules.minLength.value)),i.push(t.value+" "+e.translate.instant("lang.password_"+t.label)))):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&(n.push(e.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),i.push(e.translate.instant("lang.password_"+t.label)))):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&r.push(e.translate.instant("lang.password_"+t.label)+" <b>"+t.value+" "+e.translate.instant("lang.days")+"</b>. "+e.translate.instant("lang.password2_"+t.label)+".")):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&r.push(e.translate.instant("lang.password_historyLastUseDesc")+" <b>"+t.value+"</b> "+e.translate.instant("lang.password_historyLastUseDesc2")+"."))}),e.ruleText=i.join(", "),e.otherRuleText=r.join("<br/>"),e.firstFormGroup.controls.newPasswordCtrl.setValidators(n)},function(t){e.notify.error(t.error.errors)}),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",Hv.compose([Hv.required])],currentPasswordCtrl:["",Hv.compose([Hv.required])]},{validator:this.matchValidator})}},{key:"regexValidator",value:function(e,t){return function(n){return n.value?e.test(n.value)?null:t:null}}},{key:"matchValidator",value:function(e){return e.controls.newPasswordCtrl.value!==e.controls.retypePasswordCtrl.value&&(e.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})}},{key:"getErrorMessage",value:function(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!==this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.translate.instant("lang.requiredField")+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.translate.instant("lang.password_minLength")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.translate.instant("lang.password_complexityUpper")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.translate.instant("lang.password_complexityNumber")+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.translate.instant("lang.password_complexitySpecial")+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")}},{key:"onSubmit",value:function(){var e=this;this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.passwordConfirmation=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../rest/users/"+this.user.id+"/password",this.passwordModel).subscribe(function(){e.notify.success(e.translate.instant("lang.passwordChanged")),void 0===e.authService.user.picture&&e.http.get("../rest/users/"+e.authService.user.id+"/picture").subscribe(function(t){e.authService.user.picture=t.picture}),e.router.navigate(["/home"])},function(t){e.notify.handleErrors(t)})}},{key:"logout",value:function(){this.authService.logout()}}]),e}()).\u0275fac=function(e){return new(e||nq)(os(ub),os(_P),os(Ty),os(mP),os(OP),os(TP),os(Ux))},nq.\u0275cmp=pt({type:nq,selectors:[["ng-component"]],decls:68,vars:53,consts:[[3,"translucent"],["color","primary"],["slot","start"],["mainContent",""],[2,"display","contents",3,"formGroup","ngSubmit"],["offset","3","size","6"],[1,"info"],["color","secondary","position","stacked"],["formControlName","currentPasswordCtrl","required","",3,"placeholder","type"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["color","danger",4,"ngIf"],["lines","full"],["color","dark"],["formControlName","newPasswordCtrl","required","",3,"placeholder","type"],["inputPasswd",""],["lines","none",4,"ngIf"],["color","danger"],["required","","formControlName","retypePasswordCtrl",3,"placeholder","type"],["inputPasswd2",""],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary",3,"disabled"],[2,"font-size","13px"],["type","button","shape","round","size","large","fill","outline","color","default",3,"click"],["color","warning","class","alert-warning","role","alert",3,"innerHTML",4,"ngIf"],["lines","none"],["slot","start","color","success","name","checkmark-outline"],["color","success"],["color","warning","role","alert",1,"alert-warning",3,"innerHTML"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),cs(2,"ion-buttons",2),ls(3,"ion-title"),Xs(4),Ou(5,"translate"),us(),us(),us(),ls(6,"ion-content",null,3),ls(8,"form",4),ys("ngSubmit",function(){return t.onSubmit()}),ls(9,"ion-grid"),ls(10,"ion-row"),ls(11,"ion-col",5),ls(12,"ion-card",6),ls(13,"ion-card-content"),Xs(14),Ou(15,"translate"),ls(16,"b"),Xs(17),us(),Xs(18),Ou(19,"translate"),us(),us(),ls(20,"ion-item"),ls(21,"ion-label",7),Xs(22),Ou(23,"translate"),us(),cs(24,"ion-input",8),Ou(25,"translate"),ls(26,"ion-button",9),ys("click",function(){return t.hidePassword=!t.hidePassword}),cs(27,"ion-icon",10),us(),is(28,JG,3,3,"ion-note",11),us(),ls(29,"ion-list-header",12),ls(30,"ion-label",13),Xs(31),us(),us(),ls(32,"ion-item"),ls(33,"ion-label",7),Xs(34),Ou(35,"translate"),us(),cs(36,"ion-input",14,15),Ou(38,"translate"),ls(39,"ion-button",9),ys("click",function(){return t.hidePassword=!t.hidePassword}),cs(40,"ion-icon",10),us(),is(41,$G,5,3,"ion-item",16),ls(42,"ion-note",17),Xs(43),us(),us(),ls(44,"ion-item"),ls(45,"ion-label",7),Xs(46),Ou(47,"translate"),us(),cs(48,"ion-input",18,19),Ou(50,"translate"),ls(51,"ion-button",9),ys("click",function(){return t.hidePassword=!t.hidePassword}),cs(52,"ion-icon",10),us(),is(53,eq,5,3,"ion-item",16),ls(54,"ion-note",17),Xs(55),Ou(56,"translate"),us(),us(),us(),us(),us(),ls(57,"ion-item",20),ls(58,"div",21),ls(59,"ion-button",22),ls(60,"ion-label",23),Xs(61),Ou(62,"translate"),us(),us(),ls(63,"ion-button",24),ys("click",function(){return t.logout()}),ls(64,"ion-label",23),Xs(65),Ou(66,"translate"),us(),us(),us(),us(),us(),is(67,tq,1,1,"ion-item",25),us()),2&e&&(as("translucent",!0),Ao(4),Ks(Mu(5,29,"lang.passwordModification")),Ao(4),as("formGroup",t.firstFormGroup),Ao(6),Js(" ",Mu(15,31,"lang.hello")," "),Ao(3),$s(" ",t.user.firstname," ",t.user.lastname,""),Ao(1),Js(", ",Mu(19,33,"lang.changePasswordInfo"),". "),Ao(4),Ks(Mu(23,35,"lang.typeCurrentPassword")),Ao(2),Es("placeholder",Mu(25,37,"lang.typeCurrentPassword")),as("type",t.hidePassword?"password":"text"),Ao(3),as("name",t.hidePassword?"eye-outline":"eye-off-outline"),Ao(1),as("ngIf",t.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),Ao(3),Ks(t.ruleText),Ao(3),Js("",Mu(35,39,"lang.passwordConfirmation")," "),Ao(2),Es("placeholder",Mu(38,41,"lang.passwordConfirmation")),as("type",t.hidePassword?"password":"text"),Ao(4),as("name",t.hidePassword?"eye-outline":"eye-off-outline"),Ao(1),as("ngIf",t.validPassword),Ao(2),Ks(t.getErrorMessage()),Ao(3),Js("",Mu(47,43,"lang.passwordConfirmation")," "),Ao(2),Es("placeholder",Mu(50,45,"lang.passwordConfirmation")),as("type",t.hidePassword?"password":"text"),Ao(4),as("name",t.hidePassword?"eye-outline":"eye-off-outline"),Ao(1),as("ngIf",!t.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=t.firstFormGroup.controls.retypePasswordCtrl.value),Ao(2),Ks(Mu(56,47,"lang.passwordNotMatch")),Ao(4),as("disabled",!t.firstFormGroup.valid),Ao(2),Ks(Mu(62,49,"lang.validate")),Ao(4),Ks(Mu(66,51,"lang.logout")),Ao(2),as("ngIf",t.passwordRules.renewal.enabled||t.passwordRules.historyLastUse.enabled))},directives:[JC,TS,BC,OS,GC,Qm,pm,ty,KC,wS,WC,zC,VC,rS,lS,iS,iA,fm,iy,Ay,FC,$C,yh,cS,pS],pipes:[yP],styles:[".alert-warning[_ngcontent-%COMP%]{text-align:center;width:100%;margin:0;color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc;padding-top:15px;padding-bottom:15px}.alert-warning[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{left:0;bottom:0;position:absolute}.container[_ngcontent-%COMP%]{margin-top:-63px;display:flex;flex-direction:column;top:64px;right:0;height:100%}"]}),nq),rq=a("b0Xh"),oq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},aq=["passwordContent"];function sq(e,t){if(1&e&&(ls(0,"ion-note",35),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(3);Ao(1),Js(" ",Mu(2,1,n.handlePassword.errorMsg),"")}}function lq(e,t){if(1&e){var n=ps();ls(0,"div"),ls(1,"ion-list-header",26),ls(2,"ion-label",1),Xs(3),Ou(4,"translate"),us(),us(),ls(5,"ion-item"),ls(6,"ion-label",29),Xs(7),Ou(8,"translate"),us(),ls(9,"ion-input",30),ys("ngModelChange",function(e){return rn(n),ks(2).password.currentPassword=e}),Ou(10,"translate"),us(),ls(11,"ion-button",31),ys("click",function(){rn(n);var e=ks(2);return e.hideCurrentPassword=!e.hideCurrentPassword}),cs(12,"ion-icon",32),us(),us(),ls(13,"ion-item"),ls(14,"ion-label",29),Xs(15),Ou(16,"translate"),us(),ls(17,"ion-input",33),ys("ngModelChange",function(e){return rn(n),ks(2).password.newPassword=e})("keyup",function(){rn(n);var e=ks(2);return e.checkPasswordValidity(e.password.newPassword)}),Ou(18,"translate"),us(),ls(19,"ion-button",31),ys("click",function(){rn(n);var e=ks(2);return e.hideNewPassword=!e.hideNewPassword}),cs(20,"ion-icon",32),us(),is(21,sq,3,3,"ion-note",28),us(),ls(22,"ion-item"),ls(23,"ion-label",29),Xs(24),Ou(25,"translate"),us(),ls(26,"ion-input",34),ys("ngModelChange",function(e){return rn(n),ks(2).password.passwordConfirmation=e}),Ou(27,"translate"),us(),ls(28,"ion-button",31),ys("click",function(){rn(n);var e=ks(2);return e.hideNewPasswordConfirm=!e.hideNewPasswordConfirm}),cs(29,"ion-icon",32),us(),us(),us()}if(2&e){var i=ks(2);Ao(3),Ks(Mu(4,17,"lang.changePassword")),Ao(4),Ks(Mu(8,19,"lang.currentPassword")),Ao(2),Es("placeholder",Mu(10,21,"lang.currentPassword")),as("ngModel",i.password.currentPassword)("type",i.hideCurrentPassword?"password":"text"),Ao(3),as("name",i.hideCurrentPassword?"eye-outline":"eye-off-outline"),Ao(3),Ks(Mu(16,23,"lang.newPassword")),Ao(2),Es("placeholder",Mu(18,25,"lang.newPassword")),as("ngModel",i.password.newPassword)("type",i.hideNewPassword?"password":"text"),Ao(3),as("name",i.hideNewPassword?"eye-outline":"eye-off-outline"),Ao(1),as("ngIf",i.handlePassword.error),Ao(3),Js("",Mu(25,27,"lang.passwordConfirmation")," "),Ao(2),Es("placeholder",Mu(27,29,"lang.passwordConfirmation")),as("ngModel",i.password.passwordConfirmation)("type",i.hideNewPasswordConfirm?"password":"text"),Ao(3),as("name",i.hideNewPasswordConfirm?"eye-outline":"eye-off-outline")}}function uq(e,t){1&e&&(ls(0,"ion-note",36),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.samePassword"),""))}function cq(e,t){1&e&&(ls(0,"ion-note",35),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.passwordNotMatch"),""))}function dq(e,t){if(1&e){var n=ps();ds(0),ls(1,"ion-list",16),ls(2,"ion-item"),ls(3,"ion-avatar",17),ys("click",function(){return rn(n),rs(10).click()}),cs(4,"img",18),us(),ls(5,"ion-label",19),Xs(6),Ou(7,"translate"),us(),ls(8,"ion-input",20),ys("ngModelChange",function(e){return rn(n),ks().profileInfo.login=e}),us(),ls(9,"input",21,22),ys("change",function(e){return rn(n),ks().handleFileInput(e.target.files)}),us(),us(),ls(11,"ion-item"),ls(12,"ion-label",19),Xs(13),Ou(14,"translate"),us(),ls(15,"ion-input",23),ys("ngModelChange",function(e){return rn(n),ks().profileInfo.email=e}),us(),us(),ls(16,"ion-item"),ls(17,"ion-label",19),Xs(18),Ou(19,"translate"),us(),ls(20,"ion-input",24),ys("ngModelChange",function(e){return rn(n),ks().profileInfo.firstname=e}),us(),us(),ls(21,"ion-item"),ls(22,"ion-label",19),Xs(23),Ou(24,"translate"),us(),ls(25,"ion-input",25),ys("ngModelChange",function(e){return rn(n),ks().profileInfo.lastname=e}),us(),us(),is(26,lq,30,31,"div",14),ls(27,"ion-item",26),is(28,uq,3,3,"ion-note",27),is(29,cq,3,3,"ion-note",28),us(),us(),hs()}if(2&e){var i=ks();Ao(4),as("src",i.avatarInfo.picture,Sr),Ao(2),Ks(Mu(7,19,"lang.login")),Ao(2),as("maxlength",128)("ngModel",i.profileInfo.login),Ao(5),Ks(Mu(14,21,"lang.email")),Ao(2),as("maxlength",128)("ngModel",i.profileInfo.email)("readonly","default"!==i.authService.authMode),Ao(3),Ks(Mu(19,23,"lang.firstname")),Ao(2),as("maxlength",128)("ngModel",i.profileInfo.firstname)("readonly","default"!==i.authService.authMode),Ao(3),Ks(Mu(24,25,"lang.lastname")),Ao(2),as("maxlength",128)("ngModel",i.profileInfo.lastname)("readonly","default"!==i.authService.authMode),Ao(1),as("ngIf","default"===i.authService.authMode),Ao(2),as("ngIf",i.password.passwordConfirmation===i.password.newPassword&&i.password.newPassword.length>0&&i.password.passwordConfirmation.length>0),Ao(1),as("ngIf",i.password.passwordConfirmation!==i.password.newPassword)}}function hq(e,t){if(1&e&&(ls(0,"ion-select-option",63),Xs(1),Ou(2,"translate"),us()),2&e){var n=t.$implicit;as("value",n),Ao(1),Ks(Mu(2,2,"lang."+n))}}function fq(e,t){1&e&&(cs(0,"ion-note",64),Ou(1,"translate")),2&e&&as("innerHTML",Mu(1,1,"lang.freeModeInfo"),Cr)}function pq(e,t){1&e&&(cs(0,"ion-note",64),Ou(1,"translate")),2&e&&as("innerHTML",Mu(1,1,"lang.standardModeInfo"),Cr)}function gq(e,t){if(1&e&&(ls(0,"ion-select-option",63),Xs(1),us()),2&e){var n=t.index;as("value",n+1),Ao(1),Js("",n+1," ")}}var vq=function(e){return{value:e}};function mq(e,t){if(1&e&&(cs(0,"ion-note",65),Ou(1,"translate")),2&e){var n=ks(2);as("innerHTML",Tu(1,1,"lang.scalingDocWith",Cu(4,vq,n.signatureScaling)),Cr)}}function yq(e,t){if(1&e){var n=ps();ds(0),ls(1,"ion-list",16),ls(2,"ion-item"),ls(3,"ion-label"),Xs(4),Ou(5,"translate"),us(),ls(6,"ion-toggle",37),ys("ionChange",function(){rn(n);var e=ks();return e.preferenceInfo.notifications=!e.preferenceInfo.notifications}),us(),us(),ls(7,"ion-list"),ls(8,"ion-item"),ls(9,"ion-label",38),Xs(10),Ou(11,"translate"),us(),ls(12,"ion-select",39),ys("ngModelChange",function(e){return rn(n),ks().preferenceInfo.lang=e}),is(13,hq,3,4,"ion-select-option",40),us(),us(),us(),ls(14,"ion-list"),ls(15,"ion-item"),ls(16,"ion-label",38),Xs(17),Ou(18,"translate"),us(),ls(19,"ion-select",41),ys("ngModelChange",function(e){return rn(n),ks().preferenceInfo.writingMode=e}),ls(20,"ion-select-option",42),Xs(21),Ou(22,"translate"),us(),ls(23,"ion-select-option",43),Xs(24),Ou(25,"translate"),cs(26,"i",44),us(),us(),is(27,fq,2,3,"ion-note",45),is(28,pq,2,3,"ion-note",45),us(),us(),ls(29,"ion-list"),ls(30,"ion-item"),ls(31,"ion-label",38),Xs(32),Ou(33,"translate"),us(),ls(34,"ion-select",46),ys("ngModelChange",function(e){return rn(n),ks().preferenceInfo.writingSize=e})("ionChange",function(){return rn(n),ks().drawSample()}),is(35,gq,2,2,"ion-select-option",40),us(),ls(36,"ion-note",2),cs(37,"canvas",47),us(),us(),us(),ls(38,"ion-list"),ls(39,"ion-item"),ls(40,"ion-label",38),Xs(41),Ou(42,"translate"),us(),ls(43,"ion-select",48),ys("ngModelChange",function(e){return rn(n),ks().preferenceInfo.writingColor=e}),ls(44,"ion-select-option",49),Xs(45),Ou(46,"translate"),us(),ls(47,"ion-select-option",50),Xs(48),Ou(49,"translate"),us(),ls(50,"ion-select-option",51),Xs(51),Ou(52,"translate"),us(),us(),ls(53,"ion-note",2),cs(54,"div",52),us(),us(),us(),ls(55,"ion-list"),ls(56,"ion-row"),ls(57,"iotn-item"),ls(58,"ion-label",53),Xs(59),Ou(60,"translate"),us(),us(),us(),ls(61,"ion-row"),ls(62,"ion-col",54),ls(63,"ion-item",55),ls(64,"ion-range",56),ys("ngModelChange",function(e){return rn(n),ks().signatureScaling=e}),cs(65,"ion-icon",57),cs(66,"ion-icon",58),us(),us(),is(67,mq,2,6,"ion-note",59),us(),ls(68,"ion-col",60),ls(69,"ion-item",61),ls(70,"ion-label"),Xs(71),Ou(72,"translate"),us(),ls(73,"ion-toggle",62),ys("ionChange",function(){rn(n);var e=ks();return e.originalSize=!e.originalSize}),us(),us(),us(),us(),us(),us(),hs()}if(2&e){var i=ks();Ao(4),Ks(Mu(5,27,"lang.receiveNotif")),Ao(2),as("checked",i.preferenceInfo.notifications),Ao(4),Ks(Mu(11,29,"lang.language")),Ao(2),as("ngModel",i.preferenceInfo.lang),Ao(1),as("ngForOf",i.profileInfo.availableLanguages),Ao(4),Js("",Mu(18,31,"lang.annotationMode")," "),Ao(2),as("ngModel",i.preferenceInfo.writingMode),Ao(2),Ks(Mu(22,33,"lang.free")),Ao(3),Js("",Mu(25,35,"lang.appleStylus")," "),Ao(3),as("ngIf","stylus"===i.preferenceInfo.writingMode),Ao(1),as("ngIf","direct"===i.preferenceInfo.writingMode),Ao(4),Ks(Mu(33,37,"lang.stylusWidh")),Ao(2),as("ngModel",i.preferenceInfo.writingSize),Ao(1),as("ngForOf",i.counter(10)),Ao(6),Ks(Mu(42,39,"lang.defaultColor")),Ao(2),as("ngModel",i.preferenceInfo.writingColor),Ao(2),Ks(Mu(46,41,"lang.black")),Ao(3),Ks(Mu(49,43,"lang.blue")),Ao(3),Ks(Mu(52,45,"lang.red")),Ao(3),Fs("background-color",i.preferenceInfo.writingColor),Ao(5),Ks(Mu(60,47,"lang.signatureScaling")),Ao(5),as("disabled",i.originalSize)("ngModel",i.signatureScaling),Ao(3),as("ngIf",!i.originalSize),Ao(4),Ks(Mu(72,49,"lang.originalSize")),Ao(2),as("checked",i.originalSize)}}function bq(e,t){if(1&e){var n=ps();ls(0,"ion-list"),ls(1,"ion-item"),cs(2,"ion-input",66),ls(3,"ion-button",67),ys("click",function(){return rn(n),ks(2).deleteSubstitute()}),cs(4,"ion-icon",68),us(),us(),us()}if(2&e){var i=ks(2);Ao(2),as("value",i.authService.user.substituteUser)}}function wq(e,t){if(1&e){var n=ps();ls(0,"ion-list"),ls(1,"ion-item"),ls(2,"ion-searchbar",69),ys("ionChange",function(e){return rn(n),ks(2).test(e)}),Ou(3,"translate"),us(),us(),us()}2&e&&(Ao(2),as("placeholder",Mu(3,1,"lang.chooseSubstitute")))}function _q(e,t){if(1&e&&(ls(0,"ion-note",2),Xs(1),us()),2&e){var n=ks().$implicit;Ao(1),Ks(n.email)}}function xq(e,t){1&e&&(ls(0,"ion-note",74),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.delegatedUser")))}function kq(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-checkbox",71),ys("ionChange",function(e){return rn(n),ks(3).selectSubstitute(e.detail.value)}),us(),ls(2,"ion-label"),Xs(3),us(),is(4,_q,2,1,"ion-note",72),is(5,xq,3,3,"ion-note",73),us()}if(2&e){var i=t.$implicit;Ao(1),as("disabled",i.substitute)("value",i),Ao(2),$s("",i.firstname," ",i.lastname,""),Ao(1),as("ngIf",!i.substitute),Ao(1),as("ngIf",i.substitute)}}function Aq(e,t){if(1&e&&(ls(0,"ion-list"),is(1,kq,6,6,"ion-item",70),us()),2&e){var n=ks(2);Ao(1),as("ngForOf",n.userList)}}function Cq(e,t){if(1&e){var n=ps();ls(0,"button",78),ys("click",function(){rn(n);var e=t.index;return ks(3).toggleSignature(e)}),cs(1,"img",79),us()}if(2&e){var i=t.$implicit,r=ks(3);Bs("selected",i.substituted),Ao(1),as("src",r.sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+i.encodedSignature),Sr)}}function Sq(e,t){if(1&e&&(ds(0),ls(1,"ion-item",26),ls(2,"ion-label",75),Xs(3),Ou(4,"translate"),us(),us(),ls(5,"div",76),is(6,Cq,2,3,"button",77),us(),hs()),2&e){var n=ks(2);Ao(3),Js(" ",Mu(4,2,"lang.signSubstituted")," : "),Ao(3),as("ngForOf",n.signaturesService.signaturesList)}}function Eq(e,t){if(1&e&&(ds(0),is(1,bq,5,1,"ion-list",14),is(2,wq,4,3,"ion-list",14),is(3,Aq,2,1,"ion-list",14),is(4,Sq,7,4,"ng-container",14),hs()),2&e){var n=ks();Ao(1),as("ngIf",null!==n.authService.user.substitute),Ao(1),as("ngIf",null===n.authService.user.substitute),Ao(1),as("ngIf",null===n.authService.user.substitute),Ao(1),as("ngIf",null!=n.authService.user.substitute&&n.signaturesService.signaturesList.length>0)}}function Pq(e,t){if(1&e){var n=ps();ls(0,"ion-footer",80),ls(1,"ion-toolbar"),ls(2,"ion-buttons",81),ls(3,"ion-button",82),ys("click",function(){return rn(n),ks().submitProfile()}),ls(4,"ion-label"),Xs(5),Ou(6,"translate"),us(),us(),us(),us(),us()}if(2&e){var i=ks(),r=rs(27);Ao(3),as("disabled",i.allowValidate()||!r.form.valid),Ao(2),Ks(Mu(6,2,"lang.save"))}}var Dq,Oq=function(){return["info","pref"]},Mq=((Dq=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){S(this,e),this.http=t,this.sanitizer=n,this.notificationService=i,this.signaturesService=r,this.authService=o,this.filtersService=a,this.modalController=s,this.renderer=l,this.translate=u,this.alertController=c,this.cookieService=d,this.router=h,this.currentTool="info",this.profileInfo={substitute:null,preferences:[]},this.preferenceInfo={},this.avatarInfo={picture:"",pictureOrientation:""},this.hideCurrentPassword=!0,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.password={currentPassword:"",newPassword:"",passwordConfirmation:""},this.handlePassword={error:!1,errorMsg:""},this.usersList=[],this.ruleText="",this.otherRuleText="",this.disableState=!1,this.msgButton="lang.validate",this.loading=!1,this.slideOpts={initialSlide:0,speed:400},this.showHideContent=!1,this.userList=[],this.signatureScaling=25,this.originalSize=!1}return C(e,[{key:"ngOnInit",value:function(){this.initProfileInfo(),this.getPassRules()}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"test",value:function(e){var t=this;""===e.detail.value?this.userList=[]:e.detail.value.length>=3&&this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(cw(function(e){t.userList=e.filter(function(e){return e.id!==t.profileInfo.id})}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}},{key:"initProfileInfo",value:function(){this.profileInfo=JSON.parse(JSON.stringify(this.authService.user)),this.preferenceInfo=this.profileInfo.preferences,this.avatarInfo.picture=this.profileInfo.picture,void 0!==this.preferenceInfo.signatureScaling?!1===this.preferenceInfo.signatureScaling?this.originalSize=!0:this.signatureScaling=this.preferenceInfo.signatureScaling:this.originalSize=!0,delete this.profileInfo.picture,delete this.profileInfo.preferences}},{key:"initTab",value:function(e){var t=this;this.currentTool=e,"pref"===e&&setTimeout(function(){t.drawSample()},200)}},{key:"closeProfile",value:function(){var e=this;setTimeout(function(){e.initProfileInfo()},200),this.dismissModal()}},{key:"getPassRules",value:function(){var e=this;this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../rest/passwordRules").subscribe(function(t){var n=[],i=[];t.rules.forEach(function(t){"minLength"===t.label?(e.passwordRules.minLength.enabled=t.enabled,e.passwordRules.minLength.value=t.value,t.enabled&&e.translate.get("lang.minLengthChar",{charLength:t.value}).subscribe(function(e){n.push(e)})):"complexityUpper"===t.label?(e.passwordRules.complexityUpper.enabled=t.enabled,e.passwordRules.complexityUpper.value=t.value,t.enabled&&n.push("lang.upperRequired")):"complexityNumber"===t.label?(e.passwordRules.complexityNumber.enabled=t.enabled,e.passwordRules.complexityNumber.value=t.value,t.enabled&&n.push("lang.numberRequired")):"complexitySpecial"===t.label?(e.passwordRules.complexitySpecial.enabled=t.enabled,e.passwordRules.complexitySpecial.value=t.value,t.enabled&&n.push("lang.specialCharRequired")):"renewal"===t.label?(e.passwordRules.renewal.enabled=t.enabled,e.passwordRules.renewal.value=t.value,t.enabled&&e.translate.get("lang.renewalInfo",{time:t.value}).subscribe(function(e){i.push(e)})):"historyLastUse"===t.label&&(e.passwordRules.historyLastUse.enabled=t.enabled,e.passwordRules.historyLastUse.value=t.value,t.enabled&&e.translate.get("lang.historyUseInfo",{countPwd:t.value}).subscribe(function(e){i.push(e)}))}),e.ruleText=n.join(", "),e.otherRuleText=i.join("<br/>")},function(t){e.notificationService.handleErrors(t)})}},{key:"checkPasswordValidity",value:function(e){var t=this;this.handlePassword.error=!0,!e.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg="lang.upperRequired":!e.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg="lang.numberRequired":!e.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg="lang.specialCharRequired":e.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.translate.get("lang.minLengthChar",{charLength:this.passwordRules.minLength.value}).subscribe(function(e){t.handlePassword.errorMsg=e}):(this.handlePassword.error=!1,this.handlePassword.errorMsg="")}},{key:"allowValidate",value:function(){return!!this.disableState||!(""===this.password.newPassword||!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.currentPassword.length&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)}},{key:"submitProfile",value:function(){return oq(this,void 0,void 0,_().mark(function e(){var t=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.disableState=!0,this.msgButton="lang.sending",this.preferenceInfo=Object.assign(Object.assign({},this.preferenceInfo),{signatureScaling:!this.originalSize&&this.signatureScaling}),this.http.put("../rest/users/"+this.authService.user.id+"/preferences",this.preferenceInfo).pipe(cw(function(){t.disableState=!1,t.msgButton="lang.validate",t.setLang(t.preferenceInfo.lang),t.cookieService.set("maarchParapheurLang",t.preferenceInfo.lang)}),Cj(function(){return"default"===t.authService.authMode?t.http.put("../rest/users/"+t.authService.user.id,t.profileInfo):new Promise(function(e){e(!0)})}),Cj(function(){if(t.authService.updateUserInfoWithTokenRefresh(),""===t.password.newPassword)return t.closeProfile(),t.notificationService.success("lang.profileUpdated"),Iy(!1);if("default"===t.authService.authMode){var e=new Ny({Authorization:"Bearer "+t.authService.getToken()});return t.http.put("../rest/users/"+t.authService.user.id+"/password",t.password,{observe:"response",headers:e})}return Iy(!1)}),Ly(function(e){return!!e}),cw(function(e){t.authService.saveTokens(e.headers.get("Token"),e.headers.get("Refresh-Token")),t.password.newPassword="",t.password.passwordConfirmation="",t.password.currentPassword="",t.notificationService.success("lang.profileUpdated")}),Qb(function(e){return 401===e.status?t.notificationService.error("lang.wrongPassword"):t.notificationService.handleErrors(e),Iy(!1)})).subscribe();case 1:case"end":return e.stop()}},e,this)}))}},{key:"changePicture",value:function(){var e=this;this.msgButton="lang.sending",this.disableState=!0,this.http.put("../rest/users/"+this.authService.user.id+"/picture",this.avatarInfo).pipe(cw(function(){e.authService.user.picture=e.avatarInfo.picture,e.notificationService.success("lang.profileUpdated")}),fw(function(){e.msgButton="lang.validate",e.disableState=!1})).subscribe()}},{key:"selectSubstitute",value:function(e){var t=this;this.userList=[],this.http.put("../rest/users/"+this.authService.user.id+"/substitute",{substitute:e.id}).subscribe(function(){t.authService.updateUserInfoWithTokenRefresh(),t.filtersService.resfreshDocuments(),t.signaturesService.documentsList.length>0&&!1===t.signaturesService.documentsList[t.signaturesService.indexDocumentsList].owner&&t.router.navigate(["/documents"]),t.notificationService.success("lang.substituteEnabled")})}},{key:"deleteSubstitute",value:function(){return oq(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({header:this.translate.instant("lang.confirmMsg"),buttons:[{text:this.translate.instant("lang.no"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.yes"),handler:function(){var e=n.signaturesService.signaturesList.filter(function(e){return e.substituted});n.profileInfo.substitute=null,n.http.put("../rest/users/"+n.authService.user.id+"/substitute",{substitute:n.profileInfo.substitute}).pipe(cw(function(t){n.authService.updateUserInfoWithTokenRefresh(),n.filtersService.resfreshDocuments(),e.length>0&&e.forEach(function(e){n.http.patch("../rest/users/"+n.authService.user.id+"/signatures/"+e.id+"/substituted",{substituted:!1}).pipe(cw(function(){n.signaturesService.signaturesList.find(function(t){return t.id===e.id}).substituted=!1}),Qb(function(e){return n.notificationService.handleErrors(e),Iy(!1)})).subscribe()}),n.signaturesService.documentsList.length>0&&!1===n.signaturesService.documentsList[n.signaturesService.indexDocumentsList].owner&&n.router.navigate(["/documents"]),n.notificationService.success("lang.substitutionDeleted")}),Qb(function(e){return n.notificationService.handleErrors(e),Iy(!1)})).subscribe()}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"handleFileInput",value:function(e){var t=this;this.passwordContent&&this.passwordContent.close();var n=e.item(0);if(n.size<=5e6)if(-1!==["image/png","image/jpg","image/jpeg","image/gif"].indexOf(n.type)){var i=new FileReader;i.onloadend=function(e){var n=new Image;n.src=i.result.toString(),t.avatarInfo.picture=i.result,n.onload=function(){return t.fixImgOrientation(n)}},i.readAsDataURL(n)}else this.notificationService.error("lang.notAnImage");else this.notificationService.error("lang.imageTooBig")}},{key:"fixImgOrientation",value:function(e){var t=this;rq.getData(e,function(){var n=0;switch(rq.getTag(e,"Orientation")){case 3:n=180;break;case 6:n=90;break;case 8:n=-90}t.avatarInfo.pictureOrientation=n,t.changePicture()})}},{key:"drawSample",value:function(){var e=document.getElementById("sampleNote").getContext("2d");e.clearRect(0,0,100,100),e.beginPath(),e.lineWidth=this.preferenceInfo.writingSize,e.moveTo(0,0),e.lineTo(100,100),e.moveTo(100,0),e.lineTo(0,100),e.stroke()}},{key:"initProfileTab",value:function(e){1===e.index&&this.drawSample()}},{key:"counter",value:function(e){return new Array(e)}},{key:"setLang",value:function(e){this.translate.use(e)}},{key:"toggleSignature",value:function(e){var t=this;this.http.patch("../rest/users/"+this.authService.user.id+"/signatures/"+this.signaturesService.signaturesList[e].id+"/substituted",{substituted:!this.signaturesService.signaturesList[e].substituted}).subscribe(function(){t.signaturesService.signaturesList[e].substituted=!t.signaturesService.signaturesList[e].substituted,t.notificationService.success("lang.modificationSaved")})}}]),e}()).\u0275fac=function(e){return new(e||Dq)(os(ub),os(Gf),os(_P),os(OP),os(TP),os(SU),os(fE),os(Dl),os(mP),os(cE),os(FM),os(Ux))},Dq.\u0275cmp=pt({type:Dq,selectors:[["app-my-profile"]],viewQuery:function(e,t){var n;1&e&&Xu(aq,1),2&e&&Qu(n=Ju())&&(t.passwordContent=n.first)},decls:33,vars:19,consts:[[3,"translucent"],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[3,"value","ionChange"],["value","info"],["name","information-circle"],["value","pref"],["name","brush-outline"],["value","deleg"],["name","hand-left-outline"],[2,"display","contents",3,"ngSubmit"],["profileForm","ngForm"],[4,"ngIf"],["class","ion-no-border",4,"ngIf"],["lines","full",1,"ion-no-margin"],["slot","start",2,"cursor","pointer",3,"click"],[3,"src"],["color","secondary","position","floating"],["name","login","readonly","","required","",3,"maxlength","ngModel","ngModelChange"],["type","file",2,"display","none",3,"change"],["uploadFile",""],["name","email","pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","firstname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["name","lastname","required","",3,"maxlength","ngModel","readonly","ngModelChange"],["lines","none"],["color","success",4,"ngIf"],["color","danger",4,"ngIf"],["color","secondary","position","stacked"],["name","currentPassword",3,"ngModel","placeholder","type","ngModelChange"],["slot","end","color","light",1,"showpassButton",3,"click"],["slot","icon-only","color","primary",3,"name"],["name","newPassword",3,"ngModel","placeholder","type","ngModelChange","keyup"],["name","passwordConfirmation",3,"ngModel","placeholder","type","ngModelChange"],["color","danger"],["color","success"],["slot","start",3,"checked","ionChange"],["position","floating","color","secondary"],["name","langUser",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","writingMode",3,"ngModel","ngModelChange"],["value","direct"],["value","stylus"],[1,"fab","fa-apple"],[3,"innerHTML",4,"ngIf"],["name","writingSize",3,"ngModel","ngModelChange","ionChange"],["id","sampleNote","width","100","height","100"],["name","writingColor",3,"ngModel","ngModelChange"],["value","#000000"],["value","#1a75ff"],["value","#FF0000"],[2,"height","25px","width","25px","border-radius","20px"],["color","secondary",2,"opacity","1","margin-left","15px"],["size","7"],["lines","none",2,"margin-left","-10px"],["min","10","max","50","pin","","color","primary","name","signatureScaling",3,"disabled","ngModel","ngModelChange"],["slot","start","size","small","name","scan-circle-outline"],["slot","end","name","scan-outline"],["style","margin-left: 20px; font-size: 14px;",3,"innerHTML",4,"ngIf"],["size","5"],["lines","none",2,"margin-top","22px","margin-left","10px"],["slot","start","name","originalSize","color","primary",2,"cursor","pointer",3,"checked","ionChange"],[3,"value"],[3,"innerHTML"],[2,"margin-left","20px","font-size","14px",3,"innerHTML"],["readonly","",3,"value"],["slot","end","color","danger",3,"click"],["name","close-outline"],[3,"placeholder","ionChange"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"disabled","value","ionChange"],["slot","end",4,"ngIf"],["slot","end","color","danger",4,"ngIf"],["slot","end","color","danger"],["color","secondary"],[2,"display","grid","grid-template-columns","repeat(2, 1fr)"],["type","button","class","signListButton","mat-stroked-button","",3,"selected","click",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","",1,"signListButton",3,"click"],[2,"width","190px",3,"src"],[1,"ion-no-border"],[1,"ion-justify-content-center"],["type","submit","color","primary",3,"disabled","click"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),ls(5,"ion-buttons",2),ls(6,"ion-button",3),ys("click",function(){return t.dismissModal()}),cs(7,"ion-icon",4),us(),us(),us(),us(),ls(8,"ion-header"),ls(9,"ion-toolbar"),ls(10,"ion-segment",5),ys("ionChange",function(e){return t.initTab(e.detail.value)}),ls(11,"ion-segment-button",6),ls(12,"ion-label"),Xs(13),Ou(14,"translate"),us(),cs(15,"ion-icon",7),us(),ls(16,"ion-segment-button",8),ls(17,"ion-label"),Xs(18),Ou(19,"translate"),us(),cs(20,"ion-icon",9),us(),ls(21,"ion-segment-button",10),ls(22,"ion-label"),Xs(23),Ou(24,"translate"),us(),cs(25,"ion-icon",11),us(),us(),us(),us(),ls(26,"form",12,13),ys("ngSubmit",function(){return t.submitProfile()}),ls(28,"ion-content"),is(29,dq,30,27,"ng-container",14),is(30,yq,74,51,"ng-container",14),is(31,Eq,5,4,"ng-container",14),us(),us(),is(32,Pq,7,4,"ion-footer",15)),2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,10,"lang.myProfil")),Ao(7),as("value",t.currentTool),Ao(3),Ks(Mu(14,12,"lang.informations")),Ao(5),Ks(Mu(19,14,"lang.preferences")),Ao(5),Ks(Mu(24,16,"lang.substitute")),Ao(6),as("ngIf","info"===t.currentTool),Ao(1),as("ngIf","pref"===t.currentTool),Ao(1),as("ngIf","deleg"===t.currentTool),Ao(1),as("ngIf",Au(18,Oq).indexOf(t.currentTool)>-1))},directives:[JC,TS,OS,BC,FC,$C,xS,nA,kS,lS,Qm,pm,Gm,GC,yh,uS,rS,IC,iS,iA,Ay,Sy,fm,Zm,Py,cS,pS,MS,$k,AS,vh,CS,wS,WC,mS,_S,jC,KF,XC],pipes:[yP],styles:['.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{margin-top:0}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.user[_ngcontent-%COMP%]{color:#fff;color:#f99830;position:absolute;top:15px;font-weight:700;font-size:20px}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.profile-content[_ngcontent-%COMP%]{padding:10px;text-align:center}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px;margin:10px;color:#fff;font-size:20px}.actions[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:65px;width:65px;font-size:35px}.actions[_ngcontent-%COMP%] .validate[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;font-size:20px}canvas[_ngcontent-%COMP%]{background-color:#f1f4f4}fieldset[_ngcontent-%COMP%]{border:1px solid #f1f4f4;align-items:center}legend[_ngcontent-%COMP%]{color:#f99830}.form-container[_ngcontent-%COMP%]{display:table;width:100%}.form-2-col[_ngcontent-%COMP%]{width:50%}.form-2-col[_ngcontent-%COMP%], .form-col[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.notification[_ngcontent-%COMP%]{text-align:left;padding:10px}.panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%;overflow:hidden}.panel-header[_ngcontent-%COMP%]{box-shadow:0 0 10px 0 #656565;color:#fff;background:#135f7f;height:95px;display:flex;justify-content:center;position:relative;font-size:20px;align-items:center}.panel-content[_ngcontent-%COMP%]{flex:1;overflow:auto}.mat-icon[_ngcontent-%COMP%]{height:auto}.selected[_ngcontent-%COMP%]{border:solid #f99830}.selectedSubstitute[_ngcontent-%COMP%]{width:100%}.selectedSubstitute[_ngcontent-%COMP%] .mat-input-element{cursor:default}.selectedSubstitute[_ngcontent-%COMP%] .mat-form-field-suffix{top:0;display:flex}.showpassButton[_ngcontent-%COMP%]{--background:none;--box-shadow:none}']}),Dq);function Tq(e,t){if(1&e){var n=ps();ls(0,"ion-button",3),ys("click",function(){return rn(n),ks().menu.open("left-menu")}),Xs(1),Ou(2,"translate"),us()}2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.accessMenu")," "))}var Iq,Rq=((Iq=function(){function e(t,n,i,r){S(this,e),this.signaturesService=t,this.translate=n,this.menu=i,this.modalController=r,this.loading=!1}return C(e,[{key:"ngOnInit",value:function(){this.menu.enable(!0,"left-menu"),this.menu.enable(!1,"right-menu"),this.menu.open("left-menu")}}]),e}()).\u0275fac=function(e){return new(e||Iq)(os(OP),os(mP),os(hE),os(fE))},Iq.\u0275cmp=pt({type:Iq,selectors:[["ng-component"]],decls:3,vars:1,consts:[["color","primary"],["svgIcon","maarchLogo",1,"maarchLogo"],["class","menu-button","color","light","fill","outline","size","large",3,"click",4,"ngIf"],["color","light","fill","outline","size","large",1,"menu-button",3,"click"]],template:function(e,t){1&e&&(ls(0,"ion-content",0),cs(1,"mat-icon",1),is(2,Tq,3,3,"ion-button",2),us()),2&e&&(Ao(2),as("ngIf",t.signaturesService.mobileMode))},directives:[GC,ez,yh,FC],pipes:[yP],styles:[".maarchLogo[_ngcontent-%COMP%]{top:50%;width:250px;height:auto}.maarchLogo[_ngcontent-%COMP%], .menu-button[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%,-50%)}.menu-button[_ngcontent-%COMP%]{top:60%}"]}),Iq),Lq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})};function Fq(e,t){if(1&e){var n=ps();ls(0,"ion-chip",25),ys("click",function(){rn(n);var e=ks().$implicit,t=ks().index;return ks().goToSignUserPage(t,e.page)}),Ou(1,"translate"),ls(2,"ion-label"),Xs(3),us(),us()}if(2&e){var i=ks().$implicit,r=ks().index,o=ks();as("title",Mu(1,3,"lang.accessToPage")+" "+i.page)("color",r===o.currentUser&&i.page===o.currentPage?"primary":"medium"),Ao(3),Ks(i.page)}}function Bq(e,t){if(1&e&&(ds(0),is(1,Fq,4,5,"ion-chip",24),hs()),2&e){var n=t.$implicit,i=ks().index;Ao(1),as("ngIf",n.sequence==i)}}function zq(e,t){if(1&e&&(ls(0,"ion-segment-button",21),ls(1,"ion-label"),ls(2,"h2"),Xs(3),us(),ls(4,"p",22),is(5,Bq,2,1,"ng-container",7),us(),us(),cs(6,"ion-icon",23),us()),2&e){var n=t.$implicit,i=t.index,r=ks();as("value",i),Ao(3),Ks(n.userDisplay),Ao(2),as("ngForOf",r.signList),Ao(1),as("name","sign"===n.mode?"pencil-outline":"checkmark-done-outline")}}var Vq=function(e,t){return{x:e,y:t}};function Nq(e,t){if(1&e){var n=ps();ls(0,"div",27),ys("movingOffset",function(){return rn(n),ks(2).dragging=!0})("endOffset",function(e){rn(n);var t=ks(2);return t.moveSign(e,t.i)})("click",function(){rn(n);var e=ks().$implicit,t=ks();return t.currentUser!=e.sequence&&t.goToSignUserPage(e.sequence,t.currentPage)}),ls(1,"ion-buttons",28),ls(2,"ion-button",29),ys("click",function(){rn(n);var e=ks().index;return ks().deleteSign(e)}),Ou(3,"translate"),cs(4,"ion-icon",30),us(),us(),ls(5,"span",31),Xs(6),us(),Xs(7),Ou(8,"uppercase"),Ou(9,"translate"),us()}if(2&e){var i=ks().$implicit,r=ks(),o=rs(11);Fs("width",25,"%"),Bs("signDisabled",r.currentUser!==i.sequence)("hide",!r.pagesLoaded),as("position",Su(20,Vq,i.position.positionX*r.workingAreaWidth/100,i.position.positionY*r.workingAreaHeight/100))("ngDraggable",r.currentUser===i.sequence)("preventDefaultEvent",!1)("bounds",o)("inBounds",!0),Ao(2),as("title",Mu(3,14,"lang.delete")),Ao(4),Ks(r.getUserName(i.sequence)),Ao(1),Js(" ",Mu(8,16,Mu(9,18,"lang.signature"))," ")}}function Hq(e,t){if(1&e&&(ds(0),is(1,Nq,10,23,"div",26),hs()),2&e){var n=t.$implicit,i=ks();Ao(1),as("ngIf",n.page===i.currentPage)}}function jq(e,t){if(1&e){var n=ps();ls(0,"ion-button",32),ys("click",function(){return rn(n),ks().initSign()}),Xs(1),Ou(2,"translate"),us()}2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.createSignaturePosition"),""))}function Uq(e,t){if(1&e&&(ls(0,"ion-select-option",33),Xs(1),us()),2&e){var n=t.index;as("value",t.$implicit),Ao(1),Ks(n+1)}}function Wq(e,t){if(1&e){var n=ps();ls(0,"ion-fab-button",36),ys("click",function(){rn(n);var e=ks(2);return e.changePage(e.currentPage-1)}),cs(1,"ion-icon",37),us()}}function Gq(e,t){if(1&e){var n=ps();ls(0,"ion-fab-button",38),ys("click",function(){rn(n);var e=ks(2);return e.changePage(e.currentPage+1)}),cs(1,"ion-icon",39),us()}}function qq(e,t){if(1&e&&(ds(0),is(1,Wq,2,0,"ion-fab-button",34),is(2,Gq,2,0,"ion-fab-button",35),hs()),2&e){var n=ks();Ao(1),as("ngIf",n.currentPage>1),Ao(1),as("ngIf",n.currentPage<n.pages.length)}}var Yq,Zq,Qq=((Zq=function(){function e(t,n,i,r,o,a){S(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.pdfViewerService=r,this.modalController=o,this.loadingController=a,this.workflow=[],this.resource=[],this.pdfContent=null,this.loading=!1,this.dragging=!1,this.pages=[],this.currentUser=0,this.currentPage=1,this.currentSignature={positionX:0,positionY:0},this.workingAreaWidth=0,this.workingAreaHeight=0,this.signList=[],this.imgContent=null,this.load=null,this.pagesLoaded=!1}return C(e,[{key:"ngOnInit",value:function(){var e=this;this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){e.load=t,e.load.present()}),this.resource.signPos&&this.initSignPos()}},{key:"initSignPos",value:function(){var e=this;this.workflow.forEach(function(t,n){var i;(null===(i=t.signaturePositions)||void 0===i?void 0:i.length)>0&&(e.signList=e.signList.concat(t.signaturePositions.filter(function(t){return t.mainDocument===e.resource.mainDocument}).map(function(e){return Object.assign(Object.assign({},e),{sequence:n})})))})}},{key:"onSubmit",value:function(){this.modalController.dismiss(this.formatData())}},{key:"onPagesLoaded",value:function(e){return Lq(this,void 0,void 0,_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.pages=Array.from({length:e.pagesCount}).map(function(e,t){return t+1}),this.changePage(1);case 1:case"end":return t.stop()}},t,this)}))}},{key:"exportAsImage",value:function(){return Lq(this,void 0,void 0,_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfViewerService.getPageAsImage(this.currentPage,{width:1e3});case 2:t=e.sent,this.getImageDimensions(t),this.imgContent=t,this.pagesLoaded=!0;case 4:case"end":return e.stop()}},e,this)}))}},{key:"getImageDimensions",value:function(e){var t=this,n=new Image;n.onload=function(e){t.workingAreaWidth=e.target.naturalWidth,t.workingAreaHeight=e.target.naturalHeight},n.src=e}},{key:"changePage",value:function(e){this.currentPage=e,this.exportAsImage()}},{key:"moveSign",value:function(e,t){var n=this,i=100*e.x/this.workingAreaWidth,r=100*e.y/this.workingAreaHeight;this.signList.filter(function(e){return e.sequence===n.currentUser&&e.page===n.currentPage})[0].position.positionX=i,this.signList.filter(function(e){return e.sequence===n.currentUser&&e.page===n.currentPage})[0].position.positionY=r,this.dragging=!1}},{key:"emptySign",value:function(){var e=this;return 0===this.signList.filter(function(t){return t.sequence===e.currentUser&&t.page===e.currentPage}).length}},{key:"initSign",value:function(){this.signList.push({sequence:this.currentUser,page:this.currentPage,position:{positionX:75,positionY:90}});var e=0;Array.from(document.getElementsByClassName("drag-scroll-content")).forEach(function(t,n){if(null!==t.offsetParent)return e=n,!0}),document.getElementsByClassName("drag-scroll-content")[e].scrollTop=this.workingAreaHeight}},{key:"getUserSignPosPage",value:function(e){return this.signList.filter(function(t){return t.sequence===e})}},{key:"selectUser",value:function(e){this.currentUser=+e}},{key:"getUserName",value:function(e){return this.workflow[e].userDisplay}},{key:"goToSignUserPage",value:function(e,t){this.currentUser=e,this.currentPage=t,this.exportAsImage()}},{key:"deleteSign",value:function(e){this.signList.splice(e,1)}},{key:"formatData",value:function(){var e=this,t=[];return this.workflow.forEach(function(n,i){e.signList.filter(function(e){return e.sequence===i}).length>0&&(t=t.concat(e.signList.filter(function(e){return e.sequence===i})))}),t}},{key:"imageLoaded",value:function(e){this.load.dismiss()}}]),e}()).\u0275fac=function(e){return new(e||Zq)(os(mP),os(ub),os(OP),os(wO),os(fE),os(dE))},Zq.\u0275cmp=pt({type:Zq,selectors:[["ng-component"]],inputs:{workflow:"workflow",resource:"resource",pdfContent:"pdfContent"},decls:37,vars:35,consts:[[3,"translucent"],["color","primary"],["color","warning","scrollable","",2,"justify-content","center",3,"value","ionChange"],["layout","icon-start",3,"value",4,"ngFor","ngForOf"],[2,"overflow","auto","height","100%","width","100%","margin","auto",3,"drag-disabled","drag-scroll-disabled"],["id","myBounds",2,"margin","auto","position","relative","box-shadow","0px 0px 5px 0px #656565"],["myBounds",""],[4,"ngFor","ngForOf"],[1,"img-content",3,"src","ionImgDidLoad"],["color","primary","style","position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);font-size:20px;",3,"click",4,"ngIf"],[2,"display","none",3,"src","useBrowserLocale","textLayer","pdfLoaded"],[1,"page-info"],[1,"page-info-doc"],[1,"page-info-page",3,"click"],["interface","action-sheet","hidden","true",2,"max-height","30%",3,"cancelText","ionChange"],["pagesList",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ion-no-border","footer-buttons"],["type","button","color","primary","fill","outline","shape","round","size","large",3,"click"],["type","button","color","medium","fill","outline","shape","round","size","large",3,"click"],["layout","icon-start",3,"value"],[1,"chip-item-content"],[3,"name"],["class","chip-item","outline","",3,"title","color","click",4,"ngIf"],["outline","",1,"chip-item",3,"title","color","click"],["class","signature",3,"signDisabled","position","width","ngDraggable","preventDefaultEvent","bounds","inBounds","hide","movingOffset","endOffset","click",4,"ngIf"],[1,"signature",3,"position","ngDraggable","preventDefaultEvent","bounds","inBounds","movingOffset","endOffset","click"],[2,"position","absolute","top","-50px","right","0px"],["fill","clear","slot","icon-only","shape","round","size","small","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],[1,"signUserName"],["color","primary",2,"position","fixed","top","50%","left","50%","transform","translate(-50%,-50%)","font-size","20px",3,"click"],[3,"value"],["class","paginate-left",3,"click",4,"ngIf"],["class","paginate-right",3,"click",4,"ngIf"],[1,"paginate-left",3,"click"],["name","chevron-back-outline"],[1,"paginate-right",3,"click"],["name","chevron-forward-outline"]],template:function(e,t){if(1&e){var n=ps();ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),us(),ls(5,"ion-toolbar",1),ls(6,"ion-segment",2),ys("ionChange",function(e){return t.selectUser(e.detail.value)}),is(7,zq,7,4,"ion-segment-button",3),us(),us(),us(),ls(8,"ion-content"),ls(9,"drag-scroll",4),ls(10,"div",5,6),is(12,Hq,2,1,"ng-container",7),ls(13,"ion-img",8),ys("ionImgDidLoad",function(e){return t.imageLoaded(e)}),us(),is(14,jq,3,3,"ion-button",9),us(),us(),ls(15,"ngx-extended-pdf-viewer",10),ys("pdfLoaded",function(e){return t.onPagesLoaded(e)}),us(),ls(16,"section",11),ls(17,"div",12),Xs(18),us(),ls(19,"div",13),ys("click",function(){rn(n);var e=rs(23);return t.pages.length>1&&e.open()}),Xs(20),Ou(21,"translate"),us(),ls(22,"ion-select",14,15),ys("ionChange",function(e){return t.changePage(e.target.value)}),Ou(24,"translate"),is(25,Uq,2,2,"ion-select-option",16),us(),us(),is(26,qq,3,2,"ng-container",17),us(),ls(27,"ion-footer",18),ls(28,"div"),ls(29,"ion-button",19),ys("click",function(){return t.onSubmit()}),ls(30,"ion-label"),Xs(31),Ou(32,"translate"),us(),us(),ls(33,"ion-button",20),ys("click",function(){return t.modalController.dismiss()}),ls(34,"ion-label"),Xs(35),Ou(36,"translate"),us(),us(),us(),us()}2&e&&(as("translucent",!0),Ao(3),Ks(Mu(4,25,"lang.adminSignaturesPositions")),Ao(3),as("value",t.currentUser),Ao(1),as("ngForOf",t.workflow),Ao(2),as("drag-disabled",t.dragging&&!t.signaturesService.mobileMode)("drag-scroll-disabled",t.dragging&&t.signaturesService.mobileMode),Ao(1),Fs("width",t.workingAreaWidth,"px")("height",t.workingAreaHeight,"px"),Ao(2),as("ngForOf",t.signList),Ao(1),as("src",t.imgContent),Ao(1),as("ngIf",t.emptySign()),Ao(1),as("src",t.pdfContent)("useBrowserLocale",!0)("textLayer",!1),Ao(3),Ks(t.resource.title),Ao(2),el("",Mu(21,27,"lang.page")," ",t.currentPage," / ",t.pages.length,""),Ao(2),as("cancelText",Mu(24,29,"lang.cancel")),Ao(3),as("ngForOf",t.pages),Ao(1),as("ngIf",t.pages.length>1),Ao(5),Ks(Mu(32,31,"lang.save")),Ao(4),Ks(Mu(36,33,"lang.cancel")))},directives:[JC,TS,OS,xS,nA,vh,GC,CM,eS,yh,bO,AS,XC,FC,lS,kS,$C,UC,DM,BC,CS,ZC],pipes:[yP,Wh],styles:[".containerMobile[_ngcontent-%COMP%]{flex-direction:column}.containerMobile[_ngcontent-%COMP%] .signPosForm[_ngcontent-%COMP%]{flex:none!important;height:auto}.containerMobile[_ngcontent-%COMP%] .signatureContainer[_ngcontent-%COMP%], .signPosForm[_ngcontent-%COMP%]{flex:1}.signatureContainer[_ngcontent-%COMP%]{position:relative;overflow:auto;width:1050px;display:flex;justify-content:center}.posSignButton[_ngcontent-%COMP%]{position:sticky;top:0;left:50%;transform:translateX(-50%)}.signature[_ngcontent-%COMP%]{z-index:2;position:absolute;border:1px dashed var(--ion-color-danger);background:rgba(var(--ion-color-danger-rgb),.6) none repeat scroll 0 0;font-weight:700;font-size:20px;color:#fff;height:110px;display:flex;align-items:center;justify-content:center}.signDisabled[_ngcontent-%COMP%]{z-index:1;opacity:.2;cursor:pointer}.signUserName[_ngcontent-%COMP%]{position:absolute;font-size:12px;bottom:20px;font-weight:400;color:#fff;font-style:italic}.chip-item-content[_ngcontent-%COMP%]{z-index:9999;position:absolute;margin:0;bottom:0}.chip-item[_ngcontent-%COMP%]{font-size:7px;width:15px;height:15px;padding:0;margin:0 5px;color:#fff;border-color:#fff;justify-content:center}img[_ngcontent-%COMP%]{pointer-events:none}.paginate-left[_ngcontent-%COMP%]{left:20px}.paginate-left[_ngcontent-%COMP%], .paginate-right[_ngcontent-%COMP%]{position:absolute;top:40%;transform:translateY(-50%);--background:hsla(0,0%,77.6%,0.5019607843137255);--color:#666}.paginate-right[_ngcontent-%COMP%]{right:20px}.page-info[_ngcontent-%COMP%]{position:absolute;bottom:70px;height:30px;width:auto;max-width:70%;color:rgba(var(--ion-color-dark-rgb),.8);font-size:12px;font-weight:300;line-height:30px;display:flex;align-items:center;justify-content:center;opacity:.5;left:50%;transform:translateX(-50%);font-weight:500;transition:all .3s ease-in-out;z-index:9999}.page-info-doc[_ngcontent-%COMP%]{max-width:80%;background-color:#f1f4f4;border-radius:14px;padding:0 20px;z-index:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.page-info-page[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:0 14px 14px 0;padding:0 20px;background:#fff;border:1px solid #ecf0f1;margin-left:-15px;height:28px;white-space:pre;display:flex;align-items:center}.page-info[_ngcontent-%COMP%]:hover{opacity:1}.hide[_ngcontent-%COMP%]{display:none}"]}),Zq),Xq=((Yq=function(){function e(){S(this,e),this.fileDropped=new Bu,this.disabled=!1,this.background="none",this.opacity="1"}return C(e,[{key:"onDragOver",value:function(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="#9ecbec",this.opacity="0.8")}},{key:"onDragLeave",value:function(e){this.disabled||(e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1")}},{key:"ondrop",value:function(e){if(!this.disabled){e.preventDefault(),e.stopPropagation(),this.background="rgba(255,255,255,0)",this.opacity="1";var t=e.dataTransfer.files;t.length>0&&this.fileDropped.emit(t)}}}]),e}()).\u0275fac=function(e){return new(e||Yq)},Yq.\u0275dir=wt({type:Yq,selectors:[["","appUploadFileDragDrop",""]],hostVars:4,hostBindings:function(e,t){1&e&&ys("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)}),2&e&&Fs("background-color",t.background)("opacity",t.opacity)},inputs:{disabled:"disabled"},outputs:{fileDropped:"fileDropped"}}),Yq),Kq=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},Jq=["appVisaWorkflow"],$q=["rightContent"],eY=["docToUpload"];function tY(e,t){1&e&&cs(0,"ion-icon",34)}function nY(e,t){1&e&&cs(0,"ion-icon",35)}function iY(e,t){1&e&&cs(0,"i",36)}function rY(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-buttons",2),ls(2,"ion-button",22),ys("click",function(){var e=t.$implicit;return e.mainDocument=!e.mainDocument}),Ou(3,"translate"),Ou(4,"translate"),is(5,tY,1,0,"ion-icon",23),is(6,nY,1,0,"ion-icon",24),us(),us(),ls(7,"ion-item",25),ls(8,"ion-label",26),Xs(9),Ou(10,"translate"),us(),ls(11,"ion-input",27),ys("ngModelChange",function(e){return t.$implicit.reference=e}),Ou(12,"translate"),us(),us(),ls(13,"ion-item",25),ls(14,"ion-label",26),Xs(15),Ou(16,"translate"),us(),ls(17,"ion-input",28),ys("ngModelChange",function(e){return t.$implicit.title=e}),Ou(18,"translate"),us(),us(),ls(19,"ion-buttons",5),ls(20,"ion-button",29),ys("click",function(){rn(n);var e=t.index;return ks(2).signPos(e)}),Ou(21,"translate"),is(22,iY,1,0,"i",30),cs(23,"ion-icon",31),us(),ls(24,"ion-button",32),ys("click",function(){rn(n);var e=t.index;return ks(2).deleteFile(e)}),Ou(25,"translate"),cs(26,"ion-icon",33),us(),us(),us()}if(2&e){var i=t.$implicit,r=t.index,o=ks(2);Ao(2),as("title",i.mainDocument?Mu(3,15,"lang.docToSign"):Mu(4,17,"lang.attachDocToSign")),Ao(3),as("ngIf",i.mainDocument),Ao(1),as("ngIf",!i.mainDocument),Ao(3),Ks(Mu(10,19,"lang.reference")),Ao(2),Es("placeholder",Mu(12,21,"lang.fileReference")),as("maxlength",53)("ngModel",i.reference)("disabled",!i.mainDocument),Ao(4),Js("",Mu(16,23,"lang.subject")," *"),Ao(2),Es("placeholder",Mu(18,25,"lang.filename")),as("ngModel",i.title),Ao(3),as("disabled",!i.mainDocument)("title",Mu(21,27,"lang.setSignaturesPosition")),Ao(2),as("ngIf",void 0!==o.filesToUpload[r].signPos&&o.filesToUpload[r].signPos.length>0),Ao(2),as("title",Mu(25,29,"lang.delete"))}}function oY(e,t){if(1&e&&(ls(0,"ion-list"),ls(1,"ion-list-header"),ls(2,"ion-label",1),Xs(3),Ou(4,"translate"),us(),us(),is(5,rY,27,31,"ion-item",21),us()),2&e){var n=ks();Ao(3),Ks(Mu(4,2,"lang.documentsToUpload")),Ao(2),as("ngForOf",n.filesToUpload)}}function aY(e,t){1&e&&cs(0,"app-visa-workflow",37,38),2&e&&as("editMode",!0)}var sY,lY=((sY=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){S(this,e),this.http=t,this.translate=n,this.router=i,this.menu=r,this.signaturesService=o,this.viewContainerRef=a,this.notificationService=s,this.authService=l,this.loadingController=u,this.alertController=c,this.datePipe=d,this.modalController=h,this.loading=!1,this.filesToUpload=[],this.errors=[],this.fromDocument=null}return C(e,[{key:"ngOnInit",value:function(){}},{key:"ionViewWillEnter",value:function(){this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.filesToUpload=[],this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),void 0!==window.history.state.documentId&&(this.fromDocument=window.history.state.documentId,this.getDocumentData(this.fromDocument))}},{key:"getDocumentData",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/documents/"+e).pipe(cw(function(i){var r="",o=i.document.reference.split("/");(o=o.slice(3,o.length)).length>0&&(r=o.join("/")),t.filesToUpload.push({title:i.document.title,reference:r,mainDocument:!0,content:"",linkId:i.document.linkId,metadata:i.document.metadata}),t.getDocumentContent(e),t.appVisaWorkflow.loadWorkflow(i.document.workflow.map(function(e){return e.userSignatureModes.unshift("visa"),Object.assign(Object.assign({},e),{processDate:null,current:!1,role:"visa"===e.mode?"visa":e.signatureMode,modes:e.userSignatureModes})}));for(var a=0;a<i.document.attachments.length;a++)t.getAttachment(i.document.attachments[a].id);n(!0)}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()})}},{key:"getDocumentContent",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/documents/".concat(e,"/content?type=original")).pipe(cw(function(e){t.filesToUpload[0].content=e.encodedDocument,n(!0)}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()})}},{key:"getAttachment",value:function(e){var t=this;return new Promise(function(n){t.http.get("../rest/attachments/"+e).pipe(cw(function(e){t.filesToUpload.push({title:e.attachment.title,mainDocument:!1,content:e.attachment.encodedDocument}),n(!0)}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()})}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent")}},{key:"onSubmit",value:function(){this.isValid()&&this.promptSaveDoc()}},{key:"promptSaveDoc",value:function(){return Kq(this,void 0,void 0,_().mark(function e(){var t,n=this;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({cssClass:"alert-info-no-msg",header:this.translate.instant("lang.areYouSure"),inputs:[{name:"note",id:"note",type:"textarea",placeholder:this.translate.instant("lang.addNote")}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(e){n.loadingController.create({message:n.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return Kq(n,void 0,void 0,_().mark(function n(){var i,r;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:t.present(),i=this.formatData(e.note),r=0;case 3:if(!(r<i.length)){n.next=9;break}return n.next=6,this.saveDocument(i[r],r);case 6:r++,n.next=3;break;case 9:t.dismiss(),0===this.errors.length&&(this.notificationService.success("lang.documentsImported"),this.router.navigate(["/home"]));case 10:case"end":return n.stop()}},n,this)}))})}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"saveDocument",value:function(e,t){var n=this;return new Promise(function(t){n.http.post("../rest/documents",e).pipe(cw(function(){n.errors=[]}),fw(function(){return t(!0)}),Qb(function(t){return n.errors.push(e.title),n.notificationService.handleErrors(t),Iy(!1)})).subscribe()})}},{key:"formatData",value:function(e){var t=this,n=new Date,i=null,r=null;""!==e&&(i={value:e,creator:"".concat(this.authService.user.firstname," ").concat(this.authService.user.lastname),creationDate:this.datePipe.transform(n,"dd-MM-y")});var o=[],a=this.filesToUpload.filter(function(e){return e.mainDocument}),s=this.filesToUpload.filter(function(e){return!e.mainDocument});return a.length>1&&(r=this.datePipe.transform(n,"ddMMYhmmss")+"_"+Math.random().toString(36).substr(2,9)),a.forEach(function(e){var a={};null!==t.fromDocument&&e.metadata.forEach(function(e){a[e.label]=e.value});var l="";""!==e.reference&&(l=t.datePipe.transform(n,"y/MM/dd")+"/"+e.reference),o.push({title:e.title,reference:l,encodedDocument:e.content,isZipped:!1,linkId:null!==t.fromDocument?e.linkId:r,sender:"".concat(t.authService.user.firstname," ").concat(t.authService.user.lastname),notes:i,attachments:s.map(function(e){return{title:e.title,encodedDocument:e.content}}),workflow:t.appVisaWorkflow.getCurrentWorkflow().map(function(n,i){return{userId:n.userId,mode:t.authService.getWorkflowMode(n.role),signatureMode:t.authService.getSignatureMode(n.role),signaturePositions:void 0!==n.signaturePositions?t.formatPositions(n.signaturePositions.filter(function(t){return t.mainDocument===e.mainDocument&&void 0!==e.signPos})).map(function(e){return{page:e.page,positionX:e.position.positionX,positionY:e.position.positionY}}):[]}}),metadata:a})}),o}},{key:"formatPositions",value:function(e){return delete e.mainDocument,e}},{key:"dndUploadFile",value:function(e){this.uploadTrigger({target:{files:[e[0]]}})}},{key:"uploadTrigger",value:function(e){var t=this;this.loadingController.create({message:this.translate.instant("lang.loadingDocument"),spinner:"dots"}).then(function(n){return Kq(t,void 0,void 0,_().mark(function t(){var i,r,o=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n.present(),e.target.files&&e.target.files[0]&&this.isExtensionAllowed(e.target.files)){for(i=function(t){var i=e.target.files[t].name,r={title:i.substr(0,i.lastIndexOf(".")),reference:i.substr(0,i.lastIndexOf(".")).substr(0,53),mainDocument:!0,content:""},a=new FileReader;a.readAsArrayBuffer(e.target.files[t]),a.onload=function(e){r.mainDocument=0===o.filesToUpload.length,r.reference=0===o.filesToUpload.length?r.reference:"",r.content=o.getBase64Document(e.target.result),o.filesToUpload.push(r),1===o.filesToUpload.length&&setTimeout(function(){o.menu.open("right-menu")},500)},t===e.target.files.length-1&&n.dismiss()},r=0;r<e.target.files.length;r++)i(r);this.fileImport.nativeElement.value=""}else this.loading=!1,n.dismiss();case 1:case"end":return t.stop()}},t,this)}))})}},{key:"isExtensionAllowed",value:function(e){for(var t=0;t<e.length;t++)if("pdf"!==e[t].name.toLowerCase().split(".").pop())return this.notificationService.error("lang.onlyPdfAuthorized"),!1;return!0}},{key:"getBase64Document",value:function(e){var t=new Uint8Array(e).reduce(function(e,t){return e+String.fromCharCode(t)},"");return btoa(t)}},{key:"deleteFile",value:function(e){this.filesToUpload.splice(e,1)}},{key:"signPos",value:function(e){return Kq(this,void 0,void 0,_().mark(function t(){var n,i,r,o=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this.appVisaWorkflow.getCurrentWorkflow().length>0)){t.next=14;break}return this.appVisaWorkflow.getCurrentWorkflow().forEach(function(e,t){void 0===e.signaturePositions&&(o.appVisaWorkflow.visaWorkflow[t].signaturePositions=[])}),t.next=4,this.modalController.create({component:Qq,cssClass:"custom-alert-fullscreen",componentProps:{workflow:this.appVisaWorkflow.getCurrentWorkflow(),resource:this.filesToUpload[e],pdfContent:"data:application/pdf;base64,"+this.filesToUpload[e].content}});case 4:return n=t.sent,t.next=7,n.present();case 7:return t.next=9,n.onWillDismiss();case 9:i=t.sent,void 0!==(r=i.data)&&(this.filesToUpload[e].signPos=r,this.appVisaWorkflow.setPositionsWorkfow(this.filesToUpload[e],r)),t.next=15;break;case 14:this.notificationService.error("lang.mustSetWorkflowBeforeSignPositions");case 15:case"end":return t.stop()}},t,this)}))}},{key:"isValid",value:function(){return this.filesToUpload.filter(function(e){return""===e.title}).length>0?(this.notificationService.error("lang.subjectMandatory"),!1):0===this.filesToUpload.filter(function(e){return e.mainDocument}).length?(this.notificationService.error("lang.mainDocumentMandatory"),!1):0!==this.appVisaWorkflow.getCurrentWorkflow().length||(this.notificationService.error("lang.workflowUserstMandatory"),this.menu.open("right-menu"),!1)}}]),e}()).\u0275fac=function(e){return new(e||sY)(os(ub),os(mP),os(Ux),os(hE),os(OP),os(cu),os(_P),os(TP),os(dE),os(cE),os(Gh),os(fE))},sY.\u0275cmp=pt({type:sY,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&(Xu(Jq,1),Xu($q,3),Xu(eY,1)),2&e&&(Qu(n=Ju())&&(t.appVisaWorkflow=n.first),Qu(n=Ju())&&(t.rightContent=n.first),Qu(n=Ju())&&(t.fileImport=n.first))},features:[bl([Gh])],decls:31,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],[1,"ion-text-center"],["slot","end"],["menu","right-menu"],["name","list-outline"],[2,"display","flex","flex-direction","column","height","100%"],[4,"ngIf"],["type","file","name","files[]","multiple","","accept","application/pdf",2,"display","none",3,"change"],["docToUpload",""],["appUploadFileDragDrop","",1,"dnd-area",3,"fileDropped"],["fill","outline","color","medium","size","large",3,"click"],["lines","none",1,"ion-text-center","no-background"],["color","medium"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["rightContent",""],[4,"ngFor","ngForOf"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"title","click"],["slot","icon-only","name","pencil-outline",4,"ngIf"],["slot","icon-only","name","document-attach-outline",4,"ngIf"],[2,"width","100%"],["position","floating","color","secondary"],["matInput","","type","text",3,"placeholder","maxlength","ngModel","disabled","ngModelChange"],["matInput","","type","text",3,"placeholder","ngModel","ngModelChange"],["fill","clear","slot","icon-only","shape","round","color","primary",3,"disabled","title","click"],["class","badge-sign-pos",4,"ngIf"],["slot","icon-only","name","contract-outline"],["fill","clear","slot","icon-only","shape","round","color","danger",3,"title","click"],["slot","icon-only","name","trash-outline"],["slot","icon-only","name","pencil-outline"],["slot","icon-only","name","document-attach-outline"],[1,"badge-sign-pos"],[2,"display","contents",3,"editMode"],["appVisaWorkflow",""]],template:function(e,t){if(1&e){var n=ps();ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),us(),ls(4,"ion-title",4),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-buttons",5),ls(8,"ion-menu-button",6),cs(9,"ion-icon",7),us(),us(),us(),us(),ls(10,"ion-content"),ls(11,"div",8),is(12,oY,6,4,"ion-list",9),ls(13,"input",10,11),ys("change",function(e){return t.uploadTrigger(e)}),us(),ls(15,"div",12),ys("fileDropped",function(e){return t.dndUploadFile(e)}),ls(16,"ion-button",13),ys("click",function(){return rn(n),rs(14).click()}),Xs(17),Ou(18,"translate"),us(),ls(19,"ion-item",14),ls(20,"ion-label",15),Xs(21),Ou(22,"translate"),us(),us(),us(),us(),us(),ls(23,"ion-footer",16),ls(24,"div",17),ls(25,"ion-button",18),ys("click",function(){return t.onSubmit()}),ls(26,"ion-label",19),Xs(27),Ou(28,"translate"),us(),us(),us(),us(),is(29,aY,2,1,"ng-template",null,20,nc)}2&e&&(as("translucent",!0),Ao(5),Ks(Mu(6,6,"lang.newDocumentToVisa")),Ao(7),as("ngIf",t.filesToUpload.length>0),Ao(5),Js(" ",Mu(18,8,"lang.chooseDocuments")," "),Ao(4),Js(" ",Mu(22,10,"lang.dndDocuments")," "),Ao(6),Ks(Mu(28,12,"lang.validate")))},directives:[JC,TS,BC,hS,OS,$C,GC,yh,Xq,FC,rS,lS,XC,uS,cS,vh,iS,iA,Sy,fm,Zm,FW],pipes:[yP],styles:[".dnd-area[_ngcontent-%COMP%]{border:5px dashed;margin:20px;text-align:center;color:grey;padding:50px 10px;flex:1;align-items:center;display:flex;flex-direction:column;justify-content:center}.no-background[_ngcontent-%COMP%]{--background:none} .alert-info-no-msg .alert-message{display:none} .alert-info-no-msg .alert-title{color:var(--ion-color-primary)}.badge-sign-pos[_ngcontent-%COMP%]{width:10px;height:10px;background:var(--ion-color-danger);position:absolute;top:0;right:0;border-radius:5px}"]}),sY),uY=["searchInput"];function cY(e,t){if(1&e){var n=ps();ls(0,"ion-searchbar",6,7),ys("ngModelChange",function(e){return rn(n),ks().searchValue=e})("ionChange",function(e){return rn(n),ks().getDatas(e)}),Ou(2,"translate"),us()}2&e&&as("ngModel",ks().searchValue)("placeholder",Mu(2,2,"lang.search"))}function dY(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-checkbox",10),ys("ionChange",function(e){return rn(n),ks(2).selectItem(e.detail.value)}),us(),ls(2,"ion-label"),Xs(3),us(),ls(4,"ion-note",11),Xs(5),us(),us()}if(2&e){var i=t.$implicit;Ao(1),as("value",i),Ao(2),$s("",i.firstname," ",i.lastname,""),Ao(2),Ks(i.email)}}function hY(e,t){if(1&e&&(ls(0,"ion-list",8),is(1,dY,6,4,"ion-item",9),us()),2&e){var n=ks();Ao(1),as("ngForOf",n.itemList)}}function fY(e,t){1&e&&(ls(0,"ion-label",12),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Ks(Mu(2,1,"lang.noItem")))}function pY(e,t){if(1&e){var n=ps();ls(0,"ion-chip",13),ys("click",function(){rn(n);var e=t.index;return ks().removeItem(e)}),ls(1,"ion-label",14),Xs(2),us(),cs(3,"ion-icon",15),us()}if(2&e){var i=t.$implicit;Ao(2),$s("",i.firstname," ",i.lastname,"")}}function gY(e,t){if(1&e){var n=ps();ls(0,"ion-buttons",11),ls(1,"ion-button",16),ys("click",function(){return rn(n),ks().toggleEdit()}),ls(2,"ion-label",17),Xs(3),Ou(4,"translate"),us(),us(),us()}2&e&&(Ao(3),Ks(Mu(4,1,"lang.edit")))}var vY,mY=((vY=function(){function e(t,n){S(this,e),this.http=t,this.notificationService=n,this.currentItems=[],this.selectedOpt=new Bu,this.myControl=new Nm,this.loading=!1,this.searchValue="",this.editMode=!1,this.itemList=[]}return C(e,[{key:"ngOnInit",value:function(){}},{key:"getDatas",value:function(e){var t=this;""===e.detail.value?this.itemList=[]:this.http.get("../rest/autocomplete/users?search="+e.detail.value).pipe(cw(function(e){t.itemList=e}),Qb(function(e){return t.notificationService.handleErrors(e),Iy(!1)})).subscribe()}},{key:"selectItem",value:function(e){this.currentItems.push(e),this.searchValue="",this.itemList=[],this.editMode=!1,this.selectedOpt.emit(e)}},{key:"removeItem",value:function(e){this.currentItems.splice(e,1)}},{key:"toggleEdit",value:function(){var e=this;this.editMode=!this.editMode,this.editMode&&setTimeout(function(){e.searchInput.setFocus()},0)}}]),e}()).\u0275fac=function(e){return new(e||vY)(os(ub),os(_P))},vY.\u0275cmp=pt({type:vY,selectors:[["plugin-autocomplete"]],viewQuery:function(e,t){var n;1&e&&Xu(uY,1),2&e&&Qu(n=Ju())&&(t.searchInput=n.first)},inputs:{currentItems:"currentItems",singleMode:"singleMode",required:"required",options:["datas","options"],routeDatas:"routeDatas",placeholder:["labelPlaceholder","placeholder"],key:["targetSearchKey","key"],subInfoKey:"subInfoKey"},outputs:{selectedOpt:"triggerEvent"},decls:8,vars:5,consts:[[3,"ngModel","placeholder","ngModelChange","ionChange",4,"ngIf"],["class","item-list",4,"ngIf"],["lines","none"],["color","medium","style","font-style: italic;",4,"ngIf"],["style","height: auto;",3,"click",4,"ngFor","ngForOf"],["slot","end",4,"ngIf"],[3,"ngModel","placeholder","ngModelChange","ionChange"],["searchInput",""],[1,"item-list"],[4,"ngFor","ngForOf"],["color","primary","slot","start",3,"value","ionChange"],["slot","end"],["color","medium",2,"font-style","italic"],[2,"height","auto",3,"click"],[1,"ion-text-wrap"],["name","close-circle"],["size","small",3,"click"],["color","medium"]],template:function(e,t){1&e&&(is(0,cY,3,4,"ion-searchbar",0),is(1,hY,2,1,"ion-list",1),ls(2,"ion-list"),ls(3,"ion-item",2),is(4,fY,3,3,"ion-label",3),ls(5,"p"),is(6,pY,4,2,"ion-chip",4),us(),is(7,gY,5,3,"ion-buttons",5),us(),us()),2&e&&(as("ngIf",t.editMode),Ao(1),as("ngIf",t.itemList.length>0),Ao(3),as("ngIf",0===t.currentItems.length),Ao(2),as("ngForOf",t.currentItems),Ao(1),as("ngIf",!t.editMode))},directives:[yh,uS,rS,vh,_S,iA,fm,Zm,jC,$k,lS,pS,UC,$C,BC,FC],pipes:[yP],styles:[""]}),vY),yY=function(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},bY=["appVisaWorkflow"],wY=["rightContent"];function _Y(e,t){1&e&&cs(0,"ion-icon",26)}function xY(e,t){1&e&&cs(0,"ion-icon",27)}function kY(e,t){1&e&&cs(0,"ion-icon",28)}function AY(e,t){if(1&e){var n=ps();ls(0,"ion-chip",21),ys("click",function(){rn(n);var e=ks().$implicit;return ks(2).removeFilter(e)}),Ou(1,"translate"),is(2,_Y,1,0,"ion-icon",22),is(3,xY,1,0,"ion-icon",23),is(4,kY,1,0,"ion-icon",24),ls(5,"ion-label"),Xs(6),us(),cs(7,"ion-icon",25),us()}if(2&e){var i=ks().$implicit;as("title",Mu(1,5,"lang."+i.id+"Search")),Ao(2),as("ngIf","title"===i.id),Ao(1),as("ngIf","reference"===i.id),Ao(1),as("ngIf","documentId"===i.id),Ao(2),Ks(i.val)}}function CY(e,t){if(1&e){var n=ps();ls(0,"ion-chip",21),ys("click",function(){rn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).removeFilter(i,e.id)}),Ou(1,"translate"),cs(2,"ion-icon",30),ls(3,"ion-label"),Xs(4),Ou(5,"translate"),us(),cs(6,"ion-icon",25),us()}if(2&e){var i=t.$implicit;as("title",Mu(1,2,"lang.workflowStatesSearch")),Ao(4),Ks(Mu(5,4,i.label))}}function SY(e,t){if(1&e&&(ls(0,"div"),is(1,CY,7,6,"ion-chip",29),us()),2&e){var n=ks().$implicit;Ao(1),as("ngForOf",n.val)}}function EY(e,t){if(1&e){var n=ps();ls(0,"ion-chip",21),ys("click",function(){rn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).removeFilter(i,e)}),Ou(1,"translate"),cs(2,"ion-icon",31),ls(3,"ion-label"),Xs(4),us(),cs(5,"ion-icon",25),us()}if(2&e){var i=t.$implicit;as("title",Mu(1,3,"lang.workflowUsersSearch")),Ao(4),$s("",i.firstname," ",i.lastname,"")}}function PY(e,t){if(1&e&&(ls(0,"div"),is(1,EY,6,5,"ion-chip",29),us()),2&e){var n=ks().$implicit;Ao(1),as("ngForOf",n.val)}}function DY(e,t){if(1&e&&(ls(0,"div"),is(1,AY,8,7,"ion-chip",20),is(2,SY,2,1,"div",10),is(3,PY,2,1,"div",10),us()),2&e){var n=t.$implicit;Ao(1),as("ngIf",("title"===n.id||"reference"===n.id||"documentId"===n.id)&&""!==n.val),Ao(1),as("ngIf","workflowStates"===n.id&&n.val.length>0),Ao(1),as("ngIf","workflowUsers"===n.id&&n.val.length>0)}}function OY(e,t){if(1&e){var n=ps();ls(0,"ion-toolbar",14),ls(1,"div",15),ls(2,"ion-button",16),ys("click",function(){return rn(n),ks().clearFilters()}),Ou(3,"translate"),cs(4,"ion-icon",17),us(),ls(5,"div",18),is(6,DY,4,3,"div",19),us(),us(),us()}if(2&e){var i=ks();Ao(2),as("title",Mu(3,2,"lang.clearFilters")),Ao(4),as("ngForOf",i.currentFilters)}}function MY(e,t){1&e&&(ls(0,"ion-list",32),ls(1,"ion-item",33),ls(2,"ion-label",34),Xs(3),Ou(4,"translate"),us(),us(),us()),2&e&&(Ao(3),Ks(Mu(4,1,"lang.noResult")))}function TY(e,t){1&e&&cs(0,"ion-icon",57)}function IY(e,t){1&e&&cs(0,"ion-icon",58)}function RY(e,t){1&e&&cs(0,"ion-icon",59)}function LY(e,t){if(1&e&&(ls(0,"ion-badge",60),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks().$implicit;Ao(1),Ks(Mu(2,1,"lang."+n.mode+"User"))}}var FY=function(){return["END","STOP"]};function BY(e,t){if(1&e&&(ds(0),is(1,TY,1,0,"ion-icon",52),ls(2,"span",53),Xs(3),Ou(4,"translate"),is(5,IY,1,0,"ion-icon",54),is(6,RY,1,0,"ion-icon",55),is(7,LY,3,3,"ion-badge",56),us(),hs()),2&e){var n=t.$implicit,i=t.index,r=ks(3);Ao(1),as("ngIf",i>0),Ao(1),Bs("success",null!==n.processDate&&"STOP"!==n.status)("typist-interrupt","REF"===n.status)("interrupt",null===n.processDate&&"END"===n.status||"STOP"===n.status)("current",n.current)("no-visa",null===n.processDate&&null===n.status&&!n.current),Ao(1),Js("",r.functionsService.empty(n.userDisplay)?Mu(4,15,"lang.userDeleted"):n.userDisplay,"\xa0 "),Ao(2),as("ngIf",null!==n.processDate&&"REF"!==n.status&&"STOP"!==n.status),Ao(1),as("ngIf",null!==n.processDate&&"REF"===n.status),Ao(1),as("ngIf",null===n.processDate&&(null===n.status||Au(17,FY).indexOf(n.status)>-1))}}function zY(e,t){1&e&&cs(0,"ion-icon",61)}function VY(e,t){1&e&&cs(0,"ion-icon",62)}function NY(e,t){1&e&&cs(0,"ion-icon",63)}function HY(e,t){1&e&&cs(0,"ion-icon",64)}function jY(e,t){if(1&e&&(ds(0),cs(1,"ion-icon",66),Xs(2),hs()),2&e){var n=t.$implicit;Ao(2),Js(" ",n," ")}}function UY(e,t){if(1&e&&(ls(0,"p",65),is(1,jY,3,1,"ng-container",19),us()),2&e){var n=ks().$implicit;Ao(1),as("ngForOf",n.reason)}}function WY(e,t){if(1&e){var n=ps();ls(0,"ion-button",67),ys("click",function(e){rn(n);var t=ks().$implicit,i=rs(7),r=ks(2);return e.stopPropagation(),r.toggleSlide(i,t.id)}),cs(1,"ion-icon",68),us()}}function GY(e,t){if(1&e){var n=ps();ls(0,"ion-button",67),ys("click",function(e){rn(n);var t=ks().$implicit,i=rs(7),r=ks(2);return e.stopPropagation(),r.toggleSlide(i,t.id)}),cs(1,"ion-icon",69),us()}}function qY(e,t){if(1&e){var n=ps();ls(0,"ion-item-option",50),ys("click",function(){rn(n);var e=ks().$implicit;return ks(2).openPromptProof(e)}),cs(1,"ion-icon",70),Xs(2),Ou(3,"translate"),us()}2&e&&(Ao(2),Js(" ",Mu(3,1,"lang.download")," "))}function YY(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-label"),ls(2,"ion-toolbar",37),ls(3,"ion-title",38),ls(4,"p",39),is(5,BY,8,18,"ng-container",19),us(),us(),us(),ls(6,"ion-item-sliding",40,41),ys("ionDrag",function(e){rn(n);var i=t.$implicit;return ks(2).onSliding(e,i.id)}),ls(8,"ion-item",33),is(9,zY,1,0,"ion-icon",42),is(10,VY,1,0,"ion-icon",43),is(11,NY,1,0,"ion-icon",44),is(12,HY,1,0,"ion-icon",45),ls(13,"ion-label",46),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).goTo(e.id)}),Ou(14,"translate"),ls(15,"p"),Xs(16),us(),ls(17,"h2"),Xs(18),us(),is(19,UY,2,1,"p",47),us(),ls(20,"ion-buttons",5),is(21,WY,2,0,"ion-button",48),is(22,GY,2,0,"ion-button",48),us(),us(),ls(23,"ion-item-options"),is(24,qY,4,3,"ion-item-option",49),ls(25,"ion-item-option",50),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).openActions(e)}),cs(26,"ion-icon",51),Xs(27),Ou(28,"translate"),us(),us(),us(),us(),us()}if(2&e){var i=t.$implicit,r=ks(2);Ao(5),as("ngForOf",i.workflow),Ao(4),as("ngIf","PROG"==i.state),Ao(1),as("ngIf","STOP"==i.state),Ao(1),as("ngIf","VAL"==i.state),Ao(1),as("ngIf","REF"==i.state),Ao(1),as("title",Mu(14,13,"lang.accessDocument")),Ao(3),Ks(i.reference),Ao(2),Ks(i.title),Ao(1),as("ngIf",i.reason.length>0),Ao(2),as("ngIf",r.openedLine===i.id),Ao(1),as("ngIf",r.openedLine!==i.id),Ao(2),as("ngIf","PROG"!==i.state),Ao(3),Js(" ",Mu(28,15,"lang.actions")," ")}}function ZY(e,t){if(1&e&&(ls(0,"ion-list"),ls(1,"ion-virtual-scroll",35),is(2,YY,29,17,"ion-item",36),us(),us()),2&e){var n=ks();Ao(1),as("items",n.ressources)}}function QY(e,t){if(1&e){var n=ps();ds(0),ls(1,"ion-item"),ls(2,"ion-label",76),Xs(3),Ou(4,"translate"),us(),ls(5,"ion-input",77),ys("ngModelChange",function(e){return rn(n),ks().$implicit.val=e})("keyup.enter",function(){return rn(n),ks(3).launchSearch()})("ionChange",function(){return rn(n),ks(3).checkInput()}),us(),us(),hs()}if(2&e){var i=ks().$implicit;Ao(3),Js("",Mu(4,3,"lang."+i.id+"Search")," "),Ao(2),as("ngModel",i.val)("value",i.val)}}function XY(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-label"),Xs(2),Ou(3,"translate"),us(),ls(4,"ion-checkbox",79),ys("ngModelChange",function(){rn(n);var e=t.$implicit,i=ks(2).$implicit;return ks(2).toggleItem(i,e,!e.selected)})("ngModelChange",function(e){return t.$implicit.selected=e}),us(),us()}if(2&e){var i=t.$implicit;Ao(2),Ks(Mu(3,4,i.label)),Ao(2),as("ngModel",i.selected)("checked",i.selected)("value",i.id)}}function KY(e,t){if(1&e&&(ds(0),ls(1,"ion-list-header"),ls(2,"ion-label",78),Xs(3),Ou(4,"translate"),us(),us(),is(5,XY,5,6,"ion-item",19),hs()),2&e){var n=ks().$implicit;Ao(3),Ks(Mu(4,2,"lang."+n.id+"Search")),Ao(2),as("ngForOf",n.values)}}function JY(e,t){if(1&e&&(ds(0),ls(1,"ion-list-header"),ls(2,"ion-label",78),Xs(3),Ou(4,"translate"),us(),us(),cs(5,"plugin-autocomplete",80),hs()),2&e){var n=ks().$implicit;Ao(3),Ks(Mu(4,2,"lang."+n.id+"Search")),Ao(2),as("currentItems",n.val)}}function $Y(e,t){if(1&e&&(ls(0,"ion-list"),is(1,QY,6,5,"ng-container",10),is(2,KY,6,4,"ng-container",10),is(3,JY,6,4,"ng-container",10),us()),2&e){var n=t.$implicit;Ao(1),as("ngIf","text"===n.type),Ao(1),as("ngIf","checkbox"===n.type),Ao(1),as("ngIf","autocompleteUsers"===n.type)}}function eZ(e,t){if(1&e){var n=ps();ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title",71),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"ion-content"),is(8,$Y,4,3,"ion-list",19),us(),ls(9,"ion-footer",72),ls(10,"div",73),ls(11,"ion-button",74),ys("click",function(){return rn(n),ks().onSubmit()}),ls(12,"ion-label",75),Xs(13),Ou(14,"translate"),us(),us(),us(),us()}if(2&e){var i=ks();as("translucent",!0),Ao(5),Ks(Mu(6,4,"lang.filters")),Ao(3),as("ngForOf",i.filters),Ao(5),Ks(Mu(14,6,"lang.search"))}}var tZ,nZ,iZ=((nZ=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h,f,p){S(this,e),this.http=t,this.translate=n,this.router=i,this.menu=r,this.signaturesService=o,this.viewContainerRef=a,this.notificationService=s,this.authService=l,this.loadingController=u,this.alertController=c,this.actionSheetController=d,this.datePipe=h,this.functionsService=f,this._activatedRoute=p,this.loading=!1,this.filesToUpload=[],this.errors=[],this.filters=[{id:"title",type:"text",val:"",values:[]},{id:"reference",type:"text",val:"",values:[]},{id:"documentId",type:"text",val:"",values:[]},{id:"workflowStates",type:"checkbox",val:[],values:[{id:"PROG",label:"lang.inprogress",selected:!1},{id:"STOP",label:"lang.interrupt",selected:!1},{id:"VAL",label:"lang.end",selected:!1},{id:"REF",label:"lang.refused",selected:!1}]},{id:"workflowUsers",type:"autocompleteUsers",val:[],values:[]}],this.actions=[{icon:"hand-left-outline",id:"interruptWorkflow"},{icon:"document-outline",id:"newWorkflow"}],this.ressources=[],this.currentFilters=[],this.offset=0,this.limit=10,this.count=0,this.openedLine=""}return C(e,[{key:"ngOnInit",value:function(){var e=this;this._activatedRoute.queryParamMap.subscribe(function(t){e.functionsService.empty(t.get("documentId"))||(e.documentId=t.get("documentId"),e.filters.filter(function(e){return"documentId"===e.id})[0].val=e.documentId,e.search())})}},{key:"ionViewWillEnter",value:function(){var e=this;this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),setTimeout(function(){e.menu.open("right-menu")},500)}},{key:"ionViewWillLeave",value:function(){this.signaturesService.detachTemplate("rightContent")}},{key:"toggleSlide",value:function(e,t){var n=this;e.getOpenAmount().then(function(i){0===i?(n.openedLine=t,e.open("end")):(n.openedLine="",e.close("end"))})}},{key:"onSliding",value:function(e,t){this.openedLine=1===e.detail.ratio?t:""}},{key:"onSubmit",value:function(){this.search(),this.menu.close("right-menu")}},{key:"toggleItem",value:function(e,t,n){if(n)e.val.push(t.id);else{var i=e.val.indexOf(t.id);e.val.splice(i,1)}}},{key:"formatDatas",value:function(){var e={};return JSON.parse(JSON.stringify(this.filters.filter(function(e){return"text"===e.type&&""!==e.val||"text"!==e.type&&e.val.length>0}))).forEach(function(t){e[t.id]="workflowUsers"===t.id?t.val.map(function(e){return e.id}):"workflowStates"===t.id?t.values.filter(function(e){return e.selected}).map(function(e){return e.id}):t.val}),e}},{key:"formatListDatas",value:function(e){var t=this;return e.map(function(e){return Object.assign(Object.assign({},e),{reason:t.getReason(e),currentUser:t.getCurrentUser(e)})})}},{key:"getNbFilters",value:function(){for(var e=0,t=0;t<this.currentFilters.length;t++)Array.isArray(this.currentFilters[t].val)||""===this.currentFilters[t].val||e++,Array.isArray(this.currentFilters[t].val)&&this.currentFilters[t].val.length>0&&(e+=this.currentFilters[t].val.length);return e}},{key:"openActions",value:function(e){return yY(this,void 0,void 0,_().mark(function t(){var n,i,r=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],this.actions.forEach(function(t){r.canShowButton(t.id,e)&&n.push({text:r.translate.instant("PROG"===e.state&&"newWorkflow"===t.id?"lang."+t.id+"Prog":"lang."+t.id),icon:t.icon,handler:function(){r[t.id](e)}})}),t.next=4,this.actionSheetController.create({header:this.translate.instant("lang.actions")+(null!==e.reference?" - "+e.reference:""),buttons:n});case 4:return i=t.sent,t.next=7,i.present();case 7:case"end":return t.stop()}},t,this)}))}},{key:"canShowButton",value:function(e,t){return!("interruptWorkflow"!==e||!t.canInterrupt)||!("newWorkflow"!==e||!t.canReaffect)}},{key:"search",value:function(){var e=this;this.loadingController.create({message:this.translate.instant("lang.processing"),spinner:"dots"}).then(function(t){return yY(e,void 0,void 0,_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.present(),e.next=3,this.launchSearch();case 3:t.dismiss();case 4:case"end":return e.stop()}},e,this)}))})}},{key:"launchSearch",value:function(){var e=this;return this.ressources=[],this.offset=0,this.refreshCurrentFilter(),new Promise(function(t){e.http.post("../rest/search/documents?limit=10&offset=0",e.formatDatas()).pipe(cw(function(n){e.ressources=e.formatListDatas(n.documents),e.count=n.count,e.infiniteScroll.disabled=!1,t(!0)}),Qb(function(n){return e.notificationService.handleErrors(n),t(!1),Iy(!1)})).subscribe()})}},{key:"refreshCurrentFilter",value:function(){var e=this;this.currentFilters=JSON.parse(JSON.stringify(this.filters.filter(function(t){return!e.functionsService.empty(t.val)}))),this.currentFilters.filter(function(e){return"workflowStates"===e.id}).length>0&&(this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].val=this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].values.filter(function(e){return e.selected}),0===this.currentFilters.filter(function(e){return"workflowStates"===e.id})[0].val.length&&(this.currentFilters=this.currentFilters.filter(function(e){return"workflowStates"!==e.id})))}},{key:"loadData",value:function(e){var t=this;this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/search/documents?limit="+this.limit+"&offset="+this.offset,this.formatDatas()).pipe(cw(function(n){t.ressources=t.ressources.concat(t.formatListDatas(n.documents)),e.target.complete(),t.count===t.ressources.length&&(e.target.disabled=!0)})).subscribe())}},{key:"interruptWorkflow",value:function(e){return yY(this,void 0,void 0,_().mark(function t(){var n=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t){return yY(n,void 0,void 0,_().mark(function n(){var i,r=this;return _().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.alertController.create({header:this.translate.instant("lang.warning"),message:this.translate.instant("lang.warnInterrupt"),buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(){r.loadingController.create({message:r.translate.instant("lang.processing"),spinner:"dots"}).then(function(n){return yY(r,void 0,void 0,_().mark(function i(){return _().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return n.present(),i.next=3,this.launchInterrupt(e);case 3:this.launchSearch(),t(!0),n.dismiss();case 6:case"end":return i.stop()}},i,this)}))})}}]});case 2:return i=n.sent,n.next=5,i.present();case 5:case"end":return n.stop()}},n,this)}))}));case 1:case"end":return t.stop()}},t)}))}},{key:"launchInterrupt",value:function(e){var t=this;return new Promise(function(n){t.http.put("../rest/documents/".concat(e.id,"/workflows/interrupt"),{}).pipe(cw(function(){t.notificationService.success("lang.documentInterrupted"),n(!0)}),Qb(function(e){return t.notificationService.handleErrors(e),n(!1),Iy(!1)})).subscribe()})}},{key:"newWorkflow",value:function(e){return yY(this,void 0,void 0,_().mark(function t(){return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0="PROG"===e.state,!t.t0){t.next=4;break}return t.next=4,this.interruptWorkflow(e);case 4:this.router.navigate(["/indexation"],{state:{documentId:e.id}});case 5:case"end":return t.stop()}},t,this)}))}},{key:"openPromptProof",value:function(e){return yY(this,void 0,void 0,_().mark(function t(){var n,i=this;return _().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.alertController.create({cssClass:"promptProof",header:this.translate.instant("lang.download"),inputs:[{name:"option1",type:"radio",label:this.translate.instant("lang.proof"),value:"onlyProof",checked:!0},{name:"option1",type:"radio",label:this.translate.instant("lang.completeFolder"),value:"all"}],buttons:[{text:this.translate.instant("lang.cancel"),role:"cancel",cssClass:"secondary",handler:function(){}},{text:this.translate.instant("lang.validate"),handler:function(t){return yY(i,void 0,void 0,_().mark(function i(){return _().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,this.downloadProof(e,t);case 2:n.dismiss();case 3:case"end":return i.stop()}},i,this)}))}}]});case 2:return n=t.sent,t.next=5,n.present();case 5:case"end":return t.stop()}},t,this)}))}},{key:"downloadProof",value:function(e,t){var n=this,i="onlyProof"===t?"&onlyProof=true":"";return new Promise(function(t){n.http.get("../rest/documents/".concat(e.id,"/proof?mode=stream").concat(i),{responseType:"blob"}).pipe(cw(function(i){var r=new Date,o="proof_"+e.id+"_"+n.datePipe.transform(r,"dd-MM-y")+"."+i.type.replace("application/",""),a=document.createElement("a");a.href=window.URL.createObjectURL(i),a.setAttribute("download",o),document.body.appendChild(a),a.click(),t(!0)}),Qb(function(e){return n.notificationService.handleErrors(e),t(!1),Iy(!1)})).subscribe()})}},{key:"getReason",value:function(e){return e.workflow.map(function(e){return e.reason}).filter(function(e){return null!==e})}},{key:"getCurrentUser",value:function(e){var t=e.workflow.filter(function(e){return!0===e.current});return t.length>0?t[0].userId:null}},{key:"goTo",value:function(e){this.router.navigate(["/documents/"+e])}},{key:"clearFilters",value:function(){for(var e=0;e<this.filters.length;e++)Array.isArray(this.filters[e].val)||""===this.filters[e].val||(this.filters[e].val=""),Array.isArray(this.filters[e].val)&&(this.filters[e].val=[],this.filters[e].values=this.filters[e].values.map(function(e){return Object.assign(Object.assign({},e),{selected:!1})}));this.ressources.length>0&&this.launchSearch()}},{key:"removeFilter",value:function(e,t){if(Array.isArray(e.val))if("workflowStates"===e.id)this.filters.find(function(t){return t.id===e.id}).values.filter(function(e){return e.id===t})[0].selected=!1;else{var n=e.val.indexOf(t);this.filters.filter(function(t){return t.id===e.id})[0].val.splice(n,1)}else this.filters.find(function(t){return t.id===e.id}).val="";this.launchSearch()}},{key:"getLabel",value:function(e){return this.filters.filter(function(e){return"workflowStates"===e.id})[0].values.find(function(t){return t.id===e}).label}},{key:"checkInput",value:function(){""===this.filters.find(function(e){return"title"===e.id}).val&&""===this.filters.find(function(e){return"reference"===e.id}).val&&""===this.filters.find(function(e){return"documentId"===e.id}).val&&0===this.filters.find(function(e){return"workflowStates"===e.id}).val.length&&0===this.filters.find(function(e){return"workflowUsers"===e.id}).val.length&&(this.clearFilters(),this.currentFilters=[])}}]),e}()).\u0275fac=function(e){return new(e||nZ)(os(ub),os(mP),os(Ux),os(hE),os(OP),os(cu),os(_P),os(TP),os(dE),os(cE),os(uE),os(Gh),os(HU),os(w_))},nZ.\u0275cmp=pt({type:nZ,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&(Xu(bY,1),Xu(wY,3),Xu(tS,1)),2&e&&(Qu(n=Ju())&&(t.appVisaWorkflow=n.first),Qu(n=Ju())&&(t.rightContent=n.first),Qu(n=Ju())&&(t.infiniteScroll=n.first))},features:[bl([Gh])],decls:22,vars:14,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["class","no-result",4,"ngIf"],[4,"ngIf"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["rightContent",""],["color","primary",2,"padding-left","1px","padding-right","1px"],[2,"display","flex"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],[4,"ngFor","ngForOf"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngIf"],["outline","","color","primary",2,"background","white",3,"title","click"],["name","document-text-outline",4,"ngIf"],["name","compass-outline",4,"ngIf"],["name","bookmark-outline",4,"ngIf"],["name","close-circle"],["name","document-text-outline"],["name","compass-outline"],["name","bookmark-outline"],["outline","","color","primary","style","background: white;",3,"title","click",4,"ngFor","ngForOf"],["name","swap-horizontal-outline"],["name","person-outline"],[1,"no-result"],["lines","none"],["color","medium",1,"no-result-label"],["approxItemHeight","165px",3,"items"],[4,"virtualItem"],["color","light"],["size","small"],[2,"display","flex","align-items","center","white-space","pre","overflow-x","auto","overflow-y","hidden"],[3,"ionDrag"],["slidingItem",""],["color","primary","slot","start","name","hourglass-outline",4,"ngIf"],["color","danger","slot","start","name","hand-left-outline",4,"ngIf"],["color","success","slot","start","name","thumbs-up-outline",4,"ngIf"],["color","danger","slot","start","name","thumbs-down-outline",4,"ngIf"],[2,"cursor","pointer",3,"title","click"],["class","primary",4,"ngIf"],["slot","icon-only","fill","clear","shape","round",3,"click",4,"ngIf"],["color","primary",3,"click",4,"ngIf"],["color","primary",3,"click"],["slot","bottom","name","settings-sharp"],["name","chevron-forward-outline",4,"ngIf"],[1,"workflow-item","success"],["name","thumbs-up-outline",4,"ngIf"],["name","thumbs-down-outline",4,"ngIf"],["color","medium",4,"ngIf"],["name","chevron-forward-outline"],["name","thumbs-up-outline"],["name","thumbs-down-outline"],["color","medium"],["color","primary","slot","start","name","hourglass-outline"],["color","danger","slot","start","name","hand-left-outline"],["color","success","slot","start","name","thumbs-up-outline"],["color","danger","slot","start","name","thumbs-down-outline"],[1,"primary"],["name","chatbox-outline"],["slot","icon-only","fill","clear","shape","round",3,"click"],["color","medium","slot","icon-only","name","arrow-forward-outline"],["color","medium","slot","icon-only","name","arrow-back-outline"],["slot","bottom","name","ribbon-sharp"],[1,"ion-text-center"],[1,"ion-no-border"],[1,"ion-text-center",2,"background","white"],["color","primary","shape","round","size","large","fill","outline",3,"click"],[2,"font-size","13px"],["color","secondary","position","floating"],[3,"ngModel","value","ngModelChange","keyup.enter","ionChange"],["color","secondary"],["slot","end",1,"workflowStates",3,"ngModel","checked","value","ngModelChange"],[3,"currentItems"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),us(),ls(4,"ion-title"),Xs(5),Ou(6,"translate"),us(),ls(7,"ion-title",4),Xs(8),Ou(9,"translate"),us(),ls(10,"ion-buttons",5),ls(11,"ion-menu-button",6),cs(12,"ion-icon",7),us(),us(),us(),is(13,OY,7,4,"ion-toolbar",8),us(),ls(14,"ion-content"),is(15,MY,5,3,"ion-list",9),is(16,ZY,3,1,"ion-list",10),ls(17,"ion-infinite-scroll",11),ys("ionInfinite",function(e){return t.loadData(e)}),cs(18,"ion-infinite-scroll-content",12),Ou(19,"translate"),us(),us(),is(20,eZ,15,8,"ng-template",null,13,nc)),2&e&&(as("translucent",!0),Ao(5),Ks(Mu(6,8,"lang.search")),Ao(3),$s("",t.count," ",Mu(9,10,"lang.results"),""),Ao(5),as("ngIf",t.currentFilters.length>0),Ao(2),as("ngIf",0===t.ressources.length),Ao(1),as("ngIf",t.ressources.length>0),Ao(2),as("loadingText",Mu(19,12,"lang.loadingMoreData")))},directives:[JC,TS,BC,hS,OS,$C,yh,GC,tS,nS,FC,vh,UC,lS,uS,rS,aE,oE,sS,aS,oS,LC,RC,tE,XC,iS,iA,fm,Zm,cS,jC,$k,mY],pipes:[yP],styles:[".line-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;grid-gap:10px;width:100%}.line-workflow[_ngcontent-%COMP%]{font-size:12px}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.secondary[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.success[_ngcontent-%COMP%]{color:var(--ion-color-success)}.workflow-item[_ngcontent-%COMP%]{display:flex;align-items:center}.no-visa[_ngcontent-%COMP%]{opacity:.3}.current[_ngcontent-%COMP%]{font-weight:700;color:var(--ion-color-primary)}.interrupt[_ngcontent-%COMP%], .typist-interrupt[_ngcontent-%COMP%]{color:var(--ion-color-danger)}.interrupt[_ngcontent-%COMP%]{text-decoration:line-through}.no-result[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}.no-result[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{width:100%;text-align:center}.no-result-label[_ngcontent-%COMP%]{font-size:50px}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap}.scrollfilters[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;display:inline-block}"]}),nZ),rZ=((tZ=function(){function e(t){S(this,e),this.latinisePipe=t}return C(e,[{key:"transform",value:function(e,t){var n=this;return null!==e?(e.sort(function(e,i){var r=n.latinisePipe.transform(e[t]).toLocaleLowerCase(),o=n.latinisePipe.transform(i[t]).toLocaleLowerCase();return r<o?-1:r>o?1:0}),e):[]}}]),e}()).\u0275fac=function(e){return new(e||tZ)(os(JM))},tZ.\u0275pipe=_t({name:"sortBy",type:tZ,pure:!0}),tZ),oZ=["rightContent"];function aZ(e,t){if(1&e){var n=ps();ls(0,"ion-chip",18),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).removeFilter(e)}),Ou(1,"translate"),cs(2,"ion-icon",19),ls(3,"ion-label"),Xs(4),Ou(5,"translate"),us(),cs(6,"ion-icon",20),us()}if(2&e){var i=t.$implicit;as("title",Mu(1,2,"lang.actions")),Ao(4),Ks(Mu(5,4,"lang."+i))}}function sZ(e,t){if(1&e){var n=ps();ls(0,"ion-chip",18),ys("click",function(){rn(n);var e=ks(2);return e.removeFilter(e.filters.user)}),Ou(1,"translate"),cs(2,"ion-icon",21),ls(3,"ion-label"),Xs(4),us(),cs(5,"ion-icon",20),us()}if(2&e){var i=ks(2);as("title",Mu(1,2,"lang.userName")),Ao(4),Ks(i.filters.user)}}function lZ(e,t){if(1&e){var n=ps();ls(0,"ion-chip",18),ys("click",function(){rn(n);var e=ks(2);return e.removeFilter(e.filters.date.start)}),Ou(1,"translate"),cs(2,"ion-icon",22),ls(3,"ion-label"),Xs(4),Ou(5,"date"),us(),cs(6,"ion-icon",20),us()}if(2&e){var i=ks(2);as("title",Mu(1,2,"lang.since")),Ao(4),Ks(Tu(5,4,i.filters.date.start,"dd/MM/yyyy"))}}function uZ(e,t){if(1&e){var n=ps();ls(0,"ion-chip",18),ys("click",function(){rn(n);var e=ks(2);return e.removeFilter(e.filters.date.end)}),Ou(1,"translate"),cs(2,"ion-icon",23),ls(3,"ion-label"),Xs(4),Ou(5,"date"),us(),cs(6,"ion-icon",20),us()}if(2&e){var i=ks(2);as("title",Mu(1,2,"lang.until")),Ao(4),Ks(Tu(5,4,i.filters.date.end,"dd/MM/yyyy"))}}function cZ(e,t){if(1&e){var n=ps();ls(0,"ion-toolbar",12),ls(1,"ion-button",13),ys("click",function(){return rn(n),ks().clearFilters()}),Ou(2,"translate"),cs(3,"ion-icon",14),us(),ls(4,"div",15),is(5,aZ,7,6,"ion-chip",16),is(6,sZ,6,4,"ion-chip",17),is(7,lZ,7,7,"ion-chip",17),is(8,uZ,7,7,"ion-chip",17),us(),us()}if(2&e){var i=ks();Ao(1),as("title",Mu(2,5,"lang.clearFilters")),Ao(4),as("ngForOf",i.filters.messageTypes),Ao(1),as("ngIf",""!==i.filters.user),Ao(1),as("ngIf",null!==i.filters.date.start),Ao(1),as("ngIf",null!==i.filters.date.end)}}function dZ(e,t){if(1&e&&(ls(0,"ion-item",28),cs(1,"ion-icon",29),ls(2,"ion-label"),ls(3,"p"),Xs(4),Ou(5,"titlecase"),Ou(6,"translate"),ls(7,"span",30),Xs(8),Ou(9,"date"),us(),Xs(10),Ou(11,"translate"),ls(12,"span",30),Xs(13),us(),us(),ls(14,"h2"),Xs(15),us(),us(),ls(16,"ion-note",5),ls(17,"p",31),Ou(18,"translate"),Xs(19),Ou(20,"translate"),Ou(21,"shorten"),Ou(22,"translate"),us(),ls(23,"p",32),Xs(24),us(),us(),us()),2&e){var n=t.$implicit,i=ks(2);Ao(1),as("name",i.aventTypesIcon[n.type]),Ao(3),Js("",Mu(5,10,Mu(6,12,"lang.the"))," "),Ao(4),Ks(Tu(9,14,n.date,"dd/MM/yyyy HH:mm")),Ao(2),Js(" ",Mu(11,17,"lang.by")," "),Ao(3),Ks(n.user),Ao(2),Ks(n.message),Ao(2),as("title",Mu(18,19,"lang.resource")+" : "+n.objectId),Ao(2),$s("",Mu(20,21,"lang."+n.objectType)," : ",null!==n.objectLabel?Iu(21,23,n.objectLabel,50,"..."):Mu(22,27,"lang.undefined"),""),Ao(5),Js("IP : ",n.ip,"")}}function hZ(e,t){if(1&e){var n=ps();ls(0,"ion-list"),ls(1,"ion-virtual-scroll",24),is(2,dZ,25,29,"ion-item",25),us(),ls(3,"ion-infinite-scroll",26),ys("ionInfinite",function(e){return rn(n),ks().loadData(e)}),cs(4,"ion-infinite-scroll-content",27),Ou(5,"translate"),us(),us()}if(2&e){var i=ks();Ao(1),as("items",i.resources),Ao(3),as("loadingText",Mu(5,2,"lang.loadingMoreData"))}}function fZ(e,t){if(1&e){var n=ps();ls(0,"ion-buttons",5),ls(1,"ion-button",42),ys("click",function(){rn(n);var e=ks(2);return e.filters.date.start=null,e.getDatas()}),cs(2,"ion-icon",43),us(),us()}}function pZ(e,t){if(1&e){var n=ps();ls(0,"ion-buttons",5),ls(1,"ion-button",42),ys("click",function(){rn(n);var e=ks(2);return e.filters.date.end=null,e.getDatas()}),cs(2,"ion-icon",43),us(),us()}}function gZ(e,t){if(1&e){var n=ps();ls(0,"ion-item",31),ls(1,"ion-checkbox",44),ys("ionChange",function(e){return rn(n),ks(2).toggleAction(e.detail)}),us(),ls(2,"ion-label"),Xs(3),us(),us()}if(2&e){var i=t.$implicit;as("title",i.label),Ao(1),as("value",i.id),Ao(2),Ks(i.label)}}function vZ(e,t){if(1&e){var n=ps();ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-back-button"),us(),ls(4,"ion-title",33),Xs(5),Ou(6,"translate"),us(),us(),us(),ls(7,"ion-content"),ls(8,"ion-list"),ls(9,"ion-item",34),ls(10,"ion-searchbar",35),ys("ionChange",function(e){return rn(n),ks().applyFilter(e.detail.value)}),Ou(11,"translate"),us(),us(),ls(12,"ion-item"),ls(13,"ion-label",36),Xs(14),Ou(15,"translate"),us(),ls(16,"ion-datetime",37),ys("ngModelChange",function(e){return rn(n),ks().filters.date.start=e})("ionChange",function(){return rn(n),ks().getDatas()}),Ou(17,"translate"),Ou(18,"translate"),us(),is(19,fZ,3,0,"ion-buttons",38),us(),ls(20,"ion-item"),ls(21,"ion-label",36),Xs(22),Ou(23,"translate"),us(),ls(24,"ion-datetime",39),ys("ngModelChange",function(e){return rn(n),ks().filters.date.end=e})("ionChange",function(){return rn(n),ks().getDatas()}),Ou(25,"translate"),Ou(26,"translate"),us(),is(27,pZ,3,0,"ion-buttons",38),us(),ls(28,"ion-item",40),ls(29,"ion-label",36),Xs(30),Ou(31,"translate"),us(),us(),is(32,gZ,4,3,"ion-item",41),us(),us()}if(2&e){var i=ks();as("translucent",!0),Ao(5),Ks(Mu(6,17,"lang.filters")),Ao(5),as("placeholder",Mu(11,19,"lang.enterUserName")),Ao(4),Js("",Mu(15,21,"lang.since"),": "),Ao(2),as("doneText",Mu(17,23,"lang.validate"))("cancelText",Mu(18,25,"lang.cancel"))("ngModel",i.filters.date.start)("max",null!==i.filters.date.end?i.filters.date.end:void 0),Ao(3),as("ngIf",null!==i.filters.date.start),Ao(3),Js("",Mu(23,27,"lang.until"),": "),Ao(2),as("doneText",Mu(25,29,"lang.validate"))("cancelText",Mu(26,31,"lang.cancel"))("ngModel",i.filters.date.end)("min",null!==i.filters.date.start?i.filters.date.start:void 0),Ao(3),as("ngIf",null!==i.filters.date.end),Ao(3),Js("",Mu(31,33,"lang.actions"),": "),Ao(2),as("ngForOf",i.actions)}}var mZ,yZ=((mZ=function(){function e(t,n,i,r,o,a,s,l,u,c,d){S(this,e),this.http=t,this.translate=n,this.menu=i,this.latinisePipe=r,this.viewContainerRef=o,this.dialog=a,this.signaturesService=s,this.notificationService=l,this.authService=u,this.alertController=c,this.sortPipe=d,this.displayedColumns=["creation_date","user","info","ip"],this.loading=!0,this.resources=[],this.offset=0,this.limit=10,this.count=0,this.filters={user:"",messageTypes:[],date:{start:null,end:null}},this.aventTypesIcon={VIEW:"eye-outline",CREATION:"add-circle-outline",ACTION:"settings-outline",THUMBNAIL:"image-outline",EMAIL:"mail-outline",SUPPRESSION:"trash-bin-outline",MODIFICATION:"create-outline",LOGIN:"log-in-outline",LOGOUT:"log-out-outline"},this.actions=[]}return C(e,[{key:"applyFilter",value:function(e){e=this.latinisePipe.transform(e.toLowerCase()),this.filters.user=e,this.getDatas()}},{key:"openFilters",value:function(){this.menu.open("right-menu")}},{key:"ionViewWillEnter",value:function(){return e=this,n=_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.filters.messageTypes=[],this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.menu.enable(!0,"left-menu"),this.menu.enable(!0,"right-menu"),this.signaturesService.initTemplate(this.rightContent,this.viewContainerRef,"rightContent"),this.getActions(),this.getDatas();case 1:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getActions",value:function(){var e=this;this.http.get("../rest/history/messageTypes",this.filters).pipe(cw(function(t){e.actions=t.messageTypes.map(function(t){return{id:t,label:e.translate.instant("lang."+t)}}),e.actions=e.sortPipe.transform(e.actions,"label")}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}},{key:"getDatas",value:function(){var e=this;return this.resources=[],this.offset=0,new Promise(function(t){e.http.post("../rest/history?limit=10&offset=0",e.filters).pipe(cw(function(n){e.resources=n.history,e.count=n.total,t(!0)}),Qb(function(n){return e.notificationService.handleErrors(n),t(!1),Iy(!1)})).subscribe()})}},{key:"sortData",value:function(e){console.log(e)}},{key:"loadData",value:function(e){var t=this;this.count<=this.limit?(e.target.complete(),e.target.disabled=!0):(this.offset=this.offset+this.limit,this.http.post("../rest/history?limit="+this.limit+"&offset="+this.offset,this.filters).pipe(cw(function(n){t.resources=t.resources.concat(n.history),e.target.complete(),t.count===t.resources.length&&(e.target.disabled=!0)})).subscribe())}},{key:"getNbFilters",value:function(){var e=0;return""!==this.filters.user&&e++,null!==this.filters.date.start&&e++,null!==this.filters.date.end&&e++,this.filters.messageTypes.length>0&&(e+=this.filters.messageTypes.length),e}},{key:"toggleAction",value:function(e){e.checked?this.filters.messageTypes.push(e.value):this.filters.messageTypes=this.filters.messageTypes.filter(function(t){return t!==e.value}),this.getDatas()}},{key:"clearFilters",value:function(){$(".checkedAction").each(function(){$(this).prop("checked",!1)}),document.querySelector("ion-searchbar").getInputElement().then(function(e){e.value=""}),this.filters.user="",this.filters.date.start=this.filters.date.end=null,this.getDatas()}},{key:"removeFilter",value:function(e){this.filters.messageTypes.includes(e)&&$(".checkedAction").each(function(){if($(this).val()===e)return $(this).prop("checked",!1),!1}),this.filters.user===e&&(document.querySelector("ion-searchbar").getInputElement().then(function(e){e.value=""}),this.filters.user=""),this.filters.date.start===e&&(this.filters.date.start=null),this.filters.date.end===e&&(this.filters.date.end=null),this.getDatas()}}]),e}()).\u0275fac=function(e){return new(e||mZ)(os(ub),os(mP),os(hE),os(JM),os(cu),os(SB),os(OP),os(_P),os(TP),os(cE),os(rZ))},mZ.\u0275cmp=pt({type:mZ,selectors:[["app-administration-history-list"]],viewQuery:function(e,t){var n;1&e&&Xu(oZ,3),2&e&&Qu(n=Ju())&&(t.rightContent=n.first)},features:[bl([rZ])],decls:20,vars:10,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["slot","end","color","secondary"],["slot","end"],["menu","right-menu"],["name","funnel-outline"],["color","primary","color","primary","style","padding-left: 1px;padding-right: 1px;",4,"ngIf"],["mainContent",""],[4,"ngIf"],["rightContent",""],["color","primary","color","primary",2,"padding-left","1px","padding-right","1px"],["shape","round","size","small","fill","clear","slot","start","color","primary",1,"clearFilter",3,"title","click"],["slot","icon-only","name","trash-bin-outline","color","light"],["slot","start",1,"scrollfilters"],["outline","","color","primary",3,"title","click",4,"ngFor","ngForOf"],["outline","","color","primary",3,"title","click",4,"ngIf"],["outline","","color","primary",3,"title","click"],["name","swap-horizontal-outline"],["name","close-circle"],["name","person-outline"],["name","today-outline"],["name","calendar-outline"],["approxItemHeight","90px",3,"items"],["lines","full","class","canSelect",4,"virtualItem"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"],["lines","full",1,"canSelect"],["color","primary","slot","start",3,"name"],[1,"primary"],[3,"title"],[2,"float","right","margin-top","0px"],[1,"ion-text-center"],["lines","none"],[3,"placeholder","ionChange"],["color","secondary"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","max","ngModelChange","ionChange"],["slot","end",4,"ngIf"],["displayFormat","DD/MM/YYYY",3,"doneText","cancelText","ngModel","min","ngModelChange","ionChange"],["lines","none",2,"position","sticky","top","0","z-index","2"],[3,"title",4,"ngFor","ngForOf"],["color","danger","shape","round","fill","clear",3,"click"],["slot","icon-only","name","close-outline"],["slot","start",1,"checkedAction",3,"value","ionChange"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),us(),ls(8,"ion-title",4),Xs(9),Ou(10,"translate"),us(),ls(11,"ion-buttons",5),ls(12,"ion-menu-button",6),cs(13,"ion-icon",7),us(),us(),us(),is(14,cZ,9,7,"ion-toolbar",8),us(),ls(15,"ion-content",null,9),is(17,hZ,6,4,"ion-list",10),us(),is(18,vZ,33,35,"ng-template",null,11,nc)),2&e&&(as("translucent",!0),Ao(6),Ks(Mu(7,6,"lang.history")),Ao(3),$s("",t.count," ",Mu(10,8,"lang.entries"),""),Ao(5),as("ngIf",t.getNbFilters()>0),Ao(3),as("ngIf",t.resources.length>0))},directives:[JC,TS,BC,hS,RC,tE,OS,$C,yh,GC,FC,vh,UC,lS,uS,aE,oE,tS,nS,rS,pS,_S,iA,qC,nA,fm,Zm,jC,$k],pipes:[yP,Gh,Uh,XM],styles:[".flex1[_ngcontent-%COMP%]{flex:1}.flex2[_ngcontent-%COMP%]{flex:2}.primary[_ngcontent-%COMP%]{color:var(--ion-color-primary)} .test .alert-wrapper{min-width:350px}.canSelect[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{user-select:text!important;-webkit-user-select:text!important;-khtml-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important}.scrollfilters[_ngcontent-%COMP%]{overflow:auto;white-space:nowrap;height:50%}.scrollfilters[_ngcontent-%COMP%] ion-chip[_ngcontent-%COMP%]{height:auto;margin:4px;display:inline-block}ion-button.clearFilter[_ngcontent-%COMP%]{position:sticky;left:0;z-index:1}ion-chip[_ngcontent-%COMP%]{background-color:#fff}"]}),mZ),bZ=["customizationForm"];function wZ(e,t){if(1&e){var n=ps();ls(0,"ion-button",14),ys("click",function(){return rn(n),ks(2).watermark.enabled=!1}),Xs(1),Ou(2,"translate"),us()}2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.disableWatermark"),""))}function _Z(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-button",15),ys("click",function(){return rn(n),ks(2).watermark.enabled=!0}),Xs(2),Ou(3,"translate"),us(),us()}2&e&&(Ao(2),Js("",Mu(3,1,"lang.enableWatermark")," "))}function xZ(e,t){if(1&e){var n=ps();ds(0),ls(1,"ion-card"),ls(2,"ion-item",1),cs(3,"ion-icon",16),cs(4,"ion-label",17),Ou(5,"translate"),us(),us(),ls(6,"ion-item"),ls(7,"ion-label",18),Xs(8),Ou(9,"translate"),us(),ls(10,"ion-input",19),ys("ngModelChange",function(e){return rn(n),ks(2).watermark.text=e}),us(),cs(11,"ion-note",20),Ou(12,"translate"),us(),ls(13,"ion-radio-group",21),ys("ionChange",function(e){return rn(n),ks(2).watermark.align=e.detail.value}),ls(14,"ion-list-header"),ls(15,"ion-label",7),Xs(16),Ou(17,"translate"),us(),us(),ls(18,"ion-item"),ls(19,"ion-label"),Xs(20),Ou(21,"translate"),us(),cs(22,"ion-radio",22),us(),ls(23,"ion-item"),ls(24,"ion-label"),Xs(25),Ou(26,"translate"),us(),cs(27,"ion-radio",23),us(),ls(28,"ion-item"),ls(29,"ion-label"),Xs(30),Ou(31,"translate"),us(),cs(32,"ion-radio",24),us(),us(),ls(33,"ion-item"),ls(34,"ion-label",18),Xs(35),Ou(36,"translate"),us(),ls(37,"ion-input",25),ys("ngModelChange",function(e){return rn(n),ks(2).watermark.posY=e})("keypress",function(e){return rn(n),ks(2).isNumber(e)}),us(),ls(38,"ion-note",26),Xs(39,"px"),us(),us(),hs()}if(2&e){var i=ks(2);Ao(4),as("innerHTML",Mu(5,12,"lang.watermarkDesc"),Cr),Ao(4),Ks(Mu(9,14,"lang.content")),Ao(2),as("ngModel",i.watermark.text),Ao(1),as("innerHTML",Mu(12,16,"lang.watermarkContentDesc"),Cr),Ao(2),as("value",i.watermark.align),Ao(3),Ks(Mu(17,18,"lang.alignment")),Ao(4),Ks(Mu(21,20,"lang.left")),Ao(5),Ks(Mu(26,22,"lang.center")),Ao(5),Ks(Mu(31,24,"lang.right")),Ao(5),Js("",Mu(36,26,"lang.positionY")," "),Ao(2),as("ngModel",i.watermark.posY)("min",0)}}function kZ(e,t){if(1&e){var n=ps();ls(0,"form",5,6),ys("ngSubmit",function(){return rn(n),ks().onSubmit()}),ls(2,"ion-content"),ls(3,"ion-list"),ls(4,"ion-list-header"),ls(5,"ion-label",7),Xs(6),Ou(7,"translate"),us(),is(8,wZ,3,3,"ion-button",8),us(),is(9,_Z,4,3,"ion-item",9),is(10,xZ,40,28,"ng-container",9),us(),ls(11,"ion-item",10),ls(12,"div",11),ls(13,"ion-button",12),ls(14,"ion-label",13),Xs(15),Ou(16,"translate"),us(),us(),us(),us(),us(),us()}if(2&e){var i=ks();Ao(6),Js(" ",Mu(7,5,"lang.watermark")," "),Ao(2),as("ngIf",i.watermark.enabled),Ao(1),as("ngIf",!i.watermark.enabled),Ao(1),as("ngIf",i.watermark.enabled),Ao(5),Ks(Mu(16,7,"lang.validate"))}}var AZ,CZ,SZ=((CZ=function(){function e(t,n,i,r,o){S(this,e),this.http=t,this.translate=n,this.notificationService=i,this.authService=r,this.functions=o,this.loading=!0,this.loginMessage="",this.applicationUrl="",this.watermark={enabled:!1,text:"Document n\xb0[id]",align:"R",posY:10}}return C(e,[{key:"ngOnInit",value:function(){return e=this,n=_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getWatermark();case 2:this.loading=!1;case 3:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getWatermark",value:function(){var e=this;return new Promise(function(t){e.http.get("../rest/customization/watermark").pipe(cw(function(n){e.functions.empty(n.configuration)||(e.watermark=n.configuration),t(!0)}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()})}},{key:"onSubmit",value:function(){var e=this;this.http.put("../rest/customization",{id:this.authService.user.id,watermark:this.watermark}).pipe(cw(function(){e.notificationService.success(e.translate.instant("lang.modificationSaved"))}),Qb(function(t){return e.notificationService.handleErrors(t),Iy(!1)})).subscribe()}},{key:"isNumber",value:function(e){var t=(e=e||window.event).which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}}]),e}()).\u0275fac=function(e){return new(e||CZ)(os(ub),os(mP),os(_P),os(TP),os(HU))},CZ.\u0275cmp=pt({type:CZ,selectors:[["ng-component"]],viewQuery:function(e,t){var n;1&e&&Xu(bZ,1),2&e&&Qu(n=Ju())&&(t.customizationForm=n.first)},decls:9,vars:5,consts:[[3,"translucent"],["color","primary"],["slot","start"],["menu","left-menu"],["style","display: contents;","id","customizationForm",3,"ngSubmit",4,"ngIf"],["id","customizationForm",2,"display","contents",3,"ngSubmit"],["customizationForm","ngForm"],["color","secondary"],["size","small","color","danger",3,"click",4,"ngIf"],[4,"ngIf"],["text-center","","lines","none",2,"position","sticky","bottom","0px","z-index","1"],[2,"display","flex","align-items","center","justify-content","center","width","100%","background","white"],["type","submit","shape","round","size","large","fill","outline","color","primary"],[2,"font-size","13px"],["size","small","color","danger",3,"click"],["size","small","color","primary",3,"click"],["name","information-circle","slot","start"],[2,"white-space","initial",3,"innerHTML"],["color","secondary","position","floating"],["name","watermarkContent",3,"ngModel","ngModelChange"],[3,"innerHTML"],[3,"value","ionChange"],["slot","start","value","L"],["slot","start","value","C"],["slot","start","value","R"],["type","number","name","watermarkPosY",3,"ngModel","min","ngModelChange","keypress"],["slot","end"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-buttons",2),cs(3,"ion-menu-button",3),cs(4,"ion-back-button"),us(),ls(5,"ion-title"),Xs(6),Ou(7,"translate"),us(),us(),us(),is(8,kZ,17,9,"form",4)),2&e&&(as("translucent",!0),Ao(6),Ks(Mu(7,3,"lang.customization")),Ao(2),as("ngIf",!t.loading))},directives:[JC,TS,BC,hS,RC,tE,OS,yh,Qm,pm,Gm,GC,uS,cS,lS,rS,FC,zC,$C,iS,iA,fm,Zm,pS,vS,nA,gS,tA,eA],pipes:[yP],styles:[".header[_ngcontent-%COMP%]{background:#135f7f;height:95px;color:#fff;padding-left:10px;font-size:25px}.header[_ngcontent-%COMP%], .header-title[_ngcontent-%COMP%]{display:flex;align-items:center}.header-title[_ngcontent-%COMP%]{flex:1;white-space:pre;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#f99830}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.mainView[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]{flex:1;overflow:auto}.loader[_ngcontent-%COMP%]{position:absolute;z-index:2;display:flex;background:hsla(0,0%,100%,.8);width:100%;height:100%;justify-content:center;align-items:center;top:0;margin:0;padding:0}.admin-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:20px}.actions-form[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width:360px){.actions-form[_ngcontent-%COMP%]{flex-direction:column}}.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:10px;width:150px}@media (max-width:360px){.actions-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}.emptyTable[_ngcontent-%COMP%]{height:auto}.addButton[_ngcontent-%COMP%]{padding:10px;display:flex;justify-content:flex-end}",""]}),CZ),EZ=((AZ=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||AZ)},AZ.\u0275mod=yt({type:AZ}),AZ.\u0275inj=Be({imports:[[sk.forRoot([{path:"home",canActivate:[dH],component:Rq},{path:"indexation",canActivate:[dH],component:lY},{path:"profile",canActivate:[dH],component:Mq},{path:"search",canActivate:[dH],component:iZ},{path:"administration",canActivate:[dH],component:gH},{path:"administration/users",canActivate:[dH],component:xH},{path:"administration/users/new",canActivate:[dH],component:VH},{path:"administration/users/:id",canActivate:[dH],component:VH},{path:"administration/groups",canActivate:[dH],component:qH},{path:"administration/groups/new",canActivate:[dH],component:hj},{path:"administration/groups/:id",canActivate:[dH],component:hj},{path:"administration/connections",canActivate:[dH],component:mj},{path:"administration/connections/ldaps",canActivate:[dH],component:Aj},{path:"administration/connections/ldaps/new",canActivate:[dH],component:Fj},{path:"administration/connections/ldaps/:id",canActivate:[dH],component:Fj},{path:"administration/emailConfiguration",canActivate:[dH],component:Gj},{path:"administration/passwordRules",canActivate:[dH],component:KG},{path:"administration/history",canActivate:[dH],component:yZ},{path:"administration/customization",canActivate:[dH],component:SZ},{path:"documents/:id",canActivate:[dH],component:RG},{path:"login",canActivate:[dH],component:UG},{path:"forgot-password",component:WG},{path:"update-password",component:XG},{path:"password-modification",component:iq},{path:"**",redirectTo:"login",pathMatch:"full"}],{relativeLinkResolution:"legacy"})],sk]}),AZ);function PZ(e,t){if(1&e){var n=ps();ls(0,"ion-item",3),ys("click",function(){return rn(n),ks().menu.close("left-menu")}),cs(1,"ion-icon",4),ls(2,"ion-label"),Xs(3),Ou(4,"translate"),us(),us()}if(2&e){var i=t.$implicit;Bs("item-active",ks().isActiveRoute(i.route)),as("routerLink",i.route),Ao(1),as("name",i.icon),Ao(2),Ks(Mu(4,5,"lang."+i.id))}}var DZ,OZ=((DZ=function(){function e(t,n,i,r){S(this,e),this.route=t,this.router=n,this.authService=i,this.menu=r,this.loading=!0,this.privileges=[]}return C(e,[{key:"ngOnInit",value:function(){}},{key:"openHome",value:function(){this.router.navigate(["/documents/"])}},{key:"isActiveRoute",value:function(e){return this.router.url.split("/").indexOf(e.replace("/administration/",""))>-1}}]),e}()).\u0275fac=function(e){return new(e||DZ)(os(w_),os(Ux),os(TP),os(hE))},DZ.\u0275cmp=pt({type:DZ,selectors:[["app-admin-sidebar"]],decls:8,vars:4,consts:[["color","light"],[2,"text-align","center","font-size","14px"],["routerDirection","root",3,"routerLink","item-active","click",4,"ngFor","ngForOf"],["routerDirection","root",3,"routerLink","click"],["slot","start","color","primary",3,"name"]],template:function(e,t){1&e&&(ls(0,"ion-header"),ls(1,"ion-toolbar",0),ls(2,"ion-title",1),Xs(3),Ou(4,"translate"),us(),us(),us(),ls(5,"ion-content"),ls(6,"ion-list"),is(7,PZ,5,7,"ion-item",2),us(),us()),2&e&&(Ao(3),Js(" ",Mu(4,2,"lang.administration")," "),Ao(4),as("ngForOf",t.authService.user.administrativePrivileges))},directives:[JC,TS,OS,GC,uS,vh,rS,nE,Wx,$C,lS],pipes:[yP],styles:[".item-active[_ngcontent-%COMP%]{border-left:5px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.14);color:var(--ion-color-primary);font-weight:700}"]}),DZ),MZ=["listContent"],TZ=["searchInput"];function IZ(e,t){if(1&e){var n=ps();ls(0,"ion-button",8),ys("click",function(){return rn(n),ks().authService.logout()}),Ou(1,"translate"),cs(2,"ion-icon",15),us()}2&e&&as("title",Mu(1,1,"lang.logout"))}function RZ(e,t){if(1&e){var n=ps();ls(0,"ion-button",8),ys("click",function(){return rn(n),ks().openAdmin()}),Ou(1,"translate"),cs(2,"ion-icon",16),us()}2&e&&as("title",Mu(1,1,"lang.administration"))}function LZ(e,t){if(1&e){var n=ps();ls(0,"ion-button",8),ys("click",function(){return rn(n),ks().openHome()}),Ou(1,"translate"),cs(2,"ion-icon",17),us()}2&e&&as("title",Mu(1,1,"lang.homePage"))}function FZ(e,t){if(1&e){var n=ps();ls(0,"ion-button",8),ys("click",function(){return rn(n),ks().openIndexation()}),Ou(1,"translate"),cs(2,"ion-icon",18),cs(3,"ion-icon",19),us()}2&e&&as("title",Mu(1,1,"lang.indexationAdmin"))}function BZ(e,t){if(1&e&&(ls(0,"span",26),Xs(1),Ou(2,"translate"),us()),2&e){var n=ks(3);Ao(1),Ks(Mu(2,1,"lang."+n.signaturesService.mode+"Label"))}}function zZ(e,t){if(1&e){var n=ps();ls(0,"ion-title",23),ys("click",function(e){return rn(n),ks(2).search(e)}),Ou(1,"translate"),ls(2,"span"),Xs(3),us(),Xs(4),Ou(5,"translate"),is(6,BZ,3,3,"span",24),Xs(7," \xa0 "),cs(8,"ion-icon",25),us()}if(2&e){var i=ks(2);as("title",Mu(1,6,"lang.filterInfo")),Ao(2),Bs("primary",""!=i.signaturesService.mode),Ao(1),Ks(i.signaturesService.documentsListCount.current),Ao(1),Js(" ",Mu(5,8,"lang.documents")," "),Ao(2),as("ngIf",""!=i.signaturesService.mode)}}function VZ(e,t){if(1&e){var n=ps();ls(0,"ion-searchbar",27,28),ys("ionCancel",function(e){rn(n);var t=ks(2);return t.search(e),t.searchMode=!t.searchMode}),Ou(2,"translate"),us()}if(2&e){var i=ks(2);as("placeholder",Mu(2,2,"lang.filterInfo"))("formControl",i.searchTerm)}}function NZ(e,t){if(1&e&&(ls(0,"ion-header"),ls(1,"ion-toolbar",20),is(2,zZ,9,10,"ion-title",21),is(3,VZ,3,4,"ion-searchbar",22),us(),us()),2&e){var n=ks();Ao(2),as("ngIf",!n.searchMode),Ao(1),as("ngIf",n.searchMode)}}function HZ(e,t){if(1&e){var n=ps();ls(0,"ion-header",29),ls(1,"ion-toolbar",30),ls(2,"ion-segment",31),ls(3,"ion-segment-button",32),ys("click",function(){return rn(n),ks().filter("sign")}),ls(4,"ion-label"),Xs(5),Ou(6,"titlecase"),Ou(7,"translate"),us(),cs(8,"ion-icon",33),ls(9,"ion-badge",34),Xs(10),us(),us(),ls(11,"ion-segment-button",35),ys("click",function(){return rn(n),ks().filter("visa")}),ls(12,"ion-label"),Xs(13),Ou(14,"titlecase"),Ou(15,"translate"),us(),cs(16,"ion-icon",36),ls(17,"ion-badge",34),Xs(18),us(),us(),ls(19,"ion-segment-button",37),ys("click",function(){return rn(n),ks().filter("note")}),ls(20,"ion-label"),Xs(21),Ou(22,"titlecase"),Ou(23,"translate"),us(),cs(24,"ion-icon",38),ls(25,"ion-badge",34),Xs(26),us(),us(),us(),us(),us()}if(2&e){var i=ks();Ao(2),as("value",i.signaturesService.mode),Ao(1),Bs("segment-button-notFocused","sign"!==i.signaturesService.mode),Ao(2),Ks(Mu(6,13,Mu(7,15,"lang.signLabel"))),Ao(5),Ks(i.signaturesService.documentsListCount.sign),Ao(1),Bs("segment-button-notFocused","visa"!==i.signaturesService.mode),Ao(2),Ks(Mu(14,17,Mu(15,19,"lang.visaLabel"))),Ao(5),Ks(i.signaturesService.documentsListCount.visa),Ao(1),Bs("segment-button-notFocused","note"!==i.signaturesService.mode),Ao(2),Ks(Mu(22,21,Mu(23,23,"lang.noteLabel"))),Ao(5),Ks(i.signaturesService.documentsListCount.note)}}function jZ(e,t){1&e&&cs(0,"app-admin-sidebar",39)}function UZ(e,t){1&e&&(ls(0,"ion-item",44),ls(1,"ion-label",45),Xs(2),Ou(3,"titlecase"),Ou(4,"translate"),us(),us()),2&e&&(Ao(2),Js(" ",Mu(3,1,Mu(4,3,"lang.noResult"))," "))}function WZ(e,t){1&e&&cs(0,"ion-icon",56)}function GZ(e,t){1&e&&cs(0,"ion-icon",57)}function qZ(e,t){1&e&&cs(0,"ion-icon",58)}function YZ(e,t){1&e&&cs(0,"ion-icon",59)}function ZZ(e,t){1&e&&(ls(0,"ion-label",60),Xs(1),Ou(2,"translate"),us()),2&e&&(Ao(1),Js(" ",Mu(2,1,"lang.substitutedDoc"),""))}var QZ=function(e){return[e]};function XZ(e,t){if(1&e){var n=ps();ls(0,"ion-menu-toggle",46),ls(1,"ion-item",47),ys("click",function(){rn(n);var e=t.index;return ks(2).filterService.currentIndex=e}),is(2,WZ,1,0,"ion-icon",48),is(3,GZ,1,0,"ion-icon",49),is(4,qZ,1,0,"ion-icon",50),is(5,YZ,1,0,"ion-icon",51),ls(6,"div"),ls(7,"ion-label",52),Xs(8),us(),ls(9,"ion-label",53),Xs(10),Ou(11,"shorten"),us(),is(12,ZZ,3,3,"ion-label",54),us(),cs(13,"ion-icon",55),us(),us()}if(2&e){var i=t.$implicit,r=ks(2);Ao(1),Bs("selected",r.router.url==="/documents/"+i.id),as("routerLink",Cu(14,QZ,"/documents/"+i.id)),Ao(1),as("ngIf","sign"==i.mode),Ao(1),as("ngIf","visa"==i.mode),Ao(1),as("ngIf","note"==i.mode),Ao(1),as("ngIf",!r.functionsService.empty(i.mailingId)),Ao(3),Ks(i.reference),Ao(2),Ks(Iu(11,10,i.title,50,"...")),Ao(2),as("ngIf",!i.owner)}}function KZ(e,t){if(1&e){var n=ps();ls(0,"ion-infinite-scroll",61),ys("ionInfinite",function(e){return rn(n),ks(2).loadData(e)}),cs(1,"ion-infinite-scroll-content",62),Ou(2,"translate"),us()}2&e&&(Ao(1),as("loadingText",Mu(2,1,"lang.loadingMoreData")))}function JZ(e,t){if(1&e&&(ls(0,"ion-content"),ls(1,"ion-list",40),is(2,UZ,5,5,"ion-item",41),is(3,XZ,14,16,"ion-menu-toggle",42),us(),is(4,KZ,3,3,"ion-infinite-scroll",43),us()),2&e){var n=ks();Ao(2),as("ngIf",0==n.signaturesService.documentsList.length),Ao(1),as("ngForOf",n.signaturesService.documentsList),Ao(1),as("ngIf",n.signaturesService.documentsList.length>0)}}var $Z,eQ=(($Z=function(){function e(t,n,i,r,o,a,s,l,u,c){var d=this;S(this,e),this.http=t,this.signaturesService=n,this.route=i,this.router=r,this.menu=o,this.notificationService=a,this.authService=s,this.modalController=l,this.functionsService=u,this.filterService=c,this.loadingList=!1,this.searchMode=!1,this.searchTerm=new Nm,this.searchTerm.valueChanges.pipe(aT(500),Dk(),cw(function(e){return d.loadingList=!0}),zb(function(e){return d.http.get("../rest/documents?limit="+d.filterService.limit+"&search="+e)})).subscribe(function(e){d.signaturesService.documentsList=e.documents,d.signaturesService.documentsListCount=e.count,d.loadingList=!1})}return C(e,[{key:"ngOnInit",value:function(){var e=this;$(".avatar").css({background:"url(data:image/png;base64,"+this.authService.user.picture+") no-repeat #135F7F"}).css({"background-size":"cover"}).css({"background-position":"center"}),this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).subscribe(function(t){e.signaturesService.documentsList=t.documents,e.signaturesService.documentsListCount=t.count})}},{key:"ngAfterViewInit",value:function(){this.filter("")}},{key:"openProfile",value:function(){return e=this,n=_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:Mq,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"openAdmin",value:function(){this.menu.close("left-menu"),this.router.navigate(["/administration/"])}},{key:"openHome",value:function(){this.router.navigate(["/home"])}},{key:"openIndexation",value:function(){this.menu.close("left-menu"),this.router.navigate(["/indexation"])}},{key:"openSearch",value:function(){this.menu.close("left-menu"),this.router.navigate(["/search"])}},{key:"search",value:function(e){var t=this;this.searchMode=!0,this.signaturesService.mode="",this.filter(""),setTimeout(function(){"ionCancel"!==e.type&&(t.searchInput.value="",t.searchInput.setFocus())},0)}},{key:"filter",value:function(e){var t=this;this.signaturesService.documentsList=[],""!==e&&(this.searchMode=!1),this.loadingList=!0,this.signaturesService.mode=this.signaturesService.mode===e?"":e,this.filterService.offset=0,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(fw(function(){t.loadingList=!1})).subscribe(function(e){t.signaturesService.documentsList=e.documents,t.signaturesService.documentsListCount=e.count,t.loadingList=!1})}},{key:"checkClose",value:function(){return!(!(-1!==this.route.routeConfig.path.indexOf("administration")||this.signaturesService.mainDocumentId>0)||!this.signaturesService.mobileMode)}},{key:"loadData",value:function(e){var t=this;this.filterService.offset=this.filterService.offset+this.filterService.limit,this.http.get("../rest/documents?limit="+this.filterService.limit+"&offset="+this.filterService.offset+"&mode="+this.signaturesService.mode).pipe(cw(function(n){t.signaturesService.documentsList=t.signaturesService.documentsList.concat(n.documents),e.target.complete(),t.signaturesService.documentsList.length===t.signaturesService.documentsListCount.current&&(e.target.disabled=!0)})).subscribe()}},{key:"isAdminRoute",value:function(){return this.router.url.split("/").indexOf("administration")>-1}},{key:"canIndex",value:function(){return this.authService.user.appPrivileges.map(function(e){return e.id}).indexOf("indexation")>-1}}]),e}()).\u0275fac=function(e){return new(e||$Z)(os(ub),os(OP),os(w_),os(Ux),os(hE),os(_P),os(TP),os(fE),os(HU),os(SU))},$Z.\u0275cmp=pt({type:$Z,selectors:[["app-sidebar"]],viewQuery:function(e,t){var n;1&e&&(Xu(MZ,1),Xu(TZ,1)),2&e&&(Qu(n=Ju())&&(t.listContent=n.first),Qu(n=Ju())&&(t.searchInput=n.first))},decls:23,vars:16,consts:[[3,"translucent"],["color","primary"],["color","primary","lines","none"],["color","secondary",1,"ion-text-center"],[2,"font-weight","bold","font-size","24px"],["slot","start"],[3,"title","click",4,"ngIf"],["slot","end"],[3,"title","click"],["slot","icon-only","name","search-outline"],[1,"avatar-user",3,"click"],[3,"src"],[4,"ngIf"],["style","background: white;",4,"ngIf"],["style","display: contents;",4,"ngIf"],["slot","icon-only","name","power"],["slot","icon-only","name","settings-outline"],["slot","icon-only","name","home"],["slot","icon-only","name","document-outline"],["slot","icon-only","name","add-circle",2,"position","absolute","top","0px","font-size","15px","right","-5px"],["color","light"],["style","text-align: center;font-size: 14px;",3,"title","click",4,"ngIf"],["showCancelButton","always",3,"placeholder","formControl","ionCancel",4,"ngIf"],[2,"text-align","center","font-size","14px",3,"title","click"],["class","primary",4,"ngIf"],["color","primary","name","search-outline"],[1,"primary"],["showCancelButton","always",3,"placeholder","formControl","ionCancel"],["searchInput",""],[2,"background","white"],[1,"filters"],["value","heart",3,"value"],["value","sign",3,"click"],["color","primary","name","pencil-outline"],["color","secondary"],["value","visa",3,"click"],["color","primary","name","checkmark-done-outline"],["value","note",3,"click"],["color","primary","name","chatbubble-ellipses-outline"],[2,"display","contents"],["id","labels-list"],["lines","none",4,"ngIf"],["auto-hide","false",4,"ngFor","ngForOf"],["threshold","100px",3,"ionInfinite",4,"ngIf"],["lines","none"],["color","medium",1,"ion-text-center"],["auto-hide","false"],["routerDirection","root","detail","false",1,"doc-item",3,"routerLink","click"],["color","primary","slot","start","name","pencil-outline",4,"ngIf"],["color","primary","slot","start","name","checkmark-done-outline",4,"ngIf"],["color","primary","slot","start","name","chatbubble-ellipses-outline",4,"ngIf"],["slot","start","color","danger","name","layers","class","groupMailIcon",4,"ngIf"],[1,"sub-label"],["color","primary",1,"ion-text-wrap"],["color","secondary","class","sub-label",4,"ngIf"],["slot","end","color","medium","name","arrow-forward-outline"],["color","primary","slot","start","name","pencil-outline"],["color","primary","slot","start","name","checkmark-done-outline"],["color","primary","slot","start","name","chatbubble-ellipses-outline"],["slot","start","color","danger","name","layers",1,"groupMailIcon"],["color","secondary",1,"sub-label"],["threshold","100px",3,"ionInfinite"],["loadingSpinner","bubbles",3,"loadingText"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-item",2),ls(3,"ion-label",3),ls(4,"h2",4),Xs(5),us(),us(),us(),us(),us(),ls(6,"ion-header",0),ls(7,"ion-toolbar",1),ls(8,"ion-buttons",5),is(9,IZ,3,3,"ion-button",6),is(10,RZ,3,3,"ion-button",6),is(11,LZ,3,3,"ion-button",6),us(),ls(12,"ion-buttons",7),ls(13,"ion-button",8),ys("click",function(){return t.openSearch()}),Ou(14,"translate"),cs(15,"ion-icon",9),us(),is(16,FZ,4,3,"ion-button",6),us(),us(),us(),ls(17,"ion-avatar",10),ys("click",function(){return t.openProfile()}),cs(18,"img",11),us(),is(19,NZ,4,2,"ion-header",12),is(20,HZ,27,25,"ion-header",13),is(21,jZ,1,0,"app-admin-sidebar",14),is(22,JZ,5,3,"ion-content",12)),2&e&&(as("translucent",!0),Ao(5),$s("",t.authService.user.firstname," ",t.authService.user.lastname,""),Ao(1),as("translucent",!0),Ao(3),as("ngIf","x509"!==t.authService.authMode&&"kerberos"!==t.authService.authMode&&"azure_saml"!==t.authService.authMode),Ao(1),as("ngIf",!t.isAdminRoute()&&t.authService.user.administrativePrivileges.length>0),Ao(1),as("ngIf",t.isAdminRoute()),Ao(2),as("title",Mu(14,14,"lang.search")),Ao(3),as("ngIf",t.canIndex()),Ao(2),as("src",t.authService.user.picture,Sr),Ao(1),as("ngIf",!t.isAdminRoute()),Ao(1),as("ngIf",!t.isAdminRoute()),Ao(1),as("ngIf",t.isAdminRoute()),Ao(1),as("ngIf",!t.isAdminRoute()))},directives:[JC,TS,rS,lS,BC,yh,FC,$C,IC,OS,_S,iA,fm,$m,xS,nA,kS,LC,OZ,GC,uS,vh,fS,nE,Wx,tS,nS],pipes:[yP,Uh,XM],styles:['.main-header[_ngcontent-%COMP%]{height:205px;overflow:auto}.sidebar[_ngcontent-%COMP%]{position:relative;height:100%;overflow:hidden;display:flex;flex-direction:column}.sidebar-header[_ngcontent-%COMP%]{background:#f1f4f4;height:50px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding-top:10px}.sidebar-header-icon[_ngcontent-%COMP%]{margin-right:15px;position:relative}.sidebar-header-icon.notification[_ngcontent-%COMP%]:after{position:absolute;right:-5px;top:-5px;width:10px;height:10px;border-radius:50%;background:#e74c3c;content:""}.sidebar-header-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}.sidebar-btn[_ngcontent-%COMP%]{height:50px;display:flex;align-items:center;justify-content:space-around}.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{flex:1;overflow-y:scroll;margin-top:0;overflow-x:hidden;margin-bottom:0;padding:0;position:relative}.sidebar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:70px;display:flex;align-items:center;border-bottom:1px solid #e6e6e6;margin:0;padding:5px 5px 5px 30px;cursor:pointer}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.sidebar[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]:after{position:absolute;right:10px;content:"";height:60px;background:#f1f4f4}.sidebar[_ngcontent-%COMP%] .nav-item-right[_ngcontent-%COMP%]{text-align:center}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%]{width:50px}.sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .fas[_ngcontent-%COMP%], .sidebar[_ngcontent-%COMP%] .nav-item-left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{background:#f1f4f4;border-radius:50%;color:#135f7f;font-size:22px;height:25px;width:25px;padding:10px;margin-right:10px}.sidebar[_ngcontent-%COMP%] .nav-item-middle[_ngcontent-%COMP%]{width:180px;height:50px;font-size:12px;color:#4f4f4f}.sidebar[_ngcontent-%COMP%] .nav-item-title[_ngcontent-%COMP%]{font-weight:600;color:#135f7f;font-size:14px}.profile-header[_ngcontent-%COMP%]{background:#135f7f;height:95px;display:flex;justify-content:center;position:relative}.avatar[_ngcontent-%COMP%]{cursor:pointer;position:absolute;width:65px;height:65px;border-radius:40px;bottom:-20px;border:3px solid #f99830;background-size:cover;background-repeat:no-repeat;background-position:50%;transition:all .2s}.avatar[_ngcontent-%COMP%]:hover{box-shadow:0 0 5px 0 #656565}.user[_ngcontent-%COMP%]{color:#fff;padding-top:10px;font-weight:700;font-size:20px;max-width:90%;right:0;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:10px}.filter[_ngcontent-%COMP%]{font-size:10px;width:95px;padding-left:0;padding-right:0}.filter.active[_ngcontent-%COMP%]{background:#135f7f}.mat-badge-content[_ngcontent-%COMP%]{right:0!important;top:-8px!important;background:#f99830}.noResult[_ngcontent-%COMP%]{position:absolute;top:50%;text-align:center;width:100%;opacity:.5}.noDoc[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:#ddd}.sub-label[_ngcontent-%COMP%]{font-size:11px;--color:var(--ion-color-medium)}ion-item.selected[_ngcontent-%COMP%]{--background:rgba(var(--ion-color-primary-rgb),0.2)}.doc-item[_ngcontent-%COMP%]{--inner-padding-bottom:10px;--inner-padding-top:10px}.filters[_ngcontent-%COMP%] ion-badge[_ngcontent-%COMP%]{position:absolute;top:10px;right:0;color:#fff}.avatar-user[_ngcontent-%COMP%]{cursor:pointer;position:absolute;z-index:99;left:50%;transform:translateX(-50%);top:60px;border:solid var(--ion-color-secondary);width:71px;height:71px}.groupMailIcon[_ngcontent-%COMP%]{position:absolute;left:40px;font-size:14px;bottom:10px}.segment-button-notFocused[_ngcontent-%COMP%]{--indicator-color:none}']}),$Z);function tQ(e,t){if(1&e){var n=ps();ls(0,"ion-segment-button",10),ys("ionChange",function(e){return rn(n),ks(2).setActiveLang(e)}),ls(1,"ion-label"),Xs(2),ls(3,"ion-badge",11),Xs(4),us(),us(),us()}if(2&e){var i=ks().$implicit,r=ks();as("value",r.currentLang),Ao(2),Js("",i.key," "),Ao(2),Ks(r.missingLang[i.key].length)}}function nQ(e,t){if(1&e&&(ls(0,"span"),is(1,tQ,5,3,"ion-segment-button",9),us()),2&e){var n=t.$implicit;Ao(1),as("ngIf","fr"!==n.key)}}function iQ(e,t){if(1&e){var n=ps();ls(0,"ion-item"),ls(1,"ion-label",13),Xs(2),us(),ls(3,"ion-input",14),ys("ngModelChange",function(e){return t.$implicit.value=e}),us(),ls(4,"ion-button",15),ys("click",function(){rn(n);var e=t.$implicit;return ks(2).openTranslation(e.value)}),cs(5,"ion-icon",16),us(),us()}if(2&e){var i=t.$implicit;Ao(2),Ks(i.id),Ao(1),as("ngModel",i.value)}}function rQ(e,t){if(1&e&&(ls(0,"ion-list",12),is(1,iQ,6,2,"ion-item",5),us()),2&e){var n=ks();Ao(1),as("ngForOf",n.missingLang[n.currentLang])}}var oQ,aQ,sQ=((aQ=function(){function e(t,n,i,r){S(this,e),this.http=t,this.notify=n,this.translate=i,this.modalController=r,this.missingLang={},this.currentLang="en",this.data={}}return C(e,[{key:"ngOnInit",value:function(){this.getLangs()}},{key:"dismissModal",value:function(){this.modalController.dismiss("cancel")}},{key:"getLangs",value:function(){var e=this;this.http.get("../rest/languages").pipe(cw(function(t){e.allLang=t.languages,Object.keys(e.allLang).forEach(function(t){e.missingLang[t]=Object.keys(e.allLang.fr.lang).filter(function(n){return-1===Object.keys(e.allLang[t].lang).indexOf(n)}).map(function(t){return{id:t,value:e.allLang.fr.lang[t]+"__TO_TRANSLATE"}})})}),Qb(function(t){return e.notify.handleErrors(t),Iy(!1)})).subscribe()}},{key:"openTranslation",value:function(e){window.open("https://translate.google.fr/?hl=fr#view=home&op=translate&sl=fr&tl="+this.currentLang+"&text="+e.replace("__TO_TRANSLATE",""),"_blank")}},{key:"setActiveLang",value:function(e){this.currentLang=e.detail.value}},{key:"generateMissingLang",value:function(e){var t=this,n={},i=this.allLang[this.currentLang],r=/__TO_TRANSLATE$/g;this.missingLang[this.currentLang].forEach(function(t){null===t.value.match(r)&&e?n[t.id]=t.value:e||(n[t.id]=t.value)}),i.lang=Object.assign(Object.assign({},i.lang),n),this.http.put("../rest/languages",{langId:this.currentLang,jsonContent:i}).pipe(cw(function(e){Object.keys(n).forEach(function(e){delete t.allLang[t.currentLang][e],t.missingLang[t.currentLang]=t.missingLang[t.currentLang].filter(function(t){return t.id!==e}),t.data.countMissingLang--}),t.modalController.dismiss("cancel")}),Qb(function(e){return t.notify.handleErrors(e),Iy(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||aQ)(os(ub),os(_P),os(mP),os(fE))},aQ.\u0275cmp=pt({type:aQ,selectors:[["ng-component"]],decls:22,vars:14,consts:[["translucent",""],["color","primary"],["slot","end"],[3,"click"],["slot","icon-only","name","close-outline"],[4,"ngFor","ngForOf"],["lines","full",4,"ngIf"],[3,"translucent"],["size","small","color","primary",3,"click"],[3,"value","ionChange",4,"ngIf"],[3,"value","ionChange"],["color","secondary"],["lines","full"],["position","stacked"],["type","text",3,"ngModel","ngModelChange"],["slot","end","color","primary",3,"click"],["name","language-outline"]],template:function(e,t){1&e&&(ls(0,"ion-header",0),ls(1,"ion-toolbar",1),ls(2,"ion-title"),Xs(3),Ou(4,"translate"),us(),ls(5,"ion-buttons",2),ls(6,"ion-button",3),ys("click",function(){return t.dismissModal()}),cs(7,"ion-icon",4),us(),us(),us(),us(),ls(8,"ion-header"),ls(9,"ion-segment"),is(10,nQ,2,1,"span",5),Ou(11,"keyvalue"),us(),us(),ls(12,"ion-content"),ds(13),is(14,rQ,2,1,"ion-list",6),hs(),us(),ls(15,"ion-footer",7),ls(16,"ion-button",8),ys("click",function(){return t.generateMissingLang(!1)}),Xs(17),Ou(18,"translate"),us(),ls(19,"ion-button",8),ys("click",function(){return t.generateMissingLang(!0)}),Xs(20),Ou(21,"translate"),us(),us()),2&e&&(Ao(3),Ks(Mu(4,6,"lang.langChecking")),Ao(7),as("ngForOf",Mu(11,8,t.allLang)),Ao(4),as("ngIf","en"===t.currentLang),Ao(1),as("translucent",!0),Ao(2),Ks(Mu(18,10,"lang.generateLangVar")),Ao(3),Ks(Mu(21,12,"lang.generateLangVarIgnoreTranslate")))},directives:[JC,TS,OS,BC,FC,$C,xS,nA,vh,GC,yh,XC,kS,lS,LC,uS,rS,iS,iA,fm,Zm],pipes:[yP,qh],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding-top:0}.lang-container[_ngcontent-%COMP%] .mat-tab-header{position:sticky;top:0;z-index:2}.lang-container[_ngcontent-%COMP%] .mat-tab-label-container{background:#fff}"]}),aQ),lQ=((oQ=function(){function e(t,n,i,r){S(this,e),this.notify=t,this.http=n,this.functionsService=i,this.modalController=r,this.countMissingLang=0}return C(e,[{key:"ngOnInit",value:function(){this.getLangs()}},{key:"openLangTool",value:function(){return e=this,n=_().mark(function e(){var t;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalController.create({component:sQ,cssClass:"my-custom-class"});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}),new((t=void 0)||(t=Promise))(function(i,r){function o(e){try{s(n.next(e))}catch(t){r(t)}}function a(e){try{s(n.throw(e))}catch(t){r(t)}}function s(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(o,a)}s((n=n.apply(e,[])).next())});var e,t,n}},{key:"getLangs",value:function(){var e=this;this.http.get("../rest/languages").pipe(cw(function(t){e.allLang=t.languages,Object.keys(e.allLang).forEach(function(t){e.countMissingLang+=Object.keys(e.allLang.fr.lang).filter(function(n){return-1===Object.keys(e.allLang[t].lang).indexOf(n)}).length})}),Qb(function(t){return e.notify.handleErrors(t),Iy(!1)})).subscribe()}}]),e}()).\u0275fac=function(e){return new(e||oQ)(os(_P),os(ub),os(HU),os(fE))},oQ.\u0275cmp=pt({type:oQ,selectors:[["app-dev-tool"]],decls:11,vars:7,consts:[["cdkDrag","","horizontal","end","vertical","top",3,"title"],["color","light"],["name","language-outline"],["side","start"],["color","light",3,"click"],["color","secondary"]],template:function(e,t){1&e&&(ls(0,"ion-fab",0),Ou(1,"translate"),ls(2,"ion-fab-button",1),cs(3,"ion-icon",2),us(),ls(4,"ion-fab-list",3),ls(5,"ion-button",4),ys("click",function(){return t.openLangTool()}),ls(6,"ion-label"),Xs(7),Ou(8,"translate"),ls(9,"ion-badge",5),Xs(10),us(),us(),us(),us(),us()),2&e&&(as("title",Mu(1,3,"lang.missingLang")),Ao(7),Js("",Mu(8,5,"lang.missingLang")," "),Ao(3),Js(" ",t.countMissingLang,""))},directives:[YC,eH,ZC,$C,QC,FC,lS,LC],pipes:[yP],styles:[".devToolListMenu{min-height:auto!important;width:250px}"]}),oQ);function uQ(e,t){1&e&&cs(0,"app-sidebar",10)}function cQ(e,t){1&e&&cs(0,"app-dev-tool")}var dQ,hQ,fQ,pQ,gQ=function(e){return[e]},vQ=((dQ=function(){function e(t,n,i,r,o,a,s,l,u,c,d,h){if(S(this,e),this.translate=t,this.http=n,this.signaturesService=i,this.sanitizer=r,this.cookieService=o,this.notificationService=a,this.dialog=s,this.authService=u,this.menu=c,this.router=d,this.platform=h,this.showLeftContent=!1,this.showRightContent=!1,l.addSvgIcon("maarchLogo",r.bypassSecurityTrustResourceUrl("../src/frontend/assets/logo_white.svg")),this.cookieService.check("maarchParapheurLang")){var f=this.cookieService.get("maarchParapheurLang");t.setDefaultLang(f)}else this.cookieService.set("maarchParapheurLang","fr"),t.setDefaultLang("fr");nd.production||(this.debugMode=!0)}return C(e,[{key:"test",value:function(){return!0}},{key:"allowedRoute",value:function(){var e=this.router.url.split("?")[0];return-1===["/","/login","/forgot-password","/update-password","/password-modification"].indexOf(e)}}]),e}()).\u0275fac=function(e){return new(e||dQ)(os(mP),os(ub),os(OP),os(Gf),os(FM),os(_P),os(SB),os(NB),os(TP),os(hE),os(Ux),os(rA))},dQ.\u0275cmp=pt({type:dQ,selectors:[["app-root"]],decls:11,vars:5,consts:[["contentId","main-content"],["menuId","left-menu","contentId","main-content","type","overlay","disabled","",1,"left-menu",3,"ionDidOpen","ionDidClose"],["leftMenu",""],["style","display: contents;",4,"ngIf"],["id","leftContent",2,"display","contents"],["id","main-content"],["menuId","right-menu","contentId","main-content","side","end","type","overlay","disabled","",3,"ngClass","ionDidOpen","ionDidClose"],["rightMenu",""],["id","rightContent",2,"display","contents"],[4,"ngIf"],[2,"display","contents"]],template:function(e,t){1&e&&(ls(0,"ion-app"),ls(1,"ion-split-pane",0),ls(2,"ion-menu",1,2),ys("ionDidOpen",function(){return t.showLeftContent=!0})("ionDidClose",function(){return t.showLeftContent=!1}),is(4,uQ,1,0,"app-sidebar",3),cs(5,"div",4),us(),cs(6,"ion-router-outlet",5),ls(7,"ion-menu",6,7),ys("ionDidOpen",function(){return t.showRightContent=!0})("ionDidClose",function(){return t.showRightContent=!1}),cs(9,"div",8),us(),us(),us(),is(10,cQ,1,0,"app-dev-tool",9)),2&e&&(Ao(4),as("ngIf",t.allowedRoute()),Ao(3),as("ngClass",Cu(3,gQ,t.signaturesService.mobileMode?"right-menu-responsive":"right-menu")),Ao(3),as("ngIf",t.debugMode&&t.authService.isAuth()))},directives:[TC,DS,dS,yh,$S,ph,eQ,lQ],styles:[".left-menu{--width:350px;--min-width:350px;--max-width:350px}.right-menu{--width:450px;--min-width:450px;--max-width:450px}.right-menu-responsive{--width:89%;--min-width:89%;--max-width:89%}.split-pane-visible>.left-menu{width:350px!important;--max-width:350px!important;--min-width:350px!important}.split-pane-visible>.right-menu{width:450px!important;--max-width:450px!important;--min-width:450px!important}"],encapsulation:2}),dQ);hQ=_E.a,pQ=void 0,"string"!=typeof(fQ="fr-FR")&&(pQ=fQ,fQ=hQ[cl.LocaleId]),fQ=fQ.toLowerCase().replace(/_/g,"-"),sl[fQ]=hQ,pQ&&(sl[fQ][cl.ExtraData]=pQ);var mQ,yQ=((mQ=C(function e(){S(this,e)})).\u0275fac=function(e){return new(e||mQ)},mQ.\u0275mod=yt({type:mQ,bootstrap:[vQ]}),mQ.\u0275inj=Be({providers:[{provide:db,useClass:IP,multi:!0},OP,SU,_P,{provide:Ox,useClass:vE},FM,JM],imports:[[Oy,My,Qf,Av,Ab,bE.forRoot({mode:"md"}),bP.forRoot({loader:{provide:VE,useFactory:wQ,deps:[ub]}}),$j,_M,SM,iT,IM,uH,EZ,Vf]]}),mQ),bQ=function(){function e(t){S(this,e),this.http=t}return C(e,[{key:"getTranslation",value:function(e){return this.http.get("../rest/languages/"+e)}}]),e}();function wQ(e){return new bQ(e)}nd.production&&function(){if(Bc)throw new Error("Cannot enable prod mode after platform setup.");Fc=!1}(),Yf().bootstrapModule(yQ).catch(function(e){return console.log(e)})},meiF:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i,r=n("1vRN"),o=function(e){if(void 0===i){var t=void 0!==e.style.webkitAnimationName;i=void 0===e.style.animationName&&t?"-webkit-":""}return i},a=function(e,t,n){var i=t.startsWith("animation")?o(e):"";e.style.setProperty(i+t,n)},s=function(e,t){var n=t.startsWith("animation")?o(e):"";e.style.removeProperty(n+t)},l=[],u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(void 0!==t){var n=Array.isArray(t)?t:[t];return[].concat(m(e),m(n))}return e},c=function(e){var t,n,i,c,d,p,g,v,y,b,w,_,x,k=[],A=[],C=[],S=!1,E={},P=[],D=[],O={},M=0,T=!1,I=!1,R=!0,L=!1,F=!0,B=e,z=[],V=[],N=[],H=[],j=[],U=[],W=[],G=[],q=[],Y=[],Z="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,Q="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Z,X=function(e,t){return(t&&t.oneTimeCallback?V:z).push({c:e,o:t}),x},K=function(){if(Q)Y.forEach(function(e){e.cancel()}),Y.length=0;else{var e=N.slice();Object(r.q)(function(){e.forEach(function(e){s(e,"animation-name"),s(e,"animation-duration"),s(e,"animation-timing-function"),s(e,"animation-iteration-count"),s(e,"animation-delay"),s(e,"animation-play-state"),s(e,"animation-fill-mode"),s(e,"animation-direction")})})}},J=function(){j.forEach(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}),j.length=0},$=function(){return void 0!==d?d:g?g.getFill():"both"},ee=function(){return void 0!==y?y:void 0!==p?p:g?g.getDirection():"normal"},te=function(){return T?"linear":void 0!==i?i:g?g.getEasing():"linear"},ne=function(){return I?0:void 0!==b?b:void 0!==n?n:g?g.getDuration():0},ie=function(){return void 0!==c?c:g?g.getIterations():1},re=function(){return void 0!==w?w:void 0!==t?t:g?g.getDelay():0},oe=function(){0!==M&&(0===--M&&(function(){fe(),G.forEach(function(e){return e()}),q.forEach(function(e){return e()});var e=R?1:0,t=P,n=D,i=O;N.forEach(function(e){var r=e.classList;for(var o in t.forEach(function(e){return r.add(e)}),n.forEach(function(e){return r.remove(e)}),i)i.hasOwnProperty(o)&&a(e,o,i[o])}),z.forEach(function(t){return t.c(e,x)}),V.forEach(function(t){return t.c(e,x)}),V.length=0,F=!0,R&&(L=!0),R=!0}(),g&&g.animationFinish()))},ae=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(function(){U.forEach(function(e){return e()}),W.forEach(function(e){return e()});var e=A,t=C,n=E;N.forEach(function(i){var r=i.classList;for(var o in e.forEach(function(e){return r.add(e)}),t.forEach(function(e){return r.remove(e)}),n)n.hasOwnProperty(o)&&a(i,o,n[o])})})(),k.length>0&&(Q?(N.forEach(function(e){var t=e.animate(k,{id:B,delay:re(),duration:ne(),easing:te(),iterations:ie(),fill:$(),direction:ee()});t.pause(),Y.push(t)}),Y.length>0&&(Y[0].onfinish=function(){oe()})):function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];J();var n,i=((n=k).forEach(function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{var i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();i!==t&&(e[i]=n,delete e[t])}}}),n);N.forEach(function(n){if(i.length>0){var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(function(e){var t=e.offset,n=[];for(var i in e)e.hasOwnProperty(i)&&"offset"!==i&&n.push("".concat(i,": ").concat(e[i],";"));return"".concat(100*t,"% { ").concat(n.join(" ")," }")}).join(" ")}(i),u=function(e,t,n){var i=function(e){var t=e.getRootNode();return t.head||t}(n),r=o(n),a=i.querySelector("#"+e);if(a)return a;var s=(n.ownerDocument||document).createElement("style");return s.id=e,s.textContent="@".concat(r,"keyframes ").concat(e," { ").concat(t," } @").concat(r,"keyframes ").concat(e,"-alt { ").concat(t," }"),i.appendChild(s),s}(_=void 0!==e?e:function(e){var t=l.indexOf(e);return t<0&&(t=l.push(e)-1),"ion-animation-"+t}(s),s,n);j.push(u),a(n,"animation-duration",ne()+"ms"),a(n,"animation-timing-function",te()),a(n,"animation-delay",re()+"ms"),a(n,"animation-fill-mode",$()),a(n,"animation-direction",ee());var c=ie()===1/0?"infinite":ie().toString();a(n,"animation-iteration-count",c),a(n,"animation-play-state","paused"),t&&a(n,"animation-name",u.id+"-alt"),Object(r.q)(function(){a(n,"animation-name",u.id||null)})}})}(t)),S=!0},se=function(e){if(e=Math.min(Math.max(e,0),.9999),Q)Y.forEach(function(t){t.currentTime=t.effect.getComputedTiming().delay+ne()*e,t.pause()});else{var t="-".concat(ne()*e,"ms");N.forEach(function(e){k.length>0&&(a(e,"animation-delay",t),a(e,"animation-play-state","paused"))})}},le=function(e){Y.forEach(function(e){e.effect.updateTiming({delay:re(),duration:ne(),easing:te(),iterations:ie(),fill:$(),direction:ee()})}),void 0!==e&&se(e)},ue=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;Object(r.q)(function(){N.forEach(function(n){a(n,"animation-name",_||null),a(n,"animation-duration",ne()+"ms"),a(n,"animation-timing-function",te()),a(n,"animation-delay",void 0!==t?"-".concat(t*ne(),"ms"):re()+"ms"),a(n,"animation-fill-mode",$()||null),a(n,"animation-direction",ee()||null);var i=ie()===1/0?"infinite":ie().toString();a(n,"animation-iteration-count",i),e&&a(n,"animation-name",_+"-alt"),Object(r.q)(function(){a(n,"animation-name",_||null)})})})},ce=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return e&&H.forEach(function(i){i.update(e,t,n)}),Q?le(n):ue(t,n),x},de=function(){S&&(Q?Y.forEach(function(e){e.pause()}):N.forEach(function(e){a(e,"animation-play-state","paused")}))},he=function(){v=void 0,oe()},fe=function(){v&&clearTimeout(v)},pe=function(e){return new Promise(function(t){e&&e.sync&&(I=!0,X(function(){return I=!1},{oneTimeCallback:!0})),S||ae(),L&&(Q?(se(0),le()):ue(),L=!1),F&&(M=H.length+1,F=!1),X(function(){return t()},{oneTimeCallback:!0}),H.forEach(function(e){e.play()}),Q?(Y.forEach(function(e){e.play()}),0!==k.length&&0!==N.length||oe()):function(){if(fe(),Object(r.q)(function(){N.forEach(function(e){k.length>0&&a(e,"animation-play-state","running")})}),0===k.length||0===N.length)oe();else{var e=re()||0,t=ne()||0,n=ie()||1;isFinite(n)&&(v=setTimeout(he,e+t*n+100)),function(e,t){var n,i={passive:!0},o=function(t){e===t.target&&(n&&n(),fe(),Object(r.q)(function(){N.forEach(function(e){s(e,"animation-duration"),s(e,"animation-delay"),s(e,"animation-play-state")}),Object(r.q)(oe)}))};e&&(e.addEventListener("webkitAnimationEnd",o,i),e.addEventListener("animationend",o,i),n=function(){e.removeEventListener("webkitAnimationEnd",o,i),e.removeEventListener("animationend",o,i)})}(N[0])}}()})},ge=function(e,t){var n=k[0];return void 0===n||void 0!==n.offset&&0!==n.offset?k=[h({offset:0},e,t)].concat(m(k)):n[e]=t,x};return x={parentAnimation:g,elements:N,childAnimations:H,id:B,animationFinish:oe,from:ge,to:function(e,t){var n=k[k.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?k=[].concat(m(k),[h({offset:1},e,t)]):n[e]=t,x},fromTo:function(e,t,n){return ge(e,t).to(e,n)},parent:function(e){return g=e,x},play:pe,pause:function(){return H.forEach(function(e){e.pause()}),de(),x},stop:function(){H.forEach(function(e){e.stop()}),S&&(K(),S=!1),T=!1,I=!1,F=!0,y=void 0,b=void 0,w=void 0,M=0,L=!1,R=!0},destroy:function(e){return H.forEach(function(t){t.destroy(e)}),function(e){K(),e&&J()}(e),N.length=0,H.length=0,k.length=0,z.length=0,V.length=0,S=!1,F=!0,x},keyframes:function(e){return k=e,x},addAnimation:function(e){if(null!=e)if(Array.isArray(e)){var t,n=f(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.parent(x),H.push(i)}}catch(r){n.e(r)}finally{n.f()}}else e.parent(x),H.push(e);return x},addElement:function(e){if(null!=e)if(1===e.nodeType)N.push(e);else if(e.length>=0)for(var t=0;t<e.length;t++)N.push(e[t]);else console.error("Invalid addElement value");return x},update:ce,fill:function(e){return d=e,ce(!0),x},direction:function(e){return p=e,ce(!0),x},iterations:function(e){return c=e,ce(!0),x},duration:function(e){return Q||0!==e||(e=1),n=e,ce(!0),x},easing:function(e){return i=e,ce(!0),x},delay:function(e){return t=e,ce(!0),x},getWebAnimations:function(){return Y},getKeyframes:function(){return k},getFill:$,getDirection:ee,getDelay:re,getIterations:ie,getEasing:te,getDuration:ne,afterAddRead:function(e){return G.push(e),x},afterAddWrite:function(e){return q.push(e),x},afterClearStyles:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=f(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;O[i]=""}}catch(r){n.e(r)}finally{n.f()}return x},afterStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return O=e,x},afterRemoveClass:function(e){return D=u(D,e),x},afterAddClass:function(e){return P=u(P,e),x},beforeAddRead:function(e){return U.push(e),x},beforeAddWrite:function(e){return W.push(e),x},beforeClearStyles:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=f(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;E[i]=""}}catch(r){n.e(r)}finally{n.f()}return x},beforeStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return E=e,x},beforeRemoveClass:function(e){return C=u(C,e),x},beforeAddClass:function(e){return A=u(A,e),x},onFinish:X,progressStart:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return H.forEach(function(n){n.progressStart(e,t)}),de(),T=e,S?ce(!1,!0,t):ae(),x},progressStep:function(e){return H.forEach(function(t){t.progressStep(e)}),se(e),x},progressEnd:function(e,t,n){return T=!1,H.forEach(function(i){i.progressEnd(e,t,n)}),void 0!==n&&(b=n),L=!1,R=!0,0===e?("reverse"===(y="reverse"===ee()?"normal":"reverse")&&(R=!1),Q?(ce(),se(1-t)):(w=(1-t)*ne()*-1,ce(!1,!1))):1===e&&(Q?(ce(),se(t)):(w=t*ne()*-1,ce(!1,!1))),void 0!==e&&(X(function(){b=void 0,y=void 0,w=void 0},{oneTimeCallback:!0}),g||pe()),x}}}},r7QR:function(e,t,n){"use strict";n.d(t,"a",function(){return I});var i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,w,x,A,C=n("B4Jq"),S=n("1vRN"),E=n("E/Mt"),P=n("meiF"),D=function(e){return Object(P.a)().duration(e?400:300)},O=function(e){var t,n,i=e.width+8,r=Object(P.a)(),o=Object(P.a)();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),r.addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(t,")"),"translateX(".concat(n,")"));var a="ios"===Object(E.b)(e),s=a?.2:.25;return o.addElement(e.backdropEl).fromTo("opacity",.01,s),D(a).addAnimation([r,o])},M=function(e){var t,n,i=Object(E.b)(e),r=e.width;e.isEndSide?(t=-r+"px",n=r+"px"):(t=r+"px",n=-r+"px");var o=Object(P.a)().addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(n,")"),"translateX(0px)"),a=Object(P.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(t,")")),s=Object(P.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return D("ios"===i).addAnimation([o,a,s])},T=function(e){var t=Object(E.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Object(P.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(n,")"));return D("ios"===t).addAnimation(i)},I=(f=new Map,p=[],g=function(){var e=k(_().mark(function e(t){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.abrupt("return","start"===t||"end"===t?x(function(e){return e.side===t&&!e.disabled})||x(function(e){return e.side===t}):null!=t?x(function(e){return e.menuId===t}):x(function(e){return!e.disabled})||(p.length>0?p[0].el:void 0));case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=k(_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.abrupt("return",b());case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),y=function(e){var t=e.side;p.filter(function(n){return n.side===t&&n!==e}).forEach(function(e){return e.disabled=!0})},b=function(){return x(function(e){return e._isOpen})},w=function(){return p.some(function(e){return e.isAnimating})},x=function(e){var t=p.find(e);if(void 0!==t)return t.el},A=function(){return Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(function(e){return new Promise(function(t){return Object(S.c)(e,t)})}))},(m=function(e,t){f.set(e,t)})("reveal",T),m("push",M),m("overlay",O),"undefined"!=typeof document&&document.addEventListener("ionBackButton",function(e){var t=b();t&&e.detail.register(C.MENU_BACK_BUTTON_PRIORITY,function(){return t.close()})}),{registerAnimation:m,get:g,getMenus:(h=k(_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.abrupt("return",p.map(function(e){return e.el}));case 3:case"end":return e.stop()}},e)})),function(){return h.apply(this,arguments)}),getOpen:v,isEnabled:(d=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&!n.disabled);case 4:case"end":return e.stop()}},e)})),function(e){return d.apply(this,arguments)}),swipeGesture:(c=k(_().mark(function e(t,n){var i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(n);case 2:return i=e.sent,e.abrupt("return",(i&&(i.swipeGesture=t),i));case 4:case"end":return e.stop()}},e)})),function(e,t){return c.apply(this,arguments)}),isAnimating:(u=k(_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:return e.abrupt("return",w());case 3:case"end":return e.stop()}},e)})),function(){return u.apply(this,arguments)}),isOpen:(l=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null==t){e.next=5;break}return e.next=3,g(t);case 3:return n=e.sent,e.abrupt("return",void 0!==n&&n.isOpen());case 5:return e.t0=void 0,e.next=8,v();case 8:return e.t1=e.sent,e.abrupt("return",e.t0!==e.t1);case 10:case"end":return e.stop()}},e)})),function(e){return l.apply(this,arguments)}),enable:(s=k(_().mark(function e(t,n){var i;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(n);case 2:return i=e.sent,e.abrupt("return",(i&&(i.disabled=!t),i));case 4:case"end":return e.stop()}},e)})),function(e,t){return s.apply(this,arguments)}),toggle:(a=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&n.toggle());case 4:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)}),close:(o=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,void 0!==t?g(t):v();case 2:return n=e.sent,e.abrupt("return",void 0!==n&&n.close());case 4:case"end":return e.stop()}},e)})),function(e){return o.apply(this,arguments)}),open:(r=k(_().mark(function e(t){var n;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:return n=e.sent,e.abrupt("return",!!n&&n.open());case 4:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)}),_getOpenSync:b,_createAnimation:function(e,t){var n=f.get(e);if(!n)throw new Error("animation not registered");return n(t)},_register:function(e){p.indexOf(e)<0&&(e.disabled||y(e),p.push(e))},_unregister:function(e){var t=p.indexOf(e);t>-1&&p.splice(t,1)},_setOpen:(i=k(_().mark(function e(t,n,i){var r;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!w()){e.next=2;break}return e.abrupt("return",!1);case 2:if(!n){e.next=10;break}return e.next=5,v();case 5:if(r=e.sent,e.t0=r&&t.el!==r,!e.t0){e.next=10;break}return e.next=10,r.setOpen(!1,!1);case 10:return e.abrupt("return",t._setOpen(n,i));case 11:case"end":return e.stop()}},e)})),function(e,t,n){return i.apply(this,arguments)}),_setActiveMenu:y})},wEJo:function(t,n,i){"use strict";i.d(n,"a",function(){return Xe}),i.d(n,"b",function(){return y}),i.d(n,"c",function(){return U}),i.d(n,"d",function(){return A}),i.d(n,"e",function(){return Oe}),i.d(n,"f",function(){return Qe}),i.d(n,"g",function(){return de}),i.d(n,"h",function(){return Ze}),i.d(n,"i",function(){return z}),i.d(n,"j",function(){return H}),i.d(n,"k",function(){return ce}),i.d(n,"l",function(){return be}),i.d(n,"m",function(){return Me}),i.d(n,"n",function(){return w}),i.d(n,"o",function(){return Re}),i.d(n,"p",function(){return B}),i.d(n,"q",function(){return v});var r,a,l,c=!1,d=!1,h=!1,f=!1,g=!1,v="undefined"!=typeof window?window:{},y=v.CSS,b=v.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,i){return e.addEventListener(t,n,i)},rel:function(e,t,n,i){return e.removeEventListener(t,n,i)},ce:function(e,t){return new CustomEvent(e,t)}},x=(b.head.attachShadow+"").indexOf("[native")>-1,A=function(e){return Promise.resolve(e)},E=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1}(),P=function(e,t,n,i){n&&n.map(function(n){var i=p(n,3),r=i[0],o=i[1],a=i[2],s=O(e,r),l=D(t,a),u=M(r);w.ael(s,o,l,u),(t.$rmListeners$=t.$rmListeners$||[]).push(function(){return w.rel(s,o,l,u)})})},D=function(e,t){return function(n){try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(i){Be(i)}}},O=function(e,t){return 4&t?b:8&t?v:16&t?b.body:e},M=function(e){return 0!=(2&e)},T="http://www.w3.org/1999/xlink",I=new WeakMap,R=function(e,t,n){var i=Ne.get(e);E&&n?(i=i||new CSSStyleSheet).replace(t):i=t,Ne.set(e,i)},L=function(e,t,n,i){var r=F(t,n),o=Ne.get(r);if(e=11===e.nodeType?e:b,o)if("string"==typeof o){var a,s=I.get(e=e.head||e);if(s||I.set(e,s=new Set),!s.has(r)){if(e.host&&(a=e.querySelector('[sty-id="'.concat(r,'"]'))))a.innerHTML=o;else{if(w.$cssShim$){var l=(a=w.$cssShim$.createHostStyle(i,r,o,!!(10&t.$flags$)))["s-sc"];l&&(r=l,s=null)}else(a=b.createElement("style")).innerHTML=o;e.insertBefore(a,e.querySelector("link"))}s&&s.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[].concat(m(e.adoptedStyleSheets),[o]));return r},F=function(e,t){return"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$)},B=function(e){return He.push(e)},z=function(e){return Ie(e).$modeName$},V={},N=function(e){return"object"==(e=typeof e)||"function"===e},H=function(e,t){for(var n=null,i=null,r=null,o=!1,a=!1,s=[],l=function t(i){for(var r=0;r<i.length;r++)n=i[r],Array.isArray(n)?t(n):null!=n&&"boolean"!=typeof n&&((o="function"!=typeof e&&!N(n))&&(n=String(n)),o&&a?s[s.length-1].$text$+=n:s.push(o?j(null,n):n),a=o)},u=arguments.length,c=new Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];if(l(c),t){t.key&&(i=t.key),t.name&&(r=t.name);var h=t.className||t.class;h&&(t.class="object"!=typeof h?h:Object.keys(h).filter(function(e){return h[e]}).join(" "))}if("function"==typeof e)return e(null===t?{}:t,s,W);var f=j(e,null);return f.$attrs$=t,s.length>0&&(f.$children$=s),f.$key$=i,f.$name$=r,f},j=function(e,t){return{$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}},U={},W={forEach:function(e,t){return e.map(G).forEach(t)},map:function(e,t){return e.map(G).map(t).map(q)}},G=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}},q=function(e){if("function"==typeof e.vtag){var t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H.apply(void 0,[e.vtag,t].concat(m(e.vchildren||[])))}var n=j(e.vtag,e.vtext);return n.$attrs$=e.vattrs,n.$children$=e.vchildren,n.$key$=e.vkey,n.$name$=e.vname,n},Y=function(e,t,n,i,r,o){if(n!==i){var a=Fe(e,t),s=t.toLowerCase();if("class"===t){var l=e.classList,u=Q(n),c=Q(i);l.remove.apply(l,m(u.filter(function(e){return e&&!c.includes(e)}))),l.add.apply(l,m(c.filter(function(e){return e&&!u.includes(e)})))}else if("style"===t){for(var d in n)i&&null!=i[d]||(d.includes("-")?e.style.removeProperty(d):e.style[d]="");for(var h in i)n&&i[h]===n[h]||(h.includes("-")?e.style.setProperty(h,i[h]):e.style[h]=i[h])}else if("key"===t);else if("ref"===t)i&&i(e);else if(a||"o"!==t[0]||"n"!==t[1]){var f=N(i);if((a||f&&null!==i)&&!r)try{if(e.tagName.includes("-"))e[t]=i;else{var p=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(y){}var g=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,g=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(g?e.removeAttributeNS(T,t):e.removeAttribute(t)):(!a||4&o||r)&&!f&&(i=!0===i?"":i,g?e.setAttributeNS(T,t,i):e.setAttribute(t,i))}else t="-"===t[2]?t.slice(3):Fe(v,s)?s.slice(2):s[2]+t.slice(3),n&&w.rel(e,t,n,!1),i&&w.ael(e,t,i,!1)}},Z=/\s/,Q=function(e){return e?e.split(Z):[]},X=function(e,t,n,i){var r=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||V,a=t.$attrs$||V;for(i in o)i in a||Y(r,i,o[i],void 0,n,t.$flags$);for(i in a)Y(r,i,o[i],a[i],n,t.$flags$)},K=function e(t,n,i,o){var s,u,d,p=n.$children$[i],g=0;if(c||(h=!0,"slot"===p.$tag$&&(r&&o.classList.add(r+"-s"),p.$flags$|=p.$children$?2:1)),null!==p.$text$)s=p.$elm$=b.createTextNode(p.$text$);else if(1&p.$flags$)s=p.$elm$=b.createTextNode("");else{if(f||(f="svg"===p.$tag$),s=p.$elm$=b.createElementNS(f?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.$flags$?"slot-fb":p.$tag$),f&&"foreignObject"===p.$tag$&&(f=!1),X(null,p,f),null!=r&&s["s-si"]!==r&&s.classList.add(s["s-si"]=r),p.$children$)for(g=0;g<p.$children$.length;++g)(u=e(t,p,g,s))&&s.appendChild(u);"svg"===p.$tag$?f=!1:"foreignObject"===s.tagName&&(f=!0)}return s["s-hn"]=l,3&p.$flags$&&(s["s-sr"]=!0,s["s-cr"]=a,s["s-sn"]=p.$name$||"",(d=t&&t.$children$&&t.$children$[i])&&d.$tag$===p.$tag$&&t.$elm$&&J(t.$elm$,!1)),s},J=function e(t,n){w.$flags$|=1;for(var i=t.childNodes,r=i.length-1;r>=0;r--){var o=i[r];o["s-hn"]!==l&&o["s-ol"]&&(ie(o).insertBefore(o,ne(o)),o["s-ol"].remove(),o["s-ol"]=void 0,h=!0),n&&e(o,n)}w.$flags$&=-2},$=function(e,t,n,i,r,o){var a,s=e["s-cr"]&&e["s-cr"].parentNode||e;for(s.shadowRoot&&s.tagName===l&&(s=s.shadowRoot);r<=o;++r)i[r]&&((a=K(null,n,r,e))&&(i[r].$elm$=a,s.insertBefore(a,ne(t))))},ee=function(e,t,n,i,r){for(;t<=n;++t)(i=e[t])&&(r=i.$elm$,ue(i),d=!0,r["s-ol"]?r["s-ol"].remove():J(r,!0),r.remove())},te=function(e,t){return e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$)},ne=function(e){return e&&e["s-ol"]||e},ie=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},re=function e(t,n){var i,r=n.$elm$=t.$elm$,o=t.$children$,a=n.$children$,s=n.$tag$,l=n.$text$;null===l?(f="svg"===s||"foreignObject"!==s&&f,"slot"===s||X(t,n,f),null!==o&&null!==a?function(t,n,i,r){for(var o,a,s=0,l=0,u=0,c=0,d=n.length-1,h=n[0],f=n[d],p=r.length-1,g=r[0],v=r[p];s<=d&&l<=p;)if(null==h)h=n[++s];else if(null==f)f=n[--d];else if(null==g)g=r[++l];else if(null==v)v=r[--p];else if(te(h,g))e(h,g),h=n[++s],g=r[++l];else if(te(f,v))e(f,v),f=n[--d],v=r[--p];else if(te(h,v))"slot"!==h.$tag$&&"slot"!==v.$tag$||J(h.$elm$.parentNode,!1),e(h,v),t.insertBefore(h.$elm$,f.$elm$.nextSibling),h=n[++s],v=r[--p];else if(te(f,g))"slot"!==h.$tag$&&"slot"!==v.$tag$||J(f.$elm$.parentNode,!1),e(f,g),t.insertBefore(f.$elm$,h.$elm$),f=n[--d],g=r[++l];else{for(u=-1,c=s;c<=d;++c)if(n[c]&&null!==n[c].$key$&&n[c].$key$===g.$key$){u=c;break}u>=0?((a=n[u]).$tag$!==g.$tag$?o=K(n&&n[l],i,u,t):(e(a,g),n[u]=void 0,o=a.$elm$),g=r[++l]):(o=K(n&&n[l],i,l,t),g=r[++l]),o&&ie(h.$elm$).insertBefore(o,ne(h.$elm$))}s>d?$(t,null==r[p+1]?null:r[p+1].$elm$,i,r,l,p):l>p&&ee(n,s,d)}(r,o,n,a):null!==a?(null!==t.$text$&&(r.textContent=""),$(r,null,n,a,0,a.length-1)):null!==o&&ee(o,0,o.length-1),f&&"svg"===s&&(f=!1)):(i=r["s-cr"])?i.parentNode.textContent=l:t.$text$!==l&&(r.data=l)},oe=function e(t){var n,i,r,o,a,s,l=t.childNodes;for(i=0,r=l.length;i<r;i++)if(1===(n=l[i]).nodeType){if(n["s-sr"])for(a=n["s-sn"],n.hidden=!1,o=0;o<r;o++)if(s=l[o].nodeType,l[o]["s-hn"]!==n["s-hn"]||""!==a){if(1===s&&a===l[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===s||3===s&&""!==l[o].textContent.trim()){n.hidden=!0;break}e(n)}},ae=[],se=function e(t){for(var n,i,r,o,a,s,l=0,u=t.childNodes,c=u.length;l<c;l++){if((n=u[l])["s-sr"]&&(i=n["s-cr"])&&i.parentNode)for(r=i.parentNode.childNodes,o=n["s-sn"],s=r.length-1;s>=0;s--)(i=r[s])["s-cn"]||i["s-nr"]||i["s-hn"]===n["s-hn"]||(le(i,o)?(a=ae.find(function(e){return e.$nodeToRelocate$===i}),d=!0,i["s-sn"]=i["s-sn"]||o,a?a.$slotRefNode$=n:ae.push({$slotRefNode$:n,$nodeToRelocate$:i}),i["s-sr"]&&ae.map(function(e){le(e.$nodeToRelocate$,i["s-sn"])&&((a=ae.find(function(e){return e.$nodeToRelocate$===i}))&&!e.$slotRefNode$&&(e.$slotRefNode$=a.$slotRefNode$))})):ae.some(function(e){return e.$nodeToRelocate$===i})||ae.push({$nodeToRelocate$:i}));1===n.nodeType&&e(n)}},le=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},ue=function e(t){t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(e)},ce=function(e){return Ie(e).$hostElement$},de=function(e,t,n){var i=ce(e);return{emit:function(e){return he(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},he=function(e,t,n){var i=w.ce(t,n);return e.dispatchEvent(i),i},fe=function(e,t){t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(function(t){return e.$onRenderResolve$=t}))},pe=function(e,t){if(e.$flags$|=16,!(4&e.$flags$))return fe(e,e.$ancestorComponent$),Qe(function(){return ge(e,t)});e.$flags$|=512},ge=function(e,t){var n,i=e.$lazyInstance$;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(function(e){var t=p(e,2),n=t[0],r=t[1];return _e(i,n,r)}),e.$queuedListeners$=null),n=_e(i,"componentWillLoad")),n=xe(n,function(){return _e(i,"componentWillRender")}),xe(n,function(){return ve(e,i,t)})},ve=function(){var e=k(_().mark(function e(t,n,i){var r,o,a,s;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.$hostElement$,o=r["s-rc"],i&&function(e){var t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,r=L(x&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&i&&(n["s-sc"]=r,n.classList.add(r+"-h"),2&i&&n.classList.add(r+"-s"))}(t),me(t,n),w.$cssShim$&&w.$cssShim$.updateHost(r),o&&(o.map(function(e){return e()}),r["s-rc"]=void 0),a=r["s-p"],s=function(){return ye(t)},0===a.length?s():(Promise.all(a).then(s),t.$flags$|=4,a.length=0);case 4:case"end":return e.stop()}},e)}));return function(t,n,i){return e.apply(this,arguments)}}(),me=function(e,t,n){try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,function(e,t){var n,i=e.$hostElement$,o=e.$cmpMeta$,s=e.$vnode$||j(null,null),u=(n=t)&&n.$tag$===U?t:H(null,null,t);if(l=i.tagName,o.$attrsToReflect$&&(u.$attrs$=u.$attrs$||{},o.$attrsToReflect$.map(function(e){var t=p(e,2),n=t[0],r=t[1];return u.$attrs$[r]=i[n]})),u.$tag$=null,u.$flags$|=4,e.$vnode$=u,u.$elm$=s.$elm$=i.shadowRoot||i,r=i["s-sc"],a=i["s-cr"],c=x&&0!=(1&o.$flags$),d=!1,re(s,u),w.$flags$|=1,h){var f,g,v,m,y,_;se(u.$elm$);for(var k=0;k<ae.length;k++)(g=(f=ae[k]).$nodeToRelocate$)["s-ol"]||((v=b.createTextNode(""))["s-nr"]=g,g.parentNode.insertBefore(g["s-ol"]=v,g));for(k=0;k<ae.length;k++)if(g=(f=ae[k]).$nodeToRelocate$,f.$slotRefNode$){for(m=f.$slotRefNode$.parentNode,y=f.$slotRefNode$.nextSibling,v=g["s-ol"];v=v.previousSibling;)if((_=v["s-nr"])&&_["s-sn"]===g["s-sn"]&&m===_.parentNode&&(!(_=_.nextSibling)||!_["s-nr"])){y=_;break}(!y&&m!==g.parentNode||g.nextSibling!==y)&&g!==y&&(!g["s-hn"]&&g["s-ol"]&&(g["s-hn"]=g["s-ol"].parentNode.nodeName),m.insertBefore(g,y))}else 1===g.nodeType&&(g.hidden=!0)}d&&oe(u.$elm$),w.$flags$&=-2,ae.length=0}(e,t)}catch(i){Be(i,e.$hostElement$)}return null},ye=function(e){var t=e.$hostElement$,n=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?_e(n,"componentDidUpdate"):(e.$flags$|=64,ke(t),_e(n,"componentDidLoad"),e.$onReadyResolve$(t),i||we()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ye(function(){return pe(e,!1)}),e.$flags$&=-517},be=function(e){var t=Ie(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&pe(t,!1),n},we=function(e){ke(b.documentElement),Ye(function(){return he(v,"appload",{detail:{namespace:"ionic"}})})},_e=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(i){Be(i)}},xe=function(e,t){return e&&e.then?e.then(t):t()},ke=function(e){return e.classList.add("hydrated")},Ae=function e(t,n,i,r,o,a,s){var l,u,c,d;if(1===a.nodeType){for((l=a.getAttribute("c-id"))&&((u=l.split("."))[0]!==s&&"0"!==u[0]||(c={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},n.push(c),a.removeAttribute("c-id"),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,t=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))),d=a.childNodes.length-1;d>=0;d--)e(t,n,i,r,o,a.childNodes[d],s);if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)e(t,n,i,r,o,a.shadowRoot.childNodes[d],s)}else if(8===a.nodeType)(u=a.nodeValue.split("."))[1]!==s&&"0"!==u[1]||(l=u[0],c={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===l?(c.$elm$=a.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,n.push(c),a.remove(),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))):c.$hostId$===s&&("s"===l?(c.$tag$="slot",a["s-sn"]=u[5]?c.$name$=u[5]:"",a["s-sr"]=!0,r&&(c.$elm$=b.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),a.parentNode.insertBefore(c.$elm$,a),a.remove(),"0"===c.$depth$&&(r[c.$index$]=c.$elm$)),i.push(c),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c):"r"===l&&(r?a.remove():(o["s-cr"]=a,a["s-cn"]=!0))));else if(t&&"style"===t.$tag$){var h=j(null,a.textContent);h.$elm$=a,h.$index$="0",t.$children$=[h]}},Ce=function e(t,n){if(1===t.nodeType){for(var i=0;i<t.childNodes.length;i++)e(t.childNodes[i],n);if(t.shadowRoot)for(i=0;i<t.shadowRoot.childNodes.length;i++)e(t.shadowRoot.childNodes[i],n)}else if(8===t.nodeType){var r=t.nodeValue.split(".");"o"===r[0]&&(n.set(r[1]+"."+r[2],t),t.nodeValue="",t["s-en"]=r[3])}},Se=function(e,t,n){if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);var i=Object.entries(t.$members$),r=e.prototype;if(i.map(function(e){var i=p(e,2),o=i[0],a=p(i[1],1)[0];31&a||2&n&&32&a?Object.defineProperty(r,o,{get:function(){return e=o,Ie(this).$instanceValues$.get(e);var e},set:function(e){var n=this;!function(e,t,i,r){var o,a,s=Ie(n),l=s.$hostElement$,u=s.$instanceValues$.get(t),c=s.$flags$,d=s.$lazyInstance$;if(a=r.$members$[t][0],i=null==(o=i)||N(o)?o:4&a?"false"!==o&&(""===o||!!o):2&a?parseFloat(o):1&a?String(o):o,!(8&c&&void 0!==u||i===u)&&(s.$instanceValues$.set(t,i),d)){if(r.$watchers$&&128&c){var h=r.$watchers$[t];h&&h.map(function(e){try{d[e](i,u,t)}catch(n){Be(n,l)}})}2==(18&c)&&pe(s,!1)}}(0,o,e,t)},configurable:!0,enumerable:!0}):1&n&&64&a&&Object.defineProperty(r,o,{value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Ie(this);return i.$onInstancePromise$.then(function(){var e;return(e=i.$lazyInstance$)[o].apply(e,t)})}})}),1&n){var o=new Map;r.attributeChangedCallback=function(e,t,n){var i=this;w.jmp(function(){var t=o.get(e);i[t]=(null!==n||"boolean"!=typeof i[t])&&n})},e.observedAttributes=i.filter(function(e){var t=p(e,2);t[0];return 15&t[1][0]}).map(function(e){var n=p(e,2),i=n[0],r=n[1],a=r[1]||i;return o.set(a,i),512&r[0]&&t.$attrsToReflect$.push([i,a]),a})}}return e},Ee=function(e){_e(e,"connectedCallback")},Pe=function(e){if(0==(1&w.$flags$)){var t=Ie(e),n=t.$cmpMeta$;if(1&t.$flags$)P(e,t,n.$listeners$),Ee(t.$lazyInstance$);else{var r;if(t.$flags$|=1,r=e.getAttribute("s-id")){if(x&&1&n.$flags$){var o=L(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(o+"-h",o+"-s")}!function(e,t,n,i){var r=e.shadowRoot,o=[],a=r?[]:null,s=i.$vnode$=j(t,null);w.$orgLocNodes$||Ce(b.body,w.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),Ae(s,o,[],a,e,e,n),o.map(function(e){var n=e.$hostId$+"."+e.$nodeId$,i=w.$orgLocNodes$.get(n),o=e.$elm$;i&&x&&""===i["s-en"]&&i.parentNode.insertBefore(o,i.nextSibling),r||(o["s-hn"]=t,i&&(o["s-ol"]=i,o["s-ol"]["s-nr"]=o)),w.$orgLocNodes$.delete(n)}),r&&a.map(function(e){e&&r.appendChild(e)})}(e,n.$tagName$,r,t)}r||12&n.$flags$&&De(e);for(var a=e;a=a.parentNode||a.host;)if(1===a.nodeType&&a.hasAttribute("s-id")&&a["s-p"]||a["s-p"]){fe(t,t.$ancestorComponent$=a);break}n.$members$&&Object.entries(n.$members$).map(function(t){var n=p(t,2),i=n[0];if(31&p(n[1],1)[0]&&e.hasOwnProperty(i)){var r=e[i];delete e[i],e[i]=r}}),Ye(function(){return(r=k(_().mark(function e(t,n,r,o,a){var s,l,u,c,d,h;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=(32&n.$flags$)){e.next=25;break}if(n.$flags$|=32,!(a=Ve(r)).then){e.next=7;break}return s=function(){},e.next=5,a;case 5:a=e.sent,s();case 7:a.isProxied||(r.$watchers$=a.watchers,Se(a,r,2),a.isProxied=!0),n.$flags$|=8;try{new a(n)}catch(o){Be(o)}if(n.$flags$&=-9,n.$flags$|=128,Ee(n.$lazyInstance$),!a.style){e.next=25;break}if("string"!=typeof(l=a.style)&&(l=l[n.$modeName$=function(e){return He.map(function(t){return t(e)}).find(function(e){return!!e})}(t)]),u=F(r,n.$modeName$),Ne.has(u)){e.next=25;break}if(c=function(){},e.t0=8&r.$flags$,!e.t0){e.next=23;break}return e.next=22,i.e(56).then(i.bind(null,"JmUR")).then(function(e){return e.scopeCss(l,u,!1)});case 22:l=e.sent;case 23:R(u,l,!!(1&r.$flags$)),c();case 25:d=n.$ancestorComponent$,h=function(){return pe(n,!0)},d&&d["s-rc"]?d["s-rc"].push(h):h();case 27:case"end":return e.stop()}},e)})),function(e,t,n,i,o){return r.apply(this,arguments)})(e,t,n);var r})}}},De=function(e){var t=e["s-cr"]=b.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Oe=function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],a=i.exclude||[],l=v.customElements,c=b.head,d=c.querySelector("meta[charset]"),h=b.createElement("style"),f=[],p=b.querySelectorAll("[sty-id]"),g=!0,m=0;for(Object.assign(w,i),w.$resourcesUrl$=new URL(i.resourcesUrl||"./",b.baseURI).href,w.$flags$|=2;m<p.length;m++)R(p[m].getAttribute("sty-id"),p[m].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);t.map(function(t){return t[1].map(function(i){var c={$flags$:i[0],$tagName$:i[1],$members$:i[2],$listeners$:i[3]};c.$members$=i[2],c.$listeners$=i[3],c.$attrsToReflect$=[],c.$watchers$={},!x&&1&c.$flags$&&(c.$flags$|=8);var d=c.$tagName$,h=function(e){o(i,e);var t=s(i);function i(e){var n;return S(this,i),n=t.call(this,e),Le(e=u(n),c),1&c.$flags$&&(x?e.attachShadow({mode:"open",delegatesFocus:!!(16&c.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e)),n}return C(i,[{key:"connectedCallback",value:function(){var e=this;n&&(clearTimeout(n),n=null),g?f.push(this):w.jmp(function(){return Pe(e)})}},{key:"disconnectedCallback",value:function(){var e=this;w.jmp(function(){return function(e){if(0==(1&w.$flags$)){var t=Ie(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(function(e){return e()}),t.$rmListeners$=void 0),w.$cssShim$&&w.$cssShim$.removeHost(e),_e(n,"disconnectedCallback")}}(e)})}},{key:"componentOnReady",value:function(){return Ie(this).$onReadyPromise$}}]),i}(e(HTMLElement));c.$lazyBundleId$=t[0],a.includes(d)||l.get(d)||(r.push(d),l.define(d,Se(h,c,1)))})}),h.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),c.insertBefore(h,d?d.nextSibling:c.firstChild),g=!1,f.length?f.map(function(e){return e.connectedCallback()}):w.jmp(function(){return n=setTimeout(we,30)})},Me=function(e){var t=new URL(e,w.$resourcesUrl$);return t.origin!==v.location.origin?t.href:t.pathname},Te=new WeakMap,Ie=function(e){return Te.get(e)},Re=function(e,t){return Te.set(t.$lazyInstance$=e,t)},Le=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(function(e){return n.$onInstanceResolve$=e}),n.$onReadyPromise$=new Promise(function(e){return n.$onReadyResolve$=e}),e["s-p"]=[],e["s-rc"]=[],P(e,n,t.$listeners$),Te.set(e,n)},Fe=function(e,t){return t in e},Be=function(e,t){return(0,console.error)(e,t)},ze=new Map,Ve=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_"),o=e.$lazyBundleId$,a=ze.get(o);return a?a[r]:i("kLfG")("./".concat(o,".entry.js")).then(function(e){return ze.set(o,e),e[r]},Be)},Ne=new Map,He=[],je=[],Ue=[],We=function(e,t){return function(n){e.push(n),g||(g=!0,t&&4&w.$flags$?Ye(qe):w.raf(qe))}},Ge=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){Be(n)}e.length=0},qe=function e(){Ge(je),Ge(Ue),(g=je.length>0)&&w.raf(e)},Ye=function(e){return A().then(e)},Ze=We(je,!1),Qe=We(Ue,!0),Xe={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},y08P:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=function(){function e(t,n,i,r,o){S(this,e),this.id=n,this.name=i,this.disableScroll=o,this.priority=1e6*r+n,this.ctrl=t}return C(e,[{key:"canStart",value:function(){return!!this.ctrl&&this.ctrl.canStart(this.name)}},{key:"start",value:function(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}},{key:"capture",value:function(){if(!this.ctrl)return!1;var e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}},{key:"release",value:function(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}},{key:"destroy",value:function(){this.release(),this.ctrl=void 0}}]),e}(),r=function(){function e(t,n,i,r){S(this,e),this.id=n,this.disable=i,this.disableScroll=r,this.ctrl=t}return C(e,[{key:"block",value:function(){if(this.ctrl){if(this.disable){var e,t=f(this.disable);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.ctrl.disableGesture(n,this.id)}}catch(i){t.e(i)}finally{t.f()}}this.disableScroll&&this.ctrl.disableScroll(this.id)}}},{key:"unblock",value:function(){if(this.ctrl){if(this.disable){var e,t=f(this.disable);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.ctrl.enableGesture(n,this.id)}}catch(i){t.e(i)}finally{t.f()}}this.disableScroll&&this.ctrl.enableScroll(this.id)}}},{key:"destroy",value:function(){this.unblock(),this.ctrl=void 0}}]),e}(),o=new(function(){function e(){S(this,e),this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}return C(e,[{key:"createGesture",value:function(e){return new i(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}},{key:"createBlocker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new r(this,this.newID(),e.disable,!!e.disableScroll)}},{key:"start",value:function(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}},{key:"capture",value:function(e,t,n){if(!this.start(e,t,n))return!1;var i=this.requestedStart,r=-1e4;if(i.forEach(function(e){r=Math.max(r,e)}),r===n){this.capturedId=t,i.clear();var o=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(o),!0}return i.delete(t),!1}},{key:"release",value:function(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}},{key:"disableGesture",value:function(e,t){var n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}},{key:"enableGesture",value:function(e,t){var n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}},{key:"disableScroll",value:function(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}},{key:"enableScroll",value:function(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}},{key:"canStart",value:function(e){return void 0===this.capturedId&&!this.isDisabled(e)}},{key:"isCaptured",value:function(){return void 0!==this.capturedId}},{key:"isScrollDisabled",value:function(){return this.disabledScroll.size>0}},{key:"isDisabled",value:function(e){var t=this.disabledGestures.get(e);return!!(t&&t.size>0)}},{key:"newID",value:function(){return this.gestureId++,this.gestureId}}]),e}())}},[[0,1]]])}(); \ No newline at end of file diff --git a/dist/polyfills-es5.016de5c7b74a5782d968.js b/dist/polyfills-es5.016de5c7b74a5782d968.js index 1d8bf5451a..896c509803 100644 --- a/dist/polyfills-es5.016de5c7b74a5782d968.js +++ b/dist/polyfills-es5.016de5c7b74a5782d968.js @@ -1 +1 @@ -!function(){function t(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},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,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0luR":function(t,e,n){"use strict";var r=n("wA6s"),o=n("T69T"),i=n("ocAm"),a=n("OG5q"),c=n("6XUM"),u=n("/Ybd").f,s=n("NIlc"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof t?new f(e):void 0===e?f():f(e);return""===e&&(l[n]=!0),n};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},1:function(t,e,n){n("voQr"),n("R0gw"),t.exports=n("NsgX")},"149L":function(t,e,n){var r=n("Ew/G");t.exports=r("document","documentElement")},"1p6F":function(t,e,n){var r=n("6XUM"),o=n("ezU2"),i=n("m41k")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"2MGJ":function(t,e,n){var r=n("ocAm"),o=n("aJMj"),i=n("OG5q"),a=n("Fqhe"),c=n("6urC"),u=n("XH/I"),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c(this)})},"2RDa":function(t,e,n){var r,o=n("F26l"),i=n("5y2d"),a=n("aAjO"),c=n("yQMY"),u=n("149L"),s=n("qx7X"),f=n("/AsP")("IE_PROTO"),l=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("ezU2"),v=n("Ox9q").set,d=n("tuHh"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,b="process"==h(y),k=p(l,"queueMicrotask"),w=k&&k.value;w||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!d?(c=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return i<s?f*(i/s/c+1/a-1/a)*s*c:(n=(e=(1+c/a)*i)-(e-i))>u||n!=n?f*(1/0):f*n}},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s<u&&u<s+l&&(p=-1,s+=l-1,u+=l-1);l-- >0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("find");"find"in[]&&Array(1).find(function(){c=!1}),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},"6XUM":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"6fhQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("Neub"),i=n("VCQ8"),a=n("rG8t"),c=n("6CJb"),u=[],s=u.sort,f=a(function(){u.sort(void 0)}),l=a(function(){u.sort(null)}),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},"6lQQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").indexOf,i=n("6CJb"),a=n("w2hq"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h<v;h++,f++)h in l&&s(r,f,l[h]);return r.length=f,r}})},"6urC":function(t,e,n){var r=n("KBkW"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"7/lX":function(t,e,n){var r=n("F26l"),o=n("JI1L");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},"76gj":function(t,e,n){var r=n("Ew/G"),o=n("KkqW"),i=n("busr"),a=n("F26l");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},"7Oj1":function(t,e,n){var r=n("vDBE"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"7aOP":function(t,e,n){var r=n("F26l"),o=n("6XUM"),i=n("oB0/");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},"7gGY":function(t,e,n){var r=n("T69T"),o=n("gn9T"),i=n("uSMZ"),a=n("EMtK"),c=n("LdO1"),u=n("OG5q"),s=n("XdSI"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"8+YH":function(t,e,n){n("94Vg")("search")},"815a":function(t,e,n){n("94Vg")("unscopables")},"8CeQ":function(t,e,n){var r=n("ocAm");n("shqn")(r.JSON,"JSON",!0)},"8aNu":function(t,e,n){var r=n("2MGJ");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"8iOR":function(t,e,n){var r=n("wA6s"),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},"8xKV":function(t,e,n){"use strict";var r=n("wA6s"),o=n("vDBE"),i=n("hH+7"),a=n("EMWV"),c=n("rG8t"),u=1..toFixed,s=Math.floor,f=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c(function(){u.call({})})},{toFixed:function(t){var e,n,r,c,u=i(this),l=o(t),p=[0,0,0,0,0,0],h="",v="0",d=function(t,e){for(var n=-1,r=e;++n<6;)p[n]=(r+=t*p[n])%1e7,r=s(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),d(1,1),g(2),v=y()}else d(0,n),d(1<<-e,0),v=y()+a.call("0",l);return l>0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},BaTD:function(t,e,n){n("wA6s")({target:"String",proto:!0},{repeat:n("EMWV")})},BcWx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("DYg9");r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c<u;)s<(n=i(arguments[c++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),k=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,E=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof t&&(b?l(function(){m.valueOf.call(r)}):"Number"!=u(r))?s(new y(k(n)),r,t):k(n)},x=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;x.length>S;S++)c(y,w=x[S])&&!c(E,w)&&d(E,w,v(y,w));E.prototype=m,m.constructor=E,a(o,"Number",E)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)}),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function r(){var o=n.concat(i.call(arguments));return this instanceof r?c(e,o.length,o):e.apply(t,o)};return o(e.prototype)&&(a.prototype=e.prototype),a}},EIBq:function(t,e,n){var r=n("m41k")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},EMWV:function(t,e,n){"use strict";var r=n("vDBE"),o=n("hmpk");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("wIVT"),c=n("aJMj"),u=n("OG5q"),s=n("m41k"),f=n("g9hI"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var v=i(t),d=!o(function(){var e={};return e[v]=function(){return 7},7!=""[t](e)}),g=d&&!o(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e});if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=m?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},IQbc:function(t,e,n){"use strict";var r=n("wA6s"),o=n("vyNX").right,i=n("6CJb"),a=n("w2hq"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){u(1)}),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r(function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=r(function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){c=!1}),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]})},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KsdI:function(t,e,n){n("94Vg")("iterator")},L4l2:function(t,e,n){"use strict";var r=n("wA6s"),o=n("s8qp"),i=n("hmpk");r({target:"String",proto:!0,forced:!n("0Ds2")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},LRWt:function(t,e,n){n("F4rZ"),n("NX+v"),n("SNUk"),n("c/8x"),n("0luR"),n("Pfbg"),n("V+F/"),n("KsdI"),n("ERXZ"),n("YOJ4"),n("S3W2"),n("8+YH"),n("uKyN"),n("Vi1R"),n("9kNm"),n("ZQqA"),n("815a"),n("OVXS"),n("8CeQ");var r=n("E7aN");t.exports=r.Symbol},LdO1:function(t,e,n){var r=n("6XUM");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},M1AK:function(t,e,n){var r=n("wA6s"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},M7Xk:function(t,e,n){var r=n("yQMY"),o=n("6XUM"),i=n("OG5q"),a=n("/Ybd").f,c=n("SDMg"),u=n("cZY6"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},MjoC:function(t,e,n){var r=n("T69T"),o=n("/Ybd").f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},MkZA:function(t,e,n){var r=n("rG8t"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},NIlc:function(t,e,n){var r=n("OG5q"),o=n("76gj"),i=n("7gGY"),a=n("/Ybd");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s<n.length;s++){var f=n[s];r(t,f)||c(t,f,u(e,f))}}},"NX+v":function(t,e,n){var r=n("4PyY"),o=n("2MGJ"),i=n("azxr");r||o(Object.prototype,"toString",i,{unsafe:!0})},Neub:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},NsgX:function(t,e,n){"use strict";n.r(e),n("gPqf"),n("pDpN")},Nvxz:function(t,e,n){var r=n("6XUM"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},O3xq:function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},OG5q:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},OVXS:function(t,e,n){n("shqn")(Math,"Math",!0)},OXtp:function(t,e,n){var r=n("EMtK"),o=n("xpLY"),i=n("7Oj1"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},OjQg:function(t,e){t.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}},Ox9q:function(t,e,n){var r,o,i,a=n("ocAm"),c=n("rG8t"),u=n("ezU2"),s=n("tcQx"),f=n("149L"),l=n("qx7X"),p=n("tuHh"),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,k={},w=function(t){if(k.hasOwnProperty(t)){var e=k[t];delete k[t],e()}},E=function(t){return function(){w(t)}},x=function(t){w(t.data)},S=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return k[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete k[t]},"process"==u(g)?r=function(t){g.nextTick(E(t))}:m&&m.now?r=function(t){m.now(E(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)||"file:"===h.protocol?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(E(t),0)}:(r=S,a.addEventListener("message",x,!1))),t.exports={set:v,clear:d}},PbJR:function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({global:!0,forced:parseInt!=o},{parseInt:o})},Pf6x:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{fround:n("48xZ")})},Pfbg:function(t,e,n){n("94Vg")("hasInstance")},PmIt:function(t,e,n){"use strict";var r=n("HSQg"),o=n("1p6F"),i=n("F26l"),a=n("hmpk"),c=n("p82S"),u=n("dPn5"),s=n("xpLY"),f=n("unYP"),l=n("qjkP"),p=n("rG8t"),h=[].push,v=Math.min,d=!p(function(){return!RegExp(4294967295,"y")});r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(f,c.slice(1)),s=c[0].length,p=u,f.length>=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),g=l.unicode,y=new h(d?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g")),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===p.length)return null===f(y,p)?[p]:[];for(var b=0,k=0,w=[];k<p.length;){y.lastIndex=d?k:0;var E,x=f(y,d?p:p.slice(k));if(null===x||(E=v(s(y.lastIndex+(d?0:k)),p.length))===b)k=u(p,k,g);else{if(w.push(p.slice(b,k)),w.length===m)return w;for(var S=1;S<=x.length-1;S++)if(w.push(x[S]),w.length===m)return w;k=b=E}}return w.push(p.slice(b)),w}]},!d)},Q4jj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("vyNX").left,i=n("6CJb"),a=n("w2hq"),c=i("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},QFgE:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},QUoj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},"QVG+":function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},QcXc:function(t,e,n){var r=n("xpLY"),o=n("EMWV"),i=n("hmpk"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},R0gw:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";var t,e,n,r,o,i;function a(){t=Zone.__symbol__,e=Object[t("defineProperty")]=Object.defineProperty,n=Object[t("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=t("unconfigurables"),Object.defineProperty=function(t,e,n){if(u(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=s(t,e,n)),f(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach(function(n){e[n]=s(t,n,e[n])}),r(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var r=n(t,e);return r&&u(t,e)&&(r.configurable=!1),r}}function c(t,e,n){var r=n.configurable;return f(t,e,n=s(t,e,n),r)}function u(t,e){return t&&t[o]&&t[o][e]}function s(t,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(t[o]||Object.isFrozen(t)||e(t,o,{writable:!0,value:{}}),t[o]&&(t[o][n]=!0)),r}function f(t,n,r,o){try{return e(t,n,r)}catch(a){if(!r.configurable)throw a;void 0===o?delete r.configurable:r.configurable=o;try{return e(t,n,r)}catch(a){var i=null;try{i=JSON.stringify(r)}catch(a){i=r.toString()}console.log("Attempting to configure '"+n+"' with descriptor '"+i+"' on object '"+t+"' and got error, giving up: "+a)}}}function l(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f=[],l=t.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");l?f=p.map(function(t){return"HTML"+t+"Element"}).concat(s):t.EventTarget?f.push("EventTarget"):f=s;for(var h=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,d=e.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},m=0;m<r.length;m++){var b=u+((S=r[m])+c),k=u+(S+a);i[S]={},i[S][c]=b,i[S][a]=k}for(m=0;m<p.length;m++)for(var w=p[m],E=o[w]={},x=0;x<r.length;x++){var S;E[S=r[x]]=w+".addEventListener:"+S}var _=[];for(m=0;m<f.length;m++){var T=t[f[m]];_.push(T&&T.prototype)}return e.patchEventTarget(t,_,{vh:function(t,e,n,r){if(!h&&d){if(v)try{var o;if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}catch(i){return t.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}else if(v)try{e.toString()}catch(i){return t.apply(n,r),!1}return!0},transferEventName:function(t){return y[t]||t}}),Zone[e.symbol("patchEventTarget")]=!!t.EventTarget,!0}function p(t,e){var n=t.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(t,e){var n=t.getGlobalObjects();if((n.isBrowser||n.isMix)&&!t.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=t.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){t.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return t.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=e.XMLHttpRequest;if(!i)return!1;var a=i.prototype,c=t.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(c)return t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(s=new i).onreadystatechange,t.ObjectDefineProperty(a,"onreadystatechange",c||{}),o;var u=t.symbol("fake");t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[u]},set:function(t){this[u]=t}});var s,f=function(){};return(s=new i).onreadystatechange=f,o=s[u]===f,s.onreadystatechange=null,o}(t,e)){var r="undefined"!=typeof WebSocket;(function(t){for(var e=t.getGlobalObjects().eventNames,n=t.symbol("unbound"),r=function(r){var o=e[r],i="on"+o;self.addEventListener(o,function(e){var r,o,a=e.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=t.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement},!0)},o=0;o<e.length;o++)r(o)})(t),t.patchClass("XMLHttpRequest"),r&&function(t,e){var n=t.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=e.WebSocket;e.EventTarget||t.patchEventTarget(e,[i.prototype]),e.WebSocket=function(e,n){var a,c,u=arguments.length>1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=i.Zone;t.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=c,a()}),t.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),t.__load_patch("EventTargetLegacy",function(t,e,n){l(t,n),p(n,t)})}})?r.call(e,n,e,t):r)||(t.exports=o)},RCvO:function(t,e,n){n("wA6s")({target:"Object",stat:!0,sham:!n("T69T")},{create:n("2RDa")})},"Rj+b":function(t,e,n){"use strict";var r=n("2MGJ"),o=n("F26l"),i=n("rG8t"),a=n("x0kV"),c=RegExp.prototype,u=c.toString;(i(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})||"toString"!=u.name)&&r(RegExp.prototype,"toString",function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)},{unsafe:!0})},Rn6E:function(t,e,n){var r=n("F26l"),o=n("5MmU"),i=n("xpLY"),a=n("tcQx"),c=n("F/TS"),u=n("ipMl"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},S3W2:function(t,e,n){n("94Vg")("replace")},S3Yw:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("VCQ8"),a=n("xpLY"),c=n("vDBE"),u=n("hmpk"),s=n("dPn5"),f=n("unYP"),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=g?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(m)){var i=n(e,t,this,r);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof r;v||(r=String(r));var d=u.global;if(d){var k=u.unicode;u.lastIndex=0}for(var w=[];;){var E=f(u,h);if(null===E)break;if(w.push(E),!d)break;""===String(E[0])&&(u.lastIndex=s(h,a(u.lastIndex),k))}for(var x,S="",_=0,T=0;T<w.length;T++){E=w[T];for(var O=String(E[0]),A=l(p(c(E.index),h.length),0),M=[],j=1;j<E.length;j++)M.push(void 0===(x=E[j])?x:String(x));var I=E.groups;if(v){var P=[O].concat(M,A,h);void 0!==I&&P.push(I);var C=String(r.apply(void 0,P))}else C=b(O,h,A,M,I,r);A>=_&&(S+=h.slice(_,A)+C,_=A+O.length)}return S+h.slice(_)}];function b(t,n,r,o,a,c){var u=r+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}})},S58s:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},SC6u:function(t,e,n){"use strict";var r=n("wA6s"),o=n("qjkP");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},SDMg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"SM6+":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},SNUk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("Ew/G"),a=n("g9hI"),c=n("T69T"),u=n("U+kB"),s=n("i85Z"),f=n("rG8t"),l=n("OG5q"),p=n("erNl"),h=n("6XUM"),v=n("F26l"),d=n("VCQ8"),g=n("EMtK"),y=n("LdO1"),m=n("uSMZ"),b=n("2RDa"),k=n("ZRqE"),w=n("KkqW"),E=n("TzEA"),x=n("busr"),S=n("7gGY"),_=n("/Ybd"),T=n("gn9T"),O=n("aJMj"),A=n("2MGJ"),M=n("yIiL"),j=n("/AsP"),I=n("yQMY"),P=n("SDMg"),C=n("m41k"),D=n("aGCb"),N=n("94Vg"),R=n("shqn"),L=n("XH/I"),Z=n("kk6e").forEach,z=j("hidden"),G=C("toPrimitive"),F=L.set,q=L.getterFor("Symbol"),X=Object.prototype,U=o.Symbol,Y=i("JSON","stringify"),H=S.f,V=_.f,W=E.f,B=T.f,Q=M("symbols"),J=M("op-symbols"),K=M("string-to-symbol-registry"),$=M("symbol-to-string-registry"),tt=M("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&f(function(){return 7!=b(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=H(X,e);r&&delete X[e],V(t,e,n),r&&t!==X&&V(X,e,r)}:V,ot=function(t,e){var n=Q[t]=b(U.prototype);return F(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},at=function t(e,n,r){e===X&&t(J,n,r),v(e);var o=y(n,!0);return v(r),l(Q,o)?(r.enumerable?(l(e,z)&&e[z][o]&&(e[z][o]=!1),r=b(r,{enumerable:m(0,!1)})):(l(e,z)||V(e,z,m(1,{})),e[z][o]=!0),rt(e,o,r)):V(e,o,r)},ct=function(t,e){v(t);var n=g(e),r=k(n).concat(lt(n));return Z(r,function(e){c&&!ut.call(n,e)||at(t,e,n[e])}),t},ut=function(t){var e=y(t,!0),n=B.call(this,e);return!(this===X&&l(Q,e)&&!l(J,e))&&(!(n||!l(this,e)||!l(Q,e)||l(this,z)&&this[z][e])||n)},st=function(t,e){var n=g(t),r=y(e,!0);if(n!==X||!l(Q,r)||l(J,r)){var o=H(n,r);return!o||!l(Q,r)||l(n,z)&&n[z][r]||(o.enumerable=!0),o}},ft=function(t){var e=W(g(t)),n=[];return Z(e,function(t){l(Q,t)||l(I,t)||n.push(t)}),n},lt=function(t){var e=t===X,n=W(e?J:g(t)),r=[];return Z(n,function(t){!l(Q,t)||e&&!l(X,t)||r.push(Q[t])}),r};u||(A((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),n=function t(n){this===X&&t.call(J,n),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),rt(this,e,m(1,n))};return c&&nt&&rt(X,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",function(){return q(this).tag}),A(U,"withoutSetter",function(t){return ot(P(t),t)}),T.f=ut,_.f=at,S.f=st,w.f=E.f=ft,x.f=lt,D.f=function(t){return ot(C(t),t)},c&&(V(U.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||A(X,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),Z(k(tt),function(t){N(t)}),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(K,e))return K[e];var n=U(e);return K[e]=n,$[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l($,t))return $[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f(function(){x.f(1)})},{getOwnPropertySymbols:function(t){return x.f(d(t))}}),Y&&r({target:"JSON",stat:!0,forced:!u||f(function(){var t=U();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))})},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!it(e))return e}),o[1]=e,Y.apply(null,o)}}),U.prototype[G]||O(U.prototype,G,U.prototype.valueOf),R(U,"Symbol"),I[z]=!0},SdaC:function(t,e,n){var r=n("wA6s"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},"T/Kj":function(t,e,n){var r=n("Ew/G");t.exports=r("navigator","userAgent")||""},T4tC:function(t,e,n){var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("K6ZX"),c=n("/Ybd").f,u=n("KkqW").f,s=n("1p6F"),f=n("x0kV"),l=n("JkSk"),p=n("2MGJ"),h=n("rG8t"),v=n("XH/I").set,d=n("JHhb"),g=n("m41k")("match"),y=o.RegExp,m=y.prototype,b=/a/g,k=/a/g,w=new y(b)!==b,E=l.UNSUPPORTED_Y;if(r&&i("RegExp",!w||E||h(function(){return k[g]=!1,y(b)!=b||y(k)==k||"/a/i"!=y(b,"i")}))){for(var x=function t(e,n){var r,o=this instanceof t,i=s(e),c=void 0===n;if(!o&&i&&e.constructor===t&&c)return e;w?i&&!c&&(e=e.source):e instanceof t&&(c&&(n=f.call(e)),e=e.source),E&&(r=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var u=a(w?new y(e,n):y(e,n),o?this:m,t);return E&&r&&v(u,{sticky:r}),u},S=function(t){t in x||c(x,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},_=u(y),T=0;_.length>T;)S(_[T++]);m.constructor=x,x.prototype=m,p(o,"RegExp",x)}d("RegExp")},T69T:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},TzEA:function(t,e,n){var r=n("EMtK"),o=n("KkqW").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},"U+kB":function(t,e,n){var r=n("rG8t");t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"V+F/":function(t,e,n){n("94Vg")("isConcatSpreadable")},VCQ8:function(t,e,n){var r=n("hmpk");t.exports=function(t){return Object(r(t))}},Vi1R:function(t,e,n){n("94Vg")("split")},ViWx:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},VmbE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("strike")},{strike:function(){return o(this,"strike","","")}})},W0ke:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},WEX0:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("link")},{link:function(t){return o(this,"a","href",t)}})},WEpO:function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},WKvG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},WLa2:function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},WijE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ZJLg"),i=n("wIVT"),a=n("7/lX"),c=n("shqn"),u=n("aJMj"),s=n("2MGJ"),f=n("m41k"),l=n("g9hI"),p=n("pz+c"),h=n("G1Vw"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var k,w,E,x=function(t){if(t===h&&A)return A;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",_=!1,T=t.prototype,O=T[g]||T["@@iterator"]||h&&T[h],A=!d&&O||x(h),M="Array"==e&&T.entries||O;if(M&&(k=i(M.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(_=!0,A=function(){return O.call(this)}),l&&!b||T[g]===A||u(T,g,A),p[e]=A,h)if(w={values:x("values"),keys:m?A:x("keys"),entries:x("entries")},b)for(E in w)(d||_||!(E in T))&&s(T,E,w[E]);else r({target:e,proto:!0,forced:d||_},w);return w}},WnNu:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{setPrototypeOf:n("7/lX")})},XEin:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").some,i=n("6CJb"),a=n("w2hq"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"XH/I":function(t,e,n){var r,o,i,a=n("yaK9"),c=n("ocAm"),u=n("6XUM"),s=n("aJMj"),f=n("OG5q"),l=n("/AsP"),p=n("yQMY");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=l("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return f(t,y)?t[y]:{}},i=function(t){return f(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},XdSI:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("qx7X");t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},Xm88:function(t,e,n){var r=n("wA6s"),o=n("rCRE");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},Y5OV:function(t,e,n){var r=n("aJMj"),o=n("CW9j"),i=n("m41k")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},YOJ4:function(t,e,n){n("94Vg")("matchAll")},Yg8j:function(t,e,n){var r=n("ocAm").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},Yu3F:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("bold")},{bold:function(){return o(this,"b","","")}})},ZBUp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},ZJLg:function(t,e,n){"use strict";var r=n("G1Vw").IteratorPrototype,o=n("2RDa"),i=n("uSMZ"),a=n("shqn"),c=n("pz+c"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},ZQqA:function(t,e,n){n("94Vg")("toStringTag")},ZRqE:function(t,e,n){var r=n("vVmn"),o=n("aAjO");t.exports=Object.keys||function(t){return r(t,o)}},aAjO:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},aGCb:function(t,e,n){var r=n("m41k");e.f=r},aJMj:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("uSMZ");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},aTTg:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},ane6:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("hH+7"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},azxr:function(t,e,n){"use strict";var r=n("4PyY"),o=n("mN5b");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},bHwr:function(t,e,n){"use strict";var r,o,i,a,c=n("wA6s"),u=n("g9hI"),s=n("ocAm"),f=n("Ew/G"),l=n("K1dl"),p=n("2MGJ"),h=n("8aNu"),v=n("shqn"),d=n("JHhb"),g=n("6XUM"),y=n("Neub"),m=n("SM6+"),b=n("ezU2"),k=n("6urC"),w=n("Rn6E"),E=n("EIBq"),x=n("p82S"),S=n("Ox9q").set,_=n("3xQm"),T=n("7aOP"),O=n("ktmr"),A=n("oB0/"),M=n("pd8B"),j=n("XH/I"),I=n("MkZA"),P=n("m41k"),C=n("D3bo"),D=P("species"),N="Promise",R=j.get,L=j.set,Z=j.getterFor(N),z=l,G=s.TypeError,F=s.document,q=s.process,X=f("fetch"),U=A.f,Y=U,H="process"==b(q),V=!!(F&&F.createEvent&&s.dispatchEvent),W=I(N,function(){if(k(z)===String(z)){if(66===C)return!0;if(!H&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!z.prototype.finally)return!0;if(C>=51&&/native code/.test(z))return!1;var t=z.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[D]=e,!(t.then(function(){})instanceof e)}),B=W||!E(function(t){z.all(t).catch(function(){})}),Q=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;_(function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var c,u,s,f=r[a++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?h(G("Promise-chain cycle")):(u=Q(c))?u.call(c,p,h):p(c)):h(o)}catch(d){v&&!s&&v.exit(),h(d)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&$(t,e)})}},K=function(t,e,n){var r,o;V?((r=F.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(o=s["on"+t])?o(r):"unhandledrejection"===t&&O("Unhandled promise rejection",n)},$=function(t,e){S.call(s,function(){var n,r=e.value;if(tt(e)&&(n=M(function(){H?q.emit("unhandledRejection",r,t):K("unhandledrejection",t,r)}),e.rejection=H||tt(e)?2:1,n.error))throw n.value})},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){S.call(s,function(){H?q.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)})},nt=function(t,e,n,r){return function(o){t(e,n,o,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},ot=function t(e,n,r,o){if(!n.done){n.done=!0,o&&(n=o);try{if(e===r)throw G("Promise can't be resolved itself");var i=Q(r);i?_(function(){var o={done:!1};try{i.call(r,nt(t,e,o,n),nt(rt,e,o,n))}catch(a){rt(e,o,a,n)}}):(n.value=r,n.state=1,J(e,n,!1))}catch(a){rt(e,{done:!1},a,n)}}};W&&(z=function(t){m(this,z,N),y(t),r.call(this);var e=R(this);try{t(nt(ot,this,e),nt(rt,this,e))}catch(n){rt(this,e,n)}},(r=function(t){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(z.prototype,{then:function(t,e){var n=Z(this),r=U(x(this,z));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=H?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=nt(ot,t,e),this.reject=nt(rt,t,e)},A.f=U=function(t){return t===z||t===i?new o(t):Y(t)},u||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",function(t,e){var n=this;return new z(function(t,e){a.call(n,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof X&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return T(z,X.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:W},{Promise:z}),v(z,N,!1,!0),d(N),i=f(N),c({target:N,stat:!0,forced:W},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),c({target:N,stat:!0,forced:u||W},{resolve:function(t){return T(u&&this===i?z:this,t)}}),c({target:N,stat:!0,forced:B},{all:function(t){var e=this,n=U(e),r=n.resolve,o=n.reject,i=M(function(){var n=y(e.resolve),i=[],a=0,c=1;w(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=U(e),r=n.reject,o=M(function(){var o=y(e.resolve);w(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},busr:function(t,e){e.f=Object.getOwnPropertySymbols},"c/8x":function(t,e,n){n("94Vg")("asyncIterator")},cJLW:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("/Ybd").f})},cZY6:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},cwa4:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},d8Sw:function(t,e,n){var r=n("rG8t");t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},dI74:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sup")},{sup:function(){return o(this,"sup","","")}})},dPn5:function(t,e,n){"use strict";var r=n("G7bs").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},erNl:function(t,e,n){var r=n("ezU2");t.exports=Array.isArray||function(t){return"Array"==r(t)}},ezU2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},fMvl:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("hmpk"),a=n("EQZg"),c=n("unYP");r("search",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]})},g69M:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("TzEA").f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},g9hI:function(t,e){t.exports=!1},gPqf:function(t,e){window.__Zone_disable_customElements=!0},gXAK:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("big")},{big:function(){return o(this,"big","","")}})},gke3:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").filter,i=n("lRyB"),a=n("w2hq"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},gn9T:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},"hH+7":function(t,e,n){var r=n("ezU2");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},hdsk:function(t,e,n){"use strict";var r,o=n("ocAm"),i=n("8aNu"),a=n("M7Xk"),c=n("wdMf"),u=n("DAme"),s=n("6XUM"),f=n("XH/I").enforce,l=n("yaK9"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},hmpk:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},i85Z:function(t,e,n){var r=n("U+kB");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ipMl:function(t,e,n){var r=n("F26l");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},jnLS:function(t,e,n){var r=n("hmpk"),o="["+n("xFZC")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},kIOX:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("nP0K"),a=n("aJMj");for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(f){s.forEach=i}}},kP9Y:function(t,e,n){var r=n("wA6s"),o=n("4GtL"),i=n("A1Hp");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},kcGo:function(t,e,n){var r=n("wA6s"),o=n("qc/G");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},kk6e:function(t,e,n){var r=n("tcQx"),o=n("tUdv"),i=n("VCQ8"),a=n("xpLY"),c=n("JafA"),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,g){for(var y,m,b=i(h),k=o(b),w=r(v,d,3),E=a(k.length),x=0,S=g||c,_=e?S(h,E):n?S(h,0):void 0;E>x;x++)if((p||x in k)&&(m=w(y=k[x],x,b),t))if(e)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u.call(_,y)}else if(f)return!1;return l?-1:s||f?f:_}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},kpca:function(t,e,n){var r=n("wA6s"),o=n("Nvxz"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},ktmr:function(t,e,n){var r=n("ocAm");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},lPAZ:function(t,e,n){n("8ydS"),n("DGHb"),n("kcGo"),n("n43T"),n("Y5OV");var r=n("E7aN");t.exports=r.Date},lRyB:function(t,e,n){var r=n("rG8t"),o=n("m41k"),i=n("D3bo"),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},ls82:function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(T){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=Object.create((e&&e.prototype instanceof l?e:l).prototype),i=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===f)continue;return c}}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 u=s(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,g=d&&d(d(S([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){function r(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(l).then(function(t){f.value=t,a(f)},function(t){return r("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=y.constructor=h,h.constructor=p,p.displayName=c(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},m(b.prototype),b.prototype[i]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new b(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,x.prototype={constructor:x,reset:function(t){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(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},m2tE:function(t,e,n){var r=n("wA6s"),o=n("IBH3");r({target:"Array",stat:!0,forced:!n("EIBq")(function(t){Array.from(t)})},{from:o})},m41k:function(t,e,n){var r=n("ocAm"),o=n("yIiL"),i=n("OG5q"),a=n("SDMg"),c=n("U+kB"),u=n("i85Z"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},mA9f:function(t,e,n){n("wA6s")({target:"Function",proto:!0},{bind:n("E8Ab")})},mN5b:function(t,e,n){var r=n("4PyY"),o=n("ezU2"),i=n("m41k")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"n/2t":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},n1Kw:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("pn4C"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},n43T:function(t,e,n){var r=n("2MGJ"),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"})},nIH4:function(t,e,n){"use strict";var r=n("/Ybd").f,o=n("2RDa"),i=n("8aNu"),a=n("tcQx"),c=n("SM6+"),u=n("Rn6E"),s=n("WijE"),f=n("JHhb"),l=n("T69T"),p=n("M7Xk").fastKey,h=n("XH/I"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},nP0K:function(t,e,n){"use strict";var r=n("kk6e").forEach,o=n("6CJb"),i=n("w2hq"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},ntzx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("tUdv"),i=n("EMtK"),a=n("6CJb"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},nuqZ:function(t,e,n){var r=n("wA6s"),o=n("KlhL");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"oB0/":function(t,e,n){"use strict";var r=n("Neub"),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},oatR:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},ocAm:function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},ow8b:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},p82S:function(t,e,n){var r=n("F26l"),o=n("Neub"),i=n("m41k")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},pDpN:function(e,r,i){var a,c;void 0===(c="function"==typeof(a=function(){"use strict";!function(t){var e=t.performance;function r(t){e&&e.mark&&e.mark(t)}function i(t,n){e&&e.measure&&e.measure(t,n)}r("Zone");var a=t.__Zone_symbol_prefix||"__zone_symbol__";function c(t){return a+t}var u=!0===t[c("forceDuplicateZoneCheck")];if(t.Zone){if(u||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s=function(){function e(t,r){n(this,e),this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,r)}return o(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{C=C.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");if(t.state!==E||t.type!==j&&t.type!==M){var r=t.state!=_;r&&t._transitionTo(_,S),t.runCount++;var o=D;D=t,C={parent:C,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==E&&t.state!==O&&(t.type==j||t.data&&t.data.isPeriodic?r&&t._transitionTo(S,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(E,_,E))),C=C.parent,D=o}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(x,E);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(O,x,E),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==x&&t._transitionTo(S,x),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new h(A,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(M,t,e,n,r,o))}},{key:"scheduleEventTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(j,t,e,n,r,o))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");t._transitionTo(T,S,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(O,T),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(E,T),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}],[{key:"assertZonePatched",value:function(){if(t.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var t=e.current;t.parent;)t=t.parent;return t}},{key:"current",get:function(){return C.zone}},{key:"currentTask",get:function(){return D}},{key:"__load_patch",value:function(n,o){if(I.hasOwnProperty(n)){if(u)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){var a="Zone:"+n;r(a),I[n]=o(t,e,P),i(a,a)}}}]),e}();s.__symbol__=c;var f,l={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},p=function(){function t(e,r,o){n(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=r,this._forkZS=o&&(o&&o.onFork?o:r._forkZS),this._forkDlgt=o&&(o.onFork?r:r._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:r._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:r._interceptZS),this._interceptDlgt=o&&(o.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:r._invokeZS),this._invokeDlgt=o&&(o.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:r._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:r._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:r._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:r._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=o&&o.onHasTask;(i||r&&r._hasTaskZS)&&(this._hasTaskZS=i?o:l,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,o.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}return o(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");b(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),h=function(){function e(r,o,i,a,c,u){if(n(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=o,this.data=a,this.scheduleFn=c,this.cancelFn=u,!i)throw new Error("callback is not defined");this.callback=i;var s=this;this.invoke=r===j&&a&&a.useG?e.invokeTask:function(){return e.invokeTask.call(t,s,this,arguments)}}return o(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(E,x)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==E&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&k(),N--}}}]),e}(),v=c("setTimeout"),d=c("Promise"),g=c("then"),y=[],m=!1;function b(e){if(0===N&&0===y.length)if(f||t[d]&&(f=t[d].resolve(0)),f){var n=f[g];n||(n=f.then),n.call(f,k)}else t[v](k,0);e&&y.push(e)}function k(){if(!m){for(m=!0;y.length;){var t=y;y=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(r){P.onUnhandledError(r)}}}P.microtaskDrainDone(),m=!1}}var w={name:"NO ZONE"},E="notScheduled",x="scheduling",S="scheduled",_="running",T="canceling",O="unknown",A="microTask",M="macroTask",j="eventTask",I={},P={symbol:c,currentZoneFrame:function(){return C},onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:b,showUncaughtError:function(){return!s[c("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:R,patchMethod:function(){return R},bindArguments:function(){return[]},patchThen:function(){return R},patchMacroTask:function(){return R},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(f=t.resolve(0))},patchEventPrototype:function(){return R},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return R},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return R},wrapWithCurrentZone:function(){return R},filterProperties:function(){return[]},attachOriginToPatched:function(){return R},_redefineProperty:function(){return R},patchCallbacks:function(){return R}},C={parent:null,zone:new s(null,null)},D=null,N=0;function R(){}i("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",function(e,r,i){var a=Object.getOwnPropertyDescriptor,c=Object.defineProperty,u=i.symbol,s=[],f=u("Promise"),l=u("then");i.onUnhandledError=function(t){if(i.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},i.microtaskDrainDone=function(){for(;s.length;)for(var t=function(){var t=s.shift();try{t.zone.runGuarded(function(){throw t})}catch(e){h(e)}};s.length;)t()};var p=u("unhandledPromiseRejectionHandler");function h(t){i.onUnhandledError(t);try{var e=r[p];e&&"function"==typeof e&&e.call(this,t)}catch(n){}}function v(t){return t&&t.then}function d(t){return t}function g(t){return A.reject(t)}var y=u("state"),m=u("value"),b=u("finally"),k=u("parentPromiseValue"),w=u("parentPromiseState");function E(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var x=u("currentTaskTrace");function S(t,e,n){var o,a,u=(o=!1,function(t){return function(){o||(o=!0,t.apply(null,arguments))}});if(t===n)throw new TypeError("Promise resolved with itself");if(null===t[y]){var f=null;try{"object"!=typeof n&&"function"!=typeof n||(f=n&&n.then)}catch(d){return u(function(){S(t,!1,d)})(),t}if(!1!==e&&n instanceof A&&n.hasOwnProperty(y)&&n.hasOwnProperty(m)&&null!==n[y])T(n),S(t,n[y],n[m]);else if(!1!==e&&"function"==typeof f)try{f.call(n,u(E(t,e)),u(E(t,!1)))}catch(d){u(function(){S(t,!1,d)})()}else{t[y]=e;var l=t[m];if(t[m]=n,t[b]===b&&!0===e&&(t[y]=t[w],t[m]=t[k]),!1===e&&n instanceof Error){var p=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;p&&c(n,x,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<l.length;)O(t,l[h++],l[h++],l[h++],l[h++]);if(0==l.length&&0==e){t[y]=0;try{throw new Error("Uncaught (in promise): "+((a=n)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(n&&n.stack?"\n"+n.stack:""))}catch(d){var v=d;v.rejection=n,v.promise=t,v.zone=r.current,v.task=r.currentTask,s.push(v),i.scheduleMicroTask()}}}}return t}var _=u("rejectionHandledHandler");function T(t){if(0===t[y]){try{var e=r[_];e&&"function"==typeof e&&e.call(this,{rejection:t[m],promise:t})}catch(o){}t[y]=!1;for(var n=0;n<s.length;n++)t===s[n].promise&&s.splice(n,1)}}function O(t,e,n,r,o){T(t);var i=t[y],a=i?"function"==typeof r?r:d:"function"==typeof o?o:g;e.scheduleMicroTask("Promise.then",function(){try{var r=t[m],o=!!n&&b===n[b];o&&(n[k]=r,n[w]=i);var c=e.run(a,void 0,o&&a!==g&&a!==d?[]:[r]);S(n,!0,c)}catch(u){S(n,!1,u)}},n)}var A=function(e){function i(t){n(this,i);var e=this;if(!(e instanceof i))throw new Error("Must be an instanceof Promise.");e[y]=null,e[m]=[];try{t&&t(E(e,!0),E(e,!1))}catch(r){S(e,!1,r)}}return o(i,[{key:Symbol.toStringTag,get:function(){return"Promise"}},{key:"then",value:function(t,e){var n=new this.constructor(null),o=r.current;return null==this[y]?this[m].push(o,n,t,e):O(this,o,n,t,e),n}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){var e=new this.constructor(null);e[b]=b;var n=r.current;return null==this[y]?this[m].push(n,e,t,t):O(this,n,e,t,t),e}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(t){return S(new this(null),!0,t)}},{key:"reject",value:function(t){return S(new this(null),!1,t)}},{key:"race",value:function(e){var n,r,o=new this(function(t,e){n=t,r=e});function i(t){n(t)}function a(t){r(t)}var c,u=t(e);try{for(u.s();!(c=u.n()).done;){var s=c.value;v(s)||(s=this.resolve(s)),s.then(i,a)}}catch(f){u.e(f)}finally{u.f()}return o}},{key:"all",value:function(t){return i.allWithCallback(t)}},{key:"allSettled",value:function(t){return(this&&this.prototype instanceof i?this:i).allWithCallback(t,{thenCallback:function(t){return{status:"fulfilled",value:t}},errorCallback:function(t){return{status:"rejected",reason:t}}})}},{key:"allWithCallback",value:function(e,n){var r,o,i,a=this,c=new this(function(t,e){r=t,o=e}),u=2,s=0,f=[],l=t(e);try{var p=function(){var t=i.value;v(t)||(t=a.resolve(t));var e=s;try{t.then(function(t){f[e]=n?n.thenCallback(t):t,0===--u&&r(f)},function(t){n?(f[e]=n.errorCallback(t),0===--u&&r(f)):o(t)})}catch(c){o(c)}u++,s++};for(l.s();!(i=l.n()).done;)p()}catch(h){l.e(h)}finally{l.f()}return 0===(u-=2)&&r(f),c}}]),i}();A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;var M=e[f]=e.Promise,j=r.__symbol__("ZoneAwarePromise"),I=a(e,"Promise");I&&!I.configurable||(I&&delete I.writable,I&&delete I.value,I||(I={configurable:!0,enumerable:!0}),I.get=function(){return e[j]?e[j]:e[f]},I.set=function(t){t===A?e[j]=t:(e[f]=t,t.prototype[l]||D(t),i.setNativePromise(t))},c(e,"Promise",I)),e.Promise=A;var P,C=u("thenPatched");function D(t){var e=t.prototype,n=a(e,"then");if(!n||!1!==n.writable&&n.configurable){var r=e.then;e[l]=r,t.prototype.then=function(t,e){var n=this;return new A(function(t,e){r.call(n,t,e)}).then(t,e)},t[C]=!0}}if(i.patchThen=D,M){D(M);var N=e.fetch;"function"==typeof N&&(e[i.symbol("fetch")]=N,e.fetch=(P=N,function(){var t=P.apply(this,arguments);if(t instanceof A)return t;var e=t.constructor;return e[C]||D(e),t}))}return Promise[r.__symbol__("uncaughtPromiseErrors")]=s,A});var e=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=Object.getPrototypeOf,a=Object.create,c=Array.prototype.slice,u=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),f=Zone.__symbol__("");function l(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var h=Zone.__symbol__,v="undefined"!=typeof window,d=v?window:void 0,g=v&&d||"object"==typeof self&&self||global,y=[null];function m(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=l(t[n],e+"_"+n));return t}function b(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in g)&&void 0!==g.process&&"[object process]"==={}.toString.call(g.process),E=!w&&!k&&!(!v||!d.HTMLElement),x=void 0!==g.process&&"[object process]"==={}.toString.call(g.process)&&!k&&!(!v||!d.HTMLElement),S={},_=function(t){if(t=t||g.event){var e=S[t.type];e||(e=S[t.type]=h("ON_PROPERTY"+t.type));var n,r=this||t.target||g,o=r[e];if(E&&r===d&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function T(t,n,o){var i=e(t,n);if(!i&&o&&e(o,n)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=h("on"+n+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=n.substr(2),f=S[s];f||(f=S[s]=h("ON_PROPERTY"+s)),i.set=function(e){var n=this;n||t!==g||(n=g),n&&(n[f]&&n.removeEventListener(s,_),u&&u.apply(n,y),"function"==typeof e?(n[f]=e,n.addEventListener(s,_,!1)):n[f]=null)},i.get=function(){var e=this;if(e||t!==g||(e=g),!e)return null;var r=e[f];if(r)return r;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(n),o}return null},r(t,n,i),t[a]=!0}}}function O(t,e,n){if(e)for(var r=0;r<e.length;r++)T(t,"on"+e[r],n);else{var o=[];for(var i in t)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)T(t,o[a],n)}}var A=h("originalInstance");function M(t){var e=g[t];if(e){g[h(t)]=e,g[t]=function(){var n=m(arguments,t);switch(n.length){case 0:this[A]=new e;break;case 1:this[A]=new e(n[0]);break;case 2:this[A]=new e(n[0],n[1]);break;case 3:this[A]=new e(n[0],n[1],n[2]);break;case 4:this[A]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},P(g[t],e);var n,o=new e(function(){});for(n in o)"XMLHttpRequest"===t&&"responseBlob"===n||function(e){"function"==typeof o[e]?g[t].prototype[e]=function(){return this[A][e].apply(this[A],arguments)}:r(g[t].prototype,e,{set:function(n){"function"==typeof n?(this[A][e]=l(n,t+"."+e),P(this[A][e],n)):this[A][e]=n},get:function(){return this[A][e]}})}(n);for(n in e)"prototype"!==n&&e.hasOwnProperty(n)&&(g[t][n]=e[n])}}function j(t,n,r){for(var o=t;o&&!o.hasOwnProperty(n);)o=i(o);!o&&t[n]&&(o=t);var a=h(n),c=null;if(o&&!(c=o[a])&&(c=o[a]=o[n],b(o&&e(o,n)))){var u=r(c,a,n);o[n]=function(){return u(this,arguments)},P(o[n],c)}return c}function I(t,e,n){var r=null;function o(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=j(t,e,function(t){return function(e,r){var i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?p(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function P(t,e){t[h("OriginalDelegate")]=e}var C=!1,D=!1;function N(){try{var t=d.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function R(){if(C)return D;C=!0;try{var t=d.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(D=!0)}catch(e){}return D}Zone.__load_patch("toString",function(t){var e=Function.prototype.toString,n=h("OriginalDelegate"),r=h("Promise"),o=h("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var L=!1;if("undefined"!=typeof window)try{var Z=Object.defineProperty({},"passive",{get:function(){L=!0}});window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch(ft){L=!1}var z={useG:!0},G={},F={},q=new RegExp("^"+f+"(\\w+)(true|false)$"),X=h("propagationStopped");function U(t,e,n){var r=n&&n.add||"addEventListener",o=n&&n.rm||"removeEventListener",a=n&&n.listeners||"eventListeners",c=n&&n.rmAll||"removeAllListeners",u=h(r),s="."+r+":",l=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var i=t.options;i&&"object"==typeof i&&i.once&&e[o].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i)}},p=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[G[e.type].false];if(r)if(1===r.length)l(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[X]);i++)l(o[i],n,e)}},v=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[G[e.type].true];if(r)if(1===r.length)l(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[X]);i++)l(o[i],n,e)}};function d(e,n){if(!e)return!1;var l=!0;n&&void 0!==n.useG&&(l=n.useG);var d=n&&n.vh,g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);var y=!1;n&&void 0!==n.rt&&(y=n.rt);for(var m=e;m&&!m.hasOwnProperty(r);)m=i(m);if(!m&&e[r]&&(m=e),!m)return!1;if(m[u])return!1;var b,k=n&&n.eventNameToString,E={},x=m[u]=m[r],S=m[h(o)]=m[o],_=m[h(a)]=m[a],T=m[h(c)]=m[c];function O(t){L||"boolean"==typeof E.options||null==E.options||(t.options=!!E.options.capture,E.options=t.options)}n&&n.prepend&&(b=m[h(n.prepend)]=m[n.prepend]);var A=l?function(t){if(!E.isExisting)return O(t),x.call(E.target,E.eventName,E.capture?v:p,E.options)}:function(t){return O(t),x.call(E.target,E.eventName,t.invoke,E.options)},M=l?function(t){if(!t.isRemoved){var e,n=G[t.eventName];n&&(e=n[t.capture?"true":"false"]);var r=e&&t.target[e];if(r)for(var o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[e]=null);break}}if(t.allRemoved)return S.call(t.target,t.eventName,t.capture?v:p,t.options)}:function(t){return S.call(t.target,t.eventName,t.invoke,t.options)},j=n&&n.diff?n.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},I=Zone[h("BLACK_LISTED_EVENTS")],C=function(e,r,o,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var u=this||t,s=arguments[0];n&&n.transferEventName&&(s=n.transferEventName(s));var p=arguments[1];if(!p)return e.apply(this,arguments);if(w&&"uncaughtException"===s)return e.apply(this,arguments);var h=!1;if("function"!=typeof p){if(!p.handleEvent)return e.apply(this,arguments);h=!0}if(!d||d(e,p,u,arguments)){var v=arguments[2];if(I)for(var y=0;y<I.length;y++)if(s===I[y])return e.apply(this,arguments);var m,b=!1;void 0===v?m=!1:!0===v?m=!0:!1===v?m=!1:(m=!!v&&!!v.capture,b=!!v&&!!v.once);var x,S=Zone.current,_=G[s];if(_)x=_[m?"true":"false"];else{var T=(k?k(s):s)+"false",O=(k?k(s):s)+"true",A=f+T,M=f+O;G[s]={},G[s].false=A,G[s].true=M,x=m?M:A}var P,C=u[x],D=!1;if(C){if(D=!0,g)for(var N=0;N<C.length;N++)if(j(C[N],p))return}else C=u[x]=[];var R=u.constructor.name,Z=F[R];Z&&(P=Z[s]),P||(P=R+r+(k?k(s):s)),E.options=v,b&&(E.options.once=!1),E.target=u,E.capture=m,E.eventName=s,E.isExisting=D;var q=l?z:void 0;q&&(q.taskData=E);var X=S.scheduleEventTask(P,p,q,o,i);return E.target=null,q&&(q.taskData=null),b&&(v.once=!0),(L||"boolean"!=typeof X.options)&&(X.options=v),X.target=u,X.capture=m,X.eventName=s,h&&(X.originalDelegate=p),c?C.unshift(X):C.push(X),a?u:void 0}}};return m[r]=C(x,s,A,M,y),b&&(m.prependListener=C(b,".prependListener:",function(t){return b.call(E.target,E.eventName,t.invoke,E.options)},M,y,!0)),m[o]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));var o,i=arguments[2];o=void 0!==i&&(!0===i||!1!==i&&!!i&&!!i.capture);var a=arguments[1];if(!a)return S.apply(this,arguments);if(!d||d(S,a,e,arguments)){var c,u=G[r];u&&(c=u[o?"true":"false"]);var s=c&&e[c];if(s)for(var l=0;l<s.length;l++){var p=s[l];if(j(p,a))return s.splice(l,1),p.isRemoved=!0,0===s.length&&(p.allRemoved=!0,e[c]=null,"string"==typeof r)&&(e[f+"ON_PROPERTY"+r]=null),p.zone.cancelTask(p),y?e:void 0}return S.apply(this,arguments)}},m[a]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));for(var o=[],i=Y(e,k?k(r):r),a=0;a<i.length;a++){var c=i[a];o.push(c.originalDelegate?c.originalDelegate:c.callback)}return o},m[c]=function(){var e=this||t,r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));var i=G[r];if(i){var a=e[i.false],u=e[i.true];if(a)for(var s=a.slice(),f=0;f<s.length;f++){var l=s[f];this[o].call(this,r,l.originalDelegate?l.originalDelegate:l.callback,l.options)}if(u)for(var p=u.slice(),h=0;h<p.length;h++){var v=p[h];this[o].call(this,r,v.originalDelegate?v.originalDelegate:v.callback,v.options)}}}else{for(var d=Object.keys(e),g=0;g<d.length;g++){var m=q.exec(d[g]),b=m&&m[1];b&&"removeListener"!==b&&this[c].call(this,b)}this[c].call(this,"removeListener")}if(y)return this},P(m[r],x),P(m[o],S),T&&P(m[c],T),_&&P(m[a],_),!0}for(var g=[],y=0;y<e.length;y++)g[y]=d(e[y],n);return g}function Y(t,e){var n=[];for(var r in t){var o=q.exec(r),i=o&&o[1];if(i&&(!e||i===e)){var a=t[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}function H(t,e){var n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",function(t){return function(e,n){e[X]=!0,t&&t.apply(e,n)}})}function V(t,e,n,r,o){var i=Zone.__symbol__(r);if(!e[i]){var a=e[i]=e[r];e[r]=function(i,c,u){return c&&c.prototype&&o.forEach(function(e){var o="".concat(n,".").concat(r,"::")+e,i=c.prototype;if(i.hasOwnProperty(e)){var a=t.ObjectGetOwnPropertyDescriptor(i,e);a&&a.value?(a.value=t.wrapWithCurrentZone(a.value,o),t._redefineProperty(c.prototype,e,a)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}),a.call(e,i,c,u)},t.attachOriginToPatched(e[r],a)}}var W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],B=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Q=["load"],J=["blur","error","focus","load","resize","scroll","messageerror"],K=["bounce","finish","start"],$=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],tt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],nt=["error","message"],rt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(t,e,n){if(!n||0===n.length)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter(function(t){return-1===o.indexOf(t)})}function it(t,e,n,r){t&&O(t,ot(t,e,n),r)}function at(t,e){if((!w||x)&&!Zone[t.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,r=e.__Zone_ignore_on_properties;if(E){var o=window,a=N?[{target:o,ignoreProperties:["error"]}]:[];it(o,rt.concat(["messageerror"]),r?r.concat(a):r,i(o)),it(Document.prototype,rt,r),void 0!==o.SVGElement&&it(o.SVGElement.prototype,rt,r),it(Element.prototype,rt,r),it(HTMLElement.prototype,rt,r),it(HTMLMediaElement.prototype,B,r),it(HTMLFrameSetElement.prototype,W.concat(J),r),it(HTMLBodyElement.prototype,W.concat(J),r),it(HTMLFrameElement.prototype,Q,r),it(HTMLIFrameElement.prototype,Q,r);var c=o.HTMLMarqueeElement;c&&it(c.prototype,K,r);var u=o.Worker;u&&it(u.prototype,nt,r)}var s=e.XMLHttpRequest;s&&it(s.prototype,$,r);var f=e.XMLHttpRequestEventTarget;f&&it(f&&f.prototype,$,r),"undefined"!=typeof IDBIndex&&(it(IDBIndex.prototype,tt,r),it(IDBRequest.prototype,tt,r),it(IDBOpenDBRequest.prototype,tt,r),it(IDBDatabase.prototype,tt,r),it(IDBTransaction.prototype,tt,r),it(IDBCursor.prototype,tt,r)),n&&it(WebSocket.prototype,et,r)}}Zone.__load_patch("util",function(t,n,o){o.patchOnProperties=O,o.patchMethod=j,o.bindArguments=m,o.patchMacroTask=I;var i=n.__symbol__("BLACK_LISTED_EVENTS"),u=n.__symbol__("UNPATCHED_EVENTS");t[u]&&(t[i]=t[u]),t[i]&&(n[i]=n[u]=t[i]),o.patchEventPrototype=H,o.patchEventTarget=U,o.isIEOrEdge=R,o.ObjectDefineProperty=r,o.ObjectGetOwnPropertyDescriptor=e,o.ObjectCreate=a,o.ArraySlice=c,o.patchClass=M,o.wrapWithCurrentZone=l,o.filterProperties=ot,o.attachOriginToPatched=P,o._redefineProperty=Object.defineProperty,o.patchCallbacks=V,o.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:G,eventNames:rt,isBrowser:E,isMix:x,isNode:w,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var ct=h("zoneTask");function ut(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[ct]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=j(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s=p(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!s)return s;var f=s.data.handleId;return"number"==typeof f?a[f]=s:f&&(f[ct]=s),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(s.ref=f.ref.bind(f),s.unref=f.unref.bind(f)),"number"==typeof f||f?f:s}return n.apply(t,i)}}),i=j(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[ct])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[ct]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function st(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var s=r[u],f=c+(s+a),l=c+(s+i);o[s]={},o[s][a]=f,o[s][i]=l}var p=t.EventTarget;return p&&p.prototype?(e.patchEventTarget(t,[p&&p.prototype]),!0):void 0}}Zone.__load_patch("legacy",function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("timers",function(t){ut(t,"set","clear","Timeout"),ut(t,"set","clear","Interval"),ut(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){ut(t,"request","cancel","AnimationFrame"),ut(t,"mozRequest","mozCancel","AnimationFrame"),ut(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)j(t,n[r],function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}})}),Zone.__load_patch("EventTarget",function(t,e,n){(function(t,e){e.patchEventPrototype(t,e)})(t,n),st(t,n);var r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype]),M("MutationObserver"),M("WebKitMutationObserver"),M("IntersectionObserver"),M("FileReader")}),Zone.__load_patch("on_property",function(t,e,n){at(n,t)}),Zone.__load_patch("customElements",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",function(t,e){!function(t){var f=t.XMLHttpRequest;if(f){var l=f.prototype,v=l[u],d=l[s];if(!v){var g=t.XMLHttpRequestEventTarget;if(g){var y=g.prototype;v=y[u],d=y[s]}}var m=j(l,"open",function(){return function(t,e){return t[r]=0==e[2],t[a]=e[1],m.apply(t,e)}}),b=h("fetchTaskAborting"),k=h("fetchTaskScheduling"),w=j(l,"send",function(){return function(t,n){if(!0===e.current[k])return w.apply(t,n);if(t[r])return w.apply(t,n);var o={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",S,o,x,_);t&&!0===t[c]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}}),E=j(l,"abort",function(){return function(t,r){var o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[b])return E.apply(t,r)}})}function x(t){var r=t.data,a=r.target;a[i]=!1,a[c]=!1;var f=a[o];v||(v=a[u],d=a[s]),f&&d.call(a,"readystatechange",f);var l=a[o]=function(){if(a.readyState===a.DONE)if(!r.aborted&&a[i]&&"scheduled"===t.state){var n=a[e.__symbol__("loadfalse")];if(n&&n.length>0){var o=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===t&&n.splice(i,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==a[i]||(a[c]=!0)};return v.call(a,"readystatechange",l),a[n]||(a[n]=t),w.apply(a,r.args),a[i]=!0,t}function S(){}function _(t){var e=t.data;return e.aborted=!0,E.apply(e.target,e.args)}}(t);var n=h("xhrTask"),r=h("xhrSync"),o=h("xhrListener"),i=h("xhrScheduled"),a=h("xhrURL"),c=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!b(e(t,i)))return"continue";t[i]=function(t){var e=function(){return t.apply(this,m(arguments,r+"."+i))};return P(e,t),e}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(t,e){function n(e){return function(n){Y(t,e).forEach(function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}t.PromiseRejectionEvent&&(e[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[h("rejectionHandledHandler")]=n("rejectionhandled"))})})?a.call(r,i,r,e):a)||(e.exports=c)},pWza:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("x0kV"),a=n("JkSk").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},pd8B:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},pn4C:function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},"pz+c":function(t,e){t.exports={}},qaQR:function(t,e,n){n("D+RQ"),n("ZBUp"),n("s5r0"),n("COcp"),n("+IJR"),n("kpca"),n("yI8t"),n("ow8b"),n("5eAq"),n("5zDw"),n("8xKV"),n("ane6");var r=n("E7aN");t.exports=r.Number},"qc/G":function(t,e,n){"use strict";var r=n("rG8t"),o=n("QcXc").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},qjkP:function(t,e,n){"use strict";var r,o,i=n("x0kV"),a=n("JkSk"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(o=/b*/g,c.call(r=/a/,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,n,r,o,a=this,s=l&&a.sticky,h=i.call(a),v=a.source,d=0,g=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=s},qpIG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("small")},{small:function(){return o(this,"small","","")}})},qx7X:function(t,e,n){var r=n("ocAm"),o=n("6XUM"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"r8F+":function(t,e,n){var r=n("wA6s"),o=n("7Oj1"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},rCRE:function(t,e,n){"use strict";var r=n("EMtK"),o=n("vDBE"),i=n("xpLY"),a=n("6CJb"),c=n("w2hq"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},rG8t:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},rH3X:function(t,e,n){"use strict";var r=n("EMtK"),o=n("A1Hp"),i=n("pz+c"),a=n("XH/I"),c=n("WijE"),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},riHj:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("rH3X"),a=n("aJMj"),c=n("m41k"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},rwGd:function(t,e,n){var r=n("rG8t"),o=n("xFZC");t.exports=function(t){return r(function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t})}},s1IR:function(t,e,n){"use strict";var r=n("wA6s"),o=n("jnLS").trim;r({target:"String",proto:!0,forced:n("rwGd")("trim")},{trim:function(){return o(this)}})},s5r0:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isFinite:n("Yg8j")})},s8qp:function(t,e,n){var r=n("1p6F");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},sQrk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("7Oj1"),i=n("vDBE"),a=n("xpLY"),c=n("VCQ8"),u=n("JafA"),s=n("DYg9"),f=n("lRyB"),l=n("w2hq"),p=f("splice"),h=l("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,d=Math.min;r({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var n,r,f,l,p,h,g=c(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=d(v(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=u(g,r),l=0;l<r;l++)(p=m+l)in g&&s(f,l,g[p]);if(f.length=r,n<r){for(l=m;l<y-r;l++)h=l+n,(p=l+r)in g?g[h]=g[p]:delete g[h];for(l=y;l>y-r+n;l--)delete g[l-1]}else if(n>r)for(l=y-r;l>m;l--)h=l+n-1,(p=l+r-1)in g?g[h]=g[p]:delete g[h];for(l=0;l<n;l++)g[l+m]=arguments[l+2];return g.length=y-r+n,f}})},shqn:function(t,e,n){var r=n("/Ybd").f,o=n("OG5q"),i=n("m41k")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},tNyX:function(t,e,n){"use strict";var r=n("wA6s"),o=n("G7bs").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},tUdv:function(t,e,n){var r=n("rG8t"),o=n("ezU2"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},tXU5:function(t,e,n){n("IXlp"),n("3caY"),n("8iOR"),n("D94X"),n("M1AK"),n("S58s"),n("JhPs"),n("Pf6x"),n("CwIO"),n("QFgE"),n("WEpO"),n("Djps"),n("6oxo"),n("BnCb"),n("n1Kw"),n("aTTg"),n("OVXS"),n("SdaC");var r=n("E7aN");t.exports=r.Math},tcQx:function(t,e,n){var r=n("Neub");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},tkWj:function(t,e,n){"use strict";var r=n("G7bs").charAt,o=n("XH/I"),i=n("WijE"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},tuHh:function(t,e,n){var r=n("T/Kj");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},u5Nv:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{is:n("EQZg")})},uKyN:function(t,e,n){n("94Vg")("species")},uSMZ:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},unYP:function(t,e,n){var r=n("ezU2"),o=n("qjkP");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},uoca:function(t,e,n){var r=n("hmpk"),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,""")+'"'),c+">"+a+"</"+e+">"}},v5if:function(t,e,n){"use strict";var r=n("wA6s"),o=n("nP0K");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},vDBE:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},vRoz:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},vVmn:function(t,e,n){var r=n("OG5q"),o=n("EMtK"),i=n("OXtp").indexOf,a=n("yQMY");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},vZCr:function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},vipS:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},voQr:function(t,e,n){"use strict";n.r(e),n("LRWt"),n("mA9f"),n("MjoC"),n("3vMK"),n("RCvO"),n("cJLW"),n("EntM"),n("znfk"),n("A7hN"),n("wqfI"),n("g69M"),n("IzYO"),n("+5Eg"),n("WLa2"),n("KMug"),n("QVG+"),n("wVAr"),n("nuqZ"),n("u5Nv"),n("WnNu"),n("NX+v"),n("F4rZ"),n("wZP2"),n("m2tE"),n("BcWx"),n("ntzx"),n("6q6p"),n("sQrk"),n("6fhQ"),n("v5if"),n("FU1i"),n("gke3"),n("XEin"),n("FeI/"),n("Q4jj"),n("IQbc"),n("6lQQ"),n("Xm88"),n("kP9Y"),n("DscF"),n("6CEi"),n("Jt/z"),n("rH3X"),n("r8F+"),n("IPby"),n("s1IR"),n("tkWj"),n("tNyX"),n("vipS"),n("L4l2"),n("BaTD"),n("oatR"),n("QUoj"),n("gXAK"),n("4axp"),n("Yu3F"),n("J4zY"),n("WKvG"),n("W0ke"),n("zTQA"),n("WEX0"),n("qpIG"),n("VmbE"),n("4Kt7"),n("dI74"),n("K1Z7"),n("S3Yw"),n("fMvl"),n("PmIt"),n("PbJR"),n("Ay+M"),n("qaQR"),n("tXU5"),n("lPAZ"),n("T4tC"),n("Rj+b"),n("pWza"),n("vRoz"),n("hdsk"),n("ViWx"),n("kIOX"),n("riHj"),n("bHwr"),n("8CeQ"),n("ls82")},vyNX:function(t,e,n){var r=n("Neub"),o=n("VCQ8"),i=n("tUdv"),a=n("xpLY"),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},w2hq:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("OG5q"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o(function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)})}},w4Hq:function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY");t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},wA6s:function(t,e,n){var r=n("ocAm"),o=n("7gGY").f,i=n("aJMj"),a=n("2MGJ"),c=n("Fqhe"),u=n("NIlc"),s=n("MkZA");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},wIVT:function(t,e,n){var r=n("OG5q"),o=n("VCQ8"),i=n("/AsP"),a=n("cwa4"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},wVAr:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},wZP2:function(t,e,n){n("wA6s")({target:"Array",stat:!0},{isArray:n("erNl")})},wdMf:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("M7Xk"),u=n("Rn6E"),s=n("SM6+"),f=n("6XUM"),l=n("rG8t"),p=n("EIBq"),h=n("shqn"),v=n("K6ZX");t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",m=o[t],b=m&&m.prototype,k=m,w={},E=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||b.forEach&&!l(function(){(new m).entries().next()}))))k=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var x=new k,S=x[y](g?{}:-0,1)!=x,_=l(function(){x.has(1)}),T=p(function(t){new m(t)}),O=!g&&l(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});T||((k=e(function(e,n){s(e,k,t);var r=v(new m,e,k);return null!=n&&u(n,r[y],r,d),r})).prototype=b,b.constructor=k),(_||O)&&(E("delete"),E("has"),d&&E("get")),(O||S)&&E(y),g&&b.clear&&delete b.clear}return w[t]=k,r({global:!0,forced:k!=m},w),h(k,t),g||n.setStrong(k,t,d),k}},wqfI:function(t,e,n){var r=n("wA6s"),o=n("VCQ8"),i=n("ZRqE");r({target:"Object",stat:!0,forced:n("rG8t")(function(){i(1)})},{keys:function(t){return i(o(t))}})},x0kV:function(t,e,n){"use strict";var r=n("F26l");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},xFZC:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},xpLY:function(t,e,n){var r=n("vDBE"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},yI8t:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},yIiL:function(t,e,n){var r=n("g9hI"),o=n("KBkW");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},yQMY:function(t,e){t.exports={}},yaK9:function(t,e,n){var r=n("ocAm"),o=n("6urC"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},zTQA:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("italics")},{italics:function(){return o(this,"i","","")}})},znfk:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("EMtK"),a=n("7gGY").f,c=n("T69T"),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})}},[[1,1]]])}(); \ No newline at end of file +!function(){function t(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},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,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0luR":function(t,e,n){"use strict";var r=n("wA6s"),o=n("T69T"),i=n("ocAm"),a=n("OG5q"),c=n("6XUM"),u=n("/Ybd").f,s=n("NIlc"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof t?new f(e):void 0===e?f():f(e);return""===e&&(l[n]=!0),n};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},1:function(t,e,n){n("voQr"),n("R0gw"),t.exports=n("NsgX")},"149L":function(t,e,n){var r=n("Ew/G");t.exports=r("document","documentElement")},"1p6F":function(t,e,n){var r=n("6XUM"),o=n("ezU2"),i=n("m41k")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"2MGJ":function(t,e,n){var r=n("ocAm"),o=n("aJMj"),i=n("OG5q"),a=n("Fqhe"),c=n("6urC"),u=n("XH/I"),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c(this)})},"2RDa":function(t,e,n){var r,o=n("F26l"),i=n("5y2d"),a=n("aAjO"),c=n("yQMY"),u=n("149L"),s=n("qx7X"),f=n("/AsP")("IE_PROTO"),l=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("ezU2"),v=n("Ox9q").set,d=n("tuHh"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,b="process"==h(y),k=p(l,"queueMicrotask"),w=k&&k.value;w||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!d?(c=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return i<s?f*(i/s/c+1/a-1/a)*s*c:(n=(e=(1+c/a)*i)-(e-i))>u||n!=n?f*(1/0):f*n}},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s<u&&u<s+l&&(p=-1,s+=l-1,u+=l-1);l-- >0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("find");"find"in[]&&Array(1).find(function(){c=!1}),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},"6XUM":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"6fhQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("Neub"),i=n("VCQ8"),a=n("rG8t"),c=n("6CJb"),u=[],s=u.sort,f=a(function(){u.sort(void 0)}),l=a(function(){u.sort(null)}),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},"6lQQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").indexOf,i=n("6CJb"),a=n("w2hq"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h<v;h++,f++)h in l&&s(r,f,l[h]);return r.length=f,r}})},"6urC":function(t,e,n){var r=n("KBkW"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"7/lX":function(t,e,n){var r=n("F26l"),o=n("JI1L");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},"76gj":function(t,e,n){var r=n("Ew/G"),o=n("KkqW"),i=n("busr"),a=n("F26l");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},"7Oj1":function(t,e,n){var r=n("vDBE"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"7aOP":function(t,e,n){var r=n("F26l"),o=n("6XUM"),i=n("oB0/");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},"7gGY":function(t,e,n){var r=n("T69T"),o=n("gn9T"),i=n("uSMZ"),a=n("EMtK"),c=n("LdO1"),u=n("OG5q"),s=n("XdSI"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"8+YH":function(t,e,n){n("94Vg")("search")},"815a":function(t,e,n){n("94Vg")("unscopables")},"8CeQ":function(t,e,n){var r=n("ocAm");n("shqn")(r.JSON,"JSON",!0)},"8aNu":function(t,e,n){var r=n("2MGJ");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"8iOR":function(t,e,n){var r=n("wA6s"),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},"8xKV":function(t,e,n){"use strict";var r=n("wA6s"),o=n("vDBE"),i=n("hH+7"),a=n("EMWV"),c=n("rG8t"),u=1..toFixed,s=Math.floor,f=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c(function(){u.call({})})},{toFixed:function(t){var e,n,r,c,u=i(this),l=o(t),p=[0,0,0,0,0,0],h="",v="0",d=function(t,e){for(var n=-1,r=e;++n<6;)p[n]=(r+=t*p[n])%1e7,r=s(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),d(1,1),g(2),v=y()}else d(0,n),d(1<<-e,0),v=y()+a.call("0",l);return l>0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},BaTD:function(t,e,n){n("wA6s")({target:"String",proto:!0},{repeat:n("EMWV")})},BcWx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("DYg9");r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c<u;)s<(n=i(arguments[c++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),k=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,E=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof t&&(b?l(function(){m.valueOf.call(r)}):"Number"!=u(r))?s(new y(k(n)),r,t):k(n)},x=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;x.length>S;S++)c(y,w=x[S])&&!c(E,w)&&d(E,w,v(y,w));E.prototype=m,m.constructor=E,a(o,"Number",E)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)}),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function r(){var o=n.concat(i.call(arguments));return this instanceof r?c(e,o.length,o):e.apply(t,o)};return o(e.prototype)&&(a.prototype=e.prototype),a}},EIBq:function(t,e,n){var r=n("m41k")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},EMWV:function(t,e,n){"use strict";var r=n("vDBE"),o=n("hmpk");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("wIVT"),c=n("aJMj"),u=n("OG5q"),s=n("m41k"),f=n("g9hI"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var v=i(t),d=!o(function(){var e={};return e[v]=function(){return 7},7!=""[t](e)}),g=d&&!o(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e});if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=m?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},IQbc:function(t,e,n){"use strict";var r=n("wA6s"),o=n("vyNX").right,i=n("6CJb"),a=n("w2hq"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){u(1)}),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r(function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=r(function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){c=!1}),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]})},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KsdI:function(t,e,n){n("94Vg")("iterator")},L4l2:function(t,e,n){"use strict";var r=n("wA6s"),o=n("s8qp"),i=n("hmpk");r({target:"String",proto:!0,forced:!n("0Ds2")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},LRWt:function(t,e,n){n("F4rZ"),n("NX+v"),n("SNUk"),n("c/8x"),n("0luR"),n("Pfbg"),n("V+F/"),n("KsdI"),n("ERXZ"),n("YOJ4"),n("S3W2"),n("8+YH"),n("uKyN"),n("Vi1R"),n("9kNm"),n("ZQqA"),n("815a"),n("OVXS"),n("8CeQ");var r=n("E7aN");t.exports=r.Symbol},LdO1:function(t,e,n){var r=n("6XUM");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},M1AK:function(t,e,n){var r=n("wA6s"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},M7Xk:function(t,e,n){var r=n("yQMY"),o=n("6XUM"),i=n("OG5q"),a=n("/Ybd").f,c=n("SDMg"),u=n("cZY6"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},MjoC:function(t,e,n){var r=n("T69T"),o=n("/Ybd").f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},MkZA:function(t,e,n){var r=n("rG8t"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},NIlc:function(t,e,n){var r=n("OG5q"),o=n("76gj"),i=n("7gGY"),a=n("/Ybd");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s<n.length;s++){var f=n[s];r(t,f)||c(t,f,u(e,f))}}},"NX+v":function(t,e,n){var r=n("4PyY"),o=n("2MGJ"),i=n("azxr");r||o(Object.prototype,"toString",i,{unsafe:!0})},Neub:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},NsgX:function(t,e,n){"use strict";n.r(e),n("gPqf"),n("pDpN")},Nvxz:function(t,e,n){var r=n("6XUM"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},O3xq:function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},OG5q:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},OVXS:function(t,e,n){n("shqn")(Math,"Math",!0)},OXtp:function(t,e,n){var r=n("EMtK"),o=n("xpLY"),i=n("7Oj1"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},OjQg:function(t,e){t.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}},Ox9q:function(t,e,n){var r,o,i,a=n("ocAm"),c=n("rG8t"),u=n("ezU2"),s=n("tcQx"),f=n("149L"),l=n("qx7X"),p=n("tuHh"),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,k={},w=function(t){if(k.hasOwnProperty(t)){var e=k[t];delete k[t],e()}},E=function(t){return function(){w(t)}},x=function(t){w(t.data)},S=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return k[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete k[t]},"process"==u(g)?r=function(t){g.nextTick(E(t))}:m&&m.now?r=function(t){m.now(E(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)||"file:"===h.protocol?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(E(t),0)}:(r=S,a.addEventListener("message",x,!1))),t.exports={set:v,clear:d}},PbJR:function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({global:!0,forced:parseInt!=o},{parseInt:o})},Pf6x:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{fround:n("48xZ")})},Pfbg:function(t,e,n){n("94Vg")("hasInstance")},PmIt:function(t,e,n){"use strict";var r=n("HSQg"),o=n("1p6F"),i=n("F26l"),a=n("hmpk"),c=n("p82S"),u=n("dPn5"),s=n("xpLY"),f=n("unYP"),l=n("qjkP"),p=n("rG8t"),h=[].push,v=Math.min,d=!p(function(){return!RegExp(4294967295,"y")});r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(f,c.slice(1)),s=c[0].length,p=u,f.length>=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),g=l.unicode,y=new h(d?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g")),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===p.length)return null===f(y,p)?[p]:[];for(var b=0,k=0,w=[];k<p.length;){y.lastIndex=d?k:0;var E,x=f(y,d?p:p.slice(k));if(null===x||(E=v(s(y.lastIndex+(d?0:k)),p.length))===b)k=u(p,k,g);else{if(w.push(p.slice(b,k)),w.length===m)return w;for(var S=1;S<=x.length-1;S++)if(w.push(x[S]),w.length===m)return w;k=b=E}}return w.push(p.slice(b)),w}]},!d)},Q4jj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("vyNX").left,i=n("6CJb"),a=n("w2hq"),c=i("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},QFgE:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},QUoj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},"QVG+":function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},QcXc:function(t,e,n){var r=n("xpLY"),o=n("EMWV"),i=n("hmpk"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},R0gw:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";var t,e,n,r,o,i;function a(){t=Zone.__symbol__,e=Object[t("defineProperty")]=Object.defineProperty,n=Object[t("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=t("unconfigurables"),Object.defineProperty=function(t,e,n){if(u(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=s(t,e,n)),f(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach(function(n){e[n]=s(t,n,e[n])}),r(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var r=n(t,e);return r&&u(t,e)&&(r.configurable=!1),r}}function c(t,e,n){var r=n.configurable;return f(t,e,n=s(t,e,n),r)}function u(t,e){return t&&t[o]&&t[o][e]}function s(t,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(t[o]||Object.isFrozen(t)||e(t,o,{writable:!0,value:{}}),t[o]&&(t[o][n]=!0)),r}function f(t,n,r,o){try{return e(t,n,r)}catch(a){if(!r.configurable)throw a;void 0===o?delete r.configurable:r.configurable=o;try{return e(t,n,r)}catch(a){var i=null;try{i=JSON.stringify(r)}catch(a){i=r.toString()}console.log("Attempting to configure '"+n+"' with descriptor '"+i+"' on object '"+t+"' and got error, giving up: "+a)}}}function l(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f=[],l=t.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");l?f=p.map(function(t){return"HTML"+t+"Element"}).concat(s):t.EventTarget?f.push("EventTarget"):f=s;for(var h=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,d=e.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},m=0;m<r.length;m++){var b=u+((S=r[m])+c),k=u+(S+a);i[S]={},i[S][c]=b,i[S][a]=k}for(m=0;m<p.length;m++)for(var w=p[m],E=o[w]={},x=0;x<r.length;x++){var S;E[S=r[x]]=w+".addEventListener:"+S}var _=[];for(m=0;m<f.length;m++){var T=t[f[m]];_.push(T&&T.prototype)}return e.patchEventTarget(t,_,{vh:function(t,e,n,r){if(!h&&d){if(v)try{var o;if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}catch(i){return t.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}else if(v)try{e.toString()}catch(i){return t.apply(n,r),!1}return!0},transferEventName:function(t){return y[t]||t}}),Zone[e.symbol("patchEventTarget")]=!!t.EventTarget,!0}function p(t,e){var n=t.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(t,e){var n=t.getGlobalObjects();if((n.isBrowser||n.isMix)&&!t.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=t.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){t.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return t.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=e.XMLHttpRequest;if(!i)return!1;var a=i.prototype,c=t.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(c)return t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(s=new i).onreadystatechange,t.ObjectDefineProperty(a,"onreadystatechange",c||{}),o;var u=t.symbol("fake");t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[u]},set:function(t){this[u]=t}});var s,f=function(){};return(s=new i).onreadystatechange=f,o=s[u]===f,s.onreadystatechange=null,o}(t,e)){var r="undefined"!=typeof WebSocket;(function(t){for(var e=t.getGlobalObjects().eventNames,n=t.symbol("unbound"),r=function(r){var o=e[r],i="on"+o;self.addEventListener(o,function(e){var r,o,a=e.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=t.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement},!0)},o=0;o<e.length;o++)r(o)})(t),t.patchClass("XMLHttpRequest"),r&&function(t,e){var n=t.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=e.WebSocket;e.EventTarget||t.patchEventTarget(e,[i.prototype]),e.WebSocket=function(e,n){var a,c,u=arguments.length>1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=i.Zone;t.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=c,a()}),t.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),t.__load_patch("EventTargetLegacy",function(t,e,n){l(t,n),p(n,t)})}})?r.call(e,n,e,t):r)||(t.exports=o)},RCvO:function(t,e,n){n("wA6s")({target:"Object",stat:!0,sham:!n("T69T")},{create:n("2RDa")})},"Rj+b":function(t,e,n){"use strict";var r=n("2MGJ"),o=n("F26l"),i=n("rG8t"),a=n("x0kV"),c=RegExp.prototype,u=c.toString;(i(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})||"toString"!=u.name)&&r(RegExp.prototype,"toString",function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)},{unsafe:!0})},Rn6E:function(t,e,n){var r=n("F26l"),o=n("5MmU"),i=n("xpLY"),a=n("tcQx"),c=n("F/TS"),u=n("ipMl"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},S3W2:function(t,e,n){n("94Vg")("replace")},S3Yw:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("VCQ8"),a=n("xpLY"),c=n("vDBE"),u=n("hmpk"),s=n("dPn5"),f=n("unYP"),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=g?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(m)){var i=n(e,t,this,r);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof r;v||(r=String(r));var d=u.global;if(d){var k=u.unicode;u.lastIndex=0}for(var w=[];;){var E=f(u,h);if(null===E)break;if(w.push(E),!d)break;""===String(E[0])&&(u.lastIndex=s(h,a(u.lastIndex),k))}for(var x,S="",_=0,T=0;T<w.length;T++){E=w[T];for(var O=String(E[0]),A=l(p(c(E.index),h.length),0),M=[],j=1;j<E.length;j++)M.push(void 0===(x=E[j])?x:String(x));var I=E.groups;if(v){var P=[O].concat(M,A,h);void 0!==I&&P.push(I);var C=String(r.apply(void 0,P))}else C=b(O,h,A,M,I,r);A>=_&&(S+=h.slice(_,A)+C,_=A+O.length)}return S+h.slice(_)}];function b(t,n,r,o,a,c){var u=r+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}})},S58s:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},SC6u:function(t,e,n){"use strict";var r=n("wA6s"),o=n("qjkP");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},SDMg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"SM6+":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},SNUk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("Ew/G"),a=n("g9hI"),c=n("T69T"),u=n("U+kB"),s=n("i85Z"),f=n("rG8t"),l=n("OG5q"),p=n("erNl"),h=n("6XUM"),v=n("F26l"),d=n("VCQ8"),g=n("EMtK"),y=n("LdO1"),m=n("uSMZ"),b=n("2RDa"),k=n("ZRqE"),w=n("KkqW"),E=n("TzEA"),x=n("busr"),S=n("7gGY"),_=n("/Ybd"),T=n("gn9T"),O=n("aJMj"),A=n("2MGJ"),M=n("yIiL"),j=n("/AsP"),I=n("yQMY"),P=n("SDMg"),C=n("m41k"),D=n("aGCb"),N=n("94Vg"),R=n("shqn"),L=n("XH/I"),Z=n("kk6e").forEach,z=j("hidden"),G=C("toPrimitive"),F=L.set,q=L.getterFor("Symbol"),X=Object.prototype,U=o.Symbol,Y=i("JSON","stringify"),H=S.f,V=_.f,W=E.f,B=T.f,Q=M("symbols"),J=M("op-symbols"),K=M("string-to-symbol-registry"),$=M("symbol-to-string-registry"),tt=M("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&f(function(){return 7!=b(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=H(X,e);r&&delete X[e],V(t,e,n),r&&t!==X&&V(X,e,r)}:V,ot=function(t,e){var n=Q[t]=b(U.prototype);return F(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},at=function t(e,n,r){e===X&&t(J,n,r),v(e);var o=y(n,!0);return v(r),l(Q,o)?(r.enumerable?(l(e,z)&&e[z][o]&&(e[z][o]=!1),r=b(r,{enumerable:m(0,!1)})):(l(e,z)||V(e,z,m(1,{})),e[z][o]=!0),rt(e,o,r)):V(e,o,r)},ct=function(t,e){v(t);var n=g(e),r=k(n).concat(lt(n));return Z(r,function(e){c&&!ut.call(n,e)||at(t,e,n[e])}),t},ut=function(t){var e=y(t,!0),n=B.call(this,e);return!(this===X&&l(Q,e)&&!l(J,e))&&(!(n||!l(this,e)||!l(Q,e)||l(this,z)&&this[z][e])||n)},st=function(t,e){var n=g(t),r=y(e,!0);if(n!==X||!l(Q,r)||l(J,r)){var o=H(n,r);return!o||!l(Q,r)||l(n,z)&&n[z][r]||(o.enumerable=!0),o}},ft=function(t){var e=W(g(t)),n=[];return Z(e,function(t){l(Q,t)||l(I,t)||n.push(t)}),n},lt=function(t){var e=t===X,n=W(e?J:g(t)),r=[];return Z(n,function(t){!l(Q,t)||e&&!l(X,t)||r.push(Q[t])}),r};u||(A((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),n=function t(n){this===X&&t.call(J,n),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),rt(this,e,m(1,n))};return c&&nt&&rt(X,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",function(){return q(this).tag}),A(U,"withoutSetter",function(t){return ot(P(t),t)}),T.f=ut,_.f=at,S.f=st,w.f=E.f=ft,x.f=lt,D.f=function(t){return ot(C(t),t)},c&&(V(U.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||A(X,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),Z(k(tt),function(t){N(t)}),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(K,e))return K[e];var n=U(e);return K[e]=n,$[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l($,t))return $[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f(function(){x.f(1)})},{getOwnPropertySymbols:function(t){return x.f(d(t))}}),Y&&r({target:"JSON",stat:!0,forced:!u||f(function(){var t=U();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))})},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!it(e))return e}),o[1]=e,Y.apply(null,o)}}),U.prototype[G]||O(U.prototype,G,U.prototype.valueOf),R(U,"Symbol"),I[z]=!0},SdaC:function(t,e,n){var r=n("wA6s"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},"T/Kj":function(t,e,n){var r=n("Ew/G");t.exports=r("navigator","userAgent")||""},T4tC:function(t,e,n){var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("K6ZX"),c=n("/Ybd").f,u=n("KkqW").f,s=n("1p6F"),f=n("x0kV"),l=n("JkSk"),p=n("2MGJ"),h=n("rG8t"),v=n("XH/I").set,d=n("JHhb"),g=n("m41k")("match"),y=o.RegExp,m=y.prototype,b=/a/g,k=/a/g,w=new y(b)!==b,E=l.UNSUPPORTED_Y;if(r&&i("RegExp",!w||E||h(function(){return k[g]=!1,y(b)!=b||y(k)==k||"/a/i"!=y(b,"i")}))){for(var x=function t(e,n){var r,o=this instanceof t,i=s(e),c=void 0===n;if(!o&&i&&e.constructor===t&&c)return e;w?i&&!c&&(e=e.source):e instanceof t&&(c&&(n=f.call(e)),e=e.source),E&&(r=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var u=a(w?new y(e,n):y(e,n),o?this:m,t);return E&&r&&v(u,{sticky:r}),u},S=function(t){t in x||c(x,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},_=u(y),T=0;_.length>T;)S(_[T++]);m.constructor=x,x.prototype=m,p(o,"RegExp",x)}d("RegExp")},T69T:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},TzEA:function(t,e,n){var r=n("EMtK"),o=n("KkqW").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},"U+kB":function(t,e,n){var r=n("rG8t");t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"V+F/":function(t,e,n){n("94Vg")("isConcatSpreadable")},VCQ8:function(t,e,n){var r=n("hmpk");t.exports=function(t){return Object(r(t))}},Vi1R:function(t,e,n){n("94Vg")("split")},ViWx:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},VmbE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("strike")},{strike:function(){return o(this,"strike","","")}})},W0ke:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},WEX0:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("link")},{link:function(t){return o(this,"a","href",t)}})},WEpO:function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},WKvG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},WLa2:function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},WijE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ZJLg"),i=n("wIVT"),a=n("7/lX"),c=n("shqn"),u=n("aJMj"),s=n("2MGJ"),f=n("m41k"),l=n("g9hI"),p=n("pz+c"),h=n("G1Vw"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var k,w,E,x=function(t){if(t===h&&A)return A;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",_=!1,T=t.prototype,O=T[g]||T["@@iterator"]||h&&T[h],A=!d&&O||x(h),M="Array"==e&&T.entries||O;if(M&&(k=i(M.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,S,!0,!0),l&&(p[S]=y))),"values"==h&&O&&"values"!==O.name&&(_=!0,A=function(){return O.call(this)}),l&&!b||T[g]===A||u(T,g,A),p[e]=A,h)if(w={values:x("values"),keys:m?A:x("keys"),entries:x("entries")},b)for(E in w)(d||_||!(E in T))&&s(T,E,w[E]);else r({target:e,proto:!0,forced:d||_},w);return w}},WnNu:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{setPrototypeOf:n("7/lX")})},XEin:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").some,i=n("6CJb"),a=n("w2hq"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"XH/I":function(t,e,n){var r,o,i,a=n("yaK9"),c=n("ocAm"),u=n("6XUM"),s=n("aJMj"),f=n("OG5q"),l=n("/AsP"),p=n("yQMY");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=l("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return f(t,y)?t[y]:{}},i=function(t){return f(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},XdSI:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("qx7X");t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},Xm88:function(t,e,n){var r=n("wA6s"),o=n("rCRE");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},Y5OV:function(t,e,n){var r=n("aJMj"),o=n("CW9j"),i=n("m41k")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},YOJ4:function(t,e,n){n("94Vg")("matchAll")},Yg8j:function(t,e,n){var r=n("ocAm").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},Yu3F:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("bold")},{bold:function(){return o(this,"b","","")}})},ZBUp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},ZJLg:function(t,e,n){"use strict";var r=n("G1Vw").IteratorPrototype,o=n("2RDa"),i=n("uSMZ"),a=n("shqn"),c=n("pz+c"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},ZQqA:function(t,e,n){n("94Vg")("toStringTag")},ZRqE:function(t,e,n){var r=n("vVmn"),o=n("aAjO");t.exports=Object.keys||function(t){return r(t,o)}},aAjO:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},aGCb:function(t,e,n){var r=n("m41k");e.f=r},aJMj:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("uSMZ");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},aTTg:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},ane6:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("hH+7"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},azxr:function(t,e,n){"use strict";var r=n("4PyY"),o=n("mN5b");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},bHwr:function(t,e,n){"use strict";var r,o,i,a,c=n("wA6s"),u=n("g9hI"),s=n("ocAm"),f=n("Ew/G"),l=n("K1dl"),p=n("2MGJ"),h=n("8aNu"),v=n("shqn"),d=n("JHhb"),g=n("6XUM"),y=n("Neub"),m=n("SM6+"),b=n("ezU2"),k=n("6urC"),w=n("Rn6E"),E=n("EIBq"),x=n("p82S"),S=n("Ox9q").set,_=n("3xQm"),T=n("7aOP"),O=n("ktmr"),A=n("oB0/"),M=n("pd8B"),j=n("XH/I"),I=n("MkZA"),P=n("m41k"),C=n("D3bo"),D=P("species"),N="Promise",R=j.get,L=j.set,Z=j.getterFor(N),z=l,G=s.TypeError,F=s.document,q=s.process,X=f("fetch"),U=A.f,Y=U,H="process"==b(q),V=!!(F&&F.createEvent&&s.dispatchEvent),W=I(N,function(){if(k(z)===String(z)){if(66===C)return!0;if(!H&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!z.prototype.finally)return!0;if(C>=51&&/native code/.test(z))return!1;var t=z.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[D]=e,!(t.then(function(){})instanceof e)}),B=W||!E(function(t){z.all(t).catch(function(){})}),Q=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;_(function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var c,u,s,f=r[a++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?h(G("Promise-chain cycle")):(u=Q(c))?u.call(c,p,h):p(c)):h(o)}catch(d){v&&!s&&v.exit(),h(d)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&$(t,e)})}},K=function(t,e,n){var r,o;V?((r=F.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(o=s["on"+t])?o(r):"unhandledrejection"===t&&O("Unhandled promise rejection",n)},$=function(t,e){S.call(s,function(){var n,r=e.value;if(tt(e)&&(n=M(function(){H?q.emit("unhandledRejection",r,t):K("unhandledrejection",t,r)}),e.rejection=H||tt(e)?2:1,n.error))throw n.value})},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){S.call(s,function(){H?q.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)})},nt=function(t,e,n,r){return function(o){t(e,n,o,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},ot=function t(e,n,r,o){if(!n.done){n.done=!0,o&&(n=o);try{if(e===r)throw G("Promise can't be resolved itself");var i=Q(r);i?_(function(){var o={done:!1};try{i.call(r,nt(t,e,o,n),nt(rt,e,o,n))}catch(a){rt(e,o,a,n)}}):(n.value=r,n.state=1,J(e,n,!1))}catch(a){rt(e,{done:!1},a,n)}}};W&&(z=function(t){m(this,z,N),y(t),r.call(this);var e=R(this);try{t(nt(ot,this,e),nt(rt,this,e))}catch(n){rt(this,e,n)}},(r=function(t){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(z.prototype,{then:function(t,e){var n=Z(this),r=U(x(this,z));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=H?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=nt(ot,t,e),this.reject=nt(rt,t,e)},A.f=U=function(t){return t===z||t===i?new o(t):Y(t)},u||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",function(t,e){var n=this;return new z(function(t,e){a.call(n,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof X&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return T(z,X.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:W},{Promise:z}),v(z,N,!1,!0),d(N),i=f(N),c({target:N,stat:!0,forced:W},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),c({target:N,stat:!0,forced:u||W},{resolve:function(t){return T(u&&this===i?z:this,t)}}),c({target:N,stat:!0,forced:B},{all:function(t){var e=this,n=U(e),r=n.resolve,o=n.reject,i=M(function(){var n=y(e.resolve),i=[],a=0,c=1;w(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=U(e),r=n.reject,o=M(function(){var o=y(e.resolve);w(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},busr:function(t,e){e.f=Object.getOwnPropertySymbols},"c/8x":function(t,e,n){n("94Vg")("asyncIterator")},cJLW:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("/Ybd").f})},cZY6:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},cwa4:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},d8Sw:function(t,e,n){var r=n("rG8t");t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},dI74:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sup")},{sup:function(){return o(this,"sup","","")}})},dPn5:function(t,e,n){"use strict";var r=n("G7bs").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},erNl:function(t,e,n){var r=n("ezU2");t.exports=Array.isArray||function(t){return"Array"==r(t)}},ezU2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},fMvl:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("hmpk"),a=n("EQZg"),c=n("unYP");r("search",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]})},g69M:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("TzEA").f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},g9hI:function(t,e){t.exports=!1},gPqf:function(t,e){window.__Zone_disable_customElements=!0},gXAK:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("big")},{big:function(){return o(this,"big","","")}})},gke3:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").filter,i=n("lRyB"),a=n("w2hq"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},gn9T:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},"hH+7":function(t,e,n){var r=n("ezU2");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},hdsk:function(t,e,n){"use strict";var r,o=n("ocAm"),i=n("8aNu"),a=n("M7Xk"),c=n("wdMf"),u=n("DAme"),s=n("6XUM"),f=n("XH/I").enforce,l=n("yaK9"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},hmpk:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},i85Z:function(t,e,n){var r=n("U+kB");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ipMl:function(t,e,n){var r=n("F26l");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},jnLS:function(t,e,n){var r=n("hmpk"),o="["+n("xFZC")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},kIOX:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("nP0K"),a=n("aJMj");for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(f){s.forEach=i}}},kP9Y:function(t,e,n){var r=n("wA6s"),o=n("4GtL"),i=n("A1Hp");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},kcGo:function(t,e,n){var r=n("wA6s"),o=n("qc/G");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},kk6e:function(t,e,n){var r=n("tcQx"),o=n("tUdv"),i=n("VCQ8"),a=n("xpLY"),c=n("JafA"),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,g){for(var y,m,b=i(h),k=o(b),w=r(v,d,3),E=a(k.length),x=0,S=g||c,_=e?S(h,E):n?S(h,0):void 0;E>x;x++)if((p||x in k)&&(m=w(y=k[x],x,b),t))if(e)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u.call(_,y)}else if(f)return!1;return l?-1:s||f?f:_}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},kpca:function(t,e,n){var r=n("wA6s"),o=n("Nvxz"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},ktmr:function(t,e,n){var r=n("ocAm");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},lPAZ:function(t,e,n){n("8ydS"),n("DGHb"),n("kcGo"),n("n43T"),n("Y5OV");var r=n("E7aN");t.exports=r.Date},lRyB:function(t,e,n){var r=n("rG8t"),o=n("m41k"),i=n("D3bo"),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},ls82:function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(T){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=Object.create((e&&e.prototype instanceof l?e:l).prototype),i=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===f)continue;return c}}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 u=s(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=u;var f={};function l(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,g=d&&d(d(S([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=l.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){function r(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(l).then(function(t){f.value=t,a(f)},function(t){return r("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function k(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=y.constructor=h,h.constructor=p,p.displayName=c(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},m(b.prototype),b.prototype[i]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new b(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,x.prototype={constructor:x,reset:function(t){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(E),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},m2tE:function(t,e,n){var r=n("wA6s"),o=n("IBH3");r({target:"Array",stat:!0,forced:!n("EIBq")(function(t){Array.from(t)})},{from:o})},m41k:function(t,e,n){var r=n("ocAm"),o=n("yIiL"),i=n("OG5q"),a=n("SDMg"),c=n("U+kB"),u=n("i85Z"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},mA9f:function(t,e,n){n("wA6s")({target:"Function",proto:!0},{bind:n("E8Ab")})},mN5b:function(t,e,n){var r=n("4PyY"),o=n("ezU2"),i=n("m41k")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"n/2t":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},n1Kw:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("pn4C"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},n43T:function(t,e,n){var r=n("2MGJ"),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"})},nIH4:function(t,e,n){"use strict";var r=n("/Ybd").f,o=n("2RDa"),i=n("8aNu"),a=n("tcQx"),c=n("SM6+"),u=n("Rn6E"),s=n("WijE"),f=n("JHhb"),l=n("T69T"),p=n("M7Xk").fastKey,h=n("XH/I"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},nP0K:function(t,e,n){"use strict";var r=n("kk6e").forEach,o=n("6CJb"),i=n("w2hq"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},ntzx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("tUdv"),i=n("EMtK"),a=n("6CJb"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},nuqZ:function(t,e,n){var r=n("wA6s"),o=n("KlhL");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"oB0/":function(t,e,n){"use strict";var r=n("Neub"),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},oatR:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},ocAm:function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},ow8b:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},p82S:function(t,e,n){var r=n("F26l"),o=n("Neub"),i=n("m41k")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},pDpN:function(e,r,i){var a,c;void 0===(c="function"==typeof(a=function(){"use strict";!function(t){var e=t.performance;function r(t){e&&e.mark&&e.mark(t)}function i(t,n){e&&e.measure&&e.measure(t,n)}r("Zone");var a=t.__Zone_symbol_prefix||"__zone_symbol__";function c(t){return a+t}var u=!0===t[c("forceDuplicateZoneCheck")];if(t.Zone){if(u||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s=function(){function e(t,r){n(this,e),this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,r)}return o(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{C=C.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");if(t.state!==E||t.type!==j&&t.type!==M){var r=t.state!=_;r&&t._transitionTo(_,S),t.runCount++;var o=D;D=t,C={parent:C,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==E&&t.state!==O&&(t.type==j||t.data&&t.data.isPeriodic?r&&t._transitionTo(S,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(E,_,E))),C=C.parent,D=o}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(x,E);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(O,x,E),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==x&&t._transitionTo(S,x),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new h(A,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(M,t,e,n,r,o))}},{key:"scheduleEventTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(j,t,e,n,r,o))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");t._transitionTo(T,S,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(O,T),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(E,T),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}],[{key:"assertZonePatched",value:function(){if(t.Promise!==I.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var t=e.current;t.parent;)t=t.parent;return t}},{key:"current",get:function(){return C.zone}},{key:"currentTask",get:function(){return D}},{key:"__load_patch",value:function(n,o){if(I.hasOwnProperty(n)){if(u)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){var a="Zone:"+n;r(a),I[n]=o(t,e,P),i(a,a)}}}]),e}();s.__symbol__=c;var f,l={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},p=function(){function t(e,r,o){n(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=r,this._forkZS=o&&(o&&o.onFork?o:r._forkZS),this._forkDlgt=o&&(o.onFork?r:r._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:r._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:r._interceptZS),this._interceptDlgt=o&&(o.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:r._invokeZS),this._invokeDlgt=o&&(o.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:r._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:r._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:r._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:r._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=o&&o.onHasTask;(i||r&&r._hasTaskZS)&&(this._hasTaskZS=i?o:l,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,o.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}return o(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=A)throw new Error("Task is missing scheduleFn.");b(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),h=function(){function e(r,o,i,a,c,u){if(n(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=o,this.data=a,this.scheduleFn=c,this.cancelFn=u,!i)throw new Error("callback is not defined");this.callback=i;var s=this;this.invoke=r===j&&a&&a.useG?e.invokeTask:function(){return e.invokeTask.call(t,s,this,arguments)}}return o(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(E,x)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==E&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&k(),N--}}}]),e}(),v=c("setTimeout"),d=c("Promise"),g=c("then"),y=[],m=!1;function b(e){if(0===N&&0===y.length)if(f||t[d]&&(f=t[d].resolve(0)),f){var n=f[g];n||(n=f.then),n.call(f,k)}else t[v](k,0);e&&y.push(e)}function k(){if(!m){for(m=!0;y.length;){var t=y;y=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(r){P.onUnhandledError(r)}}}P.microtaskDrainDone(),m=!1}}var w={name:"NO ZONE"},E="notScheduled",x="scheduling",S="scheduled",_="running",T="canceling",O="unknown",A="microTask",M="macroTask",j="eventTask",I={},P={symbol:c,currentZoneFrame:function(){return C},onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:b,showUncaughtError:function(){return!s[c("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:R,patchMethod:function(){return R},bindArguments:function(){return[]},patchThen:function(){return R},patchMacroTask:function(){return R},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(f=t.resolve(0))},patchEventPrototype:function(){return R},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return R},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return R},wrapWithCurrentZone:function(){return R},filterProperties:function(){return[]},attachOriginToPatched:function(){return R},_redefineProperty:function(){return R},patchCallbacks:function(){return R}},C={parent:null,zone:new s(null,null)},D=null,N=0;function R(){}i("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",function(e,r,i){var a=Object.getOwnPropertyDescriptor,c=Object.defineProperty,u=i.symbol,s=[],f=u("Promise"),l=u("then");i.onUnhandledError=function(t){if(i.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},i.microtaskDrainDone=function(){for(;s.length;)for(var t=function(){var t=s.shift();try{t.zone.runGuarded(function(){throw t})}catch(e){h(e)}};s.length;)t()};var p=u("unhandledPromiseRejectionHandler");function h(t){i.onUnhandledError(t);try{var e=r[p];e&&"function"==typeof e&&e.call(this,t)}catch(n){}}function v(t){return t&&t.then}function d(t){return t}function g(t){return A.reject(t)}var y=u("state"),m=u("value"),b=u("finally"),k=u("parentPromiseValue"),w=u("parentPromiseState");function E(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var x=u("currentTaskTrace");function S(t,e,n){var o,a,u=(o=!1,function(t){return function(){o||(o=!0,t.apply(null,arguments))}});if(t===n)throw new TypeError("Promise resolved with itself");if(null===t[y]){var f=null;try{"object"!=typeof n&&"function"!=typeof n||(f=n&&n.then)}catch(d){return u(function(){S(t,!1,d)})(),t}if(!1!==e&&n instanceof A&&n.hasOwnProperty(y)&&n.hasOwnProperty(m)&&null!==n[y])T(n),S(t,n[y],n[m]);else if(!1!==e&&"function"==typeof f)try{f.call(n,u(E(t,e)),u(E(t,!1)))}catch(d){u(function(){S(t,!1,d)})()}else{t[y]=e;var l=t[m];if(t[m]=n,t[b]===b&&!0===e&&(t[y]=t[w],t[m]=t[k]),!1===e&&n instanceof Error){var p=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;p&&c(n,x,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<l.length;)O(t,l[h++],l[h++],l[h++],l[h++]);if(0==l.length&&0==e){t[y]=0;try{throw new Error("Uncaught (in promise): "+((a=n)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(n&&n.stack?"\n"+n.stack:""))}catch(d){var v=d;v.rejection=n,v.promise=t,v.zone=r.current,v.task=r.currentTask,s.push(v),i.scheduleMicroTask()}}}}return t}var _=u("rejectionHandledHandler");function T(t){if(0===t[y]){try{var e=r[_];e&&"function"==typeof e&&e.call(this,{rejection:t[m],promise:t})}catch(o){}t[y]=!1;for(var n=0;n<s.length;n++)t===s[n].promise&&s.splice(n,1)}}function O(t,e,n,r,o){T(t);var i=t[y],a=i?"function"==typeof r?r:d:"function"==typeof o?o:g;e.scheduleMicroTask("Promise.then",function(){try{var r=t[m],o=!!n&&b===n[b];o&&(n[k]=r,n[w]=i);var c=e.run(a,void 0,o&&a!==g&&a!==d?[]:[r]);S(n,!0,c)}catch(u){S(n,!1,u)}},n)}var A=function(e){function i(t){n(this,i);var e=this;if(!(e instanceof i))throw new Error("Must be an instanceof Promise.");e[y]=null,e[m]=[];try{t&&t(E(e,!0),E(e,!1))}catch(r){S(e,!1,r)}}return o(i,[{key:Symbol.toStringTag,get:function(){return"Promise"}},{key:"then",value:function(t,e){var n=new this.constructor(null),o=r.current;return null==this[y]?this[m].push(o,n,t,e):O(this,o,n,t,e),n}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){var e=new this.constructor(null);e[b]=b;var n=r.current;return null==this[y]?this[m].push(n,e,t,t):O(this,n,e,t,t),e}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(t){return S(new this(null),!0,t)}},{key:"reject",value:function(t){return S(new this(null),!1,t)}},{key:"race",value:function(e){var n,r,o=new this(function(t,e){n=t,r=e});function i(t){n(t)}function a(t){r(t)}var c,u=t(e);try{for(u.s();!(c=u.n()).done;){var s=c.value;v(s)||(s=this.resolve(s)),s.then(i,a)}}catch(f){u.e(f)}finally{u.f()}return o}},{key:"all",value:function(t){return i.allWithCallback(t)}},{key:"allSettled",value:function(t){return(this&&this.prototype instanceof i?this:i).allWithCallback(t,{thenCallback:function(t){return{status:"fulfilled",value:t}},errorCallback:function(t){return{status:"rejected",reason:t}}})}},{key:"allWithCallback",value:function(e,n){var r,o,i,a=this,c=new this(function(t,e){r=t,o=e}),u=2,s=0,f=[],l=t(e);try{var p=function(){var t=i.value;v(t)||(t=a.resolve(t));var e=s;try{t.then(function(t){f[e]=n?n.thenCallback(t):t,0===--u&&r(f)},function(t){n?(f[e]=n.errorCallback(t),0===--u&&r(f)):o(t)})}catch(c){o(c)}u++,s++};for(l.s();!(i=l.n()).done;)p()}catch(h){l.e(h)}finally{l.f()}return 0===(u-=2)&&r(f),c}}]),i}();A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;var M=e[f]=e.Promise,j=r.__symbol__("ZoneAwarePromise"),I=a(e,"Promise");I&&!I.configurable||(I&&delete I.writable,I&&delete I.value,I||(I={configurable:!0,enumerable:!0}),I.get=function(){return e[j]?e[j]:e[f]},I.set=function(t){t===A?e[j]=t:(e[f]=t,t.prototype[l]||D(t),i.setNativePromise(t))},c(e,"Promise",I)),e.Promise=A;var P,C=u("thenPatched");function D(t){var e=t.prototype,n=a(e,"then");if(!n||!1!==n.writable&&n.configurable){var r=e.then;e[l]=r,t.prototype.then=function(t,e){var n=this;return new A(function(t,e){r.call(n,t,e)}).then(t,e)},t[C]=!0}}if(i.patchThen=D,M){D(M);var N=e.fetch;"function"==typeof N&&(e[i.symbol("fetch")]=N,e.fetch=(P=N,function(){var t=P.apply(this,arguments);if(t instanceof A)return t;var e=t.constructor;return e[C]||D(e),t}))}return Promise[r.__symbol__("uncaughtPromiseErrors")]=s,A});var e=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=Object.getPrototypeOf,a=Object.create,c=Array.prototype.slice,u=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),f=Zone.__symbol__("");function l(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var h=Zone.__symbol__,v="undefined"!=typeof window,d=v?window:void 0,g=v&&d||"object"==typeof self&&self||global,y=[null];function m(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=l(t[n],e+"_"+n));return t}function b(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in g)&&void 0!==g.process&&"[object process]"==={}.toString.call(g.process),E=!w&&!k&&!(!v||!d.HTMLElement),x=void 0!==g.process&&"[object process]"==={}.toString.call(g.process)&&!k&&!(!v||!d.HTMLElement),S={},_=function(t){if(t=t||g.event){var e=S[t.type];e||(e=S[t.type]=h("ON_PROPERTY"+t.type));var n,r=this||t.target||g,o=r[e];if(E&&r===d&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function T(t,n,o){var i=e(t,n);if(!i&&o&&e(o,n)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=h("on"+n+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=n.substr(2),f=S[s];f||(f=S[s]=h("ON_PROPERTY"+s)),i.set=function(e){var n=this;n||t!==g||(n=g),n&&(n[f]&&n.removeEventListener(s,_),u&&u.apply(n,y),"function"==typeof e?(n[f]=e,n.addEventListener(s,_,!1)):n[f]=null)},i.get=function(){var e=this;if(e||t!==g||(e=g),!e)return null;var r=e[f];if(r)return r;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(n),o}return null},r(t,n,i),t[a]=!0}}}function O(t,e,n){if(e)for(var r=0;r<e.length;r++)T(t,"on"+e[r],n);else{var o=[];for(var i in t)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)T(t,o[a],n)}}var A=h("originalInstance");function M(t){var e=g[t];if(e){g[h(t)]=e,g[t]=function(){var n=m(arguments,t);switch(n.length){case 0:this[A]=new e;break;case 1:this[A]=new e(n[0]);break;case 2:this[A]=new e(n[0],n[1]);break;case 3:this[A]=new e(n[0],n[1],n[2]);break;case 4:this[A]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},P(g[t],e);var n,o=new e(function(){});for(n in o)"XMLHttpRequest"===t&&"responseBlob"===n||function(e){"function"==typeof o[e]?g[t].prototype[e]=function(){return this[A][e].apply(this[A],arguments)}:r(g[t].prototype,e,{set:function(n){"function"==typeof n?(this[A][e]=l(n,t+"."+e),P(this[A][e],n)):this[A][e]=n},get:function(){return this[A][e]}})}(n);for(n in e)"prototype"!==n&&e.hasOwnProperty(n)&&(g[t][n]=e[n])}}function j(t,n,r){for(var o=t;o&&!o.hasOwnProperty(n);)o=i(o);!o&&t[n]&&(o=t);var a=h(n),c=null;if(o&&!(c=o[a])&&(c=o[a]=o[n],b(o&&e(o,n)))){var u=r(c,a,n);o[n]=function(){return u(this,arguments)},P(o[n],c)}return c}function I(t,e,n){var r=null;function o(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=j(t,e,function(t){return function(e,r){var i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?p(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function P(t,e){t[h("OriginalDelegate")]=e}var C=!1,D=!1;function N(){try{var t=d.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function R(){if(C)return D;C=!0;try{var t=d.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(D=!0)}catch(e){}return D}Zone.__load_patch("toString",function(t){var e=Function.prototype.toString,n=h("OriginalDelegate"),r=h("Promise"),o=h("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var L=!1;if("undefined"!=typeof window)try{var Z=Object.defineProperty({},"passive",{get:function(){L=!0}});window.addEventListener("test",Z,Z),window.removeEventListener("test",Z,Z)}catch(ft){L=!1}var z={useG:!0},G={},F={},q=new RegExp("^"+f+"(\\w+)(true|false)$"),X=h("propagationStopped");function U(t,e,n){var r=n&&n.add||"addEventListener",o=n&&n.rm||"removeEventListener",a=n&&n.listeners||"eventListeners",c=n&&n.rmAll||"removeAllListeners",u=h(r),s="."+r+":",l=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var i=t.options;i&&"object"==typeof i&&i.once&&e[o].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i)}},p=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[G[e.type].false];if(r)if(1===r.length)l(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[X]);i++)l(o[i],n,e)}},v=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[G[e.type].true];if(r)if(1===r.length)l(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[X]);i++)l(o[i],n,e)}};function d(e,n){if(!e)return!1;var l=!0;n&&void 0!==n.useG&&(l=n.useG);var d=n&&n.vh,g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);var y=!1;n&&void 0!==n.rt&&(y=n.rt);for(var m=e;m&&!m.hasOwnProperty(r);)m=i(m);if(!m&&e[r]&&(m=e),!m)return!1;if(m[u])return!1;var b,k=n&&n.eventNameToString,E={},x=m[u]=m[r],S=m[h(o)]=m[o],_=m[h(a)]=m[a],T=m[h(c)]=m[c];function O(t){L||"boolean"==typeof E.options||null==E.options||(t.options=!!E.options.capture,E.options=t.options)}n&&n.prepend&&(b=m[h(n.prepend)]=m[n.prepend]);var A=l?function(t){if(!E.isExisting)return O(t),x.call(E.target,E.eventName,E.capture?v:p,E.options)}:function(t){return O(t),x.call(E.target,E.eventName,t.invoke,E.options)},M=l?function(t){if(!t.isRemoved){var e,n=G[t.eventName];n&&(e=n[t.capture?"true":"false"]);var r=e&&t.target[e];if(r)for(var o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[e]=null);break}}if(t.allRemoved)return S.call(t.target,t.eventName,t.capture?v:p,t.options)}:function(t){return S.call(t.target,t.eventName,t.invoke,t.options)},j=n&&n.diff?n.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},I=Zone[h("BLACK_LISTED_EVENTS")],C=function(e,r,o,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var u=this||t,s=arguments[0];n&&n.transferEventName&&(s=n.transferEventName(s));var p=arguments[1];if(!p)return e.apply(this,arguments);if(w&&"uncaughtException"===s)return e.apply(this,arguments);var h=!1;if("function"!=typeof p){if(!p.handleEvent)return e.apply(this,arguments);h=!0}if(!d||d(e,p,u,arguments)){var v=arguments[2];if(I)for(var y=0;y<I.length;y++)if(s===I[y])return e.apply(this,arguments);var m,b=!1;void 0===v?m=!1:!0===v?m=!0:!1===v?m=!1:(m=!!v&&!!v.capture,b=!!v&&!!v.once);var x,S=Zone.current,_=G[s];if(_)x=_[m?"true":"false"];else{var T=(k?k(s):s)+"false",O=(k?k(s):s)+"true",A=f+T,M=f+O;G[s]={},G[s].false=A,G[s].true=M,x=m?M:A}var P,C=u[x],D=!1;if(C){if(D=!0,g)for(var N=0;N<C.length;N++)if(j(C[N],p))return}else C=u[x]=[];var R=u.constructor.name,Z=F[R];Z&&(P=Z[s]),P||(P=R+r+(k?k(s):s)),E.options=v,b&&(E.options.once=!1),E.target=u,E.capture=m,E.eventName=s,E.isExisting=D;var q=l?z:void 0;q&&(q.taskData=E);var X=S.scheduleEventTask(P,p,q,o,i);return E.target=null,q&&(q.taskData=null),b&&(v.once=!0),(L||"boolean"!=typeof X.options)&&(X.options=v),X.target=u,X.capture=m,X.eventName=s,h&&(X.originalDelegate=p),c?C.unshift(X):C.push(X),a?u:void 0}}};return m[r]=C(x,s,A,M,y),b&&(m.prependListener=C(b,".prependListener:",function(t){return b.call(E.target,E.eventName,t.invoke,E.options)},M,y,!0)),m[o]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));var o,i=arguments[2];o=void 0!==i&&(!0===i||!1!==i&&!!i&&!!i.capture);var a=arguments[1];if(!a)return S.apply(this,arguments);if(!d||d(S,a,e,arguments)){var c,u=G[r];u&&(c=u[o?"true":"false"]);var s=c&&e[c];if(s)for(var l=0;l<s.length;l++){var p=s[l];if(j(p,a))return s.splice(l,1),p.isRemoved=!0,0===s.length&&(p.allRemoved=!0,e[c]=null,"string"==typeof r)&&(e[f+"ON_PROPERTY"+r]=null),p.zone.cancelTask(p),y?e:void 0}return S.apply(this,arguments)}},m[a]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));for(var o=[],i=Y(e,k?k(r):r),a=0;a<i.length;a++){var c=i[a];o.push(c.originalDelegate?c.originalDelegate:c.callback)}return o},m[c]=function(){var e=this||t,r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));var i=G[r];if(i){var a=e[i.false],u=e[i.true];if(a)for(var s=a.slice(),f=0;f<s.length;f++){var l=s[f];this[o].call(this,r,l.originalDelegate?l.originalDelegate:l.callback,l.options)}if(u)for(var p=u.slice(),h=0;h<p.length;h++){var v=p[h];this[o].call(this,r,v.originalDelegate?v.originalDelegate:v.callback,v.options)}}}else{for(var d=Object.keys(e),g=0;g<d.length;g++){var m=q.exec(d[g]),b=m&&m[1];b&&"removeListener"!==b&&this[c].call(this,b)}this[c].call(this,"removeListener")}if(y)return this},P(m[r],x),P(m[o],S),T&&P(m[c],T),_&&P(m[a],_),!0}for(var g=[],y=0;y<e.length;y++)g[y]=d(e[y],n);return g}function Y(t,e){var n=[];for(var r in t){var o=q.exec(r),i=o&&o[1];if(i&&(!e||i===e)){var a=t[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}function H(t,e){var n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",function(t){return function(e,n){e[X]=!0,t&&t.apply(e,n)}})}function V(t,e,n,r,o){var i=Zone.__symbol__(r);if(!e[i]){var a=e[i]=e[r];e[r]=function(i,c,u){return c&&c.prototype&&o.forEach(function(e){var o="".concat(n,".").concat(r,"::")+e,i=c.prototype;if(i.hasOwnProperty(e)){var a=t.ObjectGetOwnPropertyDescriptor(i,e);a&&a.value?(a.value=t.wrapWithCurrentZone(a.value,o),t._redefineProperty(c.prototype,e,a)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}),a.call(e,i,c,u)},t.attachOriginToPatched(e[r],a)}}var W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],B=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Q=["load"],J=["blur","error","focus","load","resize","scroll","messageerror"],K=["bounce","finish","start"],$=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],tt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],nt=["error","message"],rt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(t,e,n){if(!n||0===n.length)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter(function(t){return-1===o.indexOf(t)})}function it(t,e,n,r){t&&O(t,ot(t,e,n),r)}function at(t,e){if((!w||x)&&!Zone[t.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,r=e.__Zone_ignore_on_properties;if(E){var o=window,a=N?[{target:o,ignoreProperties:["error"]}]:[];it(o,rt.concat(["messageerror"]),r?r.concat(a):r,i(o)),it(Document.prototype,rt,r),void 0!==o.SVGElement&&it(o.SVGElement.prototype,rt,r),it(Element.prototype,rt,r),it(HTMLElement.prototype,rt,r),it(HTMLMediaElement.prototype,B,r),it(HTMLFrameSetElement.prototype,W.concat(J),r),it(HTMLBodyElement.prototype,W.concat(J),r),it(HTMLFrameElement.prototype,Q,r),it(HTMLIFrameElement.prototype,Q,r);var c=o.HTMLMarqueeElement;c&&it(c.prototype,K,r);var u=o.Worker;u&&it(u.prototype,nt,r)}var s=e.XMLHttpRequest;s&&it(s.prototype,$,r);var f=e.XMLHttpRequestEventTarget;f&&it(f&&f.prototype,$,r),"undefined"!=typeof IDBIndex&&(it(IDBIndex.prototype,tt,r),it(IDBRequest.prototype,tt,r),it(IDBOpenDBRequest.prototype,tt,r),it(IDBDatabase.prototype,tt,r),it(IDBTransaction.prototype,tt,r),it(IDBCursor.prototype,tt,r)),n&&it(WebSocket.prototype,et,r)}}Zone.__load_patch("util",function(t,n,o){o.patchOnProperties=O,o.patchMethod=j,o.bindArguments=m,o.patchMacroTask=I;var i=n.__symbol__("BLACK_LISTED_EVENTS"),u=n.__symbol__("UNPATCHED_EVENTS");t[u]&&(t[i]=t[u]),t[i]&&(n[i]=n[u]=t[i]),o.patchEventPrototype=H,o.patchEventTarget=U,o.isIEOrEdge=R,o.ObjectDefineProperty=r,o.ObjectGetOwnPropertyDescriptor=e,o.ObjectCreate=a,o.ArraySlice=c,o.patchClass=M,o.wrapWithCurrentZone=l,o.filterProperties=ot,o.attachOriginToPatched=P,o._redefineProperty=Object.defineProperty,o.patchCallbacks=V,o.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:G,eventNames:rt,isBrowser:E,isMix:x,isNode:w,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var ct=h("zoneTask");function ut(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[ct]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=j(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s=p(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!s)return s;var f=s.data.handleId;return"number"==typeof f?a[f]=s:f&&(f[ct]=s),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(s.ref=f.ref.bind(f),s.unref=f.unref.bind(f)),"number"==typeof f||f?f:s}return n.apply(t,i)}}),i=j(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[ct])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[ct]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function st(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var s=r[u],f=c+(s+a),l=c+(s+i);o[s]={},o[s][a]=f,o[s][i]=l}var p=t.EventTarget;return p&&p.prototype?(e.patchEventTarget(t,[p&&p.prototype]),!0):void 0}}Zone.__load_patch("legacy",function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("timers",function(t){ut(t,"set","clear","Timeout"),ut(t,"set","clear","Interval"),ut(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){ut(t,"request","cancel","AnimationFrame"),ut(t,"mozRequest","mozCancel","AnimationFrame"),ut(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)j(t,n[r],function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}})}),Zone.__load_patch("EventTarget",function(t,e,n){(function(t,e){e.patchEventPrototype(t,e)})(t,n),st(t,n);var r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype]),M("MutationObserver"),M("WebKitMutationObserver"),M("IntersectionObserver"),M("FileReader")}),Zone.__load_patch("on_property",function(t,e,n){at(n,t)}),Zone.__load_patch("customElements",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",function(t,e){!function(t){var f=t.XMLHttpRequest;if(f){var l=f.prototype,v=l[u],d=l[s];if(!v){var g=t.XMLHttpRequestEventTarget;if(g){var y=g.prototype;v=y[u],d=y[s]}}var m=j(l,"open",function(){return function(t,e){return t[r]=0==e[2],t[a]=e[1],m.apply(t,e)}}),b=h("fetchTaskAborting"),k=h("fetchTaskScheduling"),w=j(l,"send",function(){return function(t,n){if(!0===e.current[k])return w.apply(t,n);if(t[r])return w.apply(t,n);var o={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",S,o,x,_);t&&!0===t[c]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}}),E=j(l,"abort",function(){return function(t,r){var o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[b])return E.apply(t,r)}})}function x(t){var r=t.data,a=r.target;a[i]=!1,a[c]=!1;var f=a[o];v||(v=a[u],d=a[s]),f&&d.call(a,"readystatechange",f);var l=a[o]=function(){if(a.readyState===a.DONE)if(!r.aborted&&a[i]&&"scheduled"===t.state){var n=a[e.__symbol__("loadfalse")];if(n&&n.length>0){var o=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===t&&n.splice(i,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==a[i]||(a[c]=!0)};return v.call(a,"readystatechange",l),a[n]||(a[n]=t),w.apply(a,r.args),a[i]=!0,t}function S(){}function _(t){var e=t.data;return e.aborted=!0,E.apply(e.target,e.args)}}(t);var n=h("xhrTask"),r=h("xhrSync"),o=h("xhrListener"),i=h("xhrScheduled"),a=h("xhrURL"),c=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!b(e(t,i)))return"continue";t[i]=function(t){var e=function(){return t.apply(this,m(arguments,r+"."+i))};return P(e,t),e}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(t,e){function n(e){return function(n){Y(t,e).forEach(function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}t.PromiseRejectionEvent&&(e[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[h("rejectionHandledHandler")]=n("rejectionhandled"))})})?a.call(r,i,r,e):a)||(e.exports=c)},pWza:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("x0kV"),a=n("JkSk").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},pd8B:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},pn4C:function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},"pz+c":function(t,e){t.exports={}},qaQR:function(t,e,n){n("D+RQ"),n("ZBUp"),n("s5r0"),n("COcp"),n("+IJR"),n("kpca"),n("yI8t"),n("ow8b"),n("5eAq"),n("5zDw"),n("8xKV"),n("ane6");var r=n("E7aN");t.exports=r.Number},"qc/G":function(t,e,n){"use strict";var r=n("rG8t"),o=n("QcXc").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},qjkP:function(t,e,n){"use strict";var r,o,i=n("x0kV"),a=n("JkSk"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(o=/b*/g,c.call(r=/a/,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,n,r,o,a=this,s=l&&a.sticky,h=i.call(a),v=a.source,d=0,g=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=s},qpIG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("small")},{small:function(){return o(this,"small","","")}})},qx7X:function(t,e,n){var r=n("ocAm"),o=n("6XUM"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"r8F+":function(t,e,n){var r=n("wA6s"),o=n("7Oj1"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},rCRE:function(t,e,n){"use strict";var r=n("EMtK"),o=n("vDBE"),i=n("xpLY"),a=n("6CJb"),c=n("w2hq"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},rG8t:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},rH3X:function(t,e,n){"use strict";var r=n("EMtK"),o=n("A1Hp"),i=n("pz+c"),a=n("XH/I"),c=n("WijE"),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},riHj:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("rH3X"),a=n("aJMj"),c=n("m41k"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},rwGd:function(t,e,n){var r=n("rG8t"),o=n("xFZC");t.exports=function(t){return r(function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t})}},s1IR:function(t,e,n){"use strict";var r=n("wA6s"),o=n("jnLS").trim;r({target:"String",proto:!0,forced:n("rwGd")("trim")},{trim:function(){return o(this)}})},s5r0:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isFinite:n("Yg8j")})},s8qp:function(t,e,n){var r=n("1p6F");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},sQrk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("7Oj1"),i=n("vDBE"),a=n("xpLY"),c=n("VCQ8"),u=n("JafA"),s=n("DYg9"),f=n("lRyB"),l=n("w2hq"),p=f("splice"),h=l("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,d=Math.min;r({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var n,r,f,l,p,h,g=c(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=d(v(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=u(g,r),l=0;l<r;l++)(p=m+l)in g&&s(f,l,g[p]);if(f.length=r,n<r){for(l=m;l<y-r;l++)h=l+n,(p=l+r)in g?g[h]=g[p]:delete g[h];for(l=y;l>y-r+n;l--)delete g[l-1]}else if(n>r)for(l=y-r;l>m;l--)h=l+n-1,(p=l+r-1)in g?g[h]=g[p]:delete g[h];for(l=0;l<n;l++)g[l+m]=arguments[l+2];return g.length=y-r+n,f}})},shqn:function(t,e,n){var r=n("/Ybd").f,o=n("OG5q"),i=n("m41k")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},tNyX:function(t,e,n){"use strict";var r=n("wA6s"),o=n("G7bs").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},tUdv:function(t,e,n){var r=n("rG8t"),o=n("ezU2"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},tXU5:function(t,e,n){n("IXlp"),n("3caY"),n("8iOR"),n("D94X"),n("M1AK"),n("S58s"),n("JhPs"),n("Pf6x"),n("CwIO"),n("QFgE"),n("WEpO"),n("Djps"),n("6oxo"),n("BnCb"),n("n1Kw"),n("aTTg"),n("OVXS"),n("SdaC");var r=n("E7aN");t.exports=r.Math},tcQx:function(t,e,n){var r=n("Neub");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},tkWj:function(t,e,n){"use strict";var r=n("G7bs").charAt,o=n("XH/I"),i=n("WijE"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},tuHh:function(t,e,n){var r=n("T/Kj");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},u5Nv:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{is:n("EQZg")})},uKyN:function(t,e,n){n("94Vg")("species")},uSMZ:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},unYP:function(t,e,n){var r=n("ezU2"),o=n("qjkP");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},uoca:function(t,e,n){var r=n("hmpk"),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,""")+'"'),c+">"+a+"</"+e+">"}},v5if:function(t,e,n){"use strict";var r=n("wA6s"),o=n("nP0K");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},vDBE:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},vRoz:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},vVmn:function(t,e,n){var r=n("OG5q"),o=n("EMtK"),i=n("OXtp").indexOf,a=n("yQMY");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},vZCr:function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},vipS:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},voQr:function(t,e,n){"use strict";n.r(e),n("LRWt"),n("mA9f"),n("MjoC"),n("3vMK"),n("RCvO"),n("cJLW"),n("EntM"),n("znfk"),n("A7hN"),n("wqfI"),n("g69M"),n("IzYO"),n("+5Eg"),n("WLa2"),n("KMug"),n("QVG+"),n("wVAr"),n("nuqZ"),n("u5Nv"),n("WnNu"),n("NX+v"),n("F4rZ"),n("wZP2"),n("m2tE"),n("BcWx"),n("ntzx"),n("6q6p"),n("sQrk"),n("6fhQ"),n("v5if"),n("FU1i"),n("gke3"),n("XEin"),n("FeI/"),n("Q4jj"),n("IQbc"),n("6lQQ"),n("Xm88"),n("kP9Y"),n("DscF"),n("6CEi"),n("Jt/z"),n("rH3X"),n("r8F+"),n("IPby"),n("s1IR"),n("tkWj"),n("tNyX"),n("vipS"),n("L4l2"),n("BaTD"),n("oatR"),n("QUoj"),n("gXAK"),n("4axp"),n("Yu3F"),n("J4zY"),n("WKvG"),n("W0ke"),n("zTQA"),n("WEX0"),n("qpIG"),n("VmbE"),n("4Kt7"),n("dI74"),n("K1Z7"),n("S3Yw"),n("fMvl"),n("PmIt"),n("PbJR"),n("Ay+M"),n("qaQR"),n("tXU5"),n("lPAZ"),n("T4tC"),n("Rj+b"),n("pWza"),n("vRoz"),n("hdsk"),n("ViWx"),n("kIOX"),n("riHj"),n("bHwr"),n("8CeQ"),n("ls82")},vyNX:function(t,e,n){var r=n("Neub"),o=n("VCQ8"),i=n("tUdv"),a=n("xpLY"),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},w2hq:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("OG5q"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o(function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)})}},w4Hq:function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY");t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},wA6s:function(t,e,n){var r=n("ocAm"),o=n("7gGY").f,i=n("aJMj"),a=n("2MGJ"),c=n("Fqhe"),u=n("NIlc"),s=n("MkZA");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},wIVT:function(t,e,n){var r=n("OG5q"),o=n("VCQ8"),i=n("/AsP"),a=n("cwa4"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},wVAr:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},wZP2:function(t,e,n){n("wA6s")({target:"Array",stat:!0},{isArray:n("erNl")})},wdMf:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("M7Xk"),u=n("Rn6E"),s=n("SM6+"),f=n("6XUM"),l=n("rG8t"),p=n("EIBq"),h=n("shqn"),v=n("K6ZX");t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",m=o[t],b=m&&m.prototype,k=m,w={},E=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||b.forEach&&!l(function(){(new m).entries().next()}))))k=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var x=new k,S=x[y](g?{}:-0,1)!=x,_=l(function(){x.has(1)}),T=p(function(t){new m(t)}),O=!g&&l(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});T||((k=e(function(e,n){s(e,k,t);var r=v(new m,e,k);return null!=n&&u(n,r[y],r,d),r})).prototype=b,b.constructor=k),(_||O)&&(E("delete"),E("has"),d&&E("get")),(O||S)&&E(y),g&&b.clear&&delete b.clear}return w[t]=k,r({global:!0,forced:k!=m},w),h(k,t),g||n.setStrong(k,t,d),k}},wqfI:function(t,e,n){var r=n("wA6s"),o=n("VCQ8"),i=n("ZRqE");r({target:"Object",stat:!0,forced:n("rG8t")(function(){i(1)})},{keys:function(t){return i(o(t))}})},x0kV:function(t,e,n){"use strict";var r=n("F26l");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},xFZC:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},xpLY:function(t,e,n){var r=n("vDBE"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},yI8t:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},yIiL:function(t,e,n){var r=n("g9hI"),o=n("KBkW");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},yQMY:function(t,e){t.exports={}},yaK9:function(t,e,n){var r=n("ocAm"),o=n("6urC"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},zTQA:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("italics")},{italics:function(){return o(this,"i","","")}})},znfk:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("EMtK"),a=n("7gGY").f,c=n("T69T"),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})}},[[1,1]]])}(); \ No newline at end of file diff --git a/dist/styles.8b6195db994dd1043497.css b/dist/styles.8b6195db994dd1043497.css deleted file mode 100644 index 5d3c29ff04..0000000000 --- a/dist/styles.8b6195db994dd1043497.css +++ /dev/null @@ -1,5 +0,0 @@ -:root{--ion-color-primary:#135f7f;--ion-color-primary-rgb:19,95,127;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#115470;--ion-color-primary-tint:#2b6f8c;--ion-color-secondary:#f99830;--ion-color-secondary-rgb:249,152,48;--ion-color-secondary-contrast:#000;--ion-color-secondary-contrast-rgb:0,0,0;--ion-color-secondary-shade:#db862a;--ion-color-secondary-tint:#faa245;--ion-color-tertiary:#5260ff;--ion-color-tertiary-rgb:82,96,255;--ion-color-tertiary-contrast:#fff;--ion-color-tertiary-contrast-rgb:255,255,255;--ion-color-tertiary-shade:#4854e0;--ion-color-tertiary-tint:#6370ff;--ion-color-success:#2dd36f;--ion-color-success-rgb:45,211,111;--ion-color-success-contrast:#fff;--ion-color-success-contrast-rgb:255,255,255;--ion-color-success-shade:#28ba62;--ion-color-success-tint:#42d77d;--ion-color-warning:#ffc409;--ion-color-warning-rgb:255,196,9;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0ac08;--ion-color-warning-tint:#ffca22;--ion-color-danger:#eb445a;--ion-color-danger-rgb:235,68,90;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#cf3c4f;--ion-color-danger-tint:#ed576b;--ion-color-dark:#222428;--ion-color-dark-rgb:34,36,40;--ion-color-dark-contrast:#fff;--ion-color-dark-contrast-rgb:255,255,255;--ion-color-dark-shade:#1e2023;--ion-color-dark-tint:#383a3e;--ion-color-medium:#92949c;--ion-color-medium-rgb:146,148,156;--ion-color-medium-contrast:#fff;--ion-color-medium-contrast-rgb:255,255,255;--ion-color-medium-shade:#808289;--ion-color-medium-tint:#9d9fa6;--ion-color-light:#f4f5f8;--ion-color-light-rgb:244,245,248;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0,0,0;--ion-color-light-shade:#d7d8da;--ion-color-light-tint:#f5f6f9}@media (prefers-color-scheme:dark){body{--ion-color-primary:#428cff;--ion-color-primary-rgb:66,140,255;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#3a7be0;--ion-color-primary-tint:#5598ff;--ion-color-secondary:#50c8ff;--ion-color-secondary-rgb:80,200,255;--ion-color-secondary-contrast:#fff;--ion-color-secondary-contrast-rgb:255,255,255;--ion-color-secondary-shade:#46b0e0;--ion-color-secondary-tint:#62ceff;--ion-color-tertiary:#6a64ff;--ion-color-tertiary-rgb:106,100,255;--ion-color-tertiary-contrast:#fff;--ion-color-tertiary-contrast-rgb:255,255,255;--ion-color-tertiary-shade:#5d58e0;--ion-color-tertiary-tint:#7974ff;--ion-color-success:#2fdf75;--ion-color-success-rgb:47,223,117;--ion-color-success-contrast:#000;--ion-color-success-contrast-rgb:0,0,0;--ion-color-success-shade:#29c467;--ion-color-success-tint:#44e283;--ion-color-warning:#ffd534;--ion-color-warning-rgb:255,213,52;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0bb2e;--ion-color-warning-tint:#ffd948;--ion-color-danger:#ff4961;--ion-color-danger-rgb:255,73,97;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#e04055;--ion-color-danger-tint:#ff5b71;--ion-color-dark:#f4f5f8;--ion-color-dark-rgb:244,245,248;--ion-color-dark-contrast:#000;--ion-color-dark-contrast-rgb:0,0,0;--ion-color-dark-shade:#d7d8da;--ion-color-dark-tint:#f5f6f9;--ion-color-medium:#989aa2;--ion-color-medium-rgb:152,154,162;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0,0,0;--ion-color-medium-shade:#86888f;--ion-color-medium-tint:#a2a4ab;--ion-color-light:#222428;--ion-color-light-rgb:34,36,40;--ion-color-light-contrast:#fff;--ion-color-light-contrast-rgb:255,255,255;--ion-color-light-shade:#1e2023;--ion-color-light-tint:#383a3e}.ios body{--ion-background-color:#000;--ion-background-color-rgb:0,0,0;--ion-text-color:#fff;--ion-text-color-rgb:255,255,255;--ion-color-step-50:#0d0d0d;--ion-color-step-100:#1a1a1a;--ion-color-step-150:#262626;--ion-color-step-200:#333;--ion-color-step-250:#404040;--ion-color-step-300:#4d4d4d;--ion-color-step-350:#595959;--ion-color-step-400:#666;--ion-color-step-450:#737373;--ion-color-step-500:grey;--ion-color-step-550:#8c8c8c;--ion-color-step-600:#999;--ion-color-step-650:#a6a6a6;--ion-color-step-700:#b3b3b3;--ion-color-step-750:#bfbfbf;--ion-color-step-800:#ccc;--ion-color-step-850:#d9d9d9;--ion-color-step-900:#e6e6e6;--ion-color-step-950:#f2f2f2;--ion-toolbar-background:#0d0d0d;--ion-item-background:#000;--ion-card-background:#1c1c1d}.md body{--ion-background-color:#121212;--ion-background-color-rgb:18,18,18;--ion-text-color:#fff;--ion-text-color-rgb:255,255,255;--ion-border-color:#222;--ion-color-step-50:#1e1e1e;--ion-color-step-100:#2a2a2a;--ion-color-step-150:#363636;--ion-color-step-200:#414141;--ion-color-step-250:#4d4d4d;--ion-color-step-300:#595959;--ion-color-step-350:#656565;--ion-color-step-400:#717171;--ion-color-step-450:#7d7d7d;--ion-color-step-500:#898989;--ion-color-step-550:#949494;--ion-color-step-600:#a0a0a0;--ion-color-step-650:#acacac;--ion-color-step-700:#b8b8b8;--ion-color-step-750:#c4c4c4;--ion-color-step-800:#d0d0d0;--ion-color-step-850:#dbdbdb;--ion-color-step-900:#e7e7e7;--ion-color-step-950:#f3f3f3;--ion-item-background:#1e1e1e;--ion-toolbar-background:#1f1f1f;--ion-tab-bar-background:#1f1f1f;--ion-card-background:#1e1e1e}}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300.e326e5669dca342260e5.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_cyr.db33583276d65655c5c0.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_gr_ext.a7a18ee96016ccc54a3e.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_gr.a78490a0ec4c4c7bf6f1.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_viet.54344cce8ff5377bb7f6.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_lat_ext.08f685c395f9d22d5c8b.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_lat.37a7069dc30fc663c878.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_cyr_ext.dd55ea0a2e90d5d86e15.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_cyr.3605d18d8a4ce5bd39c3.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_gr_ext.bc7ace6e50c7d9d4d959.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_gr.352cc77aaed5208ce13c.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_viet.52cebac009baf5592e7d.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_lat_ext.dcc07bcfcd475f34f20b.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_lat.176f8f5bd5f02b3abfcf.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_cyr_ext.1a2a1ab387f44ac8d6d4.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_cyr.5abcda5f32f4761bbaf6.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_gr_ext.06bd82abe5add1480692.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_gr.2bb92d7a94ebcc5e3ab2.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_viet.a46e5fcd13ddb57583a0.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_lat_ext.74998c7de97e48984cc0.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_lat.f5b74d7ffcdf85b9dd60.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Roboto",sans-serif}html.md{--ion-default-font:"Roboto","Helvetica Neue",sans-serif}html{--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal.modal-card .ion-page>ion-header>ion-toolbar:first-of-type{padding-top:0}html.ios ion-modal .ion-page{border-radius:inherit}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,[hidden],ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}@supports (padding-top:constant(safe-area-inset-top)){html{--ion-safe-area-top:constant(safe-area-inset-top);--ion-safe-area-bottom:constant(safe-area-inset-bottom);--ion-safe-area-left:constant(safe-area-inset-left);--ion-safe-area-right:constant(safe-area-inset-right)}}@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{box-shadow:4px 0 16px rgba(0,0,0,.18)}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-moz-placeholder{padding-left:2px}textarea:-ms-input-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;margin:0;padding:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}a{background-color:transparent;color:var(--ion-color-primary,#3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:26px}h2{margin-top:18px;font-size:24px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}small,sub,sup{font-size:75%}sub,sup{position:relative;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-hide,.ion-hide-down,.ion-hide-up{display:none!important}@media (min-width:576px){.ion-hide-sm-up{display:none!important}}@media (max-width:575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width:768px){.ion-hide-md-up{display:none!important}}@media (max-width:767.98px){.ion-hide-md-down{display:none!important}}@media (min-width:992px){.ion-hide-lg-up{display:none!important}}@media (max-width:991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width:1200px){.ion-hide-xl-up{display:none!important}}@media (max-width:1199.98px){.ion-hide-xl-down{display:none!important}}.ion-no-padding{--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;padding:0}.ion-padding{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);--padding-top:var(--ion-padding,16px);--padding-bottom:var(--ion-padding,16px);padding:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-top{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-start{--padding-start:var(--ion-padding,16px);padding-left:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-start{padding-left:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px)}}.ion-padding-end{--padding-end:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-end{padding-right:unset;-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-bottom,.ion-padding-vertical{--padding-bottom:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}.ion-padding-vertical{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-horizontal{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-horizontal{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-no-margin{--margin-start:0;--margin-end:0;--margin-top:0;--margin-bottom:0;margin:0}.ion-margin{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);--margin-top:var(--ion-margin,16px);--margin-bottom:var(--ion-margin,16px);margin:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-top{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-start{--margin-start:var(--ion-margin,16px);margin-left:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-start{margin-left:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px)}}.ion-margin-end{--margin-end:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-end{margin-right:unset;-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-bottom,.ion-margin-vertical{--margin-bottom:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}.ion-margin-vertical{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-horizontal{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-horizontal{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}.ion-float-end,:host-context([dir=rtl]) .ion-float-start,[dir=rtl] .ion-float-start{float:right!important}:host-context([dir=rtl]) .ion-float-end,[dir=rtl] .ion-float-end{float:left!important}@media (min-width:576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}.ion-float-sm-end,:host-context([dir=rtl]) .ion-float-sm-start,[dir=rtl] .ion-float-sm-start{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end,[dir=rtl] .ion-float-sm-end{float:left!important}}@media (min-width:768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}.ion-float-md-end,:host-context([dir=rtl]) .ion-float-md-start,[dir=rtl] .ion-float-md-start{float:right!important}:host-context([dir=rtl]) .ion-float-md-end,[dir=rtl] .ion-float-md-end{float:left!important}}@media (min-width:992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}.ion-float-lg-end,:host-context([dir=rtl]) .ion-float-lg-start,[dir=rtl] .ion-float-lg-start{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end,[dir=rtl] .ion-float-lg-end{float:left!important}}@media (min-width:1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}.ion-float-xl-end,:host-context([dir=rtl]) .ion-float-xl-start,[dir=rtl] .ion-float-xl-start{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end,[dir=rtl] .ion-float-xl-end{float:left!important}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width:576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width:768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width:992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width:1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width:576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width:768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width:992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width:1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}.primary{color:var(--ion-color-primary)}*{user-select:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none}input,textarea{user-select:initial;-webkit-user-select:initial;-khtml-user-select:initial;-moz-user-select:initial;-ms-user-select:initial}input:-moz-read-only{cursor:default}input:read-only{cursor:default}.notif-error{--color:var(--ion-color-danger);--border-color:var(--ion-color-danger)}.notif-error,.notif-success{z-index:60003;--background:#fff;--border-width:1px;--border-style:solid;text-align:center;font-weight:700}.notif-success{--color:var(--ion-color-success);--border-color:var(--ion-color-success)}.fullscreen{--width:100%;--height:100%}ion-icon{pointer-events:none}.info{border-left:3px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.2);border-radius:0;--color:var(--ion-color-primary)}.info-danger{border-left:3px solid var(--ion-color-danger);--background:rgba(var(--ion-color-danger-rgb),0.2);border-radius:0;--color:var(--ion-color-danger)}.alert-wrapper .alert-message{text-align:left;margin-bottom:0;padding-bottom:0}.alert-wrapper .alert-title{color:var(--ion-color-primary-tint)}.alert-wrapper .alert-button{margin-top:5px;color:var(--ion-color-primary);display:flex;width:100%;border:1px solid;border-radius:64px}.alert-wrapper .alert-button-role-cancel{color:var(--ion-color-medium)}.alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-danger .alert-wrapper{border:1px solid var(--ion-color-danger)}.custom-alert-danger .alert-wrapper .alert-title{color:var(--ion-color-danger-tint)}.custom-alert-danger .alert-wrapper .alert-button{color:var(--ion-color-danger);display:flex;width:100%;border:1px solid;border-radius:64px}.custom-alert-danger .alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-success .alert-wrapper{border:1px solid var(--ion-color-success)}.custom-alert-success .alert-wrapper .alert-title{color:var(--ion-color-success-tint)}.custom-alert-success .alert-wrapper .alert-button{color:var(--ion-color-success);display:flex;width:100%;border:1px solid;border-radius:64px}.custom-alert-success .alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-fullscreen .modal-wrapper{width:100%;height:100%}.footer-buttons{padding:10px;display:flex;justify-content:center}.footer-buttons ion-button{margin:auto 10px;width:150px}.footer-buttons ion-label{font-size:13px}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:6px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;margin:0 0 56px;letter-spacing:-.05em}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px;letter-spacing:-.02em}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px;letter-spacing:-.005em}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.33333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.33334%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.66667em;top:calc(100% - 1.79167em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.33333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.33334%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.33335%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.54167em;top:calc(100% - 1.66667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.33334%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.33334%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list .mat-list-item,.mat-nav-list .mat-list-item,.mat-selection-list .mat-list-item{font-size:16px}.mat-list .mat-list-item .mat-line,.mat-nav-list .mat-list-item .mat-line,.mat-selection-list .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list .mat-list-item .mat-line:nth-child(n+2),.mat-selection-list .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list .mat-list-option,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-option{font-size:16px}.mat-list .mat-list-option .mat-line,.mat-nav-list .mat-list-option .mat-line,.mat-selection-list .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-option .mat-line:nth-child(n+2),.mat-nav-list .mat-list-option .mat-line:nth-child(n+2),.mat-selection-list .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-item{font-size:12px}.mat-list[dense] .mat-list-item .mat-line,.mat-nav-list[dense] .mat-list-item .mat-line,.mat-selection-list[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-selection-list[dense] .mat-list-option{font-size:12px}.mat-list[dense] .mat-list-option .mat-line,.mat-nav-list[dense] .mat-list-option .mat-line,.mat-selection-list[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-option .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-option .mat-line:nth-child(n+2),.mat-selection-list[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}@media screen and (-ms-high-contrast:active){.mat-ripple-element{display:none}}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#135f7f}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#2ecc71}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#e74c3c}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#2ecc71}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#135f7f}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#e74c3c}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge-content{color:#fff;background:#135f7f}.mat-badge-accent .mat-badge-content{background:#2ecc71;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#e74c3c}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}@media screen and (-ms-high-contrast:active){.mat-badge-small .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}@media screen and (-ms-high-contrast:active){.mat-badge-medium .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}@media screen and (-ms-high-contrast:active){.mat-badge-large .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#135f7f}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#2ecc71}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#e74c3c}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#135f7f}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#2ecc71}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#e74c3c}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not([disabled]){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#135f7f}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#2ecc71}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#e74c3c}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}@media screen and (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path{stroke:#000!important}}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#135f7f}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#2ecc71}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#e74c3c}.mat-checkbox-disabled.mat-checkbox-checked:not(.mat-checkbox-indeterminate) .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#b0b0b0}@media screen and (-ms-high-contrast:active){.mat-checkbox-disabled{opacity:.5}}@media screen and (-ms-high-contrast:active){.mat-checkbox-background{background:none}}.mat-checkbox:not(.mat-checkbox-disabled).mat-primary .mat-checkbox-ripple .mat-ripple-element{background-color:#135f7f}.mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:#2ecc71}.mat-checkbox:not(.mat-checkbox-disabled).mat-warn .mat-checkbox-ripple .mat-ripple-element{background-color:#e74c3c}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#135f7f;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#e74c3c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#2ecc71;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.mat-calendar-body-selected{background-color:#135f7f;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(19,95,127,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#2ecc71;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(46,204,113,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#e74c3c;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(231,76,60,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#135f7f}.mat-datepicker-toggle-active.mat-accent{color:#2ecc71}.mat-datepicker-toggle-active.mat-warn{color:#e74c3c}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#135f7f}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#2ecc71}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#e74c3c}.mat-focused .mat-form-field-required-marker{color:#2ecc71}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#135f7f}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#2ecc71}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#e74c3c}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#e74c3c}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#e74c3c}.mat-error{color:#e74c3c}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#135f7f}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#2ecc71}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#e74c3c}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#135f7f}.mat-icon.mat-accent{color:#2ecc71}.mat-icon.mat-warn{color:#e74c3c}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#135f7f}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-accent .mat-input-element{caret-color:#2ecc71}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#e74c3c}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#e74c3c}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{color:rgba(0,0,0,.87)}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon:not([color]){color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-progress-bar-background{fill:#1a80ab}.mat-progress-bar-buffer{background-color:#1a80ab}.mat-progress-bar-fill:after{background-color:#135f7f}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#54d98c}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#54d98c}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#2ecc71}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ed7669}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ed7669}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#e74c3c}.mat-progress-spinner circle,.mat-spinner circle{stroke:#135f7f}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#2ecc71}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#e74c3c}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#135f7f}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#135f7f}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#2ecc71}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#2ecc71}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#e74c3c}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#e74c3c}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#135f7f}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#2ecc71}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#e74c3c}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#2ecc71}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(46,204,113,.54)}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#2ecc71}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#135f7f}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(19,95,127,.54)}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#135f7f}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#e74c3c}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(231,76,60,.54)}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#e74c3c}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-disabled .mat-slide-toggle-thumb{background-color:#bdbdbd}.mat-disabled .mat-slide-toggle-bar{background-color:rgba(0,0,0,.1)}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#135f7f}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#2ecc71}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#e74c3c}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(46,204,113,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#135f7f;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#e74c3c}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#e74c3c}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#135f7f}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(84,217,140,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#2ecc71}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(237,118,105,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#e74c3c}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#135f7f}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(84,217,140,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#2ecc71}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(237,118,105,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#e74c3c}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#135f7f;color:#fff}.mat-toolbar.mat-accent{background:#2ecc71;color:#fff}.mat-toolbar.mat-warn{background:#e74c3c;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#2ecc71}.alert-message{margin:20px 0;padding:10px;border-left:3px solid #eee;font-size:14px;text-align:justify}.alert-message p{padding:0}.alert-message-success{background-color:#f4fdf0;border-color:#2ecc71;color:#25a25a}.alert-message-danger{background-color:rgba(142,62,82,.10196078431372549);border-color:#e74c3c;color:#d62c1a}.alert-message-info{background-color:#f4f8fa;border-color:#135f7f;color:#0c3e53}.alert-message-default{background-color:#eee;border-color:#b4b4b4}.default{color:#4f4f4f}.red{color:#e74c3c}.green{color:#2ecc71}body,html{overflow:hidden;height:100%;width:100vw;position:fixed;padding:0;margin:0}.mat-bottom-sheet-container,.mat-sidenav-container,button,i,input{-webkit-tap-highlight-color:rgba(0,0,0,0)}.c-active-color{color:#135f7f}.bold{font-weight:700}button:disabled{opacity:.5}.btn-filled,.form-label{display:flex;align-items:center}.btn-filled{height:50px;justify-content:space-around;font-size:14px;font-weight:700;border:1px solid #000;color:#fff;background-color:#fff;padding:0 25px;border-radius:25px!important;cursor:pointer;outline:none;box-shadow:10px 10px 17px -10px rgba(0,0,0,.75);transition:all .2}.btn-filled:active{transition:all .2;box-shadow:none}.btn-filled.btn-xs{height:35px}.btn-filled.green{background-color:#2ecc71;border:1px solid #2ecc71}.btn-filled.red{background-color:#e74c3c;border:1px solid #e74c3c}.btn-filled.blue{background-color:#135f7f;border:1px solid #135f7f}.btn-filled.blue.active{color:#fff;background:#135f7f}.btn-filled:disabled{opacity:.5;color:#000;border:1px solid #000;cursor:not-allowed}.btn-filled .fas,.btn-filled .material-icons,.btn-filled i{margin:0 5px}.btn{height:50px;display:flex;align-items:center;justify-content:space-around;font-size:14px;font-weight:700;border:1px solid #000;background-color:#fff;padding:0 25px;border-radius:25px!important;cursor:pointer;outline:none}.btn.btn-xs{height:35px}.btn.green{color:#2ecc71;border:1px solid #2ecc71}.btn.red{color:#e74c3c;border:1px solid #e74c3c}.btn.blue{color:#135f7f;border:1px solid #135f7f}.btn.blue.active{color:#fff;background:#135f7f}.btn:disabled{opacity:.5;color:#000;border:1px solid #000;cursor:not-allowed}.btn .fas,.btn .material-icons,.btn i{margin:0 5px}.toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:60px;height:38px;border-radius:19px;outline:none;transition:all .1s;background:#ecf0f1}.toggle,.toggle:after{border:1px solid #ecf0f1}.toggle:after{content:"";position:absolute;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:18px;box-shadow:0 1px 2px 0 rgba(9,11,15,.06)}.toggle:checked{border-color:#2ecc71;background:#2ecc71}.toggle:checked:after{right:0;top:0}body{font-family:lato,sans-serif;color:#4f4f4f;-webkit-font-smoothing:antialiased}.footer{width:100%;height:60px;display:flex;align-items:center;justify-content:space-around;position:absolute;bottom:0;z-index:1}button.disabled{cursor:not-allowed}.dragger{position:absolute;z-index:10;background:#0ff}.cdk-global-scrollblock{overflow:hidden!important}.mat-snack-bar-container{text-align:center;font-weight:700}.mat-snack-bar-container.error-snackbar{color:#e74c3c;background:#fff;border:1px solid #e74c3c}.mat-snack-bar-container.success-snackbar{color:#135f7f;background:#fff;border:1px solid #135f7f}mat-accordion mat-expansion-panel mat-expansion-panel-header{height:40px}mat-accordion mat-expansion-panel .mat-expansion-panel-content{height:0}mat-accordion mat-expansion-panel.mat-expanded mat-expansion-panel-header{height:64px}mat-accordion mat-expansion-panel.mat-expanded .mat-expansion-panel-content{height:auto}.mat-drawer{max-width:99%}.mat-drawer-container{height:100%}.mat-paginator{width:150px;display:flex!important;justify-content:center;background:none;color:#fff}.mat-paginator-page-size{display:none!important}.mat-paginator-range-label{position:absolute;line-height:50px}.mat-paginator-navigation-next{right:-20px}.mat-paginator-navigation-previous{left:-20px}.mat-bottom-sheet-container{max-height:90vh!important}.mat-menu-panel{max-width:inherit!important}.mat-menu-content:not(:empty){padding-top:0!important;padding-bottom:0!important} -/*! - * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - */.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:block;src:url(fa-brands-400.89a52ae1d02b86d61439.eot);src:url(fa-brands-400.89a52ae1d02b86d61439.eot?#iefix) format("embedded-opentype"),url(fa-brands-400.c1210e5ebe4344da5083.woff2) format("woff2"),url(fa-brands-400.329a95a9172fdb2cccb4.woff) format("woff"),url(fa-brands-400.9e138496e8f1719c6ebf.ttf) format("truetype"),url(fa-brands-400.216edb96b562c79adc09.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;font-display:block;src:url(fa-regular-400.4079ae2d2a15d0689568.eot);src:url(fa-regular-400.4079ae2d2a15d0689568.eot?#iefix) format("embedded-opentype"),url(fa-regular-400.68c5af1f48e2bfca1e57.woff2) format("woff2"),url(fa-regular-400.3672264812746c3c7225.woff) format("woff"),url(fa-regular-400.1017bce89c72f95bcf8e.ttf) format("truetype"),url(fa-regular-400.19e27d348fefc21941e0.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:block;src:url(fa-solid-900.efbd5d20e407bbf85f2b.eot);src:url(fa-solid-900.efbd5d20e407bbf85f2b.eot?#iefix) format("embedded-opentype"),url(fa-solid-900.ada6e6df937f7e5e8b79.woff2) format("woff2"),url(fa-solid-900.c6ec080084769a6d8a34.woff) format("woff"),url(fa-solid-900.07c3313b24f7b1ca85ee.ttf) format("truetype"),url(fa-solid-900.13de59f1a36b6cb4bca0.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}.ng-resizable{position:relative}.ng-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ng-resizable-handle.ng-resizable-e{cursor:e-resize;width:7px;right:-5px;height:100%;top:0}.ng-resizable-handle.ng-resizable-w{cursor:w-resize;width:7px;left:-5px;height:100%;top:0}.ng-resizable-handle.ng-resizable-s{cursor:s-resize;height:7px;bottom:-5px;width:100%;left:0}.ng-resizable-handle.ng-resizable-n{cursor:n-resize;height:7px;top:-5px;width:100%;left:0}.ng-resizable-handle.ng-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ng-resizable-handle.ng-resizable-sw{cursor:sw-resize;width:12px;height:12px;left:1px;bottom:1px}.ng-resizable-handle.ng-resizable-ne{cursor:ne-resize;width:12px;height:12px;right:1px;top:1px}.ng-resizable-handle.ng-resizable-nw{cursor:nw-resize;width:12px;height:12px;left:1px;top:1px}.ng-resizable-diagonal{box-sizing:border-box;width:0;height:0;border-bottom:12px solid #aaa;border-left:12px solid transparent} \ No newline at end of file diff --git a/dist/styles.eefa2d3796f044367e70.css b/dist/styles.eefa2d3796f044367e70.css new file mode 100644 index 0000000000..b4f85438f7 --- /dev/null +++ b/dist/styles.eefa2d3796f044367e70.css @@ -0,0 +1,5 @@ +:root{--ion-color-primary:#135f7f;--ion-color-primary-rgb:19,95,127;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#115470;--ion-color-primary-tint:#2b6f8c;--ion-color-secondary:#f99830;--ion-color-secondary-rgb:249,152,48;--ion-color-secondary-contrast:#000;--ion-color-secondary-contrast-rgb:0,0,0;--ion-color-secondary-shade:#db862a;--ion-color-secondary-tint:#faa245;--ion-color-tertiary:#5260ff;--ion-color-tertiary-rgb:82,96,255;--ion-color-tertiary-contrast:#fff;--ion-color-tertiary-contrast-rgb:255,255,255;--ion-color-tertiary-shade:#4854e0;--ion-color-tertiary-tint:#6370ff;--ion-color-success:#2dd36f;--ion-color-success-rgb:45,211,111;--ion-color-success-contrast:#fff;--ion-color-success-contrast-rgb:255,255,255;--ion-color-success-shade:#28ba62;--ion-color-success-tint:#42d77d;--ion-color-warning:#ffc409;--ion-color-warning-rgb:255,196,9;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0ac08;--ion-color-warning-tint:#ffca22;--ion-color-danger:#eb445a;--ion-color-danger-rgb:235,68,90;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#cf3c4f;--ion-color-danger-tint:#ed576b;--ion-color-dark:#222428;--ion-color-dark-rgb:34,36,40;--ion-color-dark-contrast:#fff;--ion-color-dark-contrast-rgb:255,255,255;--ion-color-dark-shade:#1e2023;--ion-color-dark-tint:#383a3e;--ion-color-medium:#92949c;--ion-color-medium-rgb:146,148,156;--ion-color-medium-contrast:#fff;--ion-color-medium-contrast-rgb:255,255,255;--ion-color-medium-shade:#808289;--ion-color-medium-tint:#9d9fa6;--ion-color-light:#f4f5f8;--ion-color-light-rgb:244,245,248;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0,0,0;--ion-color-light-shade:#d7d8da;--ion-color-light-tint:#f5f6f9}@media (prefers-color-scheme:dark){body{--ion-color-primary:#428cff;--ion-color-primary-rgb:66,140,255;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#3a7be0;--ion-color-primary-tint:#5598ff;--ion-color-secondary:#50c8ff;--ion-color-secondary-rgb:80,200,255;--ion-color-secondary-contrast:#fff;--ion-color-secondary-contrast-rgb:255,255,255;--ion-color-secondary-shade:#46b0e0;--ion-color-secondary-tint:#62ceff;--ion-color-tertiary:#6a64ff;--ion-color-tertiary-rgb:106,100,255;--ion-color-tertiary-contrast:#fff;--ion-color-tertiary-contrast-rgb:255,255,255;--ion-color-tertiary-shade:#5d58e0;--ion-color-tertiary-tint:#7974ff;--ion-color-success:#2fdf75;--ion-color-success-rgb:47,223,117;--ion-color-success-contrast:#000;--ion-color-success-contrast-rgb:0,0,0;--ion-color-success-shade:#29c467;--ion-color-success-tint:#44e283;--ion-color-warning:#ffd534;--ion-color-warning-rgb:255,213,52;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0bb2e;--ion-color-warning-tint:#ffd948;--ion-color-danger:#ff4961;--ion-color-danger-rgb:255,73,97;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#e04055;--ion-color-danger-tint:#ff5b71;--ion-color-dark:#f4f5f8;--ion-color-dark-rgb:244,245,248;--ion-color-dark-contrast:#000;--ion-color-dark-contrast-rgb:0,0,0;--ion-color-dark-shade:#d7d8da;--ion-color-dark-tint:#f5f6f9;--ion-color-medium:#989aa2;--ion-color-medium-rgb:152,154,162;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0,0,0;--ion-color-medium-shade:#86888f;--ion-color-medium-tint:#a2a4ab;--ion-color-light:#222428;--ion-color-light-rgb:34,36,40;--ion-color-light-contrast:#fff;--ion-color-light-contrast-rgb:255,255,255;--ion-color-light-shade:#1e2023;--ion-color-light-tint:#383a3e}.ios body{--ion-background-color:#000;--ion-background-color-rgb:0,0,0;--ion-text-color:#fff;--ion-text-color-rgb:255,255,255;--ion-color-step-50:#0d0d0d;--ion-color-step-100:#1a1a1a;--ion-color-step-150:#262626;--ion-color-step-200:#333;--ion-color-step-250:#404040;--ion-color-step-300:#4d4d4d;--ion-color-step-350:#595959;--ion-color-step-400:#666;--ion-color-step-450:#737373;--ion-color-step-500:grey;--ion-color-step-550:#8c8c8c;--ion-color-step-600:#999;--ion-color-step-650:#a6a6a6;--ion-color-step-700:#b3b3b3;--ion-color-step-750:#bfbfbf;--ion-color-step-800:#ccc;--ion-color-step-850:#d9d9d9;--ion-color-step-900:#e6e6e6;--ion-color-step-950:#f2f2f2;--ion-toolbar-background:#0d0d0d;--ion-item-background:#000;--ion-card-background:#1c1c1d}.md body{--ion-background-color:#121212;--ion-background-color-rgb:18,18,18;--ion-text-color:#fff;--ion-text-color-rgb:255,255,255;--ion-border-color:#222;--ion-color-step-50:#1e1e1e;--ion-color-step-100:#2a2a2a;--ion-color-step-150:#363636;--ion-color-step-200:#414141;--ion-color-step-250:#4d4d4d;--ion-color-step-300:#595959;--ion-color-step-350:#656565;--ion-color-step-400:#717171;--ion-color-step-450:#7d7d7d;--ion-color-step-500:#898989;--ion-color-step-550:#949494;--ion-color-step-600:#a0a0a0;--ion-color-step-650:#acacac;--ion-color-step-700:#b8b8b8;--ion-color-step-750:#c4c4c4;--ion-color-step-800:#d0d0d0;--ion-color-step-850:#dbdbdb;--ion-color-step-900:#e7e7e7;--ion-color-step-950:#f3f3f3;--ion-item-background:#1e1e1e;--ion-toolbar-background:#1f1f1f;--ion-tab-bar-background:#1f1f1f;--ion-card-background:#1e1e1e}}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300.e326e5669dca342260e5.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_cyr.db33583276d65655c5c0.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_gr_ext.a7a18ee96016ccc54a3e.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_gr.a78490a0ec4c4c7bf6f1.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_viet.54344cce8ff5377bb7f6.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_lat_ext.08f685c395f9d22d5c8b.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:300;font-display:swap;src:url(roboto_300_lat.37a7069dc30fc663c878.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_cyr_ext.dd55ea0a2e90d5d86e15.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_cyr.3605d18d8a4ce5bd39c3.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_gr_ext.bc7ace6e50c7d9d4d959.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_gr.352cc77aaed5208ce13c.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_viet.52cebac009baf5592e7d.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_lat_ext.dcc07bcfcd475f34f20b.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(roboto_400_lat.176f8f5bd5f02b3abfcf.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_cyr_ext.1a2a1ab387f44ac8d6d4.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_cyr.5abcda5f32f4761bbaf6.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_gr_ext.06bd82abe5add1480692.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_gr.2bb92d7a94ebcc5e3ab2.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_viet.a46e5fcd13ddb57583a0.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_lat_ext.74998c7de97e48984cc0.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(roboto_500_lat.f5b74d7ffcdf85b9dd60.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Roboto",sans-serif}html.md{--ion-default-font:"Roboto","Helvetica Neue",sans-serif}html{--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal.modal-card .ion-page>ion-header>ion-toolbar:first-of-type{padding-top:0}html.ios ion-modal .ion-page{border-radius:inherit}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,[hidden],ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}@supports (padding-top:constant(safe-area-inset-top)){html{--ion-safe-area-top:constant(safe-area-inset-top);--ion-safe-area-bottom:constant(safe-area-inset-bottom);--ion-safe-area-left:constant(safe-area-inset-left);--ion-safe-area-right:constant(safe-area-inset-right)}}@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{box-shadow:4px 0 16px rgba(0,0,0,.18)}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-moz-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;margin:0;padding:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}a{background-color:transparent;color:var(--ion-color-primary,#3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:26px}h2{margin-top:18px;font-size:24px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}small,sub,sup{font-size:75%}sub,sup{position:relative;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-hide,.ion-hide-down,.ion-hide-up{display:none!important}@media (min-width:576px){.ion-hide-sm-up{display:none!important}}@media (max-width:575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width:768px){.ion-hide-md-up{display:none!important}}@media (max-width:767.98px){.ion-hide-md-down{display:none!important}}@media (min-width:992px){.ion-hide-lg-up{display:none!important}}@media (max-width:991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width:1200px){.ion-hide-xl-up{display:none!important}}@media (max-width:1199.98px){.ion-hide-xl-down{display:none!important}}.ion-no-padding{--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;padding:0}.ion-padding{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);--padding-top:var(--ion-padding,16px);--padding-bottom:var(--ion-padding,16px);padding:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-top{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-start{--padding-start:var(--ion-padding,16px);padding-left:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-start{padding-left:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px)}}.ion-padding-end{--padding-end:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-end{padding-right:unset;-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-bottom,.ion-padding-vertical{--padding-bottom:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}.ion-padding-vertical{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-horizontal{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-horizontal{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-no-margin{--margin-start:0;--margin-end:0;--margin-top:0;--margin-bottom:0;margin:0}.ion-margin{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);--margin-top:var(--ion-margin,16px);--margin-bottom:var(--ion-margin,16px);margin:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-top{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-start{--margin-start:var(--ion-margin,16px);margin-left:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-start{margin-left:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px)}}.ion-margin-end{--margin-end:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-end{margin-right:unset;-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-bottom,.ion-margin-vertical{--margin-bottom:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}.ion-margin-vertical{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-horizontal{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-horizontal{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}.ion-float-end,:host-context([dir=rtl]) .ion-float-start,[dir=rtl] .ion-float-start{float:right!important}:host-context([dir=rtl]) .ion-float-end,[dir=rtl] .ion-float-end{float:left!important}@media (min-width:576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}.ion-float-sm-end,:host-context([dir=rtl]) .ion-float-sm-start,[dir=rtl] .ion-float-sm-start{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end,[dir=rtl] .ion-float-sm-end{float:left!important}}@media (min-width:768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}.ion-float-md-end,:host-context([dir=rtl]) .ion-float-md-start,[dir=rtl] .ion-float-md-start{float:right!important}:host-context([dir=rtl]) .ion-float-md-end,[dir=rtl] .ion-float-md-end{float:left!important}}@media (min-width:992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}.ion-float-lg-end,:host-context([dir=rtl]) .ion-float-lg-start,[dir=rtl] .ion-float-lg-start{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end,[dir=rtl] .ion-float-lg-end{float:left!important}}@media (min-width:1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}.ion-float-xl-end,:host-context([dir=rtl]) .ion-float-xl-start,[dir=rtl] .ion-float-xl-start{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end,[dir=rtl] .ion-float-xl-end{float:left!important}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width:576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width:768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width:992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width:1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width:576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width:768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width:992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width:1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}.primary{color:var(--ion-color-primary)}*{user-select:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none}input,textarea{user-select:initial;-webkit-user-select:initial;-khtml-user-select:initial;-moz-user-select:initial;-ms-user-select:initial}input:-moz-read-only{cursor:default}input:read-only{cursor:default}.notif-error{--color:var(--ion-color-danger);--border-color:var(--ion-color-danger)}.notif-error,.notif-success{z-index:60003;--background:#fff;--border-width:1px;--border-style:solid;text-align:center;font-weight:700}.notif-success{--color:var(--ion-color-success);--border-color:var(--ion-color-success)}.fullscreen{--width:100%;--height:100%}ion-icon{pointer-events:none}.info{border-left:3px solid var(--ion-color-primary);--background:rgba(var(--ion-color-primary-rgb),0.2);border-radius:0;--color:var(--ion-color-primary)}.info-danger{border-left:3px solid var(--ion-color-danger);--background:rgba(var(--ion-color-danger-rgb),0.2);border-radius:0;--color:var(--ion-color-danger)}.alert-wrapper .alert-message{text-align:left;margin-bottom:0;padding-bottom:0}.alert-wrapper .alert-title{color:var(--ion-color-primary-tint)}.alert-wrapper .alert-button{margin-top:5px;color:var(--ion-color-primary);display:flex;width:100%;border:1px solid;border-radius:64px}.alert-wrapper .alert-button-role-cancel{color:var(--ion-color-medium)}.alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-danger .alert-wrapper{border:1px solid var(--ion-color-danger)}.custom-alert-danger .alert-wrapper .alert-title{color:var(--ion-color-danger-tint)}.custom-alert-danger .alert-wrapper .alert-button{color:var(--ion-color-danger);display:flex;width:100%;border:1px solid;border-radius:64px}.custom-alert-danger .alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-success .alert-wrapper{border:1px solid var(--ion-color-success)}.custom-alert-success .alert-wrapper .alert-title{color:var(--ion-color-success-tint)}.custom-alert-success .alert-wrapper .alert-button{color:var(--ion-color-success);display:flex;width:100%;border:1px solid;border-radius:64px}.custom-alert-success .alert-wrapper .alert-button-inner{justify-content:center}.custom-alert-fullscreen .modal-wrapper{width:100%;height:100%}.footer-buttons{padding:10px;display:flex;justify-content:center}.footer-buttons ion-button{margin:auto 10px;width:150px}.footer-buttons ion-label{font-size:13px}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:6px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;margin:0 0 56px;letter-spacing:-.05em}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px;letter-spacing:-.02em}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px;letter-spacing:-.005em}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.33333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.33334%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.66667em;top:calc(100% - 1.79167em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.33333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.33334%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.33335%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.54167em;top:calc(100% - 1.66667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.33334%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.33334%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list .mat-list-item,.mat-nav-list .mat-list-item,.mat-selection-list .mat-list-item{font-size:16px}.mat-list .mat-list-item .mat-line,.mat-nav-list .mat-list-item .mat-line,.mat-selection-list .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list .mat-list-item .mat-line:nth-child(n+2),.mat-selection-list .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list .mat-list-option,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-option{font-size:16px}.mat-list .mat-list-option .mat-line,.mat-nav-list .mat-list-option .mat-line,.mat-selection-list .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-option .mat-line:nth-child(n+2),.mat-nav-list .mat-list-option .mat-line:nth-child(n+2),.mat-selection-list .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-item{font-size:12px}.mat-list[dense] .mat-list-item .mat-line,.mat-nav-list[dense] .mat-list-item .mat-line,.mat-selection-list[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-selection-list[dense] .mat-list-option{font-size:12px}.mat-list[dense] .mat-list-option .mat-line,.mat-nav-list[dense] .mat-list-option .mat-line,.mat-selection-list[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-option .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-option .mat-line:nth-child(n+2),.mat-selection-list[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}@media screen and (-ms-high-contrast:active){.mat-ripple-element{display:none}}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}@media screen and (-ms-high-contrast:active){.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#135f7f}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#2ecc71}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#e74c3c}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#2ecc71}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#135f7f}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#e74c3c}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge-content{color:#fff;background:#135f7f}.mat-badge-accent .mat-badge-content{background:#2ecc71;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#e74c3c}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}@media screen and (-ms-high-contrast:active){.mat-badge-small .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}@media screen and (-ms-high-contrast:active){.mat-badge-medium .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}@media screen and (-ms-high-contrast:active){.mat-badge-large .mat-badge-content{outline:1px solid;border-radius:0}}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#135f7f}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#2ecc71}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#e74c3c}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#135f7f}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#2ecc71}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#e74c3c}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not([disabled]){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#135f7f}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#2ecc71}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#e74c3c}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}@media screen and (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path{stroke:#000!important}}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#135f7f}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#2ecc71}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#e74c3c}.mat-checkbox-disabled.mat-checkbox-checked:not(.mat-checkbox-indeterminate) .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#b0b0b0}@media screen and (-ms-high-contrast:active){.mat-checkbox-disabled{opacity:.5}}@media screen and (-ms-high-contrast:active){.mat-checkbox-background{background:none}}.mat-checkbox:not(.mat-checkbox-disabled).mat-primary .mat-checkbox-ripple .mat-ripple-element{background-color:#135f7f}.mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:#2ecc71}.mat-checkbox:not(.mat-checkbox-disabled).mat-warn .mat-checkbox-ripple .mat-ripple-element{background-color:#e74c3c}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#135f7f;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#e74c3c;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#2ecc71;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background:hsla(0,0%,100%,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.mat-calendar-body-selected{background-color:#135f7f;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(19,95,127,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#2ecc71;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(46,204,113,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#e74c3c;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(231,76,60,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#135f7f}.mat-datepicker-toggle-active.mat-accent{color:#2ecc71}.mat-datepicker-toggle-active.mat-warn{color:#e74c3c}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused,.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#135f7f}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#2ecc71}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#e74c3c}.mat-focused .mat-form-field-required-marker{color:#2ecc71}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#135f7f}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#2ecc71}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#e74c3c}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#e74c3c}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#e74c3c}.mat-error{color:#e74c3c}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#135f7f}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#2ecc71}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#e74c3c}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#135f7f}.mat-icon.mat-accent{color:#2ecc71}.mat-icon.mat-warn{color:#e74c3c}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#135f7f}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-accent .mat-input-element{caret-color:#2ecc71}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#e74c3c}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#e74c3c}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{color:rgba(0,0,0,.87)}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled]:after{color:rgba(0,0,0,.38)}.mat-menu-item-submenu-trigger:after,.mat-menu-item .mat-icon:not([color]){color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-progress-bar-background{fill:#1a80ab}.mat-progress-bar-buffer{background-color:#1a80ab}.mat-progress-bar-fill:after{background-color:#135f7f}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#54d98c}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#54d98c}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#2ecc71}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#ed7669}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#ed7669}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#e74c3c}.mat-progress-spinner circle,.mat-spinner circle{stroke:#135f7f}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#2ecc71}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#e74c3c}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#135f7f}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#135f7f}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#2ecc71}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#2ecc71}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#e74c3c}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#e74c3c}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#135f7f}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#2ecc71}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#e74c3c}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#2ecc71}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(46,204,113,.54)}.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#2ecc71}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#135f7f}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(19,95,127,.54)}.mat-slide-toggle.mat-primary.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#135f7f}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{background-color:#e74c3c}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:rgba(231,76,60,.54)}.mat-slide-toggle.mat-warn.mat-checked:not(.mat-disabled) .mat-ripple-element{background-color:#e74c3c}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-disabled .mat-slide-toggle-thumb{background-color:#bdbdbd}.mat-disabled .mat-slide-toggle-bar{background-color:rgba(0,0,0,.1)}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#135f7f}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#2ecc71}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#e74c3c}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(46,204,113,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#135f7f;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#e74c3c}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#e74c3c}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#135f7f}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(84,217,140,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#2ecc71}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(237,118,105,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#e74c3c}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#135f7f}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(84,217,140,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#2ecc71}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(237,118,105,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#e74c3c}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:hsla(0,0%,100%,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:hsla(0,0%,100%,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#135f7f;color:#fff}.mat-toolbar.mat-accent{background:#2ecc71;color:#fff}.mat-toolbar.mat-warn{background:#e74c3c;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-snack-bar-container{color:hsla(0,0%,100%,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#2ecc71}.alert-message{margin:20px 0;padding:10px;border-left:3px solid #eee;font-size:14px;text-align:justify}.alert-message p{padding:0}.alert-message-success{background-color:#f4fdf0;border-color:#2ecc71;color:#25a25a}.alert-message-danger{background-color:rgba(142,62,82,.10196078431372549);border-color:#e74c3c;color:#d62c1a}.alert-message-info{background-color:#f4f8fa;border-color:#135f7f;color:#0c3e53}.alert-message-default{background-color:#eee;border-color:#b4b4b4}.default{color:#4f4f4f}.red{color:#e74c3c}.green{color:#2ecc71}body,html{overflow:hidden;height:100%;width:100vw;position:fixed;padding:0;margin:0}.mat-bottom-sheet-container,.mat-sidenav-container,button,i,input{-webkit-tap-highlight-color:rgba(0,0,0,0)}.c-active-color{color:#135f7f}.bold{font-weight:700}button:disabled{opacity:.5}.btn-filled,.form-label{display:flex;align-items:center}.btn-filled{height:50px;justify-content:space-around;font-size:14px;font-weight:700;border:1px solid #000;color:#fff;background-color:#fff;padding:0 25px;border-radius:25px!important;cursor:pointer;outline:none;box-shadow:10px 10px 17px -10px rgba(0,0,0,.75);transition:all .2}.btn-filled:active{transition:all .2;box-shadow:none}.btn-filled.btn-xs{height:35px}.btn-filled.green{background-color:#2ecc71;border:1px solid #2ecc71}.btn-filled.red{background-color:#e74c3c;border:1px solid #e74c3c}.btn-filled.blue{background-color:#135f7f;border:1px solid #135f7f}.btn-filled.blue.active{color:#fff;background:#135f7f}.btn-filled:disabled{opacity:.5;color:#000;border:1px solid #000;cursor:not-allowed}.btn-filled .fas,.btn-filled .material-icons,.btn-filled i{margin:0 5px}.btn{height:50px;display:flex;align-items:center;justify-content:space-around;font-size:14px;font-weight:700;border:1px solid #000;background-color:#fff;padding:0 25px;border-radius:25px!important;cursor:pointer;outline:none}.btn.btn-xs{height:35px}.btn.green{color:#2ecc71;border:1px solid #2ecc71}.btn.red{color:#e74c3c;border:1px solid #e74c3c}.btn.blue{color:#135f7f;border:1px solid #135f7f}.btn.blue.active{color:#fff;background:#135f7f}.btn:disabled{opacity:.5;color:#000;border:1px solid #000;cursor:not-allowed}.btn .fas,.btn .material-icons,.btn i{margin:0 5px}.toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:60px;height:38px;border-radius:19px;outline:none;transition:all .1s;background:#ecf0f1}.toggle,.toggle:after{border:1px solid #ecf0f1}.toggle:after{content:"";position:absolute;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:18px;box-shadow:0 1px 2px 0 rgba(9,11,15,.06)}.toggle:checked{border-color:#2ecc71;background:#2ecc71}.toggle:checked:after{right:0;top:0}body{font-family:lato,sans-serif;color:#4f4f4f;-webkit-font-smoothing:antialiased}.footer{width:100%;height:60px;display:flex;align-items:center;justify-content:space-around;position:absolute;bottom:0;z-index:1}button.disabled{cursor:not-allowed}.dragger{position:absolute;z-index:10;background:#0ff}.cdk-global-scrollblock{overflow:hidden!important}.mat-snack-bar-container{text-align:center;font-weight:700}.mat-snack-bar-container.error-snackbar{color:#e74c3c;background:#fff;border:1px solid #e74c3c}.mat-snack-bar-container.success-snackbar{color:#135f7f;background:#fff;border:1px solid #135f7f}mat-accordion mat-expansion-panel mat-expansion-panel-header{height:40px}mat-accordion mat-expansion-panel .mat-expansion-panel-content{height:0}mat-accordion mat-expansion-panel.mat-expanded mat-expansion-panel-header{height:64px}mat-accordion mat-expansion-panel.mat-expanded .mat-expansion-panel-content{height:auto}.mat-drawer{max-width:99%}.mat-drawer-container{height:100%}.mat-paginator{width:150px;display:flex!important;justify-content:center;background:none;color:#fff}.mat-paginator-page-size{display:none!important}.mat-paginator-range-label{position:absolute;line-height:50px}.mat-paginator-navigation-next{right:-20px}.mat-paginator-navigation-previous{left:-20px}.mat-bottom-sheet-container{max-height:90vh!important}.mat-menu-panel{max-width:inherit!important}.mat-menu-content:not(:empty){padding-top:0!important;padding-bottom:0!important} +/*! + * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:block;src:url(fa-brands-400.89a52ae1d02b86d61439.eot);src:url(fa-brands-400.89a52ae1d02b86d61439.eot?#iefix) format("embedded-opentype"),url(fa-brands-400.c1210e5ebe4344da5083.woff2) format("woff2"),url(fa-brands-400.329a95a9172fdb2cccb4.woff) format("woff"),url(fa-brands-400.9e138496e8f1719c6ebf.ttf) format("truetype"),url(fa-brands-400.216edb96b562c79adc09.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;font-display:block;src:url(fa-regular-400.4079ae2d2a15d0689568.eot);src:url(fa-regular-400.4079ae2d2a15d0689568.eot?#iefix) format("embedded-opentype"),url(fa-regular-400.68c5af1f48e2bfca1e57.woff2) format("woff2"),url(fa-regular-400.3672264812746c3c7225.woff) format("woff"),url(fa-regular-400.1017bce89c72f95bcf8e.ttf) format("truetype"),url(fa-regular-400.19e27d348fefc21941e0.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:block;src:url(fa-solid-900.efbd5d20e407bbf85f2b.eot);src:url(fa-solid-900.efbd5d20e407bbf85f2b.eot?#iefix) format("embedded-opentype"),url(fa-solid-900.ada6e6df937f7e5e8b79.woff2) format("woff2"),url(fa-solid-900.c6ec080084769a6d8a34.woff) format("woff"),url(fa-solid-900.07c3313b24f7b1ca85ee.ttf) format("truetype"),url(fa-solid-900.13de59f1a36b6cb4bca0.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900}.ng-resizable{position:relative}.ng-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ng-resizable-handle.ng-resizable-e{cursor:e-resize;width:7px;right:-5px;height:100%;top:0}.ng-resizable-handle.ng-resizable-w{cursor:w-resize;width:7px;left:-5px;height:100%;top:0}.ng-resizable-handle.ng-resizable-s{cursor:s-resize;height:7px;bottom:-5px;width:100%;left:0}.ng-resizable-handle.ng-resizable-n{cursor:n-resize;height:7px;top:-5px;width:100%;left:0}.ng-resizable-handle.ng-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ng-resizable-handle.ng-resizable-sw{cursor:sw-resize;width:12px;height:12px;left:1px;bottom:1px}.ng-resizable-handle.ng-resizable-ne{cursor:ne-resize;width:12px;height:12px;right:1px;top:1px}.ng-resizable-handle.ng-resizable-nw{cursor:nw-resize;width:12px;height:12px;left:1px;top:1px}.ng-resizable-diagonal{box-sizing:border-box;width:0;height:0;border-bottom:12px solid #aaa;border-left:12px solid transparent} \ No newline at end of file -- GitLab